Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Sync up #127

Closed
wants to merge 36 commits into from
Closed

[WIP] Sync up #127

wants to merge 36 commits into from

Conversation

norbusan
Copy link
Member

@norbusan norbusan commented Jul 17, 2024

Sync with upstream

Summary by Sourcery

This pull request synchronizes the codebase with upstream changes, introducing new features such as detailed logging for deletions and new date validators. It also includes several bug fixes, enhancements to form validation and activity log handling, and updates to tests. Additionally, it removes unused utility files to maintain a clean codebase.

  • New Features:
    • Added support for logging the deletion of events and organisers with detailed messages.
    • Introduced new validators for date and datetime fields in forms.
    • Implemented a new JavaScript file to dynamically update the page title based on the proposal title input.
  • Bug Fixes:
    • Fixed an issue where event slugs containing malicious input could cause errors by returning a 404 instead.
    • Corrected the logic for filtering sessions in the schedule editor to include sessions starting and ending on the boundary days.
  • Enhancements:
    • Refactored the activity log display and object link handling to use signals for better modularity.
    • Improved the handling of pending states for submissions, including visual indicators and scheduling logic.
    • Optimized the form validation by converting some methods to class methods and static methods.
    • Enhanced the logging output with additional context and formatting improvements.
    • Updated the review assignment forms to use a simpler and more intuitive format.
  • Tests:
    • Updated tests to reflect changes in form validation methods and review assignment logic.
  • Chores:
    • Removed unused utility files and functions to clean up the codebase.

@mariobehling mariobehling requested review from hongquan July 17, 2024 06:52
@mariobehling
Copy link
Member

Could you add this one as well, please? pretalx/pretalx@f8d800d

oskar456 and others added 9 commits July 20, 2024 12:05
This fixes some tiny issues related to installation to venv

 - package `python3-venv` is necessary on Debian-based distros
 - system command `python` usually does not exist on current distros
 - pip switch `--user` cannot be used with venvs
 - fixup ExecPath in the unitfile

Signed-off-by: Ondřej Caletka <ondrej@caletka.cz>
@norbusan
Copy link
Member Author

Could you add this one as well, please? pretalx/pretalx@f8d800d

Done

@mariobehling
Copy link
Member

@sourcery-ai review

Copy link

sourcery-ai bot commented Jul 22, 2024

Reviewer's Guide by Sourcery

This pull request synchronizes the codebase with the upstream repository. The changes include importing additional modules, adding new functions and classes, modifying existing functions, and updating templates and static files. The primary focus is on enhancing logging, validation, and form handling functionalities, as well as improving the user interface and experience.

File-Level Changes

Files Changes
src/pretalx/common/log_display.py
src/pretalx/common/models/log.py
Enhanced logging functionalities by adding new log templates and refactoring object link generation.
src/pretalx/common/mixins/forms.py
src/tests/common/test_common_forms_utils.py
Refactored form handling to use instance methods for validation and help text generation, and updated test cases accordingly.
src/pretalx/event/models/organiser.py
src/pretalx/event/models/event.py
src/pretalx/orga/views/event.py
src/pretalx/orga/views/organiser.py
Updated shred methods to log deletion actions and accept an optional person parameter.
src/pretalx/frontend/schedule-editor/src/components/Session.vue
src/pretalx/frontend/schedule-editor/src/App.vue
Improved session state handling and filtering logic in the schedule editor.
src/pretalx/common/settings/config.py
src/pretalx/settings.py
Moved reduce_dict function and updated import for log_initial function.
src/pretalx/common/templatetags/rich_text.py
src/pretalx/mail/models.py
Renamed _rich_text function to render_markdown and updated references.
src/pretalx/orga/views/submission.py
src/pretalx/submission/models/submission.py
Updated methods to handle pending states and update talk slots accordingly.
src/pretalx/orga/templates/orga/submission/base.html
src/pretalx/orga/templates/orga/schedule/release.html
Added permission check for reviewing submissions and updated link to include pending states for unconfirmed sessions.
src/pretalx/common/forms/utils.py
src/pretalx/common/settings/utils.py
Deleted utils module.

Tips
  • Trigger a new Sourcery review by commenting @sourcery-ai review on the pull request.
  • Continue your discussion with Sourcery by replying directly to review comments.
  • You can change your review settings at any time by accessing your dashboard:
    • Enable or disable the Sourcery-generated pull request summary or reviewer's guide;
    • Change the review language;
  • You can always contact us if you have any questions or feedback.

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @norbusan - I've reviewed your changes and they look great!

Here's what I looked at during the review
  • 🟡 General issues: 5 issues found
  • 🟢 Security: all looks good
  • 🟡 Testing: 4 issues found
  • 🟡 Complexity: 4 issues found
  • 🟡 Documentation: 1 issue found

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.

message = str(templated_entry)
# Check if all placeholders are present in activitylog.data
placeholders = {v[1] for v in string.Formatter().parse(message) if v[1]}
if placeholders <= set(activitylog.data.keys()):
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue (bug_risk): Potential issue with placeholder validation

The current check ensures that all placeholders are present in activitylog.data, but it does not check for extra keys in activitylog.data that are not placeholders. This might lead to unexpected behavior if activitylog.data contains keys that are not placeholders in the message.


@classmethod
def validate_field_length(cls, value, min_length, max_length, count_in):
if count_in == "chars":
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue: Potential issue with character counting

The current implementation replaces \r\n with \n to count characters. However, it does not account for other newline variations like \r. Consider normalizing all newline characters to \n before counting.

def log_initial(*, debug, config_files, db_name, db_backend, LOG_DIR, plugins):
from pretalx import __version__

with suppress(Exception): # geteuid is not available on all OS
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue (bug_risk): Potential issue with suppressing all exceptions

Suppressing all exceptions might hide unexpected errors. Consider catching specific exceptions that are expected in this context.

event = get_object_or_404(Event, slug__iexact=event_slug)
try:
event = Event.objects.get(slug__iexact=event_slug)
except (Event.DoesNotExist, ValueError):
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: Handling ValueError for event slug

Catching ValueError for the event slug is a good addition. However, it might be beneficial to log this exception for monitoring purposes.

Suggested change
except (Event.DoesNotExist, ValueError):
except (Event.DoesNotExist, ValueError) as e:
logger.warning(f"Exception occurred while fetching event: {e}")

SubmissionStates.ACCEPTED,
SubmissionStates.CONFIRMED,
]:
# allow configureability of pending accepted/confirmed talks
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick (typo): Typo in comment

The word 'configureability' should be corrected to 'configurability'.

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"80ddd850-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/pug-plain-loader!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/LinearSchedule.vue?vue&type=template&id=1afa71cc&lang=pug&
var LinearSchedulevue_type_template_id_1afa71cc_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"scrollbar",rawName:"v-scrollbar.y",modifiers:{"y":true}}],staticClass:"c-linear-schedule"},_vm._l((_vm.sessionBuckets),function(ref,index){
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"c052e2ac-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/pug-plain-loader!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/LinearSchedule.vue?vue&type=template&id=2afcffe4&lang=pug&
var LinearSchedulevue_type_template_id_2afcffe4_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"scrollbar",rawName:"v-scrollbar.y",modifiers:{"y":true}}],staticClass:"c-linear-schedule"},_vm._l((_vm.sessionBuckets),function(ref,index){
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue (code-quality): Use const or let instead of var. (avoid-using-var)

Explanation`const` is preferred as it ensures you cannot reassign references (which can lead to buggy and confusing code). `let` may be used if you need to reassign references - it's preferred to `var` because it is block- rather than function-scoped.

From the Airbnb JavaScript Style Guide

var date = ref.date;
var sessions = ref.sessions;
return _c('div',{staticClass:"bucket"},[_c('div',{ref:_vm.getBucketName(date),refInFor:true,staticClass:"bucket-label",attrs:{"data-date":date.format()}},[(index === 0 || date.clone().startOf('day').diff(_vm.sessionBuckets[index - 1].date.clone().startOf('day'), 'day') > 0)?_c('div',{staticClass:"day"},[_vm._v(" "+_vm._s(date.format('dddd DD. MMMM')))]):_vm._e(),_c('div',{staticClass:"time"},[_vm._v(_vm._s(date.format('LT')))]),_vm._l((sessions),function(session){return [(_vm.isProperSession(session))?_c('session',{attrs:{"session":session,"faved":session.id && _vm.favs.includes(session.id)},on:{"fav":function($event){return _vm.$emit('fav', session.id)},"unfav":function($event){return _vm.$emit('unfav', session.id)}}}):_c('div',{staticClass:"break"},[_c('div',{staticClass:"title"},[_vm._v(_vm._s(_vm.getLocalizedString(session.title)))])])]})],2)])}),0)}
var LinearSchedulevue_type_template_id_1afa71cc_lang_pug_staticRenderFns = []
var LinearSchedulevue_type_template_id_2afcffe4_lang_pug_staticRenderFns = []
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue (code-quality): Use const or let instead of var. (avoid-using-var)

Explanation`const` is preferred as it ensures you cannot reassign references (which can lead to buggy and confusing code). `let` may be used if you need to reassign references - it's preferred to `var` because it is block- rather than function-scoped.

From the Airbnb JavaScript Style Guide

if (nowIndex < 0) return;
const beforeIndex = this.sessionBuckets.findIndex(bucket => this.now.isBefore(bucket.date)); // do not scroll if the event has not started yet

if (nowIndex < 0 || beforeIndex === 0) return;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion (code-quality): Use block braces for ifs, whiles, etc. (use-braces)

Suggested change
if (nowIndex < 0 || beforeIndex === 0) return;
if (nowIndex < 0 || beforeIndex === 0) {


ExplanationIt is recommended to always use braces and create explicit statement blocks.

Using the allowed syntax to just write a single statement can lead to very confusing
situations, especially where subsequently a developer might add another statement
while forgetting to add the braces (meaning that this wouldn't be included in the condition).

@@ -13,11 +13,11 @@ var t=e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narr
*/
var n=Object.freeze({});function r(e){return void 0===e||null===e}function i(e){return void 0!==e&&null!==e}function a(e){return!0===e}function o(e){return!1===e}function s(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function c(e){return null!==e&&"object"===typeof e}var l=Object.prototype.toString;function u(e){return"[object Object]"===l.call(e)}function d(e){return"[object RegExp]"===l.call(e)}function h(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function f(e){return i(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function p(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===l?JSON.stringify(e,null,2):String(e)}function m(e){var t=parseFloat(e);return isNaN(t)?e:t}function b(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}b("slot,component",!0);var g=b("key,ref,slot,slot-scope,is");function v(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var _=Object.prototype.hasOwnProperty;function y(e,t){return _.call(e,t)}function A(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var k=/-(\w)/g,w=A((function(e){return e.replace(k,(function(e,t){return t?t.toUpperCase():""}))})),x=A((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),M=/\B([A-Z])/g,C=A((function(e){return e.replace(M,"-$1").toLowerCase()}));function S(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function E(e,t){return e.bind(t)}var D=Function.prototype.bind?E:S;function T(e,t){t=t||0;var n=e.length-t,r=new Array(n);while(n--)r[n]=e[n+t];return r}function O(e,t){for(var n in t)e[n]=t[n];return e}function L(e){for(var t={},n=0;n<e.length;n++)e[n]&&O(t,e[n]);return t}function P(e,t,n){}var z=function(e,t,n){return!1},Y=function(e){return e};function N(e,t){if(e===t)return!0;var n=c(e),r=c(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var i=Array.isArray(e),a=Array.isArray(t);if(i&&a)return e.length===t.length&&e.every((function(e,n){return N(e,t[n])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(i||a)return!1;var o=Object.keys(e),s=Object.keys(t);return o.length===s.length&&o.every((function(n){return N(e[n],t[n])}))}catch(l){return!1}}function j(e,t){for(var n=0;n<e.length;n++)if(N(e[n],t))return n;return-1}function F(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var R="data-server-rendered",B=["component","directive","filter"],$=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],I={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:z,isReservedAttr:z,isUnknownElement:z,getTagNamespace:P,parsePlatformTagName:Y,mustUseProp:z,async:!0,_lifecycleHooks:$},q=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function H(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function W(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var U=new RegExp("[^"+q.source+".$_\\d]");function V(e){if(!U.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}var G,K="__proto__"in{},Z="undefined"!==typeof window,X="undefined"!==typeof WXEnvironment&&!!WXEnvironment.platform,J=X&&WXEnvironment.platform.toLowerCase(),Q=Z&&window.navigator.userAgent.toLowerCase(),ee=Q&&/msie|trident/.test(Q),te=Q&&Q.indexOf("msie 9.0")>0,ne=Q&&Q.indexOf("edge/")>0,re=(Q&&Q.indexOf("android"),Q&&/iphone|ipad|ipod|ios/.test(Q)||"ios"===J),ie=(Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q),Q&&Q.match(/firefox\/(\d+)/)),ae={}.watch,oe=!1;if(Z)try{var se={};Object.defineProperty(se,"passive",{get:function(){oe=!0}}),window.addEventListener("test-passive",null,se)}catch(xo){}var ce=function(){return void 0===G&&(G=!Z&&!X&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),G},le=Z&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ue(e){return"function"===typeof e&&/native code/.test(e.toString())}var de,he="undefined"!==typeof Symbol&&ue(Symbol)&&"undefined"!==typeof Reflect&&ue(Reflect.ownKeys);de="undefined"!==typeof Set&&ue(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var fe=P,pe=0,me=function(){this.id=pe++,this.subs=[]};me.prototype.addSub=function(e){this.subs.push(e)},me.prototype.removeSub=function(e){v(this.subs,e)},me.prototype.depend=function(){me.target&&me.target.addDep(this)},me.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t<n;t++)e[t].update()},me.target=null;var be=[];function ge(e){be.push(e),me.target=e}function ve(){be.pop(),me.target=be[be.length-1]}var _e=function(e,t,n,r,i,a,o,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=a,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=o,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},ye={child:{configurable:!0}};ye.child.get=function(){return this.componentInstance},Object.defineProperties(_e.prototype,ye);var Ae=function(e){void 0===e&&(e="");var t=new _e;return t.text=e,t.isComment=!0,t};function ke(e){return new _e(void 0,void 0,void 0,String(e))}function we(e){var t=new _e(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var xe=Array.prototype,Me=Object.create(xe),Ce=["push","pop","shift","unshift","splice","sort","reverse"];Ce.forEach((function(e){var t=xe[e];W(Me,e,(function(){var n=[],r=arguments.length;while(r--)n[r]=arguments[r];var i,a=t.apply(this,n),o=this.__ob__;switch(e){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2);break}return i&&o.observeArray(i),o.dep.notify(),a}))}));var Se=Object.getOwnPropertyNames(Me),Ee=!0;function De(e){Ee=e}var Te=function(e){this.value=e,this.dep=new me,this.vmCount=0,W(e,"__ob__",this),Array.isArray(e)?(K?Oe(e,Me):Le(e,Me,Se),this.observeArray(e)):this.walk(e)};function Oe(e,t){e.__proto__=t}function Le(e,t,n){for(var r=0,i=n.length;r<i;r++){var a=n[r];W(e,a,t[a])}}function Pe(e,t){var n;if(c(e)&&!(e instanceof _e))return y(e,"__ob__")&&e.__ob__ instanceof Te?n=e.__ob__:Ee&&!ce()&&(Array.isArray(e)||u(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Te(e)),t&&n&&n.vmCount++,n}function ze(e,t,n,r,i){var a=new me,o=Object.getOwnPropertyDescriptor(e,t);if(!o||!1!==o.configurable){var s=o&&o.get,c=o&&o.set;s&&!c||2!==arguments.length||(n=e[t]);var l=!i&&Pe(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return me.target&&(a.depend(),l&&(l.dep.depend(),Array.isArray(t)&&je(t))),t},set:function(t){var r=s?s.call(e):n;t===r||t!==t&&r!==r||s&&!c||(c?c.call(e,t):n=t,l=!i&&Pe(t),a.notify())}})}}function Ye(e,t,n){if(Array.isArray(e)&&h(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var r=e.__ob__;return e._isVue||r&&r.vmCount?n:r?(ze(r.value,t,n),r.dep.notify(),n):(e[t]=n,n)}function Ne(e,t){if(Array.isArray(e)&&h(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||y(e,t)&&(delete e[t],n&&n.dep.notify())}}function je(e){for(var t=void 0,n=0,r=e.length;n<r;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&je(t)}Te.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)ze(e,t[n])},Te.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)Pe(e[t])};var Fe=I.optionMergeStrategies;function Re(e,t){if(!t)return e;for(var n,r,i,a=he?Reflect.ownKeys(t):Object.keys(t),o=0;o<a.length;o++)n=a[o],"__ob__"!==n&&(r=e[n],i=t[n],y(e,n)?r!==i&&u(r)&&u(i)&&Re(r,i):Ye(e,n,i));return e}function Be(e,t,n){return n?function(){var r="function"===typeof t?t.call(n,n):t,i="function"===typeof e?e.call(n,n):e;return r?Re(r,i):i}:t?e?function(){return Re("function"===typeof t?t.call(this,this):t,"function"===typeof e?e.call(this,this):e)}:t:e}function $e(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?Ie(n):n}function Ie(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}function qe(e,t,n,r){var i=Object.create(e||null);return t?O(i,t):i}Fe.data=function(e,t,n){return n?Be(e,t,n):t&&"function"!==typeof t?e:Be(e,t)},$.forEach((function(e){Fe[e]=$e})),B.forEach((function(e){Fe[e+"s"]=qe})),Fe.watch=function(e,t,n,r){if(e===ae&&(e=void 0),t===ae&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var i={};for(var a in O(i,e),t){var o=i[a],s=t[a];o&&!Array.isArray(o)&&(o=[o]),i[a]=o?o.concat(s):Array.isArray(s)?s:[s]}return i},Fe.props=Fe.methods=Fe.inject=Fe.computed=function(e,t,n,r){if(!e)return t;var i=Object.create(null);return O(i,e),t&&O(i,t),i},Fe.provide=Be;var He=function(e,t){return void 0===t?e:t};function We(e,t){var n=e.props;if(n){var r,i,a,o={};if(Array.isArray(n)){r=n.length;while(r--)i=n[r],"string"===typeof i&&(a=w(i),o[a]={type:null})}else if(u(n))for(var s in n)i=n[s],a=w(s),o[a]=u(i)?i:{type:i};else 0;e.props=o}}function Ue(e,t){var n=e.inject;if(n){var r=e.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(u(n))for(var a in n){var o=n[a];r[a]=u(o)?O({from:a},o):{from:o}}else 0}}function Ve(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"function"===typeof r&&(t[n]={bind:r,update:r})}}function Ge(e,t,n){if("function"===typeof t&&(t=t.options),We(t,n),Ue(t,n),Ve(t),!t._base&&(t.extends&&(e=Ge(e,t.extends,n)),t.mixins))for(var r=0,i=t.mixins.length;r<i;r++)e=Ge(e,t.mixins[r],n);var a,o={};for(a in e)s(a);for(a in t)y(e,a)||s(a);function s(r){var i=Fe[r]||He;o[r]=i(e[r],t[r],n,r)}return o}function Ke(e,t,n,r){if("string"===typeof n){var i=e[t];if(y(i,n))return i[n];var a=w(n);if(y(i,a))return i[a];var o=x(a);if(y(i,o))return i[o];var s=i[n]||i[a]||i[o];return s}}function Ze(e,t,n,r){var i=t[e],a=!y(n,e),o=n[e],s=tt(Boolean,i.type);if(s>-1)if(a&&!y(i,"default"))o=!1;else if(""===o||o===C(e)){var c=tt(String,i.type);(c<0||s<c)&&(o=!0)}if(void 0===o){o=Xe(r,i,e);var l=Ee;De(!0),Pe(o),De(l)}return o}function Xe(e,t,n){if(y(t,"default")){var r=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:"function"===typeof r&&"Function"!==Qe(t.type)?r.call(e):r}}var Je=/^\s*function (\w+)/;function Qe(e){var t=e&&e.toString().match(Je);return t?t[1]:""}function et(e,t){return Qe(e)===Qe(t)}function tt(e,t){if(!Array.isArray(t))return et(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(et(t[n],e))return n;return-1}function nt(e,t,n){ge();try{if(t){var r=t;while(r=r.$parent){var i=r.$options.errorCaptured;if(i)for(var a=0;a<i.length;a++)try{var o=!1===i[a].call(r,e,t,n);if(o)return}catch(xo){it(xo,r,"errorCaptured hook")}}}it(e,t,n)}finally{ve()}}function rt(e,t,n,r,i){var a;try{a=n?e.apply(t,n):e.call(t),a&&!a._isVue&&f(a)&&!a._handled&&(a.catch((function(e){return nt(e,r,i+" (Promise/async)")})),a._handled=!0)}catch(xo){nt(xo,r,i)}return a}function it(e,t,n){if(I.errorHandler)try{return I.errorHandler.call(null,e,t,n)}catch(xo){xo!==e&&at(xo,null,"config.errorHandler")}at(e,t,n)}function at(e,t,n){if(!Z&&!X||"undefined"===typeof console)throw e;console.error(e)}var ot,st=!1,ct=[],lt=!1;function ut(){lt=!1;var e=ct.slice(0);ct.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!==typeof Promise&&ue(Promise)){var dt=Promise.resolve();ot=function(){dt.then(ut),re&&setTimeout(P)},st=!0}else if(ee||"undefined"===typeof MutationObserver||!ue(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())ot="undefined"!==typeof setImmediate&&ue(setImmediate)?function(){setImmediate(ut)}:function(){setTimeout(ut,0)};else{var ht=1,ft=new MutationObserver(ut),pt=document.createTextNode(String(ht));ft.observe(pt,{characterData:!0}),ot=function(){ht=(ht+1)%2,pt.data=String(ht)},st=!0}function mt(e,t){var n;if(ct.push((function(){if(e)try{e.call(t)}catch(xo){nt(xo,t,"nextTick")}else n&&n(t)})),lt||(lt=!0,ot()),!e&&"undefined"!==typeof Promise)return new Promise((function(e){n=e}))}var bt=new de;function gt(e){vt(e,bt),bt.clear()}function vt(e,t){var n,r,i=Array.isArray(e);if(!(!i&&!c(e)||Object.isFrozen(e)||e instanceof _e)){if(e.__ob__){var a=e.__ob__.dep.id;if(t.has(a))return;t.add(a)}if(i){n=e.length;while(n--)vt(e[n],t)}else{r=Object.keys(e),n=r.length;while(n--)vt(e[r[n]],t)}}}var _t=A((function(e){var t="&"===e.charAt(0);e=t?e.slice(1):e;var n="~"===e.charAt(0);e=n?e.slice(1):e;var r="!"===e.charAt(0);return e=r?e.slice(1):e,{name:e,once:n,capture:r,passive:t}}));function yt(e,t){function n(){var e=arguments,r=n.fns;if(!Array.isArray(r))return rt(r,null,arguments,t,"v-on handler");for(var i=r.slice(),a=0;a<i.length;a++)rt(i[a],null,e,t,"v-on handler")}return n.fns=e,n}function At(e,t,n,i,o,s){var c,l,u,d;for(c in e)l=e[c],u=t[c],d=_t(c),r(l)||(r(u)?(r(l.fns)&&(l=e[c]=yt(l,s)),a(d.once)&&(l=e[c]=o(d.name,l,d.capture)),n(d.name,l,d.capture,d.passive,d.params)):l!==u&&(u.fns=l,e[c]=u));for(c in t)r(e[c])&&(d=_t(c),i(d.name,t[c],d.capture))}function kt(e,t,n){var o;e instanceof _e&&(e=e.data.hook||(e.data.hook={}));var s=e[t];function c(){n.apply(this,arguments),v(o.fns,c)}r(s)?o=yt([c]):i(s.fns)&&a(s.merged)?(o=s,o.fns.push(c)):o=yt([s,c]),o.merged=!0,e[t]=o}function wt(e,t,n){var a=t.options.props;if(!r(a)){var o={},s=e.attrs,c=e.props;if(i(s)||i(c))for(var l in a){var u=C(l);xt(o,c,l,u,!0)||xt(o,s,l,u,!1)}return o}}function xt(e,t,n,r,a){if(i(t)){if(y(t,n))return e[n]=t[n],a||delete t[n],!0;if(y(t,r))return e[n]=t[r],a||delete t[r],!0}return!1}function Mt(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}function Ct(e){return s(e)?[ke(e)]:Array.isArray(e)?Et(e):void 0}function St(e){return i(e)&&i(e.text)&&o(e.isComment)}function Et(e,t){var n,o,c,l,u=[];for(n=0;n<e.length;n++)o=e[n],r(o)||"boolean"===typeof o||(c=u.length-1,l=u[c],Array.isArray(o)?o.length>0&&(o=Et(o,(t||"")+"_"+n),St(o[0])&&St(l)&&(u[c]=ke(l.text+o[0].text),o.shift()),u.push.apply(u,o)):s(o)?St(l)?u[c]=ke(l.text+o):""!==o&&u.push(ke(o)):St(o)&&St(l)?u[c]=ke(l.text+o.text):(a(e._isVList)&&i(o.tag)&&r(o.key)&&i(t)&&(o.key="__vlist"+t+"_"+n+"__"),u.push(o)));return u}function Dt(e){var t=e.$options.provide;t&&(e._provided="function"===typeof t?t.call(e):t)}function Tt(e){var t=Ot(e.$options.inject,e);t&&(De(!1),Object.keys(t).forEach((function(n){ze(e,n,t[n])})),De(!0))}function Ot(e,t){if(e){for(var n=Object.create(null),r=he?Reflect.ownKeys(e):Object.keys(e),i=0;i<r.length;i++){var a=r[i];if("__ob__"!==a){var o=e[a].from,s=t;while(s){if(s._provided&&y(s._provided,o)){n[a]=s._provided[o];break}s=s.$parent}if(!s)if("default"in e[a]){var c=e[a].default;n[a]="function"===typeof c?c.call(t):c}else 0}}return n}}function Lt(e,t){if(!e||!e.length)return{};for(var n={},r=0,i=e.length;r<i;r++){var a=e[r],o=a.data;if(o&&o.attrs&&o.attrs.slot&&delete o.attrs.slot,a.context!==t&&a.fnContext!==t||!o||null==o.slot)(n.default||(n.default=[])).push(a);else{var s=o.slot,c=n[s]||(n[s]=[]);"template"===a.tag?c.push.apply(c,a.children||[]):c.push(a)}}for(var l in n)n[l].every(Pt)&&delete n[l];return n}function Pt(e){return e.isComment&&!e.asyncFactory||" "===e.text}function zt(e){return e.isComment&&e.asyncFactory}function Yt(e,t,r){var i,a=Object.keys(t).length>0,o=e?!!e.$stable:!a,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(o&&r&&r!==n&&s===r.$key&&!a&&!r.$hasNormal)return r;for(var c in i={},e)e[c]&&"$"!==c[0]&&(i[c]=Nt(t,c,e[c]))}else i={};for(var l in t)l in i||(i[l]=jt(t,l));return e&&Object.isExtensible(e)&&(e._normalized=i),W(i,"$stable",o),W(i,"$key",s),W(i,"$hasNormal",a),i}function Nt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});e=e&&"object"===typeof e&&!Array.isArray(e)?[e]:Ct(e);var t=e&&e[0];return e&&(!t||1===e.length&&t.isComment&&!zt(t))?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function jt(e,t){return function(){return e[t]}}function Ft(e,t){var n,r,a,o,s;if(Array.isArray(e)||"string"===typeof e)for(n=new Array(e.length),r=0,a=e.length;r<a;r++)n[r]=t(e[r],r);else if("number"===typeof e)for(n=new Array(e),r=0;r<e;r++)n[r]=t(r+1,r);else if(c(e))if(he&&e[Symbol.iterator]){n=[];var l=e[Symbol.iterator](),u=l.next();while(!u.done)n.push(t(u.value,n.length)),u=l.next()}else for(o=Object.keys(e),n=new Array(o.length),r=0,a=o.length;r<a;r++)s=o[r],n[r]=t(e[s],s,r);return i(n)||(n=[]),n._isVList=!0,n}function Rt(e,t,n,r){var i,a=this.$scopedSlots[e];a?(n=n||{},r&&(n=O(O({},r),n)),i=a(n)||("function"===typeof t?t():t)):i=this.$slots[e]||("function"===typeof t?t():t);var o=n&&n.slot;return o?this.$createElement("template",{slot:o},i):i}function Bt(e){return Ke(this.$options,"filters",e,!0)||Y}function $t(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function It(e,t,n,r,i){var a=I.keyCodes[t]||n;return i&&r&&!I.keyCodes[t]?$t(i,r):a?$t(a,e):r?C(r)!==t:void 0===e}function qt(e,t,n,r,i){if(n)if(c(n)){var a;Array.isArray(n)&&(n=L(n));var o=function(o){if("class"===o||"style"===o||g(o))a=e;else{var s=e.attrs&&e.attrs.type;a=r||I.mustUseProp(t,s,o)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var c=w(o),l=C(o);if(!(c in a)&&!(l in a)&&(a[o]=n[o],i)){var u=e.on||(e.on={});u["update:"+o]=function(e){n[o]=e}}};for(var s in n)o(s)}else;return e}function Ht(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t||(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),Ut(r,"__static__"+e,!1)),r}function Wt(e,t,n){return Ut(e,"__once__"+t+(n?"_"+n:""),!0),e}function Ut(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!==typeof e[r]&&Vt(e[r],t+"_"+r,n);else Vt(e,t,n)}function Vt(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Gt(e,t){if(t)if(u(t)){var n=e.on=e.on?O({},e.on):{};for(var r in t){var i=n[r],a=t[r];n[r]=i?[].concat(i,a):a}}else;return e}function Kt(e,t,n,r){t=t||{$stable:!n};for(var i=0;i<e.length;i++){var a=e[i];Array.isArray(a)?Kt(a,t,n):a&&(a.proxy&&(a.fn.proxy=!0),t[a.key]=a.fn)}return r&&(t.$key=r),t}function Zt(e,t){for(var n=0;n<t.length;n+=2){var r=t[n];"string"===typeof r&&r&&(e[t[n]]=t[n+1])}return e}function Xt(e,t){return"string"===typeof e?t+e:e}function Jt(e){e._o=Wt,e._n=m,e._s=p,e._l=Ft,e._t=Rt,e._q=N,e._i=j,e._m=Ht,e._f=Bt,e._k=It,e._b=qt,e._v=ke,e._e=Ae,e._u=Kt,e._g=Gt,e._d=Zt,e._p=Xt}function Qt(e,t,r,i,o){var s,c=this,l=o.options;y(i,"_uid")?(s=Object.create(i),s._original=i):(s=i,i=i._original);var u=a(l._compiled),d=!u;this.data=e,this.props=t,this.children=r,this.parent=i,this.listeners=e.on||n,this.injections=Ot(l.inject,i),this.slots=function(){return c.$slots||Yt(e.scopedSlots,c.$slots=Lt(r,i)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Yt(e.scopedSlots,this.slots())}}),u&&(this.$options=l,this.$slots=this.slots(),this.$scopedSlots=Yt(e.scopedSlots,this.$slots)),l._scopeId?this._c=function(e,t,n,r){var a=fn(s,e,t,n,r,d);return a&&!Array.isArray(a)&&(a.fnScopeId=l._scopeId,a.fnContext=i),a}:this._c=function(e,t,n,r){return fn(s,e,t,n,r,d)}}function en(e,t,r,a,o){var s=e.options,c={},l=s.props;if(i(l))for(var u in l)c[u]=Ze(u,l,t||n);else i(r.attrs)&&nn(c,r.attrs),i(r.props)&&nn(c,r.props);var d=new Qt(r,c,o,a,e),h=s.render.call(null,d._c,d);if(h instanceof _e)return tn(h,r,d.parent,s,d);if(Array.isArray(h)){for(var f=Ct(h)||[],p=new Array(f.length),m=0;m<f.length;m++)p[m]=tn(f[m],r,d.parent,s,d);return p}}function tn(e,t,n,r,i){var a=we(e);return a.fnContext=n,a.fnOptions=r,t.slot&&((a.data||(a.data={})).slot=t.slot),a}function nn(e,t){for(var n in t)e[w(n)]=t[n]}Jt(Qt.prototype);var rn={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;rn.prepatch(n,n)}else{var r=e.componentInstance=sn(e,On);r.$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions,r=t.componentInstance=e.componentInstance;Nn(r,n.propsData,n.listeners,t,n.children)},insert:function(e){var t=e.context,n=e.componentInstance;n._isMounted||(n._isMounted=!0,Bn(n,"mounted")),e.data.keepAlive&&(t._isMounted?Qn(n):Fn(n,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?Rn(t,!0):t.$destroy())}},an=Object.keys(rn);function on(e,t,n,o,s){if(!r(e)){var l=n.$options._base;if(c(e)&&(e=l.extend(e)),"function"===typeof e){var u;if(r(e.cid)&&(u=e,e=wn(u,l),void 0===e))return kn(u,t,n,o,s);t=t||{},kr(e),i(t.model)&&un(e.options,t);var d=wt(t,e,s);if(a(e.options.functional))return en(e,d,t,n,o);var h=t.on;if(t.on=t.nativeOn,a(e.options.abstract)){var f=t.slot;t={},f&&(t.slot=f)}cn(t);var p=e.options.name||s,m=new _e("vue-component-"+e.cid+(p?"-"+p:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:d,listeners:h,tag:s,children:o},u);return m}}}function sn(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},r=e.data.inlineTemplate;return i(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new e.componentOptions.Ctor(n)}function cn(e){for(var t=e.hook||(e.hook={}),n=0;n<an.length;n++){var r=an[n],i=t[r],a=rn[r];i===a||i&&i._merged||(t[r]=i?ln(a,i):a)}}function ln(e,t){var n=function(n,r){e(n,r),t(n,r)};return n._merged=!0,n}function un(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var a=t.on||(t.on={}),o=a[r],s=t.model.callback;i(o)?(Array.isArray(o)?-1===o.indexOf(s):o!==s)&&(a[r]=[s].concat(o)):a[r]=s}var dn=1,hn=2;function fn(e,t,n,r,i,o){return(Array.isArray(n)||s(n))&&(i=r,r=n,n=void 0),a(o)&&(i=hn),pn(e,t,n,r,i)}function pn(e,t,n,r,a){if(i(n)&&i(n.__ob__))return Ae();if(i(n)&&i(n.is)&&(t=n.is),!t)return Ae();var o,s,c;(Array.isArray(r)&&"function"===typeof r[0]&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),a===hn?r=Ct(r):a===dn&&(r=Mt(r)),"string"===typeof t)?(s=e.$vnode&&e.$vnode.ns||I.getTagNamespace(t),o=I.isReservedTag(t)?new _e(I.parsePlatformTagName(t),n,r,void 0,void 0,e):n&&n.pre||!i(c=Ke(e.$options,"components",t))?new _e(t,n,r,void 0,void 0,e):on(c,n,e,r,t)):o=on(t,n,e,r);return Array.isArray(o)?o:i(o)?(i(s)&&mn(o,s),i(n)&&bn(n),o):Ae()}function mn(e,t,n){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,n=!0),i(e.children))for(var o=0,s=e.children.length;o<s;o++){var c=e.children[o];i(c.tag)&&(r(c.ns)||a(n)&&"svg"!==c.tag)&&mn(c,t,n)}}function bn(e){c(e.style)&&gt(e.style),c(e.class)&&gt(e.class)}function gn(e){e._vnode=null,e._staticTrees=null;var t=e.$options,r=e.$vnode=t._parentVnode,i=r&&r.context;e.$slots=Lt(t._renderChildren,i),e.$scopedSlots=n,e._c=function(t,n,r,i){return fn(e,t,n,r,i,!1)},e.$createElement=function(t,n,r,i){return fn(e,t,n,r,i,!0)};var a=r&&r.data;ze(e,"$attrs",a&&a.attrs||n,null,!0),ze(e,"$listeners",t._parentListeners||n,null,!0)}var vn,_n=null;function yn(e){Jt(e.prototype),e.prototype.$nextTick=function(e){return mt(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,r=n.render,i=n._parentVnode;i&&(t.$scopedSlots=Yt(i.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=i;try{_n=t,e=r.call(t._renderProxy,t.$createElement)}catch(xo){nt(xo,t,"render"),e=t._vnode}finally{_n=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof _e||(e=Ae()),e.parent=i,e}}function An(e,t){return(e.__esModule||he&&"Module"===e[Symbol.toStringTag])&&(e=e.default),c(e)?t.extend(e):e}function kn(e,t,n,r,i){var a=Ae();return a.asyncFactory=e,a.asyncMeta={data:t,context:n,children:r,tag:i},a}function wn(e,t){if(a(e.error)&&i(e.errorComp))return e.errorComp;if(i(e.resolved))return e.resolved;var n=_n;if(n&&i(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),a(e.loading)&&i(e.loadingComp))return e.loadingComp;if(n&&!i(e.owners)){var o=e.owners=[n],s=!0,l=null,u=null;n.$on("hook:destroyed",(function(){return v(o,n)}));var d=function(e){for(var t=0,n=o.length;t<n;t++)o[t].$forceUpdate();e&&(o.length=0,null!==l&&(clearTimeout(l),l=null),null!==u&&(clearTimeout(u),u=null))},h=F((function(n){e.resolved=An(n,t),s?o.length=0:d(!0)})),p=F((function(t){i(e.errorComp)&&(e.error=!0,d(!0))})),m=e(h,p);return c(m)&&(f(m)?r(e.resolved)&&m.then(h,p):f(m.component)&&(m.component.then(h,p),i(m.error)&&(e.errorComp=An(m.error,t)),i(m.loading)&&(e.loadingComp=An(m.loading,t),0===m.delay?e.loading=!0:l=setTimeout((function(){l=null,r(e.resolved)&&r(e.error)&&(e.loading=!0,d(!1))}),m.delay||200)),i(m.timeout)&&(u=setTimeout((function(){u=null,r(e.resolved)&&p(null)}),m.timeout)))),s=!1,e.loading?e.loadingComp:e.resolved}}function xn(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(i(n)&&(i(n.componentOptions)||zt(n)))return n}}function Mn(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Dn(e,t)}function Cn(e,t){vn.$on(e,t)}function Sn(e,t){vn.$off(e,t)}function En(e,t){var n=vn;return function r(){var i=t.apply(null,arguments);null!==i&&n.$off(e,r)}}function Dn(e,t,n){vn=e,At(t,n||{},Cn,Sn,En,e),vn=void 0}function Tn(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var i=0,a=e.length;i<a;i++)r.$on(e[i],n);else(r._events[e]||(r._events[e]=[])).push(n),t.test(e)&&(r._hasHookEvent=!0);return r},e.prototype.$once=function(e,t){var n=this;function r(){n.$off(e,r),t.apply(n,arguments)}return r.fn=t,n.$on(e,r),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var r=0,i=e.length;r<i;r++)n.$off(e[r],t);return n}var a,o=n._events[e];if(!o)return n;if(!t)return n._events[e]=null,n;var s=o.length;while(s--)if(a=o[s],a===t||a.fn===t){o.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?T(n):n;for(var r=T(arguments,1),i='event handler for "'+e+'"',a=0,o=n.length;a<o;a++)rt(n[a],t,r,t,i)}return t}}var On=null;function Ln(e){var t=On;return On=e,function(){On=t}}function Pn(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){while(n.$options.abstract&&n.$parent)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function zn(e){e.prototype._update=function(e,t){var n=this,r=n.$el,i=n._vnode,a=Ln(n);n._vnode=e,n.$el=i?n.__patch__(i,e):n.__patch__(n.$el,e,t,!1),a(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){var e=this;e._watcher&&e._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Bn(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||v(t.$children,e),e._watcher&&e._watcher.teardown();var n=e._watchers.length;while(n--)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Bn(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}function Yn(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=Ae),Bn(e,"beforeMount"),r=function(){e._update(e._render(),n)},new rr(e,r,P,{before:function(){e._isMounted&&!e._isDestroyed&&Bn(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,Bn(e,"mounted")),e}function Nn(e,t,r,i,a){var o=i.data.scopedSlots,s=e.$scopedSlots,c=!!(o&&!o.$stable||s!==n&&!s.$stable||o&&e.$scopedSlots.$key!==o.$key||!o&&e.$scopedSlots.$key),l=!!(a||e.$options._renderChildren||c);if(e.$options._parentVnode=i,e.$vnode=i,e._vnode&&(e._vnode.parent=i),e.$options._renderChildren=a,e.$attrs=i.data.attrs||n,e.$listeners=r||n,t&&e.$options.props){De(!1);for(var u=e._props,d=e.$options._propKeys||[],h=0;h<d.length;h++){var f=d[h],p=e.$options.props;u[f]=Ze(f,p,t,e)}De(!0),e.$options.propsData=t}r=r||n;var m=e.$options._parentListeners;e.$options._parentListeners=r,Dn(e,r,m),l&&(e.$slots=Lt(a,i.context),e.$forceUpdate())}function jn(e){while(e&&(e=e.$parent))if(e._inactive)return!0;return!1}function Fn(e,t){if(t){if(e._directInactive=!1,jn(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)Fn(e.$children[n]);Bn(e,"activated")}}function Rn(e,t){if((!t||(e._directInactive=!0,!jn(e)))&&!e._inactive){e._inactive=!0;for(var n=0;n<e.$children.length;n++)Rn(e.$children[n]);Bn(e,"deactivated")}}function Bn(e,t){ge();var n=e.$options[t],r=t+" hook";if(n)for(var i=0,a=n.length;i<a;i++)rt(n[i],e,null,e,r);e._hasHookEvent&&e.$emit("hook:"+t),ve()}var $n=[],In=[],qn={},Hn=!1,Wn=!1,Un=0;function Vn(){Un=$n.length=In.length=0,qn={},Hn=Wn=!1}var Gn=0,Kn=Date.now;if(Z&&!ee){var Zn=window.performance;Zn&&"function"===typeof Zn.now&&Kn()>document.createEvent("Event").timeStamp&&(Kn=function(){return Zn.now()})}function Xn(){var e,t;for(Gn=Kn(),Wn=!0,$n.sort((function(e,t){return e.id-t.id})),Un=0;Un<$n.length;Un++)e=$n[Un],e.before&&e.before(),t=e.id,qn[t]=null,e.run();var n=In.slice(),r=$n.slice();Vn(),er(n),Jn(r),le&&I.devtools&&le.emit("flush")}function Jn(e){var t=e.length;while(t--){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&Bn(r,"updated")}}function Qn(e){e._inactive=!1,In.push(e)}function er(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,Fn(e[t],!0)}function tr(e){var t=e.id;if(null==qn[t]){if(qn[t]=!0,Wn){var n=$n.length-1;while(n>Un&&$n[n].id>e.id)n--;$n.splice(n+1,0,e)}else $n.push(e);Hn||(Hn=!0,mt(Xn))}}var nr=0,rr=function(e,t,n,r,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++nr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new de,this.newDepIds=new de,this.expression="","function"===typeof t?this.getter=t:(this.getter=V(t),this.getter||(this.getter=P)),this.value=this.lazy?void 0:this.get()};rr.prototype.get=function(){var e;ge(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(xo){if(!this.user)throw xo;nt(xo,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&gt(e),ve(),this.cleanupDeps()}return e},rr.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},rr.prototype.cleanupDeps=function(){var e=this.deps.length;while(e--){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},rr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():tr(this)},rr.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||c(e)||this.deep){var t=this.value;if(this.value=e,this.user){var n='callback for watcher "'+this.expression+'"';rt(this.cb,this.vm,[e,t],this.vm,n)}else this.cb.call(this.vm,e,t)}}},rr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},rr.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},rr.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||v(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var ir={enumerable:!0,configurable:!0,get:P,set:P};function ar(e,t,n){ir.get=function(){return this[t][n]},ir.set=function(e){this[t][n]=e},Object.defineProperty(e,n,ir)}function or(e){e._watchers=[];var t=e.$options;t.props&&sr(e,t.props),t.methods&&mr(e,t.methods),t.data?cr(e):Pe(e._data={},!0),t.computed&&dr(e,t.computed),t.watch&&t.watch!==ae&&br(e,t.watch)}function sr(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],a=!e.$parent;a||De(!1);var o=function(a){i.push(a);var o=Ze(a,t,n,e);ze(r,a,o),a in e||ar(e,"_props",a)};for(var s in t)o(s);De(!0)}function cr(e){var t=e.$options.data;t=e._data="function"===typeof t?lr(t,e):t||{},u(t)||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);while(i--){var a=n[i];0,r&&y(r,a)||H(a)||ar(e,"_data",a)}Pe(t,!0)}function lr(e,t){ge();try{return e.call(t,t)}catch(xo){return nt(xo,t,"data()"),{}}finally{ve()}}var ur={lazy:!0};function dr(e,t){var n=e._computedWatchers=Object.create(null),r=ce();for(var i in t){var a=t[i],o="function"===typeof a?a:a.get;0,r||(n[i]=new rr(e,o||P,P,ur)),i in e||hr(e,i,a)}}function hr(e,t,n){var r=!ce();"function"===typeof n?(ir.get=r?fr(t):pr(n),ir.set=P):(ir.get=n.get?r&&!1!==n.cache?fr(t):pr(n.get):P,ir.set=n.set||P),Object.defineProperty(e,t,ir)}function fr(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),me.target&&t.depend(),t.value}}function pr(e){return function(){return e.call(this,this)}}function mr(e,t){e.$options.props;for(var n in t)e[n]="function"!==typeof t[n]?P:D(t[n],e)}function br(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)gr(e,n,r[i]);else gr(e,n,r)}}function gr(e,t,n,r){return u(n)&&(r=n,n=n.handler),"string"===typeof n&&(n=e[n]),e.$watch(t,n,r)}function vr(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Ye,e.prototype.$delete=Ne,e.prototype.$watch=function(e,t,n){var r=this;if(u(t))return gr(r,e,t,n);n=n||{},n.user=!0;var i=new rr(r,e,t,n);if(n.immediate){var a='callback for immediate watcher "'+i.expression+'"';ge(),rt(t,r,[i.value],r,a),ve()}return function(){i.teardown()}}}var _r=0;function yr(e){e.prototype._init=function(e){var t=this;t._uid=_r++,t._isVue=!0,e&&e._isComponent?Ar(t,e):t.$options=Ge(kr(t.constructor),e||{},t),t._renderProxy=t,t._self=t,Pn(t),Mn(t),gn(t),Bn(t,"beforeCreate"),Tt(t),or(t),Dt(t),Bn(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}function Ar(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}function kr(e){var t=e.options;if(e.super){var n=kr(e.super),r=e.superOptions;if(n!==r){e.superOptions=n;var i=wr(e);i&&O(e.extendOptions,i),t=e.options=Ge(n,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function wr(e){var t,n=e.options,r=e.sealedOptions;for(var i in n)n[i]!==r[i]&&(t||(t={}),t[i]=n[i]);return t}function xr(e){this._init(e)}function Mr(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=T(arguments,1);return n.unshift(this),"function"===typeof e.install?e.install.apply(e,n):"function"===typeof e&&e.apply(null,n),t.push(e),this}}function Cr(e){e.mixin=function(e){return this.options=Ge(this.options,e),this}}function Sr(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var a=e.name||n.options.name;var o=function(e){this._init(e)};return o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.cid=t++,o.options=Ge(n.options,e),o["super"]=n,o.options.props&&Er(o),o.options.computed&&Dr(o),o.extend=n.extend,o.mixin=n.mixin,o.use=n.use,B.forEach((function(e){o[e]=n[e]})),a&&(o.options.components[a]=o),o.superOptions=n.options,o.extendOptions=e,o.sealedOptions=O({},o.options),i[r]=o,o}}function Er(e){var t=e.options.props;for(var n in t)ar(e.prototype,"_props",n)}function Dr(e){var t=e.options.computed;for(var n in t)hr(e.prototype,n,t[n])}function Tr(e){B.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&u(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"===typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}function Or(e){return e&&(e.Ctor.options.name||e.tag)}function Lr(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!d(e)&&e.test(t)}function Pr(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var a in n){var o=n[a];if(o){var s=o.name;s&&!t(s)&&zr(n,a,r,i)}}}function zr(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,v(n,t)}yr(xr),vr(xr),Tn(xr),zn(xr),yn(xr);var Yr=[String,RegExp,Array],Nr={name:"keep-alive",abstract:!0,props:{include:Yr,exclude:Yr,max:[String,Number]},methods:{cacheVNode:function(){var e=this,t=e.cache,n=e.keys,r=e.vnodeToCache,i=e.keyToCache;if(r){var a=r.tag,o=r.componentInstance,s=r.componentOptions;t[i]={name:Or(s),tag:a,componentInstance:o},n.push(i),this.max&&n.length>parseInt(this.max)&&zr(t,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)zr(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",(function(t){Pr(e,(function(e){return Lr(t,e)}))})),this.$watch("exclude",(function(t){Pr(e,(function(e){return!Lr(t,e)}))}))},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,t=xn(e),n=t&&t.componentOptions;if(n){var r=Or(n),i=this,a=i.include,o=i.exclude;if(a&&(!r||!Lr(a,r))||o&&r&&Lr(o,r))return t;var s=this,c=s.cache,l=s.keys,u=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;c[u]?(t.componentInstance=c[u].componentInstance,v(l,u),l.push(u)):(this.vnodeToCache=t,this.keyToCache=u),t.data.keepAlive=!0}return t||e&&e[0]}},jr={KeepAlive:Nr};function Fr(e){var t={get:function(){return I}};Object.defineProperty(e,"config",t),e.util={warn:fe,extend:O,mergeOptions:Ge,defineReactive:ze},e.set=Ye,e.delete=Ne,e.nextTick=mt,e.observable=function(e){return Pe(e),e},e.options=Object.create(null),B.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,O(e.options.components,jr),Mr(e),Cr(e),Sr(e),Tr(e)}Fr(xr),Object.defineProperty(xr.prototype,"$isServer",{get:ce}),Object.defineProperty(xr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(xr,"FunctionalRenderContext",{value:Qt}),xr.version="2.6.14";var Rr=b("style,class"),Br=b("input,textarea,option,select,progress"),$r=function(e,t,n){return"value"===n&&Br(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Ir=b("contenteditable,draggable,spellcheck"),qr=b("events,caret,typing,plaintext-only"),Hr=function(e,t){return Kr(t)||"false"===t?"false":"contenteditable"===e&&qr(t)?t:"true"},Wr=b("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Ur="http://www.w3.org/1999/xlink",Vr=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Gr=function(e){return Vr(e)?e.slice(6,e.length):""},Kr=function(e){return null==e||!1===e};function Zr(e){var t=e.data,n=e,r=e;while(i(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(t=Xr(r.data,t));while(i(n=n.parent))n&&n.data&&(t=Xr(t,n.data));return Jr(t.staticClass,t.class)}function Xr(e,t){return{staticClass:Qr(e.staticClass,t.staticClass),class:i(e.class)?[e.class,t.class]:t.class}}function Jr(e,t){return i(e)||i(t)?Qr(e,ei(t)):""}function Qr(e,t){return e?t?e+" "+t:e:t||""}function ei(e){return Array.isArray(e)?ti(e):c(e)?ni(e):"string"===typeof e?e:""}function ti(e){for(var t,n="",r=0,a=e.length;r<a;r++)i(t=ei(e[r]))&&""!==t&&(n&&(n+=" "),n+=t);return n}function ni(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}var ri={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},ii=b("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),ai=b("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),oi=function(e){return ii(e)||ai(e)};function si(e){return ai(e)?"svg":"math"===e?"math":void 0}var ci=Object.create(null);function li(e){if(!Z)return!0;if(oi(e))return!1;if(e=e.toLowerCase(),null!=ci[e])return ci[e];var t=document.createElement(e);return e.indexOf("-")>-1?ci[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:ci[e]=/HTMLUnknownElement/.test(t.toString())}var ui=b("text,number,password,search,email,tel,url");function di(e){if("string"===typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function hi(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function fi(e,t){return document.createElementNS(ri[e],t)}function pi(e){return document.createTextNode(e)}function mi(e){return document.createComment(e)}function bi(e,t,n){e.insertBefore(t,n)}function gi(e,t){e.removeChild(t)}function vi(e,t){e.appendChild(t)}function _i(e){return e.parentNode}function yi(e){return e.nextSibling}function Ai(e){return e.tagName}function ki(e,t){e.textContent=t}function wi(e,t){e.setAttribute(t,"")}var xi=Object.freeze({createElement:hi,createElementNS:fi,createTextNode:pi,createComment:mi,insertBefore:bi,removeChild:gi,appendChild:vi,parentNode:_i,nextSibling:yi,tagName:Ai,setTextContent:ki,setStyleScope:wi}),Mi={create:function(e,t){Ci(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Ci(e,!0),Ci(t))},destroy:function(e){Ci(e,!0)}};function Ci(e,t){var n=e.data.ref;if(i(n)){var r=e.context,a=e.componentInstance||e.elm,o=r.$refs;t?Array.isArray(o[n])?v(o[n],a):o[n]===a&&(o[n]=void 0):e.data.refInFor?Array.isArray(o[n])?o[n].indexOf(a)<0&&o[n].push(a):o[n]=[a]:o[n]=a}}var Si=new _e("",{},[]),Ei=["create","activate","update","remove","destroy"];function Di(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&i(e.data)===i(t.data)&&Ti(e,t)||a(e.isAsyncPlaceholder)&&r(t.asyncFactory.error))}function Ti(e,t){if("input"!==e.tag)return!0;var n,r=i(n=e.data)&&i(n=n.attrs)&&n.type,a=i(n=t.data)&&i(n=n.attrs)&&n.type;return r===a||ui(r)&&ui(a)}function Oi(e,t,n){var r,a,o={};for(r=t;r<=n;++r)a=e[r].key,i(a)&&(o[a]=r);return o}function Li(e){var t,n,o={},c=e.modules,l=e.nodeOps;for(t=0;t<Ei.length;++t)for(o[Ei[t]]=[],n=0;n<c.length;++n)i(c[n][Ei[t]])&&o[Ei[t]].push(c[n][Ei[t]]);function u(e){return new _e(l.tagName(e).toLowerCase(),{},[],void 0,e)}function d(e,t){function n(){0===--n.listeners&&h(e)}return n.listeners=t,n}function h(e){var t=l.parentNode(e);i(t)&&l.removeChild(t,e)}function f(e,t,n,r,o,s,c){if(i(e.elm)&&i(s)&&(e=s[c]=we(e)),e.isRootInsert=!o,!p(e,t,n,r)){var u=e.data,d=e.children,h=e.tag;i(h)?(e.elm=e.ns?l.createElementNS(e.ns,h):l.createElement(h,e),k(e),_(e,d,t),i(u)&&A(e,t),v(n,e.elm,r)):a(e.isComment)?(e.elm=l.createComment(e.text),v(n,e.elm,r)):(e.elm=l.createTextNode(e.text),v(n,e.elm,r))}}function p(e,t,n,r){var o=e.data;if(i(o)){var s=i(e.componentInstance)&&o.keepAlive;if(i(o=o.hook)&&i(o=o.init)&&o(e,!1),i(e.componentInstance))return m(e,t),v(n,e.elm,r),a(s)&&g(e,t,n,r),!0}}function m(e,t){i(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,y(e)?(A(e,t),k(e)):(Ci(e),t.push(e))}function g(e,t,n,r){var a,s=e;while(s.componentInstance)if(s=s.componentInstance._vnode,i(a=s.data)&&i(a=a.transition)){for(a=0;a<o.activate.length;++a)o.activate[a](Si,s);t.push(s);break}v(n,e.elm,r)}function v(e,t,n){i(e)&&(i(n)?l.parentNode(n)===e&&l.insertBefore(e,t,n):l.appendChild(e,t))}function _(e,t,n){if(Array.isArray(t)){0;for(var r=0;r<t.length;++r)f(t[r],n,e.elm,null,!0,t,r)}else s(e.text)&&l.appendChild(e.elm,l.createTextNode(String(e.text)))}function y(e){while(e.componentInstance)e=e.componentInstance._vnode;return i(e.tag)}function A(e,n){for(var r=0;r<o.create.length;++r)o.create[r](Si,e);t=e.data.hook,i(t)&&(i(t.create)&&t.create(Si,e),i(t.insert)&&n.push(e))}function k(e){var t;if(i(t=e.fnScopeId))l.setStyleScope(e.elm,t);else{var n=e;while(n)i(t=n.context)&&i(t=t.$options._scopeId)&&l.setStyleScope(e.elm,t),n=n.parent}i(t=On)&&t!==e.context&&t!==e.fnContext&&i(t=t.$options._scopeId)&&l.setStyleScope(e.elm,t)}function w(e,t,n,r,i,a){for(;r<=i;++r)f(n[r],a,e,t,!1,n,r)}function x(e){var t,n,r=e.data;if(i(r))for(i(t=r.hook)&&i(t=t.destroy)&&t(e),t=0;t<o.destroy.length;++t)o.destroy[t](e);if(i(t=e.children))for(n=0;n<e.children.length;++n)x(e.children[n])}function M(e,t,n){for(;t<=n;++t){var r=e[t];i(r)&&(i(r.tag)?(C(r),x(r)):h(r.elm))}}function C(e,t){if(i(t)||i(e.data)){var n,r=o.remove.length+1;for(i(t)?t.listeners+=r:t=d(e.elm,r),i(n=e.componentInstance)&&i(n=n._vnode)&&i(n.data)&&C(n,t),n=0;n<o.remove.length;++n)o.remove[n](e,t);i(n=e.data.hook)&&i(n=n.remove)?n(e,t):t()}else h(e.elm)}function S(e,t,n,a,o){var s,c,u,d,h=0,p=0,m=t.length-1,b=t[0],g=t[m],v=n.length-1,_=n[0],y=n[v],A=!o;while(h<=m&&p<=v)r(b)?b=t[++h]:r(g)?g=t[--m]:Di(b,_)?(D(b,_,a,n,p),b=t[++h],_=n[++p]):Di(g,y)?(D(g,y,a,n,v),g=t[--m],y=n[--v]):Di(b,y)?(D(b,y,a,n,v),A&&l.insertBefore(e,b.elm,l.nextSibling(g.elm)),b=t[++h],y=n[--v]):Di(g,_)?(D(g,_,a,n,p),A&&l.insertBefore(e,g.elm,b.elm),g=t[--m],_=n[++p]):(r(s)&&(s=Oi(t,h,m)),c=i(_.key)?s[_.key]:E(_,t,h,m),r(c)?f(_,a,e,b.elm,!1,n,p):(u=t[c],Di(u,_)?(D(u,_,a,n,p),t[c]=void 0,A&&l.insertBefore(e,u.elm,b.elm)):f(_,a,e,b.elm,!1,n,p)),_=n[++p]);h>m?(d=r(n[v+1])?null:n[v+1].elm,w(e,d,n,p,v,a)):p>v&&M(t,h,m)}function E(e,t,n,r){for(var a=n;a<r;a++){var o=t[a];if(i(o)&&Di(e,o))return a}}function D(e,t,n,s,c,u){if(e!==t){i(t.elm)&&i(s)&&(t=s[c]=we(t));var d=t.elm=e.elm;if(a(e.isAsyncPlaceholder))i(t.asyncFactory.resolved)?L(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(a(t.isStatic)&&a(e.isStatic)&&t.key===e.key&&(a(t.isCloned)||a(t.isOnce)))t.componentInstance=e.componentInstance;else{var h,f=t.data;i(f)&&i(h=f.hook)&&i(h=h.prepatch)&&h(e,t);var p=e.children,m=t.children;if(i(f)&&y(t)){for(h=0;h<o.update.length;++h)o.update[h](e,t);i(h=f.hook)&&i(h=h.update)&&h(e,t)}r(t.text)?i(p)&&i(m)?p!==m&&S(d,p,m,n,u):i(m)?(i(e.text)&&l.setTextContent(d,""),w(d,null,m,0,m.length-1,n)):i(p)?M(p,0,p.length-1):i(e.text)&&l.setTextContent(d,""):e.text!==t.text&&l.setTextContent(d,t.text),i(f)&&i(h=f.hook)&&i(h=h.postpatch)&&h(e,t)}}}function T(e,t,n){if(a(n)&&i(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r<t.length;++r)t[r].data.hook.insert(t[r])}var O=b("attrs,class,staticClass,staticStyle,key");function L(e,t,n,r){var o,s=t.tag,c=t.data,l=t.children;if(r=r||c&&c.pre,t.elm=e,a(t.isComment)&&i(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(i(c)&&(i(o=c.hook)&&i(o=o.init)&&o(t,!0),i(o=t.componentInstance)))return m(t,n),!0;if(i(s)){if(i(l))if(e.hasChildNodes())if(i(o=c)&&i(o=o.domProps)&&i(o=o.innerHTML)){if(o!==e.innerHTML)return!1}else{for(var u=!0,d=e.firstChild,h=0;h<l.length;h++){if(!d||!L(d,l[h],n,r)){u=!1;break}d=d.nextSibling}if(!u||d)return!1}else _(t,l,n);if(i(c)){var f=!1;for(var p in c)if(!O(p)){f=!0,A(t,n);break}!f&&c["class"]&&gt(c["class"])}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,s){if(!r(t)){var c=!1,d=[];if(r(e))c=!0,f(t,d);else{var h=i(e.nodeType);if(!h&&Di(e,t))D(e,t,d,null,null,s);else{if(h){if(1===e.nodeType&&e.hasAttribute(R)&&(e.removeAttribute(R),n=!0),a(n)&&L(e,t,d))return T(t,d,!0),e;e=u(e)}var p=e.elm,m=l.parentNode(p);if(f(t,d,p._leaveCb?null:m,l.nextSibling(p)),i(t.parent)){var b=t.parent,g=y(t);while(b){for(var v=0;v<o.destroy.length;++v)o.destroy[v](b);if(b.elm=t.elm,g){for(var _=0;_<o.create.length;++_)o.create[_](Si,b);var A=b.data.hook.insert;if(A.merged)for(var k=1;k<A.fns.length;k++)A.fns[k]()}else Ci(b);b=b.parent}}i(m)?M([e],0,0):i(e.tag)&&x(e)}}return T(t,d,c),t.elm}i(e)&&x(e)}}var Pi={create:zi,update:zi,destroy:function(e){zi(e,Si)}};function zi(e,t){(e.data.directives||t.data.directives)&&Yi(e,t)}function Yi(e,t){var n,r,i,a=e===Si,o=t===Si,s=ji(e.data.directives,e.context),c=ji(t.data.directives,t.context),l=[],u=[];for(n in c)r=s[n],i=c[n],r?(i.oldValue=r.value,i.oldArg=r.arg,Ri(i,"update",t,e),i.def&&i.def.componentUpdated&&u.push(i)):(Ri(i,"bind",t,e),i.def&&i.def.inserted&&l.push(i));if(l.length){var d=function(){for(var n=0;n<l.length;n++)Ri(l[n],"inserted",t,e)};a?kt(t,"insert",d):d()}if(u.length&&kt(t,"postpatch",(function(){for(var n=0;n<u.length;n++)Ri(u[n],"componentUpdated",t,e)})),!a)for(n in s)c[n]||Ri(s[n],"unbind",e,e,o)}var Ni=Object.create(null);function ji(e,t){var n,r,i=Object.create(null);if(!e)return i;for(n=0;n<e.length;n++)r=e[n],r.modifiers||(r.modifiers=Ni),i[Fi(r)]=r,r.def=Ke(t.$options,"directives",r.name,!0);return i}function Fi(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function Ri(e,t,n,r,i){var a=e.def&&e.def[t];if(a)try{a(n.elm,e,n,r,i)}catch(xo){nt(xo,n.context,"directive "+e.name+" "+t+" hook")}}var Bi=[Mi,Pi];function $i(e,t){var n=t.componentOptions;if((!i(n)||!1!==n.Ctor.options.inheritAttrs)&&(!r(e.data.attrs)||!r(t.data.attrs))){var a,o,s,c=t.elm,l=e.data.attrs||{},u=t.data.attrs||{};for(a in i(u.__ob__)&&(u=t.data.attrs=O({},u)),u)o=u[a],s=l[a],s!==o&&Ii(c,a,o,t.data.pre);for(a in(ee||ne)&&u.value!==l.value&&Ii(c,"value",u.value),l)r(u[a])&&(Vr(a)?c.removeAttributeNS(Ur,Gr(a)):Ir(a)||c.removeAttribute(a))}}function Ii(e,t,n,r){r||e.tagName.indexOf("-")>-1?qi(e,t,n):Wr(t)?Kr(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Ir(t)?e.setAttribute(t,Hr(t,n)):Vr(t)?Kr(n)?e.removeAttributeNS(Ur,Gr(t)):e.setAttributeNS(Ur,t,n):qi(e,t,n)}function qi(e,t,n){if(Kr(n))e.removeAttribute(t);else{if(ee&&!te&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var Hi={create:$i,update:$i};function Wi(e,t){var n=t.elm,a=t.data,o=e.data;if(!(r(a.staticClass)&&r(a.class)&&(r(o)||r(o.staticClass)&&r(o.class)))){var s=Zr(t),c=n._transitionClasses;i(c)&&(s=Qr(s,ei(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Ui,Vi={create:Wi,update:Wi},Gi="__r",Ki="__c";function Zi(e){if(i(e[Gi])){var t=ee?"change":"input";e[t]=[].concat(e[Gi],e[t]||[]),delete e[Gi]}i(e[Ki])&&(e.change=[].concat(e[Ki],e.change||[]),delete e[Ki])}function Xi(e,t,n){var r=Ui;return function i(){var a=t.apply(null,arguments);null!==a&&ea(e,i,n,r)}}var Ji=st&&!(ie&&Number(ie[1])<=53);function Qi(e,t,n,r){if(Ji){var i=Gn,a=t;t=a._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return a.apply(this,arguments)}}Ui.addEventListener(e,t,oe?{capture:n,passive:r}:n)}function ea(e,t,n,r){(r||Ui).removeEventListener(e,t._wrapper||t,n)}function ta(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},i=e.data.on||{};Ui=t.elm,Zi(n),At(n,i,Qi,ea,Xi,t.context),Ui=void 0}}var na,ra={create:ta,update:ta};function ia(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,a,o=t.elm,s=e.data.domProps||{},c=t.data.domProps||{};for(n in i(c.__ob__)&&(c=t.data.domProps=O({},c)),s)n in c||(o[n]="");for(n in c){if(a=c[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),a===s[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=a;var l=r(a)?"":String(a);aa(o,l)&&(o.value=l)}else if("innerHTML"===n&&ai(o.tagName)&&r(o.innerHTML)){na=na||document.createElement("div"),na.innerHTML="<svg>"+a+"</svg>";var u=na.firstChild;while(o.firstChild)o.removeChild(o.firstChild);while(u.firstChild)o.appendChild(u.firstChild)}else if(a!==s[n])try{o[n]=a}catch(xo){}}}}function aa(e,t){return!e.composing&&("OPTION"===e.tagName||oa(e,t)||sa(e,t))}function oa(e,t){var n=!0;try{n=document.activeElement!==e}catch(xo){}return n&&e.value!==t}function sa(e,t){var n=e.value,r=e._vModifiers;if(i(r)){if(r.number)return m(n)!==m(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}var ca={create:ia,update:ia},la=A((function(e){var t={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach((function(e){if(e){var n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}));function ua(e){var t=da(e.style);return e.staticStyle?O(e.staticStyle,t):t}function da(e){return Array.isArray(e)?L(e):"string"===typeof e?la(e):e}function ha(e,t){var n,r={};if(t){var i=e;while(i.componentInstance)i=i.componentInstance._vnode,i&&i.data&&(n=ua(i.data))&&O(r,n)}(n=ua(e.data))&&O(r,n);var a=e;while(a=a.parent)a.data&&(n=ua(a.data))&&O(r,n);return r}var fa,pa=/^--/,ma=/\s*!important$/,ba=function(e,t,n){if(pa.test(t))e.style.setProperty(t,n);else if(ma.test(n))e.style.setProperty(C(t),n.replace(ma,""),"important");else{var r=va(t);if(Array.isArray(n))for(var i=0,a=n.length;i<a;i++)e.style[r]=n[i];else e.style[r]=n}},ga=["Webkit","Moz","ms"],va=A((function(e){if(fa=fa||document.createElement("div").style,e=w(e),"filter"!==e&&e in fa)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<ga.length;n++){var r=ga[n]+t;if(r in fa)return r}}));function _a(e,t){var n=t.data,a=e.data;if(!(r(n.staticStyle)&&r(n.style)&&r(a.staticStyle)&&r(a.style))){var o,s,c=t.elm,l=a.staticStyle,u=a.normalizedStyle||a.style||{},d=l||u,h=da(t.data.style)||{};t.data.normalizedStyle=i(h.__ob__)?O({},h):h;var f=ha(t,!0);for(s in d)r(f[s])&&ba(c,s,"");for(s in f)o=f[s],o!==d[s]&&ba(c,s,null==o?"":o)}}var ya={create:_a,update:_a},Aa=/\s+/;function ka(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Aa).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function wa(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Aa).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function xa(e){if(e){if("object"===typeof e){var t={};return!1!==e.css&&O(t,Ma(e.name||"v")),O(t,e),t}return"string"===typeof e?Ma(e):void 0}}var Ma=A((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),Ca=Z&&!te,Sa="transition",Ea="animation",Da="transition",Ta="transitionend",Oa="animation",La="animationend";Ca&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Da="WebkitTransition",Ta="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Oa="WebkitAnimation",La="webkitAnimationEnd"));var Pa=Z?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function za(e){Pa((function(){Pa(e)}))}function Ya(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),ka(e,t))}function Na(e,t){e._transitionClasses&&v(e._transitionClasses,t),wa(e,t)}function ja(e,t,n){var r=Ra(e,t),i=r.type,a=r.timeout,o=r.propCount;if(!i)return n();var s=i===Sa?Ta:La,c=0,l=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++c>=o&&l()};setTimeout((function(){c<o&&l()}),a+1),e.addEventListener(s,u)}var Fa=/\b(transform|all)(,|$)/;function Ra(e,t){var n,r=window.getComputedStyle(e),i=(r[Da+"Delay"]||"").split(", "),a=(r[Da+"Duration"]||"").split(", "),o=Ba(i,a),s=(r[Oa+"Delay"]||"").split(", "),c=(r[Oa+"Duration"]||"").split(", "),l=Ba(s,c),u=0,d=0;t===Sa?o>0&&(n=Sa,u=o,d=a.length):t===Ea?l>0&&(n=Ea,u=l,d=c.length):(u=Math.max(o,l),n=u>0?o>l?Sa:Ea:null,d=n?n===Sa?a.length:c.length:0);var h=n===Sa&&Fa.test(r[Da+"Property"]);return{type:n,timeout:u,propCount:d,hasTransform:h}}function Ba(e,t){while(e.length<t.length)e=e.concat(e);return Math.max.apply(null,t.map((function(t,n){return $a(t)+$a(e[n])})))}function $a(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function Ia(e,t){var n=e.elm;i(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var a=xa(e.data.transition);if(!r(a)&&!i(n._enterCb)&&1===n.nodeType){var o=a.css,s=a.type,l=a.enterClass,u=a.enterToClass,d=a.enterActiveClass,h=a.appearClass,f=a.appearToClass,p=a.appearActiveClass,b=a.beforeEnter,g=a.enter,v=a.afterEnter,_=a.enterCancelled,y=a.beforeAppear,A=a.appear,k=a.afterAppear,w=a.appearCancelled,x=a.duration,M=On,C=On.$vnode;while(C&&C.parent)M=C.context,C=C.parent;var S=!M._isMounted||!e.isRootInsert;if(!S||A||""===A){var E=S&&h?h:l,D=S&&p?p:d,T=S&&f?f:u,O=S&&y||b,L=S&&"function"===typeof A?A:g,P=S&&k||v,z=S&&w||_,Y=m(c(x)?x.enter:x);0;var N=!1!==o&&!te,j=Wa(L),R=n._enterCb=F((function(){N&&(Na(n,T),Na(n,D)),R.cancelled?(N&&Na(n,E),z&&z(n)):P&&P(n),n._enterCb=null}));e.data.show||kt(e,"insert",(function(){var t=n.parentNode,r=t&&t._pending&&t._pending[e.key];r&&r.tag===e.tag&&r.elm._leaveCb&&r.elm._leaveCb(),L&&L(n,R)})),O&&O(n),N&&(Ya(n,E),Ya(n,D),za((function(){Na(n,E),R.cancelled||(Ya(n,T),j||(Ha(Y)?setTimeout(R,Y):ja(n,s,R)))}))),e.data.show&&(t&&t(),L&&L(n,R)),N||j||R()}}}function qa(e,t){var n=e.elm;i(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var a=xa(e.data.transition);if(r(a)||1!==n.nodeType)return t();if(!i(n._leaveCb)){var o=a.css,s=a.type,l=a.leaveClass,u=a.leaveToClass,d=a.leaveActiveClass,h=a.beforeLeave,f=a.leave,p=a.afterLeave,b=a.leaveCancelled,g=a.delayLeave,v=a.duration,_=!1!==o&&!te,y=Wa(f),A=m(c(v)?v.leave:v);0;var k=n._leaveCb=F((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),_&&(Na(n,u),Na(n,d)),k.cancelled?(_&&Na(n,l),b&&b(n)):(t(),p&&p(n)),n._leaveCb=null}));g?g(w):w()}function w(){k.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),h&&h(n),_&&(Ya(n,l),Ya(n,d),za((function(){Na(n,l),k.cancelled||(Ya(n,u),y||(Ha(A)?setTimeout(k,A):ja(n,s,k)))}))),f&&f(n,k),_||y||k())}}function Ha(e){return"number"===typeof e&&!isNaN(e)}function Wa(e){if(r(e))return!1;var t=e.fns;return i(t)?Wa(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function Ua(e,t){!0!==t.data.show&&Ia(t)}var Va=Z?{create:Ua,activate:Ua,remove:function(e,t){!0!==e.data.show?qa(e,t):t()}}:{},Ga=[Hi,Vi,ra,ca,ya,Va],Ka=Ga.concat(Bi),Za=Li({nodeOps:xi,modules:Ka});te&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&io(e,"input")}));var Xa={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?kt(n,"postpatch",(function(){Xa.componentUpdated(e,t,n)})):Ja(e,t,n.context),e._vOptions=[].map.call(e.options,to)):("textarea"===n.tag||ui(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",no),e.addEventListener("compositionend",ro),e.addEventListener("change",ro),te&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Ja(e,t,n.context);var r=e._vOptions,i=e._vOptions=[].map.call(e.options,to);if(i.some((function(e,t){return!N(e,r[t])}))){var a=e.multiple?t.value.some((function(e){return eo(e,i)})):t.value!==t.oldValue&&eo(t.value,i);a&&io(e,"change")}}}};function Ja(e,t,n){Qa(e,t,n),(ee||ne)&&setTimeout((function(){Qa(e,t,n)}),0)}function Qa(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var a,o,s=0,c=e.options.length;s<c;s++)if(o=e.options[s],i)a=j(r,to(o))>-1,o.selected!==a&&(o.selected=a);else if(N(to(o),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function eo(e,t){return t.every((function(t){return!N(t,e)}))}function to(e){return"_value"in e?e._value:e.value}function no(e){e.target.composing=!0}function ro(e){e.target.composing&&(e.target.composing=!1,io(e.target,"input"))}function io(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function ao(e){return!e.componentInstance||e.data&&e.data.transition?e:ao(e.componentInstance._vnode)}var oo={bind:function(e,t,n){var r=t.value;n=ao(n);var i=n.data&&n.data.transition,a=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,Ia(n,(function(){e.style.display=a}))):e.style.display=r?a:"none"},update:function(e,t,n){var r=t.value,i=t.oldValue;if(!r!==!i){n=ao(n);var a=n.data&&n.data.transition;a?(n.data.show=!0,r?Ia(n,(function(){e.style.display=e.__vOriginalDisplay})):qa(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none"}},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}},so={model:Xa,show:oo},co={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function lo(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?lo(xn(t.children)):e}function uo(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var a in i)t[w(a)]=i[a];return t}function ho(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function fo(e){while(e=e.parent)if(e.data.transition)return!0}function po(e,t){return t.key===e.key&&t.tag===e.tag}var mo=function(e){return e.tag||zt(e)},bo=function(e){return"show"===e.name},go={name:"transition",props:co,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(mo),n.length)){0;var r=this.mode;0;var i=n[0];if(fo(this.$vnode))return i;var a=lo(i);if(!a)return i;if(this._leaving)return ho(e,i);var o="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?o+"comment":o+a.tag:s(a.key)?0===String(a.key).indexOf(o)?a.key:o+a.key:a.key;var c=(a.data||(a.data={})).transition=uo(this),l=this._vnode,u=lo(l);if(a.data.directives&&a.data.directives.some(bo)&&(a.data.show=!0),u&&u.data&&!po(a,u)&&!zt(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=O({},c);if("out-in"===r)return this._leaving=!0,kt(d,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),ho(e,i);if("in-out"===r){if(zt(a))return l;var h,f=function(){h()};kt(c,"afterEnter",f),kt(c,"enterCancelled",f),kt(d,"delayLeave",(function(e){h=e}))}}return i}}},vo=O({tag:String,moveClass:String},co);delete vo.mode;var _o={props:vo,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=Ln(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],a=this.children=[],o=uo(this),s=0;s<i.length;s++){var c=i[s];if(c.tag)if(null!=c.key&&0!==String(c.key).indexOf("__vlist"))a.push(c),n[c.key]=c,(c.data||(c.data={})).transition=o;else;}if(r){for(var l=[],u=[],d=0;d<r.length;d++){var h=r[d];h.data.transition=o,h.data.pos=h.elm.getBoundingClientRect(),n[h.key]?l.push(h):u.push(h)}this.kept=e(t,null,l),this.removed=u}return e(t,null,a)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(yo),e.forEach(Ao),e.forEach(ko),this._reflow=document.body.offsetHeight,e.forEach((function(e){if(e.data.moved){var n=e.elm,r=n.style;Ya(n,t),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Ta,n._moveCb=function e(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Ta,e),n._moveCb=null,Na(n,t))})}})))},methods:{hasMove:function(e,t){if(!Ca)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach((function(e){wa(n,e)})),ka(n,t),n.style.display="none",this.$el.appendChild(n);var r=Ra(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function yo(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Ao(e){e.data.newPos=e.elm.getBoundingClientRect()}function ko(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var a=e.elm.style;a.transform=a.WebkitTransform="translate("+r+"px,"+i+"px)",a.transitionDuration="0s"}}var wo={Transition:go,TransitionGroup:_o};xr.config.mustUseProp=$r,xr.config.isReservedTag=oi,xr.config.isReservedAttr=Rr,xr.config.getTagNamespace=si,xr.config.isUnknownElement=li,O(xr.options.directives,so),O(xr.options.components,wo),xr.prototype.__patch__=Z?Za:P,xr.prototype.$mount=function(e,t){return e=e&&Z?di(e):void 0,Yn(this,e,t)},Z&&setTimeout((function(){I.devtools&&le&&le.emit("init",xr)}),0),t["a"]=xr}).call(this,n("c8ba"))},"2e39":function(e,t,n){"use strict";function r(e,t){var n=t.length,r=e.length;if(r>n)return!1;if(r===n)return e===t;e:for(var i=0,a=0;i<r;i++){var o=e.charCodeAt(i);while(a<n)if(t.charCodeAt(a++)===o)continue e;return!1}return!0}e.exports=r},"2fdf":function(e,t,n){var r=n("4a23");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("35d6").default;e.exports.__inject__=function(e){i("02eb54ae",r,e)}},3408:function(e,t,n){"use strict";e.exports=function(e){var t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},"35d6":function(e,t,n){"use strict";function r(e,t){for(var n=[],r={},i=0;i<t.length;i++){var a=t[i],o=a[0],s=a[1],c=a[2],l=a[3],u={id:e+":"+i,css:s,media:c,sourceMap:l};r[o]?r[o].parts.push(u):n.push(r[o]={id:o,parts:[u]})}return n}function i(e,t,n){var i=r(e,t);a(i,n)}function a(e,t){const n=t._injectedStyles||(t._injectedStyles={});for(var r=0;r<e.length;r++){var i=e[r],a=n[i.id];if(!a){for(var o=0;o<i.parts.length;o++)s(i.parts[o],t);n[i.id]=!0}}}function o(e){var t=document.createElement("style");return t.type="text/css",e.appendChild(t),t}function s(e,t){var n=o(t),r=e.css,i=e.media,a=e.sourceMap;if(i&&n.setAttribute("media",i),a&&(r+="\n/*# sourceURL="+a.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),n.styleSheet)n.styleSheet.cssText=r;else{while(n.firstChild)n.removeChild(n.firstChild);n.appendChild(document.createTextNode(r))}}n.r(t),n.d(t,"default",(function(){return i}))},"3c0d":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={format:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),standalone:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_")},n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),r=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],i=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function a(e){return e>1&&e<5&&1!==~~(e/10)}function o(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"pár sekund":"pár sekundami";case"ss":return t||r?i+(a(e)?"sekundy":"sekund"):i+"sekundami";case"m":return t?"minuta":r?"minutu":"minutou";case"mm":return t||r?i+(a(e)?"minuty":"minut"):i+"minutami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?i+(a(e)?"hodiny":"hodin"):i+"hodinami";case"d":return t||r?"den":"dnem";case"dd":return t||r?i+(a(e)?"dny":"dní"):i+"dny";case"M":return t||r?"měsíc":"měsícem";case"MM":return t||r?i+(a(e)?"měsíce":"měsíců"):i+"měsíci";case"y":return t||r?"rok":"rokem";case"yy":return t||r?i+(a(e)?"roky":"let"):i+"lety"}}var s=e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s}))},"410c":function(e,t,n){var r={"./ar":"8e73","./ar.js":"8e73","./cs":"3c0d","./cs.js":"3c0d","./de":"b469","./de.js":"b469","./el":"8d47","./el.js":"8d47","./en-ie":"e1d3","./en-ie.js":"e1d3","./es":"898b","./es.js":"898b","./fr":"9f26","./fr.js":"9f26","./it":"6e98","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./pt-br":"d2d4","./pt-br.js":"d2d4","./zh-tw":"90ea","./zh-tw.js":"90ea"};function i(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=a,e.exports=i,i.id="410c"},4236:function(e,t,n){"use strict";var r=n("0068").isSpace;e.exports=function(e,t){var n,i,a,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;if(n=e.pending.length-1,i=e.posMax,!t)if(n>=0&&32===e.pending.charCodeAt(n))if(n>=1&&32===e.pending.charCodeAt(n-1)){a=n-1;while(a>=1&&32===e.pending.charCodeAt(a-1))a--;e.pending=e.pending.slice(0,a),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);o++;while(o<i&&r(e.src.charCodeAt(o)))o++;return e.pos=o,!0}},"428d":function(e,t,n){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},"43e0":function(e,t,n){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}},"44a8":function(e,t,n){"use strict";e.exports=function(e,t){var n,r,i,a,o,s,c=t+1,l=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(s=e.parentType,e.parentType="paragraph";c<u&&!e.isEmpty(c);c++)if(!(e.sCount[c]-e.blkIndent>3)&&!(e.sCount[c]<0)){for(r=!1,i=0,a=l.length;i<a;i++)if(l[i](e,c,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,c,e.blkIndent,!1).trim(),e.line=c,o=e.push("paragraph_open","p",1),o.map=[t,e.line],o=e.push("inline","",0),o.content=n,o.map=[t,e.line],o.children=[],o=e.push("paragraph_close","p",-1),e.parentType=s,!0}},"472d":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"dropdown",staticClass:"bunt-popover-inner",attrs:{role:"dialog",tabindex:"-1"},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.closeDropdown.apply(null,arguments)}}},[e._t("default")],2)},i=[],a=n("5c8f"),o=n.n(a);const s=o.a.createContext({classPrefix:"bunt-drop"});var c=s,l={name:"bunt-popover",props:{target:{type:String},dropdownPosition:{type:String,default:"bottom middle"},openOn:{type:String,default:"click"}},mounted(){if(this.target){const e=this.$parent.$refs[this.target];e.$el?this._target=e.$el:this._target=e,this.drop=new c({target:this._target,content:this.$refs.dropdown,position:this.dropdownPosition,constrainToWindow:!0,openOn:this.openOn}),"bottom left"!==this.dropdownPosition&&(this.drop.open(),this.drop.close(),this.drop.open(),this.drop.close())}},beforeDestroy(){this.drop&&(this.drop.remove(),this.drop.destroy())},methods:{openDropdown(){this.drop&&this.drop.open()},closeDropdown(){this.drop&&this.drop.close()},toggleDropdown(e){this.drop&&this.drop.toggle(e)},positionDrop(){const e=this.drop,t=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;let n=e.drop.getBoundingClientRect().width,r=e.target.getBoundingClientRect().left,i=t-r;if(n>i){let t=n>i?"right":"left";e.tether.attachment.left=t,e.tether.targetAttachment.left=t,e.position()}},dropdownOpened(){this.lastFocussedElement=document.activeElement,this.$refs.dropdown.focus(),this.$emit("opened")},dropdownClosed(){this.lastFocussedElement&&this.lastFocussedElement.focus(),this.$emit("closed")}}},u=l,d=n("2877"),h=Object(d["a"])(u,r,i,!1,null,null,null,!0);t["default"]=h.exports},4883:function(e,t,n){"use strict";function r(){this.__rules__=[],this.__cache__=null}r.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},r.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},r.prototype.at=function(e,t,n){var r=this.__find__(e),i=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null},r.prototype.before=function(e,t,n,r){var i=this.__find__(e),a=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},r.prototype.after=function(e,t,n,r){var i=this.__find__(e),a=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},r.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},r.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},r.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},r.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},r.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=r},"4a23":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,'.c-grid-schedule{flex:auto;background-color:#fafafa}.c-grid-schedule .grid{display:grid;grid-template-columns:78px repeat(var(--total-rooms),1fr) auto;position:relative;min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content}.c-grid-schedule .grid>.room{position:sticky;top:calc(var(--pretalx-sticky-date-offset) + var(--pretalx-sticky-top-offset, 0px));display:flex;justify-content:center;align-items:center;font-size:18px;background-color:#fff;border-bottom:1px solid rgba(0,0,0,.12);z-index:20}.c-grid-schedule .grid>.room .room-description{border:2px solid #bdbdbd;border-radius:100%;height:20px;width:20px;padding:0;font-weight:700;min-width:0;color:#9e9e9e;background-color:#fff;margin-left:8px}.c-grid-schedule .grid>.room .room-description:hover{background-color:#d9d9d9}.c-grid-schedule .grid>.room .room-description.autofocus:focus,body[modality=keyboard] .c-grid-schedule .grid>.room .room-description:focus{background-color:#d9d9d9;outline-color:#bfbfbf;outline-width:2px;outline-offset:2px}.c-grid-schedule .grid>.room .room-description .bunt-ripple-ink .ripple.held{opacity:.7}.c-grid-schedule .grid>.room .room-description.error{background-color:#f44336}.c-grid-schedule .grid>.room .room-description.error:hover{background-color:#f01d0d}.c-grid-schedule .grid>.room .room-description.error.autofocus:focus,body[modality=keyboard] .c-grid-schedule .grid>.room .room-description.error:focus{background-color:#f01d0d;outline-color:#d4190c}.c-grid-schedule .grid>.room .room-description.success{background-color:#4caf50}.c-grid-schedule .grid>.room .room-description.success:hover{background-color:#419544}.c-grid-schedule .grid>.room .room-description.success.autofocus:focus,body[modality=keyboard] .c-grid-schedule .grid>.room .room-description.success:focus{background-color:#419544;outline-color:#39833c}.c-grid-schedule .grid>.room .room-description .bunt-progress-circular svg circle{stroke:#9e9e9e}.c-grid-schedule .grid>.room .room-description .bunt-tooltip{height:auto;width:200px;white-space:normal}.c-grid-schedule .grid .break .time-box{background-color:#9e9e9e}.c-grid-schedule .grid .break .time-box .start{color:#fff}.c-grid-schedule .grid .break .time-box .duration{color:hsla(0,0%,100%,.7)}.c-grid-schedule .grid .break .info{background-color:#eee;border:none;justify-content:center;align-items:center}.c-grid-schedule .grid .break .info .title{font-size:20px;font-weight:500;color:rgba(0,0,0,.54);align:center}.c-grid-schedule .timeslice{color:rgba(0,0,0,.54);padding:8px 10px 0 16px;white-space:nowrap;position:sticky;left:0;text-align:center;background-color:#fafafa;border-top:1px solid rgba(0,0,0,.12);z-index:20}.c-grid-schedule .timeslice.datebreak{font-weight:600;border-top:3px solid rgba(0,0,0,.12);white-space:pre}.c-grid-schedule .timeslice.gap:before{content:"";display:block;width:6px;height:calc(100% - 42px);position:absolute;top:30px;left:50%;background-image:radial-gradient(circle closest-side,#9e9e9e calc(100% - .5px),transparent 100%);background-position:0 0;background-size:5px 15px;background-repeat:repeat-y}.c-grid-schedule .timeline{height:1px;background-color:rgba(0,0,0,.12);position:absolute;width:100%}.c-grid-schedule .timeline.datebreak{height:3px}.c-grid-schedule .now{z-index:20;position:sticky;left:2px}.c-grid-schedule .now:before{content:"";display:block;height:2px;background-color:#f44336;position:absolute;top:calc(var(--offset)*100%);width:100%}.c-grid-schedule .now.on-daybreak:before{background:repeating-linear-gradient(90deg,transparent,transparent 5px,#f44336 0,#f44336 10px)}.c-grid-schedule .now svg{position:absolute;top:calc(var(--offset)*100% - 11px);height:24px;width:24px;fill:#f44336}.c-grid-schedule .bunt-scrollbar-rail-wrapper-x,.c-grid-schedule .bunt-scrollbar-rail-wrapper-y{z-index:30}',""]),e.exports=t},"4a94":function(e,t,n){"use strict";e.exports=function(e,t){var n,r,i,a,o,s,c,l,u=e.pos,d=e.src.charCodeAt(u);if(96!==d)return!1;n=u,u++,r=e.posMax;while(u<r&&96===e.src.charCodeAt(u))u++;if(i=e.src.slice(n,u),c=i.length,e.backticksScanned&&(e.backticks[c]||0)<=n)return t||(e.pending+=i),e.pos+=c,!0;o=s=u;while(-1!==(o=e.src.indexOf("`",s))){s=o+1;while(s<r&&96===e.src.charCodeAt(s))s++;if(l=s-o,l===c)return t||(a=e.push("code_inline","code",0),a.markup=i,a.content=e.src.slice(u,o).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=s,!0;e.backticks[l]=o}return e.backticksScanned=!0,t||(e.pending+=i),e.pos+=c,!0}},"4b3e":function(e,t,n){"use strict";var r=n("0068").isSpace;function i(e,t){var n,i,a,o;return i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],n=e.src.charCodeAt(i++),42!==n&&45!==n&&43!==n||i<a&&(o=e.src.charCodeAt(i),!r(o))?-1:i}function a(e,t){var n,i=e.bMarks[t]+e.tShift[t],a=i,o=e.eMarks[t];if(a+1>=o)return-1;if(n=e.src.charCodeAt(a++),n<48||n>57)return-1;for(;;){if(a>=o)return-1;if(n=e.src.charCodeAt(a++),!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(a-i>=10)return-1}return a<o&&(n=e.src.charCodeAt(a),!r(n))?-1:a}function o(e,t){var n,r,i=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===i&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}e.exports=function(e,t,n,r){var s,c,l,u,d,h,f,p,m,b,g,v,_,y,A,k,w,x,M,C,S,E,D,T,O,L,P,z,Y=!1,N=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]<e.blkIndent)return!1;if(r&&"paragraph"===e.parentType&&e.sCount[t]>=e.blkIndent&&(Y=!0),(D=a(e,t))>=0){if(f=!0,O=e.bMarks[t]+e.tShift[t],_=Number(e.src.slice(O,D-1)),Y&&1!==_)return!1}else{if(!((D=i(e,t))>=0))return!1;f=!1}if(Y&&e.skipSpaces(D)>=e.eMarks[t])return!1;if(v=e.src.charCodeAt(D-1),r)return!0;g=e.tokens.length,f?(z=e.push("ordered_list_open","ol",1),1!==_&&(z.attrs=[["start",_]])):z=e.push("bullet_list_open","ul",1),z.map=b=[t,0],z.markup=String.fromCharCode(v),A=t,T=!1,P=e.md.block.ruler.getRules("list"),x=e.parentType,e.parentType="list";while(A<n){E=D,y=e.eMarks[A],h=k=e.sCount[A]+D-(e.bMarks[t]+e.tShift[t]);while(E<y){if(s=e.src.charCodeAt(E),9===s)k+=4-(k+e.bsCount[A])%4;else{if(32!==s)break;k++}E++}if(c=E,d=c>=y?1:k-h,d>4&&(d=1),u=h+d,z=e.push("list_item_open","li",1),z.markup=String.fromCharCode(v),z.map=p=[t,0],f&&(z.info=e.src.slice(O,D-1)),S=e.tight,C=e.tShift[t],M=e.sCount[t],w=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=u,e.tight=!0,e.tShift[t]=c-e.bMarks[t],e.sCount[t]=k,c>=y&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!T||(N=!1),T=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=w,e.tShift[t]=C,e.sCount[t]=M,e.tight=S,z=e.push("list_item_close","li",-1),z.markup=String.fromCharCode(v),A=t=e.line,p[1]=A,c=e.bMarks[t],A>=n)break;if(e.sCount[A]<e.blkIndent)break;if(e.sCount[t]-e.blkIndent>=4)break;for(L=!1,l=0,m=P.length;l<m;l++)if(P[l](e,A,n,!0)){L=!0;break}if(L)break;if(f){if(D=a(e,A),D<0)break;O=e.bMarks[A]+e.tShift[A]}else if(D=i(e,A),D<0)break;if(v!==e.src.charCodeAt(D-1))break}return z=f?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1),z.markup=String.fromCharCode(v),b[1]=A,e.line=A,e.parentType=x,N&&o(e,g),!0}},"4c26":function(e,t,n){"use strict";var r=/\r\n?|\n/g,i=/\0/g;e.exports=function(e){var t;t=e.src.replace(r,"\n"),t=t.replace(i,"�"),e.src=t}},"4cb4":function(e,t,n){"use strict";var r=n("4883"),i=[["text",n("baca")],["newline",n("4236")],["escape",n("6e00")],["backticks",n("4a94")],["strikethrough",n("922c").tokenize],["emphasis",n("c8a9").tokenize],["link",n("cd0f")],["image",n("932d")],["autolink",n("28ec")],["html_inline",n("c2d8")],["entity",n("5b54")]],a=[["balance_pairs",n("838d")],["strikethrough",n("922c").postProcess],["emphasis",n("c8a9").postProcess],["text_collapse",n("2085")]];function o(){var e;for(this.ruler=new r,e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1]);for(this.ruler2=new r,e=0;e<a.length;e++)this.ruler2.push(a[e][0],a[e][1])}o.prototype.skipToken=function(e){var t,n,r=e.pos,i=this.ruler.getRules(""),a=i.length,o=e.md.options.maxNesting,s=e.cache;if("undefined"===typeof s[r]){if(e.level<o){for(n=0;n<a;n++)if(e.level++,t=i[n](e,!0),e.level--,t)break}else e.pos=e.posMax;t||e.pos++,s[r]=e.pos}else e.pos=s[r]},o.prototype.tokenize=function(e){var t,n,r=this.ruler.getRules(""),i=r.length,a=e.posMax,o=e.md.options.maxNesting;while(e.pos<a){if(e.level<o)for(n=0;n<i;n++)if(t=r[n](e,!1),t)break;if(t){if(e.pos>=a)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},o.prototype.parse=function(e,t,n,r){var i,a,o,s=new this.State(e,t,n,r);for(this.tokenize(s),a=this.ruler2.getRules(""),o=a.length,i=0;i<o;i++)a[i](s)},o.prototype.State=n("097b"),e.exports=o},"4fc2":function(e,t){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},"565b":function(e,t,n){"use strict";t.parseLinkLabel=n("df56"),t.parseLinkDestination=n("e4ca"),t.parseLinkTitle=n("7d91")},5706:function(e,t,n){"use strict";var r="[a-zA-Z_:][a-zA-Z0-9:._-]*",i="[^\"'=<>`\\x00-\\x20]+",a="'[^']*'",o='"[^"]*"',s="(?:"+i+"|"+a+"|"+o+")",c="(?:\\s+"+r+"(?:\\s*=\\s*"+s+")?)",l="<[A-Za-z][A-Za-z0-9\\-]*"+c+"*\\s*\\/?>",u="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",d="\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e",h="<[?][\\s\\S]*?[?]>",f="<![A-Z]+\\s+[^>]*>",p="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",m=new RegExp("^(?:"+l+"|"+u+"|"+d+"|"+h+"|"+f+"|"+p+")"),b=new RegExp("^(?:"+l+"|"+u+")");e.exports.HTML_TAG_RE=m,e.exports.HTML_OPEN_CLOSE_TAG_RE=b},"5a74":function(e,t,n){"use strict";if(n.r(t),"undefined"!==typeof window){var r=window.document.currentScript;if(Object({NODE_ENV:"production",BASE_URL:"/"}).NEED_CURRENTSCRIPT_POLYFILL){var i=n("8875");r=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i})}var a=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);a&&(n.p=a[1])}var o=n("2b0e");const s=/-(\w)/g,c=e=>e.replace(s,(e,t)=>t?t.toUpperCase():""),l=/\B([A-Z])/g,u=e=>e.replace(l,"-$1").toLowerCase();function d(e){const t={};return e.forEach(e=>{t[e]=void 0}),t}function h(e,t,n){e[t]=[].concat(e[t]||[]),e[t].unshift(n)}function f(e,t){if(e){const n=e.$options[t]||[];n.forEach(t=>{t.call(e)})}}function p(e,t){return new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:t})}const m=e=>/function Boolean/.test(String(e)),b=e=>/function Number/.test(String(e));function g(e,t,{type:n}={}){if(m(n))return"true"===e||"false"===e?"true"===e:""===e||e===t||null!=e||e;if(b(n)){const t=parseFloat(e,10);return isNaN(t)?e:t}return e}function v(e,t){const n=[];for(let r=0,i=t.length;r<i;r++)n.push(_(e,t[r]));return n}function _(e,t){if(3===t.nodeType)return t.data.trim()?t.data:null;if(1===t.nodeType){const n={attrs:y(t),domProps:{innerHTML:t.innerHTML}};return n.attrs.slot&&(n.slot=n.attrs.slot,delete n.attrs.slot),e(t.tagName,n)}return null}function y(e){const t={};for(let n=0,r=e.attributes.length;n<r;n++){const r=e.attributes[n];t[r.nodeName]=r.nodeValue}return t}function A(e,t){const n="function"===typeof t&&!t.cid;let r,i,a,o=!1;function s(e){if(o)return;const t="function"===typeof e?e.options:e,n=Array.isArray(t.props)?t.props:Object.keys(t.props||{});r=n.map(u),i=n.map(c);const s=Array.isArray(t.props)?{}:t.props||{};a=i.reduce((e,t,r)=>(e[t]=s[n[r]],e),{}),h(t,"beforeCreate",(function(){const e=this.$emit;this.$emit=(t,...n)=>(this.$root.$options.customElement.dispatchEvent(p(t,n)),e.call(this,t,...n))})),h(t,"created",(function(){i.forEach(e=>{this.$root.props[e]=this[e]})})),i.forEach(e=>{Object.defineProperty(m.prototype,e,{get(){return this._wrapper.props[e]},set(t){this._wrapper.props[e]=t},enumerable:!1,configurable:!0})}),o=!0}function l(e,t){const n=c(t),r=e.hasAttribute(t)?e.getAttribute(t):void 0;e._wrapper.props[n]=g(r,t,a[n])}class m extends HTMLElement{constructor(){const n=super();n.attachShadow({mode:"open"});const r=n._wrapper=new e({name:"shadow-root",customElement:n,shadowRoot:n.shadowRoot,data(){return{props:{},slotChildren:[]}},render(e){return e(t,{ref:"inner",props:this.props},this.slotChildren)}}),i=new MutationObserver(e=>{let t=!1;for(let r=0;r<e.length;r++){const i=e[r];o&&"attributes"===i.type&&i.target===n?l(n,i.attributeName):t=!0}t&&(r.slotChildren=Object.freeze(v(r.$createElement,n.childNodes)))});i.observe(n,{childList:!0,subtree:!0,characterData:!0,attributes:!0})}get vueComponent(){return this._wrapper.$refs.inner}connectedCallback(){const e=this._wrapper;if(e._isMounted)f(this.vueComponent,"activated");else{const n=()=>{e.props=d(i),r.forEach(e=>{l(this,e)})};o?n():t().then(e=>{(e.__esModule||"Module"===e[Symbol.toStringTag])&&(e=e.default),s(e),n()}),e.slotChildren=Object.freeze(v(e.$createElement,this.childNodes)),e.$mount(),this.shadowRoot.appendChild(e.$el)}}disconnectedCallback(){f(this.vueComponent,"deactivated")}}return n||s(t),m}var k=A,w=(n("24fb"),n("35d6"),n("2877")),x=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"pretalx-schedule",class:e.showGrid?["grid-schedule"]:["list-schedule"],style:{"--scrollparent-width":e.scrollParentWidth+"px","--schedule-max-width":e.scheduleMaxWidth+"px","--pretalx-sticky-date-offset":e.days&&e.days.length>1?"48px":"0px"}},[e.schedule&&e.sessions?[e.showFilterModal?n("div",{staticClass:"modal-overlay",on:{click:function(t){t.stopPropagation(),e.showFilterModal=!1}}},[n("div",{staticClass:"modal-box",on:{click:function(e){e.stopPropagation()}}},[n("h3",[e._v("Tracks")]),e._l(e.allTracks,(function(t){return n("div",{key:t.value,staticClass:"checkbox-line",style:{"--track-color":t.color}},[n("bunt-checkbox",{attrs:{type:"checkbox",label:t.label,name:t.value+t.label,value:t.value},on:{input:function(t){e.onlyFavs=!1}},model:{value:t.selected,callback:function(n){e.$set(t,"selected",n)},expression:"track.selected"}}),e.getLocalizedString(t.description).length?n("div",{staticClass:"track-description"},[e._v(e._s(e.getLocalizedString(t.description)))]):e._e()],1)}))],2)]):e._e(),n("div",{staticClass:"settings"},[this.schedule.tracks.length?n("bunt-button",{staticClass:"filter-tracks",on:{click:function(t){e.showFilterModal=!0}}},[n("svg",{attrs:{id:"filter",viewBox:"0 0 752 752"}},[n("path",{attrs:{d:"m401.57 264.71h-174.75c-6.6289 0-11.84 5.2109-11.84 11.84 0 6.6289 5.2109 11.84 11.84 11.84h174.75c5.2109 17.523 21.312 30.309 40.727 30.309 18.941 0 35.52-12.785 40.254-30.309h43.098c6.6289 0 11.84-5.2109 11.84-11.84 0-6.6289-5.2109-11.84-11.84-11.84h-43.098c-5.2109-17.523-21.312-30.309-40.254-30.309-19.414 0-35.516 12.785-40.727 30.309zm58.723 11.84c0 10.418-8.5234 18.469-18.469 18.469s-18.469-8.0508-18.469-18.469 8.5234-18.469 18.469-18.469c9.4727-0.003906 18.469 8.0469 18.469 18.469z"}}),n("path",{attrs:{d:"m259.5 359.43h-32.676c-6.6289 0-11.84 5.2109-11.84 11.84s5.2109 11.84 11.84 11.84h32.676c5.2109 17.523 21.312 30.309 40.727 30.309 18.941 0 35.52-12.785 40.254-30.309h185.17c6.6289 0 11.84-5.2109 11.84-11.84s-5.2109-11.84-11.84-11.84h-185.17c-5.2109-17.523-21.312-30.309-40.254-30.309-19.418 0-35.52 12.785-40.73 30.309zm58.723 11.84c0 10.418-8.5234 18.469-18.469 18.469-9.9453 0-18.469-8.0508-18.469-18.469s8.5234-18.469 18.469-18.469c9.9453 0 18.469 8.0508 18.469 18.469z"}}),n("path",{attrs:{d:"m344.75 463.61h-117.92c-6.6289 0-11.84 5.2109-11.84 11.84s5.2109 11.84 11.84 11.84h117.92c5.2109 17.523 21.312 30.309 40.727 30.309 18.941 0 35.52-12.785 40.254-30.309h99.926c6.6289 0 11.84-5.2109 11.84-11.84s-5.2109-11.84-11.84-11.84h-99.926c-5.2109-17.523-21.312-30.309-40.254-30.309-19.418 0-35.52 12.785-40.727 30.309zm58.723 11.84c0 10.418-8.5234 18.469-18.469 18.469s-18.469-8.0508-18.469-18.469 8.5234-18.469 18.469-18.469 18.469 8.0508 18.469 18.469z"}})]),[e._v("Filter")],e.filteredTracks.length?[e._v("("+e._s(e.filteredTracks.length)+")")]:e._e()],2):e._e(),e.favs.length?n("bunt-button",{staticClass:"fav-toggle",class:e.onlyFavs?["active"]:[],on:{click:function(t){e.onlyFavs=!e.onlyFavs,e.onlyFavs&&e.resetFilteredTracks()}}},[n("svg",{attrs:{id:"star",viewBox:"0 0 24 24"}},[n("polygon",{style:{fill:"#FFA000",stroke:"#FFA000"},attrs:{points:"14.43,10 12,2 9.57,10 2,10 8.18,14.41 5.83,22 12,17.31 18.18,22 15.83,14.41 22,10"}})]),[e._v(e._s(e.favs.length))]],2):e._e(),e.inEventTimezone?[n("div",{staticClass:"timezone-label bunt-tab-header-item"},[e._v(e._s(e.schedule.timezone))])]:[n("bunt-select",{attrs:{name:"timezone",options:[{id:e.schedule.timezone,label:e.schedule.timezone},{id:e.userTimezone,label:e.userTimezone}]},on:{blur:e.saveTimezone},model:{value:e.currentTimezone,callback:function(t){e.currentTimezone=t},expression:"currentTimezone"}})]],2),e.days&&e.days.length>1?n("bunt-tabs",{ref:"tabs",staticClass:"days",class:e.showGrid?["grid-tabs"]:["list-tabs"],attrs:{"active-tab":e.currentDay&&e.currentDay.format()}},e._l(e.days,(function(t){return n("bunt-tab",{attrs:{id:t.format(),header:t.format(e.dateFormat)},on:{selected:function(n){return e.changeDay(t)}}})})),1):e._e(),e.showGrid?n("grid-schedule",{attrs:{sessions:e.sessions,rooms:e.rooms,currentDay:e.currentDay,now:e.now,scrollParent:e.scrollParent,favs:e.favs},on:{changeDay:function(t){e.currentDay=t},fav:function(t){return e.fav(t)},unfav:function(t){return e.unfav(t)}}}):n("linear-schedule",{attrs:{sessions:e.sessions,currentDay:e.currentDay,now:e.now,scrollParent:e.scrollParent,favs:e.favs},on:{changeDay:function(t){e.currentDay=t},fav:function(t){return e.fav(t)},unfav:function(t){return e.unfav(t)}}})]:n("bunt-progress-circular",{attrs:{size:"huge",page:!0}})],2)},M=[],C=n("6dd8");class S{constructor(e,t){if(this.options=t,this.onScroll=this.onScroll.bind(this),this.onDocumentMousemove=this.onDocumentMousemove.bind(this),this.onDocumentMouseup=this.onDocumentMouseup.bind(this),this.onThumbMousedownX=this.onThumbMousedown.bind(this,"x"),this.onThumbMousedownY=this.onThumbMousedown.bind(this,"y"),this.onResize=this.onResize.bind(this),this.el=e,this.railsParent=t.railsParent||this.el,this.refreshStyling(),t.scrollX&&this.createRail("x"),t.scrollY&&this.createRail("y"),t.manualCompute||(this.computeDimensions(),this.computeThumbPositions(),this.update()),this.el.addEventListener("scroll",this.onScroll),!t.manualUpdate){this.resizeObserver=new C["a"](this.onResize),this.resizeObserver.observe(this.el);for(const e of this.el.children)this.resizeObserver.observe(e);this.mutationObserver=new MutationObserver(e=>{for(const t of e){for(const e of t.addedNodes)e.nodeType===Node.ELEMENT_NODE&&this.resizeObserver.observe(e);for(const e of t.removedNodes)e.nodeType===Node.ELEMENT_NODE&&this.resizeObserver.unobserve(e)}this.onResize()}),this.mutationObserver.observe(this.el,{childList:!0})}}createRail(e){const t=document.createElement("div");t.classList.add("bunt-scrollbar-rail-wrapper-"+e);const n=document.createElement("div");n.classList.add("bunt-scrollbar-rail-"+e);const r=document.createElement("div");r.classList.add("bunt-scrollbar-thumb"),t.appendChild(n),n.appendChild(r),this.railsParent.appendChild(t),r.addEventListener("mousedown",this["onThumbMousedown"+e.toUpperCase()]),this[e]={railEl:n,thumbEl:r}}destroy(){var e,t,n,r;null===(e=this.resizeObserver)||void 0===e||e.disconnect(),null===(t=this.mutationObserver)||void 0===t||t.disconnect(),document.removeEventListener("mousemove",this.onDocumentMousemove),document.removeEventListener("mouseup",this.onDocumentMouseup,{capture:!0}),this.el.removeEventListener("scroll",this.onScroll),null===(n=this.x)||void 0===n||n.thumbEl.removeEventListener("mousedown",this.onThumbMousedownX),null===(r=this.y)||void 0===r||r.thumbEl.removeEventListener("mousedown",this.onThumbMousedownY)}refreshStyling(){this.el.classList.add("bunt-scrollbar")}update(){this.updateThumb("x"),this.updateThumb("y")}onScroll(e){this.options.onScroll&&this.options.onScroll(e),this.computeThumbPositions(),this.update()}onThumbMousedown(e,t){t.stopPropagation(),this.options._preventMousedown&&t.preventDefault(),this.dragging=e,this.draggingOffset=t["offset"+e.toUpperCase()],this.el.style.userSelect="none",document.body.style["-moz-user-select"]="none",this[e].railEl.classList.add("active"),document.addEventListener("mousemove",this.onDocumentMousemove),document.addEventListener("mouseup",this.onDocumentMouseup,{capture:!0})}onDocumentMousemove(e){if("x"===this.dragging){const t=this.el.clientWidth-this.x.thumbLength,n=e.clientX-this.el.getBoundingClientRect().left-this.draggingOffset;this.x.thumbPosition=Math.min(Math.max(0,n),t),this.el.scrollLeft=this.x.thumbPosition/t*(this.el.scrollWidth-this.el.clientWidth)}if("y"===this.dragging){const t=this.el.clientHeight-this.y.thumbLength,n=e.clientY-this.el.getBoundingClientRect().top-this.draggingOffset;this.y.thumbPosition=Math.min(Math.max(0,n),t),this.el.scrollTop=this.y.thumbPosition/t*(this.el.scrollHeight-this.el.clientHeight)}this.updateThumb(this.dragging)}onDocumentMouseup(e){this[this.dragging].railEl.classList.remove("active"),this.dragging=null,this.el.style.userSelect="",document.body.style["-moz-user-select"]="",document.removeEventListener("mousemove",this.onDocumentMousemove),document.removeEventListener("mouseup",this.onDocumentMouseup,{capture:!0})}onResize(e){this.computeDimensions(),this.computeThumbPositions(),this.update()}computeDimensions(){this.x&&(this.x.railLength=this.el.clientWidth,this.x.visibleRatio=this.el.clientWidth/this.el.scrollWidth,this.x.thumbLength=this.el.clientWidth*this.x.visibleRatio),this.y&&(this.y.railLength=this.el.clientHeight,this.y.visibleRatio=this.el.clientHeight/this.el.scrollHeight,this.y.thumbLength=this.el.clientHeight*this.y.visibleRatio)}computeThumbPositions(){this.x&&(this.x.thumbPosition=this.el.scrollLeft/(this.el.scrollWidth-this.el.clientWidth)*(this.el.clientWidth-this.x.thumbLength)),this.y&&(this.y.thumbPosition=this.el.scrollTop/(this.el.scrollHeight-this.el.clientHeight)*(this.el.clientHeight-this.y.thumbLength))}updateThumb(e){const t=this[e];t&&(t.visibleRatio>=1?t.thumbEl.style.display="none":(t.thumbEl.style.display=null,"x"===e?(t.railEl.style.width=t.railLength+"px",t.thumbEl.style.width=t.thumbLength+"px",t.thumbEl.style.left=t.thumbPosition+"px"):"y"===e&&(t.railEl.style.height=t.railLength+"px",t.thumbEl.style.height=t.thumbLength+"px",t.thumbEl.style.top=t.thumbPosition+"px")))}}var E=function(e){e.directive("scrollbar",{bind(e,t,n){var r;e.__buntpapier__scrollbar=new S(e,{scrollX:t.modifiers.x,scrollY:t.modifiers.y,_preventMousedown:null===(r=t.value)||void 0===r?void 0:r._preventMousedown})},inserted(e){e.__buntpapier__scrollbar&&(e.__buntpapier__scrollbar.refreshStyling(),e.__buntpapier__scrollbar.update())},componentUpdated(e,t,n,r){e.__buntpapier__scrollbar?(e.__buntpapier__scrollbar.refreshStyling(),e.__buntpapier__scrollbar.update()):e.__buntpapier__scrollbar=new S(e,{scrollX:t.modifiers.x,scrollY:t.modifiers.y})},unbind(e,t,n,r){e.__buntpapier__scrollbar&&e.__buntpapier__scrollbar.destroy()}})},D=n("f0bd");const T=32;var O=function(e){class t{constructor(e,t){this.el=e,this.options=t,this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.options.placement=t.placement||"auto",this.el.addEventListener("mouseenter",this.show),this.el.addEventListener("mouseleave",this.hide)}createTooltip(){this.tooltipEl||(this.tooltipEl=document.createElement("div"),this.tooltipEl.classList.add("bunt-tooltip"),this.tooltipEl.style.position=this.options.fixed?"fixed":"absolute",this.tooltipEl.textContent=this.text,this.el.appendChild(this.tooltipEl),this.popper=new D["a"](this.el,this.tooltipEl,{removeOnDestroy:!0,placement:this.options.placement,positionFixed:this.options.fixed,modifiers:{offset:{offset:"0, 8"},applyStyle:{enabled:!1},preventOverflow:{boundariesElement:this.options.boundariesElement||"scrollParent"},applyTooltipStyle:{enabled:!0,fn:e=>{this.positions=e.popper,this.tooltipEl.style.transform=`translate3d(${Math.round(this.positions.left)}px, ${Math.round(this.positions.top)}px, 0)`},order:900}}}))}update(t,n){this.text=t,this.forceDisplay=n,e.nextTick(()=>{n?this.show():this.hide()})}destroyTooltip(){this.popper&&(this.popper.destroy(),this.popper=null,this.tooltipEl=null)}destroy(){this.destroyTooltip(),this.el.removeEventListener("mouseenter",this.show),this.el.removeEventListener("mouseleave",this.hide)}show(){!this.displaying&&this.text&&(this.createTooltip(),this.displaying=!0,e.nextTick(()=>{if(this.animation)this.animation.reverse();else{let e;e=this.options.placement.startsWith("top")?{top:Math.round(this.positions.top)+T,left:Math.round(this.positions.left)}:this.options.placement.startsWith("left")?{top:Math.round(this.positions.top),left:Math.round(this.positions.left)+T}:this.options.placement.startsWith("right")?{top:Math.round(this.positions.top),left:Math.round(this.positions.left)-T}:{top:Math.round(this.positions.top)-T,left:Math.round(this.positions.left)},this.animation=this.tooltipEl.animate([{transform:`translate3d(${e.left}px, ${e.top}px, 0)`,opacity:0},{transform:`translate3d(${Math.round(this.positions.left)}px, ${Math.round(this.positions.top)}px, 0)`,opacity:1}],{duration:200,easing:"ease-in-out"}),this.animation.onfinish=()=>{this.animation&&this.animation.playbackRate<0&&(this.destroyTooltip(),this.animation=null)}}}))}hide(){this.displaying&&!this.forceDisplay&&(this.displaying=!1,this.animation&&this.animation.reverse(),this.text||this.destroyTooltip())}}e.directive("tooltip",{bind(e,n,r){let i;i="string"===typeof n.value?n.value:n.value.text,e.__buntpapier__tooltip=new t(e,{placement:n.value.placement||Object.keys(n.modifiers).find(e=>["auto","top","right","bottom","left"].find(t=>e.startsWith(t))),fixed:n.value.fixed||n.modifiers.fixed,boundariesElement:n.value.boundariesElement}),e.__buntpapier__tooltip.update(i,n.value.show)},update(e,t,n,r){if(!e.__buntpapier__tooltip||t.value===t.oldValue)return;let i;i="string"===typeof t.value?t.value:t.value.text,e.__buntpapier__tooltip.update(i,t.value.show)},unbind(e,t,n,r){e.__buntpapier__tooltip&&e.__buntpapier__tooltip.destroy()}})},L=function(e){e.directive("resizeObserver",{bind(e,t){const n=new C["a"](t.value);n.observe(e),e.__buntpapier__resize_observer=n},unbind(e,t,n,r){e.__buntpapier__resize_observer&&e.__buntpapier__resize_observer.disconnect()}}),E(e),O(e)},P=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.tooltipOptions||{text:e._tooltip,show:!!this.errorMessage,placement:e.tooltipPlacement,fixed:e.tooltipFixed},expression:"tooltipOptions || {text: _tooltip, show: !!this.errorMessage, placement: tooltipPlacement, fixed: tooltipFixed}"}],ref:"button",staticClass:"bunt-button",class:{disabled:e.disabled||e.loading||e.showSuccess,error:e.errorMessage||e.error,success:e.showSuccess},attrs:{type:e.type,"aria-disabled":e.disabled},on:{click:e.onClick}},[n("div",{staticClass:"bunt-button-content",class:{invisible:e.loading||e.errorMessage||e.error||e.showSuccess}},[e.icon?n("i",{staticClass:"bunt-icon mdi",class:[e.iconClass]}):e._e(),n("div",{staticClass:"bunt-button-text"},[e._t("default",(function(){return[n("span",{domProps:{textContent:e._s(e.text)}})]}))],2)]),n("progress-circular",{directives:[{name:"show",rawName:"v-show",value:e.loading,expression:"loading"}],attrs:{size:"small"}}),e.errorMessage||e.error?n("i",{staticClass:"bunt-icon mdi mdi-replay error"}):e._e(),e.showSuccess?n("i",{staticClass:"bunt-icon mdi mdi-check success"}):e._e(),e.noInk||e.disabled?e._e():n("ripple-ink")],1)},z=[],Y=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-ripple-ink",on:{mousedown:function(t){return e.mousedown(t)},touchstart:function(t){return e.touchstart(t)}}},[n("transition",{attrs:{name:"ripple-ink"}},[e.show?n("div",{staticClass:"ripple",style:e.style}):e._e()])],1)},N=[],j={name:"bunt-ripple-ink",data(){return{show:!1,style:null}},methods:{mousedown(e){0===e.button&&this.ripple(e.type,e)},touchstart(e){if(e.changedTouches)for(let t=0;t<e.changedTouches.length;++t)this.ripple(e.type,e.changedTouches[t])},ripple(e,t){const n=this.$el,r=n.getAttribute("data-ui-event");if(r&&r!==e)return;n.setAttribute("data-ui-event",e);let i,a=n.getBoundingClientRect(),o=t.offsetX;void 0!==o?i=t.offsetY:(o=t.clientX-a.left,i=t.clientY-a.top);let s=a.width===a.height?1.412*a.width:Math.sqrt(a.width*a.width+a.height*a.height),c=2*s+"px";this.style={width:c,height:c,marginLeft:-s+o+"px",marginTop:-s+i+"px"},this.show=!0;const l=["mouseleave","mouseup","touchend"],u=()=>{l.forEach(e=>{n.removeEventListener(e,u)}),setTimeout(()=>{this.show=!1,this.style=null,n.removeAttribute("data-ui-event")},200)};l.forEach(e=>{n.addEventListener(e,u)})}}},F=j,R=Object(w["a"])(F,Y,N,!1,null,null,null,!0),B=R.exports,$={props:{noInk:{type:Boolean,default:!1}},components:{RippleInk:B}},I=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-progress-circular active",class:[e.size,{"progress-center":e.center,"progress-page":e.page}]},[n("svg",{attrs:{viewBox:"25 25 50 50"}},[n("circle",{attrs:{cx:"50",cy:"50",r:"20"}})])])},q=[],H={props:{center:{type:Boolean,default:!1},page:{type:Boolean,default:!1},size:{type:String,default:"normal"}},data(){return{}},ready(){},beforeDestroy(){},methods:{}},W=H,U=Object(w["a"])(W,I,q,!1,null,null,null,!0),V=U.exports;const G={add:"plus",done:"check",remove:"minus",search:"magnify",help_outline:"help-circle-outline"};var K={getClass(e){return e?"mdi-"+(G[e]||e).replace("_","-"):""}},Z={name:"bunt-button",components:{ProgressCircular:V},mixins:[$],props:{text:String,icon:String,iconRight:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},type:{type:String,default:"button"},error:Boolean,errorMessage:String,successAfterLoading:{type:Boolean,default:!0},tooltip:String,tooltipPlacement:{type:String,default:"bottom"},tooltipFixed:{type:Boolean,default:!1},tooltipOptions:Object},data(){return{_loading:!1,showSuccess:!1}},computed:{_tooltip(){return this.errorMessage?this.errorMessage:this.tooltip},iconClass(){return K.getClass(this.icon)}},watch:{loading:"loadingChanged",errorMessage:"errorChanged",error:"errorChanged"},methods:{loadingChanged(e){if(e)this._loading=e,this.userShowTooltip=!1,this.showSuccess=!1,this.$successTimeout&&clearTimeout(this.$successTimeout);else{if(this._loading=e,this.errorMessage||this.error)return;this.showSuccess=!0,this.$successTimeout=setTimeout(()=>{this.showSuccess=!1},3e3)}},errorChanged(e){null!==e&&(this.showSuccess=!1)},onClick(e){this.disabled||this.loading||this.showSuccess||this.$emit("click",e)}}},X=Z,J=Object(w["a"])(X,P,z,!1,null,null,null,!0),Q=J.exports,ee=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-checkbox",class:{checked:e.value}},[n("input",{attrs:{type:"checkbox",name:e.name,disabled:e.disabled,readonly:e.readonly},domProps:{checked:e.value},on:{change:function(t){return e.onChange(t)},focus:function(t){e.focused=!0},blur:e.onBlur}}),n("div",{staticClass:"bunt-checkbox-box"}),e.label?n("label",[e._v(e._s(e.label))]):n("label",[e._t("default")],2)])},te=[],ne={name:"bunt-checkbox",components:{},props:{value:{type:Boolean,default:!1},name:{type:String,required:!0},label:String,disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},data(){return{focused:!1}},computed:{},created(){},mounted(){this.$nextTick(()=>{})},methods:{onChange(e){this.$emit("input",e.target.checked),this.validation&&this.validation.$touch()},onBlur(){this.focused=!1,this.validation&&this.validation.$touch()}}},re=ne,ie=Object(w["a"])(re,ee,te,!1,null,null,null,!0),ae=ie.exports,oe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-radio",class:{checked:e.isChecked}},[n("input",{attrs:{type:"radio",name:e.name,disabled:e.disabled,readonly:e.readonly},domProps:{value:e.value,checked:e.isChecked},on:{change:function(t){return e.onChange(t)},focus:function(t){e.focused=!0},blur:e.onBlur}}),n("div",{staticClass:"bunt-radio-circle"}),e.label?n("label",[e._v(e._s(e.label))]):n("label",[e._t("default")],2)])},se=[],ce={name:"bunt-radio",model:{prop:"checked",event:"change"},props:{checked:null,value:null,name:{type:String,required:!0},label:String,disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},data(){return{focused:!1}},computed:{isChecked(){return this.checked===this.value}},methods:{onChange(e){this.$emit("change",this.value),this.validation&&this.validation.$touch()},onBlur(){this.focused=!1,this.validation&&this.validation.$touch()}}},le=ce,ue=Object(w["a"])(le,oe,se,!1,null,null,null,!0),de=ue.exports,he=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("i",{staticClass:"bunt-icon mdi",class:[e.iconClass]})},fe=[],pe={name:"bunt-icon",props:{icon:{type:String,required:!0}},computed:{iconClass(){return K.getClass(this.icon)}}},me=pe,be=Object(w["a"])(me,he,fe,!1,null,null,null,!0),ge=be.exports,ve=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.tooltipOptions||{text:e.tooltip,placement:e.tooltipPlacement,fixed:e.tooltipFixed},expression:"tooltipOptions || {text: tooltip, placement: tooltipPlacement, fixed: tooltipFixed}"}],ref:"button",staticClass:"bunt-icon-button",class:{disabled:e.disabled},attrs:{type:e.type,"aria-disabled":e.disabled},on:{click:e.onClick}},[e.iconClass()?n("i",{staticClass:"bunt-icon mdi",class:[e.iconClass()]}):e._t("default"),e.noInk||e.disabled?e._e():n("ripple-ink")],2)},_e=[],ye={name:"bunt-icon-button",mixins:[$],props:{disabled:{type:Boolean,default:!1},type:{type:String,default:"button"},tooltip:String,tooltipPlacement:{type:String,default:"bottom"},tooltipFixed:{type:Boolean,default:!1},tooltipOptions:Object},data(){return{showTooltip:!1}},methods:{iconClass(){if(!this.$slots.default[0].tag)return K.getClass(this.$slots.default[0].text)},onClick(e){this.disabled||this.$emit("click",e)}}},Ae=ye,ke=Object(w["a"])(Ae,ve,_e,!1,null,null,null,!0),we=ke.exports,xe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.generateOutline,expression:"generateOutline"}],staticClass:"bunt-input",class:{focused:e.focused,"floating-label":e.floatingLabel,invalid:e.invalid,disabled:e.disabled,"with-icon":e.icon},style:{"--label-gap":e.floatingLabelWidth}},[n("div",{staticClass:"label-input-container"},[n("label",{attrs:{for:e.name}},[e._v(e._s(e.label))]),e.icon?n("div",{staticClass:"icon mdi",class:[e.iconClass]}):e._e(),n("input",{ref:"input",attrs:{type:e.type,name:e.name,disabled:e.disabled,readonly:e.readonly,placeholder:e.placeholder},domProps:{value:e.value},on:{input:function(t){return e.onInput(t)},focus:function(t){e.focused=!0},blur:e.onBlur}}),n("div",{directives:[{name:"show",rawName:"v-show",value:e.invalid,expression:"invalid"}],staticClass:"error-icon mdi mdi-alert-circle",attrs:{title:e.hintText}}),n("svg",{ref:"outline",staticClass:"outline"},[n("path",{attrs:{d:e.outlineStroke}})])]),e.hintIsHtml?n("div",{staticClass:"hint",domProps:{innerHTML:e._s(e.hintText)}}):n("div",{staticClass:"hint"},[e._v(e._s(e.hintText))])])},Me=[];const Ce="undefined"!==typeof window&&document.createElement("canvas");function Se(e,t){if("undefined"===typeof window)return 0;var n=Ce.getContext("2d");return n.font=t,n.measureText(e||"")}var Ee={data:function(){return{outlineStroke:""}},computed:{floatingLabelWidth(){return this.label?Se(this.label,"12px 'Roboto', \"Helvetica Neue\", HelveticaNeue, Helvetica, Arial, sans-serif").width+8:0}},mounted(){this.$nextTick(()=>{this.generateOutline()})},methods:{generateOutline(){const{width:e,height:t}=this.$refs.outline.getBoundingClientRect(),n=4,r=n+1;this.outlineStroke=`M ${r} 1\n\t\t\th ${e-2*r}\n\t\t\ta ${n} ${n} 0 0 1 ${n} ${n}\n\t\t\tv ${t-2*r}\n\t\t\ta ${n} ${n} 0 0 1 ${-n} ${n}\n\t\t\th ${2*r-e}\n\t\t\ta ${n} ${n} 0 0 1 ${-n} ${-n}\n\t\t\tv ${2*r-t}\n\t\t\ta ${n} ${n} 0 0 1 ${n} ${-n}`}}},De={name:"bunt-input",mixins:[Ee],props:{type:{type:String,default:"text"},name:{type:String,required:!0},label:String,placeholder:String,value:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},icon:String,iconRight:{type:Boolean,default:!1},hint:String,hintIsHtml:{type:Boolean,default:!1},validation:Object},data:function(){return{focused:!1}},computed:{iconClass(){return K.getClass(this.icon)},invalid(){return this.validation&&this.validation.$error},hintText(){if(this.invalid&&this.validation.$params){const e=Object.keys(this.validation.$params).map(e=>this.validation[e]?null:this.validation.$params[e].message);return e.filter(Boolean).join()}return this.hint},floatingLabel(){return Boolean(this.placeholder||this.value||0===this.value)}},methods:{onInput(e){this.$emit("input",e.target.value),this.validation&&this.validation.$touch()},onBlur(){this.focused=!1,this.validation&&this.validation.$touch()}}},Te=De,Oe=Object(w["a"])(Te,xe,Me,!1,null,null,null,!0),Le=Oe.exports,Pe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.generateOutline,expression:"generateOutline"}],staticClass:"bunt-input-outline-container",class:{focused:e.focused},style:{"--label-gap":e.floatingLabelWidth}},[n("label",[e._v(e._s(e.label))]),e._t("default",null,{focus:e.focus,blur:e.blur}),n("svg",{ref:"outline",staticClass:"outline"},[n("path",{attrs:{d:e.outlineStroke}})])],2)},ze=[],Ye={name:"bunt-input-outline-container",mixins:[Ee],props:{label:String},data(){return{focused:!1}},computed:{},created(){},mounted(){this.$nextTick(()=>{})},methods:{focus(){this.focused=!0},blur(){this.focused=!1}}},Ne=Ye,je=Object(w["a"])(Ne,Pe,ze,!1,null,null,null,!0),Fe=je.exports,Re=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("router-link",{staticClass:"bunt-link-button",attrs:{to:e.to}},[e._t("default"),n("ripple-ink")],2)},Be=[],$e={name:"bunt-link-button",components:{},mixins:[$],props:{to:Object},data(){return{}},computed:{},watch:{},methods:{}},Ie=$e,qe=Object(w["a"])(Ie,Re,Be,!1,null,null,null,!0),He=qe.exports,We=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.generateOutline,expression:"generateOutline"}],staticClass:"bunt-select dropdown",class:e.dropdownClasses},[n("div",{ref:"searchContainer",staticClass:"bunt-input dense",class:{focused:e.open,"floating-label":0!=e.rawSearch.length||!e.isValueEmpty,invalid:e.invalid,disabled:e.disabled},style:{"--label-gap":e.floatingLabelWidth}},[n("div",{staticClass:"label-input-container"},[n("label",{attrs:{for:e.name}},[e._v(e._s(e.label))]),e.icon?n("div",{staticClass:"icon mdi",class:[e.iconClass]}):e._e(),n("input",{directives:[{name:"model",rawName:"v-model",value:e.rawSearch,expression:"rawSearch"}],ref:"search",attrs:{type:"text",name:e.name,disabled:e.disabled,placeholder:e.searchPlaceholder,autocomplete:"off"},domProps:{value:e.rawSearch},on:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?null:e.maybeDeleteValue.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.typeAheadUp.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.typeAheadDown.apply(null,arguments))}],keyup:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.onEscape.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.typeAheadSelect.apply(null,arguments))}],blur:e.blur,focus:e.focus,input:function(t){t.target.composing||(e.rawSearch=t.target.value)}}}),n("i",{ref:"openIndicator",staticClass:"open-indicator mdi mdi-menu-down",attrs:{role:"presentation"},on:{mousedown:function(e){e.preventDefault(),e.stopPropagation()},click:function(t){return t.preventDefault(),t.stopPropagation(),e.toggleDropdown.apply(null,arguments)}}}),n("svg",{ref:"outline",staticClass:"outline"},[n("path",{attrs:{d:e.outlineStroke}})])]),e.hintIsHtml?n("div",{staticClass:"hint",domProps:{innerHTML:e._s(e.hintText)}}):n("div",{staticClass:"hint"},[e._v(e._s(e.hintText))])]),e.open?n(e.usePortals?"portal":"div",{tag:"component",attrs:{to:"bunt-overlays"}},[n("div",{ref:"dropdownMenu",staticClass:"bunt-select-dropdown-menu",class:[e.dropdownClass],style:{"max-height":e.maxHeight,width:e.width+"px"},on:{mousedown:function(e){e.preventDefault(),e.stopPropagation()}}},[e._t("result-header"),n("div",{directives:[{name:"scrollbar",rawName:"v-scrollbar.y",value:{_preventMousedown:!0},expression:"{_preventMousedown: true}",modifiers:{y:!0}}],staticClass:"scrollable-menu"},[n("ul",[e._l(e.filteredOptions,(function(t,r){return n("li",{key:r,class:{active:e.isOptionSelected(t),highlight:r===e.typeAheadPointer},on:{mouseover:function(t){e.typeAheadPointer=r},click:function(n){return n.preventDefault(),n.stopPropagation(),e.select(t)}}},[e._t("default",(function(){return[e._v(e._s(e.getOptionLabel(t)))]}),{option:t})],2)})),e.filteredOptions.length?e._e():n("li",{staticClass:"divider",attrs:{transition:"fade"}}),e.filteredOptions.length?e._e():n("li",{staticClass:"text-center",attrs:{transition:"fade"}},[e._t("no-options",(function(){return[e._v("Sorry, no matching options.")]}))],2)],2)])],2)]):e._e()],1)},Ue=[],Ve={watch:{typeAheadPointer(){this.maybeAdjustScroll()}},methods:{maybeAdjustScroll(){if(!this.$refs.dropdownMenu)return;let e=this.pixelsToPointerTop(),t=this.pixelsToPointerBottom();return e<=this.viewport().top?this.scrollTo(e):t>=this.viewport().bottom?this.scrollTo(this.viewport().top+this.pointerHeight()):void 0},pixelsToPointerTop(){let e=0,t=this.$refs.dropdownMenu.children;for(let n=0;n<this.typeAheadPointer;n++)e+=t[n]?t[n].offsetHeight:0;return e},pixelsToPointerBottom(){return this.pixelsToPointerTop()+this.pointerHeight()},pointerHeight(){let e=this.$refs.dropdownMenu.children[this.typeAheadPointer];return e?e.offsetHeight:0},viewport(){return{top:this.$refs.dropdownMenu.scrollTop,bottom:this.$refs.dropdownMenu.offsetHeight+this.$refs.dropdownMenu.scrollTop}},scrollTo(e){return this.$refs.dropdownMenu.scrollTop=e}}},Ge={data(){return{typeAheadPointer:-1}},watch:{filteredOptions(){this.typeAheadPointer=0}},methods:{typeAheadUp(){this.typeAheadPointer>0&&(this.typeAheadPointer--,this.maybeAdjustScroll&&this.maybeAdjustScroll())},typeAheadDown(){this.typeAheadPointer<this.filteredOptions.length-1&&(this.typeAheadPointer++,this.maybeAdjustScroll&&this.maybeAdjustScroll())},typeAheadSelect(){this.filteredOptions[this.typeAheadPointer]?this.select(this.filteredOptions[this.typeAheadPointer]):this.taggable&&this.search.length&&this.select(this.search)}}},Ke=n("2e39"),Ze=n.n(Ke),Xe={name:"bunt-select",mixins:[Ee,Ve,Ge],props:{name:{type:String,required:!0},label:String,value:{type:[String,Object,Number],default:null},icon:String,options:{type:Array,default(){return[]}},placeholder:{type:String,default:""},disabled:{type:Boolean,default:!1},maxHeight:{type:String,default:"400px"},optionLabel:{type:String,default:"label"},getOptionLabel:{type:Function,default(e){return"object"===typeof e&&void 0!==this.optionLabel&&void 0!==e[this.optionLabel]?e[this.optionLabel]:e}},optionValue:{type:String,default:"id"},getOptionValue:{type:Function,default(e){return"object"===typeof e&&void 0!==this.optionValue&&void 0!==e[this.optionValue]?e[this.optionValue]:e}},findOptionByValue:{type:Function,default(e){const t=t=>"object"===typeof t&&this.optionValue?t[this.optionValue]===e:t===e;return this.options.find(t)}},hint:String,hintIsHtml:{type:Boolean,default:!1},validation:Object,dropdownClass:String,dropdownOverflowElement:[String,Object]},data(){return{search:"",rawSearch:"",open:!1,width:0,usePortals:void 0!==this.$root.$options.components.Portal&&void 0!==this.$root.$options.components.PortalTarget}},computed:{dropdownClasses(){return{open:this.open,searchable:this.searchable,loading:this.loading}},searchPlaceholder(){if(this.isValueEmpty&&this.placeholder)return this.placeholder},filteredOptions(){let e=0!==this.search.length?this.options.filter(e=>Ze()(this.search.toLowerCase(),this.getOptionLabel(e).toLowerCase())):this.options.slice();return this.taggable&&this.search.length&&!this.optionExists(this.search)&&e.unshift(this.search),e},isValueEmpty(){return!this.value||("object"===typeof this.value?!Object.keys(this.value).length:!this.value.length)},iconClass(){return K.getClass(this.icon)},invalid(){return this.validation&&this.validation.$error},hintText(){if(this.invalid&&this.validation.$params){const e=Object.keys(this.validation.$params).map(e=>this.validation[e]?null:this.validation.$params[e].message);return e.filter(Boolean).join()}return this.hint}},watch:{value(e){this.selectValue(e)},rawSearch(e){this.open&&(this.search=e)},filteredOptions(){var e;null===(e=this._popper)||void 0===e||e.scheduleUpdate()}},mounted(){this.selectValue(this.value)},beforeDestroy(){var e;null===(e=this._popper)||void 0===e||e.destroy()},methods:{focus(){this.open=!0,this.search="",this.$refs.search.select(),this.width=this.$refs.searchContainer.getBoundingClientRect().width,this.$nextTick(()=>{const e={placement:"bottom",positionFixed:!0,modifiers:{}};this.icon&&(e.modifiers.offset={offset:"-15, 0"}),this.dropdownOverflowElement&&(e.modifiers.preventOverflow={boundariesElement:this.dropdownOverflowElement}),this._popper=new D["a"](this.$refs.search,this.$refs.dropdownMenu,e)})},blur(e){this.open=!1,this.$nextTick(()=>{var e;return null===(e=this._popper)||void 0===e?void 0:e.destroy()}),this.validation&&this.validation.$touch(),this.$emit("blur")},selectValue(e){const t=this.findOptionByValue(e);this.rawSearch=this.getOptionLabel(t)||""},select(e){this.isOptionSelected(e)?this.deselect(e):this.$emit("input",this.getOptionValue(e)),this.onAfterSelect(e)},deselect(e){this.$emit("input",null)},onAfterSelect(e){this.$refs.search.blur(),this.rawSearch=this.getOptionLabel(e)||""},toggleDropdown(e){e.target!==this.$refs.openIndicator&&e.target!==this.$refs.search&&e.target!==this.$refs.toggle&&e.target!==this.$el||(this.open?this.$refs.search.blur():this.$refs.search.focus())},isOptionSelected(e){return this.value===e},onEscape(){this.rawSearch.length?(this.deselect(),this.rawSearch=""):this.$refs.search.blur()},maybeDeleteValue(){!this.$refs.search.value.length&&this.value&&this.$emit("input",null)},optionExists(e){let t=!1;return this.options.forEach(n=>{("object"===typeof n&&n[this.optionLabel]===e||n===e)&&(t=!0)}),t}}},Je=Xe,Qe=Object(w["a"])(Je,We,Ue,!1,null,null,null,!0),et=Qe.exports,tt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-switch",class:{checked:e.value}},[n("input",{attrs:{type:"checkbox",name:e.name,disabled:e.disabled,readonly:e.readonly},domProps:{checked:e.value},on:{change:function(t){return e.onChange(t)},focus:function(t){e.focused=!0},blur:e.onBlur}}),e._m(0),n("label",[e._v(e._s(e.label))])])},nt=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-switch-track"},[n("div",{staticClass:"bunt-switch-thumb"})])}],rt={name:"bunt-switch",components:{},props:{value:{type:Boolean,default:!1},name:{type:String,required:!0},label:String,disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},data(){return{focused:!1}},computed:{},created(){},mounted(){this.$nextTick(()=>{})},methods:{onChange(e){this.$emit("input",e.target.checked),this.validation&&this.validation.$touch()},onBlur(){this.focused=!1,this.validation&&this.validation.$touch()}}},it=rt,at=Object(w["a"])(it,tt,nt,!1,null,null,null,!0),ot=at.exports,st=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e._onResizeObserver,expression:"_onResizeObserver"}],staticClass:"bunt-tabs",class:e.styleClasses},[n("div",{staticClass:"bunt-tabs-header"},[n("ul",{ref:"tabsContainer",staticClass:"bunt-tabs-header-items",attrs:{role:"tablist"}},e._l(e.tabs,(function(t,r){return n("bunt-tab-header-item",{key:t.id,ref:"tabElements",refInFor:!0,attrs:{type:e.type,id:t.id,icon:t.icon,text:t.header,active:e.activeTabObj===t,disabled:t.disabled},nativeOn:{click:function(n){return e.select(t,r)}}})})),1),n("div",{staticClass:"bunt-tabs-indicator",class:[e.indicatorState],style:e.indicatorStyle,on:{transitionend:e.onIndicatorTransitionEnd}})]),n("div",{ref:"body",staticClass:"bunt-tabs-body"},[e._t("default")],2)])},ct=[],lt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{ref:"item",staticClass:"bunt-tab-header-item",class:["type-"+e.type,{active:e.active,disabled:e.disabled}],attrs:{role:"tab",tabindex:e.active?0:-1,"aria-controls":e.id,"aria-selected":e.active?"true":null,disabled:e.disabled}},["icon"===e.type||"icon-and-text"===e.type?n("div",{staticClass:"bunt-tab-header-item-icon"},[n("i",{staticClass:"bunt-icon mdi",class:[e.iconClass]})]):e._e(),"text"===e.type||"icon-and-text"===e.type?n("div",{staticClass:"bunt-tab-header-item-text",domProps:{textContent:e._s(e.text)}}):e._e(),e.noInk||e.disabled?e._e():n("ripple-ink")],1)},ut=[],dt={name:"bunt-tab-header-item",mixins:[$],props:{id:String,type:{type:String,default:"text"},text:String,icon:String,active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},computed:{iconClass(){return K.getClass(this.icon)}}},ht=dt,ft=Object(w["a"])(ht,lt,ut,!1,null,null,null,!0),pt=ft.exports;const mt=function(e,t){return 100*e/t};var bt={name:"bunt-tabs",components:{BuntTabHeaderItem:pt},props:{type:{type:String,default:"text"},activeTab:{type:[Number,String,Object,Function]}},data(){return{activeTabObj:null,tabs:null,indicatorState:"",indicatorTransform:{left:0,width:0},indicatorTargetTransform:{left:0,width:0}}},computed:{styleClasses(){let e=["bunt-tabs-type-"+this.type];return e},indicatorStyle(){const e=this.indicatorTransform;return{transform:`translateX(${e.left}%) scaleX(${e.width/100})`}}},watch:{activeTab(e){this.activateTab(e)}},mounted(){this.updateTabs();new MutationObserver(e=>{this.updateTabs(),this.$nextTick(()=>this.activateTab(this.activeTab||0))}).observe(this.$refs.body,{childList:!0});this.$nextTick(()=>{this.$refs.tabsContainer&&this.activateTab(this.activeTab||0)})},methods:{_onResizeObserver(){this.$refs.tabsContainer&&this.activeTabObj&&this.select(this.activeTabObj,this.tabs.indexOf(this.activeTabObj))},updateTabs(){const e=Array.from(this.$refs.body.children);this.tabs=this.$children.filter(e=>e._isTab).sort((t,n)=>e.indexOf(t.$el)-e.indexOf(n.$el))},activateTab(e){let t=null;"number"===typeof e?t=e:"string"===typeof e&&(t=this.tabs.findIndex(t=>t.id===e)),this.tabs[t]?this.select(this.tabs[t],t):this.deselect()},select(e,t){let n=this.tabs.indexOf(this.activeTabObj);if(!e||e.disabled)return;let r=this.$refs.tabsContainer.getBoundingClientRect(),i=r.width;const a=Array.from(this.$refs.tabsContainer.children);let o=this.$refs.tabElements.sort((e,t)=>a.indexOf(e.$el)-a.indexOf(t.$el))[t].$el.getBoundingClientRect(),s=o.left-r.left;if(this.indicatorTargetTransform={width:mt(o.width,i),left:mt(s,i)},n<0)return this.indicatorState="",this.indicatorTransform={width:this.indicatorTargetTransform.width,left:this.indicatorTargetTransform.left},void(this.activeTabObj=e);let c=this.$refs.tabElements[n].$el.getBoundingClientRect(),l=5;this.indicatorState="expand";let u=n<t;u?this.indicatorTransform.width=mt(o.left+o.width-c.left,i)-l:this.indicatorTransform={width:mt(c.left+c.width-o.left,i)-l,left:mt(s,i)+l},this.activeTabObj=e},deselect(){this.activeTabObj=null,this.indicatorTransform.width=0,this.indicatorTransform.left=0},onIndicatorTransitionEnd(){"expand"==this.indicatorState?(this.indicatorState="contract",this.indicatorTransform={width:this.indicatorTargetTransform.width,left:this.indicatorTargetTransform.left}):this.indicatorState=""}}},gt=bt,vt=Object(w["a"])(gt,st,ct,!1,null,null,null,!0),_t=vt.exports,yt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.active,expression:"active"}],staticClass:"bunt-tab",attrs:{id:e.id,role:"tabpanel",tabindex:e.active?"0":null,"aria-hidden":e.active?null:"true"}},[e._t("default")],2)},At=[],kt={name:"bunt-tab",props:{header:String,icon:String,disabled:{type:Boolean,default:!1},id:String},computed:{active(){return this.$parent.activeTabObj===this}},watch:{active(e){e?this.$emit("selected",this.id):this.$emit("deselected",this.id)}},created(){this._isTab=!0}},wt=kt,xt=Object(w["a"])(wt,yt,At,!1,null,null,null,!0),Mt=xt.exports,Ct=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.open?n("div",{staticClass:"bunt-dialog-container"},[n("div",{staticClass:"bunt-dialog"},[e._t("default")],2),n("div",{staticClass:"bunt-backdrop",attrs:{"keyup.esc":"close"},on:{click:e.close}})]):e._e()},St=[],Et={props:{open:{type:Boolean,default:!1}},data(){return{}},computed:{},created(){},mounted(){this.$nextTick(()=>{document.body.appendChild(this.$el)})},beforeDestroy(){this.$el.parentNode===document.body&&document.body.removeChild(this.$el)},methods:{close(){this.$emit("close")}}},Dt=Et,Tt=Object(w["a"])(Dt,Ct,St,!1,null,null,null,!0),Ot=Tt.exports;let Lt;"undefined"!==typeof window&&(Lt=n("472d").default);const Pt={install(e){L(e),e.component("bunt-button",Q),e.component("bunt-checkbox",ae),e.component("bunt-radio",de),e.component("bunt-icon",ge),e.component("bunt-icon-button",we),e.component("bunt-input",Le),e.component("bunt-input-outline-container",Fe),e.component("bunt-link-button",He),e.component("bunt-select",et),"undefined"!==typeof window&&e.component("bunt-popover",Lt),e.component("bunt-progress-circular",V),e.component("bunt-switch",ot),e.component("bunt-tabs",_t),e.component("bunt-tab",Mt),e.component("bunt-dialog",Ot)}};var zt=Pt,Yt=n("7f45"),Nt=n.n(Yt),jt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"scrollbar",rawName:"v-scrollbar.y",modifiers:{y:!0}}],staticClass:"c-linear-schedule"},e._l(e.sessionBuckets,(function(t,r){var i=t.date,a=t.sessions;return n("div",{staticClass:"bucket"},[n("div",{ref:e.getBucketName(i),refInFor:!0,staticClass:"bucket-label",attrs:{"data-date":i.format()}},[0===r||i.clone().startOf("day").diff(e.sessionBuckets[r-1].date.clone().startOf("day"),"day")>0?n("div",{staticClass:"day"},[e._v(" "+e._s(i.format("dddd DD. MMMM")))]):e._e(),n("div",{staticClass:"time"},[e._v(e._s(i.format("LT")))]),e._l(a,(function(t){return[e.isProperSession(t)?n("session",{attrs:{session:t,faved:t.id&&e.favs.includes(t.id)},on:{fav:function(n){return e.$emit("fav",t.id)},unfav:function(n){return e.$emit("unfav",t.id)}}}):n("div",{staticClass:"break"},[n("div",{staticClass:"title"},[e._v(e._s(e.getLocalizedString(t.title)))])])]}))],2)])})),0)},Ft=[];function Rt(e){if(!e)return"";if("string"===typeof e)return e;const t=document.querySelector("html").lang||"en";return e[t]||e.en||Object.values(e)[0]||""}const Bt=(e,t)=>["auto","scroll"].includes(getComputedStyle(e,null).getPropertyValue(t)),$t=e=>Bt(e,"overflow")||Bt(e,"overflow-x")||Bt(e,"overflow-y");function It(e){if(e&&e!==document.body)return $t(e)?e:It(e.parentNode)}function qt(e,t){let n=t.diff(e,"minutes");const r=Math.floor(n/60);return n<=60?n+"min":(n%=60,n?`${r}h${n}min`:r+"h")}var Ht=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a",{staticClass:"c-linear-schedule-session",class:{faved:e.faved},style:e.style,attrs:{href:e.link,target:e.linkTarget},on:{click:function(t){return e.onSessionLinkClick(t,e.session)}}},[n("div",{staticClass:"time-box"},[n("div",{staticClass:"start",class:{"has-ampm":e.hasAmPm}},[n("div",{staticClass:"time"},[e._v(e._s(e.startTime.time))]),e.startTime.ampm?n("div",{staticClass:"ampm"},[e._v(e._s(e.startTime.ampm))]):e._e()]),n("div",{staticClass:"duration"},[e._v(e._s(e.getPrettyDuration(e.session.start,e.session.end)))]),n("div",{staticClass:"buffer"}),e.isLive?n("div",{staticClass:"is-live"},[e._v("live")]):e._e()]),n("div",{staticClass:"info"},[n("div",{staticClass:"title"},[e._v(e._s(e.getLocalizedString(e.session.title)))]),e.session.speakers?n("div",{staticClass:"speakers"},[n("div",{staticClass:"avatars"},[e._l(e.session.speakers,(function(t){return[t.avatar?n("img",{attrs:{src:t.avatar}}):e._e()]}))],2),n("div",{staticClass:"names"},[e._v(e._s(e.session.speakers.map((function(e){return e.name})).join(", ")))])]):e._e(),e.showAbstract?n("div",{staticClass:"abstract",domProps:{innerHTML:e._s(e.abstract)}}):e._e(),n("div",{staticClass:"bottom-info"},[e.session.track?n("div",{staticClass:"track"},[e._v(e._s(e.getLocalizedString(e.session.track.name)))]):e._e(),e.showRoom&&e.session.room?n("div",{staticClass:"room"},[e._v(e._s(e.getLocalizedString(e.session.room.name)))]):e._e()])]),n("bunt-icon-button",{staticClass:"btn-fav-container",on:{click:function(t){t.preventDefault(),t.stopPropagation(),e.faved?e.$emit("unfav",e.session.id):e.$emit("fav",e.session.id)}}},[n("svg",{staticClass:"star",attrs:{viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z"}})])])],1)},Wt=[],Ut=n("d4cd"),Vt=n.n(Ut);const Gt=Vt()({linkify:!0,breaks:!0});var Kt={props:{session:Object,showAbstract:{type:Boolean,default:!0},showRoom:{type:Boolean,default:!0},faved:{type:Boolean,default:!1},hasAmPm:{type:Boolean,default:!1}},inject:{eventUrl:{default:null},linkTarget:{default:"_self"},generateSessionLinkUrl:{default(){return({eventUrl:e,session:t})=>`${e}talk/${t.id}/`}},onSessionLinkClick:{default(){return()=>{}}}},data(){return{getPrettyDuration:qt,getLocalizedString:Rt}},computed:{link(){return this.generateSessionLinkUrl({eventUrl:this.eventUrl,session:this.session})},style(){var e;return{"--track-color":(null===(e=this.session.track)||void 0===e?void 0:e.color)||"var(--pretalx-clr-primary)"}},startTime(){return this.hasAmPm?{time:this.session.start.format("h:mm"),ampm:this.session.start.format("A")}:{time:Nt()(this.session.start).format("LT")}},isLive(){return Nt()(this.session.start).isBefore(this.now)&&Nt()(this.session.end).isAfter(this.now)},abstract(){try{return Gt.renderInline(this.session.abstract)}catch(e){return this.session.abstract}}}},Zt=Kt;function Xt(e){var t=n("1004");t.__inject__&&t.__inject__(e)}var Jt=Object(w["a"])(Zt,Ht,Wt,!1,Xt,null,null,!0),Qt=Jt.exports,en={components:{Session:Qt},props:{sessions:Array,favs:{type:Array,default(){return[]}},currentDay:Object,now:Object,scrollParent:Element},data(){return{moment:Nt.a,getLocalizedString:Rt,scrolledDay:null}},computed:{sessionBuckets(){const e={};for(const t of this.sessions){const n=t.start.format();e[n]||(e[n]=[]),t.id?e[n].push(t):(t.break_id=`${t.start}${t.end}${t.title}`,0===e[n].filter(e=>e.break_id===t.break_id).length&&e[n].push(t))}return Object.entries(e).map(([e,t])=>({date:t[0].start,sessions:t}))}},watch:{currentDay:"changeDay"},async mounted(){var e,t;let n;await this.$nextTick(),this.observer=new IntersectionObserver(this.onIntersect,{root:this.scrollParent,rootMargin:"-45% 0px"});for(const[c,l]of Object.entries(this.$refs)){if(!c.startsWith("bucket"))continue;const e=Nt.a.parseZone(l[0].dataset.date);n&&n.isSame(e,"date")||(n=e,this.observer.observe(l[0]))}let r=!1;const i=window.location.hash.slice(1);if(i&&10===i.length){const e=Nt()(i,"YYYY-MM-DD");e&&(r=!0)}if(r)return;const a=this.sessionBuckets.findIndex(e=>this.now.isBefore(e.date));if(a<0)return;const o=this.sessionBuckets[Math.max(0,a-1)],s=(null===(e=this.$refs[this.getBucketName(o.date)])||void 0===e||null===(t=e[0])||void 0===t?void 0:t.offsetTop)-90;this.scrollParent?this.scrollParent.scrollTop=s:window.scroll({top:s+this.getOffsetTop()})},methods:{isProperSession(e){return!!e.id},getBucketName(e){return"bucket-"+e.format("YYYY-MM-DD-HH-mm")},getOffsetTop(){const e=this.$parent.$el.getBoundingClientRect();return e.top+window.scrollY},changeDay(e){var t;if(this.scrolledDay===e)return;const n=this.sessionBuckets.find(t=>e.isSame(t.date,"day"));if(!n)return;const r=null===(t=this.$refs[this.getBucketName(n.date)])||void 0===t?void 0:t[0];if(!r)return;const i=r.offsetTop+this.getOffsetTop()-8;this.scrollParent?this.scrollParent.scrollTop=i:window.scroll({top:i})},onIntersect(e){const t=e[0],n=Nt.a.parseZone(t.target.dataset.date).startOf("day");t.isIntersecting?(this.scrolledDay=n,this.$emit("changeDay",this.scrolledDay)):t.rootBounds&&t.boundingClientRect.y-t.rootBounds.y>0&&(this.scrolledDay=n.subtract(1,"day"),this.$emit("changeDay",this.scrolledDay))}}},tn=en;function nn(e){var t=n("2187");t.__inject__&&t.__inject__(e)}var rn=Object(w["a"])(tn,jt,Ft,!1,nn,null,null,!0),an=rn.exports,on=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"c-grid-schedule"},[n("div",{staticClass:"grid",style:e.gridStyle},[e._l(e.visibleTimeslices,(function(t){return[n("div",{ref:t.name,refInFor:!0,staticClass:"timeslice",class:e.getSliceClasses(t),style:e.getSliceStyle(t),attrs:{"data-slice":t.date.format()}},[e._v(e._s(e.getSliceLabel(t)))]),n("div",{staticClass:"timeline",class:e.getSliceClasses(t),style:e.getSliceStyle(t)})]})),e.nowSlice?n("div",{ref:"now",staticClass:"now",class:{"on-daybreak":e.nowSlice.onDaybreak},style:{"grid-area":e.nowSlice.slice.name+" / 1 / auto / auto","--offset":e.nowSlice.offset}},[n("svg",{attrs:{viewBox:"0 0 10 10"}},[n("path",{attrs:{d:"M 0 0 L 10 5 L 0 10 z"}})])]):e._e(),n("div",{staticClass:"room",style:{"grid-area":"1 / 1 / auto / auto"}}),e._l(e.rooms,(function(t,r){return n("div",{staticClass:"room",style:{"grid-area":"1 / "+(r+2)+" / auto / auto"}},[e._v(e._s(e.getLocalizedString(t.name))),e.getLocalizedString(t.description)?n("bunt-button",{staticClass:"room-description",attrs:{tooltip:e.getLocalizedString(t.description),"tooltip-placement":"bottom-end"}},[e._v("?")]):e._e()],1)})),e.hasSessionsWithoutRoom?n("div",{staticClass:"room",style:{"grid-area":"1 / "+(e.rooms.length+2)+" / auto / -1"}},[e._v("no location")]):e._e(),e._l(e.sessions,(function(t){return[e.isProperSession(t)?n("session",{style:e.getSessionStyle(t),attrs:{session:t,showAbstract:!1,showRoom:!1,faved:e.favs.includes(t.id),hasAmPm:e.hasAmPm},on:{fav:function(n){return e.$emit("fav",t.id)},unfav:function(n){return e.$emit("unfav",t.id)}}}):n("div",{staticClass:"break",style:e.getSessionStyle(t)},[n("div",{staticClass:"time-box"},[e.hasAmPm?n("div",{staticClass:"start has-ampm"},[n("div",{staticClass:"time"},[e._v(e._s(t.start.format("h:mm")))]),n("div",{staticClass:"ampm"},[e._v(e._s(t.start.format("A")))])]):n("div",{staticClass:"start"},[n("div",{staticClass:"time"},[e._v(e._s(t.start.format("LT")))])]),n("div",{staticClass:"duration"},[e._v(e._s(e.getPrettyDuration(t.start,t.end)))]),n("div",{staticClass:"buffer"})]),n("div",{staticClass:"info"},[n("div",{staticClass:"title"},[e._v(e._s(e.getLocalizedString(t.title)))])])])]}))],2)])},sn=[];const cn=function(e){return"slice-"+e.format("MM-DD-HH-mm")};var ln={components:{Session:Qt},props:{sessions:Array,rooms:Array,favs:{type:Array,default(){return[]}},currentDay:Object,now:Object,scrollParent:Element},data(){return{moment:Nt.a,getLocalizedString:Rt,getPrettyDuration:qt,scrolledDay:null}},computed:{hasSessionsWithoutRoom(){return this.sessions.some(e=>!e.room)},hasAmPm(){return Nt.a.localeData().longDateFormat("LT").endsWith(" A")},timeslices(){const e=30,t=[],n={},r=function(e,{hasSession:r=!1,hasBreak:i=!1,hasStart:a=!1,hasEnd:o=!1}={}){const s=cn(e);let c=n[s];c?(c.hasSession=c.hasSession||r,c.hasBreak=c.hasBreak||i,c.hasStart=c.hasStart||a,c.hasEnd=c.hasEnd||o):(c={date:e,name:s,hasSession:r,hasBreak:i,hasStart:a,hasEnd:o,datebreak:e.isSame(e.clone().startOf("day"))},t.push(c),n[s]=c)},i=function(t,n,{hasSession:i,hasBreak:a}={}){let o=n.diff(t,"minutes");const s=e-t.minute()%e,c=[];s&&(c.push(t.clone().add(s,"minutes")),o-=s);const l=n.minute()%e;for(let r=1;r<=o/e;r++)c.push(t.clone().add(s+e*r,"minutes"));l&&c.push(n.clone().subtract(l,"minutes"));const u=c.pop();c.forEach(e=>r(e,{hasSession:i,hasBreak:a})),r(u)};for(const c of this.sessions){const e=t[t.length-1];e?c.start.isAfter(e.date,"minutes")&&i(e.date,c.start):r(c.start.clone().startOf("day"));const n=this.isProperSession(c);r(c.start,{hasSession:n,hasBreak:!n,hasStart:!0}),r(c.end,{hasEnd:!0}),i(c.start,c.end,{hasSession:n,hasBreak:!n})}const a=function(t){if(t)return 0!==t.date.minutes()&&t.date.minutes()!==e},o=function(e,n){if(!e)return;if(e.hasSession||e.datebreak||e.hasStart||e.hasEnd)return!0;const r=t[n-1],i=t[n+1];return!!a(e)||(!(!((null!==r&&void 0!==r&&r.hasSession||null!==r&&void 0!==r&&r.hasBreak||null!==r&&void 0!==r&&r.hasEnd)&&a(r)||(null!==i&&void 0!==i&&i.hasSession||null!==i&&void 0!==i&&i.hasBreak)&&a(i))&&(null!==i&&void 0!==i&&i.hasSession&&null!==i&&void 0!==i&&i.hasBreak||!e.hasSession&&!e.hasBreak||!a(i)))||(null!==r&&void 0!==r&&r.hasBreak&&e.hasBreak,!1))};t.sort((e,t)=>e.date.diff(t.date));const s=[];for(const[c,l]of t.entries()){if(o(l,c)){s.push(l);continue}const e=t[c-1];o(e,c-1)&&!e.datebreak&&(e.gap=!0)}return s.forEach((e,t)=>{e.gap&&t<s.length-1&&s[t+1].date.diff(e.date,"minutes")<=30&&(e.gap=!1)}),s[s.length-1].gap&&s.pop(),s},visibleTimeslices(){return this.timeslices.filter(e=>e.date.minute()%30===0)},gridStyle(){let e="[header] 52px ";return e+=this.timeslices.map((e,t)=>{const n=this.timeslices[t+1];let r=60;return e.gap?r=100:e.datebreak?r=60:n&&(r=Math.min(60,2*n.date.diff(e.date,"minutes"))),`[${e.name}] minmax(${r}px, auto)`}).join(" "),{"--total-rooms":this.rooms.length,"grid-template-rows":e}},nowSlice(){let e;for(const t of this.timeslices){if(this.now.isBefore(t.date))break;e=t}if(e){const t=this.timeslices[this.timeslices.indexOf(e)+1];return t?t.date.diff(e.date,"minutes")>30?{slice:t,offset:0,onDaybreak:!0}:{slice:e,offset:this.now.diff(e.date,"minutes")/t.date.diff(e.date,"minutes")}:null}return null}},watch:{currentDay:"changeDay"},async mounted(){await this.$nextTick(),this.observer=new IntersectionObserver(this.onIntersect,{root:this.scrollParent,rootMargin:"-45% 0px"});for(const[r,i]of Object.entries(this.$refs))r.startsWith("slice")&&r.endsWith("00-00")&&this.observer.observe(i[0]);let e=!1;const t=window.location.hash.slice(1);if(t&&10===t.length){const n=Nt()(t,"YYYY-MM-DD");n&&(e=!0)}if(e||!this.$refs.now)return;const n=this.$refs.now.offsetTop+this.getOffsetTop()-90;this.scrollParent?this.scrollParent.scrollTop=n:window.scroll({top:n})},methods:{isProperSession(e){return!!e.id},getSessionStyle(e){const t=this.rooms.indexOf(e.room);return{"grid-row":`${cn(e.start)} / ${cn(e.end)}`,"grid-column":t>-1?t+2:null}},getOffsetTop(){const e=this.$parent.$el.getBoundingClientRect();return e.top+window.scrollY},getSliceClasses(e){return{datebreak:e.datebreak,gap:e.gap}},getSliceStyle(e){if(e.datebreak){let t=this.timeslices.findIndex(t=>t.date.isAfter(e.date,"day"));return t<0&&(t=this.timeslices.length-1),{"grid-area":`${e.name} / 1 / ${this.timeslices[t].name} / auto`}}return{"grid-area":e.name+" / 1 / auto / auto"}},getSliceLabel(e){return e.datebreak?e.date.format("ddd[\n]DD. MMM"):e.date.format("LT")},changeDay(e){var t;if(this.scrolledDay===e)return;const n=null===(t=this.$refs[cn(e)])||void 0===t?void 0:t[0];if(!n)return;const r=n.offsetTop+this.getOffsetTop();this.scrollParent?this.scrollParent.scrollTop=r:window.scroll({top:r})},onIntersect(e){const t=e.sort((e,t)=>t.time-e.time).find(e=>e.isIntersecting);if(!t)return;const n=Nt.a.parseZone(t.target.dataset.slice).startOf("day");this.scrolledDay=n,this.$emit("changeDay",this.scrolledDay)}}},un=ln;function dn(e){var t=n("0809");t.__inject__&&t.__inject__(e)}var hn=Object(w["a"])(un,on,sn,!1,dn,null,null,!0),fn=hn.exports;o["a"].use(zt);var pn={name:"PretalxSchedule",components:{LinearSchedule:an,GridSchedule:fn},props:{eventUrl:String,locale:String,format:{type:String,default:"grid"},version:{type:String,default:""}},provide(){return{eventUrl:this.eventUrl}},data(){return{moment:Nt.a,getLocalizedString:Rt,scrollParentWidth:1/0,schedule:null,userTimezone:null,now:Nt()(),currentDay:null,currentTimezone:null,showFilterModal:!1,favs:[],allTracks:[],onlyFavs:!1}},computed:{scheduleMaxWidth(){return this.schedule?Math.min(this.scrollParentWidth,78+650*this.schedule.rooms.length):this.scrollParentWidth},showGrid(){return this.scrollParentWidth>710&&"list"!==this.format},roomsLookup(){return this.schedule?this.schedule.rooms.reduce((e,t)=>(e[t.id]=t,e),{}):{}},tracksLookup(){return this.schedule?this.schedule.tracks.reduce((e,t)=>(e[t.id]=t,e),{}):{}},filteredTracks(){return this.allTracks.filter(e=>e.selected)},speakersLookup(){return this.schedule?this.schedule.speakers.reduce((e,t)=>(e[t.code]=t,e),{}):{}},sessions(){if(!this.schedule||!this.currentTimezone)return;const e=[];for(const n of this.schedule.talks.filter(e=>e.start)){var t;this.onlyFavs&&!this.favs.includes(n.code)||(this.filteredTracks&&this.filteredTracks.length&&!this.filteredTracks.find(e=>e.id===n.track)||e.push({id:n.code,title:n.title,abstract:n.abstract,start:Nt.a.tz(n.start,this.currentTimezone),end:Nt.a.tz(n.end,this.currentTimezone),speakers:null===(t=n.speakers)||void 0===t?void 0:t.map(e=>this.speakersLookup[e]),track:this.tracksLookup[n.track],room:this.roomsLookup[n.room]}))}return e.sort((e,t)=>e.start.diff(t.start)),e},rooms(){return this.schedule.rooms.filter(e=>this.sessions.some(t=>t.room===e))},days(){if(!this.sessions)return;const e=[];for(const t of this.sessions)e[e.length-1]&&e[e.length-1].isSame(t.start,"day")||e.push(t.start.clone().startOf("day"));return e},inEventTimezone(){if(!this.schedule||!this.schedule.talks)return!1;const e=this.schedule.talks[0].start;return Nt.a.tz(e,this.userTimezone).format("Z")===Nt.a.tz(e,this.schedule.timezone).format("Z")},dateFormat(){return this.showGrid&&this.schedule&&this.schedule.rooms.length>2||!this.days||!this.days.length||this.days&&this.days.length<=5?"dddd DD. MMMM":this.days&&this.days.length<=7?"dddd DD. MMM":"ddd DD. MMM"},eventSlug(){let e="";return e=this.eventUrl.startsWith("http")?new URL(this.eventUrl):new URL("http://example.org/"+this.eventUrl),e.pathname.replace(/\//g,"")}},async created(){Nt.a.locale(this.locale),this.userTimezone=Nt.a.tz.guess();let e="";this.version&&(e=`v/${this.version}/`);const t=`${this.eventUrl}schedule/${e}widgets/schedule.json`,n=`${this.eventUrl}schedule/${e}widget/v2.json`;try{this.schedule=await(await fetch(t)).json()}catch(i){this.schedule=await(await fetch(n)).json()}this.currentTimezone=localStorage.getItem(this.eventSlug+"_timezone"),this.currentTimezone=[this.schedule.timezone,this.userTimezone].includes(this.currentTimezone)?this.currentTimezone:this.schedule.timezone,this.currentDay=this.days[0],this.now=Nt()().tz(this.currentTimezone),setInterval(()=>this.now=Nt()().tz(this.currentTimezone),3e4),this.scrollParentResizeObserver||(await this.$nextTick(),this.onWindowResize()),this.schedule.tracks.forEach(e=>{e.value=e.id,e.label=Rt(e.name),this.allTracks.push(e)}),this.favs=this.pruneFavs(this.loadFavs(),this.schedule);const r=window.location.hash.slice(1);if(r&&10===r.length){const e=Nt()(r,"YYYY-MM-DD"),t=this.days.filter(t=>t.format("YYYYMMDD")===e.format("YYYYMMDD"));t.length&&(this.currentDay=t[0])}},async mounted(){await new Promise(e=>{const t=()=>{if(this.$el.parentElement||this.$el.getRootNode().host)return e();setTimeout(t,100)};t()}),this.scrollParent=It(this.$el.parentElement||this.$el.getRootNode().host),this.scrollParent?(this.scrollParentResizeObserver=new ResizeObserver(this.onScrollParentResize),this.scrollParentResizeObserver.observe(this.scrollParent),this.scrollParentWidth=this.scrollParent.offsetWidth):(window.addEventListener("resize",this.onWindowResize),this.onWindowResize())},destroyed(){},methods:{changeDay(e){e.isSame(this.currentDay)||(this.currentDay=Nt()(e,this.currentTimezone).startOf("day"),window.location.hash=e.format("YYYY-MM-DD"))},onWindowResize(){this.scrollParentWidth=document.body.offsetWidth},saveTimezone(){localStorage.setItem(this.eventSlug+"_timezone",this.currentTimezone)},onScrollParentResize(e){this.scrollParentWidth=e[0].contentRect.width},loadFavs(){const e=localStorage.getItem(this.eventSlug+"_favs");if(e)try{return JSON.parse(e)}catch{localStorage.setItem(this.eventSlug+"_favs","[]")}return[]},pruneFavs(e,t){const n=t.talks||[],r=n.map(e=>e.code);return e.filter(e=>r.includes(e))},saveFavs(){localStorage.setItem(this.eventSlug+"_favs",JSON.stringify(this.favs))},fav(e){this.favs.includes(e)||(this.favs.push(e),this.saveFavs())},unfav(e){this.favs=this.favs.filter(t=>t!==e),this.saveFavs(),this.favs.length||(this.onlyFavs=!1)},resetFilteredTracks(){this.allTracks.forEach(e=>e.selected=!1)}}},mn=pn;function bn(e){var t=n("0887");t.__inject__&&t.__inject__(e)}var gn=Object(w["a"])(mn,x,M,!1,bn,null,null,!0),vn=gn.exports;window.customElements.define("pretalx-schedule",k(o["a"],vn))},"5b54":function(e,t,n){"use strict";var r=n("bd68"),i=n("0068").has,a=n("0068").isValidEntityCode,o=n("0068").fromCodePoint,s=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,c=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,l,u,d=e.pos,h=e.posMax;if(38!==e.src.charCodeAt(d))return!1;if(d+1<h)if(n=e.src.charCodeAt(d+1),35===n){if(u=e.src.slice(d).match(s),u)return t||(l="x"===u[1][0].toLowerCase()?parseInt(u[1].slice(1),16):parseInt(u[1],10),e.pending+=a(l)?o(l):o(65533)),e.pos+=u[0].length,!0}else if(u=e.src.slice(d).match(c),u&&i(r,u[1]))return t||(e.pending+=r[u[1]]),e.pos+=u[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},"5c8f":function(e,t,n){var r,i,a;/*! tether-drop 1.4.1 */(function(o,s){i=[n("a01e")],r=s,a="function"===typeof r?r.apply(t,i):r,void 0===a||(e.exports=a)})(0,(function(e){"use strict";var t=Function.prototype.bind,n=function(){function e(e,t){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done);r=!0)if(n.push(o.value),t&&n.length===t)break}catch(c){i=!0,a=c}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(e,t,n){var r=!0;while(r){var i=e,a=t,o=n;r=!1,null===i&&(i=Function.prototype);var s=Object.getOwnPropertyDescriptor(i,a);if(void 0!==s){if("value"in s)return s.value;var c=s.get;if(void 0===c)return;return c.call(o)}var l=Object.getPrototypeOf(i);if(null===l)return;e=l,t=a,n=o,r=!0,s=l=void 0}};function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=e.Utils,c=s.extend,l=s.addClass,u=s.removeClass,d=s.hasClass,h=s.Evented;function f(e){var t=e.split(" "),r=n(t,2),i=r[0],a=r[1];if(["left","right"].indexOf(i)>=0){var o=[a,i];i=o[0],a=o[1]}return[i,a].join(" ")}function p(e,t){var n=void 0,r=[];while(-1!==(n=e.indexOf(t)))r.push(e.splice(n,1));return r}var m=["click"];"ontouchstart"in document.documentElement&&m.push("touchstart");var b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"},g="";for(var v in b)if({}.hasOwnProperty.call(b,v)){var _=document.createElement("p");"undefined"!==typeof _.style[v]&&(g=b[v])}var y={left:"right",right:"left",top:"bottom",bottom:"top",middle:"middle",center:"center"},A={};function k(){var n=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],s=function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return new(t.apply(v,[null].concat(n)))};c(s,{createContext:k,drops:[],defaults:{}});var b={classPrefix:"drop",defaults:{position:"bottom left",openOn:"click",beforeClose:null,constrainToScrollParent:!0,constrainToWindow:!0,classes:"",remove:!1,openDelay:0,closeDelay:50,focusDelay:null,blurDelay:null,hoverOpenDelay:null,hoverCloseDelay:null,tetherOptions:{}}};c(s,b,n),c(s.defaults,b.defaults,n.defaults),"undefined"===typeof A[s.classPrefix]&&(A[s.classPrefix]=[]),s.updateBodyClasses=function(){for(var e=!1,t=A[s.classPrefix],n=t.length,r=0;r<n;++r)if(t[r].isOpened()){e=!0;break}e?l(document.body,s.classPrefix+"-open"):u(document.body,s.classPrefix+"-open")};var v=function(t){function n(e){if(a(this,n),i(Object.getPrototypeOf(n.prototype),"constructor",this).call(this),this.options=c({},s.defaults,e),this.target=this.options.target,"undefined"===typeof this.target)throw new Error("Drop Error: You must provide a target.");var t="data-"+s.classPrefix,r=this.target.getAttribute(t);r&&null==this.options.content&&(this.options.content=r);for(var o=["position","openOn"],u=0;u<o.length;++u){var d=this.target.getAttribute(t+"-"+o[u]);d&&null==this.options[o[u]]&&(this.options[o[u]]=d)}this.options.classes&&!1!==this.options.addTargetClasses&&l(this.target,this.options.classes),s.drops.push(this),A[s.classPrefix].push(this),this._boundEvents=[],this.bindMethods(),this.setupElements(),this.setupEvents(),this.setupTether()}return o(n,t),r(n,[{key:"_on",value:function(e,t,n){this._boundEvents.push({element:e,event:t,handler:n}),e.addEventListener(t,n)}},{key:"bindMethods",value:function(){this.transitionEndHandler=this._transitionEndHandler.bind(this)}},{key:"setupElements",value:function(){var e=this;if(this.drop=document.createElement("div"),l(this.drop,s.classPrefix),this.options.classes&&l(this.drop,this.options.classes),this.content=document.createElement("div"),l(this.content,s.classPrefix+"-content"),"function"===typeof this.options.content){var t=function(){var t=e.options.content.call(e,e);if("string"===typeof t)e.content.innerHTML=t;else{if("object"!==typeof t)throw new Error("Drop Error: Content function should return a string or HTMLElement.");e.content.innerHTML="",e.content.appendChild(t)}};t(),this.on("open",t.bind(this))}else"object"===typeof this.options.content?this.content.appendChild(this.options.content):this.content.innerHTML=this.options.content;this.drop.appendChild(this.content)}},{key:"setupTether",value:function(){var t=this.options.position.split(" ");t[0]=y[t[0]],t=t.join(" ");var n=[];this.options.constrainToScrollParent?n.push({to:"scrollParent",pin:"top, bottom",attachment:"together none"}):n.push({to:"scrollParent"}),!1!==this.options.constrainToWindow?n.push({to:"window",attachment:"together"}):n.push({to:"window"});var r={element:this.drop,target:this.target,attachment:f(t),targetAttachment:f(this.options.position),classPrefix:s.classPrefix,offset:"0 0",targetOffset:"0 0",enabled:!1,constraints:n,addTargetClasses:this.options.addTargetClasses};!1!==this.options.tetherOptions&&(this.tether=new e(c({},r,this.options.tetherOptions)))}},{key:"setupEvents",value:function(){var e=this;if(this.options.openOn)if("always"!==this.options.openOn){var t=this.options.openOn.split(" ");if(t.indexOf("click")>=0)for(var n=function(t){e.toggle(t),t.preventDefault()},r=function(t){e.isOpened()&&(t.target===e.drop||e.drop.contains(t.target)||t.target===e.target||e.target.contains(t.target)||e.close(t))},i=0;i<m.length;++i){var a=m[i];this._on(this.target,a,n),this._on(document,a,r)}var o=null,s=null,c=function(t){null!==s?clearTimeout(s):o=setTimeout((function(){e.open(t),o=null}),("focus"===t.type?e.options.focusDelay:e.options.hoverOpenDelay)||e.options.openDelay)},l=function(t){null!==o?clearTimeout(o):s=setTimeout((function(){e.close(t),s=null}),("blur"===t.type?e.options.blurDelay:e.options.hoverCloseDelay)||e.options.closeDelay)};t.indexOf("hover")>=0&&(this._on(this.target,"mouseover",c),this._on(this.drop,"mouseover",c),this._on(this.target,"mouseout",l),this._on(this.drop,"mouseout",l)),t.indexOf("focus")>=0&&(this._on(this.target,"focus",c),this._on(this.drop,"focus",c),this._on(this.target,"blur",l),this._on(this.drop,"blur",l))}else setTimeout(this.open.bind(this))}},{key:"isOpened",value:function(){if(this.drop)return d(this.drop,s.classPrefix+"-open")}},{key:"toggle",value:function(e){this.isOpened()?this.close(e):this.open(e)}},{key:"open",value:function(e){var t=this;this.isOpened()||(this.drop.parentNode||document.body.appendChild(this.drop),"undefined"!==typeof this.tether&&this.tether.enable(),l(this.drop,s.classPrefix+"-open"),l(this.drop,s.classPrefix+"-open-transitionend"),setTimeout((function(){t.drop&&l(t.drop,s.classPrefix+"-after-open")})),"undefined"!==typeof this.tether&&this.tether.position(),this.trigger("open"),s.updateBodyClasses())}},{key:"_transitionEndHandler",value:function(e){e.target===e.currentTarget&&(d(this.drop,s.classPrefix+"-open")||u(this.drop,s.classPrefix+"-open-transitionend"),this.drop.removeEventListener(g,this.transitionEndHandler))}},{key:"beforeCloseHandler",value:function(e){var t=!0;return this.isClosing||"function"!==typeof this.options.beforeClose||(this.isClosing=!0,t=!1!==this.options.beforeClose(e,this)),this.isClosing=!1,t}},{key:"close",value:function(e){this.isOpened()&&this.beforeCloseHandler(e)&&(u(this.drop,s.classPrefix+"-open"),u(this.drop,s.classPrefix+"-after-open"),this.drop.addEventListener(g,this.transitionEndHandler),this.trigger("close"),"undefined"!==typeof this.tether&&this.tether.disable(),s.updateBodyClasses(),this.options.remove&&this.remove(e))}},{key:"remove",value:function(e){this.close(e),this.drop.parentNode&&this.drop.parentNode.removeChild(this.drop)}},{key:"position",value:function(){this.isOpened()&&"undefined"!==typeof this.tether&&this.tether.position()}},{key:"destroy",value:function(){this.remove(),"undefined"!==typeof this.tether&&this.tether.destroy();for(var e=0;e<this._boundEvents.length;++e){var t=this._boundEvents[e],n=t.element,r=t.event,i=t.handler;n.removeEventListener(r,i)}this._boundEvents=[],this.tether=null,this.drop=null,this.content=null,this.target=null,p(A[s.classPrefix],this),p(s.drops,this)}}]),n}(h);return s}var w=k();return document.addEventListener("DOMContentLoaded",(function(){w.updateBodyClasses()})),w}))},"5fbd":function(e,t,n){"use strict";var r=n("e1f3"),i=n("5706").HTML_OPEN_CLOSE_TAG_RE,a=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var i,o,s,c,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(c=e.src.slice(l,u),i=0;i<a.length;i++)if(a[i][0].test(c))break;if(i===a.length)return!1;if(r)return a[i][2];if(o=t+1,!a[i][1].test(c))for(;o<n;o++){if(e.sCount[o]<e.blkIndent)break;if(l=e.bMarks[o]+e.tShift[o],u=e.eMarks[o],c=e.src.slice(l,u),a[i][1].test(c)){0!==c.length&&o++;break}}return e.line=o,s=e.push("html_block","",0),s.map=[t,o],s.content=e.getLines(t,o,e.blkIndent,!0),!0}},"62e4":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},"6aea":function(e,t,n){var r=n("8ca0");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("35d6").default;e.exports.__inject__=function(e){i("effe31e0",r,e)}},"6dd8":function(e,t,n){"use strict";(function(e){var n=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),r="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,i=function(){return"undefined"!==typeof e&&e.Math===Math?e:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")()}(),a=function(){return"function"===typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)}}(),o=2;function s(e,t){var n=!1,r=!1,i=0;function s(){n&&(n=!1,e()),r&&l()}function c(){a(s)}function l(){var e=Date.now();if(n){if(e-i<o)return;r=!0}else n=!0,r=!1,setTimeout(c,t);i=e}return l}var c=20,l=["top","right","bottom","left","width","height","size","weight"],u="undefined"!==typeof MutationObserver,d=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=s(this.refresh.bind(this),c)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var e=this.updateObservers_();e&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t,r=l.some((function(e){return!!~n.indexOf(e)}));r&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),h=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},f=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||i},p=x(0,0,0,0);function m(e){return parseFloat(e)||0}function b(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){var r=e["border-"+n+"-width"];return t+m(r)}),0)}function g(e){for(var t=["top","right","bottom","left"],n={},r=0,i=t;r<i.length;r++){var a=i[r],o=e["padding-"+a];n[a]=m(o)}return n}function v(e){var t=e.getBBox();return x(0,0,t.width,t.height)}function _(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var r=f(e).getComputedStyle(e),i=g(r),a=i.left+i.right,o=i.top+i.bottom,s=m(r.width),c=m(r.height);if("border-box"===r.boxSizing&&(Math.round(s+a)!==t&&(s-=b(r,"left","right")+a),Math.round(c+o)!==n&&(c-=b(r,"top","bottom")+o)),!A(e)){var l=Math.round(s+a)-t,u=Math.round(c+o)-n;1!==Math.abs(l)&&(s-=l),1!==Math.abs(u)&&(c-=u)}return x(i.left,i.top,s,c)}var y=function(){return"undefined"!==typeof SVGGraphicsElement?function(e){return e instanceof f(e).SVGGraphicsElement}:function(e){return e instanceof f(e).SVGElement&&"function"===typeof e.getBBox}}();function A(e){return e===f(e).document.documentElement}function k(e){return r?y(e)?v(e):_(e):p}function w(e){var t=e.x,n=e.y,r=e.width,i=e.height,a="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,o=Object.create(a.prototype);return h(o,{x:t,y:n,width:r,height:i,top:n,right:t+r,bottom:i+n,left:t}),o}function x(e,t,n,r){return{x:e,y:t,width:n,height:r}}var M=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=x(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=k(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),C=function(){function e(e,t){var n=w(t);h(this,{target:e,contentRect:n})}return e}(),S=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!==typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new M(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new C(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),E="undefined"!==typeof WeakMap?new WeakMap:new n,D=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=d.getInstance(),r=new S(t,n,this);E.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach((function(e){D.prototype[e]=function(){var t;return(t=E.get(this))[e].apply(t,arguments)}}));var T=function(){return"undefined"!==typeof i.ResizeObserver?i.ResizeObserver:D}();t["a"]=T}).call(this,n("c8ba"))},"6e00":function(e,t,n){"use strict";for(var r=n("0068").isSpace,i=[],a=0;a<256;a++)i.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){i[e.charCodeAt(0)]=1})),e.exports=function(e,t){var n,a=e.pos,o=e.posMax;if(92!==e.src.charCodeAt(a))return!1;if(a++,a<o){if(n=e.src.charCodeAt(a),n<256&&0!==i[n])return t||(e.pending+=e.src[a]),e.pos+=2,!0;if(10===n){t||e.push("hardbreak","br",0),a++;while(a<o){if(n=e.src.charCodeAt(a),!r(n))break;a++}return e.pos=a,!0}}return t||(e.pending+="\\"),e.pos++,!0}},"6e98":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
var t={format:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),standalone:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_")},n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),r=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],i=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function a(e){return e>1&&e<5&&1!==~~(e/10)}function o(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"pár sekund":"pár sekundami";case"ss":return t||r?i+(a(e)?"sekundy":"sekund"):i+"sekundami";case"m":return t?"minuta":r?"minutu":"minutou";case"mm":return t||r?i+(a(e)?"minuty":"minut"):i+"minutami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?i+(a(e)?"hodiny":"hodin"):i+"hodinami";case"d":return t||r?"den":"dnem";case"dd":return t||r?i+(a(e)?"dny":"dní"):i+"dny";case"M":return t||r?"měsíc":"měsícem";case"MM":return t||r?i+(a(e)?"měsíce":"měsíců"):i+"měsíci";case"y":return t||r?"rok":"rokem";case"yy":return t||r?i+(a(e)?"roky":"let"):i+"lety"}}var s=e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s}))},"410c":function(e,t,n){var r={"./ar":"8e73","./ar.js":"8e73","./cs":"3c0d","./cs.js":"3c0d","./de":"b469","./de.js":"b469","./el":"8d47","./el.js":"8d47","./en-ie":"e1d3","./en-ie.js":"e1d3","./es":"898b","./es.js":"898b","./fr":"9f26","./fr.js":"9f26","./it":"6e98","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./pt-br":"d2d4","./pt-br.js":"d2d4","./zh-tw":"90ea","./zh-tw.js":"90ea"};function i(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=a,e.exports=i,i.id="410c"},4236:function(e,t,n){"use strict";var r=n("0068").isSpace;e.exports=function(e,t){var n,i,a,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;if(n=e.pending.length-1,i=e.posMax,!t)if(n>=0&&32===e.pending.charCodeAt(n))if(n>=1&&32===e.pending.charCodeAt(n-1)){a=n-1;while(a>=1&&32===e.pending.charCodeAt(a-1))a--;e.pending=e.pending.slice(0,a),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);o++;while(o<i&&r(e.src.charCodeAt(o)))o++;return e.pos=o,!0}},"428d":function(e,t,n){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},"43e0":function(e,t,n){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}},"44a8":function(e,t,n){"use strict";e.exports=function(e,t){var n,r,i,a,o,s,c=t+1,l=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(s=e.parentType,e.parentType="paragraph";c<u&&!e.isEmpty(c);c++)if(!(e.sCount[c]-e.blkIndent>3)&&!(e.sCount[c]<0)){for(r=!1,i=0,a=l.length;i<a;i++)if(l[i](e,c,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,c,e.blkIndent,!1).trim(),e.line=c,o=e.push("paragraph_open","p",1),o.map=[t,e.line],o=e.push("inline","",0),o.content=n,o.map=[t,e.line],o.children=[],o=e.push("paragraph_close","p",-1),e.parentType=s,!0}},"472d":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"dropdown",staticClass:"bunt-popover-inner",attrs:{role:"dialog",tabindex:"-1"},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.closeDropdown.apply(null,arguments)}}},[e._t("default")],2)},i=[],a=n("5c8f"),o=n.n(a);const s=o.a.createContext({classPrefix:"bunt-drop"});var c=s,l={name:"bunt-popover",props:{target:{type:String},dropdownPosition:{type:String,default:"bottom middle"},openOn:{type:String,default:"click"}},mounted(){if(this.target){const e=this.$parent.$refs[this.target];e.$el?this._target=e.$el:this._target=e,this.drop=new c({target:this._target,content:this.$refs.dropdown,position:this.dropdownPosition,constrainToWindow:!0,openOn:this.openOn}),"bottom left"!==this.dropdownPosition&&(this.drop.open(),this.drop.close(),this.drop.open(),this.drop.close())}},beforeDestroy(){this.drop&&(this.drop.remove(),this.drop.destroy())},methods:{openDropdown(){this.drop&&this.drop.open()},closeDropdown(){this.drop&&this.drop.close()},toggleDropdown(e){this.drop&&this.drop.toggle(e)},positionDrop(){const e=this.drop,t=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;let n=e.drop.getBoundingClientRect().width,r=e.target.getBoundingClientRect().left,i=t-r;if(n>i){let t=n>i?"right":"left";e.tether.attachment.left=t,e.tether.targetAttachment.left=t,e.position()}},dropdownOpened(){this.lastFocussedElement=document.activeElement,this.$refs.dropdown.focus(),this.$emit("opened")},dropdownClosed(){this.lastFocussedElement&&this.lastFocussedElement.focus(),this.$emit("closed")}}},u=l,d=n("2877"),h=Object(d["a"])(u,r,i,!1,null,null,null,!0);t["default"]=h.exports},4883:function(e,t,n){"use strict";function r(){this.__rules__=[],this.__cache__=null}r.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},r.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},r.prototype.at=function(e,t,n){var r=this.__find__(e),i=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null},r.prototype.before=function(e,t,n,r){var i=this.__find__(e),a=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},r.prototype.after=function(e,t,n,r){var i=this.__find__(e),a=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},r.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},r.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},r.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},r.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},r.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=r},"4a23":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,'.c-grid-schedule{flex:auto;background-color:#fafafa}.c-grid-schedule .grid{display:grid;grid-template-columns:78px repeat(var(--total-rooms),1fr) auto;position:relative;min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content}.c-grid-schedule .grid>.room{position:sticky;top:calc(var(--pretalx-sticky-date-offset) + var(--pretalx-sticky-top-offset, 0px));display:flex;justify-content:center;align-items:center;font-size:18px;background-color:#fff;border-bottom:1px solid rgba(0,0,0,.12);z-index:20}.c-grid-schedule .grid>.room .room-description{border:2px solid #bdbdbd;border-radius:100%;height:20px;width:20px;padding:0;font-weight:700;min-width:0;color:#9e9e9e;background-color:#fff;margin-left:8px}.c-grid-schedule .grid>.room .room-description:hover{background-color:#d9d9d9}.c-grid-schedule .grid>.room .room-description.autofocus:focus,body[modality=keyboard] .c-grid-schedule .grid>.room .room-description:focus{background-color:#d9d9d9;outline-color:#bfbfbf;outline-width:2px;outline-offset:2px}.c-grid-schedule .grid>.room .room-description .bunt-ripple-ink .ripple.held{opacity:.7}.c-grid-schedule .grid>.room .room-description.error{background-color:#f44336}.c-grid-schedule .grid>.room .room-description.error:hover{background-color:#f01d0d}.c-grid-schedule .grid>.room .room-description.error.autofocus:focus,body[modality=keyboard] .c-grid-schedule .grid>.room .room-description.error:focus{background-color:#f01d0d;outline-color:#d4190c}.c-grid-schedule .grid>.room .room-description.success{background-color:#4caf50}.c-grid-schedule .grid>.room .room-description.success:hover{background-color:#419544}.c-grid-schedule .grid>.room .room-description.success.autofocus:focus,body[modality=keyboard] .c-grid-schedule .grid>.room .room-description.success:focus{background-color:#419544;outline-color:#39833c}.c-grid-schedule .grid>.room .room-description .bunt-progress-circular svg circle{stroke:#9e9e9e}.c-grid-schedule .grid>.room .room-description .bunt-tooltip{height:auto;width:200px;white-space:normal}.c-grid-schedule .grid .break .time-box{background-color:#9e9e9e}.c-grid-schedule .grid .break .time-box .start{color:#fff}.c-grid-schedule .grid .break .time-box .duration{color:hsla(0,0%,100%,.7)}.c-grid-schedule .grid .break .info{background-color:#eee;border:none;justify-content:center;align-items:center}.c-grid-schedule .grid .break .info .title{font-size:20px;font-weight:500;color:rgba(0,0,0,.54);align:center}.c-grid-schedule .timeslice{color:rgba(0,0,0,.54);padding:8px 10px 0 16px;white-space:nowrap;position:sticky;left:0;text-align:center;background-color:#fafafa;border-top:1px solid rgba(0,0,0,.12);z-index:20}.c-grid-schedule .timeslice.datebreak{font-weight:600;border-top:3px solid rgba(0,0,0,.12);white-space:pre}.c-grid-schedule .timeslice.gap:before{content:"";display:block;width:6px;height:calc(100% - 42px);position:absolute;top:30px;left:50%;background-image:radial-gradient(circle closest-side,#9e9e9e calc(100% - .5px),transparent 100%);background-position:0 0;background-size:5px 15px;background-repeat:repeat-y}.c-grid-schedule .timeline{height:1px;background-color:rgba(0,0,0,.12);position:absolute;width:100%}.c-grid-schedule .timeline.datebreak{height:3px}.c-grid-schedule .now{z-index:20;position:sticky;left:2px}.c-grid-schedule .now:before{content:"";display:block;height:2px;background-color:#f44336;position:absolute;top:calc(var(--offset)*100%);width:100%}.c-grid-schedule .now.on-daybreak:before{background:repeating-linear-gradient(90deg,transparent,transparent 5px,#f44336 0,#f44336 10px)}.c-grid-schedule .now svg{position:absolute;top:calc(var(--offset)*100% - 11px);height:24px;width:24px;fill:#f44336}.c-grid-schedule .bunt-scrollbar-rail-wrapper-x,.c-grid-schedule .bunt-scrollbar-rail-wrapper-y{z-index:30}',""]),e.exports=t},"4a94":function(e,t,n){"use strict";e.exports=function(e,t){var n,r,i,a,o,s,c,l,u=e.pos,d=e.src.charCodeAt(u);if(96!==d)return!1;n=u,u++,r=e.posMax;while(u<r&&96===e.src.charCodeAt(u))u++;if(i=e.src.slice(n,u),c=i.length,e.backticksScanned&&(e.backticks[c]||0)<=n)return t||(e.pending+=i),e.pos+=c,!0;o=s=u;while(-1!==(o=e.src.indexOf("`",s))){s=o+1;while(s<r&&96===e.src.charCodeAt(s))s++;if(l=s-o,l===c)return t||(a=e.push("code_inline","code",0),a.markup=i,a.content=e.src.slice(u,o).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=s,!0;e.backticks[l]=o}return e.backticksScanned=!0,t||(e.pending+=i),e.pos+=c,!0}},"4b3e":function(e,t,n){"use strict";var r=n("0068").isSpace;function i(e,t){var n,i,a,o;return i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],n=e.src.charCodeAt(i++),42!==n&&45!==n&&43!==n||i<a&&(o=e.src.charCodeAt(i),!r(o))?-1:i}function a(e,t){var n,i=e.bMarks[t]+e.tShift[t],a=i,o=e.eMarks[t];if(a+1>=o)return-1;if(n=e.src.charCodeAt(a++),n<48||n>57)return-1;for(;;){if(a>=o)return-1;if(n=e.src.charCodeAt(a++),!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(a-i>=10)return-1}return a<o&&(n=e.src.charCodeAt(a),!r(n))?-1:a}function o(e,t){var n,r,i=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===i&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}e.exports=function(e,t,n,r){var s,c,l,u,d,h,f,p,m,b,g,v,_,y,A,k,w,x,M,C,S,E,D,T,O,L,P,z,Y=!1,N=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]<e.blkIndent)return!1;if(r&&"paragraph"===e.parentType&&e.sCount[t]>=e.blkIndent&&(Y=!0),(D=a(e,t))>=0){if(f=!0,O=e.bMarks[t]+e.tShift[t],_=Number(e.src.slice(O,D-1)),Y&&1!==_)return!1}else{if(!((D=i(e,t))>=0))return!1;f=!1}if(Y&&e.skipSpaces(D)>=e.eMarks[t])return!1;if(v=e.src.charCodeAt(D-1),r)return!0;g=e.tokens.length,f?(z=e.push("ordered_list_open","ol",1),1!==_&&(z.attrs=[["start",_]])):z=e.push("bullet_list_open","ul",1),z.map=b=[t,0],z.markup=String.fromCharCode(v),A=t,T=!1,P=e.md.block.ruler.getRules("list"),x=e.parentType,e.parentType="list";while(A<n){E=D,y=e.eMarks[A],h=k=e.sCount[A]+D-(e.bMarks[t]+e.tShift[t]);while(E<y){if(s=e.src.charCodeAt(E),9===s)k+=4-(k+e.bsCount[A])%4;else{if(32!==s)break;k++}E++}if(c=E,d=c>=y?1:k-h,d>4&&(d=1),u=h+d,z=e.push("list_item_open","li",1),z.markup=String.fromCharCode(v),z.map=p=[t,0],f&&(z.info=e.src.slice(O,D-1)),S=e.tight,C=e.tShift[t],M=e.sCount[t],w=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=u,e.tight=!0,e.tShift[t]=c-e.bMarks[t],e.sCount[t]=k,c>=y&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!T||(N=!1),T=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=w,e.tShift[t]=C,e.sCount[t]=M,e.tight=S,z=e.push("list_item_close","li",-1),z.markup=String.fromCharCode(v),A=t=e.line,p[1]=A,c=e.bMarks[t],A>=n)break;if(e.sCount[A]<e.blkIndent)break;if(e.sCount[t]-e.blkIndent>=4)break;for(L=!1,l=0,m=P.length;l<m;l++)if(P[l](e,A,n,!0)){L=!0;break}if(L)break;if(f){if(D=a(e,A),D<0)break;O=e.bMarks[A]+e.tShift[A]}else if(D=i(e,A),D<0)break;if(v!==e.src.charCodeAt(D-1))break}return z=f?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1),z.markup=String.fromCharCode(v),b[1]=A,e.line=A,e.parentType=x,N&&o(e,g),!0}},"4c26":function(e,t,n){"use strict";var r=/\r\n?|\n/g,i=/\0/g;e.exports=function(e){var t;t=e.src.replace(r,"\n"),t=t.replace(i,"�"),e.src=t}},"4cb4":function(e,t,n){"use strict";var r=n("4883"),i=[["text",n("baca")],["newline",n("4236")],["escape",n("6e00")],["backticks",n("4a94")],["strikethrough",n("922c").tokenize],["emphasis",n("c8a9").tokenize],["link",n("cd0f")],["image",n("932d")],["autolink",n("28ec")],["html_inline",n("c2d8")],["entity",n("5b54")]],a=[["balance_pairs",n("838d")],["strikethrough",n("922c").postProcess],["emphasis",n("c8a9").postProcess],["text_collapse",n("2085")]];function o(){var e;for(this.ruler=new r,e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1]);for(this.ruler2=new r,e=0;e<a.length;e++)this.ruler2.push(a[e][0],a[e][1])}o.prototype.skipToken=function(e){var t,n,r=e.pos,i=this.ruler.getRules(""),a=i.length,o=e.md.options.maxNesting,s=e.cache;if("undefined"===typeof s[r]){if(e.level<o){for(n=0;n<a;n++)if(e.level++,t=i[n](e,!0),e.level--,t)break}else e.pos=e.posMax;t||e.pos++,s[r]=e.pos}else e.pos=s[r]},o.prototype.tokenize=function(e){var t,n,r=this.ruler.getRules(""),i=r.length,a=e.posMax,o=e.md.options.maxNesting;while(e.pos<a){if(e.level<o)for(n=0;n<i;n++)if(t=r[n](e,!1),t)break;if(t){if(e.pos>=a)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},o.prototype.parse=function(e,t,n,r){var i,a,o,s=new this.State(e,t,n,r);for(this.tokenize(s),a=this.ruler2.getRules(""),o=a.length,i=0;i<o;i++)a[i](s)},o.prototype.State=n("097b"),e.exports=o},"4fc2":function(e,t){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},"565b":function(e,t,n){"use strict";t.parseLinkLabel=n("df56"),t.parseLinkDestination=n("e4ca"),t.parseLinkTitle=n("7d91")},5706:function(e,t,n){"use strict";var r="[a-zA-Z_:][a-zA-Z0-9:._-]*",i="[^\"'=<>`\\x00-\\x20]+",a="'[^']*'",o='"[^"]*"',s="(?:"+i+"|"+a+"|"+o+")",c="(?:\\s+"+r+"(?:\\s*=\\s*"+s+")?)",l="<[A-Za-z][A-Za-z0-9\\-]*"+c+"*\\s*\\/?>",u="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",d="\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e",h="<[?][\\s\\S]*?[?]>",f="<![A-Z]+\\s+[^>]*>",p="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",m=new RegExp("^(?:"+l+"|"+u+"|"+d+"|"+h+"|"+f+"|"+p+")"),b=new RegExp("^(?:"+l+"|"+u+")");e.exports.HTML_TAG_RE=m,e.exports.HTML_OPEN_CLOSE_TAG_RE=b},"5a74":function(e,t,n){"use strict";if(n.r(t),"undefined"!==typeof window){var r=window.document.currentScript;if(Object({NODE_ENV:"production",BASE_URL:"/"}).NEED_CURRENTSCRIPT_POLYFILL){var i=n("8875");r=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i})}var a=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);a&&(n.p=a[1])}var o=n("2b0e");const s=/-(\w)/g,c=e=>e.replace(s,(e,t)=>t?t.toUpperCase():""),l=/\B([A-Z])/g,u=e=>e.replace(l,"-$1").toLowerCase();function d(e){const t={};return e.forEach(e=>{t[e]=void 0}),t}function h(e,t,n){e[t]=[].concat(e[t]||[]),e[t].unshift(n)}function f(e,t){if(e){const n=e.$options[t]||[];n.forEach(t=>{t.call(e)})}}function p(e,t){return new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:t})}const m=e=>/function Boolean/.test(String(e)),b=e=>/function Number/.test(String(e));function g(e,t,{type:n}={}){if(m(n))return"true"===e||"false"===e?"true"===e:""===e||e===t||null!=e||e;if(b(n)){const t=parseFloat(e,10);return isNaN(t)?e:t}return e}function v(e,t){const n=[];for(let r=0,i=t.length;r<i;r++)n.push(_(e,t[r]));return n}function _(e,t){if(3===t.nodeType)return t.data.trim()?t.data:null;if(1===t.nodeType){const n={attrs:y(t),domProps:{innerHTML:t.innerHTML}};return n.attrs.slot&&(n.slot=n.attrs.slot,delete n.attrs.slot),e(t.tagName,n)}return null}function y(e){const t={};for(let n=0,r=e.attributes.length;n<r;n++){const r=e.attributes[n];t[r.nodeName]=r.nodeValue}return t}function A(e,t){const n="function"===typeof t&&!t.cid;let r,i,a,o=!1;function s(e){if(o)return;const t="function"===typeof e?e.options:e,n=Array.isArray(t.props)?t.props:Object.keys(t.props||{});r=n.map(u),i=n.map(c);const s=Array.isArray(t.props)?{}:t.props||{};a=i.reduce((e,t,r)=>(e[t]=s[n[r]],e),{}),h(t,"beforeCreate",(function(){const e=this.$emit;this.$emit=(t,...n)=>(this.$root.$options.customElement.dispatchEvent(p(t,n)),e.call(this,t,...n))})),h(t,"created",(function(){i.forEach(e=>{this.$root.props[e]=this[e]})})),i.forEach(e=>{Object.defineProperty(m.prototype,e,{get(){return this._wrapper.props[e]},set(t){this._wrapper.props[e]=t},enumerable:!1,configurable:!0})}),o=!0}function l(e,t){const n=c(t),r=e.hasAttribute(t)?e.getAttribute(t):void 0;e._wrapper.props[n]=g(r,t,a[n])}class m extends HTMLElement{constructor(){const n=super();n.attachShadow({mode:"open"});const r=n._wrapper=new e({name:"shadow-root",customElement:n,shadowRoot:n.shadowRoot,data(){return{props:{},slotChildren:[]}},render(e){return e(t,{ref:"inner",props:this.props},this.slotChildren)}}),i=new MutationObserver(e=>{let t=!1;for(let r=0;r<e.length;r++){const i=e[r];o&&"attributes"===i.type&&i.target===n?l(n,i.attributeName):t=!0}t&&(r.slotChildren=Object.freeze(v(r.$createElement,n.childNodes)))});i.observe(n,{childList:!0,subtree:!0,characterData:!0,attributes:!0})}get vueComponent(){return this._wrapper.$refs.inner}connectedCallback(){const e=this._wrapper;if(e._isMounted)f(this.vueComponent,"activated");else{const n=()=>{e.props=d(i),r.forEach(e=>{l(this,e)})};o?n():t().then(e=>{(e.__esModule||"Module"===e[Symbol.toStringTag])&&(e=e.default),s(e),n()}),e.slotChildren=Object.freeze(v(e.$createElement,this.childNodes)),e.$mount(),this.shadowRoot.appendChild(e.$el)}}disconnectedCallback(){f(this.vueComponent,"deactivated")}}return n||s(t),m}var k=A,w=(n("24fb"),n("35d6"),n("2877")),x=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"pretalx-schedule",class:e.showGrid?["grid-schedule"]:["list-schedule"],style:{"--scrollparent-width":e.scrollParentWidth+"px","--schedule-max-width":e.scheduleMaxWidth+"px","--pretalx-sticky-date-offset":e.days&&e.days.length>1?"48px":"0px"}},[e.scheduleError?[e._m(0)]:e.schedule&&e.sessions?[e.showFilterModal?n("div",{staticClass:"modal-overlay",on:{click:function(t){t.stopPropagation(),e.showFilterModal=!1}}},[n("div",{staticClass:"modal-box",on:{click:function(e){e.stopPropagation()}}},[n("h3",[e._v("Tracks")]),e._l(e.allTracks,(function(t){return n("div",{key:t.value,staticClass:"checkbox-line",style:{"--track-color":t.color}},[n("bunt-checkbox",{attrs:{type:"checkbox",label:t.label,name:t.value+t.label,value:t.value},on:{input:function(t){e.onlyFavs=!1}},model:{value:t.selected,callback:function(n){e.$set(t,"selected",n)},expression:"track.selected"}}),e.getLocalizedString(t.description).length?n("div",{staticClass:"track-description"},[e._v(e._s(e.getLocalizedString(t.description)))]):e._e()],1)}))],2)]):e._e(),n("div",{staticClass:"settings"},[this.schedule.tracks.length?n("bunt-button",{staticClass:"filter-tracks",on:{click:function(t){e.showFilterModal=!0}}},[n("svg",{attrs:{id:"filter",viewBox:"0 0 752 752"}},[n("path",{attrs:{d:"m401.57 264.71h-174.75c-6.6289 0-11.84 5.2109-11.84 11.84 0 6.6289 5.2109 11.84 11.84 11.84h174.75c5.2109 17.523 21.312 30.309 40.727 30.309 18.941 0 35.52-12.785 40.254-30.309h43.098c6.6289 0 11.84-5.2109 11.84-11.84 0-6.6289-5.2109-11.84-11.84-11.84h-43.098c-5.2109-17.523-21.312-30.309-40.254-30.309-19.414 0-35.516 12.785-40.727 30.309zm58.723 11.84c0 10.418-8.5234 18.469-18.469 18.469s-18.469-8.0508-18.469-18.469 8.5234-18.469 18.469-18.469c9.4727-0.003906 18.469 8.0469 18.469 18.469z"}}),n("path",{attrs:{d:"m259.5 359.43h-32.676c-6.6289 0-11.84 5.2109-11.84 11.84s5.2109 11.84 11.84 11.84h32.676c5.2109 17.523 21.312 30.309 40.727 30.309 18.941 0 35.52-12.785 40.254-30.309h185.17c6.6289 0 11.84-5.2109 11.84-11.84s-5.2109-11.84-11.84-11.84h-185.17c-5.2109-17.523-21.312-30.309-40.254-30.309-19.418 0-35.52 12.785-40.73 30.309zm58.723 11.84c0 10.418-8.5234 18.469-18.469 18.469-9.9453 0-18.469-8.0508-18.469-18.469s8.5234-18.469 18.469-18.469c9.9453 0 18.469 8.0508 18.469 18.469z"}}),n("path",{attrs:{d:"m344.75 463.61h-117.92c-6.6289 0-11.84 5.2109-11.84 11.84s5.2109 11.84 11.84 11.84h117.92c5.2109 17.523 21.312 30.309 40.727 30.309 18.941 0 35.52-12.785 40.254-30.309h99.926c6.6289 0 11.84-5.2109 11.84-11.84s-5.2109-11.84-11.84-11.84h-99.926c-5.2109-17.523-21.312-30.309-40.254-30.309-19.418 0-35.52 12.785-40.727 30.309zm58.723 11.84c0 10.418-8.5234 18.469-18.469 18.469s-18.469-8.0508-18.469-18.469 8.5234-18.469 18.469-18.469 18.469 8.0508 18.469 18.469z"}})]),[e._v("Filter")],e.filteredTracks.length?[e._v("("+e._s(e.filteredTracks.length)+")")]:e._e()],2):e._e(),e.favs.length?n("bunt-button",{staticClass:"fav-toggle",class:e.onlyFavs?["active"]:[],on:{click:function(t){e.onlyFavs=!e.onlyFavs,e.onlyFavs&&e.resetFilteredTracks()}}},[n("svg",{attrs:{id:"star",viewBox:"0 0 24 24"}},[n("polygon",{style:{fill:"#FFA000",stroke:"#FFA000"},attrs:{points:"14.43,10 12,2 9.57,10 2,10 8.18,14.41 5.83,22 12,17.31 18.18,22 15.83,14.41 22,10"}})]),[e._v(e._s(e.favs.length))]],2):e._e(),e.inEventTimezone?[n("div",{staticClass:"timezone-label bunt-tab-header-item"},[e._v(e._s(e.schedule.timezone))])]:[n("bunt-select",{attrs:{name:"timezone",options:[{id:e.schedule.timezone,label:e.schedule.timezone},{id:e.userTimezone,label:e.userTimezone}]},on:{blur:e.saveTimezone},model:{value:e.currentTimezone,callback:function(t){e.currentTimezone=t},expression:"currentTimezone"}})]],2),e.days&&e.days.length>1?n("bunt-tabs",{ref:"tabs",staticClass:"days",class:e.showGrid?["grid-tabs"]:["list-tabs"],attrs:{"active-tab":e.currentDay&&e.currentDay.format()}},e._l(e.days,(function(t){return n("bunt-tab",{attrs:{id:t.format(),header:t.format(e.dateFormat)},on:{selected:function(n){return e.changeDay(t)}}})})),1):e._e(),e.showGrid?n("grid-schedule",{attrs:{sessions:e.sessions,rooms:e.rooms,currentDay:e.currentDay,now:e.now,scrollParent:e.scrollParent,favs:e.favs},on:{changeDay:function(t){e.currentDay=t},fav:function(t){return e.fav(t)},unfav:function(t){return e.unfav(t)}}}):n("linear-schedule",{attrs:{sessions:e.sessions,currentDay:e.currentDay,now:e.now,scrollParent:e.scrollParent,favs:e.favs},on:{changeDay:function(t){e.currentDay=t},fav:function(t){return e.fav(t)},unfav:function(t){return e.unfav(t)}}})]:n("bunt-progress-circular",{attrs:{size:"huge",page:!0}})],2)},M=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"schedule-error"},[n("div",{staticClass:"error-message"},[e._v("An error occurred while loading the schedule. Please try again later.")])])}],C=n("6dd8");class S{constructor(e,t){if(this.options=t,this.onScroll=this.onScroll.bind(this),this.onDocumentMousemove=this.onDocumentMousemove.bind(this),this.onDocumentMouseup=this.onDocumentMouseup.bind(this),this.onThumbMousedownX=this.onThumbMousedown.bind(this,"x"),this.onThumbMousedownY=this.onThumbMousedown.bind(this,"y"),this.onResize=this.onResize.bind(this),this.el=e,this.railsParent=t.railsParent||this.el,this.refreshStyling(),t.scrollX&&this.createRail("x"),t.scrollY&&this.createRail("y"),t.manualCompute||(this.computeDimensions(),this.computeThumbPositions(),this.update()),this.el.addEventListener("scroll",this.onScroll),!t.manualUpdate){this.resizeObserver=new C["a"](this.onResize),this.resizeObserver.observe(this.el);for(const e of this.el.children)this.resizeObserver.observe(e);this.mutationObserver=new MutationObserver(e=>{for(const t of e){for(const e of t.addedNodes)e.nodeType===Node.ELEMENT_NODE&&this.resizeObserver.observe(e);for(const e of t.removedNodes)e.nodeType===Node.ELEMENT_NODE&&this.resizeObserver.unobserve(e)}this.onResize()}),this.mutationObserver.observe(this.el,{childList:!0})}}createRail(e){const t=document.createElement("div");t.classList.add("bunt-scrollbar-rail-wrapper-"+e);const n=document.createElement("div");n.classList.add("bunt-scrollbar-rail-"+e);const r=document.createElement("div");r.classList.add("bunt-scrollbar-thumb"),t.appendChild(n),n.appendChild(r),this.railsParent.appendChild(t),r.addEventListener("mousedown",this["onThumbMousedown"+e.toUpperCase()]),this[e]={railEl:n,thumbEl:r}}destroy(){var e,t,n,r;null===(e=this.resizeObserver)||void 0===e||e.disconnect(),null===(t=this.mutationObserver)||void 0===t||t.disconnect(),document.removeEventListener("mousemove",this.onDocumentMousemove),document.removeEventListener("mouseup",this.onDocumentMouseup,{capture:!0}),this.el.removeEventListener("scroll",this.onScroll),null===(n=this.x)||void 0===n||n.thumbEl.removeEventListener("mousedown",this.onThumbMousedownX),null===(r=this.y)||void 0===r||r.thumbEl.removeEventListener("mousedown",this.onThumbMousedownY)}refreshStyling(){this.el.classList.add("bunt-scrollbar")}update(){this.updateThumb("x"),this.updateThumb("y")}onScroll(e){this.options.onScroll&&this.options.onScroll(e),this.computeThumbPositions(),this.update()}onThumbMousedown(e,t){t.stopPropagation(),this.options._preventMousedown&&t.preventDefault(),this.dragging=e,this.draggingOffset=t["offset"+e.toUpperCase()],this.el.style.userSelect="none",document.body.style["-moz-user-select"]="none",this[e].railEl.classList.add("active"),document.addEventListener("mousemove",this.onDocumentMousemove),document.addEventListener("mouseup",this.onDocumentMouseup,{capture:!0})}onDocumentMousemove(e){if("x"===this.dragging){const t=this.el.clientWidth-this.x.thumbLength,n=e.clientX-this.el.getBoundingClientRect().left-this.draggingOffset;this.x.thumbPosition=Math.min(Math.max(0,n),t),this.el.scrollLeft=this.x.thumbPosition/t*(this.el.scrollWidth-this.el.clientWidth)}if("y"===this.dragging){const t=this.el.clientHeight-this.y.thumbLength,n=e.clientY-this.el.getBoundingClientRect().top-this.draggingOffset;this.y.thumbPosition=Math.min(Math.max(0,n),t),this.el.scrollTop=this.y.thumbPosition/t*(this.el.scrollHeight-this.el.clientHeight)}this.updateThumb(this.dragging)}onDocumentMouseup(e){this[this.dragging].railEl.classList.remove("active"),this.dragging=null,this.el.style.userSelect="",document.body.style["-moz-user-select"]="",document.removeEventListener("mousemove",this.onDocumentMousemove),document.removeEventListener("mouseup",this.onDocumentMouseup,{capture:!0})}onResize(e){this.computeDimensions(),this.computeThumbPositions(),this.update()}computeDimensions(){this.x&&(this.x.railLength=this.el.clientWidth,this.x.visibleRatio=this.el.clientWidth/this.el.scrollWidth,this.x.thumbLength=this.el.clientWidth*this.x.visibleRatio),this.y&&(this.y.railLength=this.el.clientHeight,this.y.visibleRatio=this.el.clientHeight/this.el.scrollHeight,this.y.thumbLength=this.el.clientHeight*this.y.visibleRatio)}computeThumbPositions(){this.x&&(this.x.thumbPosition=this.el.scrollLeft/(this.el.scrollWidth-this.el.clientWidth)*(this.el.clientWidth-this.x.thumbLength)),this.y&&(this.y.thumbPosition=this.el.scrollTop/(this.el.scrollHeight-this.el.clientHeight)*(this.el.clientHeight-this.y.thumbLength))}updateThumb(e){const t=this[e];t&&(t.visibleRatio>=1?t.thumbEl.style.display="none":(t.thumbEl.style.display=null,"x"===e?(t.railEl.style.width=t.railLength+"px",t.thumbEl.style.width=t.thumbLength+"px",t.thumbEl.style.left=t.thumbPosition+"px"):"y"===e&&(t.railEl.style.height=t.railLength+"px",t.thumbEl.style.height=t.thumbLength+"px",t.thumbEl.style.top=t.thumbPosition+"px")))}}var E=function(e){e.directive("scrollbar",{bind(e,t,n){var r;e.__buntpapier__scrollbar=new S(e,{scrollX:t.modifiers.x,scrollY:t.modifiers.y,_preventMousedown:null===(r=t.value)||void 0===r?void 0:r._preventMousedown})},inserted(e){e.__buntpapier__scrollbar&&(e.__buntpapier__scrollbar.refreshStyling(),e.__buntpapier__scrollbar.update())},componentUpdated(e,t,n,r){e.__buntpapier__scrollbar?(e.__buntpapier__scrollbar.refreshStyling(),e.__buntpapier__scrollbar.update()):e.__buntpapier__scrollbar=new S(e,{scrollX:t.modifiers.x,scrollY:t.modifiers.y})},unbind(e,t,n,r){e.__buntpapier__scrollbar&&e.__buntpapier__scrollbar.destroy()}})},D=n("f0bd");const T=32;var O=function(e){class t{constructor(e,t){this.el=e,this.options=t,this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.options.placement=t.placement||"auto",this.el.addEventListener("mouseenter",this.show),this.el.addEventListener("mouseleave",this.hide)}createTooltip(){this.tooltipEl||(this.tooltipEl=document.createElement("div"),this.tooltipEl.classList.add("bunt-tooltip"),this.tooltipEl.style.position=this.options.fixed?"fixed":"absolute",this.tooltipEl.textContent=this.text,this.el.appendChild(this.tooltipEl),this.popper=new D["a"](this.el,this.tooltipEl,{removeOnDestroy:!0,placement:this.options.placement,positionFixed:this.options.fixed,modifiers:{offset:{offset:"0, 8"},applyStyle:{enabled:!1},preventOverflow:{boundariesElement:this.options.boundariesElement||"scrollParent"},applyTooltipStyle:{enabled:!0,fn:e=>{this.positions=e.popper,this.tooltipEl.style.transform=`translate3d(${Math.round(this.positions.left)}px, ${Math.round(this.positions.top)}px, 0)`},order:900}}}))}update(t,n){this.text=t,this.forceDisplay=n,e.nextTick(()=>{n?this.show():this.hide()})}destroyTooltip(){this.popper&&(this.popper.destroy(),this.popper=null,this.tooltipEl=null)}destroy(){this.destroyTooltip(),this.el.removeEventListener("mouseenter",this.show),this.el.removeEventListener("mouseleave",this.hide)}show(){!this.displaying&&this.text&&(this.createTooltip(),this.displaying=!0,e.nextTick(()=>{if(this.animation)this.animation.reverse();else{let e;e=this.options.placement.startsWith("top")?{top:Math.round(this.positions.top)+T,left:Math.round(this.positions.left)}:this.options.placement.startsWith("left")?{top:Math.round(this.positions.top),left:Math.round(this.positions.left)+T}:this.options.placement.startsWith("right")?{top:Math.round(this.positions.top),left:Math.round(this.positions.left)-T}:{top:Math.round(this.positions.top)-T,left:Math.round(this.positions.left)},this.animation=this.tooltipEl.animate([{transform:`translate3d(${e.left}px, ${e.top}px, 0)`,opacity:0},{transform:`translate3d(${Math.round(this.positions.left)}px, ${Math.round(this.positions.top)}px, 0)`,opacity:1}],{duration:200,easing:"ease-in-out"}),this.animation.onfinish=()=>{this.animation&&this.animation.playbackRate<0&&(this.destroyTooltip(),this.animation=null)}}}))}hide(){this.displaying&&!this.forceDisplay&&(this.displaying=!1,this.animation&&this.animation.reverse(),this.text||this.destroyTooltip())}}e.directive("tooltip",{bind(e,n,r){let i;i="string"===typeof n.value?n.value:n.value.text,e.__buntpapier__tooltip=new t(e,{placement:n.value.placement||Object.keys(n.modifiers).find(e=>["auto","top","right","bottom","left"].find(t=>e.startsWith(t))),fixed:n.value.fixed||n.modifiers.fixed,boundariesElement:n.value.boundariesElement}),e.__buntpapier__tooltip.update(i,n.value.show)},update(e,t,n,r){if(!e.__buntpapier__tooltip||t.value===t.oldValue)return;let i;i="string"===typeof t.value?t.value:t.value.text,e.__buntpapier__tooltip.update(i,t.value.show)},unbind(e,t,n,r){e.__buntpapier__tooltip&&e.__buntpapier__tooltip.destroy()}})},L=function(e){e.directive("resizeObserver",{bind(e,t){const n=new C["a"](t.value);n.observe(e),e.__buntpapier__resize_observer=n},unbind(e,t,n,r){e.__buntpapier__resize_observer&&e.__buntpapier__resize_observer.disconnect()}}),E(e),O(e)},P=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.tooltipOptions||{text:e._tooltip,show:!!this.errorMessage,placement:e.tooltipPlacement,fixed:e.tooltipFixed},expression:"tooltipOptions || {text: _tooltip, show: !!this.errorMessage, placement: tooltipPlacement, fixed: tooltipFixed}"}],ref:"button",staticClass:"bunt-button",class:{disabled:e.disabled||e.loading||e.showSuccess,error:e.errorMessage||e.error,success:e.showSuccess},attrs:{type:e.type,"aria-disabled":e.disabled},on:{click:e.onClick}},[n("div",{staticClass:"bunt-button-content",class:{invisible:e.loading||e.errorMessage||e.error||e.showSuccess}},[e.icon?n("i",{staticClass:"bunt-icon mdi",class:[e.iconClass]}):e._e(),n("div",{staticClass:"bunt-button-text"},[e._t("default",(function(){return[n("span",{domProps:{textContent:e._s(e.text)}})]}))],2)]),n("progress-circular",{directives:[{name:"show",rawName:"v-show",value:e.loading,expression:"loading"}],attrs:{size:"small"}}),e.errorMessage||e.error?n("i",{staticClass:"bunt-icon mdi mdi-replay error"}):e._e(),e.showSuccess?n("i",{staticClass:"bunt-icon mdi mdi-check success"}):e._e(),e.noInk||e.disabled?e._e():n("ripple-ink")],1)},z=[],Y=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-ripple-ink",on:{mousedown:function(t){return e.mousedown(t)},touchstart:function(t){return e.touchstart(t)}}},[n("transition",{attrs:{name:"ripple-ink"}},[e.show?n("div",{staticClass:"ripple",style:e.style}):e._e()])],1)},N=[],j={name:"bunt-ripple-ink",data(){return{show:!1,style:null}},methods:{mousedown(e){0===e.button&&this.ripple(e.type,e)},touchstart(e){if(e.changedTouches)for(let t=0;t<e.changedTouches.length;++t)this.ripple(e.type,e.changedTouches[t])},ripple(e,t){const n=this.$el,r=n.getAttribute("data-ui-event");if(r&&r!==e)return;n.setAttribute("data-ui-event",e);let i,a=n.getBoundingClientRect(),o=t.offsetX;void 0!==o?i=t.offsetY:(o=t.clientX-a.left,i=t.clientY-a.top);let s=a.width===a.height?1.412*a.width:Math.sqrt(a.width*a.width+a.height*a.height),c=2*s+"px";this.style={width:c,height:c,marginLeft:-s+o+"px",marginTop:-s+i+"px"},this.show=!0;const l=["mouseleave","mouseup","touchend"],u=()=>{l.forEach(e=>{n.removeEventListener(e,u)}),setTimeout(()=>{this.show=!1,this.style=null,n.removeAttribute("data-ui-event")},200)};l.forEach(e=>{n.addEventListener(e,u)})}}},F=j,R=Object(w["a"])(F,Y,N,!1,null,null,null,!0),B=R.exports,$={props:{noInk:{type:Boolean,default:!1}},components:{RippleInk:B}},I=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-progress-circular active",class:[e.size,{"progress-center":e.center,"progress-page":e.page}]},[n("svg",{attrs:{viewBox:"25 25 50 50"}},[n("circle",{attrs:{cx:"50",cy:"50",r:"20"}})])])},q=[],H={props:{center:{type:Boolean,default:!1},page:{type:Boolean,default:!1},size:{type:String,default:"normal"}},data(){return{}},ready(){},beforeDestroy(){},methods:{}},W=H,U=Object(w["a"])(W,I,q,!1,null,null,null,!0),V=U.exports;const G={add:"plus",done:"check",remove:"minus",search:"magnify",help_outline:"help-circle-outline"};var K={getClass(e){return e?"mdi-"+(G[e]||e).replace("_","-"):""}},Z={name:"bunt-button",components:{ProgressCircular:V},mixins:[$],props:{text:String,icon:String,iconRight:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},type:{type:String,default:"button"},error:Boolean,errorMessage:String,successAfterLoading:{type:Boolean,default:!0},tooltip:String,tooltipPlacement:{type:String,default:"bottom"},tooltipFixed:{type:Boolean,default:!1},tooltipOptions:Object},data(){return{_loading:!1,showSuccess:!1}},computed:{_tooltip(){return this.errorMessage?this.errorMessage:this.tooltip},iconClass(){return K.getClass(this.icon)}},watch:{loading:"loadingChanged",errorMessage:"errorChanged",error:"errorChanged"},methods:{loadingChanged(e){if(e)this._loading=e,this.userShowTooltip=!1,this.showSuccess=!1,this.$successTimeout&&clearTimeout(this.$successTimeout);else{if(this._loading=e,this.errorMessage||this.error)return;this.showSuccess=!0,this.$successTimeout=setTimeout(()=>{this.showSuccess=!1},3e3)}},errorChanged(e){null!==e&&(this.showSuccess=!1)},onClick(e){this.disabled||this.loading||this.showSuccess||this.$emit("click",e)}}},X=Z,J=Object(w["a"])(X,P,z,!1,null,null,null,!0),Q=J.exports,ee=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-checkbox",class:{checked:e.value}},[n("input",{attrs:{type:"checkbox",name:e.name,disabled:e.disabled,readonly:e.readonly},domProps:{checked:e.value},on:{change:function(t){return e.onChange(t)},focus:function(t){e.focused=!0},blur:e.onBlur}}),n("div",{staticClass:"bunt-checkbox-box"}),e.label?n("label",[e._v(e._s(e.label))]):n("label",[e._t("default")],2)])},te=[],ne={name:"bunt-checkbox",components:{},props:{value:{type:Boolean,default:!1},name:{type:String,required:!0},label:String,disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},data(){return{focused:!1}},computed:{},created(){},mounted(){this.$nextTick(()=>{})},methods:{onChange(e){this.$emit("input",e.target.checked),this.validation&&this.validation.$touch()},onBlur(){this.focused=!1,this.validation&&this.validation.$touch()}}},re=ne,ie=Object(w["a"])(re,ee,te,!1,null,null,null,!0),ae=ie.exports,oe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-radio",class:{checked:e.isChecked}},[n("input",{attrs:{type:"radio",name:e.name,disabled:e.disabled,readonly:e.readonly},domProps:{value:e.value,checked:e.isChecked},on:{change:function(t){return e.onChange(t)},focus:function(t){e.focused=!0},blur:e.onBlur}}),n("div",{staticClass:"bunt-radio-circle"}),e.label?n("label",[e._v(e._s(e.label))]):n("label",[e._t("default")],2)])},se=[],ce={name:"bunt-radio",model:{prop:"checked",event:"change"},props:{checked:null,value:null,name:{type:String,required:!0},label:String,disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},data(){return{focused:!1}},computed:{isChecked(){return this.checked===this.value}},methods:{onChange(e){this.$emit("change",this.value),this.validation&&this.validation.$touch()},onBlur(){this.focused=!1,this.validation&&this.validation.$touch()}}},le=ce,ue=Object(w["a"])(le,oe,se,!1,null,null,null,!0),de=ue.exports,he=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("i",{staticClass:"bunt-icon mdi",class:[e.iconClass]})},fe=[],pe={name:"bunt-icon",props:{icon:{type:String,required:!0}},computed:{iconClass(){return K.getClass(this.icon)}}},me=pe,be=Object(w["a"])(me,he,fe,!1,null,null,null,!0),ge=be.exports,ve=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.tooltipOptions||{text:e.tooltip,placement:e.tooltipPlacement,fixed:e.tooltipFixed},expression:"tooltipOptions || {text: tooltip, placement: tooltipPlacement, fixed: tooltipFixed}"}],ref:"button",staticClass:"bunt-icon-button",class:{disabled:e.disabled},attrs:{type:e.type,"aria-disabled":e.disabled},on:{click:e.onClick}},[e.iconClass()?n("i",{staticClass:"bunt-icon mdi",class:[e.iconClass()]}):e._t("default"),e.noInk||e.disabled?e._e():n("ripple-ink")],2)},_e=[],ye={name:"bunt-icon-button",mixins:[$],props:{disabled:{type:Boolean,default:!1},type:{type:String,default:"button"},tooltip:String,tooltipPlacement:{type:String,default:"bottom"},tooltipFixed:{type:Boolean,default:!1},tooltipOptions:Object},data(){return{showTooltip:!1}},methods:{iconClass(){if(!this.$slots.default[0].tag)return K.getClass(this.$slots.default[0].text)},onClick(e){this.disabled||this.$emit("click",e)}}},Ae=ye,ke=Object(w["a"])(Ae,ve,_e,!1,null,null,null,!0),we=ke.exports,xe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.generateOutline,expression:"generateOutline"}],staticClass:"bunt-input",class:{focused:e.focused,"floating-label":e.floatingLabel,invalid:e.invalid,disabled:e.disabled,"with-icon":e.icon},style:{"--label-gap":e.floatingLabelWidth}},[n("div",{staticClass:"label-input-container"},[n("label",{attrs:{for:e.name}},[e._v(e._s(e.label))]),e.icon?n("div",{staticClass:"icon mdi",class:[e.iconClass]}):e._e(),n("input",{ref:"input",attrs:{type:e.type,name:e.name,disabled:e.disabled,readonly:e.readonly,placeholder:e.placeholder},domProps:{value:e.value},on:{input:function(t){return e.onInput(t)},focus:function(t){e.focused=!0},blur:e.onBlur}}),n("div",{directives:[{name:"show",rawName:"v-show",value:e.invalid,expression:"invalid"}],staticClass:"error-icon mdi mdi-alert-circle",attrs:{title:e.hintText}}),n("svg",{ref:"outline",staticClass:"outline"},[n("path",{attrs:{d:e.outlineStroke}})])]),e.hintIsHtml?n("div",{staticClass:"hint",domProps:{innerHTML:e._s(e.hintText)}}):n("div",{staticClass:"hint"},[e._v(e._s(e.hintText))])])},Me=[];const Ce="undefined"!==typeof window&&document.createElement("canvas");function Se(e,t){if("undefined"===typeof window)return 0;var n=Ce.getContext("2d");return n.font=t,n.measureText(e||"")}var Ee={data:function(){return{outlineStroke:""}},computed:{floatingLabelWidth(){return this.label?Se(this.label,"12px 'Roboto', \"Helvetica Neue\", HelveticaNeue, Helvetica, Arial, sans-serif").width+8:0}},mounted(){this.$nextTick(()=>{this.generateOutline()})},methods:{generateOutline(){const{width:e,height:t}=this.$refs.outline.getBoundingClientRect(),n=4,r=n+1;this.outlineStroke=`M ${r} 1\n\t\t\th ${e-2*r}\n\t\t\ta ${n} ${n} 0 0 1 ${n} ${n}\n\t\t\tv ${t-2*r}\n\t\t\ta ${n} ${n} 0 0 1 ${-n} ${n}\n\t\t\th ${2*r-e}\n\t\t\ta ${n} ${n} 0 0 1 ${-n} ${-n}\n\t\t\tv ${2*r-t}\n\t\t\ta ${n} ${n} 0 0 1 ${n} ${-n}`}}},De={name:"bunt-input",mixins:[Ee],props:{type:{type:String,default:"text"},name:{type:String,required:!0},label:String,placeholder:String,value:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},icon:String,iconRight:{type:Boolean,default:!1},hint:String,hintIsHtml:{type:Boolean,default:!1},validation:Object},data:function(){return{focused:!1}},computed:{iconClass(){return K.getClass(this.icon)},invalid(){return this.validation&&this.validation.$error},hintText(){if(this.invalid&&this.validation.$params){const e=Object.keys(this.validation.$params).map(e=>this.validation[e]?null:this.validation.$params[e].message);return e.filter(Boolean).join()}return this.hint},floatingLabel(){return Boolean(this.placeholder||this.value||0===this.value)}},methods:{onInput(e){this.$emit("input",e.target.value),this.validation&&this.validation.$touch()},onBlur(){this.focused=!1,this.validation&&this.validation.$touch()}}},Te=De,Oe=Object(w["a"])(Te,xe,Me,!1,null,null,null,!0),Le=Oe.exports,Pe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.generateOutline,expression:"generateOutline"}],staticClass:"bunt-input-outline-container",class:{focused:e.focused},style:{"--label-gap":e.floatingLabelWidth}},[n("label",[e._v(e._s(e.label))]),e._t("default",null,{focus:e.focus,blur:e.blur}),n("svg",{ref:"outline",staticClass:"outline"},[n("path",{attrs:{d:e.outlineStroke}})])],2)},ze=[],Ye={name:"bunt-input-outline-container",mixins:[Ee],props:{label:String},data(){return{focused:!1}},computed:{},created(){},mounted(){this.$nextTick(()=>{})},methods:{focus(){this.focused=!0},blur(){this.focused=!1}}},Ne=Ye,je=Object(w["a"])(Ne,Pe,ze,!1,null,null,null,!0),Fe=je.exports,Re=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("router-link",{staticClass:"bunt-link-button",attrs:{to:e.to}},[e._t("default"),n("ripple-ink")],2)},Be=[],$e={name:"bunt-link-button",components:{},mixins:[$],props:{to:Object},data(){return{}},computed:{},watch:{},methods:{}},Ie=$e,qe=Object(w["a"])(Ie,Re,Be,!1,null,null,null,!0),He=qe.exports,We=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.generateOutline,expression:"generateOutline"}],staticClass:"bunt-select dropdown",class:e.dropdownClasses},[n("div",{ref:"searchContainer",staticClass:"bunt-input dense",class:{focused:e.open,"floating-label":0!=e.rawSearch.length||!e.isValueEmpty,invalid:e.invalid,disabled:e.disabled},style:{"--label-gap":e.floatingLabelWidth}},[n("div",{staticClass:"label-input-container"},[n("label",{attrs:{for:e.name}},[e._v(e._s(e.label))]),e.icon?n("div",{staticClass:"icon mdi",class:[e.iconClass]}):e._e(),n("input",{directives:[{name:"model",rawName:"v-model",value:e.rawSearch,expression:"rawSearch"}],ref:"search",attrs:{type:"text",name:e.name,disabled:e.disabled,placeholder:e.searchPlaceholder,autocomplete:"off"},domProps:{value:e.rawSearch},on:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?null:e.maybeDeleteValue.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.typeAheadUp.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.typeAheadDown.apply(null,arguments))}],keyup:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.onEscape.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.typeAheadSelect.apply(null,arguments))}],blur:e.blur,focus:e.focus,input:function(t){t.target.composing||(e.rawSearch=t.target.value)}}}),n("i",{ref:"openIndicator",staticClass:"open-indicator mdi mdi-menu-down",attrs:{role:"presentation"},on:{mousedown:function(e){e.preventDefault(),e.stopPropagation()},click:function(t){return t.preventDefault(),t.stopPropagation(),e.toggleDropdown.apply(null,arguments)}}}),n("svg",{ref:"outline",staticClass:"outline"},[n("path",{attrs:{d:e.outlineStroke}})])]),e.hintIsHtml?n("div",{staticClass:"hint",domProps:{innerHTML:e._s(e.hintText)}}):n("div",{staticClass:"hint"},[e._v(e._s(e.hintText))])]),e.open?n(e.usePortals?"portal":"div",{tag:"component",attrs:{to:"bunt-overlays"}},[n("div",{ref:"dropdownMenu",staticClass:"bunt-select-dropdown-menu",class:[e.dropdownClass],style:{"max-height":e.maxHeight,width:e.width+"px"},on:{mousedown:function(e){e.preventDefault(),e.stopPropagation()}}},[e._t("result-header"),n("div",{directives:[{name:"scrollbar",rawName:"v-scrollbar.y",value:{_preventMousedown:!0},expression:"{_preventMousedown: true}",modifiers:{y:!0}}],staticClass:"scrollable-menu"},[n("ul",[e._l(e.filteredOptions,(function(t,r){return n("li",{key:r,class:{active:e.isOptionSelected(t),highlight:r===e.typeAheadPointer},on:{mouseover:function(t){e.typeAheadPointer=r},click:function(n){return n.preventDefault(),n.stopPropagation(),e.select(t)}}},[e._t("default",(function(){return[e._v(e._s(e.getOptionLabel(t)))]}),{option:t})],2)})),e.filteredOptions.length?e._e():n("li",{staticClass:"divider",attrs:{transition:"fade"}}),e.filteredOptions.length?e._e():n("li",{staticClass:"text-center",attrs:{transition:"fade"}},[e._t("no-options",(function(){return[e._v("Sorry, no matching options.")]}))],2)],2)])],2)]):e._e()],1)},Ue=[],Ve={watch:{typeAheadPointer(){this.maybeAdjustScroll()}},methods:{maybeAdjustScroll(){if(!this.$refs.dropdownMenu)return;let e=this.pixelsToPointerTop(),t=this.pixelsToPointerBottom();return e<=this.viewport().top?this.scrollTo(e):t>=this.viewport().bottom?this.scrollTo(this.viewport().top+this.pointerHeight()):void 0},pixelsToPointerTop(){let e=0,t=this.$refs.dropdownMenu.children;for(let n=0;n<this.typeAheadPointer;n++)e+=t[n]?t[n].offsetHeight:0;return e},pixelsToPointerBottom(){return this.pixelsToPointerTop()+this.pointerHeight()},pointerHeight(){let e=this.$refs.dropdownMenu.children[this.typeAheadPointer];return e?e.offsetHeight:0},viewport(){return{top:this.$refs.dropdownMenu.scrollTop,bottom:this.$refs.dropdownMenu.offsetHeight+this.$refs.dropdownMenu.scrollTop}},scrollTo(e){return this.$refs.dropdownMenu.scrollTop=e}}},Ge={data(){return{typeAheadPointer:-1}},watch:{filteredOptions(){this.typeAheadPointer=0}},methods:{typeAheadUp(){this.typeAheadPointer>0&&(this.typeAheadPointer--,this.maybeAdjustScroll&&this.maybeAdjustScroll())},typeAheadDown(){this.typeAheadPointer<this.filteredOptions.length-1&&(this.typeAheadPointer++,this.maybeAdjustScroll&&this.maybeAdjustScroll())},typeAheadSelect(){this.filteredOptions[this.typeAheadPointer]?this.select(this.filteredOptions[this.typeAheadPointer]):this.taggable&&this.search.length&&this.select(this.search)}}},Ke=n("2e39"),Ze=n.n(Ke),Xe={name:"bunt-select",mixins:[Ee,Ve,Ge],props:{name:{type:String,required:!0},label:String,value:{type:[String,Object,Number],default:null},icon:String,options:{type:Array,default(){return[]}},placeholder:{type:String,default:""},disabled:{type:Boolean,default:!1},maxHeight:{type:String,default:"400px"},optionLabel:{type:String,default:"label"},getOptionLabel:{type:Function,default(e){return"object"===typeof e&&void 0!==this.optionLabel&&void 0!==e[this.optionLabel]?e[this.optionLabel]:e}},optionValue:{type:String,default:"id"},getOptionValue:{type:Function,default(e){return"object"===typeof e&&void 0!==this.optionValue&&void 0!==e[this.optionValue]?e[this.optionValue]:e}},findOptionByValue:{type:Function,default(e){const t=t=>"object"===typeof t&&this.optionValue?t[this.optionValue]===e:t===e;return this.options.find(t)}},hint:String,hintIsHtml:{type:Boolean,default:!1},validation:Object,dropdownClass:String,dropdownOverflowElement:[String,Object]},data(){return{search:"",rawSearch:"",open:!1,width:0,usePortals:void 0!==this.$root.$options.components.Portal&&void 0!==this.$root.$options.components.PortalTarget}},computed:{dropdownClasses(){return{open:this.open,searchable:this.searchable,loading:this.loading}},searchPlaceholder(){if(this.isValueEmpty&&this.placeholder)return this.placeholder},filteredOptions(){let e=0!==this.search.length?this.options.filter(e=>Ze()(this.search.toLowerCase(),this.getOptionLabel(e).toLowerCase())):this.options.slice();return this.taggable&&this.search.length&&!this.optionExists(this.search)&&e.unshift(this.search),e},isValueEmpty(){return!this.value||("object"===typeof this.value?!Object.keys(this.value).length:!this.value.length)},iconClass(){return K.getClass(this.icon)},invalid(){return this.validation&&this.validation.$error},hintText(){if(this.invalid&&this.validation.$params){const e=Object.keys(this.validation.$params).map(e=>this.validation[e]?null:this.validation.$params[e].message);return e.filter(Boolean).join()}return this.hint}},watch:{value(e){this.selectValue(e)},rawSearch(e){this.open&&(this.search=e)},filteredOptions(){var e;null===(e=this._popper)||void 0===e||e.scheduleUpdate()}},mounted(){this.selectValue(this.value)},beforeDestroy(){var e;null===(e=this._popper)||void 0===e||e.destroy()},methods:{focus(){this.open=!0,this.search="",this.$refs.search.select(),this.width=this.$refs.searchContainer.getBoundingClientRect().width,this.$nextTick(()=>{const e={placement:"bottom",positionFixed:!0,modifiers:{}};this.icon&&(e.modifiers.offset={offset:"-15, 0"}),this.dropdownOverflowElement&&(e.modifiers.preventOverflow={boundariesElement:this.dropdownOverflowElement}),this._popper=new D["a"](this.$refs.search,this.$refs.dropdownMenu,e)})},blur(e){this.open=!1,this.$nextTick(()=>{var e;return null===(e=this._popper)||void 0===e?void 0:e.destroy()}),this.validation&&this.validation.$touch(),this.$emit("blur")},selectValue(e){const t=this.findOptionByValue(e);this.rawSearch=this.getOptionLabel(t)||""},select(e){this.isOptionSelected(e)?this.deselect(e):this.$emit("input",this.getOptionValue(e)),this.onAfterSelect(e)},deselect(e){this.$emit("input",null)},onAfterSelect(e){this.$refs.search.blur(),this.rawSearch=this.getOptionLabel(e)||""},toggleDropdown(e){e.target!==this.$refs.openIndicator&&e.target!==this.$refs.search&&e.target!==this.$refs.toggle&&e.target!==this.$el||(this.open?this.$refs.search.blur():this.$refs.search.focus())},isOptionSelected(e){return this.value===e},onEscape(){this.rawSearch.length?(this.deselect(),this.rawSearch=""):this.$refs.search.blur()},maybeDeleteValue(){!this.$refs.search.value.length&&this.value&&this.$emit("input",null)},optionExists(e){let t=!1;return this.options.forEach(n=>{("object"===typeof n&&n[this.optionLabel]===e||n===e)&&(t=!0)}),t}}},Je=Xe,Qe=Object(w["a"])(Je,We,Ue,!1,null,null,null,!0),et=Qe.exports,tt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-switch",class:{checked:e.value}},[n("input",{attrs:{type:"checkbox",name:e.name,disabled:e.disabled,readonly:e.readonly},domProps:{checked:e.value},on:{change:function(t){return e.onChange(t)},focus:function(t){e.focused=!0},blur:e.onBlur}}),e._m(0),n("label",[e._v(e._s(e.label))])])},nt=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-switch-track"},[n("div",{staticClass:"bunt-switch-thumb"})])}],rt={name:"bunt-switch",components:{},props:{value:{type:Boolean,default:!1},name:{type:String,required:!0},label:String,disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},data(){return{focused:!1}},computed:{},created(){},mounted(){this.$nextTick(()=>{})},methods:{onChange(e){this.$emit("input",e.target.checked),this.validation&&this.validation.$touch()},onBlur(){this.focused=!1,this.validation&&this.validation.$touch()}}},it=rt,at=Object(w["a"])(it,tt,nt,!1,null,null,null,!0),ot=at.exports,st=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e._onResizeObserver,expression:"_onResizeObserver"}],staticClass:"bunt-tabs",class:e.styleClasses},[n("div",{staticClass:"bunt-tabs-header"},[n("ul",{ref:"tabsContainer",staticClass:"bunt-tabs-header-items",attrs:{role:"tablist"}},e._l(e.tabs,(function(t,r){return n("bunt-tab-header-item",{key:t.id,ref:"tabElements",refInFor:!0,attrs:{type:e.type,id:t.id,icon:t.icon,text:t.header,active:e.activeTabObj===t,disabled:t.disabled},nativeOn:{click:function(n){return e.select(t,r)}}})})),1),n("div",{staticClass:"bunt-tabs-indicator",class:[e.indicatorState],style:e.indicatorStyle,on:{transitionend:e.onIndicatorTransitionEnd}})]),n("div",{ref:"body",staticClass:"bunt-tabs-body"},[e._t("default")],2)])},ct=[],lt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{ref:"item",staticClass:"bunt-tab-header-item",class:["type-"+e.type,{active:e.active,disabled:e.disabled}],attrs:{role:"tab",tabindex:e.active?0:-1,"aria-controls":e.id,"aria-selected":e.active?"true":null,disabled:e.disabled}},["icon"===e.type||"icon-and-text"===e.type?n("div",{staticClass:"bunt-tab-header-item-icon"},[n("i",{staticClass:"bunt-icon mdi",class:[e.iconClass]})]):e._e(),"text"===e.type||"icon-and-text"===e.type?n("div",{staticClass:"bunt-tab-header-item-text",domProps:{textContent:e._s(e.text)}}):e._e(),e.noInk||e.disabled?e._e():n("ripple-ink")],1)},ut=[],dt={name:"bunt-tab-header-item",mixins:[$],props:{id:String,type:{type:String,default:"text"},text:String,icon:String,active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},computed:{iconClass(){return K.getClass(this.icon)}}},ht=dt,ft=Object(w["a"])(ht,lt,ut,!1,null,null,null,!0),pt=ft.exports;const mt=function(e,t){return 100*e/t};var bt={name:"bunt-tabs",components:{BuntTabHeaderItem:pt},props:{type:{type:String,default:"text"},activeTab:{type:[Number,String,Object,Function]}},data(){return{activeTabObj:null,tabs:null,indicatorState:"",indicatorTransform:{left:0,width:0},indicatorTargetTransform:{left:0,width:0}}},computed:{styleClasses(){let e=["bunt-tabs-type-"+this.type];return e},indicatorStyle(){const e=this.indicatorTransform;return{transform:`translateX(${e.left}%) scaleX(${e.width/100})`}}},watch:{activeTab(e){this.activateTab(e)}},mounted(){this.updateTabs();new MutationObserver(e=>{this.updateTabs(),this.$nextTick(()=>this.activateTab(this.activeTab||0))}).observe(this.$refs.body,{childList:!0});this.$nextTick(()=>{this.$refs.tabsContainer&&this.activateTab(this.activeTab||0)})},methods:{_onResizeObserver(){this.$refs.tabsContainer&&this.activeTabObj&&this.select(this.activeTabObj,this.tabs.indexOf(this.activeTabObj))},updateTabs(){const e=Array.from(this.$refs.body.children);this.tabs=this.$children.filter(e=>e._isTab).sort((t,n)=>e.indexOf(t.$el)-e.indexOf(n.$el))},activateTab(e){let t=null;"number"===typeof e?t=e:"string"===typeof e&&(t=this.tabs.findIndex(t=>t.id===e)),this.tabs[t]?this.select(this.tabs[t],t):this.deselect()},select(e,t){let n=this.tabs.indexOf(this.activeTabObj);if(!e||e.disabled)return;let r=this.$refs.tabsContainer.getBoundingClientRect(),i=r.width;const a=Array.from(this.$refs.tabsContainer.children);let o=this.$refs.tabElements.sort((e,t)=>a.indexOf(e.$el)-a.indexOf(t.$el))[t].$el.getBoundingClientRect(),s=o.left-r.left;if(this.indicatorTargetTransform={width:mt(o.width,i),left:mt(s,i)},n<0)return this.indicatorState="",this.indicatorTransform={width:this.indicatorTargetTransform.width,left:this.indicatorTargetTransform.left},void(this.activeTabObj=e);let c=this.$refs.tabElements[n].$el.getBoundingClientRect(),l=5;this.indicatorState="expand";let u=n<t;u?this.indicatorTransform.width=mt(o.left+o.width-c.left,i)-l:this.indicatorTransform={width:mt(c.left+c.width-o.left,i)-l,left:mt(s,i)+l},this.activeTabObj=e},deselect(){this.activeTabObj=null,this.indicatorTransform.width=0,this.indicatorTransform.left=0},onIndicatorTransitionEnd(){"expand"==this.indicatorState?(this.indicatorState="contract",this.indicatorTransform={width:this.indicatorTargetTransform.width,left:this.indicatorTargetTransform.left}):this.indicatorState=""}}},gt=bt,vt=Object(w["a"])(gt,st,ct,!1,null,null,null,!0),_t=vt.exports,yt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.active,expression:"active"}],staticClass:"bunt-tab",attrs:{id:e.id,role:"tabpanel",tabindex:e.active?"0":null,"aria-hidden":e.active?null:"true"}},[e._t("default")],2)},At=[],kt={name:"bunt-tab",props:{header:String,icon:String,disabled:{type:Boolean,default:!1},id:String},computed:{active(){return this.$parent.activeTabObj===this}},watch:{active(e){e?this.$emit("selected",this.id):this.$emit("deselected",this.id)}},created(){this._isTab=!0}},wt=kt,xt=Object(w["a"])(wt,yt,At,!1,null,null,null,!0),Mt=xt.exports,Ct=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.open?n("div",{staticClass:"bunt-dialog-container"},[n("div",{staticClass:"bunt-dialog"},[e._t("default")],2),n("div",{staticClass:"bunt-backdrop",attrs:{"keyup.esc":"close"},on:{click:e.close}})]):e._e()},St=[],Et={props:{open:{type:Boolean,default:!1}},data(){return{}},computed:{},created(){},mounted(){this.$nextTick(()=>{document.body.appendChild(this.$el)})},beforeDestroy(){this.$el.parentNode===document.body&&document.body.removeChild(this.$el)},methods:{close(){this.$emit("close")}}},Dt=Et,Tt=Object(w["a"])(Dt,Ct,St,!1,null,null,null,!0),Ot=Tt.exports;let Lt;"undefined"!==typeof window&&(Lt=n("472d").default);const Pt={install(e){L(e),e.component("bunt-button",Q),e.component("bunt-checkbox",ae),e.component("bunt-radio",de),e.component("bunt-icon",ge),e.component("bunt-icon-button",we),e.component("bunt-input",Le),e.component("bunt-input-outline-container",Fe),e.component("bunt-link-button",He),e.component("bunt-select",et),"undefined"!==typeof window&&e.component("bunt-popover",Lt),e.component("bunt-progress-circular",V),e.component("bunt-switch",ot),e.component("bunt-tabs",_t),e.component("bunt-tab",Mt),e.component("bunt-dialog",Ot)}};var zt=Pt,Yt=n("7f45"),Nt=n.n(Yt),jt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"scrollbar",rawName:"v-scrollbar.y",modifiers:{y:!0}}],staticClass:"c-linear-schedule"},e._l(e.sessionBuckets,(function(t,r){var i=t.date,a=t.sessions;return n("div",{staticClass:"bucket"},[n("div",{ref:e.getBucketName(i),refInFor:!0,staticClass:"bucket-label",attrs:{"data-date":i.format()}},[0===r||i.clone().startOf("day").diff(e.sessionBuckets[r-1].date.clone().startOf("day"),"day")>0?n("div",{staticClass:"day"},[e._v(" "+e._s(i.format("dddd DD. MMMM")))]):e._e(),n("div",{staticClass:"time"},[e._v(e._s(i.format("LT")))]),e._l(a,(function(t){return[e.isProperSession(t)?n("session",{attrs:{session:t,faved:t.id&&e.favs.includes(t.id)},on:{fav:function(n){return e.$emit("fav",t.id)},unfav:function(n){return e.$emit("unfav",t.id)}}}):n("div",{staticClass:"break"},[n("div",{staticClass:"title"},[e._v(e._s(e.getLocalizedString(t.title)))])])]}))],2)])})),0)},Ft=[];function Rt(e){if(!e)return"";if("string"===typeof e)return e;const t=document.querySelector("html").lang||"en";return e[t]||e.en||Object.values(e)[0]||""}const Bt=(e,t)=>["auto","scroll"].includes(getComputedStyle(e,null).getPropertyValue(t)),$t=e=>Bt(e,"overflow")||Bt(e,"overflow-x")||Bt(e,"overflow-y");function It(e){if(e&&e!==document.body)return $t(e)?e:It(e.parentNode)}function qt(e,t){let n=t.diff(e,"minutes");const r=Math.floor(n/60);return n<=60?n+"min":(n%=60,n?`${r}h${n}min`:r+"h")}var Ht=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a",{staticClass:"c-linear-schedule-session",class:{faved:e.faved},style:e.style,attrs:{href:e.link,target:e.linkTarget},on:{click:function(t){return e.onSessionLinkClick(t,e.session)}}},[n("div",{staticClass:"time-box"},[n("div",{staticClass:"start",class:{"has-ampm":e.hasAmPm}},[n("div",{staticClass:"time"},[e._v(e._s(e.startTime.time))]),e.startTime.ampm?n("div",{staticClass:"ampm"},[e._v(e._s(e.startTime.ampm))]):e._e()]),n("div",{staticClass:"duration"},[e._v(e._s(e.getPrettyDuration(e.session.start,e.session.end)))]),n("div",{staticClass:"buffer"}),e.isLive?n("div",{staticClass:"is-live"},[e._v("live")]):e._e()]),n("div",{staticClass:"info"},[n("div",{staticClass:"title"},[e._v(e._s(e.getLocalizedString(e.session.title)))]),e.session.speakers?n("div",{staticClass:"speakers"},[n("div",{staticClass:"avatars"},[e._l(e.session.speakers,(function(t){return[t.avatar?n("img",{attrs:{src:t.avatar}}):e._e()]}))],2),n("div",{staticClass:"names"},[e._v(e._s(e.session.speakers.map((function(e){return e.name})).join(", ")))])]):e._e(),e.showAbstract?n("div",{staticClass:"abstract",domProps:{innerHTML:e._s(e.abstract)}}):e._e(),n("div",{staticClass:"bottom-info"},[e.session.track?n("div",{staticClass:"track"},[e._v(e._s(e.getLocalizedString(e.session.track.name)))]):e._e(),e.showRoom&&e.session.room?n("div",{staticClass:"room"},[e._v(e._s(e.getLocalizedString(e.session.room.name)))]):e._e()])]),n("bunt-icon-button",{staticClass:"btn-fav-container",on:{click:function(t){t.preventDefault(),t.stopPropagation(),e.faved?e.$emit("unfav",e.session.id):e.$emit("fav",e.session.id)}}},[n("svg",{staticClass:"star",attrs:{viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z"}})])])],1)},Wt=[],Ut=n("d4cd"),Vt=n.n(Ut);const Gt=Vt()({linkify:!0,breaks:!0});var Kt={props:{session:Object,showAbstract:{type:Boolean,default:!0},showRoom:{type:Boolean,default:!0},faved:{type:Boolean,default:!1},hasAmPm:{type:Boolean,default:!1}},inject:{eventUrl:{default:null},linkTarget:{default:"_self"},generateSessionLinkUrl:{default(){return({eventUrl:e,session:t})=>`${e}talk/${t.id}/`}},onSessionLinkClick:{default(){return()=>{}}}},data(){return{getPrettyDuration:qt,getLocalizedString:Rt}},computed:{link(){return this.generateSessionLinkUrl({eventUrl:this.eventUrl,session:this.session})},style(){var e;return{"--track-color":(null===(e=this.session.track)||void 0===e?void 0:e.color)||"var(--pretalx-clr-primary)"}},startTime(){return this.hasAmPm?{time:this.session.start.format("h:mm"),ampm:this.session.start.format("A")}:{time:Nt()(this.session.start).format("LT")}},isLive(){return Nt()(this.session.start).isBefore(this.now)&&Nt()(this.session.end).isAfter(this.now)},abstract(){try{return Gt.renderInline(this.session.abstract)}catch(e){return this.session.abstract}}}},Zt=Kt;function Xt(e){var t=n("1004");t.__inject__&&t.__inject__(e)}var Jt=Object(w["a"])(Zt,Ht,Wt,!1,Xt,null,null,!0),Qt=Jt.exports,en={components:{Session:Qt},props:{sessions:Array,favs:{type:Array,default(){return[]}},currentDay:Object,now:Object,scrollParent:Element},data(){return{moment:Nt.a,getLocalizedString:Rt,scrolledDay:null}},computed:{sessionBuckets(){const e={};for(const t of this.sessions){const n=t.start.format();e[n]||(e[n]=[]),t.id?e[n].push(t):(t.break_id=`${t.start}${t.end}${t.title}`,0===e[n].filter(e=>e.break_id===t.break_id).length&&e[n].push(t))}return Object.entries(e).map(([e,t])=>({date:t[0].start,sessions:t}))}},watch:{currentDay:"changeDay"},async mounted(){var e,t;let n;await this.$nextTick(),this.observer=new IntersectionObserver(this.onIntersect,{root:this.scrollParent,rootMargin:"-45% 0px"});for(const[l,u]of Object.entries(this.$refs)){if(!l.startsWith("bucket"))continue;const e=Nt.a.parseZone(u[0].dataset.date);n&&n.isSame(e,"date")||(n=e,this.observer.observe(u[0]))}let r=!1;const i=window.location.hash.slice(1);if(i&&10===i.length){const e=Nt()(i,"YYYY-MM-DD");e&&(r=!0)}if(r)return;const a=this.sessionBuckets.findIndex(e=>this.now.isBefore(e.date)),o=this.sessionBuckets.findIndex(e=>this.now.isBefore(e.date));if(a<0||0===o)return;const s=this.sessionBuckets[Math.max(0,a-1)],c=(null===(e=this.$refs[this.getBucketName(s.date)])||void 0===e||null===(t=e[0])||void 0===t?void 0:t.offsetTop)-90;this.scrollParent?this.scrollParent.scrollTop=c:window.scroll({top:c+this.getOffsetTop()})},methods:{isProperSession(e){return!!e.id},getBucketName(e){return"bucket-"+e.format("YYYY-MM-DD-HH-mm")},getOffsetTop(){const e=this.$parent.$el.getBoundingClientRect();return e.top+window.scrollY},changeDay(e){var t;if(this.scrolledDay===e)return;const n=this.sessionBuckets.find(t=>e.isSame(t.date,"day"));if(!n)return;const r=null===(t=this.$refs[this.getBucketName(n.date)])||void 0===t?void 0:t[0];if(!r)return;const i=r.offsetTop+this.getOffsetTop()-8;this.scrollParent?this.scrollParent.scrollTop=i:window.scroll({top:i})},onIntersect(e){const t=e[0],n=Nt.a.parseZone(t.target.dataset.date).startOf("day");t.isIntersecting?(this.scrolledDay=n,this.$emit("changeDay",this.scrolledDay)):t.rootBounds&&t.boundingClientRect.y-t.rootBounds.y>0&&(this.scrolledDay=n.subtract(1,"day"),this.$emit("changeDay",this.scrolledDay))}}},tn=en;function nn(e){var t=n("2187");t.__inject__&&t.__inject__(e)}var rn=Object(w["a"])(tn,jt,Ft,!1,nn,null,null,!0),an=rn.exports,on=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"c-grid-schedule"},[n("div",{staticClass:"grid",style:e.gridStyle},[e._l(e.visibleTimeslices,(function(t){return[n("div",{ref:t.name,refInFor:!0,staticClass:"timeslice",class:e.getSliceClasses(t),style:e.getSliceStyle(t),attrs:{"data-slice":t.date.format()}},[e._v(e._s(e.getSliceLabel(t)))]),n("div",{staticClass:"timeline",class:e.getSliceClasses(t),style:e.getSliceStyle(t)})]})),e.nowSlice?n("div",{ref:"now",staticClass:"now",class:{"on-daybreak":e.nowSlice.onDaybreak},style:{"grid-area":e.nowSlice.slice.name+" / 1 / auto / auto","--offset":e.nowSlice.offset}},[n("svg",{attrs:{viewBox:"0 0 10 10"}},[n("path",{attrs:{d:"M 0 0 L 10 5 L 0 10 z"}})])]):e._e(),n("div",{staticClass:"room",style:{"grid-area":"1 / 1 / auto / auto"}}),e._l(e.rooms,(function(t,r){return n("div",{staticClass:"room",style:{"grid-area":"1 / "+(r+2)+" / auto / auto"}},[e._v(e._s(e.getLocalizedString(t.name))),e.getLocalizedString(t.description)?n("bunt-button",{staticClass:"room-description",attrs:{tooltip:e.getLocalizedString(t.description),"tooltip-placement":"bottom-end"}},[e._v("?")]):e._e()],1)})),e.hasSessionsWithoutRoom?n("div",{staticClass:"room",style:{"grid-area":"1 / "+(e.rooms.length+2)+" / auto / -1"}},[e._v("no location")]):e._e(),e._l(e.sessions,(function(t){return[e.isProperSession(t)?n("session",{style:e.getSessionStyle(t),attrs:{session:t,showAbstract:!1,showRoom:!1,faved:e.favs.includes(t.id),hasAmPm:e.hasAmPm},on:{fav:function(n){return e.$emit("fav",t.id)},unfav:function(n){return e.$emit("unfav",t.id)}}}):n("div",{staticClass:"break",style:e.getSessionStyle(t)},[n("div",{staticClass:"time-box"},[e.hasAmPm?n("div",{staticClass:"start has-ampm"},[n("div",{staticClass:"time"},[e._v(e._s(t.start.format("h:mm")))]),n("div",{staticClass:"ampm"},[e._v(e._s(t.start.format("A")))])]):n("div",{staticClass:"start"},[n("div",{staticClass:"time"},[e._v(e._s(t.start.format("LT")))])]),n("div",{staticClass:"duration"},[e._v(e._s(e.getPrettyDuration(t.start,t.end)))]),n("div",{staticClass:"buffer"})]),n("div",{staticClass:"info"},[n("div",{staticClass:"title"},[e._v(e._s(e.getLocalizedString(t.title)))])])])]}))],2)])},sn=[];const cn=function(e){return"slice-"+e.format("MM-DD-HH-mm")};var ln={components:{Session:Qt},props:{sessions:Array,rooms:Array,favs:{type:Array,default(){return[]}},currentDay:Object,now:Object,scrollParent:Element},data(){return{moment:Nt.a,getLocalizedString:Rt,getPrettyDuration:qt,scrolledDay:null}},computed:{hasSessionsWithoutRoom(){return this.sessions.some(e=>!e.room)},hasAmPm(){return Nt.a.localeData().longDateFormat("LT").endsWith(" A")},timeslices(){const e=30,t=[],n={},r=function(e,{hasSession:r=!1,hasBreak:i=!1,hasStart:a=!1,hasEnd:o=!1}={}){const s=cn(e);let c=n[s];c?(c.hasSession=c.hasSession||r,c.hasBreak=c.hasBreak||i,c.hasStart=c.hasStart||a,c.hasEnd=c.hasEnd||o):(c={date:e,name:s,hasSession:r,hasBreak:i,hasStart:a,hasEnd:o,datebreak:e.isSame(e.clone().startOf("day"))},t.push(c),n[s]=c)},i=function(t,n,{hasSession:i,hasBreak:a}={}){let o=n.diff(t,"minutes");const s=e-t.minute()%e,c=[];s&&(c.push(t.clone().add(s,"minutes")),o-=s);const l=n.minute()%e;for(let r=1;r<=o/e;r++)c.push(t.clone().add(s+e*r,"minutes"));l&&c.push(n.clone().subtract(l,"minutes"));const u=c.pop();c.forEach(e=>r(e,{hasSession:i,hasBreak:a})),r(u)};for(const c of this.sessions){const e=t[t.length-1];e?c.start.isAfter(e.date,"minutes")&&i(e.date,c.start):r(c.start.clone().startOf("day"));const n=this.isProperSession(c);r(c.start,{hasSession:n,hasBreak:!n,hasStart:!0}),r(c.end,{hasEnd:!0}),i(c.start,c.end,{hasSession:n,hasBreak:!n})}const a=function(t){if(t)return 0!==t.date.minutes()&&t.date.minutes()!==e},o=function(e,n){if(!e)return;if(e.hasSession||e.datebreak||e.hasStart||e.hasEnd)return!0;const r=t[n-1],i=t[n+1];return!!a(e)||(!(!((null!==r&&void 0!==r&&r.hasSession||null!==r&&void 0!==r&&r.hasBreak||null!==r&&void 0!==r&&r.hasEnd)&&a(r)||(null!==i&&void 0!==i&&i.hasSession||null!==i&&void 0!==i&&i.hasBreak)&&a(i))&&(null!==i&&void 0!==i&&i.hasSession&&null!==i&&void 0!==i&&i.hasBreak||!e.hasSession&&!e.hasBreak||!a(i)))||(null!==r&&void 0!==r&&r.hasBreak&&e.hasBreak,!1))};t.sort((e,t)=>e.date.diff(t.date));const s=[];for(const[c,l]of t.entries()){if(o(l,c)){s.push(l);continue}const e=t[c-1];o(e,c-1)&&!e.datebreak&&(e.gap=!0)}return s.forEach((e,t)=>{e.gap&&t<s.length-1&&s[t+1].date.diff(e.date,"minutes")<=30&&(e.gap=!1)}),s[s.length-1].gap&&s.pop(),s},visibleTimeslices(){return this.timeslices.filter(e=>e.date.minute()%30===0)},gridStyle(){let e="[header] 52px ";return e+=this.timeslices.map((e,t)=>{const n=this.timeslices[t+1];let r=60;return e.gap?r=100:e.datebreak?r=60:n&&(r=Math.min(60,2*n.date.diff(e.date,"minutes"))),`[${e.name}] minmax(${r}px, auto)`}).join(" "),{"--total-rooms":this.rooms.length,"grid-template-rows":e}},nowSlice(){let e;for(const t of this.timeslices){if(this.now.isBefore(t.date))break;e=t}if(e){const t=this.timeslices[this.timeslices.indexOf(e)+1];return t?t.date.diff(e.date,"minutes")>30?{slice:t,offset:0,onDaybreak:!0}:{slice:e,offset:this.now.diff(e.date,"minutes")/t.date.diff(e.date,"minutes")}:null}return null}},watch:{currentDay:"changeDay"},async mounted(){await this.$nextTick(),this.observer=new IntersectionObserver(this.onIntersect,{root:this.scrollParent,rootMargin:"-45% 0px"});for(const[r,i]of Object.entries(this.$refs))r.startsWith("slice")&&r.endsWith("00-00")&&this.observer.observe(i[0]);let e=!1;const t=window.location.hash.slice(1);if(t&&10===t.length){const n=Nt()(t,"YYYY-MM-DD");n&&(e=!0)}if(e||!this.$refs.now)return;const n=this.$refs.now.offsetTop+this.getOffsetTop()-90;this.scrollParent?this.scrollParent.scrollTop=n:window.scroll({top:n})},methods:{isProperSession(e){return!!e.id},getSessionStyle(e){const t=this.rooms.indexOf(e.room);return{"grid-row":`${cn(e.start)} / ${cn(e.end)}`,"grid-column":t>-1?t+2:null}},getOffsetTop(){const e=this.$parent.$el.getBoundingClientRect();return e.top+window.scrollY},getSliceClasses(e){return{datebreak:e.datebreak,gap:e.gap}},getSliceStyle(e){if(e.datebreak){let t=this.timeslices.findIndex(t=>t.date.isAfter(e.date,"day"));return t<0&&(t=this.timeslices.length-1),{"grid-area":`${e.name} / 1 / ${this.timeslices[t].name} / auto`}}return{"grid-area":e.name+" / 1 / auto / auto"}},getSliceLabel(e){return e.datebreak?e.date.format("ddd[\n]DD. MMM"):e.date.format("LT")},changeDay(e){var t;if(this.scrolledDay===e)return;const n=null===(t=this.$refs[cn(e)])||void 0===t?void 0:t[0];if(!n)return;const r=n.offsetTop+this.getOffsetTop();this.scrollParent?this.scrollParent.scrollTop=r:window.scroll({top:r})},onIntersect(e){const t=e.sort((e,t)=>t.time-e.time).find(e=>e.isIntersecting);if(!t)return;const n=Nt.a.parseZone(t.target.dataset.slice).startOf("day");this.scrolledDay=n,this.$emit("changeDay",this.scrolledDay)}}},un=ln;function dn(e){var t=n("0809");t.__inject__&&t.__inject__(e)}var hn=Object(w["a"])(un,on,sn,!1,dn,null,null,!0),fn=hn.exports;o["a"].use(zt);var pn={name:"PretalxSchedule",components:{LinearSchedule:an,GridSchedule:fn},props:{eventUrl:String,locale:String,format:{type:String,default:"grid"},version:{type:String,default:""}},provide(){return{eventUrl:this.eventUrl}},data(){return{moment:Nt.a,getLocalizedString:Rt,scrollParentWidth:1/0,schedule:null,userTimezone:null,now:Nt()(),currentDay:null,currentTimezone:null,showFilterModal:!1,favs:[],allTracks:[],onlyFavs:!1,scheduleError:!1}},computed:{scheduleMaxWidth(){return this.schedule?Math.min(this.scrollParentWidth,78+650*this.schedule.rooms.length):this.scrollParentWidth},showGrid(){return this.scrollParentWidth>710&&"list"!==this.format},roomsLookup(){return this.schedule?this.schedule.rooms.reduce((e,t)=>(e[t.id]=t,e),{}):{}},tracksLookup(){return this.schedule?this.schedule.tracks.reduce((e,t)=>(e[t.id]=t,e),{}):{}},filteredTracks(){return this.allTracks.filter(e=>e.selected)},speakersLookup(){return this.schedule?this.schedule.speakers.reduce((e,t)=>(e[t.code]=t,e),{}):{}},sessions(){if(!this.schedule||!this.currentTimezone)return;const e=[];for(const n of this.schedule.talks.filter(e=>e.start)){var t;this.onlyFavs&&!this.favs.includes(n.code)||(this.filteredTracks&&this.filteredTracks.length&&!this.filteredTracks.find(e=>e.id===n.track)||e.push({id:n.code,title:n.title,abstract:n.abstract,start:Nt.a.tz(n.start,this.currentTimezone),end:Nt.a.tz(n.end,this.currentTimezone),speakers:null===(t=n.speakers)||void 0===t?void 0:t.map(e=>this.speakersLookup[e]),track:this.tracksLookup[n.track],room:this.roomsLookup[n.room]}))}return e.sort((e,t)=>e.start.diff(t.start)),e},rooms(){return this.schedule.rooms.filter(e=>this.sessions.some(t=>t.room===e))},days(){if(!this.sessions)return;const e=[];for(const t of this.sessions)e[e.length-1]&&e[e.length-1].isSame(t.start,"day")||e.push(t.start.clone().startOf("day"));return e},inEventTimezone(){if(!this.schedule||!this.schedule.talks)return!1;const e=this.schedule.talks[0].start;return Nt.a.tz(e,this.userTimezone).format("Z")===Nt.a.tz(e,this.schedule.timezone).format("Z")},dateFormat(){return this.showGrid&&this.schedule&&this.schedule.rooms.length>2||!this.days||!this.days.length||this.days&&this.days.length<=5?"dddd DD. MMMM":this.days&&this.days.length<=7?"dddd DD. MMM":"ddd DD. MMM"},eventSlug(){let e="";return e=this.eventUrl.startsWith("http")?new URL(this.eventUrl):new URL("http://example.org/"+this.eventUrl),e.pathname.replace(/\//g,"")}},async created(){Nt.a.locale(this.locale),this.userTimezone=Nt.a.tz.guess();let e="";this.version&&(e=`v/${this.version}/`);const t=`${this.eventUrl}schedule/${e}widgets/schedule.json`,n=`${this.eventUrl}schedule/${e}widget/v2.json`;try{this.schedule=await(await fetch(t)).json()}catch(i){try{this.schedule=await(await fetch(n)).json()}catch(i){return void(this.scheduleError=!0)}}this.currentTimezone=localStorage.getItem(this.eventSlug+"_timezone"),this.currentTimezone=[this.schedule.timezone,this.userTimezone].includes(this.currentTimezone)?this.currentTimezone:this.schedule.timezone,this.currentDay=this.days[0],this.now=Nt()().tz(this.currentTimezone),setInterval(()=>this.now=Nt()().tz(this.currentTimezone),3e4),this.scrollParentResizeObserver||(await this.$nextTick(),this.onWindowResize()),this.schedule.tracks.forEach(e=>{e.value=e.id,e.label=Rt(e.name),this.allTracks.push(e)}),this.favs=this.pruneFavs(this.loadFavs(),this.schedule);const r=window.location.hash.slice(1);if(r&&10===r.length){const e=Nt()(r,"YYYY-MM-DD"),t=this.days.filter(t=>t.format("YYYYMMDD")===e.format("YYYYMMDD"));t.length&&(this.currentDay=t[0])}},async mounted(){await new Promise(e=>{const t=()=>{if(this.$el.parentElement||this.$el.getRootNode().host)return e();setTimeout(t,100)};t()}),this.scrollParent=It(this.$el.parentElement||this.$el.getRootNode().host),this.scrollParent?(this.scrollParentResizeObserver=new ResizeObserver(this.onScrollParentResize),this.scrollParentResizeObserver.observe(this.scrollParent),this.scrollParentWidth=this.scrollParent.offsetWidth):(window.addEventListener("resize",this.onWindowResize),this.onWindowResize())},destroyed(){},methods:{changeDay(e){e.isSame(this.currentDay)||(this.currentDay=Nt()(e,this.currentTimezone).startOf("day"),window.location.hash=e.format("YYYY-MM-DD"))},onWindowResize(){this.scrollParentWidth=document.body.offsetWidth},saveTimezone(){localStorage.setItem(this.eventSlug+"_timezone",this.currentTimezone)},onScrollParentResize(e){this.scrollParentWidth=e[0].contentRect.width},loadFavs(){const e=localStorage.getItem(this.eventSlug+"_favs");if(e)try{return JSON.parse(e)}catch{localStorage.setItem(this.eventSlug+"_favs","[]")}return[]},pruneFavs(e,t){const n=t.talks||[],r=n.map(e=>e.code);return e.filter(e=>r.includes(e))},saveFavs(){localStorage.setItem(this.eventSlug+"_favs",JSON.stringify(this.favs))},fav(e){this.favs.includes(e)||(this.favs.push(e),this.saveFavs())},unfav(e){this.favs=this.favs.filter(t=>t!==e),this.saveFavs(),this.favs.length||(this.onlyFavs=!1)},resetFilteredTracks(){this.allTracks.forEach(e=>e.selected=!1)}}},mn=pn;function bn(e){var t=n("0887");t.__inject__&&t.__inject__(e)}var gn=Object(w["a"])(mn,x,M,!1,bn,null,null,!0),vn=gn.exports;window.customElements.define("pretalx-schedule",k(o["a"],vn))},"5b54":function(e,t,n){"use strict";var r=n("bd68"),i=n("0068").has,a=n("0068").isValidEntityCode,o=n("0068").fromCodePoint,s=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,c=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,l,u,d=e.pos,h=e.posMax;if(38!==e.src.charCodeAt(d))return!1;if(d+1<h)if(n=e.src.charCodeAt(d+1),35===n){if(u=e.src.slice(d).match(s),u)return t||(l="x"===u[1][0].toLowerCase()?parseInt(u[1].slice(1),16):parseInt(u[1],10),e.pending+=a(l)?o(l):o(65533)),e.pos+=u[0].length,!0}else if(u=e.src.slice(d).match(c),u&&i(r,u[1]))return t||(e.pending+=r[u[1]]),e.pos+=u[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},"5c8f":function(e,t,n){var r,i,a;/*! tether-drop 1.4.1 */(function(o,s){i=[n("a01e")],r=s,a="function"===typeof r?r.apply(t,i):r,void 0===a||(e.exports=a)})(0,(function(e){"use strict";var t=Function.prototype.bind,n=function(){function e(e,t){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done);r=!0)if(n.push(o.value),t&&n.length===t)break}catch(c){i=!0,a=c}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(e,t,n){var r=!0;while(r){var i=e,a=t,o=n;r=!1,null===i&&(i=Function.prototype);var s=Object.getOwnPropertyDescriptor(i,a);if(void 0!==s){if("value"in s)return s.value;var c=s.get;if(void 0===c)return;return c.call(o)}var l=Object.getPrototypeOf(i);if(null===l)return;e=l,t=a,n=o,r=!0,s=l=void 0}};function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=e.Utils,c=s.extend,l=s.addClass,u=s.removeClass,d=s.hasClass,h=s.Evented;function f(e){var t=e.split(" "),r=n(t,2),i=r[0],a=r[1];if(["left","right"].indexOf(i)>=0){var o=[a,i];i=o[0],a=o[1]}return[i,a].join(" ")}function p(e,t){var n=void 0,r=[];while(-1!==(n=e.indexOf(t)))r.push(e.splice(n,1));return r}var m=["click"];"ontouchstart"in document.documentElement&&m.push("touchstart");var b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"},g="";for(var v in b)if({}.hasOwnProperty.call(b,v)){var _=document.createElement("p");"undefined"!==typeof _.style[v]&&(g=b[v])}var y={left:"right",right:"left",top:"bottom",bottom:"top",middle:"middle",center:"center"},A={};function k(){var n=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],s=function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return new(t.apply(v,[null].concat(n)))};c(s,{createContext:k,drops:[],defaults:{}});var b={classPrefix:"drop",defaults:{position:"bottom left",openOn:"click",beforeClose:null,constrainToScrollParent:!0,constrainToWindow:!0,classes:"",remove:!1,openDelay:0,closeDelay:50,focusDelay:null,blurDelay:null,hoverOpenDelay:null,hoverCloseDelay:null,tetherOptions:{}}};c(s,b,n),c(s.defaults,b.defaults,n.defaults),"undefined"===typeof A[s.classPrefix]&&(A[s.classPrefix]=[]),s.updateBodyClasses=function(){for(var e=!1,t=A[s.classPrefix],n=t.length,r=0;r<n;++r)if(t[r].isOpened()){e=!0;break}e?l(document.body,s.classPrefix+"-open"):u(document.body,s.classPrefix+"-open")};var v=function(t){function n(e){if(a(this,n),i(Object.getPrototypeOf(n.prototype),"constructor",this).call(this),this.options=c({},s.defaults,e),this.target=this.options.target,"undefined"===typeof this.target)throw new Error("Drop Error: You must provide a target.");var t="data-"+s.classPrefix,r=this.target.getAttribute(t);r&&null==this.options.content&&(this.options.content=r);for(var o=["position","openOn"],u=0;u<o.length;++u){var d=this.target.getAttribute(t+"-"+o[u]);d&&null==this.options[o[u]]&&(this.options[o[u]]=d)}this.options.classes&&!1!==this.options.addTargetClasses&&l(this.target,this.options.classes),s.drops.push(this),A[s.classPrefix].push(this),this._boundEvents=[],this.bindMethods(),this.setupElements(),this.setupEvents(),this.setupTether()}return o(n,t),r(n,[{key:"_on",value:function(e,t,n){this._boundEvents.push({element:e,event:t,handler:n}),e.addEventListener(t,n)}},{key:"bindMethods",value:function(){this.transitionEndHandler=this._transitionEndHandler.bind(this)}},{key:"setupElements",value:function(){var e=this;if(this.drop=document.createElement("div"),l(this.drop,s.classPrefix),this.options.classes&&l(this.drop,this.options.classes),this.content=document.createElement("div"),l(this.content,s.classPrefix+"-content"),"function"===typeof this.options.content){var t=function(){var t=e.options.content.call(e,e);if("string"===typeof t)e.content.innerHTML=t;else{if("object"!==typeof t)throw new Error("Drop Error: Content function should return a string or HTMLElement.");e.content.innerHTML="",e.content.appendChild(t)}};t(),this.on("open",t.bind(this))}else"object"===typeof this.options.content?this.content.appendChild(this.options.content):this.content.innerHTML=this.options.content;this.drop.appendChild(this.content)}},{key:"setupTether",value:function(){var t=this.options.position.split(" ");t[0]=y[t[0]],t=t.join(" ");var n=[];this.options.constrainToScrollParent?n.push({to:"scrollParent",pin:"top, bottom",attachment:"together none"}):n.push({to:"scrollParent"}),!1!==this.options.constrainToWindow?n.push({to:"window",attachment:"together"}):n.push({to:"window"});var r={element:this.drop,target:this.target,attachment:f(t),targetAttachment:f(this.options.position),classPrefix:s.classPrefix,offset:"0 0",targetOffset:"0 0",enabled:!1,constraints:n,addTargetClasses:this.options.addTargetClasses};!1!==this.options.tetherOptions&&(this.tether=new e(c({},r,this.options.tetherOptions)))}},{key:"setupEvents",value:function(){var e=this;if(this.options.openOn)if("always"!==this.options.openOn){var t=this.options.openOn.split(" ");if(t.indexOf("click")>=0)for(var n=function(t){e.toggle(t),t.preventDefault()},r=function(t){e.isOpened()&&(t.target===e.drop||e.drop.contains(t.target)||t.target===e.target||e.target.contains(t.target)||e.close(t))},i=0;i<m.length;++i){var a=m[i];this._on(this.target,a,n),this._on(document,a,r)}var o=null,s=null,c=function(t){null!==s?clearTimeout(s):o=setTimeout((function(){e.open(t),o=null}),("focus"===t.type?e.options.focusDelay:e.options.hoverOpenDelay)||e.options.openDelay)},l=function(t){null!==o?clearTimeout(o):s=setTimeout((function(){e.close(t),s=null}),("blur"===t.type?e.options.blurDelay:e.options.hoverCloseDelay)||e.options.closeDelay)};t.indexOf("hover")>=0&&(this._on(this.target,"mouseover",c),this._on(this.drop,"mouseover",c),this._on(this.target,"mouseout",l),this._on(this.drop,"mouseout",l)),t.indexOf("focus")>=0&&(this._on(this.target,"focus",c),this._on(this.drop,"focus",c),this._on(this.target,"blur",l),this._on(this.drop,"blur",l))}else setTimeout(this.open.bind(this))}},{key:"isOpened",value:function(){if(this.drop)return d(this.drop,s.classPrefix+"-open")}},{key:"toggle",value:function(e){this.isOpened()?this.close(e):this.open(e)}},{key:"open",value:function(e){var t=this;this.isOpened()||(this.drop.parentNode||document.body.appendChild(this.drop),"undefined"!==typeof this.tether&&this.tether.enable(),l(this.drop,s.classPrefix+"-open"),l(this.drop,s.classPrefix+"-open-transitionend"),setTimeout((function(){t.drop&&l(t.drop,s.classPrefix+"-after-open")})),"undefined"!==typeof this.tether&&this.tether.position(),this.trigger("open"),s.updateBodyClasses())}},{key:"_transitionEndHandler",value:function(e){e.target===e.currentTarget&&(d(this.drop,s.classPrefix+"-open")||u(this.drop,s.classPrefix+"-open-transitionend"),this.drop.removeEventListener(g,this.transitionEndHandler))}},{key:"beforeCloseHandler",value:function(e){var t=!0;return this.isClosing||"function"!==typeof this.options.beforeClose||(this.isClosing=!0,t=!1!==this.options.beforeClose(e,this)),this.isClosing=!1,t}},{key:"close",value:function(e){this.isOpened()&&this.beforeCloseHandler(e)&&(u(this.drop,s.classPrefix+"-open"),u(this.drop,s.classPrefix+"-after-open"),this.drop.addEventListener(g,this.transitionEndHandler),this.trigger("close"),"undefined"!==typeof this.tether&&this.tether.disable(),s.updateBodyClasses(),this.options.remove&&this.remove(e))}},{key:"remove",value:function(e){this.close(e),this.drop.parentNode&&this.drop.parentNode.removeChild(this.drop)}},{key:"position",value:function(){this.isOpened()&&"undefined"!==typeof this.tether&&this.tether.position()}},{key:"destroy",value:function(){this.remove(),"undefined"!==typeof this.tether&&this.tether.destroy();for(var e=0;e<this._boundEvents.length;++e){var t=this._boundEvents[e],n=t.element,r=t.event,i=t.handler;n.removeEventListener(r,i)}this._boundEvents=[],this.tether=null,this.drop=null,this.content=null,this.target=null,p(A[s.classPrefix],this),p(s.drops,this)}}]),n}(h);return s}var w=k();return document.addEventListener("DOMContentLoaded",(function(){w.updateBodyClasses()})),w}))},"5fbd":function(e,t,n){"use strict";var r=n("e1f3"),i=n("5706").HTML_OPEN_CLOSE_TAG_RE,a=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var i,o,s,c,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.sr
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue (code-quality): Avoid function declarations, favouring function assignment expressions, inside blocks. (avoid-function-declarations-in-blocks)

ExplanationFunction declarations may be hoisted in Javascript, but the behaviour is inconsistent between browsers. Hoisting is generally confusing and should be avoided. Rather than using function declarations inside blocks, you should use function expressions, which create functions in-scope.

@@ -13,11 +13,11 @@
*/
var n=Object.freeze({});function r(e){return void 0===e||null===e}function i(e){return void 0!==e&&null!==e}function a(e){return!0===e}function o(e){return!1===e}function s(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function c(e){return null!==e&&"object"===typeof e}var l=Object.prototype.toString;function u(e){return"[object Object]"===l.call(e)}function d(e){return"[object RegExp]"===l.call(e)}function h(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function f(e){return i(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function p(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===l?JSON.stringify(e,null,2):String(e)}function m(e){var t=parseFloat(e);return isNaN(t)?e:t}function b(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}b("slot,component",!0);var g=b("key,ref,slot,slot-scope,is");function v(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var _=Object.prototype.hasOwnProperty;function y(e,t){return _.call(e,t)}function A(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var k=/-(\w)/g,w=A((function(e){return e.replace(k,(function(e,t){return t?t.toUpperCase():""}))})),x=A((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),M=/\B([A-Z])/g,C=A((function(e){return e.replace(M,"-$1").toLowerCase()}));function S(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function E(e,t){return e.bind(t)}var D=Function.prototype.bind?E:S;function T(e,t){t=t||0;var n=e.length-t,r=new Array(n);while(n--)r[n]=e[n+t];return r}function O(e,t){for(var n in t)e[n]=t[n];return e}function L(e){for(var t={},n=0;n<e.length;n++)e[n]&&O(t,e[n]);return t}function P(e,t,n){}var z=function(e,t,n){return!1},Y=function(e){return e};function N(e,t){if(e===t)return!0;var n=c(e),r=c(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var i=Array.isArray(e),a=Array.isArray(t);if(i&&a)return e.length===t.length&&e.every((function(e,n){return N(e,t[n])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(i||a)return!1;var o=Object.keys(e),s=Object.keys(t);return o.length===s.length&&o.every((function(n){return N(e[n],t[n])}))}catch(l){return!1}}function j(e,t){for(var n=0;n<e.length;n++)if(N(e[n],t))return n;return-1}function F(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var R="data-server-rendered",B=["component","directive","filter"],$=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],I={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:z,isReservedAttr:z,isUnknownElement:z,getTagNamespace:P,parsePlatformTagName:Y,mustUseProp:z,async:!0,_lifecycleHooks:$},q=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function H(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function W(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var U=new RegExp("[^"+q.source+".$_\\d]");function V(e){if(!U.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}var G,K="__proto__"in{},Z="undefined"!==typeof window,X="undefined"!==typeof WXEnvironment&&!!WXEnvironment.platform,J=X&&WXEnvironment.platform.toLowerCase(),Q=Z&&window.navigator.userAgent.toLowerCase(),ee=Q&&/msie|trident/.test(Q),te=Q&&Q.indexOf("msie 9.0")>0,ne=Q&&Q.indexOf("edge/")>0,re=(Q&&Q.indexOf("android"),Q&&/iphone|ipad|ipod|ios/.test(Q)||"ios"===J),ie=(Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q),Q&&Q.match(/firefox\/(\d+)/)),ae={}.watch,oe=!1;if(Z)try{var se={};Object.defineProperty(se,"passive",{get:function(){oe=!0}}),window.addEventListener("test-passive",null,se)}catch(xo){}var ce=function(){return void 0===G&&(G=!Z&&!X&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),G},le=Z&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ue(e){return"function"===typeof e&&/native code/.test(e.toString())}var de,he="undefined"!==typeof Symbol&&ue(Symbol)&&"undefined"!==typeof Reflect&&ue(Reflect.ownKeys);de="undefined"!==typeof Set&&ue(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var fe=P,pe=0,me=function(){this.id=pe++,this.subs=[]};me.prototype.addSub=function(e){this.subs.push(e)},me.prototype.removeSub=function(e){v(this.subs,e)},me.prototype.depend=function(){me.target&&me.target.addDep(this)},me.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t<n;t++)e[t].update()},me.target=null;var be=[];function ge(e){be.push(e),me.target=e}function ve(){be.pop(),me.target=be[be.length-1]}var _e=function(e,t,n,r,i,a,o,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=a,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=o,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},ye={child:{configurable:!0}};ye.child.get=function(){return this.componentInstance},Object.defineProperties(_e.prototype,ye);var Ae=function(e){void 0===e&&(e="");var t=new _e;return t.text=e,t.isComment=!0,t};function ke(e){return new _e(void 0,void 0,void 0,String(e))}function we(e){var t=new _e(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var xe=Array.prototype,Me=Object.create(xe),Ce=["push","pop","shift","unshift","splice","sort","reverse"];Ce.forEach((function(e){var t=xe[e];W(Me,e,(function(){var n=[],r=arguments.length;while(r--)n[r]=arguments[r];var i,a=t.apply(this,n),o=this.__ob__;switch(e){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2);break}return i&&o.observeArray(i),o.dep.notify(),a}))}));var Se=Object.getOwnPropertyNames(Me),Ee=!0;function De(e){Ee=e}var Te=function(e){this.value=e,this.dep=new me,this.vmCount=0,W(e,"__ob__",this),Array.isArray(e)?(K?Oe(e,Me):Le(e,Me,Se),this.observeArray(e)):this.walk(e)};function Oe(e,t){e.__proto__=t}function Le(e,t,n){for(var r=0,i=n.length;r<i;r++){var a=n[r];W(e,a,t[a])}}function Pe(e,t){var n;if(c(e)&&!(e instanceof _e))return y(e,"__ob__")&&e.__ob__ instanceof Te?n=e.__ob__:Ee&&!ce()&&(Array.isArray(e)||u(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Te(e)),t&&n&&n.vmCount++,n}function ze(e,t,n,r,i){var a=new me,o=Object.getOwnPropertyDescriptor(e,t);if(!o||!1!==o.configurable){var s=o&&o.get,c=o&&o.set;s&&!c||2!==arguments.length||(n=e[t]);var l=!i&&Pe(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return me.target&&(a.depend(),l&&(l.dep.depend(),Array.isArray(t)&&je(t))),t},set:function(t){var r=s?s.call(e):n;t===r||t!==t&&r!==r||s&&!c||(c?c.call(e,t):n=t,l=!i&&Pe(t),a.notify())}})}}function Ye(e,t,n){if(Array.isArray(e)&&h(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var r=e.__ob__;return e._isVue||r&&r.vmCount?n:r?(ze(r.value,t,n),r.dep.notify(),n):(e[t]=n,n)}function Ne(e,t){if(Array.isArray(e)&&h(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||y(e,t)&&(delete e[t],n&&n.dep.notify())}}function je(e){for(var t=void 0,n=0,r=e.length;n<r;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&je(t)}Te.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)ze(e,t[n])},Te.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)Pe(e[t])};var Fe=I.optionMergeStrategies;function Re(e,t){if(!t)return e;for(var n,r,i,a=he?Reflect.ownKeys(t):Object.keys(t),o=0;o<a.length;o++)n=a[o],"__ob__"!==n&&(r=e[n],i=t[n],y(e,n)?r!==i&&u(r)&&u(i)&&Re(r,i):Ye(e,n,i));return e}function Be(e,t,n){return n?function(){var r="function"===typeof t?t.call(n,n):t,i="function"===typeof e?e.call(n,n):e;return r?Re(r,i):i}:t?e?function(){return Re("function"===typeof t?t.call(this,this):t,"function"===typeof e?e.call(this,this):e)}:t:e}function $e(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?Ie(n):n}function Ie(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}function qe(e,t,n,r){var i=Object.create(e||null);return t?O(i,t):i}Fe.data=function(e,t,n){return n?Be(e,t,n):t&&"function"!==typeof t?e:Be(e,t)},$.forEach((function(e){Fe[e]=$e})),B.forEach((function(e){Fe[e+"s"]=qe})),Fe.watch=function(e,t,n,r){if(e===ae&&(e=void 0),t===ae&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var i={};for(var a in O(i,e),t){var o=i[a],s=t[a];o&&!Array.isArray(o)&&(o=[o]),i[a]=o?o.concat(s):Array.isArray(s)?s:[s]}return i},Fe.props=Fe.methods=Fe.inject=Fe.computed=function(e,t,n,r){if(!e)return t;var i=Object.create(null);return O(i,e),t&&O(i,t),i},Fe.provide=Be;var He=function(e,t){return void 0===t?e:t};function We(e,t){var n=e.props;if(n){var r,i,a,o={};if(Array.isArray(n)){r=n.length;while(r--)i=n[r],"string"===typeof i&&(a=w(i),o[a]={type:null})}else if(u(n))for(var s in n)i=n[s],a=w(s),o[a]=u(i)?i:{type:i};else 0;e.props=o}}function Ue(e,t){var n=e.inject;if(n){var r=e.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(u(n))for(var a in n){var o=n[a];r[a]=u(o)?O({from:a},o):{from:o}}else 0}}function Ve(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"function"===typeof r&&(t[n]={bind:r,update:r})}}function Ge(e,t,n){if("function"===typeof t&&(t=t.options),We(t,n),Ue(t,n),Ve(t),!t._base&&(t.extends&&(e=Ge(e,t.extends,n)),t.mixins))for(var r=0,i=t.mixins.length;r<i;r++)e=Ge(e,t.mixins[r],n);var a,o={};for(a in e)s(a);for(a in t)y(e,a)||s(a);function s(r){var i=Fe[r]||He;o[r]=i(e[r],t[r],n,r)}return o}function Ke(e,t,n,r){if("string"===typeof n){var i=e[t];if(y(i,n))return i[n];var a=w(n);if(y(i,a))return i[a];var o=x(a);if(y(i,o))return i[o];var s=i[n]||i[a]||i[o];return s}}function Ze(e,t,n,r){var i=t[e],a=!y(n,e),o=n[e],s=tt(Boolean,i.type);if(s>-1)if(a&&!y(i,"default"))o=!1;else if(""===o||o===C(e)){var c=tt(String,i.type);(c<0||s<c)&&(o=!0)}if(void 0===o){o=Xe(r,i,e);var l=Ee;De(!0),Pe(o),De(l)}return o}function Xe(e,t,n){if(y(t,"default")){var r=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:"function"===typeof r&&"Function"!==Qe(t.type)?r.call(e):r}}var Je=/^\s*function (\w+)/;function Qe(e){var t=e&&e.toString().match(Je);return t?t[1]:""}function et(e,t){return Qe(e)===Qe(t)}function tt(e,t){if(!Array.isArray(t))return et(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(et(t[n],e))return n;return-1}function nt(e,t,n){ge();try{if(t){var r=t;while(r=r.$parent){var i=r.$options.errorCaptured;if(i)for(var a=0;a<i.length;a++)try{var o=!1===i[a].call(r,e,t,n);if(o)return}catch(xo){it(xo,r,"errorCaptured hook")}}}it(e,t,n)}finally{ve()}}function rt(e,t,n,r,i){var a;try{a=n?e.apply(t,n):e.call(t),a&&!a._isVue&&f(a)&&!a._handled&&(a.catch((function(e){return nt(e,r,i+" (Promise/async)")})),a._handled=!0)}catch(xo){nt(xo,r,i)}return a}function it(e,t,n){if(I.errorHandler)try{return I.errorHandler.call(null,e,t,n)}catch(xo){xo!==e&&at(xo,null,"config.errorHandler")}at(e,t,n)}function at(e,t,n){if(!Z&&!X||"undefined"===typeof console)throw e;console.error(e)}var ot,st=!1,ct=[],lt=!1;function ut(){lt=!1;var e=ct.slice(0);ct.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!==typeof Promise&&ue(Promise)){var dt=Promise.resolve();ot=function(){dt.then(ut),re&&setTimeout(P)},st=!0}else if(ee||"undefined"===typeof MutationObserver||!ue(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())ot="undefined"!==typeof setImmediate&&ue(setImmediate)?function(){setImmediate(ut)}:function(){setTimeout(ut,0)};else{var ht=1,ft=new MutationObserver(ut),pt=document.createTextNode(String(ht));ft.observe(pt,{characterData:!0}),ot=function(){ht=(ht+1)%2,pt.data=String(ht)},st=!0}function mt(e,t){var n;if(ct.push((function(){if(e)try{e.call(t)}catch(xo){nt(xo,t,"nextTick")}else n&&n(t)})),lt||(lt=!0,ot()),!e&&"undefined"!==typeof Promise)return new Promise((function(e){n=e}))}var bt=new de;function gt(e){vt(e,bt),bt.clear()}function vt(e,t){var n,r,i=Array.isArray(e);if(!(!i&&!c(e)||Object.isFrozen(e)||e instanceof _e)){if(e.__ob__){var a=e.__ob__.dep.id;if(t.has(a))return;t.add(a)}if(i){n=e.length;while(n--)vt(e[n],t)}else{r=Object.keys(e),n=r.length;while(n--)vt(e[r[n]],t)}}}var _t=A((function(e){var t="&"===e.charAt(0);e=t?e.slice(1):e;var n="~"===e.charAt(0);e=n?e.slice(1):e;var r="!"===e.charAt(0);return e=r?e.slice(1):e,{name:e,once:n,capture:r,passive:t}}));function yt(e,t){function n(){var e=arguments,r=n.fns;if(!Array.isArray(r))return rt(r,null,arguments,t,"v-on handler");for(var i=r.slice(),a=0;a<i.length;a++)rt(i[a],null,e,t,"v-on handler")}return n.fns=e,n}function At(e,t,n,i,o,s){var c,l,u,d;for(c in e)l=e[c],u=t[c],d=_t(c),r(l)||(r(u)?(r(l.fns)&&(l=e[c]=yt(l,s)),a(d.once)&&(l=e[c]=o(d.name,l,d.capture)),n(d.name,l,d.capture,d.passive,d.params)):l!==u&&(u.fns=l,e[c]=u));for(c in t)r(e[c])&&(d=_t(c),i(d.name,t[c],d.capture))}function kt(e,t,n){var o;e instanceof _e&&(e=e.data.hook||(e.data.hook={}));var s=e[t];function c(){n.apply(this,arguments),v(o.fns,c)}r(s)?o=yt([c]):i(s.fns)&&a(s.merged)?(o=s,o.fns.push(c)):o=yt([s,c]),o.merged=!0,e[t]=o}function wt(e,t,n){var a=t.options.props;if(!r(a)){var o={},s=e.attrs,c=e.props;if(i(s)||i(c))for(var l in a){var u=C(l);xt(o,c,l,u,!0)||xt(o,s,l,u,!1)}return o}}function xt(e,t,n,r,a){if(i(t)){if(y(t,n))return e[n]=t[n],a||delete t[n],!0;if(y(t,r))return e[n]=t[r],a||delete t[r],!0}return!1}function Mt(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}function Ct(e){return s(e)?[ke(e)]:Array.isArray(e)?Et(e):void 0}function St(e){return i(e)&&i(e.text)&&o(e.isComment)}function Et(e,t){var n,o,c,l,u=[];for(n=0;n<e.length;n++)o=e[n],r(o)||"boolean"===typeof o||(c=u.length-1,l=u[c],Array.isArray(o)?o.length>0&&(o=Et(o,(t||"")+"_"+n),St(o[0])&&St(l)&&(u[c]=ke(l.text+o[0].text),o.shift()),u.push.apply(u,o)):s(o)?St(l)?u[c]=ke(l.text+o):""!==o&&u.push(ke(o)):St(o)&&St(l)?u[c]=ke(l.text+o.text):(a(e._isVList)&&i(o.tag)&&r(o.key)&&i(t)&&(o.key="__vlist"+t+"_"+n+"__"),u.push(o)));return u}function Dt(e){var t=e.$options.provide;t&&(e._provided="function"===typeof t?t.call(e):t)}function Tt(e){var t=Ot(e.$options.inject,e);t&&(De(!1),Object.keys(t).forEach((function(n){ze(e,n,t[n])})),De(!0))}function Ot(e,t){if(e){for(var n=Object.create(null),r=he?Reflect.ownKeys(e):Object.keys(e),i=0;i<r.length;i++){var a=r[i];if("__ob__"!==a){var o=e[a].from,s=t;while(s){if(s._provided&&y(s._provided,o)){n[a]=s._provided[o];break}s=s.$parent}if(!s)if("default"in e[a]){var c=e[a].default;n[a]="function"===typeof c?c.call(t):c}else 0}}return n}}function Lt(e,t){if(!e||!e.length)return{};for(var n={},r=0,i=e.length;r<i;r++){var a=e[r],o=a.data;if(o&&o.attrs&&o.attrs.slot&&delete o.attrs.slot,a.context!==t&&a.fnContext!==t||!o||null==o.slot)(n.default||(n.default=[])).push(a);else{var s=o.slot,c=n[s]||(n[s]=[]);"template"===a.tag?c.push.apply(c,a.children||[]):c.push(a)}}for(var l in n)n[l].every(Pt)&&delete n[l];return n}function Pt(e){return e.isComment&&!e.asyncFactory||" "===e.text}function zt(e){return e.isComment&&e.asyncFactory}function Yt(e,t,r){var i,a=Object.keys(t).length>0,o=e?!!e.$stable:!a,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(o&&r&&r!==n&&s===r.$key&&!a&&!r.$hasNormal)return r;for(var c in i={},e)e[c]&&"$"!==c[0]&&(i[c]=Nt(t,c,e[c]))}else i={};for(var l in t)l in i||(i[l]=jt(t,l));return e&&Object.isExtensible(e)&&(e._normalized=i),W(i,"$stable",o),W(i,"$key",s),W(i,"$hasNormal",a),i}function Nt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});e=e&&"object"===typeof e&&!Array.isArray(e)?[e]:Ct(e);var t=e&&e[0];return e&&(!t||1===e.length&&t.isComment&&!zt(t))?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function jt(e,t){return function(){return e[t]}}function Ft(e,t){var n,r,a,o,s;if(Array.isArray(e)||"string"===typeof e)for(n=new Array(e.length),r=0,a=e.length;r<a;r++)n[r]=t(e[r],r);else if("number"===typeof e)for(n=new Array(e),r=0;r<e;r++)n[r]=t(r+1,r);else if(c(e))if(he&&e[Symbol.iterator]){n=[];var l=e[Symbol.iterator](),u=l.next();while(!u.done)n.push(t(u.value,n.length)),u=l.next()}else for(o=Object.keys(e),n=new Array(o.length),r=0,a=o.length;r<a;r++)s=o[r],n[r]=t(e[s],s,r);return i(n)||(n=[]),n._isVList=!0,n}function Rt(e,t,n,r){var i,a=this.$scopedSlots[e];a?(n=n||{},r&&(n=O(O({},r),n)),i=a(n)||("function"===typeof t?t():t)):i=this.$slots[e]||("function"===typeof t?t():t);var o=n&&n.slot;return o?this.$createElement("template",{slot:o},i):i}function Bt(e){return Ke(this.$options,"filters",e,!0)||Y}function $t(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function It(e,t,n,r,i){var a=I.keyCodes[t]||n;return i&&r&&!I.keyCodes[t]?$t(i,r):a?$t(a,e):r?C(r)!==t:void 0===e}function qt(e,t,n,r,i){if(n)if(c(n)){var a;Array.isArray(n)&&(n=L(n));var o=function(o){if("class"===o||"style"===o||g(o))a=e;else{var s=e.attrs&&e.attrs.type;a=r||I.mustUseProp(t,s,o)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var c=w(o),l=C(o);if(!(c in a)&&!(l in a)&&(a[o]=n[o],i)){var u=e.on||(e.on={});u["update:"+o]=function(e){n[o]=e}}};for(var s in n)o(s)}else;return e}function Ht(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t||(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),Ut(r,"__static__"+e,!1)),r}function Wt(e,t,n){return Ut(e,"__once__"+t+(n?"_"+n:""),!0),e}function Ut(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!==typeof e[r]&&Vt(e[r],t+"_"+r,n);else Vt(e,t,n)}function Vt(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Gt(e,t){if(t)if(u(t)){var n=e.on=e.on?O({},e.on):{};for(var r in t){var i=n[r],a=t[r];n[r]=i?[].concat(i,a):a}}else;return e}function Kt(e,t,n,r){t=t||{$stable:!n};for(var i=0;i<e.length;i++){var a=e[i];Array.isArray(a)?Kt(a,t,n):a&&(a.proxy&&(a.fn.proxy=!0),t[a.key]=a.fn)}return r&&(t.$key=r),t}function Zt(e,t){for(var n=0;n<t.length;n+=2){var r=t[n];"string"===typeof r&&r&&(e[t[n]]=t[n+1])}return e}function Xt(e,t){return"string"===typeof e?t+e:e}function Jt(e){e._o=Wt,e._n=m,e._s=p,e._l=Ft,e._t=Rt,e._q=N,e._i=j,e._m=Ht,e._f=Bt,e._k=It,e._b=qt,e._v=ke,e._e=Ae,e._u=Kt,e._g=Gt,e._d=Zt,e._p=Xt}function Qt(e,t,r,i,o){var s,c=this,l=o.options;y(i,"_uid")?(s=Object.create(i),s._original=i):(s=i,i=i._original);var u=a(l._compiled),d=!u;this.data=e,this.props=t,this.children=r,this.parent=i,this.listeners=e.on||n,this.injections=Ot(l.inject,i),this.slots=function(){return c.$slots||Yt(e.scopedSlots,c.$slots=Lt(r,i)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Yt(e.scopedSlots,this.slots())}}),u&&(this.$options=l,this.$slots=this.slots(),this.$scopedSlots=Yt(e.scopedSlots,this.$slots)),l._scopeId?this._c=function(e,t,n,r){var a=fn(s,e,t,n,r,d);return a&&!Array.isArray(a)&&(a.fnScopeId=l._scopeId,a.fnContext=i),a}:this._c=function(e,t,n,r){return fn(s,e,t,n,r,d)}}function en(e,t,r,a,o){var s=e.options,c={},l=s.props;if(i(l))for(var u in l)c[u]=Ze(u,l,t||n);else i(r.attrs)&&nn(c,r.attrs),i(r.props)&&nn(c,r.props);var d=new Qt(r,c,o,a,e),h=s.render.call(null,d._c,d);if(h instanceof _e)return tn(h,r,d.parent,s,d);if(Array.isArray(h)){for(var f=Ct(h)||[],p=new Array(f.length),m=0;m<f.length;m++)p[m]=tn(f[m],r,d.parent,s,d);return p}}function tn(e,t,n,r,i){var a=we(e);return a.fnContext=n,a.fnOptions=r,t.slot&&((a.data||(a.data={})).slot=t.slot),a}function nn(e,t){for(var n in t)e[w(n)]=t[n]}Jt(Qt.prototype);var rn={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;rn.prepatch(n,n)}else{var r=e.componentInstance=sn(e,On);r.$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions,r=t.componentInstance=e.componentInstance;Nn(r,n.propsData,n.listeners,t,n.children)},insert:function(e){var t=e.context,n=e.componentInstance;n._isMounted||(n._isMounted=!0,Bn(n,"mounted")),e.data.keepAlive&&(t._isMounted?Qn(n):Fn(n,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?Rn(t,!0):t.$destroy())}},an=Object.keys(rn);function on(e,t,n,o,s){if(!r(e)){var l=n.$options._base;if(c(e)&&(e=l.extend(e)),"function"===typeof e){var u;if(r(e.cid)&&(u=e,e=wn(u,l),void 0===e))return kn(u,t,n,o,s);t=t||{},kr(e),i(t.model)&&un(e.options,t);var d=wt(t,e,s);if(a(e.options.functional))return en(e,d,t,n,o);var h=t.on;if(t.on=t.nativeOn,a(e.options.abstract)){var f=t.slot;t={},f&&(t.slot=f)}cn(t);var p=e.options.name||s,m=new _e("vue-component-"+e.cid+(p?"-"+p:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:d,listeners:h,tag:s,children:o},u);return m}}}function sn(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},r=e.data.inlineTemplate;return i(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new e.componentOptions.Ctor(n)}function cn(e){for(var t=e.hook||(e.hook={}),n=0;n<an.length;n++){var r=an[n],i=t[r],a=rn[r];i===a||i&&i._merged||(t[r]=i?ln(a,i):a)}}function ln(e,t){var n=function(n,r){e(n,r),t(n,r)};return n._merged=!0,n}function un(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var a=t.on||(t.on={}),o=a[r],s=t.model.callback;i(o)?(Array.isArray(o)?-1===o.indexOf(s):o!==s)&&(a[r]=[s].concat(o)):a[r]=s}var dn=1,hn=2;function fn(e,t,n,r,i,o){return(Array.isArray(n)||s(n))&&(i=r,r=n,n=void 0),a(o)&&(i=hn),pn(e,t,n,r,i)}function pn(e,t,n,r,a){if(i(n)&&i(n.__ob__))return Ae();if(i(n)&&i(n.is)&&(t=n.is),!t)return Ae();var o,s,c;(Array.isArray(r)&&"function"===typeof r[0]&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),a===hn?r=Ct(r):a===dn&&(r=Mt(r)),"string"===typeof t)?(s=e.$vnode&&e.$vnode.ns||I.getTagNamespace(t),o=I.isReservedTag(t)?new _e(I.parsePlatformTagName(t),n,r,void 0,void 0,e):n&&n.pre||!i(c=Ke(e.$options,"components",t))?new _e(t,n,r,void 0,void 0,e):on(c,n,e,r,t)):o=on(t,n,e,r);return Array.isArray(o)?o:i(o)?(i(s)&&mn(o,s),i(n)&&bn(n),o):Ae()}function mn(e,t,n){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,n=!0),i(e.children))for(var o=0,s=e.children.length;o<s;o++){var c=e.children[o];i(c.tag)&&(r(c.ns)||a(n)&&"svg"!==c.tag)&&mn(c,t,n)}}function bn(e){c(e.style)&&gt(e.style),c(e.class)&&gt(e.class)}function gn(e){e._vnode=null,e._staticTrees=null;var t=e.$options,r=e.$vnode=t._parentVnode,i=r&&r.context;e.$slots=Lt(t._renderChildren,i),e.$scopedSlots=n,e._c=function(t,n,r,i){return fn(e,t,n,r,i,!1)},e.$createElement=function(t,n,r,i){return fn(e,t,n,r,i,!0)};var a=r&&r.data;ze(e,"$attrs",a&&a.attrs||n,null,!0),ze(e,"$listeners",t._parentListeners||n,null,!0)}var vn,_n=null;function yn(e){Jt(e.prototype),e.prototype.$nextTick=function(e){return mt(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,r=n.render,i=n._parentVnode;i&&(t.$scopedSlots=Yt(i.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=i;try{_n=t,e=r.call(t._renderProxy,t.$createElement)}catch(xo){nt(xo,t,"render"),e=t._vnode}finally{_n=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof _e||(e=Ae()),e.parent=i,e}}function An(e,t){return(e.__esModule||he&&"Module"===e[Symbol.toStringTag])&&(e=e.default),c(e)?t.extend(e):e}function kn(e,t,n,r,i){var a=Ae();return a.asyncFactory=e,a.asyncMeta={data:t,context:n,children:r,tag:i},a}function wn(e,t){if(a(e.error)&&i(e.errorComp))return e.errorComp;if(i(e.resolved))return e.resolved;var n=_n;if(n&&i(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),a(e.loading)&&i(e.loadingComp))return e.loadingComp;if(n&&!i(e.owners)){var o=e.owners=[n],s=!0,l=null,u=null;n.$on("hook:destroyed",(function(){return v(o,n)}));var d=function(e){for(var t=0,n=o.length;t<n;t++)o[t].$forceUpdate();e&&(o.length=0,null!==l&&(clearTimeout(l),l=null),null!==u&&(clearTimeout(u),u=null))},h=F((function(n){e.resolved=An(n,t),s?o.length=0:d(!0)})),p=F((function(t){i(e.errorComp)&&(e.error=!0,d(!0))})),m=e(h,p);return c(m)&&(f(m)?r(e.resolved)&&m.then(h,p):f(m.component)&&(m.component.then(h,p),i(m.error)&&(e.errorComp=An(m.error,t)),i(m.loading)&&(e.loadingComp=An(m.loading,t),0===m.delay?e.loading=!0:l=setTimeout((function(){l=null,r(e.resolved)&&r(e.error)&&(e.loading=!0,d(!1))}),m.delay||200)),i(m.timeout)&&(u=setTimeout((function(){u=null,r(e.resolved)&&p(null)}),m.timeout)))),s=!1,e.loading?e.loadingComp:e.resolved}}function xn(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(i(n)&&(i(n.componentOptions)||zt(n)))return n}}function Mn(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Dn(e,t)}function Cn(e,t){vn.$on(e,t)}function Sn(e,t){vn.$off(e,t)}function En(e,t){var n=vn;return function r(){var i=t.apply(null,arguments);null!==i&&n.$off(e,r)}}function Dn(e,t,n){vn=e,At(t,n||{},Cn,Sn,En,e),vn=void 0}function Tn(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var i=0,a=e.length;i<a;i++)r.$on(e[i],n);else(r._events[e]||(r._events[e]=[])).push(n),t.test(e)&&(r._hasHookEvent=!0);return r},e.prototype.$once=function(e,t){var n=this;function r(){n.$off(e,r),t.apply(n,arguments)}return r.fn=t,n.$on(e,r),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var r=0,i=e.length;r<i;r++)n.$off(e[r],t);return n}var a,o=n._events[e];if(!o)return n;if(!t)return n._events[e]=null,n;var s=o.length;while(s--)if(a=o[s],a===t||a.fn===t){o.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?T(n):n;for(var r=T(arguments,1),i='event handler for "'+e+'"',a=0,o=n.length;a<o;a++)rt(n[a],t,r,t,i)}return t}}var On=null;function Ln(e){var t=On;return On=e,function(){On=t}}function Pn(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){while(n.$options.abstract&&n.$parent)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function zn(e){e.prototype._update=function(e,t){var n=this,r=n.$el,i=n._vnode,a=Ln(n);n._vnode=e,n.$el=i?n.__patch__(i,e):n.__patch__(n.$el,e,t,!1),a(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){var e=this;e._watcher&&e._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Bn(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||v(t.$children,e),e._watcher&&e._watcher.teardown();var n=e._watchers.length;while(n--)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Bn(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}function Yn(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=Ae),Bn(e,"beforeMount"),r=function(){e._update(e._render(),n)},new rr(e,r,P,{before:function(){e._isMounted&&!e._isDestroyed&&Bn(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,Bn(e,"mounted")),e}function Nn(e,t,r,i,a){var o=i.data.scopedSlots,s=e.$scopedSlots,c=!!(o&&!o.$stable||s!==n&&!s.$stable||o&&e.$scopedSlots.$key!==o.$key||!o&&e.$scopedSlots.$key),l=!!(a||e.$options._renderChildren||c);if(e.$options._parentVnode=i,e.$vnode=i,e._vnode&&(e._vnode.parent=i),e.$options._renderChildren=a,e.$attrs=i.data.attrs||n,e.$listeners=r||n,t&&e.$options.props){De(!1);for(var u=e._props,d=e.$options._propKeys||[],h=0;h<d.length;h++){var f=d[h],p=e.$options.props;u[f]=Ze(f,p,t,e)}De(!0),e.$options.propsData=t}r=r||n;var m=e.$options._parentListeners;e.$options._parentListeners=r,Dn(e,r,m),l&&(e.$slots=Lt(a,i.context),e.$forceUpdate())}function jn(e){while(e&&(e=e.$parent))if(e._inactive)return!0;return!1}function Fn(e,t){if(t){if(e._directInactive=!1,jn(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)Fn(e.$children[n]);Bn(e,"activated")}}function Rn(e,t){if((!t||(e._directInactive=!0,!jn(e)))&&!e._inactive){e._inactive=!0;for(var n=0;n<e.$children.length;n++)Rn(e.$children[n]);Bn(e,"deactivated")}}function Bn(e,t){ge();var n=e.$options[t],r=t+" hook";if(n)for(var i=0,a=n.length;i<a;i++)rt(n[i],e,null,e,r);e._hasHookEvent&&e.$emit("hook:"+t),ve()}var $n=[],In=[],qn={},Hn=!1,Wn=!1,Un=0;function Vn(){Un=$n.length=In.length=0,qn={},Hn=Wn=!1}var Gn=0,Kn=Date.now;if(Z&&!ee){var Zn=window.performance;Zn&&"function"===typeof Zn.now&&Kn()>document.createEvent("Event").timeStamp&&(Kn=function(){return Zn.now()})}function Xn(){var e,t;for(Gn=Kn(),Wn=!0,$n.sort((function(e,t){return e.id-t.id})),Un=0;Un<$n.length;Un++)e=$n[Un],e.before&&e.before(),t=e.id,qn[t]=null,e.run();var n=In.slice(),r=$n.slice();Vn(),er(n),Jn(r),le&&I.devtools&&le.emit("flush")}function Jn(e){var t=e.length;while(t--){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&Bn(r,"updated")}}function Qn(e){e._inactive=!1,In.push(e)}function er(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,Fn(e[t],!0)}function tr(e){var t=e.id;if(null==qn[t]){if(qn[t]=!0,Wn){var n=$n.length-1;while(n>Un&&$n[n].id>e.id)n--;$n.splice(n+1,0,e)}else $n.push(e);Hn||(Hn=!0,mt(Xn))}}var nr=0,rr=function(e,t,n,r,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++nr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new de,this.newDepIds=new de,this.expression="","function"===typeof t?this.getter=t:(this.getter=V(t),this.getter||(this.getter=P)),this.value=this.lazy?void 0:this.get()};rr.prototype.get=function(){var e;ge(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(xo){if(!this.user)throw xo;nt(xo,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&gt(e),ve(),this.cleanupDeps()}return e},rr.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},rr.prototype.cleanupDeps=function(){var e=this.deps.length;while(e--){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},rr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():tr(this)},rr.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||c(e)||this.deep){var t=this.value;if(this.value=e,this.user){var n='callback for watcher "'+this.expression+'"';rt(this.cb,this.vm,[e,t],this.vm,n)}else this.cb.call(this.vm,e,t)}}},rr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},rr.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},rr.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||v(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var ir={enumerable:!0,configurable:!0,get:P,set:P};function ar(e,t,n){ir.get=function(){return this[t][n]},ir.set=function(e){this[t][n]=e},Object.defineProperty(e,n,ir)}function or(e){e._watchers=[];var t=e.$options;t.props&&sr(e,t.props),t.methods&&mr(e,t.methods),t.data?cr(e):Pe(e._data={},!0),t.computed&&dr(e,t.computed),t.watch&&t.watch!==ae&&br(e,t.watch)}function sr(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],a=!e.$parent;a||De(!1);var o=function(a){i.push(a);var o=Ze(a,t,n,e);ze(r,a,o),a in e||ar(e,"_props",a)};for(var s in t)o(s);De(!0)}function cr(e){var t=e.$options.data;t=e._data="function"===typeof t?lr(t,e):t||{},u(t)||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);while(i--){var a=n[i];0,r&&y(r,a)||H(a)||ar(e,"_data",a)}Pe(t,!0)}function lr(e,t){ge();try{return e.call(t,t)}catch(xo){return nt(xo,t,"data()"),{}}finally{ve()}}var ur={lazy:!0};function dr(e,t){var n=e._computedWatchers=Object.create(null),r=ce();for(var i in t){var a=t[i],o="function"===typeof a?a:a.get;0,r||(n[i]=new rr(e,o||P,P,ur)),i in e||hr(e,i,a)}}function hr(e,t,n){var r=!ce();"function"===typeof n?(ir.get=r?fr(t):pr(n),ir.set=P):(ir.get=n.get?r&&!1!==n.cache?fr(t):pr(n.get):P,ir.set=n.set||P),Object.defineProperty(e,t,ir)}function fr(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),me.target&&t.depend(),t.value}}function pr(e){return function(){return e.call(this,this)}}function mr(e,t){e.$options.props;for(var n in t)e[n]="function"!==typeof t[n]?P:D(t[n],e)}function br(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)gr(e,n,r[i]);else gr(e,n,r)}}function gr(e,t,n,r){return u(n)&&(r=n,n=n.handler),"string"===typeof n&&(n=e[n]),e.$watch(t,n,r)}function vr(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Ye,e.prototype.$delete=Ne,e.prototype.$watch=function(e,t,n){var r=this;if(u(t))return gr(r,e,t,n);n=n||{},n.user=!0;var i=new rr(r,e,t,n);if(n.immediate){var a='callback for immediate watcher "'+i.expression+'"';ge(),rt(t,r,[i.value],r,a),ve()}return function(){i.teardown()}}}var _r=0;function yr(e){e.prototype._init=function(e){var t=this;t._uid=_r++,t._isVue=!0,e&&e._isComponent?Ar(t,e):t.$options=Ge(kr(t.constructor),e||{},t),t._renderProxy=t,t._self=t,Pn(t),Mn(t),gn(t),Bn(t,"beforeCreate"),Tt(t),or(t),Dt(t),Bn(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}function Ar(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}function kr(e){var t=e.options;if(e.super){var n=kr(e.super),r=e.superOptions;if(n!==r){e.superOptions=n;var i=wr(e);i&&O(e.extendOptions,i),t=e.options=Ge(n,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function wr(e){var t,n=e.options,r=e.sealedOptions;for(var i in n)n[i]!==r[i]&&(t||(t={}),t[i]=n[i]);return t}function xr(e){this._init(e)}function Mr(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=T(arguments,1);return n.unshift(this),"function"===typeof e.install?e.install.apply(e,n):"function"===typeof e&&e.apply(null,n),t.push(e),this}}function Cr(e){e.mixin=function(e){return this.options=Ge(this.options,e),this}}function Sr(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var a=e.name||n.options.name;var o=function(e){this._init(e)};return o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.cid=t++,o.options=Ge(n.options,e),o["super"]=n,o.options.props&&Er(o),o.options.computed&&Dr(o),o.extend=n.extend,o.mixin=n.mixin,o.use=n.use,B.forEach((function(e){o[e]=n[e]})),a&&(o.options.components[a]=o),o.superOptions=n.options,o.extendOptions=e,o.sealedOptions=O({},o.options),i[r]=o,o}}function Er(e){var t=e.options.props;for(var n in t)ar(e.prototype,"_props",n)}function Dr(e){var t=e.options.computed;for(var n in t)hr(e.prototype,n,t[n])}function Tr(e){B.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&u(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"===typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}function Or(e){return e&&(e.Ctor.options.name||e.tag)}function Lr(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!d(e)&&e.test(t)}function Pr(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var a in n){var o=n[a];if(o){var s=o.name;s&&!t(s)&&zr(n,a,r,i)}}}function zr(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,v(n,t)}yr(xr),vr(xr),Tn(xr),zn(xr),yn(xr);var Yr=[String,RegExp,Array],Nr={name:"keep-alive",abstract:!0,props:{include:Yr,exclude:Yr,max:[String,Number]},methods:{cacheVNode:function(){var e=this,t=e.cache,n=e.keys,r=e.vnodeToCache,i=e.keyToCache;if(r){var a=r.tag,o=r.componentInstance,s=r.componentOptions;t[i]={name:Or(s),tag:a,componentInstance:o},n.push(i),this.max&&n.length>parseInt(this.max)&&zr(t,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)zr(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",(function(t){Pr(e,(function(e){return Lr(t,e)}))})),this.$watch("exclude",(function(t){Pr(e,(function(e){return!Lr(t,e)}))}))},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,t=xn(e),n=t&&t.componentOptions;if(n){var r=Or(n),i=this,a=i.include,o=i.exclude;if(a&&(!r||!Lr(a,r))||o&&r&&Lr(o,r))return t;var s=this,c=s.cache,l=s.keys,u=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;c[u]?(t.componentInstance=c[u].componentInstance,v(l,u),l.push(u)):(this.vnodeToCache=t,this.keyToCache=u),t.data.keepAlive=!0}return t||e&&e[0]}},jr={KeepAlive:Nr};function Fr(e){var t={get:function(){return I}};Object.defineProperty(e,"config",t),e.util={warn:fe,extend:O,mergeOptions:Ge,defineReactive:ze},e.set=Ye,e.delete=Ne,e.nextTick=mt,e.observable=function(e){return Pe(e),e},e.options=Object.create(null),B.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,O(e.options.components,jr),Mr(e),Cr(e),Sr(e),Tr(e)}Fr(xr),Object.defineProperty(xr.prototype,"$isServer",{get:ce}),Object.defineProperty(xr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(xr,"FunctionalRenderContext",{value:Qt}),xr.version="2.6.14";var Rr=b("style,class"),Br=b("input,textarea,option,select,progress"),$r=function(e,t,n){return"value"===n&&Br(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Ir=b("contenteditable,draggable,spellcheck"),qr=b("events,caret,typing,plaintext-only"),Hr=function(e,t){return Kr(t)||"false"===t?"false":"contenteditable"===e&&qr(t)?t:"true"},Wr=b("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Ur="http://www.w3.org/1999/xlink",Vr=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Gr=function(e){return Vr(e)?e.slice(6,e.length):""},Kr=function(e){return null==e||!1===e};function Zr(e){var t=e.data,n=e,r=e;while(i(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(t=Xr(r.data,t));while(i(n=n.parent))n&&n.data&&(t=Xr(t,n.data));return Jr(t.staticClass,t.class)}function Xr(e,t){return{staticClass:Qr(e.staticClass,t.staticClass),class:i(e.class)?[e.class,t.class]:t.class}}function Jr(e,t){return i(e)||i(t)?Qr(e,ei(t)):""}function Qr(e,t){return e?t?e+" "+t:e:t||""}function ei(e){return Array.isArray(e)?ti(e):c(e)?ni(e):"string"===typeof e?e:""}function ti(e){for(var t,n="",r=0,a=e.length;r<a;r++)i(t=ei(e[r]))&&""!==t&&(n&&(n+=" "),n+=t);return n}function ni(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}var ri={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},ii=b("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),ai=b("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),oi=function(e){return ii(e)||ai(e)};function si(e){return ai(e)?"svg":"math"===e?"math":void 0}var ci=Object.create(null);function li(e){if(!Z)return!0;if(oi(e))return!1;if(e=e.toLowerCase(),null!=ci[e])return ci[e];var t=document.createElement(e);return e.indexOf("-")>-1?ci[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:ci[e]=/HTMLUnknownElement/.test(t.toString())}var ui=b("text,number,password,search,email,tel,url");function di(e){if("string"===typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function hi(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function fi(e,t){return document.createElementNS(ri[e],t)}function pi(e){return document.createTextNode(e)}function mi(e){return document.createComment(e)}function bi(e,t,n){e.insertBefore(t,n)}function gi(e,t){e.removeChild(t)}function vi(e,t){e.appendChild(t)}function _i(e){return e.parentNode}function yi(e){return e.nextSibling}function Ai(e){return e.tagName}function ki(e,t){e.textContent=t}function wi(e,t){e.setAttribute(t,"")}var xi=Object.freeze({createElement:hi,createElementNS:fi,createTextNode:pi,createComment:mi,insertBefore:bi,removeChild:gi,appendChild:vi,parentNode:_i,nextSibling:yi,tagName:Ai,setTextContent:ki,setStyleScope:wi}),Mi={create:function(e,t){Ci(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Ci(e,!0),Ci(t))},destroy:function(e){Ci(e,!0)}};function Ci(e,t){var n=e.data.ref;if(i(n)){var r=e.context,a=e.componentInstance||e.elm,o=r.$refs;t?Array.isArray(o[n])?v(o[n],a):o[n]===a&&(o[n]=void 0):e.data.refInFor?Array.isArray(o[n])?o[n].indexOf(a)<0&&o[n].push(a):o[n]=[a]:o[n]=a}}var Si=new _e("",{},[]),Ei=["create","activate","update","remove","destroy"];function Di(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&i(e.data)===i(t.data)&&Ti(e,t)||a(e.isAsyncPlaceholder)&&r(t.asyncFactory.error))}function Ti(e,t){if("input"!==e.tag)return!0;var n,r=i(n=e.data)&&i(n=n.attrs)&&n.type,a=i(n=t.data)&&i(n=n.attrs)&&n.type;return r===a||ui(r)&&ui(a)}function Oi(e,t,n){var r,a,o={};for(r=t;r<=n;++r)a=e[r].key,i(a)&&(o[a]=r);return o}function Li(e){var t,n,o={},c=e.modules,l=e.nodeOps;for(t=0;t<Ei.length;++t)for(o[Ei[t]]=[],n=0;n<c.length;++n)i(c[n][Ei[t]])&&o[Ei[t]].push(c[n][Ei[t]]);function u(e){return new _e(l.tagName(e).toLowerCase(),{},[],void 0,e)}function d(e,t){function n(){0===--n.listeners&&h(e)}return n.listeners=t,n}function h(e){var t=l.parentNode(e);i(t)&&l.removeChild(t,e)}function f(e,t,n,r,o,s,c){if(i(e.elm)&&i(s)&&(e=s[c]=we(e)),e.isRootInsert=!o,!p(e,t,n,r)){var u=e.data,d=e.children,h=e.tag;i(h)?(e.elm=e.ns?l.createElementNS(e.ns,h):l.createElement(h,e),k(e),_(e,d,t),i(u)&&A(e,t),v(n,e.elm,r)):a(e.isComment)?(e.elm=l.createComment(e.text),v(n,e.elm,r)):(e.elm=l.createTextNode(e.text),v(n,e.elm,r))}}function p(e,t,n,r){var o=e.data;if(i(o)){var s=i(e.componentInstance)&&o.keepAlive;if(i(o=o.hook)&&i(o=o.init)&&o(e,!1),i(e.componentInstance))return m(e,t),v(n,e.elm,r),a(s)&&g(e,t,n,r),!0}}function m(e,t){i(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,y(e)?(A(e,t),k(e)):(Ci(e),t.push(e))}function g(e,t,n,r){var a,s=e;while(s.componentInstance)if(s=s.componentInstance._vnode,i(a=s.data)&&i(a=a.transition)){for(a=0;a<o.activate.length;++a)o.activate[a](Si,s);t.push(s);break}v(n,e.elm,r)}function v(e,t,n){i(e)&&(i(n)?l.parentNode(n)===e&&l.insertBefore(e,t,n):l.appendChild(e,t))}function _(e,t,n){if(Array.isArray(t)){0;for(var r=0;r<t.length;++r)f(t[r],n,e.elm,null,!0,t,r)}else s(e.text)&&l.appendChild(e.elm,l.createTextNode(String(e.text)))}function y(e){while(e.componentInstance)e=e.componentInstance._vnode;return i(e.tag)}function A(e,n){for(var r=0;r<o.create.length;++r)o.create[r](Si,e);t=e.data.hook,i(t)&&(i(t.create)&&t.create(Si,e),i(t.insert)&&n.push(e))}function k(e){var t;if(i(t=e.fnScopeId))l.setStyleScope(e.elm,t);else{var n=e;while(n)i(t=n.context)&&i(t=t.$options._scopeId)&&l.setStyleScope(e.elm,t),n=n.parent}i(t=On)&&t!==e.context&&t!==e.fnContext&&i(t=t.$options._scopeId)&&l.setStyleScope(e.elm,t)}function w(e,t,n,r,i,a){for(;r<=i;++r)f(n[r],a,e,t,!1,n,r)}function x(e){var t,n,r=e.data;if(i(r))for(i(t=r.hook)&&i(t=t.destroy)&&t(e),t=0;t<o.destroy.length;++t)o.destroy[t](e);if(i(t=e.children))for(n=0;n<e.children.length;++n)x(e.children[n])}function M(e,t,n){for(;t<=n;++t){var r=e[t];i(r)&&(i(r.tag)?(C(r),x(r)):h(r.elm))}}function C(e,t){if(i(t)||i(e.data)){var n,r=o.remove.length+1;for(i(t)?t.listeners+=r:t=d(e.elm,r),i(n=e.componentInstance)&&i(n=n._vnode)&&i(n.data)&&C(n,t),n=0;n<o.remove.length;++n)o.remove[n](e,t);i(n=e.data.hook)&&i(n=n.remove)?n(e,t):t()}else h(e.elm)}function S(e,t,n,a,o){var s,c,u,d,h=0,p=0,m=t.length-1,b=t[0],g=t[m],v=n.length-1,_=n[0],y=n[v],A=!o;while(h<=m&&p<=v)r(b)?b=t[++h]:r(g)?g=t[--m]:Di(b,_)?(D(b,_,a,n,p),b=t[++h],_=n[++p]):Di(g,y)?(D(g,y,a,n,v),g=t[--m],y=n[--v]):Di(b,y)?(D(b,y,a,n,v),A&&l.insertBefore(e,b.elm,l.nextSibling(g.elm)),b=t[++h],y=n[--v]):Di(g,_)?(D(g,_,a,n,p),A&&l.insertBefore(e,g.elm,b.elm),g=t[--m],_=n[++p]):(r(s)&&(s=Oi(t,h,m)),c=i(_.key)?s[_.key]:E(_,t,h,m),r(c)?f(_,a,e,b.elm,!1,n,p):(u=t[c],Di(u,_)?(D(u,_,a,n,p),t[c]=void 0,A&&l.insertBefore(e,u.elm,b.elm)):f(_,a,e,b.elm,!1,n,p)),_=n[++p]);h>m?(d=r(n[v+1])?null:n[v+1].elm,w(e,d,n,p,v,a)):p>v&&M(t,h,m)}function E(e,t,n,r){for(var a=n;a<r;a++){var o=t[a];if(i(o)&&Di(e,o))return a}}function D(e,t,n,s,c,u){if(e!==t){i(t.elm)&&i(s)&&(t=s[c]=we(t));var d=t.elm=e.elm;if(a(e.isAsyncPlaceholder))i(t.asyncFactory.resolved)?L(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(a(t.isStatic)&&a(e.isStatic)&&t.key===e.key&&(a(t.isCloned)||a(t.isOnce)))t.componentInstance=e.componentInstance;else{var h,f=t.data;i(f)&&i(h=f.hook)&&i(h=h.prepatch)&&h(e,t);var p=e.children,m=t.children;if(i(f)&&y(t)){for(h=0;h<o.update.length;++h)o.update[h](e,t);i(h=f.hook)&&i(h=h.update)&&h(e,t)}r(t.text)?i(p)&&i(m)?p!==m&&S(d,p,m,n,u):i(m)?(i(e.text)&&l.setTextContent(d,""),w(d,null,m,0,m.length-1,n)):i(p)?M(p,0,p.length-1):i(e.text)&&l.setTextContent(d,""):e.text!==t.text&&l.setTextContent(d,t.text),i(f)&&i(h=f.hook)&&i(h=h.postpatch)&&h(e,t)}}}function T(e,t,n){if(a(n)&&i(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r<t.length;++r)t[r].data.hook.insert(t[r])}var O=b("attrs,class,staticClass,staticStyle,key");function L(e,t,n,r){var o,s=t.tag,c=t.data,l=t.children;if(r=r||c&&c.pre,t.elm=e,a(t.isComment)&&i(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(i(c)&&(i(o=c.hook)&&i(o=o.init)&&o(t,!0),i(o=t.componentInstance)))return m(t,n),!0;if(i(s)){if(i(l))if(e.hasChildNodes())if(i(o=c)&&i(o=o.domProps)&&i(o=o.innerHTML)){if(o!==e.innerHTML)return!1}else{for(var u=!0,d=e.firstChild,h=0;h<l.length;h++){if(!d||!L(d,l[h],n,r)){u=!1;break}d=d.nextSibling}if(!u||d)return!1}else _(t,l,n);if(i(c)){var f=!1;for(var p in c)if(!O(p)){f=!0,A(t,n);break}!f&&c["class"]&&gt(c["class"])}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,s){if(!r(t)){var c=!1,d=[];if(r(e))c=!0,f(t,d);else{var h=i(e.nodeType);if(!h&&Di(e,t))D(e,t,d,null,null,s);else{if(h){if(1===e.nodeType&&e.hasAttribute(R)&&(e.removeAttribute(R),n=!0),a(n)&&L(e,t,d))return T(t,d,!0),e;e=u(e)}var p=e.elm,m=l.parentNode(p);if(f(t,d,p._leaveCb?null:m,l.nextSibling(p)),i(t.parent)){var b=t.parent,g=y(t);while(b){for(var v=0;v<o.destroy.length;++v)o.destroy[v](b);if(b.elm=t.elm,g){for(var _=0;_<o.create.length;++_)o.create[_](Si,b);var A=b.data.hook.insert;if(A.merged)for(var k=1;k<A.fns.length;k++)A.fns[k]()}else Ci(b);b=b.parent}}i(m)?M([e],0,0):i(e.tag)&&x(e)}}return T(t,d,c),t.elm}i(e)&&x(e)}}var Pi={create:zi,update:zi,destroy:function(e){zi(e,Si)}};function zi(e,t){(e.data.directives||t.data.directives)&&Yi(e,t)}function Yi(e,t){var n,r,i,a=e===Si,o=t===Si,s=ji(e.data.directives,e.context),c=ji(t.data.directives,t.context),l=[],u=[];for(n in c)r=s[n],i=c[n],r?(i.oldValue=r.value,i.oldArg=r.arg,Ri(i,"update",t,e),i.def&&i.def.componentUpdated&&u.push(i)):(Ri(i,"bind",t,e),i.def&&i.def.inserted&&l.push(i));if(l.length){var d=function(){for(var n=0;n<l.length;n++)Ri(l[n],"inserted",t,e)};a?kt(t,"insert",d):d()}if(u.length&&kt(t,"postpatch",(function(){for(var n=0;n<u.length;n++)Ri(u[n],"componentUpdated",t,e)})),!a)for(n in s)c[n]||Ri(s[n],"unbind",e,e,o)}var Ni=Object.create(null);function ji(e,t){var n,r,i=Object.create(null);if(!e)return i;for(n=0;n<e.length;n++)r=e[n],r.modifiers||(r.modifiers=Ni),i[Fi(r)]=r,r.def=Ke(t.$options,"directives",r.name,!0);return i}function Fi(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function Ri(e,t,n,r,i){var a=e.def&&e.def[t];if(a)try{a(n.elm,e,n,r,i)}catch(xo){nt(xo,n.context,"directive "+e.name+" "+t+" hook")}}var Bi=[Mi,Pi];function $i(e,t){var n=t.componentOptions;if((!i(n)||!1!==n.Ctor.options.inheritAttrs)&&(!r(e.data.attrs)||!r(t.data.attrs))){var a,o,s,c=t.elm,l=e.data.attrs||{},u=t.data.attrs||{};for(a in i(u.__ob__)&&(u=t.data.attrs=O({},u)),u)o=u[a],s=l[a],s!==o&&Ii(c,a,o,t.data.pre);for(a in(ee||ne)&&u.value!==l.value&&Ii(c,"value",u.value),l)r(u[a])&&(Vr(a)?c.removeAttributeNS(Ur,Gr(a)):Ir(a)||c.removeAttribute(a))}}function Ii(e,t,n,r){r||e.tagName.indexOf("-")>-1?qi(e,t,n):Wr(t)?Kr(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Ir(t)?e.setAttribute(t,Hr(t,n)):Vr(t)?Kr(n)?e.removeAttributeNS(Ur,Gr(t)):e.setAttributeNS(Ur,t,n):qi(e,t,n)}function qi(e,t,n){if(Kr(n))e.removeAttribute(t);else{if(ee&&!te&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var Hi={create:$i,update:$i};function Wi(e,t){var n=t.elm,a=t.data,o=e.data;if(!(r(a.staticClass)&&r(a.class)&&(r(o)||r(o.staticClass)&&r(o.class)))){var s=Zr(t),c=n._transitionClasses;i(c)&&(s=Qr(s,ei(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Ui,Vi={create:Wi,update:Wi},Gi="__r",Ki="__c";function Zi(e){if(i(e[Gi])){var t=ee?"change":"input";e[t]=[].concat(e[Gi],e[t]||[]),delete e[Gi]}i(e[Ki])&&(e.change=[].concat(e[Ki],e.change||[]),delete e[Ki])}function Xi(e,t,n){var r=Ui;return function i(){var a=t.apply(null,arguments);null!==a&&ea(e,i,n,r)}}var Ji=st&&!(ie&&Number(ie[1])<=53);function Qi(e,t,n,r){if(Ji){var i=Gn,a=t;t=a._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return a.apply(this,arguments)}}Ui.addEventListener(e,t,oe?{capture:n,passive:r}:n)}function ea(e,t,n,r){(r||Ui).removeEventListener(e,t._wrapper||t,n)}function ta(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},i=e.data.on||{};Ui=t.elm,Zi(n),At(n,i,Qi,ea,Xi,t.context),Ui=void 0}}var na,ra={create:ta,update:ta};function ia(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,a,o=t.elm,s=e.data.domProps||{},c=t.data.domProps||{};for(n in i(c.__ob__)&&(c=t.data.domProps=O({},c)),s)n in c||(o[n]="");for(n in c){if(a=c[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),a===s[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=a;var l=r(a)?"":String(a);aa(o,l)&&(o.value=l)}else if("innerHTML"===n&&ai(o.tagName)&&r(o.innerHTML)){na=na||document.createElement("div"),na.innerHTML="<svg>"+a+"</svg>";var u=na.firstChild;while(o.firstChild)o.removeChild(o.firstChild);while(u.firstChild)o.appendChild(u.firstChild)}else if(a!==s[n])try{o[n]=a}catch(xo){}}}}function aa(e,t){return!e.composing&&("OPTION"===e.tagName||oa(e,t)||sa(e,t))}function oa(e,t){var n=!0;try{n=document.activeElement!==e}catch(xo){}return n&&e.value!==t}function sa(e,t){var n=e.value,r=e._vModifiers;if(i(r)){if(r.number)return m(n)!==m(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}var ca={create:ia,update:ia},la=A((function(e){var t={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach((function(e){if(e){var n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}));function ua(e){var t=da(e.style);return e.staticStyle?O(e.staticStyle,t):t}function da(e){return Array.isArray(e)?L(e):"string"===typeof e?la(e):e}function ha(e,t){var n,r={};if(t){var i=e;while(i.componentInstance)i=i.componentInstance._vnode,i&&i.data&&(n=ua(i.data))&&O(r,n)}(n=ua(e.data))&&O(r,n);var a=e;while(a=a.parent)a.data&&(n=ua(a.data))&&O(r,n);return r}var fa,pa=/^--/,ma=/\s*!important$/,ba=function(e,t,n){if(pa.test(t))e.style.setProperty(t,n);else if(ma.test(n))e.style.setProperty(C(t),n.replace(ma,""),"important");else{var r=va(t);if(Array.isArray(n))for(var i=0,a=n.length;i<a;i++)e.style[r]=n[i];else e.style[r]=n}},ga=["Webkit","Moz","ms"],va=A((function(e){if(fa=fa||document.createElement("div").style,e=w(e),"filter"!==e&&e in fa)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<ga.length;n++){var r=ga[n]+t;if(r in fa)return r}}));function _a(e,t){var n=t.data,a=e.data;if(!(r(n.staticStyle)&&r(n.style)&&r(a.staticStyle)&&r(a.style))){var o,s,c=t.elm,l=a.staticStyle,u=a.normalizedStyle||a.style||{},d=l||u,h=da(t.data.style)||{};t.data.normalizedStyle=i(h.__ob__)?O({},h):h;var f=ha(t,!0);for(s in d)r(f[s])&&ba(c,s,"");for(s in f)o=f[s],o!==d[s]&&ba(c,s,null==o?"":o)}}var ya={create:_a,update:_a},Aa=/\s+/;function ka(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Aa).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function wa(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Aa).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function xa(e){if(e){if("object"===typeof e){var t={};return!1!==e.css&&O(t,Ma(e.name||"v")),O(t,e),t}return"string"===typeof e?Ma(e):void 0}}var Ma=A((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),Ca=Z&&!te,Sa="transition",Ea="animation",Da="transition",Ta="transitionend",Oa="animation",La="animationend";Ca&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Da="WebkitTransition",Ta="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Oa="WebkitAnimation",La="webkitAnimationEnd"));var Pa=Z?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function za(e){Pa((function(){Pa(e)}))}function Ya(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),ka(e,t))}function Na(e,t){e._transitionClasses&&v(e._transitionClasses,t),wa(e,t)}function ja(e,t,n){var r=Ra(e,t),i=r.type,a=r.timeout,o=r.propCount;if(!i)return n();var s=i===Sa?Ta:La,c=0,l=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++c>=o&&l()};setTimeout((function(){c<o&&l()}),a+1),e.addEventListener(s,u)}var Fa=/\b(transform|all)(,|$)/;function Ra(e,t){var n,r=window.getComputedStyle(e),i=(r[Da+"Delay"]||"").split(", "),a=(r[Da+"Duration"]||"").split(", "),o=Ba(i,a),s=(r[Oa+"Delay"]||"").split(", "),c=(r[Oa+"Duration"]||"").split(", "),l=Ba(s,c),u=0,d=0;t===Sa?o>0&&(n=Sa,u=o,d=a.length):t===Ea?l>0&&(n=Ea,u=l,d=c.length):(u=Math.max(o,l),n=u>0?o>l?Sa:Ea:null,d=n?n===Sa?a.length:c.length:0);var h=n===Sa&&Fa.test(r[Da+"Property"]);return{type:n,timeout:u,propCount:d,hasTransform:h}}function Ba(e,t){while(e.length<t.length)e=e.concat(e);return Math.max.apply(null,t.map((function(t,n){return $a(t)+$a(e[n])})))}function $a(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function Ia(e,t){var n=e.elm;i(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var a=xa(e.data.transition);if(!r(a)&&!i(n._enterCb)&&1===n.nodeType){var o=a.css,s=a.type,l=a.enterClass,u=a.enterToClass,d=a.enterActiveClass,h=a.appearClass,f=a.appearToClass,p=a.appearActiveClass,b=a.beforeEnter,g=a.enter,v=a.afterEnter,_=a.enterCancelled,y=a.beforeAppear,A=a.appear,k=a.afterAppear,w=a.appearCancelled,x=a.duration,M=On,C=On.$vnode;while(C&&C.parent)M=C.context,C=C.parent;var S=!M._isMounted||!e.isRootInsert;if(!S||A||""===A){var E=S&&h?h:l,D=S&&p?p:d,T=S&&f?f:u,O=S&&y||b,L=S&&"function"===typeof A?A:g,P=S&&k||v,z=S&&w||_,Y=m(c(x)?x.enter:x);0;var N=!1!==o&&!te,j=Wa(L),R=n._enterCb=F((function(){N&&(Na(n,T),Na(n,D)),R.cancelled?(N&&Na(n,E),z&&z(n)):P&&P(n),n._enterCb=null}));e.data.show||kt(e,"insert",(function(){var t=n.parentNode,r=t&&t._pending&&t._pending[e.key];r&&r.tag===e.tag&&r.elm._leaveCb&&r.elm._leaveCb(),L&&L(n,R)})),O&&O(n),N&&(Ya(n,E),Ya(n,D),za((function(){Na(n,E),R.cancelled||(Ya(n,T),j||(Ha(Y)?setTimeout(R,Y):ja(n,s,R)))}))),e.data.show&&(t&&t(),L&&L(n,R)),N||j||R()}}}function qa(e,t){var n=e.elm;i(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var a=xa(e.data.transition);if(r(a)||1!==n.nodeType)return t();if(!i(n._leaveCb)){var o=a.css,s=a.type,l=a.leaveClass,u=a.leaveToClass,d=a.leaveActiveClass,h=a.beforeLeave,f=a.leave,p=a.afterLeave,b=a.leaveCancelled,g=a.delayLeave,v=a.duration,_=!1!==o&&!te,y=Wa(f),A=m(c(v)?v.leave:v);0;var k=n._leaveCb=F((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),_&&(Na(n,u),Na(n,d)),k.cancelled?(_&&Na(n,l),b&&b(n)):(t(),p&&p(n)),n._leaveCb=null}));g?g(w):w()}function w(){k.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),h&&h(n),_&&(Ya(n,l),Ya(n,d),za((function(){Na(n,l),k.cancelled||(Ya(n,u),y||(Ha(A)?setTimeout(k,A):ja(n,s,k)))}))),f&&f(n,k),_||y||k())}}function Ha(e){return"number"===typeof e&&!isNaN(e)}function Wa(e){if(r(e))return!1;var t=e.fns;return i(t)?Wa(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function Ua(e,t){!0!==t.data.show&&Ia(t)}var Va=Z?{create:Ua,activate:Ua,remove:function(e,t){!0!==e.data.show?qa(e,t):t()}}:{},Ga=[Hi,Vi,ra,ca,ya,Va],Ka=Ga.concat(Bi),Za=Li({nodeOps:xi,modules:Ka});te&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&io(e,"input")}));var Xa={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?kt(n,"postpatch",(function(){Xa.componentUpdated(e,t,n)})):Ja(e,t,n.context),e._vOptions=[].map.call(e.options,to)):("textarea"===n.tag||ui(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",no),e.addEventListener("compositionend",ro),e.addEventListener("change",ro),te&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Ja(e,t,n.context);var r=e._vOptions,i=e._vOptions=[].map.call(e.options,to);if(i.some((function(e,t){return!N(e,r[t])}))){var a=e.multiple?t.value.some((function(e){return eo(e,i)})):t.value!==t.oldValue&&eo(t.value,i);a&&io(e,"change")}}}};function Ja(e,t,n){Qa(e,t,n),(ee||ne)&&setTimeout((function(){Qa(e,t,n)}),0)}function Qa(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var a,o,s=0,c=e.options.length;s<c;s++)if(o=e.options[s],i)a=j(r,to(o))>-1,o.selected!==a&&(o.selected=a);else if(N(to(o),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function eo(e,t){return t.every((function(t){return!N(t,e)}))}function to(e){return"_value"in e?e._value:e.value}function no(e){e.target.composing=!0}function ro(e){e.target.composing&&(e.target.composing=!1,io(e.target,"input"))}function io(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function ao(e){return!e.componentInstance||e.data&&e.data.transition?e:ao(e.componentInstance._vnode)}var oo={bind:function(e,t,n){var r=t.value;n=ao(n);var i=n.data&&n.data.transition,a=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,Ia(n,(function(){e.style.display=a}))):e.style.display=r?a:"none"},update:function(e,t,n){var r=t.value,i=t.oldValue;if(!r!==!i){n=ao(n);var a=n.data&&n.data.transition;a?(n.data.show=!0,r?Ia(n,(function(){e.style.display=e.__vOriginalDisplay})):qa(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none"}},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}},so={model:Xa,show:oo},co={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function lo(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?lo(xn(t.children)):e}function uo(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var a in i)t[w(a)]=i[a];return t}function ho(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function fo(e){while(e=e.parent)if(e.data.transition)return!0}function po(e,t){return t.key===e.key&&t.tag===e.tag}var mo=function(e){return e.tag||zt(e)},bo=function(e){return"show"===e.name},go={name:"transition",props:co,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(mo),n.length)){0;var r=this.mode;0;var i=n[0];if(fo(this.$vnode))return i;var a=lo(i);if(!a)return i;if(this._leaving)return ho(e,i);var o="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?o+"comment":o+a.tag:s(a.key)?0===String(a.key).indexOf(o)?a.key:o+a.key:a.key;var c=(a.data||(a.data={})).transition=uo(this),l=this._vnode,u=lo(l);if(a.data.directives&&a.data.directives.some(bo)&&(a.data.show=!0),u&&u.data&&!po(a,u)&&!zt(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=O({},c);if("out-in"===r)return this._leaving=!0,kt(d,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),ho(e,i);if("in-out"===r){if(zt(a))return l;var h,f=function(){h()};kt(c,"afterEnter",f),kt(c,"enterCancelled",f),kt(d,"delayLeave",(function(e){h=e}))}}return i}}},vo=O({tag:String,moveClass:String},co);delete vo.mode;var _o={props:vo,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=Ln(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],a=this.children=[],o=uo(this),s=0;s<i.length;s++){var c=i[s];if(c.tag)if(null!=c.key&&0!==String(c.key).indexOf("__vlist"))a.push(c),n[c.key]=c,(c.data||(c.data={})).transition=o;else;}if(r){for(var l=[],u=[],d=0;d<r.length;d++){var h=r[d];h.data.transition=o,h.data.pos=h.elm.getBoundingClientRect(),n[h.key]?l.push(h):u.push(h)}this.kept=e(t,null,l),this.removed=u}return e(t,null,a)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(yo),e.forEach(Ao),e.forEach(ko),this._reflow=document.body.offsetHeight,e.forEach((function(e){if(e.data.moved){var n=e.elm,r=n.style;Ya(n,t),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Ta,n._moveCb=function e(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Ta,e),n._moveCb=null,Na(n,t))})}})))},methods:{hasMove:function(e,t){if(!Ca)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach((function(e){wa(n,e)})),ka(n,t),n.style.display="none",this.$el.appendChild(n);var r=Ra(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function yo(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Ao(e){e.data.newPos=e.elm.getBoundingClientRect()}function ko(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var a=e.elm.style;a.transform=a.WebkitTransform="translate("+r+"px,"+i+"px)",a.transitionDuration="0s"}}var wo={Transition:go,TransitionGroup:_o};xr.config.mustUseProp=$r,xr.config.isReservedTag=oi,xr.config.isReservedAttr=Rr,xr.config.getTagNamespace=si,xr.config.isUnknownElement=li,O(xr.options.directives,so),O(xr.options.components,wo),xr.prototype.__patch__=Z?Za:P,xr.prototype.$mount=function(e,t){return e=e&&Z?di(e):void 0,Yn(this,e,t)},Z&&setTimeout((function(){I.devtools&&le&&le.emit("init",xr)}),0),t["a"]=xr}).call(this,n("c8ba"))},"2e39":function(e,t,n){"use strict";function r(e,t){var n=t.length,r=e.length;if(r>n)return!1;if(r===n)return e===t;e:for(var i=0,a=0;i<r;i++){var o=e.charCodeAt(i);while(a<n)if(t.charCodeAt(a++)===o)continue e;return!1}return!0}e.exports=r},"2fdf":function(e,t,n){var r=n("4a23");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("35d6").default;e.exports.__inject__=function(e){i("02eb54ae",r,e)}},3408:function(e,t,n){"use strict";e.exports=function(e){var t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},"35d6":function(e,t,n){"use strict";function r(e,t){for(var n=[],r={},i=0;i<t.length;i++){var a=t[i],o=a[0],s=a[1],c=a[2],l=a[3],u={id:e+":"+i,css:s,media:c,sourceMap:l};r[o]?r[o].parts.push(u):n.push(r[o]={id:o,parts:[u]})}return n}function i(e,t,n){var i=r(e,t);a(i,n)}function a(e,t){const n=t._injectedStyles||(t._injectedStyles={});for(var r=0;r<e.length;r++){var i=e[r],a=n[i.id];if(!a){for(var o=0;o<i.parts.length;o++)s(i.parts[o],t);n[i.id]=!0}}}function o(e){var t=document.createElement("style");return t.type="text/css",e.appendChild(t),t}function s(e,t){var n=o(t),r=e.css,i=e.media,a=e.sourceMap;if(i&&n.setAttribute("media",i),a&&(r+="\n/*# sourceURL="+a.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),n.styleSheet)n.styleSheet.cssText=r;else{while(n.firstChild)n.removeChild(n.firstChild);n.appendChild(document.createTextNode(r))}}n.r(t),n.d(t,"default",(function(){return i}))},"3c0d":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={format:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),standalone:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_")},n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),r=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],i=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function a(e){return e>1&&e<5&&1!==~~(e/10)}function o(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"pár sekund":"pár sekundami";case"ss":return t||r?i+(a(e)?"sekundy":"sekund"):i+"sekundami";case"m":return t?"minuta":r?"minutu":"minutou";case"mm":return t||r?i+(a(e)?"minuty":"minut"):i+"minutami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?i+(a(e)?"hodiny":"hodin"):i+"hodinami";case"d":return t||r?"den":"dnem";case"dd":return t||r?i+(a(e)?"dny":"dní"):i+"dny";case"M":return t||r?"měsíc":"měsícem";case"MM":return t||r?i+(a(e)?"měsíce":"měsíců"):i+"měsíci";case"y":return t||r?"rok":"rokem";case"yy":return t||r?i+(a(e)?"roky":"let"):i+"lety"}}var s=e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s}))},"410c":function(e,t,n){var r={"./ar":"8e73","./ar.js":"8e73","./cs":"3c0d","./cs.js":"3c0d","./de":"b469","./de.js":"b469","./el":"8d47","./el.js":"8d47","./en-ie":"e1d3","./en-ie.js":"e1d3","./es":"898b","./es.js":"898b","./fr":"9f26","./fr.js":"9f26","./it":"6e98","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./pt-br":"d2d4","./pt-br.js":"d2d4","./zh-tw":"90ea","./zh-tw.js":"90ea"};function i(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=a,e.exports=i,i.id="410c"},4236:function(e,t,n){"use strict";var r=n("0068").isSpace;e.exports=function(e,t){var n,i,a,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;if(n=e.pending.length-1,i=e.posMax,!t)if(n>=0&&32===e.pending.charCodeAt(n))if(n>=1&&32===e.pending.charCodeAt(n-1)){a=n-1;while(a>=1&&32===e.pending.charCodeAt(a-1))a--;e.pending=e.pending.slice(0,a),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);o++;while(o<i&&r(e.src.charCodeAt(o)))o++;return e.pos=o,!0}},"428d":function(e,t,n){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},"43e0":function(e,t,n){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}},"44a8":function(e,t,n){"use strict";e.exports=function(e,t){var n,r,i,a,o,s,c=t+1,l=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(s=e.parentType,e.parentType="paragraph";c<u&&!e.isEmpty(c);c++)if(!(e.sCount[c]-e.blkIndent>3)&&!(e.sCount[c]<0)){for(r=!1,i=0,a=l.length;i<a;i++)if(l[i](e,c,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,c,e.blkIndent,!1).trim(),e.line=c,o=e.push("paragraph_open","p",1),o.map=[t,e.line],o=e.push("inline","",0),o.content=n,o.map=[t,e.line],o.children=[],o=e.push("paragraph_close","p",-1),e.parentType=s,!0}},"472d":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"dropdown",staticClass:"bunt-popover-inner",attrs:{role:"dialog",tabindex:"-1"},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.closeDropdown.apply(null,arguments)}}},[e._t("default")],2)},i=[],a=n("5c8f"),o=n.n(a);const s=o.a.createContext({classPrefix:"bunt-drop"});var c=s,l={name:"bunt-popover",props:{target:{type:String},dropdownPosition:{type:String,default:"bottom middle"},openOn:{type:String,default:"click"}},mounted(){if(this.target){const e=this.$parent.$refs[this.target];e.$el?this._target=e.$el:this._target=e,this.drop=new c({target:this._target,content:this.$refs.dropdown,position:this.dropdownPosition,constrainToWindow:!0,openOn:this.openOn}),"bottom left"!==this.dropdownPosition&&(this.drop.open(),this.drop.close(),this.drop.open(),this.drop.close())}},beforeDestroy(){this.drop&&(this.drop.remove(),this.drop.destroy())},methods:{openDropdown(){this.drop&&this.drop.open()},closeDropdown(){this.drop&&this.drop.close()},toggleDropdown(e){this.drop&&this.drop.toggle(e)},positionDrop(){const e=this.drop,t=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;let n=e.drop.getBoundingClientRect().width,r=e.target.getBoundingClientRect().left,i=t-r;if(n>i){let t=n>i?"right":"left";e.tether.attachment.left=t,e.tether.targetAttachment.left=t,e.position()}},dropdownOpened(){this.lastFocussedElement=document.activeElement,this.$refs.dropdown.focus(),this.$emit("opened")},dropdownClosed(){this.lastFocussedElement&&this.lastFocussedElement.focus(),this.$emit("closed")}}},u=l,d=n("2877"),h=Object(d["a"])(u,r,i,!1,null,null,null,!0);t["default"]=h.exports},4883:function(e,t,n){"use strict";function r(){this.__rules__=[],this.__cache__=null}r.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},r.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},r.prototype.at=function(e,t,n){var r=this.__find__(e),i=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null},r.prototype.before=function(e,t,n,r){var i=this.__find__(e),a=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},r.prototype.after=function(e,t,n,r){var i=this.__find__(e),a=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},r.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},r.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},r.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},r.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},r.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=r},"4a23":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,'.c-grid-schedule{flex:auto;background-color:#fafafa}.c-grid-schedule .grid{display:grid;grid-template-columns:78px repeat(var(--total-rooms),1fr) auto;position:relative;min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content}.c-grid-schedule .grid>.room{position:sticky;top:calc(var(--pretalx-sticky-date-offset) + var(--pretalx-sticky-top-offset, 0px));display:flex;justify-content:center;align-items:center;font-size:18px;background-color:#fff;border-bottom:1px solid rgba(0,0,0,.12);z-index:20}.c-grid-schedule .grid>.room .room-description{border:2px solid #bdbdbd;border-radius:100%;height:20px;width:20px;padding:0;font-weight:700;min-width:0;color:#9e9e9e;background-color:#fff;margin-left:8px}.c-grid-schedule .grid>.room .room-description:hover{background-color:#d9d9d9}.c-grid-schedule .grid>.room .room-description.autofocus:focus,body[modality=keyboard] .c-grid-schedule .grid>.room .room-description:focus{background-color:#d9d9d9;outline-color:#bfbfbf;outline-width:2px;outline-offset:2px}.c-grid-schedule .grid>.room .room-description .bunt-ripple-ink .ripple.held{opacity:.7}.c-grid-schedule .grid>.room .room-description.error{background-color:#f44336}.c-grid-schedule .grid>.room .room-description.error:hover{background-color:#f01d0d}.c-grid-schedule .grid>.room .room-description.error.autofocus:focus,body[modality=keyboard] .c-grid-schedule .grid>.room .room-description.error:focus{background-color:#f01d0d;outline-color:#d4190c}.c-grid-schedule .grid>.room .room-description.success{background-color:#4caf50}.c-grid-schedule .grid>.room .room-description.success:hover{background-color:#419544}.c-grid-schedule .grid>.room .room-description.success.autofocus:focus,body[modality=keyboard] .c-grid-schedule .grid>.room .room-description.success:focus{background-color:#419544;outline-color:#39833c}.c-grid-schedule .grid>.room .room-description .bunt-progress-circular svg circle{stroke:#9e9e9e}.c-grid-schedule .grid>.room .room-description .bunt-tooltip{height:auto;width:200px;white-space:normal}.c-grid-schedule .grid .break .time-box{background-color:#9e9e9e}.c-grid-schedule .grid .break .time-box .start{color:#fff}.c-grid-schedule .grid .break .time-box .duration{color:hsla(0,0%,100%,.7)}.c-grid-schedule .grid .break .info{background-color:#eee;border:none;justify-content:center;align-items:center}.c-grid-schedule .grid .break .info .title{font-size:20px;font-weight:500;color:rgba(0,0,0,.54);align:center}.c-grid-schedule .timeslice{color:rgba(0,0,0,.54);padding:8px 10px 0 16px;white-space:nowrap;position:sticky;left:0;text-align:center;background-color:#fafafa;border-top:1px solid rgba(0,0,0,.12);z-index:20}.c-grid-schedule .timeslice.datebreak{font-weight:600;border-top:3px solid rgba(0,0,0,.12);white-space:pre}.c-grid-schedule .timeslice.gap:before{content:"";display:block;width:6px;height:calc(100% - 42px);position:absolute;top:30px;left:50%;background-image:radial-gradient(circle closest-side,#9e9e9e calc(100% - .5px),transparent 100%);background-position:0 0;background-size:5px 15px;background-repeat:repeat-y}.c-grid-schedule .timeline{height:1px;background-color:rgba(0,0,0,.12);position:absolute;width:100%}.c-grid-schedule .timeline.datebreak{height:3px}.c-grid-schedule .now{z-index:20;position:sticky;left:2px}.c-grid-schedule .now:before{content:"";display:block;height:2px;background-color:#f44336;position:absolute;top:calc(var(--offset)*100%);width:100%}.c-grid-schedule .now.on-daybreak:before{background:repeating-linear-gradient(90deg,transparent,transparent 5px,#f44336 0,#f44336 10px)}.c-grid-schedule .now svg{position:absolute;top:calc(var(--offset)*100% - 11px);height:24px;width:24px;fill:#f44336}.c-grid-schedule .bunt-scrollbar-rail-wrapper-x,.c-grid-schedule .bunt-scrollbar-rail-wrapper-y{z-index:30}',""]),e.exports=t},"4a94":function(e,t,n){"use strict";e.exports=function(e,t){var n,r,i,a,o,s,c,l,u=e.pos,d=e.src.charCodeAt(u);if(96!==d)return!1;n=u,u++,r=e.posMax;while(u<r&&96===e.src.charCodeAt(u))u++;if(i=e.src.slice(n,u),c=i.length,e.backticksScanned&&(e.backticks[c]||0)<=n)return t||(e.pending+=i),e.pos+=c,!0;o=s=u;while(-1!==(o=e.src.indexOf("`",s))){s=o+1;while(s<r&&96===e.src.charCodeAt(s))s++;if(l=s-o,l===c)return t||(a=e.push("code_inline","code",0),a.markup=i,a.content=e.src.slice(u,o).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=s,!0;e.backticks[l]=o}return e.backticksScanned=!0,t||(e.pending+=i),e.pos+=c,!0}},"4b3e":function(e,t,n){"use strict";var r=n("0068").isSpace;function i(e,t){var n,i,a,o;return i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],n=e.src.charCodeAt(i++),42!==n&&45!==n&&43!==n||i<a&&(o=e.src.charCodeAt(i),!r(o))?-1:i}function a(e,t){var n,i=e.bMarks[t]+e.tShift[t],a=i,o=e.eMarks[t];if(a+1>=o)return-1;if(n=e.src.charCodeAt(a++),n<48||n>57)return-1;for(;;){if(a>=o)return-1;if(n=e.src.charCodeAt(a++),!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(a-i>=10)return-1}return a<o&&(n=e.src.charCodeAt(a),!r(n))?-1:a}function o(e,t){var n,r,i=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===i&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}e.exports=function(e,t,n,r){var s,c,l,u,d,h,f,p,m,b,g,v,_,y,A,k,w,x,M,C,S,E,D,T,O,L,P,z,Y=!1,N=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]<e.blkIndent)return!1;if(r&&"paragraph"===e.parentType&&e.sCount[t]>=e.blkIndent&&(Y=!0),(D=a(e,t))>=0){if(f=!0,O=e.bMarks[t]+e.tShift[t],_=Number(e.src.slice(O,D-1)),Y&&1!==_)return!1}else{if(!((D=i(e,t))>=0))return!1;f=!1}if(Y&&e.skipSpaces(D)>=e.eMarks[t])return!1;if(v=e.src.charCodeAt(D-1),r)return!0;g=e.tokens.length,f?(z=e.push("ordered_list_open","ol",1),1!==_&&(z.attrs=[["start",_]])):z=e.push("bullet_list_open","ul",1),z.map=b=[t,0],z.markup=String.fromCharCode(v),A=t,T=!1,P=e.md.block.ruler.getRules("list"),x=e.parentType,e.parentType="list";while(A<n){E=D,y=e.eMarks[A],h=k=e.sCount[A]+D-(e.bMarks[t]+e.tShift[t]);while(E<y){if(s=e.src.charCodeAt(E),9===s)k+=4-(k+e.bsCount[A])%4;else{if(32!==s)break;k++}E++}if(c=E,d=c>=y?1:k-h,d>4&&(d=1),u=h+d,z=e.push("list_item_open","li",1),z.markup=String.fromCharCode(v),z.map=p=[t,0],f&&(z.info=e.src.slice(O,D-1)),S=e.tight,C=e.tShift[t],M=e.sCount[t],w=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=u,e.tight=!0,e.tShift[t]=c-e.bMarks[t],e.sCount[t]=k,c>=y&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!T||(N=!1),T=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=w,e.tShift[t]=C,e.sCount[t]=M,e.tight=S,z=e.push("list_item_close","li",-1),z.markup=String.fromCharCode(v),A=t=e.line,p[1]=A,c=e.bMarks[t],A>=n)break;if(e.sCount[A]<e.blkIndent)break;if(e.sCount[t]-e.blkIndent>=4)break;for(L=!1,l=0,m=P.length;l<m;l++)if(P[l](e,A,n,!0)){L=!0;break}if(L)break;if(f){if(D=a(e,A),D<0)break;O=e.bMarks[A]+e.tShift[A]}else if(D=i(e,A),D<0)break;if(v!==e.src.charCodeAt(D-1))break}return z=f?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1),z.markup=String.fromCharCode(v),b[1]=A,e.line=A,e.parentType=x,N&&o(e,g),!0}},"4c26":function(e,t,n){"use strict";var r=/\r\n?|\n/g,i=/\0/g;e.exports=function(e){var t;t=e.src.replace(r,"\n"),t=t.replace(i,"�"),e.src=t}},"4cb4":function(e,t,n){"use strict";var r=n("4883"),i=[["text",n("baca")],["newline",n("4236")],["escape",n("6e00")],["backticks",n("4a94")],["strikethrough",n("922c").tokenize],["emphasis",n("c8a9").tokenize],["link",n("cd0f")],["image",n("932d")],["autolink",n("28ec")],["html_inline",n("c2d8")],["entity",n("5b54")]],a=[["balance_pairs",n("838d")],["strikethrough",n("922c").postProcess],["emphasis",n("c8a9").postProcess],["text_collapse",n("2085")]];function o(){var e;for(this.ruler=new r,e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1]);for(this.ruler2=new r,e=0;e<a.length;e++)this.ruler2.push(a[e][0],a[e][1])}o.prototype.skipToken=function(e){var t,n,r=e.pos,i=this.ruler.getRules(""),a=i.length,o=e.md.options.maxNesting,s=e.cache;if("undefined"===typeof s[r]){if(e.level<o){for(n=0;n<a;n++)if(e.level++,t=i[n](e,!0),e.level--,t)break}else e.pos=e.posMax;t||e.pos++,s[r]=e.pos}else e.pos=s[r]},o.prototype.tokenize=function(e){var t,n,r=this.ruler.getRules(""),i=r.length,a=e.posMax,o=e.md.options.maxNesting;while(e.pos<a){if(e.level<o)for(n=0;n<i;n++)if(t=r[n](e,!1),t)break;if(t){if(e.pos>=a)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},o.prototype.parse=function(e,t,n,r){var i,a,o,s=new this.State(e,t,n,r);for(this.tokenize(s),a=this.ruler2.getRules(""),o=a.length,i=0;i<o;i++)a[i](s)},o.prototype.State=n("097b"),e.exports=o},"4fc2":function(e,t){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},"565b":function(e,t,n){"use strict";t.parseLinkLabel=n("df56"),t.parseLinkDestination=n("e4ca"),t.parseLinkTitle=n("7d91")},5706:function(e,t,n){"use strict";var r="[a-zA-Z_:][a-zA-Z0-9:._-]*",i="[^\"'=<>`\\x00-\\x20]+",a="'[^']*'",o='"[^"]*"',s="(?:"+i+"|"+a+"|"+o+")",c="(?:\\s+"+r+"(?:\\s*=\\s*"+s+")?)",l="<[A-Za-z][A-Za-z0-9\\-]*"+c+"*\\s*\\/?>",u="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",d="\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e",h="<[?][\\s\\S]*?[?]>",f="<![A-Z]+\\s+[^>]*>",p="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",m=new RegExp("^(?:"+l+"|"+u+"|"+d+"|"+h+"|"+f+"|"+p+")"),b=new RegExp("^(?:"+l+"|"+u+")");e.exports.HTML_TAG_RE=m,e.exports.HTML_OPEN_CLOSE_TAG_RE=b},"5a74":function(e,t,n){"use strict";if(n.r(t),"undefined"!==typeof window){var r=window.document.currentScript;if(Object({NODE_ENV:"production",BASE_URL:"/"}).NEED_CURRENTSCRIPT_POLYFILL){var i=n("8875");r=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i})}var a=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);a&&(n.p=a[1])}var o=n("2b0e");const s=/-(\w)/g,c=e=>e.replace(s,(e,t)=>t?t.toUpperCase():""),l=/\B([A-Z])/g,u=e=>e.replace(l,"-$1").toLowerCase();function d(e){const t={};return e.forEach(e=>{t[e]=void 0}),t}function h(e,t,n){e[t]=[].concat(e[t]||[]),e[t].unshift(n)}function f(e,t){if(e){const n=e.$options[t]||[];n.forEach(t=>{t.call(e)})}}function p(e,t){return new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:t})}const m=e=>/function Boolean/.test(String(e)),b=e=>/function Number/.test(String(e));function g(e,t,{type:n}={}){if(m(n))return"true"===e||"false"===e?"true"===e:""===e||e===t||null!=e||e;if(b(n)){const t=parseFloat(e,10);return isNaN(t)?e:t}return e}function v(e,t){const n=[];for(let r=0,i=t.length;r<i;r++)n.push(_(e,t[r]));return n}function _(e,t){if(3===t.nodeType)return t.data.trim()?t.data:null;if(1===t.nodeType){const n={attrs:y(t),domProps:{innerHTML:t.innerHTML}};return n.attrs.slot&&(n.slot=n.attrs.slot,delete n.attrs.slot),e(t.tagName,n)}return null}function y(e){const t={};for(let n=0,r=e.attributes.length;n<r;n++){const r=e.attributes[n];t[r.nodeName]=r.nodeValue}return t}function A(e,t){const n="function"===typeof t&&!t.cid;let r,i,a,o=!1;function s(e){if(o)return;const t="function"===typeof e?e.options:e,n=Array.isArray(t.props)?t.props:Object.keys(t.props||{});r=n.map(u),i=n.map(c);const s=Array.isArray(t.props)?{}:t.props||{};a=i.reduce((e,t,r)=>(e[t]=s[n[r]],e),{}),h(t,"beforeCreate",(function(){const e=this.$emit;this.$emit=(t,...n)=>(this.$root.$options.customElement.dispatchEvent(p(t,n)),e.call(this,t,...n))})),h(t,"created",(function(){i.forEach(e=>{this.$root.props[e]=this[e]})})),i.forEach(e=>{Object.defineProperty(m.prototype,e,{get(){return this._wrapper.props[e]},set(t){this._wrapper.props[e]=t},enumerable:!1,configurable:!0})}),o=!0}function l(e,t){const n=c(t),r=e.hasAttribute(t)?e.getAttribute(t):void 0;e._wrapper.props[n]=g(r,t,a[n])}class m extends HTMLElement{constructor(){const n=super();n.attachShadow({mode:"open"});const r=n._wrapper=new e({name:"shadow-root",customElement:n,shadowRoot:n.shadowRoot,data(){return{props:{},slotChildren:[]}},render(e){return e(t,{ref:"inner",props:this.props},this.slotChildren)}}),i=new MutationObserver(e=>{let t=!1;for(let r=0;r<e.length;r++){const i=e[r];o&&"attributes"===i.type&&i.target===n?l(n,i.attributeName):t=!0}t&&(r.slotChildren=Object.freeze(v(r.$createElement,n.childNodes)))});i.observe(n,{childList:!0,subtree:!0,characterData:!0,attributes:!0})}get vueComponent(){return this._wrapper.$refs.inner}connectedCallback(){const e=this._wrapper;if(e._isMounted)f(this.vueComponent,"activated");else{const n=()=>{e.props=d(i),r.forEach(e=>{l(this,e)})};o?n():t().then(e=>{(e.__esModule||"Module"===e[Symbol.toStringTag])&&(e=e.default),s(e),n()}),e.slotChildren=Object.freeze(v(e.$createElement,this.childNodes)),e.$mount(),this.shadowRoot.appendChild(e.$el)}}disconnectedCallback(){f(this.vueComponent,"deactivated")}}return n||s(t),m}var k=A,w=(n("24fb"),n("35d6"),n("2877")),x=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"pretalx-schedule",class:e.showGrid?["grid-schedule"]:["list-schedule"],style:{"--scrollparent-width":e.scrollParentWidth+"px","--schedule-max-width":e.scheduleMaxWidth+"px","--pretalx-sticky-date-offset":e.days&&e.days.length>1?"48px":"0px"}},[e.schedule&&e.sessions?[e.showFilterModal?n("div",{staticClass:"modal-overlay",on:{click:function(t){t.stopPropagation(),e.showFilterModal=!1}}},[n("div",{staticClass:"modal-box",on:{click:function(e){e.stopPropagation()}}},[n("h3",[e._v("Tracks")]),e._l(e.allTracks,(function(t){return n("div",{key:t.value,staticClass:"checkbox-line",style:{"--track-color":t.color}},[n("bunt-checkbox",{attrs:{type:"checkbox",label:t.label,name:t.value+t.label,value:t.value},on:{input:function(t){e.onlyFavs=!1}},model:{value:t.selected,callback:function(n){e.$set(t,"selected",n)},expression:"track.selected"}}),e.getLocalizedString(t.description).length?n("div",{staticClass:"track-description"},[e._v(e._s(e.getLocalizedString(t.description)))]):e._e()],1)}))],2)]):e._e(),n("div",{staticClass:"settings"},[this.schedule.tracks.length?n("bunt-button",{staticClass:"filter-tracks",on:{click:function(t){e.showFilterModal=!0}}},[n("svg",{attrs:{id:"filter",viewBox:"0 0 752 752"}},[n("path",{attrs:{d:"m401.57 264.71h-174.75c-6.6289 0-11.84 5.2109-11.84 11.84 0 6.6289 5.2109 11.84 11.84 11.84h174.75c5.2109 17.523 21.312 30.309 40.727 30.309 18.941 0 35.52-12.785 40.254-30.309h43.098c6.6289 0 11.84-5.2109 11.84-11.84 0-6.6289-5.2109-11.84-11.84-11.84h-43.098c-5.2109-17.523-21.312-30.309-40.254-30.309-19.414 0-35.516 12.785-40.727 30.309zm58.723 11.84c0 10.418-8.5234 18.469-18.469 18.469s-18.469-8.0508-18.469-18.469 8.5234-18.469 18.469-18.469c9.4727-0.003906 18.469 8.0469 18.469 18.469z"}}),n("path",{attrs:{d:"m259.5 359.43h-32.676c-6.6289 0-11.84 5.2109-11.84 11.84s5.2109 11.84 11.84 11.84h32.676c5.2109 17.523 21.312 30.309 40.727 30.309 18.941 0 35.52-12.785 40.254-30.309h185.17c6.6289 0 11.84-5.2109 11.84-11.84s-5.2109-11.84-11.84-11.84h-185.17c-5.2109-17.523-21.312-30.309-40.254-30.309-19.418 0-35.52 12.785-40.73 30.309zm58.723 11.84c0 10.418-8.5234 18.469-18.469 18.469-9.9453 0-18.469-8.0508-18.469-18.469s8.5234-18.469 18.469-18.469c9.9453 0 18.469 8.0508 18.469 18.469z"}}),n("path",{attrs:{d:"m344.75 463.61h-117.92c-6.6289 0-11.84 5.2109-11.84 11.84s5.2109 11.84 11.84 11.84h117.92c5.2109 17.523 21.312 30.309 40.727 30.309 18.941 0 35.52-12.785 40.254-30.309h99.926c6.6289 0 11.84-5.2109 11.84-11.84s-5.2109-11.84-11.84-11.84h-99.926c-5.2109-17.523-21.312-30.309-40.254-30.309-19.418 0-35.52 12.785-40.727 30.309zm58.723 11.84c0 10.418-8.5234 18.469-18.469 18.469s-18.469-8.0508-18.469-18.469 8.5234-18.469 18.469-18.469 18.469 8.0508 18.469 18.469z"}})]),[e._v("Filter")],e.filteredTracks.length?[e._v("("+e._s(e.filteredTracks.length)+")")]:e._e()],2):e._e(),e.favs.length?n("bunt-button",{staticClass:"fav-toggle",class:e.onlyFavs?["active"]:[],on:{click:function(t){e.onlyFavs=!e.onlyFavs,e.onlyFavs&&e.resetFilteredTracks()}}},[n("svg",{attrs:{id:"star",viewBox:"0 0 24 24"}},[n("polygon",{style:{fill:"#FFA000",stroke:"#FFA000"},attrs:{points:"14.43,10 12,2 9.57,10 2,10 8.18,14.41 5.83,22 12,17.31 18.18,22 15.83,14.41 22,10"}})]),[e._v(e._s(e.favs.length))]],2):e._e(),e.inEventTimezone?[n("div",{staticClass:"timezone-label bunt-tab-header-item"},[e._v(e._s(e.schedule.timezone))])]:[n("bunt-select",{attrs:{name:"timezone",options:[{id:e.schedule.timezone,label:e.schedule.timezone},{id:e.userTimezone,label:e.userTimezone}]},on:{blur:e.saveTimezone},model:{value:e.currentTimezone,callback:function(t){e.currentTimezone=t},expression:"currentTimezone"}})]],2),e.days&&e.days.length>1?n("bunt-tabs",{ref:"tabs",staticClass:"days",class:e.showGrid?["grid-tabs"]:["list-tabs"],attrs:{"active-tab":e.currentDay&&e.currentDay.format()}},e._l(e.days,(function(t){return n("bunt-tab",{attrs:{id:t.format(),header:t.format(e.dateFormat)},on:{selected:function(n){return e.changeDay(t)}}})})),1):e._e(),e.showGrid?n("grid-schedule",{attrs:{sessions:e.sessions,rooms:e.rooms,currentDay:e.currentDay,now:e.now,scrollParent:e.scrollParent,favs:e.favs},on:{changeDay:function(t){e.currentDay=t},fav:function(t){return e.fav(t)},unfav:function(t){return e.unfav(t)}}}):n("linear-schedule",{attrs:{sessions:e.sessions,currentDay:e.currentDay,now:e.now,scrollParent:e.scrollParent,favs:e.favs},on:{changeDay:function(t){e.currentDay=t},fav:function(t){return e.fav(t)},unfav:function(t){return e.unfav(t)}}})]:n("bunt-progress-circular",{attrs:{size:"huge",page:!0}})],2)},M=[],C=n("6dd8");class S{constructor(e,t){if(this.options=t,this.onScroll=this.onScroll.bind(this),this.onDocumentMousemove=this.onDocumentMousemove.bind(this),this.onDocumentMouseup=this.onDocumentMouseup.bind(this),this.onThumbMousedownX=this.onThumbMousedown.bind(this,"x"),this.onThumbMousedownY=this.onThumbMousedown.bind(this,"y"),this.onResize=this.onResize.bind(this),this.el=e,this.railsParent=t.railsParent||this.el,this.refreshStyling(),t.scrollX&&this.createRail("x"),t.scrollY&&this.createRail("y"),t.manualCompute||(this.computeDimensions(),this.computeThumbPositions(),this.update()),this.el.addEventListener("scroll",this.onScroll),!t.manualUpdate){this.resizeObserver=new C["a"](this.onResize),this.resizeObserver.observe(this.el);for(const e of this.el.children)this.resizeObserver.observe(e);this.mutationObserver=new MutationObserver(e=>{for(const t of e){for(const e of t.addedNodes)e.nodeType===Node.ELEMENT_NODE&&this.resizeObserver.observe(e);for(const e of t.removedNodes)e.nodeType===Node.ELEMENT_NODE&&this.resizeObserver.unobserve(e)}this.onResize()}),this.mutationObserver.observe(this.el,{childList:!0})}}createRail(e){const t=document.createElement("div");t.classList.add("bunt-scrollbar-rail-wrapper-"+e);const n=document.createElement("div");n.classList.add("bunt-scrollbar-rail-"+e);const r=document.createElement("div");r.classList.add("bunt-scrollbar-thumb"),t.appendChild(n),n.appendChild(r),this.railsParent.appendChild(t),r.addEventListener("mousedown",this["onThumbMousedown"+e.toUpperCase()]),this[e]={railEl:n,thumbEl:r}}destroy(){var e,t,n,r;null===(e=this.resizeObserver)||void 0===e||e.disconnect(),null===(t=this.mutationObserver)||void 0===t||t.disconnect(),document.removeEventListener("mousemove",this.onDocumentMousemove),document.removeEventListener("mouseup",this.onDocumentMouseup,{capture:!0}),this.el.removeEventListener("scroll",this.onScroll),null===(n=this.x)||void 0===n||n.thumbEl.removeEventListener("mousedown",this.onThumbMousedownX),null===(r=this.y)||void 0===r||r.thumbEl.removeEventListener("mousedown",this.onThumbMousedownY)}refreshStyling(){this.el.classList.add("bunt-scrollbar")}update(){this.updateThumb("x"),this.updateThumb("y")}onScroll(e){this.options.onScroll&&this.options.onScroll(e),this.computeThumbPositions(),this.update()}onThumbMousedown(e,t){t.stopPropagation(),this.options._preventMousedown&&t.preventDefault(),this.dragging=e,this.draggingOffset=t["offset"+e.toUpperCase()],this.el.style.userSelect="none",document.body.style["-moz-user-select"]="none",this[e].railEl.classList.add("active"),document.addEventListener("mousemove",this.onDocumentMousemove),document.addEventListener("mouseup",this.onDocumentMouseup,{capture:!0})}onDocumentMousemove(e){if("x"===this.dragging){const t=this.el.clientWidth-this.x.thumbLength,n=e.clientX-this.el.getBoundingClientRect().left-this.draggingOffset;this.x.thumbPosition=Math.min(Math.max(0,n),t),this.el.scrollLeft=this.x.thumbPosition/t*(this.el.scrollWidth-this.el.clientWidth)}if("y"===this.dragging){const t=this.el.clientHeight-this.y.thumbLength,n=e.clientY-this.el.getBoundingClientRect().top-this.draggingOffset;this.y.thumbPosition=Math.min(Math.max(0,n),t),this.el.scrollTop=this.y.thumbPosition/t*(this.el.scrollHeight-this.el.clientHeight)}this.updateThumb(this.dragging)}onDocumentMouseup(e){this[this.dragging].railEl.classList.remove("active"),this.dragging=null,this.el.style.userSelect="",document.body.style["-moz-user-select"]="",document.removeEventListener("mousemove",this.onDocumentMousemove),document.removeEventListener("mouseup",this.onDocumentMouseup,{capture:!0})}onResize(e){this.computeDimensions(),this.computeThumbPositions(),this.update()}computeDimensions(){this.x&&(this.x.railLength=this.el.clientWidth,this.x.visibleRatio=this.el.clientWidth/this.el.scrollWidth,this.x.thumbLength=this.el.clientWidth*this.x.visibleRatio),this.y&&(this.y.railLength=this.el.clientHeight,this.y.visibleRatio=this.el.clientHeight/this.el.scrollHeight,this.y.thumbLength=this.el.clientHeight*this.y.visibleRatio)}computeThumbPositions(){this.x&&(this.x.thumbPosition=this.el.scrollLeft/(this.el.scrollWidth-this.el.clientWidth)*(this.el.clientWidth-this.x.thumbLength)),this.y&&(this.y.thumbPosition=this.el.scrollTop/(this.el.scrollHeight-this.el.clientHeight)*(this.el.clientHeight-this.y.thumbLength))}updateThumb(e){const t=this[e];t&&(t.visibleRatio>=1?t.thumbEl.style.display="none":(t.thumbEl.style.display=null,"x"===e?(t.railEl.style.width=t.railLength+"px",t.thumbEl.style.width=t.thumbLength+"px",t.thumbEl.style.left=t.thumbPosition+"px"):"y"===e&&(t.railEl.style.height=t.railLength+"px",t.thumbEl.style.height=t.thumbLength+"px",t.thumbEl.style.top=t.thumbPosition+"px")))}}var E=function(e){e.directive("scrollbar",{bind(e,t,n){var r;e.__buntpapier__scrollbar=new S(e,{scrollX:t.modifiers.x,scrollY:t.modifiers.y,_preventMousedown:null===(r=t.value)||void 0===r?void 0:r._preventMousedown})},inserted(e){e.__buntpapier__scrollbar&&(e.__buntpapier__scrollbar.refreshStyling(),e.__buntpapier__scrollbar.update())},componentUpdated(e,t,n,r){e.__buntpapier__scrollbar?(e.__buntpapier__scrollbar.refreshStyling(),e.__buntpapier__scrollbar.update()):e.__buntpapier__scrollbar=new S(e,{scrollX:t.modifiers.x,scrollY:t.modifiers.y})},unbind(e,t,n,r){e.__buntpapier__scrollbar&&e.__buntpapier__scrollbar.destroy()}})},D=n("f0bd");const T=32;var O=function(e){class t{constructor(e,t){this.el=e,this.options=t,this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.options.placement=t.placement||"auto",this.el.addEventListener("mouseenter",this.show),this.el.addEventListener("mouseleave",this.hide)}createTooltip(){this.tooltipEl||(this.tooltipEl=document.createElement("div"),this.tooltipEl.classList.add("bunt-tooltip"),this.tooltipEl.style.position=this.options.fixed?"fixed":"absolute",this.tooltipEl.textContent=this.text,this.el.appendChild(this.tooltipEl),this.popper=new D["a"](this.el,this.tooltipEl,{removeOnDestroy:!0,placement:this.options.placement,positionFixed:this.options.fixed,modifiers:{offset:{offset:"0, 8"},applyStyle:{enabled:!1},preventOverflow:{boundariesElement:this.options.boundariesElement||"scrollParent"},applyTooltipStyle:{enabled:!0,fn:e=>{this.positions=e.popper,this.tooltipEl.style.transform=`translate3d(${Math.round(this.positions.left)}px, ${Math.round(this.positions.top)}px, 0)`},order:900}}}))}update(t,n){this.text=t,this.forceDisplay=n,e.nextTick(()=>{n?this.show():this.hide()})}destroyTooltip(){this.popper&&(this.popper.destroy(),this.popper=null,this.tooltipEl=null)}destroy(){this.destroyTooltip(),this.el.removeEventListener("mouseenter",this.show),this.el.removeEventListener("mouseleave",this.hide)}show(){!this.displaying&&this.text&&(this.createTooltip(),this.displaying=!0,e.nextTick(()=>{if(this.animation)this.animation.reverse();else{let e;e=this.options.placement.startsWith("top")?{top:Math.round(this.positions.top)+T,left:Math.round(this.positions.left)}:this.options.placement.startsWith("left")?{top:Math.round(this.positions.top),left:Math.round(this.positions.left)+T}:this.options.placement.startsWith("right")?{top:Math.round(this.positions.top),left:Math.round(this.positions.left)-T}:{top:Math.round(this.positions.top)-T,left:Math.round(this.positions.left)},this.animation=this.tooltipEl.animate([{transform:`translate3d(${e.left}px, ${e.top}px, 0)`,opacity:0},{transform:`translate3d(${Math.round(this.positions.left)}px, ${Math.round(this.positions.top)}px, 0)`,opacity:1}],{duration:200,easing:"ease-in-out"}),this.animation.onfinish=()=>{this.animation&&this.animation.playbackRate<0&&(this.destroyTooltip(),this.animation=null)}}}))}hide(){this.displaying&&!this.forceDisplay&&(this.displaying=!1,this.animation&&this.animation.reverse(),this.text||this.destroyTooltip())}}e.directive("tooltip",{bind(e,n,r){let i;i="string"===typeof n.value?n.value:n.value.text,e.__buntpapier__tooltip=new t(e,{placement:n.value.placement||Object.keys(n.modifiers).find(e=>["auto","top","right","bottom","left"].find(t=>e.startsWith(t))),fixed:n.value.fixed||n.modifiers.fixed,boundariesElement:n.value.boundariesElement}),e.__buntpapier__tooltip.update(i,n.value.show)},update(e,t,n,r){if(!e.__buntpapier__tooltip||t.value===t.oldValue)return;let i;i="string"===typeof t.value?t.value:t.value.text,e.__buntpapier__tooltip.update(i,t.value.show)},unbind(e,t,n,r){e.__buntpapier__tooltip&&e.__buntpapier__tooltip.destroy()}})},L=function(e){e.directive("resizeObserver",{bind(e,t){const n=new C["a"](t.value);n.observe(e),e.__buntpapier__resize_observer=n},unbind(e,t,n,r){e.__buntpapier__resize_observer&&e.__buntpapier__resize_observer.disconnect()}}),E(e),O(e)},P=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.tooltipOptions||{text:e._tooltip,show:!!this.errorMessage,placement:e.tooltipPlacement,fixed:e.tooltipFixed},expression:"tooltipOptions || {text: _tooltip, show: !!this.errorMessage, placement: tooltipPlacement, fixed: tooltipFixed}"}],ref:"button",staticClass:"bunt-button",class:{disabled:e.disabled||e.loading||e.showSuccess,error:e.errorMessage||e.error,success:e.showSuccess},attrs:{type:e.type,"aria-disabled":e.disabled},on:{click:e.onClick}},[n("div",{staticClass:"bunt-button-content",class:{invisible:e.loading||e.errorMessage||e.error||e.showSuccess}},[e.icon?n("i",{staticClass:"bunt-icon mdi",class:[e.iconClass]}):e._e(),n("div",{staticClass:"bunt-button-text"},[e._t("default",(function(){return[n("span",{domProps:{textContent:e._s(e.text)}})]}))],2)]),n("progress-circular",{directives:[{name:"show",rawName:"v-show",value:e.loading,expression:"loading"}],attrs:{size:"small"}}),e.errorMessage||e.error?n("i",{staticClass:"bunt-icon mdi mdi-replay error"}):e._e(),e.showSuccess?n("i",{staticClass:"bunt-icon mdi mdi-check success"}):e._e(),e.noInk||e.disabled?e._e():n("ripple-ink")],1)},z=[],Y=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-ripple-ink",on:{mousedown:function(t){return e.mousedown(t)},touchstart:function(t){return e.touchstart(t)}}},[n("transition",{attrs:{name:"ripple-ink"}},[e.show?n("div",{staticClass:"ripple",style:e.style}):e._e()])],1)},N=[],j={name:"bunt-ripple-ink",data(){return{show:!1,style:null}},methods:{mousedown(e){0===e.button&&this.ripple(e.type,e)},touchstart(e){if(e.changedTouches)for(let t=0;t<e.changedTouches.length;++t)this.ripple(e.type,e.changedTouches[t])},ripple(e,t){const n=this.$el,r=n.getAttribute("data-ui-event");if(r&&r!==e)return;n.setAttribute("data-ui-event",e);let i,a=n.getBoundingClientRect(),o=t.offsetX;void 0!==o?i=t.offsetY:(o=t.clientX-a.left,i=t.clientY-a.top);let s=a.width===a.height?1.412*a.width:Math.sqrt(a.width*a.width+a.height*a.height),c=2*s+"px";this.style={width:c,height:c,marginLeft:-s+o+"px",marginTop:-s+i+"px"},this.show=!0;const l=["mouseleave","mouseup","touchend"],u=()=>{l.forEach(e=>{n.removeEventListener(e,u)}),setTimeout(()=>{this.show=!1,this.style=null,n.removeAttribute("data-ui-event")},200)};l.forEach(e=>{n.addEventListener(e,u)})}}},F=j,R=Object(w["a"])(F,Y,N,!1,null,null,null,!0),B=R.exports,$={props:{noInk:{type:Boolean,default:!1}},components:{RippleInk:B}},I=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-progress-circular active",class:[e.size,{"progress-center":e.center,"progress-page":e.page}]},[n("svg",{attrs:{viewBox:"25 25 50 50"}},[n("circle",{attrs:{cx:"50",cy:"50",r:"20"}})])])},q=[],H={props:{center:{type:Boolean,default:!1},page:{type:Boolean,default:!1},size:{type:String,default:"normal"}},data(){return{}},ready(){},beforeDestroy(){},methods:{}},W=H,U=Object(w["a"])(W,I,q,!1,null,null,null,!0),V=U.exports;const G={add:"plus",done:"check",remove:"minus",search:"magnify",help_outline:"help-circle-outline"};var K={getClass(e){return e?"mdi-"+(G[e]||e).replace("_","-"):""}},Z={name:"bunt-button",components:{ProgressCircular:V},mixins:[$],props:{text:String,icon:String,iconRight:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},type:{type:String,default:"button"},error:Boolean,errorMessage:String,successAfterLoading:{type:Boolean,default:!0},tooltip:String,tooltipPlacement:{type:String,default:"bottom"},tooltipFixed:{type:Boolean,default:!1},tooltipOptions:Object},data(){return{_loading:!1,showSuccess:!1}},computed:{_tooltip(){return this.errorMessage?this.errorMessage:this.tooltip},iconClass(){return K.getClass(this.icon)}},watch:{loading:"loadingChanged",errorMessage:"errorChanged",error:"errorChanged"},methods:{loadingChanged(e){if(e)this._loading=e,this.userShowTooltip=!1,this.showSuccess=!1,this.$successTimeout&&clearTimeout(this.$successTimeout);else{if(this._loading=e,this.errorMessage||this.error)return;this.showSuccess=!0,this.$successTimeout=setTimeout(()=>{this.showSuccess=!1},3e3)}},errorChanged(e){null!==e&&(this.showSuccess=!1)},onClick(e){this.disabled||this.loading||this.showSuccess||this.$emit("click",e)}}},X=Z,J=Object(w["a"])(X,P,z,!1,null,null,null,!0),Q=J.exports,ee=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-checkbox",class:{checked:e.value}},[n("input",{attrs:{type:"checkbox",name:e.name,disabled:e.disabled,readonly:e.readonly},domProps:{checked:e.value},on:{change:function(t){return e.onChange(t)},focus:function(t){e.focused=!0},blur:e.onBlur}}),n("div",{staticClass:"bunt-checkbox-box"}),e.label?n("label",[e._v(e._s(e.label))]):n("label",[e._t("default")],2)])},te=[],ne={name:"bunt-checkbox",components:{},props:{value:{type:Boolean,default:!1},name:{type:String,required:!0},label:String,disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},data(){return{focused:!1}},computed:{},created(){},mounted(){this.$nextTick(()=>{})},methods:{onChange(e){this.$emit("input",e.target.checked),this.validation&&this.validation.$touch()},onBlur(){this.focused=!1,this.validation&&this.validation.$touch()}}},re=ne,ie=Object(w["a"])(re,ee,te,!1,null,null,null,!0),ae=ie.exports,oe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-radio",class:{checked:e.isChecked}},[n("input",{attrs:{type:"radio",name:e.name,disabled:e.disabled,readonly:e.readonly},domProps:{value:e.value,checked:e.isChecked},on:{change:function(t){return e.onChange(t)},focus:function(t){e.focused=!0},blur:e.onBlur}}),n("div",{staticClass:"bunt-radio-circle"}),e.label?n("label",[e._v(e._s(e.label))]):n("label",[e._t("default")],2)])},se=[],ce={name:"bunt-radio",model:{prop:"checked",event:"change"},props:{checked:null,value:null,name:{type:String,required:!0},label:String,disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},data(){return{focused:!1}},computed:{isChecked(){return this.checked===this.value}},methods:{onChange(e){this.$emit("change",this.value),this.validation&&this.validation.$touch()},onBlur(){this.focused=!1,this.validation&&this.validation.$touch()}}},le=ce,ue=Object(w["a"])(le,oe,se,!1,null,null,null,!0),de=ue.exports,he=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("i",{staticClass:"bunt-icon mdi",class:[e.iconClass]})},fe=[],pe={name:"bunt-icon",props:{icon:{type:String,required:!0}},computed:{iconClass(){return K.getClass(this.icon)}}},me=pe,be=Object(w["a"])(me,he,fe,!1,null,null,null,!0),ge=be.exports,ve=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.tooltipOptions||{text:e.tooltip,placement:e.tooltipPlacement,fixed:e.tooltipFixed},expression:"tooltipOptions || {text: tooltip, placement: tooltipPlacement, fixed: tooltipFixed}"}],ref:"button",staticClass:"bunt-icon-button",class:{disabled:e.disabled},attrs:{type:e.type,"aria-disabled":e.disabled},on:{click:e.onClick}},[e.iconClass()?n("i",{staticClass:"bunt-icon mdi",class:[e.iconClass()]}):e._t("default"),e.noInk||e.disabled?e._e():n("ripple-ink")],2)},_e=[],ye={name:"bunt-icon-button",mixins:[$],props:{disabled:{type:Boolean,default:!1},type:{type:String,default:"button"},tooltip:String,tooltipPlacement:{type:String,default:"bottom"},tooltipFixed:{type:Boolean,default:!1},tooltipOptions:Object},data(){return{showTooltip:!1}},methods:{iconClass(){if(!this.$slots.default[0].tag)return K.getClass(this.$slots.default[0].text)},onClick(e){this.disabled||this.$emit("click",e)}}},Ae=ye,ke=Object(w["a"])(Ae,ve,_e,!1,null,null,null,!0),we=ke.exports,xe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.generateOutline,expression:"generateOutline"}],staticClass:"bunt-input",class:{focused:e.focused,"floating-label":e.floatingLabel,invalid:e.invalid,disabled:e.disabled,"with-icon":e.icon},style:{"--label-gap":e.floatingLabelWidth}},[n("div",{staticClass:"label-input-container"},[n("label",{attrs:{for:e.name}},[e._v(e._s(e.label))]),e.icon?n("div",{staticClass:"icon mdi",class:[e.iconClass]}):e._e(),n("input",{ref:"input",attrs:{type:e.type,name:e.name,disabled:e.disabled,readonly:e.readonly,placeholder:e.placeholder},domProps:{value:e.value},on:{input:function(t){return e.onInput(t)},focus:function(t){e.focused=!0},blur:e.onBlur}}),n("div",{directives:[{name:"show",rawName:"v-show",value:e.invalid,expression:"invalid"}],staticClass:"error-icon mdi mdi-alert-circle",attrs:{title:e.hintText}}),n("svg",{ref:"outline",staticClass:"outline"},[n("path",{attrs:{d:e.outlineStroke}})])]),e.hintIsHtml?n("div",{staticClass:"hint",domProps:{innerHTML:e._s(e.hintText)}}):n("div",{staticClass:"hint"},[e._v(e._s(e.hintText))])])},Me=[];const Ce="undefined"!==typeof window&&document.createElement("canvas");function Se(e,t){if("undefined"===typeof window)return 0;var n=Ce.getContext("2d");return n.font=t,n.measureText(e||"")}var Ee={data:function(){return{outlineStroke:""}},computed:{floatingLabelWidth(){return this.label?Se(this.label,"12px 'Roboto', \"Helvetica Neue\", HelveticaNeue, Helvetica, Arial, sans-serif").width+8:0}},mounted(){this.$nextTick(()=>{this.generateOutline()})},methods:{generateOutline(){const{width:e,height:t}=this.$refs.outline.getBoundingClientRect(),n=4,r=n+1;this.outlineStroke=`M ${r} 1\n\t\t\th ${e-2*r}\n\t\t\ta ${n} ${n} 0 0 1 ${n} ${n}\n\t\t\tv ${t-2*r}\n\t\t\ta ${n} ${n} 0 0 1 ${-n} ${n}\n\t\t\th ${2*r-e}\n\t\t\ta ${n} ${n} 0 0 1 ${-n} ${-n}\n\t\t\tv ${2*r-t}\n\t\t\ta ${n} ${n} 0 0 1 ${n} ${-n}`}}},De={name:"bunt-input",mixins:[Ee],props:{type:{type:String,default:"text"},name:{type:String,required:!0},label:String,placeholder:String,value:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},icon:String,iconRight:{type:Boolean,default:!1},hint:String,hintIsHtml:{type:Boolean,default:!1},validation:Object},data:function(){return{focused:!1}},computed:{iconClass(){return K.getClass(this.icon)},invalid(){return this.validation&&this.validation.$error},hintText(){if(this.invalid&&this.validation.$params){const e=Object.keys(this.validation.$params).map(e=>this.validation[e]?null:this.validation.$params[e].message);return e.filter(Boolean).join()}return this.hint},floatingLabel(){return Boolean(this.placeholder||this.value||0===this.value)}},methods:{onInput(e){this.$emit("input",e.target.value),this.validation&&this.validation.$touch()},onBlur(){this.focused=!1,this.validation&&this.validation.$touch()}}},Te=De,Oe=Object(w["a"])(Te,xe,Me,!1,null,null,null,!0),Le=Oe.exports,Pe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.generateOutline,expression:"generateOutline"}],staticClass:"bunt-input-outline-container",class:{focused:e.focused},style:{"--label-gap":e.floatingLabelWidth}},[n("label",[e._v(e._s(e.label))]),e._t("default",null,{focus:e.focus,blur:e.blur}),n("svg",{ref:"outline",staticClass:"outline"},[n("path",{attrs:{d:e.outlineStroke}})])],2)},ze=[],Ye={name:"bunt-input-outline-container",mixins:[Ee],props:{label:String},data(){return{focused:!1}},computed:{},created(){},mounted(){this.$nextTick(()=>{})},methods:{focus(){this.focused=!0},blur(){this.focused=!1}}},Ne=Ye,je=Object(w["a"])(Ne,Pe,ze,!1,null,null,null,!0),Fe=je.exports,Re=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("router-link",{staticClass:"bunt-link-button",attrs:{to:e.to}},[e._t("default"),n("ripple-ink")],2)},Be=[],$e={name:"bunt-link-button",components:{},mixins:[$],props:{to:Object},data(){return{}},computed:{},watch:{},methods:{}},Ie=$e,qe=Object(w["a"])(Ie,Re,Be,!1,null,null,null,!0),He=qe.exports,We=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.generateOutline,expression:"generateOutline"}],staticClass:"bunt-select dropdown",class:e.dropdownClasses},[n("div",{ref:"searchContainer",staticClass:"bunt-input dense",class:{focused:e.open,"floating-label":0!=e.rawSearch.length||!e.isValueEmpty,invalid:e.invalid,disabled:e.disabled},style:{"--label-gap":e.floatingLabelWidth}},[n("div",{staticClass:"label-input-container"},[n("label",{attrs:{for:e.name}},[e._v(e._s(e.label))]),e.icon?n("div",{staticClass:"icon mdi",class:[e.iconClass]}):e._e(),n("input",{directives:[{name:"model",rawName:"v-model",value:e.rawSearch,expression:"rawSearch"}],ref:"search",attrs:{type:"text",name:e.name,disabled:e.disabled,placeholder:e.searchPlaceholder,autocomplete:"off"},domProps:{value:e.rawSearch},on:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?null:e.maybeDeleteValue.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.typeAheadUp.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.typeAheadDown.apply(null,arguments))}],keyup:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.onEscape.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.typeAheadSelect.apply(null,arguments))}],blur:e.blur,focus:e.focus,input:function(t){t.target.composing||(e.rawSearch=t.target.value)}}}),n("i",{ref:"openIndicator",staticClass:"open-indicator mdi mdi-menu-down",attrs:{role:"presentation"},on:{mousedown:function(e){e.preventDefault(),e.stopPropagation()},click:function(t){return t.preventDefault(),t.stopPropagation(),e.toggleDropdown.apply(null,arguments)}}}),n("svg",{ref:"outline",staticClass:"outline"},[n("path",{attrs:{d:e.outlineStroke}})])]),e.hintIsHtml?n("div",{staticClass:"hint",domProps:{innerHTML:e._s(e.hintText)}}):n("div",{staticClass:"hint"},[e._v(e._s(e.hintText))])]),e.open?n(e.usePortals?"portal":"div",{tag:"component",attrs:{to:"bunt-overlays"}},[n("div",{ref:"dropdownMenu",staticClass:"bunt-select-dropdown-menu",class:[e.dropdownClass],style:{"max-height":e.maxHeight,width:e.width+"px"},on:{mousedown:function(e){e.preventDefault(),e.stopPropagation()}}},[e._t("result-header"),n("div",{directives:[{name:"scrollbar",rawName:"v-scrollbar.y",value:{_preventMousedown:!0},expression:"{_preventMousedown: true}",modifiers:{y:!0}}],staticClass:"scrollable-menu"},[n("ul",[e._l(e.filteredOptions,(function(t,r){return n("li",{key:r,class:{active:e.isOptionSelected(t),highlight:r===e.typeAheadPointer},on:{mouseover:function(t){e.typeAheadPointer=r},click:function(n){return n.preventDefault(),n.stopPropagation(),e.select(t)}}},[e._t("default",(function(){return[e._v(e._s(e.getOptionLabel(t)))]}),{option:t})],2)})),e.filteredOptions.length?e._e():n("li",{staticClass:"divider",attrs:{transition:"fade"}}),e.filteredOptions.length?e._e():n("li",{staticClass:"text-center",attrs:{transition:"fade"}},[e._t("no-options",(function(){return[e._v("Sorry, no matching options.")]}))],2)],2)])],2)]):e._e()],1)},Ue=[],Ve={watch:{typeAheadPointer(){this.maybeAdjustScroll()}},methods:{maybeAdjustScroll(){if(!this.$refs.dropdownMenu)return;let e=this.pixelsToPointerTop(),t=this.pixelsToPointerBottom();return e<=this.viewport().top?this.scrollTo(e):t>=this.viewport().bottom?this.scrollTo(this.viewport().top+this.pointerHeight()):void 0},pixelsToPointerTop(){let e=0,t=this.$refs.dropdownMenu.children;for(let n=0;n<this.typeAheadPointer;n++)e+=t[n]?t[n].offsetHeight:0;return e},pixelsToPointerBottom(){return this.pixelsToPointerTop()+this.pointerHeight()},pointerHeight(){let e=this.$refs.dropdownMenu.children[this.typeAheadPointer];return e?e.offsetHeight:0},viewport(){return{top:this.$refs.dropdownMenu.scrollTop,bottom:this.$refs.dropdownMenu.offsetHeight+this.$refs.dropdownMenu.scrollTop}},scrollTo(e){return this.$refs.dropdownMenu.scrollTop=e}}},Ge={data(){return{typeAheadPointer:-1}},watch:{filteredOptions(){this.typeAheadPointer=0}},methods:{typeAheadUp(){this.typeAheadPointer>0&&(this.typeAheadPointer--,this.maybeAdjustScroll&&this.maybeAdjustScroll())},typeAheadDown(){this.typeAheadPointer<this.filteredOptions.length-1&&(this.typeAheadPointer++,this.maybeAdjustScroll&&this.maybeAdjustScroll())},typeAheadSelect(){this.filteredOptions[this.typeAheadPointer]?this.select(this.filteredOptions[this.typeAheadPointer]):this.taggable&&this.search.length&&this.select(this.search)}}},Ke=n("2e39"),Ze=n.n(Ke),Xe={name:"bunt-select",mixins:[Ee,Ve,Ge],props:{name:{type:String,required:!0},label:String,value:{type:[String,Object,Number],default:null},icon:String,options:{type:Array,default(){return[]}},placeholder:{type:String,default:""},disabled:{type:Boolean,default:!1},maxHeight:{type:String,default:"400px"},optionLabel:{type:String,default:"label"},getOptionLabel:{type:Function,default(e){return"object"===typeof e&&void 0!==this.optionLabel&&void 0!==e[this.optionLabel]?e[this.optionLabel]:e}},optionValue:{type:String,default:"id"},getOptionValue:{type:Function,default(e){return"object"===typeof e&&void 0!==this.optionValue&&void 0!==e[this.optionValue]?e[this.optionValue]:e}},findOptionByValue:{type:Function,default(e){const t=t=>"object"===typeof t&&this.optionValue?t[this.optionValue]===e:t===e;return this.options.find(t)}},hint:String,hintIsHtml:{type:Boolean,default:!1},validation:Object,dropdownClass:String,dropdownOverflowElement:[String,Object]},data(){return{search:"",rawSearch:"",open:!1,width:0,usePortals:void 0!==this.$root.$options.components.Portal&&void 0!==this.$root.$options.components.PortalTarget}},computed:{dropdownClasses(){return{open:this.open,searchable:this.searchable,loading:this.loading}},searchPlaceholder(){if(this.isValueEmpty&&this.placeholder)return this.placeholder},filteredOptions(){let e=0!==this.search.length?this.options.filter(e=>Ze()(this.search.toLowerCase(),this.getOptionLabel(e).toLowerCase())):this.options.slice();return this.taggable&&this.search.length&&!this.optionExists(this.search)&&e.unshift(this.search),e},isValueEmpty(){return!this.value||("object"===typeof this.value?!Object.keys(this.value).length:!this.value.length)},iconClass(){return K.getClass(this.icon)},invalid(){return this.validation&&this.validation.$error},hintText(){if(this.invalid&&this.validation.$params){const e=Object.keys(this.validation.$params).map(e=>this.validation[e]?null:this.validation.$params[e].message);return e.filter(Boolean).join()}return this.hint}},watch:{value(e){this.selectValue(e)},rawSearch(e){this.open&&(this.search=e)},filteredOptions(){var e;null===(e=this._popper)||void 0===e||e.scheduleUpdate()}},mounted(){this.selectValue(this.value)},beforeDestroy(){var e;null===(e=this._popper)||void 0===e||e.destroy()},methods:{focus(){this.open=!0,this.search="",this.$refs.search.select(),this.width=this.$refs.searchContainer.getBoundingClientRect().width,this.$nextTick(()=>{const e={placement:"bottom",positionFixed:!0,modifiers:{}};this.icon&&(e.modifiers.offset={offset:"-15, 0"}),this.dropdownOverflowElement&&(e.modifiers.preventOverflow={boundariesElement:this.dropdownOverflowElement}),this._popper=new D["a"](this.$refs.search,this.$refs.dropdownMenu,e)})},blur(e){this.open=!1,this.$nextTick(()=>{var e;return null===(e=this._popper)||void 0===e?void 0:e.destroy()}),this.validation&&this.validation.$touch(),this.$emit("blur")},selectValue(e){const t=this.findOptionByValue(e);this.rawSearch=this.getOptionLabel(t)||""},select(e){this.isOptionSelected(e)?this.deselect(e):this.$emit("input",this.getOptionValue(e)),this.onAfterSelect(e)},deselect(e){this.$emit("input",null)},onAfterSelect(e){this.$refs.search.blur(),this.rawSearch=this.getOptionLabel(e)||""},toggleDropdown(e){e.target!==this.$refs.openIndicator&&e.target!==this.$refs.search&&e.target!==this.$refs.toggle&&e.target!==this.$el||(this.open?this.$refs.search.blur():this.$refs.search.focus())},isOptionSelected(e){return this.value===e},onEscape(){this.rawSearch.length?(this.deselect(),this.rawSearch=""):this.$refs.search.blur()},maybeDeleteValue(){!this.$refs.search.value.length&&this.value&&this.$emit("input",null)},optionExists(e){let t=!1;return this.options.forEach(n=>{("object"===typeof n&&n[this.optionLabel]===e||n===e)&&(t=!0)}),t}}},Je=Xe,Qe=Object(w["a"])(Je,We,Ue,!1,null,null,null,!0),et=Qe.exports,tt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-switch",class:{checked:e.value}},[n("input",{attrs:{type:"checkbox",name:e.name,disabled:e.disabled,readonly:e.readonly},domProps:{checked:e.value},on:{change:function(t){return e.onChange(t)},focus:function(t){e.focused=!0},blur:e.onBlur}}),e._m(0),n("label",[e._v(e._s(e.label))])])},nt=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-switch-track"},[n("div",{staticClass:"bunt-switch-thumb"})])}],rt={name:"bunt-switch",components:{},props:{value:{type:Boolean,default:!1},name:{type:String,required:!0},label:String,disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},data(){return{focused:!1}},computed:{},created(){},mounted(){this.$nextTick(()=>{})},methods:{onChange(e){this.$emit("input",e.target.checked),this.validation&&this.validation.$touch()},onBlur(){this.focused=!1,this.validation&&this.validation.$touch()}}},it=rt,at=Object(w["a"])(it,tt,nt,!1,null,null,null,!0),ot=at.exports,st=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e._onResizeObserver,expression:"_onResizeObserver"}],staticClass:"bunt-tabs",class:e.styleClasses},[n("div",{staticClass:"bunt-tabs-header"},[n("ul",{ref:"tabsContainer",staticClass:"bunt-tabs-header-items",attrs:{role:"tablist"}},e._l(e.tabs,(function(t,r){return n("bunt-tab-header-item",{key:t.id,ref:"tabElements",refInFor:!0,attrs:{type:e.type,id:t.id,icon:t.icon,text:t.header,active:e.activeTabObj===t,disabled:t.disabled},nativeOn:{click:function(n){return e.select(t,r)}}})})),1),n("div",{staticClass:"bunt-tabs-indicator",class:[e.indicatorState],style:e.indicatorStyle,on:{transitionend:e.onIndicatorTransitionEnd}})]),n("div",{ref:"body",staticClass:"bunt-tabs-body"},[e._t("default")],2)])},ct=[],lt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{ref:"item",staticClass:"bunt-tab-header-item",class:["type-"+e.type,{active:e.active,disabled:e.disabled}],attrs:{role:"tab",tabindex:e.active?0:-1,"aria-controls":e.id,"aria-selected":e.active?"true":null,disabled:e.disabled}},["icon"===e.type||"icon-and-text"===e.type?n("div",{staticClass:"bunt-tab-header-item-icon"},[n("i",{staticClass:"bunt-icon mdi",class:[e.iconClass]})]):e._e(),"text"===e.type||"icon-and-text"===e.type?n("div",{staticClass:"bunt-tab-header-item-text",domProps:{textContent:e._s(e.text)}}):e._e(),e.noInk||e.disabled?e._e():n("ripple-ink")],1)},ut=[],dt={name:"bunt-tab-header-item",mixins:[$],props:{id:String,type:{type:String,default:"text"},text:String,icon:String,active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},computed:{iconClass(){return K.getClass(this.icon)}}},ht=dt,ft=Object(w["a"])(ht,lt,ut,!1,null,null,null,!0),pt=ft.exports;const mt=function(e,t){return 100*e/t};var bt={name:"bunt-tabs",components:{BuntTabHeaderItem:pt},props:{type:{type:String,default:"text"},activeTab:{type:[Number,String,Object,Function]}},data(){return{activeTabObj:null,tabs:null,indicatorState:"",indicatorTransform:{left:0,width:0},indicatorTargetTransform:{left:0,width:0}}},computed:{styleClasses(){let e=["bunt-tabs-type-"+this.type];return e},indicatorStyle(){const e=this.indicatorTransform;return{transform:`translateX(${e.left}%) scaleX(${e.width/100})`}}},watch:{activeTab(e){this.activateTab(e)}},mounted(){this.updateTabs();new MutationObserver(e=>{this.updateTabs(),this.$nextTick(()=>this.activateTab(this.activeTab||0))}).observe(this.$refs.body,{childList:!0});this.$nextTick(()=>{this.$refs.tabsContainer&&this.activateTab(this.activeTab||0)})},methods:{_onResizeObserver(){this.$refs.tabsContainer&&this.activeTabObj&&this.select(this.activeTabObj,this.tabs.indexOf(this.activeTabObj))},updateTabs(){const e=Array.from(this.$refs.body.children);this.tabs=this.$children.filter(e=>e._isTab).sort((t,n)=>e.indexOf(t.$el)-e.indexOf(n.$el))},activateTab(e){let t=null;"number"===typeof e?t=e:"string"===typeof e&&(t=this.tabs.findIndex(t=>t.id===e)),this.tabs[t]?this.select(this.tabs[t],t):this.deselect()},select(e,t){let n=this.tabs.indexOf(this.activeTabObj);if(!e||e.disabled)return;let r=this.$refs.tabsContainer.getBoundingClientRect(),i=r.width;const a=Array.from(this.$refs.tabsContainer.children);let o=this.$refs.tabElements.sort((e,t)=>a.indexOf(e.$el)-a.indexOf(t.$el))[t].$el.getBoundingClientRect(),s=o.left-r.left;if(this.indicatorTargetTransform={width:mt(o.width,i),left:mt(s,i)},n<0)return this.indicatorState="",this.indicatorTransform={width:this.indicatorTargetTransform.width,left:this.indicatorTargetTransform.left},void(this.activeTabObj=e);let c=this.$refs.tabElements[n].$el.getBoundingClientRect(),l=5;this.indicatorState="expand";let u=n<t;u?this.indicatorTransform.width=mt(o.left+o.width-c.left,i)-l:this.indicatorTransform={width:mt(c.left+c.width-o.left,i)-l,left:mt(s,i)+l},this.activeTabObj=e},deselect(){this.activeTabObj=null,this.indicatorTransform.width=0,this.indicatorTransform.left=0},onIndicatorTransitionEnd(){"expand"==this.indicatorState?(this.indicatorState="contract",this.indicatorTransform={width:this.indicatorTargetTransform.width,left:this.indicatorTargetTransform.left}):this.indicatorState=""}}},gt=bt,vt=Object(w["a"])(gt,st,ct,!1,null,null,null,!0),_t=vt.exports,yt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.active,expression:"active"}],staticClass:"bunt-tab",attrs:{id:e.id,role:"tabpanel",tabindex:e.active?"0":null,"aria-hidden":e.active?null:"true"}},[e._t("default")],2)},At=[],kt={name:"bunt-tab",props:{header:String,icon:String,disabled:{type:Boolean,default:!1},id:String},computed:{active(){return this.$parent.activeTabObj===this}},watch:{active(e){e?this.$emit("selected",this.id):this.$emit("deselected",this.id)}},created(){this._isTab=!0}},wt=kt,xt=Object(w["a"])(wt,yt,At,!1,null,null,null,!0),Mt=xt.exports,Ct=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.open?n("div",{staticClass:"bunt-dialog-container"},[n("div",{staticClass:"bunt-dialog"},[e._t("default")],2),n("div",{staticClass:"bunt-backdrop",attrs:{"keyup.esc":"close"},on:{click:e.close}})]):e._e()},St=[],Et={props:{open:{type:Boolean,default:!1}},data(){return{}},computed:{},created(){},mounted(){this.$nextTick(()=>{document.body.appendChild(this.$el)})},beforeDestroy(){this.$el.parentNode===document.body&&document.body.removeChild(this.$el)},methods:{close(){this.$emit("close")}}},Dt=Et,Tt=Object(w["a"])(Dt,Ct,St,!1,null,null,null,!0),Ot=Tt.exports;let Lt;"undefined"!==typeof window&&(Lt=n("472d").default);const Pt={install(e){L(e),e.component("bunt-button",Q),e.component("bunt-checkbox",ae),e.component("bunt-radio",de),e.component("bunt-icon",ge),e.component("bunt-icon-button",we),e.component("bunt-input",Le),e.component("bunt-input-outline-container",Fe),e.component("bunt-link-button",He),e.component("bunt-select",et),"undefined"!==typeof window&&e.component("bunt-popover",Lt),e.component("bunt-progress-circular",V),e.component("bunt-switch",ot),e.component("bunt-tabs",_t),e.component("bunt-tab",Mt),e.component("bunt-dialog",Ot)}};var zt=Pt,Yt=n("7f45"),Nt=n.n(Yt),jt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"scrollbar",rawName:"v-scrollbar.y",modifiers:{y:!0}}],staticClass:"c-linear-schedule"},e._l(e.sessionBuckets,(function(t,r){var i=t.date,a=t.sessions;return n("div",{staticClass:"bucket"},[n("div",{ref:e.getBucketName(i),refInFor:!0,staticClass:"bucket-label",attrs:{"data-date":i.format()}},[0===r||i.clone().startOf("day").diff(e.sessionBuckets[r-1].date.clone().startOf("day"),"day")>0?n("div",{staticClass:"day"},[e._v(" "+e._s(i.format("dddd DD. MMMM")))]):e._e(),n("div",{staticClass:"time"},[e._v(e._s(i.format("LT")))]),e._l(a,(function(t){return[e.isProperSession(t)?n("session",{attrs:{session:t,faved:t.id&&e.favs.includes(t.id)},on:{fav:function(n){return e.$emit("fav",t.id)},unfav:function(n){return e.$emit("unfav",t.id)}}}):n("div",{staticClass:"break"},[n("div",{staticClass:"title"},[e._v(e._s(e.getLocalizedString(t.title)))])])]}))],2)])})),0)},Ft=[];function Rt(e){if(!e)return"";if("string"===typeof e)return e;const t=document.querySelector("html").lang||"en";return e[t]||e.en||Object.values(e)[0]||""}const Bt=(e,t)=>["auto","scroll"].includes(getComputedStyle(e,null).getPropertyValue(t)),$t=e=>Bt(e,"overflow")||Bt(e,"overflow-x")||Bt(e,"overflow-y");function It(e){if(e&&e!==document.body)return $t(e)?e:It(e.parentNode)}function qt(e,t){let n=t.diff(e,"minutes");const r=Math.floor(n/60);return n<=60?n+"min":(n%=60,n?`${r}h${n}min`:r+"h")}var Ht=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a",{staticClass:"c-linear-schedule-session",class:{faved:e.faved},style:e.style,attrs:{href:e.link,target:e.linkTarget},on:{click:function(t){return e.onSessionLinkClick(t,e.session)}}},[n("div",{staticClass:"time-box"},[n("div",{staticClass:"start",class:{"has-ampm":e.hasAmPm}},[n("div",{staticClass:"time"},[e._v(e._s(e.startTime.time))]),e.startTime.ampm?n("div",{staticClass:"ampm"},[e._v(e._s(e.startTime.ampm))]):e._e()]),n("div",{staticClass:"duration"},[e._v(e._s(e.getPrettyDuration(e.session.start,e.session.end)))]),n("div",{staticClass:"buffer"}),e.isLive?n("div",{staticClass:"is-live"},[e._v("live")]):e._e()]),n("div",{staticClass:"info"},[n("div",{staticClass:"title"},[e._v(e._s(e.getLocalizedString(e.session.title)))]),e.session.speakers?n("div",{staticClass:"speakers"},[n("div",{staticClass:"avatars"},[e._l(e.session.speakers,(function(t){return[t.avatar?n("img",{attrs:{src:t.avatar}}):e._e()]}))],2),n("div",{staticClass:"names"},[e._v(e._s(e.session.speakers.map((function(e){return e.name})).join(", ")))])]):e._e(),e.showAbstract?n("div",{staticClass:"abstract",domProps:{innerHTML:e._s(e.abstract)}}):e._e(),n("div",{staticClass:"bottom-info"},[e.session.track?n("div",{staticClass:"track"},[e._v(e._s(e.getLocalizedString(e.session.track.name)))]):e._e(),e.showRoom&&e.session.room?n("div",{staticClass:"room"},[e._v(e._s(e.getLocalizedString(e.session.room.name)))]):e._e()])]),n("bunt-icon-button",{staticClass:"btn-fav-container",on:{click:function(t){t.preventDefault(),t.stopPropagation(),e.faved?e.$emit("unfav",e.session.id):e.$emit("fav",e.session.id)}}},[n("svg",{staticClass:"star",attrs:{viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z"}})])])],1)},Wt=[],Ut=n("d4cd"),Vt=n.n(Ut);const Gt=Vt()({linkify:!0,breaks:!0});var Kt={props:{session:Object,showAbstract:{type:Boolean,default:!0},showRoom:{type:Boolean,default:!0},faved:{type:Boolean,default:!1},hasAmPm:{type:Boolean,default:!1}},inject:{eventUrl:{default:null},linkTarget:{default:"_self"},generateSessionLinkUrl:{default(){return({eventUrl:e,session:t})=>`${e}talk/${t.id}/`}},onSessionLinkClick:{default(){return()=>{}}}},data(){return{getPrettyDuration:qt,getLocalizedString:Rt}},computed:{link(){return this.generateSessionLinkUrl({eventUrl:this.eventUrl,session:this.session})},style(){var e;return{"--track-color":(null===(e=this.session.track)||void 0===e?void 0:e.color)||"var(--pretalx-clr-primary)"}},startTime(){return this.hasAmPm?{time:this.session.start.format("h:mm"),ampm:this.session.start.format("A")}:{time:Nt()(this.session.start).format("LT")}},isLive(){return Nt()(this.session.start).isBefore(this.now)&&Nt()(this.session.end).isAfter(this.now)},abstract(){try{return Gt.renderInline(this.session.abstract)}catch(e){return this.session.abstract}}}},Zt=Kt;function Xt(e){var t=n("1004");t.__inject__&&t.__inject__(e)}var Jt=Object(w["a"])(Zt,Ht,Wt,!1,Xt,null,null,!0),Qt=Jt.exports,en={components:{Session:Qt},props:{sessions:Array,favs:{type:Array,default(){return[]}},currentDay:Object,now:Object,scrollParent:Element},data(){return{moment:Nt.a,getLocalizedString:Rt,scrolledDay:null}},computed:{sessionBuckets(){const e={};for(const t of this.sessions){const n=t.start.format();e[n]||(e[n]=[]),t.id?e[n].push(t):(t.break_id=`${t.start}${t.end}${t.title}`,0===e[n].filter(e=>e.break_id===t.break_id).length&&e[n].push(t))}return Object.entries(e).map(([e,t])=>({date:t[0].start,sessions:t}))}},watch:{currentDay:"changeDay"},async mounted(){var e,t;let n;await this.$nextTick(),this.observer=new IntersectionObserver(this.onIntersect,{root:this.scrollParent,rootMargin:"-45% 0px"});for(const[c,l]of Object.entries(this.$refs)){if(!c.startsWith("bucket"))continue;const e=Nt.a.parseZone(l[0].dataset.date);n&&n.isSame(e,"date")||(n=e,this.observer.observe(l[0]))}let r=!1;const i=window.location.hash.slice(1);if(i&&10===i.length){const e=Nt()(i,"YYYY-MM-DD");e&&(r=!0)}if(r)return;const a=this.sessionBuckets.findIndex(e=>this.now.isBefore(e.date));if(a<0)return;const o=this.sessionBuckets[Math.max(0,a-1)],s=(null===(e=this.$refs[this.getBucketName(o.date)])||void 0===e||null===(t=e[0])||void 0===t?void 0:t.offsetTop)-90;this.scrollParent?this.scrollParent.scrollTop=s:window.scroll({top:s+this.getOffsetTop()})},methods:{isProperSession(e){return!!e.id},getBucketName(e){return"bucket-"+e.format("YYYY-MM-DD-HH-mm")},getOffsetTop(){const e=this.$parent.$el.getBoundingClientRect();return e.top+window.scrollY},changeDay(e){var t;if(this.scrolledDay===e)return;const n=this.sessionBuckets.find(t=>e.isSame(t.date,"day"));if(!n)return;const r=null===(t=this.$refs[this.getBucketName(n.date)])||void 0===t?void 0:t[0];if(!r)return;const i=r.offsetTop+this.getOffsetTop()-8;this.scrollParent?this.scrollParent.scrollTop=i:window.scroll({top:i})},onIntersect(e){const t=e[0],n=Nt.a.parseZone(t.target.dataset.date).startOf("day");t.isIntersecting?(this.scrolledDay=n,this.$emit("changeDay",this.scrolledDay)):t.rootBounds&&t.boundingClientRect.y-t.rootBounds.y>0&&(this.scrolledDay=n.subtract(1,"day"),this.$emit("changeDay",this.scrolledDay))}}},tn=en;function nn(e){var t=n("2187");t.__inject__&&t.__inject__(e)}var rn=Object(w["a"])(tn,jt,Ft,!1,nn,null,null,!0),an=rn.exports,on=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"c-grid-schedule"},[n("div",{staticClass:"grid",style:e.gridStyle},[e._l(e.visibleTimeslices,(function(t){return[n("div",{ref:t.name,refInFor:!0,staticClass:"timeslice",class:e.getSliceClasses(t),style:e.getSliceStyle(t),attrs:{"data-slice":t.date.format()}},[e._v(e._s(e.getSliceLabel(t)))]),n("div",{staticClass:"timeline",class:e.getSliceClasses(t),style:e.getSliceStyle(t)})]})),e.nowSlice?n("div",{ref:"now",staticClass:"now",class:{"on-daybreak":e.nowSlice.onDaybreak},style:{"grid-area":e.nowSlice.slice.name+" / 1 / auto / auto","--offset":e.nowSlice.offset}},[n("svg",{attrs:{viewBox:"0 0 10 10"}},[n("path",{attrs:{d:"M 0 0 L 10 5 L 0 10 z"}})])]):e._e(),n("div",{staticClass:"room",style:{"grid-area":"1 / 1 / auto / auto"}}),e._l(e.rooms,(function(t,r){return n("div",{staticClass:"room",style:{"grid-area":"1 / "+(r+2)+" / auto / auto"}},[e._v(e._s(e.getLocalizedString(t.name))),e.getLocalizedString(t.description)?n("bunt-button",{staticClass:"room-description",attrs:{tooltip:e.getLocalizedString(t.description),"tooltip-placement":"bottom-end"}},[e._v("?")]):e._e()],1)})),e.hasSessionsWithoutRoom?n("div",{staticClass:"room",style:{"grid-area":"1 / "+(e.rooms.length+2)+" / auto / -1"}},[e._v("no location")]):e._e(),e._l(e.sessions,(function(t){return[e.isProperSession(t)?n("session",{style:e.getSessionStyle(t),attrs:{session:t,showAbstract:!1,showRoom:!1,faved:e.favs.includes(t.id),hasAmPm:e.hasAmPm},on:{fav:function(n){return e.$emit("fav",t.id)},unfav:function(n){return e.$emit("unfav",t.id)}}}):n("div",{staticClass:"break",style:e.getSessionStyle(t)},[n("div",{staticClass:"time-box"},[e.hasAmPm?n("div",{staticClass:"start has-ampm"},[n("div",{staticClass:"time"},[e._v(e._s(t.start.format("h:mm")))]),n("div",{staticClass:"ampm"},[e._v(e._s(t.start.format("A")))])]):n("div",{staticClass:"start"},[n("div",{staticClass:"time"},[e._v(e._s(t.start.format("LT")))])]),n("div",{staticClass:"duration"},[e._v(e._s(e.getPrettyDuration(t.start,t.end)))]),n("div",{staticClass:"buffer"})]),n("div",{staticClass:"info"},[n("div",{staticClass:"title"},[e._v(e._s(e.getLocalizedString(t.title)))])])])]}))],2)])},sn=[];const cn=function(e){return"slice-"+e.format("MM-DD-HH-mm")};var ln={components:{Session:Qt},props:{sessions:Array,rooms:Array,favs:{type:Array,default(){return[]}},currentDay:Object,now:Object,scrollParent:Element},data(){return{moment:Nt.a,getLocalizedString:Rt,getPrettyDuration:qt,scrolledDay:null}},computed:{hasSessionsWithoutRoom(){return this.sessions.some(e=>!e.room)},hasAmPm(){return Nt.a.localeData().longDateFormat("LT").endsWith(" A")},timeslices(){const e=30,t=[],n={},r=function(e,{hasSession:r=!1,hasBreak:i=!1,hasStart:a=!1,hasEnd:o=!1}={}){const s=cn(e);let c=n[s];c?(c.hasSession=c.hasSession||r,c.hasBreak=c.hasBreak||i,c.hasStart=c.hasStart||a,c.hasEnd=c.hasEnd||o):(c={date:e,name:s,hasSession:r,hasBreak:i,hasStart:a,hasEnd:o,datebreak:e.isSame(e.clone().startOf("day"))},t.push(c),n[s]=c)},i=function(t,n,{hasSession:i,hasBreak:a}={}){let o=n.diff(t,"minutes");const s=e-t.minute()%e,c=[];s&&(c.push(t.clone().add(s,"minutes")),o-=s);const l=n.minute()%e;for(let r=1;r<=o/e;r++)c.push(t.clone().add(s+e*r,"minutes"));l&&c.push(n.clone().subtract(l,"minutes"));const u=c.pop();c.forEach(e=>r(e,{hasSession:i,hasBreak:a})),r(u)};for(const c of this.sessions){const e=t[t.length-1];e?c.start.isAfter(e.date,"minutes")&&i(e.date,c.start):r(c.start.clone().startOf("day"));const n=this.isProperSession(c);r(c.start,{hasSession:n,hasBreak:!n,hasStart:!0}),r(c.end,{hasEnd:!0}),i(c.start,c.end,{hasSession:n,hasBreak:!n})}const a=function(t){if(t)return 0!==t.date.minutes()&&t.date.minutes()!==e},o=function(e,n){if(!e)return;if(e.hasSession||e.datebreak||e.hasStart||e.hasEnd)return!0;const r=t[n-1],i=t[n+1];return!!a(e)||(!(!((null!==r&&void 0!==r&&r.hasSession||null!==r&&void 0!==r&&r.hasBreak||null!==r&&void 0!==r&&r.hasEnd)&&a(r)||(null!==i&&void 0!==i&&i.hasSession||null!==i&&void 0!==i&&i.hasBreak)&&a(i))&&(null!==i&&void 0!==i&&i.hasSession&&null!==i&&void 0!==i&&i.hasBreak||!e.hasSession&&!e.hasBreak||!a(i)))||(null!==r&&void 0!==r&&r.hasBreak&&e.hasBreak,!1))};t.sort((e,t)=>e.date.diff(t.date));const s=[];for(const[c,l]of t.entries()){if(o(l,c)){s.push(l);continue}const e=t[c-1];o(e,c-1)&&!e.datebreak&&(e.gap=!0)}return s.forEach((e,t)=>{e.gap&&t<s.length-1&&s[t+1].date.diff(e.date,"minutes")<=30&&(e.gap=!1)}),s[s.length-1].gap&&s.pop(),s},visibleTimeslices(){return this.timeslices.filter(e=>e.date.minute()%30===0)},gridStyle(){let e="[header] 52px ";return e+=this.timeslices.map((e,t)=>{const n=this.timeslices[t+1];let r=60;return e.gap?r=100:e.datebreak?r=60:n&&(r=Math.min(60,2*n.date.diff(e.date,"minutes"))),`[${e.name}] minmax(${r}px, auto)`}).join(" "),{"--total-rooms":this.rooms.length,"grid-template-rows":e}},nowSlice(){let e;for(const t of this.timeslices){if(this.now.isBefore(t.date))break;e=t}if(e){const t=this.timeslices[this.timeslices.indexOf(e)+1];return t?t.date.diff(e.date,"minutes")>30?{slice:t,offset:0,onDaybreak:!0}:{slice:e,offset:this.now.diff(e.date,"minutes")/t.date.diff(e.date,"minutes")}:null}return null}},watch:{currentDay:"changeDay"},async mounted(){await this.$nextTick(),this.observer=new IntersectionObserver(this.onIntersect,{root:this.scrollParent,rootMargin:"-45% 0px"});for(const[r,i]of Object.entries(this.$refs))r.startsWith("slice")&&r.endsWith("00-00")&&this.observer.observe(i[0]);let e=!1;const t=window.location.hash.slice(1);if(t&&10===t.length){const n=Nt()(t,"YYYY-MM-DD");n&&(e=!0)}if(e||!this.$refs.now)return;const n=this.$refs.now.offsetTop+this.getOffsetTop()-90;this.scrollParent?this.scrollParent.scrollTop=n:window.scroll({top:n})},methods:{isProperSession(e){return!!e.id},getSessionStyle(e){const t=this.rooms.indexOf(e.room);return{"grid-row":`${cn(e.start)} / ${cn(e.end)}`,"grid-column":t>-1?t+2:null}},getOffsetTop(){const e=this.$parent.$el.getBoundingClientRect();return e.top+window.scrollY},getSliceClasses(e){return{datebreak:e.datebreak,gap:e.gap}},getSliceStyle(e){if(e.datebreak){let t=this.timeslices.findIndex(t=>t.date.isAfter(e.date,"day"));return t<0&&(t=this.timeslices.length-1),{"grid-area":`${e.name} / 1 / ${this.timeslices[t].name} / auto`}}return{"grid-area":e.name+" / 1 / auto / auto"}},getSliceLabel(e){return e.datebreak?e.date.format("ddd[\n]DD. MMM"):e.date.format("LT")},changeDay(e){var t;if(this.scrolledDay===e)return;const n=null===(t=this.$refs[cn(e)])||void 0===t?void 0:t[0];if(!n)return;const r=n.offsetTop+this.getOffsetTop();this.scrollParent?this.scrollParent.scrollTop=r:window.scroll({top:r})},onIntersect(e){const t=e.sort((e,t)=>t.time-e.time).find(e=>e.isIntersecting);if(!t)return;const n=Nt.a.parseZone(t.target.dataset.slice).startOf("day");this.scrolledDay=n,this.$emit("changeDay",this.scrolledDay)}}},un=ln;function dn(e){var t=n("0809");t.__inject__&&t.__inject__(e)}var hn=Object(w["a"])(un,on,sn,!1,dn,null,null,!0),fn=hn.exports;o["a"].use(zt);var pn={name:"PretalxSchedule",components:{LinearSchedule:an,GridSchedule:fn},props:{eventUrl:String,locale:String,format:{type:String,default:"grid"},version:{type:String,default:""}},provide(){return{eventUrl:this.eventUrl}},data(){return{moment:Nt.a,getLocalizedString:Rt,scrollParentWidth:1/0,schedule:null,userTimezone:null,now:Nt()(),currentDay:null,currentTimezone:null,showFilterModal:!1,favs:[],allTracks:[],onlyFavs:!1}},computed:{scheduleMaxWidth(){return this.schedule?Math.min(this.scrollParentWidth,78+650*this.schedule.rooms.length):this.scrollParentWidth},showGrid(){return this.scrollParentWidth>710&&"list"!==this.format},roomsLookup(){return this.schedule?this.schedule.rooms.reduce((e,t)=>(e[t.id]=t,e),{}):{}},tracksLookup(){return this.schedule?this.schedule.tracks.reduce((e,t)=>(e[t.id]=t,e),{}):{}},filteredTracks(){return this.allTracks.filter(e=>e.selected)},speakersLookup(){return this.schedule?this.schedule.speakers.reduce((e,t)=>(e[t.code]=t,e),{}):{}},sessions(){if(!this.schedule||!this.currentTimezone)return;const e=[];for(const n of this.schedule.talks.filter(e=>e.start)){var t;this.onlyFavs&&!this.favs.includes(n.code)||(this.filteredTracks&&this.filteredTracks.length&&!this.filteredTracks.find(e=>e.id===n.track)||e.push({id:n.code,title:n.title,abstract:n.abstract,start:Nt.a.tz(n.start,this.currentTimezone),end:Nt.a.tz(n.end,this.currentTimezone),speakers:null===(t=n.speakers)||void 0===t?void 0:t.map(e=>this.speakersLookup[e]),track:this.tracksLookup[n.track],room:this.roomsLookup[n.room]}))}return e.sort((e,t)=>e.start.diff(t.start)),e},rooms(){return this.schedule.rooms.filter(e=>this.sessions.some(t=>t.room===e))},days(){if(!this.sessions)return;const e=[];for(const t of this.sessions)e[e.length-1]&&e[e.length-1].isSame(t.start,"day")||e.push(t.start.clone().startOf("day"));return e},inEventTimezone(){if(!this.schedule||!this.schedule.talks)return!1;const e=this.schedule.talks[0].start;return Nt.a.tz(e,this.userTimezone).format("Z")===Nt.a.tz(e,this.schedule.timezone).format("Z")},dateFormat(){return this.showGrid&&this.schedule&&this.schedule.rooms.length>2||!this.days||!this.days.length||this.days&&this.days.length<=5?"dddd DD. MMMM":this.days&&this.days.length<=7?"dddd DD. MMM":"ddd DD. MMM"},eventSlug(){let e="";return e=this.eventUrl.startsWith("http")?new URL(this.eventUrl):new URL("http://example.org/"+this.eventUrl),e.pathname.replace(/\//g,"")}},async created(){Nt.a.locale(this.locale),this.userTimezone=Nt.a.tz.guess();let e="";this.version&&(e=`v/${this.version}/`);const t=`${this.eventUrl}schedule/${e}widgets/schedule.json`,n=`${this.eventUrl}schedule/${e}widget/v2.json`;try{this.schedule=await(await fetch(t)).json()}catch(i){this.schedule=await(await fetch(n)).json()}this.currentTimezone=localStorage.getItem(this.eventSlug+"_timezone"),this.currentTimezone=[this.schedule.timezone,this.userTimezone].includes(this.currentTimezone)?this.currentTimezone:this.schedule.timezone,this.currentDay=this.days[0],this.now=Nt()().tz(this.currentTimezone),setInterval(()=>this.now=Nt()().tz(this.currentTimezone),3e4),this.scrollParentResizeObserver||(await this.$nextTick(),this.onWindowResize()),this.schedule.tracks.forEach(e=>{e.value=e.id,e.label=Rt(e.name),this.allTracks.push(e)}),this.favs=this.pruneFavs(this.loadFavs(),this.schedule);const r=window.location.hash.slice(1);if(r&&10===r.length){const e=Nt()(r,"YYYY-MM-DD"),t=this.days.filter(t=>t.format("YYYYMMDD")===e.format("YYYYMMDD"));t.length&&(this.currentDay=t[0])}},async mounted(){await new Promise(e=>{const t=()=>{if(this.$el.parentElement||this.$el.getRootNode().host)return e();setTimeout(t,100)};t()}),this.scrollParent=It(this.$el.parentElement||this.$el.getRootNode().host),this.scrollParent?(this.scrollParentResizeObserver=new ResizeObserver(this.onScrollParentResize),this.scrollParentResizeObserver.observe(this.scrollParent),this.scrollParentWidth=this.scrollParent.offsetWidth):(window.addEventListener("resize",this.onWindowResize),this.onWindowResize())},destroyed(){},methods:{changeDay(e){e.isSame(this.currentDay)||(this.currentDay=Nt()(e,this.currentTimezone).startOf("day"),window.location.hash=e.format("YYYY-MM-DD"))},onWindowResize(){this.scrollParentWidth=document.body.offsetWidth},saveTimezone(){localStorage.setItem(this.eventSlug+"_timezone",this.currentTimezone)},onScrollParentResize(e){this.scrollParentWidth=e[0].contentRect.width},loadFavs(){const e=localStorage.getItem(this.eventSlug+"_favs");if(e)try{return JSON.parse(e)}catch{localStorage.setItem(this.eventSlug+"_favs","[]")}return[]},pruneFavs(e,t){const n=t.talks||[],r=n.map(e=>e.code);return e.filter(e=>r.includes(e))},saveFavs(){localStorage.setItem(this.eventSlug+"_favs",JSON.stringify(this.favs))},fav(e){this.favs.includes(e)||(this.favs.push(e),this.saveFavs())},unfav(e){this.favs=this.favs.filter(t=>t!==e),this.saveFavs(),this.favs.length||(this.onlyFavs=!1)},resetFilteredTracks(){this.allTracks.forEach(e=>e.selected=!1)}}},mn=pn;function bn(e){var t=n("0887");t.__inject__&&t.__inject__(e)}var gn=Object(w["a"])(mn,x,M,!1,bn,null,null,!0),vn=gn.exports;window.customElements.define("pretalx-schedule",k(o["a"],vn))},"5b54":function(e,t,n){"use strict";var r=n("bd68"),i=n("0068").has,a=n("0068").isValidEntityCode,o=n("0068").fromCodePoint,s=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,c=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,l,u,d=e.pos,h=e.posMax;if(38!==e.src.charCodeAt(d))return!1;if(d+1<h)if(n=e.src.charCodeAt(d+1),35===n){if(u=e.src.slice(d).match(s),u)return t||(l="x"===u[1][0].toLowerCase()?parseInt(u[1].slice(1),16):parseInt(u[1],10),e.pending+=a(l)?o(l):o(65533)),e.pos+=u[0].length,!0}else if(u=e.src.slice(d).match(c),u&&i(r,u[1]))return t||(e.pending+=r[u[1]]),e.pos+=u[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},"5c8f":function(e,t,n){var r,i,a;/*! tether-drop 1.4.1 */(function(o,s){i=[n("a01e")],r=s,a="function"===typeof r?r.apply(t,i):r,void 0===a||(e.exports=a)})(0,(function(e){"use strict";var t=Function.prototype.bind,n=function(){function e(e,t){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done);r=!0)if(n.push(o.value),t&&n.length===t)break}catch(c){i=!0,a=c}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(e,t,n){var r=!0;while(r){var i=e,a=t,o=n;r=!1,null===i&&(i=Function.prototype);var s=Object.getOwnPropertyDescriptor(i,a);if(void 0!==s){if("value"in s)return s.value;var c=s.get;if(void 0===c)return;return c.call(o)}var l=Object.getPrototypeOf(i);if(null===l)return;e=l,t=a,n=o,r=!0,s=l=void 0}};function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=e.Utils,c=s.extend,l=s.addClass,u=s.removeClass,d=s.hasClass,h=s.Evented;function f(e){var t=e.split(" "),r=n(t,2),i=r[0],a=r[1];if(["left","right"].indexOf(i)>=0){var o=[a,i];i=o[0],a=o[1]}return[i,a].join(" ")}function p(e,t){var n=void 0,r=[];while(-1!==(n=e.indexOf(t)))r.push(e.splice(n,1));return r}var m=["click"];"ontouchstart"in document.documentElement&&m.push("touchstart");var b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"},g="";for(var v in b)if({}.hasOwnProperty.call(b,v)){var _=document.createElement("p");"undefined"!==typeof _.style[v]&&(g=b[v])}var y={left:"right",right:"left",top:"bottom",bottom:"top",middle:"middle",center:"center"},A={};function k(){var n=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],s=function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return new(t.apply(v,[null].concat(n)))};c(s,{createContext:k,drops:[],defaults:{}});var b={classPrefix:"drop",defaults:{position:"bottom left",openOn:"click",beforeClose:null,constrainToScrollParent:!0,constrainToWindow:!0,classes:"",remove:!1,openDelay:0,closeDelay:50,focusDelay:null,blurDelay:null,hoverOpenDelay:null,hoverCloseDelay:null,tetherOptions:{}}};c(s,b,n),c(s.defaults,b.defaults,n.defaults),"undefined"===typeof A[s.classPrefix]&&(A[s.classPrefix]=[]),s.updateBodyClasses=function(){for(var e=!1,t=A[s.classPrefix],n=t.length,r=0;r<n;++r)if(t[r].isOpened()){e=!0;break}e?l(document.body,s.classPrefix+"-open"):u(document.body,s.classPrefix+"-open")};var v=function(t){function n(e){if(a(this,n),i(Object.getPrototypeOf(n.prototype),"constructor",this).call(this),this.options=c({},s.defaults,e),this.target=this.options.target,"undefined"===typeof this.target)throw new Error("Drop Error: You must provide a target.");var t="data-"+s.classPrefix,r=this.target.getAttribute(t);r&&null==this.options.content&&(this.options.content=r);for(var o=["position","openOn"],u=0;u<o.length;++u){var d=this.target.getAttribute(t+"-"+o[u]);d&&null==this.options[o[u]]&&(this.options[o[u]]=d)}this.options.classes&&!1!==this.options.addTargetClasses&&l(this.target,this.options.classes),s.drops.push(this),A[s.classPrefix].push(this),this._boundEvents=[],this.bindMethods(),this.setupElements(),this.setupEvents(),this.setupTether()}return o(n,t),r(n,[{key:"_on",value:function(e,t,n){this._boundEvents.push({element:e,event:t,handler:n}),e.addEventListener(t,n)}},{key:"bindMethods",value:function(){this.transitionEndHandler=this._transitionEndHandler.bind(this)}},{key:"setupElements",value:function(){var e=this;if(this.drop=document.createElement("div"),l(this.drop,s.classPrefix),this.options.classes&&l(this.drop,this.options.classes),this.content=document.createElement("div"),l(this.content,s.classPrefix+"-content"),"function"===typeof this.options.content){var t=function(){var t=e.options.content.call(e,e);if("string"===typeof t)e.content.innerHTML=t;else{if("object"!==typeof t)throw new Error("Drop Error: Content function should return a string or HTMLElement.");e.content.innerHTML="",e.content.appendChild(t)}};t(),this.on("open",t.bind(this))}else"object"===typeof this.options.content?this.content.appendChild(this.options.content):this.content.innerHTML=this.options.content;this.drop.appendChild(this.content)}},{key:"setupTether",value:function(){var t=this.options.position.split(" ");t[0]=y[t[0]],t=t.join(" ");var n=[];this.options.constrainToScrollParent?n.push({to:"scrollParent",pin:"top, bottom",attachment:"together none"}):n.push({to:"scrollParent"}),!1!==this.options.constrainToWindow?n.push({to:"window",attachment:"together"}):n.push({to:"window"});var r={element:this.drop,target:this.target,attachment:f(t),targetAttachment:f(this.options.position),classPrefix:s.classPrefix,offset:"0 0",targetOffset:"0 0",enabled:!1,constraints:n,addTargetClasses:this.options.addTargetClasses};!1!==this.options.tetherOptions&&(this.tether=new e(c({},r,this.options.tetherOptions)))}},{key:"setupEvents",value:function(){var e=this;if(this.options.openOn)if("always"!==this.options.openOn){var t=this.options.openOn.split(" ");if(t.indexOf("click")>=0)for(var n=function(t){e.toggle(t),t.preventDefault()},r=function(t){e.isOpened()&&(t.target===e.drop||e.drop.contains(t.target)||t.target===e.target||e.target.contains(t.target)||e.close(t))},i=0;i<m.length;++i){var a=m[i];this._on(this.target,a,n),this._on(document,a,r)}var o=null,s=null,c=function(t){null!==s?clearTimeout(s):o=setTimeout((function(){e.open(t),o=null}),("focus"===t.type?e.options.focusDelay:e.options.hoverOpenDelay)||e.options.openDelay)},l=function(t){null!==o?clearTimeout(o):s=setTimeout((function(){e.close(t),s=null}),("blur"===t.type?e.options.blurDelay:e.options.hoverCloseDelay)||e.options.closeDelay)};t.indexOf("hover")>=0&&(this._on(this.target,"mouseover",c),this._on(this.drop,"mouseover",c),this._on(this.target,"mouseout",l),this._on(this.drop,"mouseout",l)),t.indexOf("focus")>=0&&(this._on(this.target,"focus",c),this._on(this.drop,"focus",c),this._on(this.target,"blur",l),this._on(this.drop,"blur",l))}else setTimeout(this.open.bind(this))}},{key:"isOpened",value:function(){if(this.drop)return d(this.drop,s.classPrefix+"-open")}},{key:"toggle",value:function(e){this.isOpened()?this.close(e):this.open(e)}},{key:"open",value:function(e){var t=this;this.isOpened()||(this.drop.parentNode||document.body.appendChild(this.drop),"undefined"!==typeof this.tether&&this.tether.enable(),l(this.drop,s.classPrefix+"-open"),l(this.drop,s.classPrefix+"-open-transitionend"),setTimeout((function(){t.drop&&l(t.drop,s.classPrefix+"-after-open")})),"undefined"!==typeof this.tether&&this.tether.position(),this.trigger("open"),s.updateBodyClasses())}},{key:"_transitionEndHandler",value:function(e){e.target===e.currentTarget&&(d(this.drop,s.classPrefix+"-open")||u(this.drop,s.classPrefix+"-open-transitionend"),this.drop.removeEventListener(g,this.transitionEndHandler))}},{key:"beforeCloseHandler",value:function(e){var t=!0;return this.isClosing||"function"!==typeof this.options.beforeClose||(this.isClosing=!0,t=!1!==this.options.beforeClose(e,this)),this.isClosing=!1,t}},{key:"close",value:function(e){this.isOpened()&&this.beforeCloseHandler(e)&&(u(this.drop,s.classPrefix+"-open"),u(this.drop,s.classPrefix+"-after-open"),this.drop.addEventListener(g,this.transitionEndHandler),this.trigger("close"),"undefined"!==typeof this.tether&&this.tether.disable(),s.updateBodyClasses(),this.options.remove&&this.remove(e))}},{key:"remove",value:function(e){this.close(e),this.drop.parentNode&&this.drop.parentNode.removeChild(this.drop)}},{key:"position",value:function(){this.isOpened()&&"undefined"!==typeof this.tether&&this.tether.position()}},{key:"destroy",value:function(){this.remove(),"undefined"!==typeof this.tether&&this.tether.destroy();for(var e=0;e<this._boundEvents.length;++e){var t=this._boundEvents[e],n=t.element,r=t.event,i=t.handler;n.removeEventListener(r,i)}this._boundEvents=[],this.tether=null,this.drop=null,this.content=null,this.target=null,p(A[s.classPrefix],this),p(s.drops,this)}}]),n}(h);return s}var w=k();return document.addEventListener("DOMContentLoaded",(function(){w.updateBodyClasses()})),w}))},"5fbd":function(e,t,n){"use strict";var r=n("e1f3"),i=n("5706").HTML_OPEN_CLOSE_TAG_RE,a=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var i,o,s,c,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(c=e.src.slice(l,u),i=0;i<a.length;i++)if(a[i][0].test(c))break;if(i===a.length)return!1;if(r)return a[i][2];if(o=t+1,!a[i][1].test(c))for(;o<n;o++){if(e.sCount[o]<e.blkIndent)break;if(l=e.bMarks[o]+e.tShift[o],u=e.eMarks[o],c=e.src.slice(l,u),a[i][1].test(c)){0!==c.length&&o++;break}}return e.line=o,s=e.push("html_block","",0),s.map=[t,o],s.content=e.getLines(t,o,e.blkIndent,!0),!0}},"62e4":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},"6aea":function(e,t,n){var r=n("8ca0");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("35d6").default;e.exports.__inject__=function(e){i("effe31e0",r,e)}},"6dd8":function(e,t,n){"use strict";(function(e){var n=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),r="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,i=function(){return"undefined"!==typeof e&&e.Math===Math?e:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")()}(),a=function(){return"function"===typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)}}(),o=2;function s(e,t){var n=!1,r=!1,i=0;function s(){n&&(n=!1,e()),r&&l()}function c(){a(s)}function l(){var e=Date.now();if(n){if(e-i<o)return;r=!0}else n=!0,r=!1,setTimeout(c,t);i=e}return l}var c=20,l=["top","right","bottom","left","width","height","size","weight"],u="undefined"!==typeof MutationObserver,d=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=s(this.refresh.bind(this),c)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var e=this.updateObservers_();e&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t,r=l.some((function(e){return!!~n.indexOf(e)}));r&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),h=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},f=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||i},p=x(0,0,0,0);function m(e){return parseFloat(e)||0}function b(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){var r=e["border-"+n+"-width"];return t+m(r)}),0)}function g(e){for(var t=["top","right","bottom","left"],n={},r=0,i=t;r<i.length;r++){var a=i[r],o=e["padding-"+a];n[a]=m(o)}return n}function v(e){var t=e.getBBox();return x(0,0,t.width,t.height)}function _(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var r=f(e).getComputedStyle(e),i=g(r),a=i.left+i.right,o=i.top+i.bottom,s=m(r.width),c=m(r.height);if("border-box"===r.boxSizing&&(Math.round(s+a)!==t&&(s-=b(r,"left","right")+a),Math.round(c+o)!==n&&(c-=b(r,"top","bottom")+o)),!A(e)){var l=Math.round(s+a)-t,u=Math.round(c+o)-n;1!==Math.abs(l)&&(s-=l),1!==Math.abs(u)&&(c-=u)}return x(i.left,i.top,s,c)}var y=function(){return"undefined"!==typeof SVGGraphicsElement?function(e){return e instanceof f(e).SVGGraphicsElement}:function(e){return e instanceof f(e).SVGElement&&"function"===typeof e.getBBox}}();function A(e){return e===f(e).document.documentElement}function k(e){return r?y(e)?v(e):_(e):p}function w(e){var t=e.x,n=e.y,r=e.width,i=e.height,a="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,o=Object.create(a.prototype);return h(o,{x:t,y:n,width:r,height:i,top:n,right:t+r,bottom:i+n,left:t}),o}function x(e,t,n,r){return{x:e,y:t,width:n,height:r}}var M=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=x(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=k(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),C=function(){function e(e,t){var n=w(t);h(this,{target:e,contentRect:n})}return e}(),S=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!==typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new M(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new C(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),E="undefined"!==typeof WeakMap?new WeakMap:new n,D=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=d.getInstance(),r=new S(t,n,this);E.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach((function(e){D.prototype[e]=function(){var t;return(t=E.get(this))[e].apply(t,arguments)}}));var T=function(){return"undefined"!==typeof i.ResizeObserver?i.ResizeObserver:D}();t["a"]=T}).call(this,n("c8ba"))},"6e00":function(e,t,n){"use strict";for(var r=n("0068").isSpace,i=[],a=0;a<256;a++)i.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){i[e.charCodeAt(0)]=1})),e.exports=function(e,t){var n,a=e.pos,o=e.posMax;if(92!==e.src.charCodeAt(a))return!1;if(a++,a<o){if(n=e.src.charCodeAt(a),n<256&&0!==i[n])return t||(e.pending+=e.src[a]),e.pos+=2,!0;if(10===n){t||e.push("hardbreak","br",0),a++;while(a<o){if(n=e.src.charCodeAt(a),!r(n))break;a++}return e.pos=a,!0}}return t||(e.pending+="\\"),e.pos++,!0}},"6e98":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
var t={format:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),standalone:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_")},n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),r=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],i=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function a(e){return e>1&&e<5&&1!==~~(e/10)}function o(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"pár sekund":"pár sekundami";case"ss":return t||r?i+(a(e)?"sekundy":"sekund"):i+"sekundami";case"m":return t?"minuta":r?"minutu":"minutou";case"mm":return t||r?i+(a(e)?"minuty":"minut"):i+"minutami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?i+(a(e)?"hodiny":"hodin"):i+"hodinami";case"d":return t||r?"den":"dnem";case"dd":return t||r?i+(a(e)?"dny":"dní"):i+"dny";case"M":return t||r?"měsíc":"měsícem";case"MM":return t||r?i+(a(e)?"měsíce":"měsíců"):i+"měsíci";case"y":return t||r?"rok":"rokem";case"yy":return t||r?i+(a(e)?"roky":"let"):i+"lety"}}var s=e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s}))},"410c":function(e,t,n){var r={"./ar":"8e73","./ar.js":"8e73","./cs":"3c0d","./cs.js":"3c0d","./de":"b469","./de.js":"b469","./el":"8d47","./el.js":"8d47","./en-ie":"e1d3","./en-ie.js":"e1d3","./es":"898b","./es.js":"898b","./fr":"9f26","./fr.js":"9f26","./it":"6e98","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./pt-br":"d2d4","./pt-br.js":"d2d4","./zh-tw":"90ea","./zh-tw.js":"90ea"};function i(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=a,e.exports=i,i.id="410c"},4236:function(e,t,n){"use strict";var r=n("0068").isSpace;e.exports=function(e,t){var n,i,a,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;if(n=e.pending.length-1,i=e.posMax,!t)if(n>=0&&32===e.pending.charCodeAt(n))if(n>=1&&32===e.pending.charCodeAt(n-1)){a=n-1;while(a>=1&&32===e.pending.charCodeAt(a-1))a--;e.pending=e.pending.slice(0,a),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);o++;while(o<i&&r(e.src.charCodeAt(o)))o++;return e.pos=o,!0}},"428d":function(e,t,n){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},"43e0":function(e,t,n){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}},"44a8":function(e,t,n){"use strict";e.exports=function(e,t){var n,r,i,a,o,s,c=t+1,l=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(s=e.parentType,e.parentType="paragraph";c<u&&!e.isEmpty(c);c++)if(!(e.sCount[c]-e.blkIndent>3)&&!(e.sCount[c]<0)){for(r=!1,i=0,a=l.length;i<a;i++)if(l[i](e,c,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,c,e.blkIndent,!1).trim(),e.line=c,o=e.push("paragraph_open","p",1),o.map=[t,e.line],o=e.push("inline","",0),o.content=n,o.map=[t,e.line],o.children=[],o=e.push("paragraph_close","p",-1),e.parentType=s,!0}},"472d":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"dropdown",staticClass:"bunt-popover-inner",attrs:{role:"dialog",tabindex:"-1"},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.closeDropdown.apply(null,arguments)}}},[e._t("default")],2)},i=[],a=n("5c8f"),o=n.n(a);const s=o.a.createContext({classPrefix:"bunt-drop"});var c=s,l={name:"bunt-popover",props:{target:{type:String},dropdownPosition:{type:String,default:"bottom middle"},openOn:{type:String,default:"click"}},mounted(){if(this.target){const e=this.$parent.$refs[this.target];e.$el?this._target=e.$el:this._target=e,this.drop=new c({target:this._target,content:this.$refs.dropdown,position:this.dropdownPosition,constrainToWindow:!0,openOn:this.openOn}),"bottom left"!==this.dropdownPosition&&(this.drop.open(),this.drop.close(),this.drop.open(),this.drop.close())}},beforeDestroy(){this.drop&&(this.drop.remove(),this.drop.destroy())},methods:{openDropdown(){this.drop&&this.drop.open()},closeDropdown(){this.drop&&this.drop.close()},toggleDropdown(e){this.drop&&this.drop.toggle(e)},positionDrop(){const e=this.drop,t=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;let n=e.drop.getBoundingClientRect().width,r=e.target.getBoundingClientRect().left,i=t-r;if(n>i){let t=n>i?"right":"left";e.tether.attachment.left=t,e.tether.targetAttachment.left=t,e.position()}},dropdownOpened(){this.lastFocussedElement=document.activeElement,this.$refs.dropdown.focus(),this.$emit("opened")},dropdownClosed(){this.lastFocussedElement&&this.lastFocussedElement.focus(),this.$emit("closed")}}},u=l,d=n("2877"),h=Object(d["a"])(u,r,i,!1,null,null,null,!0);t["default"]=h.exports},4883:function(e,t,n){"use strict";function r(){this.__rules__=[],this.__cache__=null}r.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},r.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},r.prototype.at=function(e,t,n){var r=this.__find__(e),i=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null},r.prototype.before=function(e,t,n,r){var i=this.__find__(e),a=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},r.prototype.after=function(e,t,n,r){var i=this.__find__(e),a=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},r.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},r.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},r.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},r.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},r.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=r},"4a23":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,'.c-grid-schedule{flex:auto;background-color:#fafafa}.c-grid-schedule .grid{display:grid;grid-template-columns:78px repeat(var(--total-rooms),1fr) auto;position:relative;min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content}.c-grid-schedule .grid>.room{position:sticky;top:calc(var(--pretalx-sticky-date-offset) + var(--pretalx-sticky-top-offset, 0px));display:flex;justify-content:center;align-items:center;font-size:18px;background-color:#fff;border-bottom:1px solid rgba(0,0,0,.12);z-index:20}.c-grid-schedule .grid>.room .room-description{border:2px solid #bdbdbd;border-radius:100%;height:20px;width:20px;padding:0;font-weight:700;min-width:0;color:#9e9e9e;background-color:#fff;margin-left:8px}.c-grid-schedule .grid>.room .room-description:hover{background-color:#d9d9d9}.c-grid-schedule .grid>.room .room-description.autofocus:focus,body[modality=keyboard] .c-grid-schedule .grid>.room .room-description:focus{background-color:#d9d9d9;outline-color:#bfbfbf;outline-width:2px;outline-offset:2px}.c-grid-schedule .grid>.room .room-description .bunt-ripple-ink .ripple.held{opacity:.7}.c-grid-schedule .grid>.room .room-description.error{background-color:#f44336}.c-grid-schedule .grid>.room .room-description.error:hover{background-color:#f01d0d}.c-grid-schedule .grid>.room .room-description.error.autofocus:focus,body[modality=keyboard] .c-grid-schedule .grid>.room .room-description.error:focus{background-color:#f01d0d;outline-color:#d4190c}.c-grid-schedule .grid>.room .room-description.success{background-color:#4caf50}.c-grid-schedule .grid>.room .room-description.success:hover{background-color:#419544}.c-grid-schedule .grid>.room .room-description.success.autofocus:focus,body[modality=keyboard] .c-grid-schedule .grid>.room .room-description.success:focus{background-color:#419544;outline-color:#39833c}.c-grid-schedule .grid>.room .room-description .bunt-progress-circular svg circle{stroke:#9e9e9e}.c-grid-schedule .grid>.room .room-description .bunt-tooltip{height:auto;width:200px;white-space:normal}.c-grid-schedule .grid .break .time-box{background-color:#9e9e9e}.c-grid-schedule .grid .break .time-box .start{color:#fff}.c-grid-schedule .grid .break .time-box .duration{color:hsla(0,0%,100%,.7)}.c-grid-schedule .grid .break .info{background-color:#eee;border:none;justify-content:center;align-items:center}.c-grid-schedule .grid .break .info .title{font-size:20px;font-weight:500;color:rgba(0,0,0,.54);align:center}.c-grid-schedule .timeslice{color:rgba(0,0,0,.54);padding:8px 10px 0 16px;white-space:nowrap;position:sticky;left:0;text-align:center;background-color:#fafafa;border-top:1px solid rgba(0,0,0,.12);z-index:20}.c-grid-schedule .timeslice.datebreak{font-weight:600;border-top:3px solid rgba(0,0,0,.12);white-space:pre}.c-grid-schedule .timeslice.gap:before{content:"";display:block;width:6px;height:calc(100% - 42px);position:absolute;top:30px;left:50%;background-image:radial-gradient(circle closest-side,#9e9e9e calc(100% - .5px),transparent 100%);background-position:0 0;background-size:5px 15px;background-repeat:repeat-y}.c-grid-schedule .timeline{height:1px;background-color:rgba(0,0,0,.12);position:absolute;width:100%}.c-grid-schedule .timeline.datebreak{height:3px}.c-grid-schedule .now{z-index:20;position:sticky;left:2px}.c-grid-schedule .now:before{content:"";display:block;height:2px;background-color:#f44336;position:absolute;top:calc(var(--offset)*100%);width:100%}.c-grid-schedule .now.on-daybreak:before{background:repeating-linear-gradient(90deg,transparent,transparent 5px,#f44336 0,#f44336 10px)}.c-grid-schedule .now svg{position:absolute;top:calc(var(--offset)*100% - 11px);height:24px;width:24px;fill:#f44336}.c-grid-schedule .bunt-scrollbar-rail-wrapper-x,.c-grid-schedule .bunt-scrollbar-rail-wrapper-y{z-index:30}',""]),e.exports=t},"4a94":function(e,t,n){"use strict";e.exports=function(e,t){var n,r,i,a,o,s,c,l,u=e.pos,d=e.src.charCodeAt(u);if(96!==d)return!1;n=u,u++,r=e.posMax;while(u<r&&96===e.src.charCodeAt(u))u++;if(i=e.src.slice(n,u),c=i.length,e.backticksScanned&&(e.backticks[c]||0)<=n)return t||(e.pending+=i),e.pos+=c,!0;o=s=u;while(-1!==(o=e.src.indexOf("`",s))){s=o+1;while(s<r&&96===e.src.charCodeAt(s))s++;if(l=s-o,l===c)return t||(a=e.push("code_inline","code",0),a.markup=i,a.content=e.src.slice(u,o).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=s,!0;e.backticks[l]=o}return e.backticksScanned=!0,t||(e.pending+=i),e.pos+=c,!0}},"4b3e":function(e,t,n){"use strict";var r=n("0068").isSpace;function i(e,t){var n,i,a,o;return i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],n=e.src.charCodeAt(i++),42!==n&&45!==n&&43!==n||i<a&&(o=e.src.charCodeAt(i),!r(o))?-1:i}function a(e,t){var n,i=e.bMarks[t]+e.tShift[t],a=i,o=e.eMarks[t];if(a+1>=o)return-1;if(n=e.src.charCodeAt(a++),n<48||n>57)return-1;for(;;){if(a>=o)return-1;if(n=e.src.charCodeAt(a++),!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(a-i>=10)return-1}return a<o&&(n=e.src.charCodeAt(a),!r(n))?-1:a}function o(e,t){var n,r,i=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===i&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}e.exports=function(e,t,n,r){var s,c,l,u,d,h,f,p,m,b,g,v,_,y,A,k,w,x,M,C,S,E,D,T,O,L,P,z,Y=!1,N=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]<e.blkIndent)return!1;if(r&&"paragraph"===e.parentType&&e.sCount[t]>=e.blkIndent&&(Y=!0),(D=a(e,t))>=0){if(f=!0,O=e.bMarks[t]+e.tShift[t],_=Number(e.src.slice(O,D-1)),Y&&1!==_)return!1}else{if(!((D=i(e,t))>=0))return!1;f=!1}if(Y&&e.skipSpaces(D)>=e.eMarks[t])return!1;if(v=e.src.charCodeAt(D-1),r)return!0;g=e.tokens.length,f?(z=e.push("ordered_list_open","ol",1),1!==_&&(z.attrs=[["start",_]])):z=e.push("bullet_list_open","ul",1),z.map=b=[t,0],z.markup=String.fromCharCode(v),A=t,T=!1,P=e.md.block.ruler.getRules("list"),x=e.parentType,e.parentType="list";while(A<n){E=D,y=e.eMarks[A],h=k=e.sCount[A]+D-(e.bMarks[t]+e.tShift[t]);while(E<y){if(s=e.src.charCodeAt(E),9===s)k+=4-(k+e.bsCount[A])%4;else{if(32!==s)break;k++}E++}if(c=E,d=c>=y?1:k-h,d>4&&(d=1),u=h+d,z=e.push("list_item_open","li",1),z.markup=String.fromCharCode(v),z.map=p=[t,0],f&&(z.info=e.src.slice(O,D-1)),S=e.tight,C=e.tShift[t],M=e.sCount[t],w=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=u,e.tight=!0,e.tShift[t]=c-e.bMarks[t],e.sCount[t]=k,c>=y&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!T||(N=!1),T=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=w,e.tShift[t]=C,e.sCount[t]=M,e.tight=S,z=e.push("list_item_close","li",-1),z.markup=String.fromCharCode(v),A=t=e.line,p[1]=A,c=e.bMarks[t],A>=n)break;if(e.sCount[A]<e.blkIndent)break;if(e.sCount[t]-e.blkIndent>=4)break;for(L=!1,l=0,m=P.length;l<m;l++)if(P[l](e,A,n,!0)){L=!0;break}if(L)break;if(f){if(D=a(e,A),D<0)break;O=e.bMarks[A]+e.tShift[A]}else if(D=i(e,A),D<0)break;if(v!==e.src.charCodeAt(D-1))break}return z=f?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1),z.markup=String.fromCharCode(v),b[1]=A,e.line=A,e.parentType=x,N&&o(e,g),!0}},"4c26":function(e,t,n){"use strict";var r=/\r\n?|\n/g,i=/\0/g;e.exports=function(e){var t;t=e.src.replace(r,"\n"),t=t.replace(i,"�"),e.src=t}},"4cb4":function(e,t,n){"use strict";var r=n("4883"),i=[["text",n("baca")],["newline",n("4236")],["escape",n("6e00")],["backticks",n("4a94")],["strikethrough",n("922c").tokenize],["emphasis",n("c8a9").tokenize],["link",n("cd0f")],["image",n("932d")],["autolink",n("28ec")],["html_inline",n("c2d8")],["entity",n("5b54")]],a=[["balance_pairs",n("838d")],["strikethrough",n("922c").postProcess],["emphasis",n("c8a9").postProcess],["text_collapse",n("2085")]];function o(){var e;for(this.ruler=new r,e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1]);for(this.ruler2=new r,e=0;e<a.length;e++)this.ruler2.push(a[e][0],a[e][1])}o.prototype.skipToken=function(e){var t,n,r=e.pos,i=this.ruler.getRules(""),a=i.length,o=e.md.options.maxNesting,s=e.cache;if("undefined"===typeof s[r]){if(e.level<o){for(n=0;n<a;n++)if(e.level++,t=i[n](e,!0),e.level--,t)break}else e.pos=e.posMax;t||e.pos++,s[r]=e.pos}else e.pos=s[r]},o.prototype.tokenize=function(e){var t,n,r=this.ruler.getRules(""),i=r.length,a=e.posMax,o=e.md.options.maxNesting;while(e.pos<a){if(e.level<o)for(n=0;n<i;n++)if(t=r[n](e,!1),t)break;if(t){if(e.pos>=a)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},o.prototype.parse=function(e,t,n,r){var i,a,o,s=new this.State(e,t,n,r);for(this.tokenize(s),a=this.ruler2.getRules(""),o=a.length,i=0;i<o;i++)a[i](s)},o.prototype.State=n("097b"),e.exports=o},"4fc2":function(e,t){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},"565b":function(e,t,n){"use strict";t.parseLinkLabel=n("df56"),t.parseLinkDestination=n("e4ca"),t.parseLinkTitle=n("7d91")},5706:function(e,t,n){"use strict";var r="[a-zA-Z_:][a-zA-Z0-9:._-]*",i="[^\"'=<>`\\x00-\\x20]+",a="'[^']*'",o='"[^"]*"',s="(?:"+i+"|"+a+"|"+o+")",c="(?:\\s+"+r+"(?:\\s*=\\s*"+s+")?)",l="<[A-Za-z][A-Za-z0-9\\-]*"+c+"*\\s*\\/?>",u="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",d="\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e",h="<[?][\\s\\S]*?[?]>",f="<![A-Z]+\\s+[^>]*>",p="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",m=new RegExp("^(?:"+l+"|"+u+"|"+d+"|"+h+"|"+f+"|"+p+")"),b=new RegExp("^(?:"+l+"|"+u+")");e.exports.HTML_TAG_RE=m,e.exports.HTML_OPEN_CLOSE_TAG_RE=b},"5a74":function(e,t,n){"use strict";if(n.r(t),"undefined"!==typeof window){var r=window.document.currentScript;if(Object({NODE_ENV:"production",BASE_URL:"/"}).NEED_CURRENTSCRIPT_POLYFILL){var i=n("8875");r=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i})}var a=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);a&&(n.p=a[1])}var o=n("2b0e");const s=/-(\w)/g,c=e=>e.replace(s,(e,t)=>t?t.toUpperCase():""),l=/\B([A-Z])/g,u=e=>e.replace(l,"-$1").toLowerCase();function d(e){const t={};return e.forEach(e=>{t[e]=void 0}),t}function h(e,t,n){e[t]=[].concat(e[t]||[]),e[t].unshift(n)}function f(e,t){if(e){const n=e.$options[t]||[];n.forEach(t=>{t.call(e)})}}function p(e,t){return new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:t})}const m=e=>/function Boolean/.test(String(e)),b=e=>/function Number/.test(String(e));function g(e,t,{type:n}={}){if(m(n))return"true"===e||"false"===e?"true"===e:""===e||e===t||null!=e||e;if(b(n)){const t=parseFloat(e,10);return isNaN(t)?e:t}return e}function v(e,t){const n=[];for(let r=0,i=t.length;r<i;r++)n.push(_(e,t[r]));return n}function _(e,t){if(3===t.nodeType)return t.data.trim()?t.data:null;if(1===t.nodeType){const n={attrs:y(t),domProps:{innerHTML:t.innerHTML}};return n.attrs.slot&&(n.slot=n.attrs.slot,delete n.attrs.slot),e(t.tagName,n)}return null}function y(e){const t={};for(let n=0,r=e.attributes.length;n<r;n++){const r=e.attributes[n];t[r.nodeName]=r.nodeValue}return t}function A(e,t){const n="function"===typeof t&&!t.cid;let r,i,a,o=!1;function s(e){if(o)return;const t="function"===typeof e?e.options:e,n=Array.isArray(t.props)?t.props:Object.keys(t.props||{});r=n.map(u),i=n.map(c);const s=Array.isArray(t.props)?{}:t.props||{};a=i.reduce((e,t,r)=>(e[t]=s[n[r]],e),{}),h(t,"beforeCreate",(function(){const e=this.$emit;this.$emit=(t,...n)=>(this.$root.$options.customElement.dispatchEvent(p(t,n)),e.call(this,t,...n))})),h(t,"created",(function(){i.forEach(e=>{this.$root.props[e]=this[e]})})),i.forEach(e=>{Object.defineProperty(m.prototype,e,{get(){return this._wrapper.props[e]},set(t){this._wrapper.props[e]=t},enumerable:!1,configurable:!0})}),o=!0}function l(e,t){const n=c(t),r=e.hasAttribute(t)?e.getAttribute(t):void 0;e._wrapper.props[n]=g(r,t,a[n])}class m extends HTMLElement{constructor(){const n=super();n.attachShadow({mode:"open"});const r=n._wrapper=new e({name:"shadow-root",customElement:n,shadowRoot:n.shadowRoot,data(){return{props:{},slotChildren:[]}},render(e){return e(t,{ref:"inner",props:this.props},this.slotChildren)}}),i=new MutationObserver(e=>{let t=!1;for(let r=0;r<e.length;r++){const i=e[r];o&&"attributes"===i.type&&i.target===n?l(n,i.attributeName):t=!0}t&&(r.slotChildren=Object.freeze(v(r.$createElement,n.childNodes)))});i.observe(n,{childList:!0,subtree:!0,characterData:!0,attributes:!0})}get vueComponent(){return this._wrapper.$refs.inner}connectedCallback(){const e=this._wrapper;if(e._isMounted)f(this.vueComponent,"activated");else{const n=()=>{e.props=d(i),r.forEach(e=>{l(this,e)})};o?n():t().then(e=>{(e.__esModule||"Module"===e[Symbol.toStringTag])&&(e=e.default),s(e),n()}),e.slotChildren=Object.freeze(v(e.$createElement,this.childNodes)),e.$mount(),this.shadowRoot.appendChild(e.$el)}}disconnectedCallback(){f(this.vueComponent,"deactivated")}}return n||s(t),m}var k=A,w=(n("24fb"),n("35d6"),n("2877")),x=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"pretalx-schedule",class:e.showGrid?["grid-schedule"]:["list-schedule"],style:{"--scrollparent-width":e.scrollParentWidth+"px","--schedule-max-width":e.scheduleMaxWidth+"px","--pretalx-sticky-date-offset":e.days&&e.days.length>1?"48px":"0px"}},[e.scheduleError?[e._m(0)]:e.schedule&&e.sessions?[e.showFilterModal?n("div",{staticClass:"modal-overlay",on:{click:function(t){t.stopPropagation(),e.showFilterModal=!1}}},[n("div",{staticClass:"modal-box",on:{click:function(e){e.stopPropagation()}}},[n("h3",[e._v("Tracks")]),e._l(e.allTracks,(function(t){return n("div",{key:t.value,staticClass:"checkbox-line",style:{"--track-color":t.color}},[n("bunt-checkbox",{attrs:{type:"checkbox",label:t.label,name:t.value+t.label,value:t.value},on:{input:function(t){e.onlyFavs=!1}},model:{value:t.selected,callback:function(n){e.$set(t,"selected",n)},expression:"track.selected"}}),e.getLocalizedString(t.description).length?n("div",{staticClass:"track-description"},[e._v(e._s(e.getLocalizedString(t.description)))]):e._e()],1)}))],2)]):e._e(),n("div",{staticClass:"settings"},[this.schedule.tracks.length?n("bunt-button",{staticClass:"filter-tracks",on:{click:function(t){e.showFilterModal=!0}}},[n("svg",{attrs:{id:"filter",viewBox:"0 0 752 752"}},[n("path",{attrs:{d:"m401.57 264.71h-174.75c-6.6289 0-11.84 5.2109-11.84 11.84 0 6.6289 5.2109 11.84 11.84 11.84h174.75c5.2109 17.523 21.312 30.309 40.727 30.309 18.941 0 35.52-12.785 40.254-30.309h43.098c6.6289 0 11.84-5.2109 11.84-11.84 0-6.6289-5.2109-11.84-11.84-11.84h-43.098c-5.2109-17.523-21.312-30.309-40.254-30.309-19.414 0-35.516 12.785-40.727 30.309zm58.723 11.84c0 10.418-8.5234 18.469-18.469 18.469s-18.469-8.0508-18.469-18.469 8.5234-18.469 18.469-18.469c9.4727-0.003906 18.469 8.0469 18.469 18.469z"}}),n("path",{attrs:{d:"m259.5 359.43h-32.676c-6.6289 0-11.84 5.2109-11.84 11.84s5.2109 11.84 11.84 11.84h32.676c5.2109 17.523 21.312 30.309 40.727 30.309 18.941 0 35.52-12.785 40.254-30.309h185.17c6.6289 0 11.84-5.2109 11.84-11.84s-5.2109-11.84-11.84-11.84h-185.17c-5.2109-17.523-21.312-30.309-40.254-30.309-19.418 0-35.52 12.785-40.73 30.309zm58.723 11.84c0 10.418-8.5234 18.469-18.469 18.469-9.9453 0-18.469-8.0508-18.469-18.469s8.5234-18.469 18.469-18.469c9.9453 0 18.469 8.0508 18.469 18.469z"}}),n("path",{attrs:{d:"m344.75 463.61h-117.92c-6.6289 0-11.84 5.2109-11.84 11.84s5.2109 11.84 11.84 11.84h117.92c5.2109 17.523 21.312 30.309 40.727 30.309 18.941 0 35.52-12.785 40.254-30.309h99.926c6.6289 0 11.84-5.2109 11.84-11.84s-5.2109-11.84-11.84-11.84h-99.926c-5.2109-17.523-21.312-30.309-40.254-30.309-19.418 0-35.52 12.785-40.727 30.309zm58.723 11.84c0 10.418-8.5234 18.469-18.469 18.469s-18.469-8.0508-18.469-18.469 8.5234-18.469 18.469-18.469 18.469 8.0508 18.469 18.469z"}})]),[e._v("Filter")],e.filteredTracks.length?[e._v("("+e._s(e.filteredTracks.length)+")")]:e._e()],2):e._e(),e.favs.length?n("bunt-button",{staticClass:"fav-toggle",class:e.onlyFavs?["active"]:[],on:{click:function(t){e.onlyFavs=!e.onlyFavs,e.onlyFavs&&e.resetFilteredTracks()}}},[n("svg",{attrs:{id:"star",viewBox:"0 0 24 24"}},[n("polygon",{style:{fill:"#FFA000",stroke:"#FFA000"},attrs:{points:"14.43,10 12,2 9.57,10 2,10 8.18,14.41 5.83,22 12,17.31 18.18,22 15.83,14.41 22,10"}})]),[e._v(e._s(e.favs.length))]],2):e._e(),e.inEventTimezone?[n("div",{staticClass:"timezone-label bunt-tab-header-item"},[e._v(e._s(e.schedule.timezone))])]:[n("bunt-select",{attrs:{name:"timezone",options:[{id:e.schedule.timezone,label:e.schedule.timezone},{id:e.userTimezone,label:e.userTimezone}]},on:{blur:e.saveTimezone},model:{value:e.currentTimezone,callback:function(t){e.currentTimezone=t},expression:"currentTimezone"}})]],2),e.days&&e.days.length>1?n("bunt-tabs",{ref:"tabs",staticClass:"days",class:e.showGrid?["grid-tabs"]:["list-tabs"],attrs:{"active-tab":e.currentDay&&e.currentDay.format()}},e._l(e.days,(function(t){return n("bunt-tab",{attrs:{id:t.format(),header:t.format(e.dateFormat)},on:{selected:function(n){return e.changeDay(t)}}})})),1):e._e(),e.showGrid?n("grid-schedule",{attrs:{sessions:e.sessions,rooms:e.rooms,currentDay:e.currentDay,now:e.now,scrollParent:e.scrollParent,favs:e.favs},on:{changeDay:function(t){e.currentDay=t},fav:function(t){return e.fav(t)},unfav:function(t){return e.unfav(t)}}}):n("linear-schedule",{attrs:{sessions:e.sessions,currentDay:e.currentDay,now:e.now,scrollParent:e.scrollParent,favs:e.favs},on:{changeDay:function(t){e.currentDay=t},fav:function(t){return e.fav(t)},unfav:function(t){return e.unfav(t)}}})]:n("bunt-progress-circular",{attrs:{size:"huge",page:!0}})],2)},M=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"schedule-error"},[n("div",{staticClass:"error-message"},[e._v("An error occurred while loading the schedule. Please try again later.")])])}],C=n("6dd8");class S{constructor(e,t){if(this.options=t,this.onScroll=this.onScroll.bind(this),this.onDocumentMousemove=this.onDocumentMousemove.bind(this),this.onDocumentMouseup=this.onDocumentMouseup.bind(this),this.onThumbMousedownX=this.onThumbMousedown.bind(this,"x"),this.onThumbMousedownY=this.onThumbMousedown.bind(this,"y"),this.onResize=this.onResize.bind(this),this.el=e,this.railsParent=t.railsParent||this.el,this.refreshStyling(),t.scrollX&&this.createRail("x"),t.scrollY&&this.createRail("y"),t.manualCompute||(this.computeDimensions(),this.computeThumbPositions(),this.update()),this.el.addEventListener("scroll",this.onScroll),!t.manualUpdate){this.resizeObserver=new C["a"](this.onResize),this.resizeObserver.observe(this.el);for(const e of this.el.children)this.resizeObserver.observe(e);this.mutationObserver=new MutationObserver(e=>{for(const t of e){for(const e of t.addedNodes)e.nodeType===Node.ELEMENT_NODE&&this.resizeObserver.observe(e);for(const e of t.removedNodes)e.nodeType===Node.ELEMENT_NODE&&this.resizeObserver.unobserve(e)}this.onResize()}),this.mutationObserver.observe(this.el,{childList:!0})}}createRail(e){const t=document.createElement("div");t.classList.add("bunt-scrollbar-rail-wrapper-"+e);const n=document.createElement("div");n.classList.add("bunt-scrollbar-rail-"+e);const r=document.createElement("div");r.classList.add("bunt-scrollbar-thumb"),t.appendChild(n),n.appendChild(r),this.railsParent.appendChild(t),r.addEventListener("mousedown",this["onThumbMousedown"+e.toUpperCase()]),this[e]={railEl:n,thumbEl:r}}destroy(){var e,t,n,r;null===(e=this.resizeObserver)||void 0===e||e.disconnect(),null===(t=this.mutationObserver)||void 0===t||t.disconnect(),document.removeEventListener("mousemove",this.onDocumentMousemove),document.removeEventListener("mouseup",this.onDocumentMouseup,{capture:!0}),this.el.removeEventListener("scroll",this.onScroll),null===(n=this.x)||void 0===n||n.thumbEl.removeEventListener("mousedown",this.onThumbMousedownX),null===(r=this.y)||void 0===r||r.thumbEl.removeEventListener("mousedown",this.onThumbMousedownY)}refreshStyling(){this.el.classList.add("bunt-scrollbar")}update(){this.updateThumb("x"),this.updateThumb("y")}onScroll(e){this.options.onScroll&&this.options.onScroll(e),this.computeThumbPositions(),this.update()}onThumbMousedown(e,t){t.stopPropagation(),this.options._preventMousedown&&t.preventDefault(),this.dragging=e,this.draggingOffset=t["offset"+e.toUpperCase()],this.el.style.userSelect="none",document.body.style["-moz-user-select"]="none",this[e].railEl.classList.add("active"),document.addEventListener("mousemove",this.onDocumentMousemove),document.addEventListener("mouseup",this.onDocumentMouseup,{capture:!0})}onDocumentMousemove(e){if("x"===this.dragging){const t=this.el.clientWidth-this.x.thumbLength,n=e.clientX-this.el.getBoundingClientRect().left-this.draggingOffset;this.x.thumbPosition=Math.min(Math.max(0,n),t),this.el.scrollLeft=this.x.thumbPosition/t*(this.el.scrollWidth-this.el.clientWidth)}if("y"===this.dragging){const t=this.el.clientHeight-this.y.thumbLength,n=e.clientY-this.el.getBoundingClientRect().top-this.draggingOffset;this.y.thumbPosition=Math.min(Math.max(0,n),t),this.el.scrollTop=this.y.thumbPosition/t*(this.el.scrollHeight-this.el.clientHeight)}this.updateThumb(this.dragging)}onDocumentMouseup(e){this[this.dragging].railEl.classList.remove("active"),this.dragging=null,this.el.style.userSelect="",document.body.style["-moz-user-select"]="",document.removeEventListener("mousemove",this.onDocumentMousemove),document.removeEventListener("mouseup",this.onDocumentMouseup,{capture:!0})}onResize(e){this.computeDimensions(),this.computeThumbPositions(),this.update()}computeDimensions(){this.x&&(this.x.railLength=this.el.clientWidth,this.x.visibleRatio=this.el.clientWidth/this.el.scrollWidth,this.x.thumbLength=this.el.clientWidth*this.x.visibleRatio),this.y&&(this.y.railLength=this.el.clientHeight,this.y.visibleRatio=this.el.clientHeight/this.el.scrollHeight,this.y.thumbLength=this.el.clientHeight*this.y.visibleRatio)}computeThumbPositions(){this.x&&(this.x.thumbPosition=this.el.scrollLeft/(this.el.scrollWidth-this.el.clientWidth)*(this.el.clientWidth-this.x.thumbLength)),this.y&&(this.y.thumbPosition=this.el.scrollTop/(this.el.scrollHeight-this.el.clientHeight)*(this.el.clientHeight-this.y.thumbLength))}updateThumb(e){const t=this[e];t&&(t.visibleRatio>=1?t.thumbEl.style.display="none":(t.thumbEl.style.display=null,"x"===e?(t.railEl.style.width=t.railLength+"px",t.thumbEl.style.width=t.thumbLength+"px",t.thumbEl.style.left=t.thumbPosition+"px"):"y"===e&&(t.railEl.style.height=t.railLength+"px",t.thumbEl.style.height=t.thumbLength+"px",t.thumbEl.style.top=t.thumbPosition+"px")))}}var E=function(e){e.directive("scrollbar",{bind(e,t,n){var r;e.__buntpapier__scrollbar=new S(e,{scrollX:t.modifiers.x,scrollY:t.modifiers.y,_preventMousedown:null===(r=t.value)||void 0===r?void 0:r._preventMousedown})},inserted(e){e.__buntpapier__scrollbar&&(e.__buntpapier__scrollbar.refreshStyling(),e.__buntpapier__scrollbar.update())},componentUpdated(e,t,n,r){e.__buntpapier__scrollbar?(e.__buntpapier__scrollbar.refreshStyling(),e.__buntpapier__scrollbar.update()):e.__buntpapier__scrollbar=new S(e,{scrollX:t.modifiers.x,scrollY:t.modifiers.y})},unbind(e,t,n,r){e.__buntpapier__scrollbar&&e.__buntpapier__scrollbar.destroy()}})},D=n("f0bd");const T=32;var O=function(e){class t{constructor(e,t){this.el=e,this.options=t,this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.options.placement=t.placement||"auto",this.el.addEventListener("mouseenter",this.show),this.el.addEventListener("mouseleave",this.hide)}createTooltip(){this.tooltipEl||(this.tooltipEl=document.createElement("div"),this.tooltipEl.classList.add("bunt-tooltip"),this.tooltipEl.style.position=this.options.fixed?"fixed":"absolute",this.tooltipEl.textContent=this.text,this.el.appendChild(this.tooltipEl),this.popper=new D["a"](this.el,this.tooltipEl,{removeOnDestroy:!0,placement:this.options.placement,positionFixed:this.options.fixed,modifiers:{offset:{offset:"0, 8"},applyStyle:{enabled:!1},preventOverflow:{boundariesElement:this.options.boundariesElement||"scrollParent"},applyTooltipStyle:{enabled:!0,fn:e=>{this.positions=e.popper,this.tooltipEl.style.transform=`translate3d(${Math.round(this.positions.left)}px, ${Math.round(this.positions.top)}px, 0)`},order:900}}}))}update(t,n){this.text=t,this.forceDisplay=n,e.nextTick(()=>{n?this.show():this.hide()})}destroyTooltip(){this.popper&&(this.popper.destroy(),this.popper=null,this.tooltipEl=null)}destroy(){this.destroyTooltip(),this.el.removeEventListener("mouseenter",this.show),this.el.removeEventListener("mouseleave",this.hide)}show(){!this.displaying&&this.text&&(this.createTooltip(),this.displaying=!0,e.nextTick(()=>{if(this.animation)this.animation.reverse();else{let e;e=this.options.placement.startsWith("top")?{top:Math.round(this.positions.top)+T,left:Math.round(this.positions.left)}:this.options.placement.startsWith("left")?{top:Math.round(this.positions.top),left:Math.round(this.positions.left)+T}:this.options.placement.startsWith("right")?{top:Math.round(this.positions.top),left:Math.round(this.positions.left)-T}:{top:Math.round(this.positions.top)-T,left:Math.round(this.positions.left)},this.animation=this.tooltipEl.animate([{transform:`translate3d(${e.left}px, ${e.top}px, 0)`,opacity:0},{transform:`translate3d(${Math.round(this.positions.left)}px, ${Math.round(this.positions.top)}px, 0)`,opacity:1}],{duration:200,easing:"ease-in-out"}),this.animation.onfinish=()=>{this.animation&&this.animation.playbackRate<0&&(this.destroyTooltip(),this.animation=null)}}}))}hide(){this.displaying&&!this.forceDisplay&&(this.displaying=!1,this.animation&&this.animation.reverse(),this.text||this.destroyTooltip())}}e.directive("tooltip",{bind(e,n,r){let i;i="string"===typeof n.value?n.value:n.value.text,e.__buntpapier__tooltip=new t(e,{placement:n.value.placement||Object.keys(n.modifiers).find(e=>["auto","top","right","bottom","left"].find(t=>e.startsWith(t))),fixed:n.value.fixed||n.modifiers.fixed,boundariesElement:n.value.boundariesElement}),e.__buntpapier__tooltip.update(i,n.value.show)},update(e,t,n,r){if(!e.__buntpapier__tooltip||t.value===t.oldValue)return;let i;i="string"===typeof t.value?t.value:t.value.text,e.__buntpapier__tooltip.update(i,t.value.show)},unbind(e,t,n,r){e.__buntpapier__tooltip&&e.__buntpapier__tooltip.destroy()}})},L=function(e){e.directive("resizeObserver",{bind(e,t){const n=new C["a"](t.value);n.observe(e),e.__buntpapier__resize_observer=n},unbind(e,t,n,r){e.__buntpapier__resize_observer&&e.__buntpapier__resize_observer.disconnect()}}),E(e),O(e)},P=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.tooltipOptions||{text:e._tooltip,show:!!this.errorMessage,placement:e.tooltipPlacement,fixed:e.tooltipFixed},expression:"tooltipOptions || {text: _tooltip, show: !!this.errorMessage, placement: tooltipPlacement, fixed: tooltipFixed}"}],ref:"button",staticClass:"bunt-button",class:{disabled:e.disabled||e.loading||e.showSuccess,error:e.errorMessage||e.error,success:e.showSuccess},attrs:{type:e.type,"aria-disabled":e.disabled},on:{click:e.onClick}},[n("div",{staticClass:"bunt-button-content",class:{invisible:e.loading||e.errorMessage||e.error||e.showSuccess}},[e.icon?n("i",{staticClass:"bunt-icon mdi",class:[e.iconClass]}):e._e(),n("div",{staticClass:"bunt-button-text"},[e._t("default",(function(){return[n("span",{domProps:{textContent:e._s(e.text)}})]}))],2)]),n("progress-circular",{directives:[{name:"show",rawName:"v-show",value:e.loading,expression:"loading"}],attrs:{size:"small"}}),e.errorMessage||e.error?n("i",{staticClass:"bunt-icon mdi mdi-replay error"}):e._e(),e.showSuccess?n("i",{staticClass:"bunt-icon mdi mdi-check success"}):e._e(),e.noInk||e.disabled?e._e():n("ripple-ink")],1)},z=[],Y=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-ripple-ink",on:{mousedown:function(t){return e.mousedown(t)},touchstart:function(t){return e.touchstart(t)}}},[n("transition",{attrs:{name:"ripple-ink"}},[e.show?n("div",{staticClass:"ripple",style:e.style}):e._e()])],1)},N=[],j={name:"bunt-ripple-ink",data(){return{show:!1,style:null}},methods:{mousedown(e){0===e.button&&this.ripple(e.type,e)},touchstart(e){if(e.changedTouches)for(let t=0;t<e.changedTouches.length;++t)this.ripple(e.type,e.changedTouches[t])},ripple(e,t){const n=this.$el,r=n.getAttribute("data-ui-event");if(r&&r!==e)return;n.setAttribute("data-ui-event",e);let i,a=n.getBoundingClientRect(),o=t.offsetX;void 0!==o?i=t.offsetY:(o=t.clientX-a.left,i=t.clientY-a.top);let s=a.width===a.height?1.412*a.width:Math.sqrt(a.width*a.width+a.height*a.height),c=2*s+"px";this.style={width:c,height:c,marginLeft:-s+o+"px",marginTop:-s+i+"px"},this.show=!0;const l=["mouseleave","mouseup","touchend"],u=()=>{l.forEach(e=>{n.removeEventListener(e,u)}),setTimeout(()=>{this.show=!1,this.style=null,n.removeAttribute("data-ui-event")},200)};l.forEach(e=>{n.addEventListener(e,u)})}}},F=j,R=Object(w["a"])(F,Y,N,!1,null,null,null,!0),B=R.exports,$={props:{noInk:{type:Boolean,default:!1}},components:{RippleInk:B}},I=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-progress-circular active",class:[e.size,{"progress-center":e.center,"progress-page":e.page}]},[n("svg",{attrs:{viewBox:"25 25 50 50"}},[n("circle",{attrs:{cx:"50",cy:"50",r:"20"}})])])},q=[],H={props:{center:{type:Boolean,default:!1},page:{type:Boolean,default:!1},size:{type:String,default:"normal"}},data(){return{}},ready(){},beforeDestroy(){},methods:{}},W=H,U=Object(w["a"])(W,I,q,!1,null,null,null,!0),V=U.exports;const G={add:"plus",done:"check",remove:"minus",search:"magnify",help_outline:"help-circle-outline"};var K={getClass(e){return e?"mdi-"+(G[e]||e).replace("_","-"):""}},Z={name:"bunt-button",components:{ProgressCircular:V},mixins:[$],props:{text:String,icon:String,iconRight:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},type:{type:String,default:"button"},error:Boolean,errorMessage:String,successAfterLoading:{type:Boolean,default:!0},tooltip:String,tooltipPlacement:{type:String,default:"bottom"},tooltipFixed:{type:Boolean,default:!1},tooltipOptions:Object},data(){return{_loading:!1,showSuccess:!1}},computed:{_tooltip(){return this.errorMessage?this.errorMessage:this.tooltip},iconClass(){return K.getClass(this.icon)}},watch:{loading:"loadingChanged",errorMessage:"errorChanged",error:"errorChanged"},methods:{loadingChanged(e){if(e)this._loading=e,this.userShowTooltip=!1,this.showSuccess=!1,this.$successTimeout&&clearTimeout(this.$successTimeout);else{if(this._loading=e,this.errorMessage||this.error)return;this.showSuccess=!0,this.$successTimeout=setTimeout(()=>{this.showSuccess=!1},3e3)}},errorChanged(e){null!==e&&(this.showSuccess=!1)},onClick(e){this.disabled||this.loading||this.showSuccess||this.$emit("click",e)}}},X=Z,J=Object(w["a"])(X,P,z,!1,null,null,null,!0),Q=J.exports,ee=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-checkbox",class:{checked:e.value}},[n("input",{attrs:{type:"checkbox",name:e.name,disabled:e.disabled,readonly:e.readonly},domProps:{checked:e.value},on:{change:function(t){return e.onChange(t)},focus:function(t){e.focused=!0},blur:e.onBlur}}),n("div",{staticClass:"bunt-checkbox-box"}),e.label?n("label",[e._v(e._s(e.label))]):n("label",[e._t("default")],2)])},te=[],ne={name:"bunt-checkbox",components:{},props:{value:{type:Boolean,default:!1},name:{type:String,required:!0},label:String,disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},data(){return{focused:!1}},computed:{},created(){},mounted(){this.$nextTick(()=>{})},methods:{onChange(e){this.$emit("input",e.target.checked),this.validation&&this.validation.$touch()},onBlur(){this.focused=!1,this.validation&&this.validation.$touch()}}},re=ne,ie=Object(w["a"])(re,ee,te,!1,null,null,null,!0),ae=ie.exports,oe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-radio",class:{checked:e.isChecked}},[n("input",{attrs:{type:"radio",name:e.name,disabled:e.disabled,readonly:e.readonly},domProps:{value:e.value,checked:e.isChecked},on:{change:function(t){return e.onChange(t)},focus:function(t){e.focused=!0},blur:e.onBlur}}),n("div",{staticClass:"bunt-radio-circle"}),e.label?n("label",[e._v(e._s(e.label))]):n("label",[e._t("default")],2)])},se=[],ce={name:"bunt-radio",model:{prop:"checked",event:"change"},props:{checked:null,value:null,name:{type:String,required:!0},label:String,disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},data(){return{focused:!1}},computed:{isChecked(){return this.checked===this.value}},methods:{onChange(e){this.$emit("change",this.value),this.validation&&this.validation.$touch()},onBlur(){this.focused=!1,this.validation&&this.validation.$touch()}}},le=ce,ue=Object(w["a"])(le,oe,se,!1,null,null,null,!0),de=ue.exports,he=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("i",{staticClass:"bunt-icon mdi",class:[e.iconClass]})},fe=[],pe={name:"bunt-icon",props:{icon:{type:String,required:!0}},computed:{iconClass(){return K.getClass(this.icon)}}},me=pe,be=Object(w["a"])(me,he,fe,!1,null,null,null,!0),ge=be.exports,ve=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.tooltipOptions||{text:e.tooltip,placement:e.tooltipPlacement,fixed:e.tooltipFixed},expression:"tooltipOptions || {text: tooltip, placement: tooltipPlacement, fixed: tooltipFixed}"}],ref:"button",staticClass:"bunt-icon-button",class:{disabled:e.disabled},attrs:{type:e.type,"aria-disabled":e.disabled},on:{click:e.onClick}},[e.iconClass()?n("i",{staticClass:"bunt-icon mdi",class:[e.iconClass()]}):e._t("default"),e.noInk||e.disabled?e._e():n("ripple-ink")],2)},_e=[],ye={name:"bunt-icon-button",mixins:[$],props:{disabled:{type:Boolean,default:!1},type:{type:String,default:"button"},tooltip:String,tooltipPlacement:{type:String,default:"bottom"},tooltipFixed:{type:Boolean,default:!1},tooltipOptions:Object},data(){return{showTooltip:!1}},methods:{iconClass(){if(!this.$slots.default[0].tag)return K.getClass(this.$slots.default[0].text)},onClick(e){this.disabled||this.$emit("click",e)}}},Ae=ye,ke=Object(w["a"])(Ae,ve,_e,!1,null,null,null,!0),we=ke.exports,xe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.generateOutline,expression:"generateOutline"}],staticClass:"bunt-input",class:{focused:e.focused,"floating-label":e.floatingLabel,invalid:e.invalid,disabled:e.disabled,"with-icon":e.icon},style:{"--label-gap":e.floatingLabelWidth}},[n("div",{staticClass:"label-input-container"},[n("label",{attrs:{for:e.name}},[e._v(e._s(e.label))]),e.icon?n("div",{staticClass:"icon mdi",class:[e.iconClass]}):e._e(),n("input",{ref:"input",attrs:{type:e.type,name:e.name,disabled:e.disabled,readonly:e.readonly,placeholder:e.placeholder},domProps:{value:e.value},on:{input:function(t){return e.onInput(t)},focus:function(t){e.focused=!0},blur:e.onBlur}}),n("div",{directives:[{name:"show",rawName:"v-show",value:e.invalid,expression:"invalid"}],staticClass:"error-icon mdi mdi-alert-circle",attrs:{title:e.hintText}}),n("svg",{ref:"outline",staticClass:"outline"},[n("path",{attrs:{d:e.outlineStroke}})])]),e.hintIsHtml?n("div",{staticClass:"hint",domProps:{innerHTML:e._s(e.hintText)}}):n("div",{staticClass:"hint"},[e._v(e._s(e.hintText))])])},Me=[];const Ce="undefined"!==typeof window&&document.createElement("canvas");function Se(e,t){if("undefined"===typeof window)return 0;var n=Ce.getContext("2d");return n.font=t,n.measureText(e||"")}var Ee={data:function(){return{outlineStroke:""}},computed:{floatingLabelWidth(){return this.label?Se(this.label,"12px 'Roboto', \"Helvetica Neue\", HelveticaNeue, Helvetica, Arial, sans-serif").width+8:0}},mounted(){this.$nextTick(()=>{this.generateOutline()})},methods:{generateOutline(){const{width:e,height:t}=this.$refs.outline.getBoundingClientRect(),n=4,r=n+1;this.outlineStroke=`M ${r} 1\n\t\t\th ${e-2*r}\n\t\t\ta ${n} ${n} 0 0 1 ${n} ${n}\n\t\t\tv ${t-2*r}\n\t\t\ta ${n} ${n} 0 0 1 ${-n} ${n}\n\t\t\th ${2*r-e}\n\t\t\ta ${n} ${n} 0 0 1 ${-n} ${-n}\n\t\t\tv ${2*r-t}\n\t\t\ta ${n} ${n} 0 0 1 ${n} ${-n}`}}},De={name:"bunt-input",mixins:[Ee],props:{type:{type:String,default:"text"},name:{type:String,required:!0},label:String,placeholder:String,value:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},icon:String,iconRight:{type:Boolean,default:!1},hint:String,hintIsHtml:{type:Boolean,default:!1},validation:Object},data:function(){return{focused:!1}},computed:{iconClass(){return K.getClass(this.icon)},invalid(){return this.validation&&this.validation.$error},hintText(){if(this.invalid&&this.validation.$params){const e=Object.keys(this.validation.$params).map(e=>this.validation[e]?null:this.validation.$params[e].message);return e.filter(Boolean).join()}return this.hint},floatingLabel(){return Boolean(this.placeholder||this.value||0===this.value)}},methods:{onInput(e){this.$emit("input",e.target.value),this.validation&&this.validation.$touch()},onBlur(){this.focused=!1,this.validation&&this.validation.$touch()}}},Te=De,Oe=Object(w["a"])(Te,xe,Me,!1,null,null,null,!0),Le=Oe.exports,Pe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.generateOutline,expression:"generateOutline"}],staticClass:"bunt-input-outline-container",class:{focused:e.focused},style:{"--label-gap":e.floatingLabelWidth}},[n("label",[e._v(e._s(e.label))]),e._t("default",null,{focus:e.focus,blur:e.blur}),n("svg",{ref:"outline",staticClass:"outline"},[n("path",{attrs:{d:e.outlineStroke}})])],2)},ze=[],Ye={name:"bunt-input-outline-container",mixins:[Ee],props:{label:String},data(){return{focused:!1}},computed:{},created(){},mounted(){this.$nextTick(()=>{})},methods:{focus(){this.focused=!0},blur(){this.focused=!1}}},Ne=Ye,je=Object(w["a"])(Ne,Pe,ze,!1,null,null,null,!0),Fe=je.exports,Re=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("router-link",{staticClass:"bunt-link-button",attrs:{to:e.to}},[e._t("default"),n("ripple-ink")],2)},Be=[],$e={name:"bunt-link-button",components:{},mixins:[$],props:{to:Object},data(){return{}},computed:{},watch:{},methods:{}},Ie=$e,qe=Object(w["a"])(Ie,Re,Be,!1,null,null,null,!0),He=qe.exports,We=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.generateOutline,expression:"generateOutline"}],staticClass:"bunt-select dropdown",class:e.dropdownClasses},[n("div",{ref:"searchContainer",staticClass:"bunt-input dense",class:{focused:e.open,"floating-label":0!=e.rawSearch.length||!e.isValueEmpty,invalid:e.invalid,disabled:e.disabled},style:{"--label-gap":e.floatingLabelWidth}},[n("div",{staticClass:"label-input-container"},[n("label",{attrs:{for:e.name}},[e._v(e._s(e.label))]),e.icon?n("div",{staticClass:"icon mdi",class:[e.iconClass]}):e._e(),n("input",{directives:[{name:"model",rawName:"v-model",value:e.rawSearch,expression:"rawSearch"}],ref:"search",attrs:{type:"text",name:e.name,disabled:e.disabled,placeholder:e.searchPlaceholder,autocomplete:"off"},domProps:{value:e.rawSearch},on:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?null:e.maybeDeleteValue.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.typeAheadUp.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.typeAheadDown.apply(null,arguments))}],keyup:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.onEscape.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.typeAheadSelect.apply(null,arguments))}],blur:e.blur,focus:e.focus,input:function(t){t.target.composing||(e.rawSearch=t.target.value)}}}),n("i",{ref:"openIndicator",staticClass:"open-indicator mdi mdi-menu-down",attrs:{role:"presentation"},on:{mousedown:function(e){e.preventDefault(),e.stopPropagation()},click:function(t){return t.preventDefault(),t.stopPropagation(),e.toggleDropdown.apply(null,arguments)}}}),n("svg",{ref:"outline",staticClass:"outline"},[n("path",{attrs:{d:e.outlineStroke}})])]),e.hintIsHtml?n("div",{staticClass:"hint",domProps:{innerHTML:e._s(e.hintText)}}):n("div",{staticClass:"hint"},[e._v(e._s(e.hintText))])]),e.open?n(e.usePortals?"portal":"div",{tag:"component",attrs:{to:"bunt-overlays"}},[n("div",{ref:"dropdownMenu",staticClass:"bunt-select-dropdown-menu",class:[e.dropdownClass],style:{"max-height":e.maxHeight,width:e.width+"px"},on:{mousedown:function(e){e.preventDefault(),e.stopPropagation()}}},[e._t("result-header"),n("div",{directives:[{name:"scrollbar",rawName:"v-scrollbar.y",value:{_preventMousedown:!0},expression:"{_preventMousedown: true}",modifiers:{y:!0}}],staticClass:"scrollable-menu"},[n("ul",[e._l(e.filteredOptions,(function(t,r){return n("li",{key:r,class:{active:e.isOptionSelected(t),highlight:r===e.typeAheadPointer},on:{mouseover:function(t){e.typeAheadPointer=r},click:function(n){return n.preventDefault(),n.stopPropagation(),e.select(t)}}},[e._t("default",(function(){return[e._v(e._s(e.getOptionLabel(t)))]}),{option:t})],2)})),e.filteredOptions.length?e._e():n("li",{staticClass:"divider",attrs:{transition:"fade"}}),e.filteredOptions.length?e._e():n("li",{staticClass:"text-center",attrs:{transition:"fade"}},[e._t("no-options",(function(){return[e._v("Sorry, no matching options.")]}))],2)],2)])],2)]):e._e()],1)},Ue=[],Ve={watch:{typeAheadPointer(){this.maybeAdjustScroll()}},methods:{maybeAdjustScroll(){if(!this.$refs.dropdownMenu)return;let e=this.pixelsToPointerTop(),t=this.pixelsToPointerBottom();return e<=this.viewport().top?this.scrollTo(e):t>=this.viewport().bottom?this.scrollTo(this.viewport().top+this.pointerHeight()):void 0},pixelsToPointerTop(){let e=0,t=this.$refs.dropdownMenu.children;for(let n=0;n<this.typeAheadPointer;n++)e+=t[n]?t[n].offsetHeight:0;return e},pixelsToPointerBottom(){return this.pixelsToPointerTop()+this.pointerHeight()},pointerHeight(){let e=this.$refs.dropdownMenu.children[this.typeAheadPointer];return e?e.offsetHeight:0},viewport(){return{top:this.$refs.dropdownMenu.scrollTop,bottom:this.$refs.dropdownMenu.offsetHeight+this.$refs.dropdownMenu.scrollTop}},scrollTo(e){return this.$refs.dropdownMenu.scrollTop=e}}},Ge={data(){return{typeAheadPointer:-1}},watch:{filteredOptions(){this.typeAheadPointer=0}},methods:{typeAheadUp(){this.typeAheadPointer>0&&(this.typeAheadPointer--,this.maybeAdjustScroll&&this.maybeAdjustScroll())},typeAheadDown(){this.typeAheadPointer<this.filteredOptions.length-1&&(this.typeAheadPointer++,this.maybeAdjustScroll&&this.maybeAdjustScroll())},typeAheadSelect(){this.filteredOptions[this.typeAheadPointer]?this.select(this.filteredOptions[this.typeAheadPointer]):this.taggable&&this.search.length&&this.select(this.search)}}},Ke=n("2e39"),Ze=n.n(Ke),Xe={name:"bunt-select",mixins:[Ee,Ve,Ge],props:{name:{type:String,required:!0},label:String,value:{type:[String,Object,Number],default:null},icon:String,options:{type:Array,default(){return[]}},placeholder:{type:String,default:""},disabled:{type:Boolean,default:!1},maxHeight:{type:String,default:"400px"},optionLabel:{type:String,default:"label"},getOptionLabel:{type:Function,default(e){return"object"===typeof e&&void 0!==this.optionLabel&&void 0!==e[this.optionLabel]?e[this.optionLabel]:e}},optionValue:{type:String,default:"id"},getOptionValue:{type:Function,default(e){return"object"===typeof e&&void 0!==this.optionValue&&void 0!==e[this.optionValue]?e[this.optionValue]:e}},findOptionByValue:{type:Function,default(e){const t=t=>"object"===typeof t&&this.optionValue?t[this.optionValue]===e:t===e;return this.options.find(t)}},hint:String,hintIsHtml:{type:Boolean,default:!1},validation:Object,dropdownClass:String,dropdownOverflowElement:[String,Object]},data(){return{search:"",rawSearch:"",open:!1,width:0,usePortals:void 0!==this.$root.$options.components.Portal&&void 0!==this.$root.$options.components.PortalTarget}},computed:{dropdownClasses(){return{open:this.open,searchable:this.searchable,loading:this.loading}},searchPlaceholder(){if(this.isValueEmpty&&this.placeholder)return this.placeholder},filteredOptions(){let e=0!==this.search.length?this.options.filter(e=>Ze()(this.search.toLowerCase(),this.getOptionLabel(e).toLowerCase())):this.options.slice();return this.taggable&&this.search.length&&!this.optionExists(this.search)&&e.unshift(this.search),e},isValueEmpty(){return!this.value||("object"===typeof this.value?!Object.keys(this.value).length:!this.value.length)},iconClass(){return K.getClass(this.icon)},invalid(){return this.validation&&this.validation.$error},hintText(){if(this.invalid&&this.validation.$params){const e=Object.keys(this.validation.$params).map(e=>this.validation[e]?null:this.validation.$params[e].message);return e.filter(Boolean).join()}return this.hint}},watch:{value(e){this.selectValue(e)},rawSearch(e){this.open&&(this.search=e)},filteredOptions(){var e;null===(e=this._popper)||void 0===e||e.scheduleUpdate()}},mounted(){this.selectValue(this.value)},beforeDestroy(){var e;null===(e=this._popper)||void 0===e||e.destroy()},methods:{focus(){this.open=!0,this.search="",this.$refs.search.select(),this.width=this.$refs.searchContainer.getBoundingClientRect().width,this.$nextTick(()=>{const e={placement:"bottom",positionFixed:!0,modifiers:{}};this.icon&&(e.modifiers.offset={offset:"-15, 0"}),this.dropdownOverflowElement&&(e.modifiers.preventOverflow={boundariesElement:this.dropdownOverflowElement}),this._popper=new D["a"](this.$refs.search,this.$refs.dropdownMenu,e)})},blur(e){this.open=!1,this.$nextTick(()=>{var e;return null===(e=this._popper)||void 0===e?void 0:e.destroy()}),this.validation&&this.validation.$touch(),this.$emit("blur")},selectValue(e){const t=this.findOptionByValue(e);this.rawSearch=this.getOptionLabel(t)||""},select(e){this.isOptionSelected(e)?this.deselect(e):this.$emit("input",this.getOptionValue(e)),this.onAfterSelect(e)},deselect(e){this.$emit("input",null)},onAfterSelect(e){this.$refs.search.blur(),this.rawSearch=this.getOptionLabel(e)||""},toggleDropdown(e){e.target!==this.$refs.openIndicator&&e.target!==this.$refs.search&&e.target!==this.$refs.toggle&&e.target!==this.$el||(this.open?this.$refs.search.blur():this.$refs.search.focus())},isOptionSelected(e){return this.value===e},onEscape(){this.rawSearch.length?(this.deselect(),this.rawSearch=""):this.$refs.search.blur()},maybeDeleteValue(){!this.$refs.search.value.length&&this.value&&this.$emit("input",null)},optionExists(e){let t=!1;return this.options.forEach(n=>{("object"===typeof n&&n[this.optionLabel]===e||n===e)&&(t=!0)}),t}}},Je=Xe,Qe=Object(w["a"])(Je,We,Ue,!1,null,null,null,!0),et=Qe.exports,tt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-switch",class:{checked:e.value}},[n("input",{attrs:{type:"checkbox",name:e.name,disabled:e.disabled,readonly:e.readonly},domProps:{checked:e.value},on:{change:function(t){return e.onChange(t)},focus:function(t){e.focused=!0},blur:e.onBlur}}),e._m(0),n("label",[e._v(e._s(e.label))])])},nt=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-switch-track"},[n("div",{staticClass:"bunt-switch-thumb"})])}],rt={name:"bunt-switch",components:{},props:{value:{type:Boolean,default:!1},name:{type:String,required:!0},label:String,disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},data(){return{focused:!1}},computed:{},created(){},mounted(){this.$nextTick(()=>{})},methods:{onChange(e){this.$emit("input",e.target.checked),this.validation&&this.validation.$touch()},onBlur(){this.focused=!1,this.validation&&this.validation.$touch()}}},it=rt,at=Object(w["a"])(it,tt,nt,!1,null,null,null,!0),ot=at.exports,st=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e._onResizeObserver,expression:"_onResizeObserver"}],staticClass:"bunt-tabs",class:e.styleClasses},[n("div",{staticClass:"bunt-tabs-header"},[n("ul",{ref:"tabsContainer",staticClass:"bunt-tabs-header-items",attrs:{role:"tablist"}},e._l(e.tabs,(function(t,r){return n("bunt-tab-header-item",{key:t.id,ref:"tabElements",refInFor:!0,attrs:{type:e.type,id:t.id,icon:t.icon,text:t.header,active:e.activeTabObj===t,disabled:t.disabled},nativeOn:{click:function(n){return e.select(t,r)}}})})),1),n("div",{staticClass:"bunt-tabs-indicator",class:[e.indicatorState],style:e.indicatorStyle,on:{transitionend:e.onIndicatorTransitionEnd}})]),n("div",{ref:"body",staticClass:"bunt-tabs-body"},[e._t("default")],2)])},ct=[],lt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{ref:"item",staticClass:"bunt-tab-header-item",class:["type-"+e.type,{active:e.active,disabled:e.disabled}],attrs:{role:"tab",tabindex:e.active?0:-1,"aria-controls":e.id,"aria-selected":e.active?"true":null,disabled:e.disabled}},["icon"===e.type||"icon-and-text"===e.type?n("div",{staticClass:"bunt-tab-header-item-icon"},[n("i",{staticClass:"bunt-icon mdi",class:[e.iconClass]})]):e._e(),"text"===e.type||"icon-and-text"===e.type?n("div",{staticClass:"bunt-tab-header-item-text",domProps:{textContent:e._s(e.text)}}):e._e(),e.noInk||e.disabled?e._e():n("ripple-ink")],1)},ut=[],dt={name:"bunt-tab-header-item",mixins:[$],props:{id:String,type:{type:String,default:"text"},text:String,icon:String,active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},computed:{iconClass(){return K.getClass(this.icon)}}},ht=dt,ft=Object(w["a"])(ht,lt,ut,!1,null,null,null,!0),pt=ft.exports;const mt=function(e,t){return 100*e/t};var bt={name:"bunt-tabs",components:{BuntTabHeaderItem:pt},props:{type:{type:String,default:"text"},activeTab:{type:[Number,String,Object,Function]}},data(){return{activeTabObj:null,tabs:null,indicatorState:"",indicatorTransform:{left:0,width:0},indicatorTargetTransform:{left:0,width:0}}},computed:{styleClasses(){let e=["bunt-tabs-type-"+this.type];return e},indicatorStyle(){const e=this.indicatorTransform;return{transform:`translateX(${e.left}%) scaleX(${e.width/100})`}}},watch:{activeTab(e){this.activateTab(e)}},mounted(){this.updateTabs();new MutationObserver(e=>{this.updateTabs(),this.$nextTick(()=>this.activateTab(this.activeTab||0))}).observe(this.$refs.body,{childList:!0});this.$nextTick(()=>{this.$refs.tabsContainer&&this.activateTab(this.activeTab||0)})},methods:{_onResizeObserver(){this.$refs.tabsContainer&&this.activeTabObj&&this.select(this.activeTabObj,this.tabs.indexOf(this.activeTabObj))},updateTabs(){const e=Array.from(this.$refs.body.children);this.tabs=this.$children.filter(e=>e._isTab).sort((t,n)=>e.indexOf(t.$el)-e.indexOf(n.$el))},activateTab(e){let t=null;"number"===typeof e?t=e:"string"===typeof e&&(t=this.tabs.findIndex(t=>t.id===e)),this.tabs[t]?this.select(this.tabs[t],t):this.deselect()},select(e,t){let n=this.tabs.indexOf(this.activeTabObj);if(!e||e.disabled)return;let r=this.$refs.tabsContainer.getBoundingClientRect(),i=r.width;const a=Array.from(this.$refs.tabsContainer.children);let o=this.$refs.tabElements.sort((e,t)=>a.indexOf(e.$el)-a.indexOf(t.$el))[t].$el.getBoundingClientRect(),s=o.left-r.left;if(this.indicatorTargetTransform={width:mt(o.width,i),left:mt(s,i)},n<0)return this.indicatorState="",this.indicatorTransform={width:this.indicatorTargetTransform.width,left:this.indicatorTargetTransform.left},void(this.activeTabObj=e);let c=this.$refs.tabElements[n].$el.getBoundingClientRect(),l=5;this.indicatorState="expand";let u=n<t;u?this.indicatorTransform.width=mt(o.left+o.width-c.left,i)-l:this.indicatorTransform={width:mt(c.left+c.width-o.left,i)-l,left:mt(s,i)+l},this.activeTabObj=e},deselect(){this.activeTabObj=null,this.indicatorTransform.width=0,this.indicatorTransform.left=0},onIndicatorTransitionEnd(){"expand"==this.indicatorState?(this.indicatorState="contract",this.indicatorTransform={width:this.indicatorTargetTransform.width,left:this.indicatorTargetTransform.left}):this.indicatorState=""}}},gt=bt,vt=Object(w["a"])(gt,st,ct,!1,null,null,null,!0),_t=vt.exports,yt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.active,expression:"active"}],staticClass:"bunt-tab",attrs:{id:e.id,role:"tabpanel",tabindex:e.active?"0":null,"aria-hidden":e.active?null:"true"}},[e._t("default")],2)},At=[],kt={name:"bunt-tab",props:{header:String,icon:String,disabled:{type:Boolean,default:!1},id:String},computed:{active(){return this.$parent.activeTabObj===this}},watch:{active(e){e?this.$emit("selected",this.id):this.$emit("deselected",this.id)}},created(){this._isTab=!0}},wt=kt,xt=Object(w["a"])(wt,yt,At,!1,null,null,null,!0),Mt=xt.exports,Ct=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.open?n("div",{staticClass:"bunt-dialog-container"},[n("div",{staticClass:"bunt-dialog"},[e._t("default")],2),n("div",{staticClass:"bunt-backdrop",attrs:{"keyup.esc":"close"},on:{click:e.close}})]):e._e()},St=[],Et={props:{open:{type:Boolean,default:!1}},data(){return{}},computed:{},created(){},mounted(){this.$nextTick(()=>{document.body.appendChild(this.$el)})},beforeDestroy(){this.$el.parentNode===document.body&&document.body.removeChild(this.$el)},methods:{close(){this.$emit("close")}}},Dt=Et,Tt=Object(w["a"])(Dt,Ct,St,!1,null,null,null,!0),Ot=Tt.exports;let Lt;"undefined"!==typeof window&&(Lt=n("472d").default);const Pt={install(e){L(e),e.component("bunt-button",Q),e.component("bunt-checkbox",ae),e.component("bunt-radio",de),e.component("bunt-icon",ge),e.component("bunt-icon-button",we),e.component("bunt-input",Le),e.component("bunt-input-outline-container",Fe),e.component("bunt-link-button",He),e.component("bunt-select",et),"undefined"!==typeof window&&e.component("bunt-popover",Lt),e.component("bunt-progress-circular",V),e.component("bunt-switch",ot),e.component("bunt-tabs",_t),e.component("bunt-tab",Mt),e.component("bunt-dialog",Ot)}};var zt=Pt,Yt=n("7f45"),Nt=n.n(Yt),jt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"scrollbar",rawName:"v-scrollbar.y",modifiers:{y:!0}}],staticClass:"c-linear-schedule"},e._l(e.sessionBuckets,(function(t,r){var i=t.date,a=t.sessions;return n("div",{staticClass:"bucket"},[n("div",{ref:e.getBucketName(i),refInFor:!0,staticClass:"bucket-label",attrs:{"data-date":i.format()}},[0===r||i.clone().startOf("day").diff(e.sessionBuckets[r-1].date.clone().startOf("day"),"day")>0?n("div",{staticClass:"day"},[e._v(" "+e._s(i.format("dddd DD. MMMM")))]):e._e(),n("div",{staticClass:"time"},[e._v(e._s(i.format("LT")))]),e._l(a,(function(t){return[e.isProperSession(t)?n("session",{attrs:{session:t,faved:t.id&&e.favs.includes(t.id)},on:{fav:function(n){return e.$emit("fav",t.id)},unfav:function(n){return e.$emit("unfav",t.id)}}}):n("div",{staticClass:"break"},[n("div",{staticClass:"title"},[e._v(e._s(e.getLocalizedString(t.title)))])])]}))],2)])})),0)},Ft=[];function Rt(e){if(!e)return"";if("string"===typeof e)return e;const t=document.querySelector("html").lang||"en";return e[t]||e.en||Object.values(e)[0]||""}const Bt=(e,t)=>["auto","scroll"].includes(getComputedStyle(e,null).getPropertyValue(t)),$t=e=>Bt(e,"overflow")||Bt(e,"overflow-x")||Bt(e,"overflow-y");function It(e){if(e&&e!==document.body)return $t(e)?e:It(e.parentNode)}function qt(e,t){let n=t.diff(e,"minutes");const r=Math.floor(n/60);return n<=60?n+"min":(n%=60,n?`${r}h${n}min`:r+"h")}var Ht=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a",{staticClass:"c-linear-schedule-session",class:{faved:e.faved},style:e.style,attrs:{href:e.link,target:e.linkTarget},on:{click:function(t){return e.onSessionLinkClick(t,e.session)}}},[n("div",{staticClass:"time-box"},[n("div",{staticClass:"start",class:{"has-ampm":e.hasAmPm}},[n("div",{staticClass:"time"},[e._v(e._s(e.startTime.time))]),e.startTime.ampm?n("div",{staticClass:"ampm"},[e._v(e._s(e.startTime.ampm))]):e._e()]),n("div",{staticClass:"duration"},[e._v(e._s(e.getPrettyDuration(e.session.start,e.session.end)))]),n("div",{staticClass:"buffer"}),e.isLive?n("div",{staticClass:"is-live"},[e._v("live")]):e._e()]),n("div",{staticClass:"info"},[n("div",{staticClass:"title"},[e._v(e._s(e.getLocalizedString(e.session.title)))]),e.session.speakers?n("div",{staticClass:"speakers"},[n("div",{staticClass:"avatars"},[e._l(e.session.speakers,(function(t){return[t.avatar?n("img",{attrs:{src:t.avatar}}):e._e()]}))],2),n("div",{staticClass:"names"},[e._v(e._s(e.session.speakers.map((function(e){return e.name})).join(", ")))])]):e._e(),e.showAbstract?n("div",{staticClass:"abstract",domProps:{innerHTML:e._s(e.abstract)}}):e._e(),n("div",{staticClass:"bottom-info"},[e.session.track?n("div",{staticClass:"track"},[e._v(e._s(e.getLocalizedString(e.session.track.name)))]):e._e(),e.showRoom&&e.session.room?n("div",{staticClass:"room"},[e._v(e._s(e.getLocalizedString(e.session.room.name)))]):e._e()])]),n("bunt-icon-button",{staticClass:"btn-fav-container",on:{click:function(t){t.preventDefault(),t.stopPropagation(),e.faved?e.$emit("unfav",e.session.id):e.$emit("fav",e.session.id)}}},[n("svg",{staticClass:"star",attrs:{viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z"}})])])],1)},Wt=[],Ut=n("d4cd"),Vt=n.n(Ut);const Gt=Vt()({linkify:!0,breaks:!0});var Kt={props:{session:Object,showAbstract:{type:Boolean,default:!0},showRoom:{type:Boolean,default:!0},faved:{type:Boolean,default:!1},hasAmPm:{type:Boolean,default:!1}},inject:{eventUrl:{default:null},linkTarget:{default:"_self"},generateSessionLinkUrl:{default(){return({eventUrl:e,session:t})=>`${e}talk/${t.id}/`}},onSessionLinkClick:{default(){return()=>{}}}},data(){return{getPrettyDuration:qt,getLocalizedString:Rt}},computed:{link(){return this.generateSessionLinkUrl({eventUrl:this.eventUrl,session:this.session})},style(){var e;return{"--track-color":(null===(e=this.session.track)||void 0===e?void 0:e.color)||"var(--pretalx-clr-primary)"}},startTime(){return this.hasAmPm?{time:this.session.start.format("h:mm"),ampm:this.session.start.format("A")}:{time:Nt()(this.session.start).format("LT")}},isLive(){return Nt()(this.session.start).isBefore(this.now)&&Nt()(this.session.end).isAfter(this.now)},abstract(){try{return Gt.renderInline(this.session.abstract)}catch(e){return this.session.abstract}}}},Zt=Kt;function Xt(e){var t=n("1004");t.__inject__&&t.__inject__(e)}var Jt=Object(w["a"])(Zt,Ht,Wt,!1,Xt,null,null,!0),Qt=Jt.exports,en={components:{Session:Qt},props:{sessions:Array,favs:{type:Array,default(){return[]}},currentDay:Object,now:Object,scrollParent:Element},data(){return{moment:Nt.a,getLocalizedString:Rt,scrolledDay:null}},computed:{sessionBuckets(){const e={};for(const t of this.sessions){const n=t.start.format();e[n]||(e[n]=[]),t.id?e[n].push(t):(t.break_id=`${t.start}${t.end}${t.title}`,0===e[n].filter(e=>e.break_id===t.break_id).length&&e[n].push(t))}return Object.entries(e).map(([e,t])=>({date:t[0].start,sessions:t}))}},watch:{currentDay:"changeDay"},async mounted(){var e,t;let n;await this.$nextTick(),this.observer=new IntersectionObserver(this.onIntersect,{root:this.scrollParent,rootMargin:"-45% 0px"});for(const[l,u]of Object.entries(this.$refs)){if(!l.startsWith("bucket"))continue;const e=Nt.a.parseZone(u[0].dataset.date);n&&n.isSame(e,"date")||(n=e,this.observer.observe(u[0]))}let r=!1;const i=window.location.hash.slice(1);if(i&&10===i.length){const e=Nt()(i,"YYYY-MM-DD");e&&(r=!0)}if(r)return;const a=this.sessionBuckets.findIndex(e=>this.now.isBefore(e.date)),o=this.sessionBuckets.findIndex(e=>this.now.isBefore(e.date));if(a<0||0===o)return;const s=this.sessionBuckets[Math.max(0,a-1)],c=(null===(e=this.$refs[this.getBucketName(s.date)])||void 0===e||null===(t=e[0])||void 0===t?void 0:t.offsetTop)-90;this.scrollParent?this.scrollParent.scrollTop=c:window.scroll({top:c+this.getOffsetTop()})},methods:{isProperSession(e){return!!e.id},getBucketName(e){return"bucket-"+e.format("YYYY-MM-DD-HH-mm")},getOffsetTop(){const e=this.$parent.$el.getBoundingClientRect();return e.top+window.scrollY},changeDay(e){var t;if(this.scrolledDay===e)return;const n=this.sessionBuckets.find(t=>e.isSame(t.date,"day"));if(!n)return;const r=null===(t=this.$refs[this.getBucketName(n.date)])||void 0===t?void 0:t[0];if(!r)return;const i=r.offsetTop+this.getOffsetTop()-8;this.scrollParent?this.scrollParent.scrollTop=i:window.scroll({top:i})},onIntersect(e){const t=e[0],n=Nt.a.parseZone(t.target.dataset.date).startOf("day");t.isIntersecting?(this.scrolledDay=n,this.$emit("changeDay",this.scrolledDay)):t.rootBounds&&t.boundingClientRect.y-t.rootBounds.y>0&&(this.scrolledDay=n.subtract(1,"day"),this.$emit("changeDay",this.scrolledDay))}}},tn=en;function nn(e){var t=n("2187");t.__inject__&&t.__inject__(e)}var rn=Object(w["a"])(tn,jt,Ft,!1,nn,null,null,!0),an=rn.exports,on=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"c-grid-schedule"},[n("div",{staticClass:"grid",style:e.gridStyle},[e._l(e.visibleTimeslices,(function(t){return[n("div",{ref:t.name,refInFor:!0,staticClass:"timeslice",class:e.getSliceClasses(t),style:e.getSliceStyle(t),attrs:{"data-slice":t.date.format()}},[e._v(e._s(e.getSliceLabel(t)))]),n("div",{staticClass:"timeline",class:e.getSliceClasses(t),style:e.getSliceStyle(t)})]})),e.nowSlice?n("div",{ref:"now",staticClass:"now",class:{"on-daybreak":e.nowSlice.onDaybreak},style:{"grid-area":e.nowSlice.slice.name+" / 1 / auto / auto","--offset":e.nowSlice.offset}},[n("svg",{attrs:{viewBox:"0 0 10 10"}},[n("path",{attrs:{d:"M 0 0 L 10 5 L 0 10 z"}})])]):e._e(),n("div",{staticClass:"room",style:{"grid-area":"1 / 1 / auto / auto"}}),e._l(e.rooms,(function(t,r){return n("div",{staticClass:"room",style:{"grid-area":"1 / "+(r+2)+" / auto / auto"}},[e._v(e._s(e.getLocalizedString(t.name))),e.getLocalizedString(t.description)?n("bunt-button",{staticClass:"room-description",attrs:{tooltip:e.getLocalizedString(t.description),"tooltip-placement":"bottom-end"}},[e._v("?")]):e._e()],1)})),e.hasSessionsWithoutRoom?n("div",{staticClass:"room",style:{"grid-area":"1 / "+(e.rooms.length+2)+" / auto / -1"}},[e._v("no location")]):e._e(),e._l(e.sessions,(function(t){return[e.isProperSession(t)?n("session",{style:e.getSessionStyle(t),attrs:{session:t,showAbstract:!1,showRoom:!1,faved:e.favs.includes(t.id),hasAmPm:e.hasAmPm},on:{fav:function(n){return e.$emit("fav",t.id)},unfav:function(n){return e.$emit("unfav",t.id)}}}):n("div",{staticClass:"break",style:e.getSessionStyle(t)},[n("div",{staticClass:"time-box"},[e.hasAmPm?n("div",{staticClass:"start has-ampm"},[n("div",{staticClass:"time"},[e._v(e._s(t.start.format("h:mm")))]),n("div",{staticClass:"ampm"},[e._v(e._s(t.start.format("A")))])]):n("div",{staticClass:"start"},[n("div",{staticClass:"time"},[e._v(e._s(t.start.format("LT")))])]),n("div",{staticClass:"duration"},[e._v(e._s(e.getPrettyDuration(t.start,t.end)))]),n("div",{staticClass:"buffer"})]),n("div",{staticClass:"info"},[n("div",{staticClass:"title"},[e._v(e._s(e.getLocalizedString(t.title)))])])])]}))],2)])},sn=[];const cn=function(e){return"slice-"+e.format("MM-DD-HH-mm")};var ln={components:{Session:Qt},props:{sessions:Array,rooms:Array,favs:{type:Array,default(){return[]}},currentDay:Object,now:Object,scrollParent:Element},data(){return{moment:Nt.a,getLocalizedString:Rt,getPrettyDuration:qt,scrolledDay:null}},computed:{hasSessionsWithoutRoom(){return this.sessions.some(e=>!e.room)},hasAmPm(){return Nt.a.localeData().longDateFormat("LT").endsWith(" A")},timeslices(){const e=30,t=[],n={},r=function(e,{hasSession:r=!1,hasBreak:i=!1,hasStart:a=!1,hasEnd:o=!1}={}){const s=cn(e);let c=n[s];c?(c.hasSession=c.hasSession||r,c.hasBreak=c.hasBreak||i,c.hasStart=c.hasStart||a,c.hasEnd=c.hasEnd||o):(c={date:e,name:s,hasSession:r,hasBreak:i,hasStart:a,hasEnd:o,datebreak:e.isSame(e.clone().startOf("day"))},t.push(c),n[s]=c)},i=function(t,n,{hasSession:i,hasBreak:a}={}){let o=n.diff(t,"minutes");const s=e-t.minute()%e,c=[];s&&(c.push(t.clone().add(s,"minutes")),o-=s);const l=n.minute()%e;for(let r=1;r<=o/e;r++)c.push(t.clone().add(s+e*r,"minutes"));l&&c.push(n.clone().subtract(l,"minutes"));const u=c.pop();c.forEach(e=>r(e,{hasSession:i,hasBreak:a})),r(u)};for(const c of this.sessions){const e=t[t.length-1];e?c.start.isAfter(e.date,"minutes")&&i(e.date,c.start):r(c.start.clone().startOf("day"));const n=this.isProperSession(c);r(c.start,{hasSession:n,hasBreak:!n,hasStart:!0}),r(c.end,{hasEnd:!0}),i(c.start,c.end,{hasSession:n,hasBreak:!n})}const a=function(t){if(t)return 0!==t.date.minutes()&&t.date.minutes()!==e},o=function(e,n){if(!e)return;if(e.hasSession||e.datebreak||e.hasStart||e.hasEnd)return!0;const r=t[n-1],i=t[n+1];return!!a(e)||(!(!((null!==r&&void 0!==r&&r.hasSession||null!==r&&void 0!==r&&r.hasBreak||null!==r&&void 0!==r&&r.hasEnd)&&a(r)||(null!==i&&void 0!==i&&i.hasSession||null!==i&&void 0!==i&&i.hasBreak)&&a(i))&&(null!==i&&void 0!==i&&i.hasSession&&null!==i&&void 0!==i&&i.hasBreak||!e.hasSession&&!e.hasBreak||!a(i)))||(null!==r&&void 0!==r&&r.hasBreak&&e.hasBreak,!1))};t.sort((e,t)=>e.date.diff(t.date));const s=[];for(const[c,l]of t.entries()){if(o(l,c)){s.push(l);continue}const e=t[c-1];o(e,c-1)&&!e.datebreak&&(e.gap=!0)}return s.forEach((e,t)=>{e.gap&&t<s.length-1&&s[t+1].date.diff(e.date,"minutes")<=30&&(e.gap=!1)}),s[s.length-1].gap&&s.pop(),s},visibleTimeslices(){return this.timeslices.filter(e=>e.date.minute()%30===0)},gridStyle(){let e="[header] 52px ";return e+=this.timeslices.map((e,t)=>{const n=this.timeslices[t+1];let r=60;return e.gap?r=100:e.datebreak?r=60:n&&(r=Math.min(60,2*n.date.diff(e.date,"minutes"))),`[${e.name}] minmax(${r}px, auto)`}).join(" "),{"--total-rooms":this.rooms.length,"grid-template-rows":e}},nowSlice(){let e;for(const t of this.timeslices){if(this.now.isBefore(t.date))break;e=t}if(e){const t=this.timeslices[this.timeslices.indexOf(e)+1];return t?t.date.diff(e.date,"minutes")>30?{slice:t,offset:0,onDaybreak:!0}:{slice:e,offset:this.now.diff(e.date,"minutes")/t.date.diff(e.date,"minutes")}:null}return null}},watch:{currentDay:"changeDay"},async mounted(){await this.$nextTick(),this.observer=new IntersectionObserver(this.onIntersect,{root:this.scrollParent,rootMargin:"-45% 0px"});for(const[r,i]of Object.entries(this.$refs))r.startsWith("slice")&&r.endsWith("00-00")&&this.observer.observe(i[0]);let e=!1;const t=window.location.hash.slice(1);if(t&&10===t.length){const n=Nt()(t,"YYYY-MM-DD");n&&(e=!0)}if(e||!this.$refs.now)return;const n=this.$refs.now.offsetTop+this.getOffsetTop()-90;this.scrollParent?this.scrollParent.scrollTop=n:window.scroll({top:n})},methods:{isProperSession(e){return!!e.id},getSessionStyle(e){const t=this.rooms.indexOf(e.room);return{"grid-row":`${cn(e.start)} / ${cn(e.end)}`,"grid-column":t>-1?t+2:null}},getOffsetTop(){const e=this.$parent.$el.getBoundingClientRect();return e.top+window.scrollY},getSliceClasses(e){return{datebreak:e.datebreak,gap:e.gap}},getSliceStyle(e){if(e.datebreak){let t=this.timeslices.findIndex(t=>t.date.isAfter(e.date,"day"));return t<0&&(t=this.timeslices.length-1),{"grid-area":`${e.name} / 1 / ${this.timeslices[t].name} / auto`}}return{"grid-area":e.name+" / 1 / auto / auto"}},getSliceLabel(e){return e.datebreak?e.date.format("ddd[\n]DD. MMM"):e.date.format("LT")},changeDay(e){var t;if(this.scrolledDay===e)return;const n=null===(t=this.$refs[cn(e)])||void 0===t?void 0:t[0];if(!n)return;const r=n.offsetTop+this.getOffsetTop();this.scrollParent?this.scrollParent.scrollTop=r:window.scroll({top:r})},onIntersect(e){const t=e.sort((e,t)=>t.time-e.time).find(e=>e.isIntersecting);if(!t)return;const n=Nt.a.parseZone(t.target.dataset.slice).startOf("day");this.scrolledDay=n,this.$emit("changeDay",this.scrolledDay)}}},un=ln;function dn(e){var t=n("0809");t.__inject__&&t.__inject__(e)}var hn=Object(w["a"])(un,on,sn,!1,dn,null,null,!0),fn=hn.exports;o["a"].use(zt);var pn={name:"PretalxSchedule",components:{LinearSchedule:an,GridSchedule:fn},props:{eventUrl:String,locale:String,format:{type:String,default:"grid"},version:{type:String,default:""}},provide(){return{eventUrl:this.eventUrl}},data(){return{moment:Nt.a,getLocalizedString:Rt,scrollParentWidth:1/0,schedule:null,userTimezone:null,now:Nt()(),currentDay:null,currentTimezone:null,showFilterModal:!1,favs:[],allTracks:[],onlyFavs:!1,scheduleError:!1}},computed:{scheduleMaxWidth(){return this.schedule?Math.min(this.scrollParentWidth,78+650*this.schedule.rooms.length):this.scrollParentWidth},showGrid(){return this.scrollParentWidth>710&&"list"!==this.format},roomsLookup(){return this.schedule?this.schedule.rooms.reduce((e,t)=>(e[t.id]=t,e),{}):{}},tracksLookup(){return this.schedule?this.schedule.tracks.reduce((e,t)=>(e[t.id]=t,e),{}):{}},filteredTracks(){return this.allTracks.filter(e=>e.selected)},speakersLookup(){return this.schedule?this.schedule.speakers.reduce((e,t)=>(e[t.code]=t,e),{}):{}},sessions(){if(!this.schedule||!this.currentTimezone)return;const e=[];for(const n of this.schedule.talks.filter(e=>e.start)){var t;this.onlyFavs&&!this.favs.includes(n.code)||(this.filteredTracks&&this.filteredTracks.length&&!this.filteredTracks.find(e=>e.id===n.track)||e.push({id:n.code,title:n.title,abstract:n.abstract,start:Nt.a.tz(n.start,this.currentTimezone),end:Nt.a.tz(n.end,this.currentTimezone),speakers:null===(t=n.speakers)||void 0===t?void 0:t.map(e=>this.speakersLookup[e]),track:this.tracksLookup[n.track],room:this.roomsLookup[n.room]}))}return e.sort((e,t)=>e.start.diff(t.start)),e},rooms(){return this.schedule.rooms.filter(e=>this.sessions.some(t=>t.room===e))},days(){if(!this.sessions)return;const e=[];for(const t of this.sessions)e[e.length-1]&&e[e.length-1].isSame(t.start,"day")||e.push(t.start.clone().startOf("day"));return e},inEventTimezone(){if(!this.schedule||!this.schedule.talks)return!1;const e=this.schedule.talks[0].start;return Nt.a.tz(e,this.userTimezone).format("Z")===Nt.a.tz(e,this.schedule.timezone).format("Z")},dateFormat(){return this.showGrid&&this.schedule&&this.schedule.rooms.length>2||!this.days||!this.days.length||this.days&&this.days.length<=5?"dddd DD. MMMM":this.days&&this.days.length<=7?"dddd DD. MMM":"ddd DD. MMM"},eventSlug(){let e="";return e=this.eventUrl.startsWith("http")?new URL(this.eventUrl):new URL("http://example.org/"+this.eventUrl),e.pathname.replace(/\//g,"")}},async created(){Nt.a.locale(this.locale),this.userTimezone=Nt.a.tz.guess();let e="";this.version&&(e=`v/${this.version}/`);const t=`${this.eventUrl}schedule/${e}widgets/schedule.json`,n=`${this.eventUrl}schedule/${e}widget/v2.json`;try{this.schedule=await(await fetch(t)).json()}catch(i){try{this.schedule=await(await fetch(n)).json()}catch(i){return void(this.scheduleError=!0)}}this.currentTimezone=localStorage.getItem(this.eventSlug+"_timezone"),this.currentTimezone=[this.schedule.timezone,this.userTimezone].includes(this.currentTimezone)?this.currentTimezone:this.schedule.timezone,this.currentDay=this.days[0],this.now=Nt()().tz(this.currentTimezone),setInterval(()=>this.now=Nt()().tz(this.currentTimezone),3e4),this.scrollParentResizeObserver||(await this.$nextTick(),this.onWindowResize()),this.schedule.tracks.forEach(e=>{e.value=e.id,e.label=Rt(e.name),this.allTracks.push(e)}),this.favs=this.pruneFavs(this.loadFavs(),this.schedule);const r=window.location.hash.slice(1);if(r&&10===r.length){const e=Nt()(r,"YYYY-MM-DD"),t=this.days.filter(t=>t.format("YYYYMMDD")===e.format("YYYYMMDD"));t.length&&(this.currentDay=t[0])}},async mounted(){await new Promise(e=>{const t=()=>{if(this.$el.parentElement||this.$el.getRootNode().host)return e();setTimeout(t,100)};t()}),this.scrollParent=It(this.$el.parentElement||this.$el.getRootNode().host),this.scrollParent?(this.scrollParentResizeObserver=new ResizeObserver(this.onScrollParentResize),this.scrollParentResizeObserver.observe(this.scrollParent),this.scrollParentWidth=this.scrollParent.offsetWidth):(window.addEventListener("resize",this.onWindowResize),this.onWindowResize())},destroyed(){},methods:{changeDay(e){e.isSame(this.currentDay)||(this.currentDay=Nt()(e,this.currentTimezone).startOf("day"),window.location.hash=e.format("YYYY-MM-DD"))},onWindowResize(){this.scrollParentWidth=document.body.offsetWidth},saveTimezone(){localStorage.setItem(this.eventSlug+"_timezone",this.currentTimezone)},onScrollParentResize(e){this.scrollParentWidth=e[0].contentRect.width},loadFavs(){const e=localStorage.getItem(this.eventSlug+"_favs");if(e)try{return JSON.parse(e)}catch{localStorage.setItem(this.eventSlug+"_favs","[]")}return[]},pruneFavs(e,t){const n=t.talks||[],r=n.map(e=>e.code);return e.filter(e=>r.includes(e))},saveFavs(){localStorage.setItem(this.eventSlug+"_favs",JSON.stringify(this.favs))},fav(e){this.favs.includes(e)||(this.favs.push(e),this.saveFavs())},unfav(e){this.favs=this.favs.filter(t=>t!==e),this.saveFavs(),this.favs.length||(this.onlyFavs=!1)},resetFilteredTracks(){this.allTracks.forEach(e=>e.selected=!1)}}},mn=pn;function bn(e){var t=n("0887");t.__inject__&&t.__inject__(e)}var gn=Object(w["a"])(mn,x,M,!1,bn,null,null,!0),vn=gn.exports;window.customElements.define("pretalx-schedule",k(o["a"],vn))},"5b54":function(e,t,n){"use strict";var r=n("bd68"),i=n("0068").has,a=n("0068").isValidEntityCode,o=n("0068").fromCodePoint,s=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,c=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,l,u,d=e.pos,h=e.posMax;if(38!==e.src.charCodeAt(d))return!1;if(d+1<h)if(n=e.src.charCodeAt(d+1),35===n){if(u=e.src.slice(d).match(s),u)return t||(l="x"===u[1][0].toLowerCase()?parseInt(u[1].slice(1),16):parseInt(u[1],10),e.pending+=a(l)?o(l):o(65533)),e.pos+=u[0].length,!0}else if(u=e.src.slice(d).match(c),u&&i(r,u[1]))return t||(e.pending+=r[u[1]]),e.pos+=u[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},"5c8f":function(e,t,n){var r,i,a;/*! tether-drop 1.4.1 */(function(o,s){i=[n("a01e")],r=s,a="function"===typeof r?r.apply(t,i):r,void 0===a||(e.exports=a)})(0,(function(e){"use strict";var t=Function.prototype.bind,n=function(){function e(e,t){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done);r=!0)if(n.push(o.value),t&&n.length===t)break}catch(c){i=!0,a=c}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(e,t,n){var r=!0;while(r){var i=e,a=t,o=n;r=!1,null===i&&(i=Function.prototype);var s=Object.getOwnPropertyDescriptor(i,a);if(void 0!==s){if("value"in s)return s.value;var c=s.get;if(void 0===c)return;return c.call(o)}var l=Object.getPrototypeOf(i);if(null===l)return;e=l,t=a,n=o,r=!0,s=l=void 0}};function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=e.Utils,c=s.extend,l=s.addClass,u=s.removeClass,d=s.hasClass,h=s.Evented;function f(e){var t=e.split(" "),r=n(t,2),i=r[0],a=r[1];if(["left","right"].indexOf(i)>=0){var o=[a,i];i=o[0],a=o[1]}return[i,a].join(" ")}function p(e,t){var n=void 0,r=[];while(-1!==(n=e.indexOf(t)))r.push(e.splice(n,1));return r}var m=["click"];"ontouchstart"in document.documentElement&&m.push("touchstart");var b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"},g="";for(var v in b)if({}.hasOwnProperty.call(b,v)){var _=document.createElement("p");"undefined"!==typeof _.style[v]&&(g=b[v])}var y={left:"right",right:"left",top:"bottom",bottom:"top",middle:"middle",center:"center"},A={};function k(){var n=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],s=function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return new(t.apply(v,[null].concat(n)))};c(s,{createContext:k,drops:[],defaults:{}});var b={classPrefix:"drop",defaults:{position:"bottom left",openOn:"click",beforeClose:null,constrainToScrollParent:!0,constrainToWindow:!0,classes:"",remove:!1,openDelay:0,closeDelay:50,focusDelay:null,blurDelay:null,hoverOpenDelay:null,hoverCloseDelay:null,tetherOptions:{}}};c(s,b,n),c(s.defaults,b.defaults,n.defaults),"undefined"===typeof A[s.classPrefix]&&(A[s.classPrefix]=[]),s.updateBodyClasses=function(){for(var e=!1,t=A[s.classPrefix],n=t.length,r=0;r<n;++r)if(t[r].isOpened()){e=!0;break}e?l(document.body,s.classPrefix+"-open"):u(document.body,s.classPrefix+"-open")};var v=function(t){function n(e){if(a(this,n),i(Object.getPrototypeOf(n.prototype),"constructor",this).call(this),this.options=c({},s.defaults,e),this.target=this.options.target,"undefined"===typeof this.target)throw new Error("Drop Error: You must provide a target.");var t="data-"+s.classPrefix,r=this.target.getAttribute(t);r&&null==this.options.content&&(this.options.content=r);for(var o=["position","openOn"],u=0;u<o.length;++u){var d=this.target.getAttribute(t+"-"+o[u]);d&&null==this.options[o[u]]&&(this.options[o[u]]=d)}this.options.classes&&!1!==this.options.addTargetClasses&&l(this.target,this.options.classes),s.drops.push(this),A[s.classPrefix].push(this),this._boundEvents=[],this.bindMethods(),this.setupElements(),this.setupEvents(),this.setupTether()}return o(n,t),r(n,[{key:"_on",value:function(e,t,n){this._boundEvents.push({element:e,event:t,handler:n}),e.addEventListener(t,n)}},{key:"bindMethods",value:function(){this.transitionEndHandler=this._transitionEndHandler.bind(this)}},{key:"setupElements",value:function(){var e=this;if(this.drop=document.createElement("div"),l(this.drop,s.classPrefix),this.options.classes&&l(this.drop,this.options.classes),this.content=document.createElement("div"),l(this.content,s.classPrefix+"-content"),"function"===typeof this.options.content){var t=function(){var t=e.options.content.call(e,e);if("string"===typeof t)e.content.innerHTML=t;else{if("object"!==typeof t)throw new Error("Drop Error: Content function should return a string or HTMLElement.");e.content.innerHTML="",e.content.appendChild(t)}};t(),this.on("open",t.bind(this))}else"object"===typeof this.options.content?this.content.appendChild(this.options.content):this.content.innerHTML=this.options.content;this.drop.appendChild(this.content)}},{key:"setupTether",value:function(){var t=this.options.position.split(" ");t[0]=y[t[0]],t=t.join(" ");var n=[];this.options.constrainToScrollParent?n.push({to:"scrollParent",pin:"top, bottom",attachment:"together none"}):n.push({to:"scrollParent"}),!1!==this.options.constrainToWindow?n.push({to:"window",attachment:"together"}):n.push({to:"window"});var r={element:this.drop,target:this.target,attachment:f(t),targetAttachment:f(this.options.position),classPrefix:s.classPrefix,offset:"0 0",targetOffset:"0 0",enabled:!1,constraints:n,addTargetClasses:this.options.addTargetClasses};!1!==this.options.tetherOptions&&(this.tether=new e(c({},r,this.options.tetherOptions)))}},{key:"setupEvents",value:function(){var e=this;if(this.options.openOn)if("always"!==this.options.openOn){var t=this.options.openOn.split(" ");if(t.indexOf("click")>=0)for(var n=function(t){e.toggle(t),t.preventDefault()},r=function(t){e.isOpened()&&(t.target===e.drop||e.drop.contains(t.target)||t.target===e.target||e.target.contains(t.target)||e.close(t))},i=0;i<m.length;++i){var a=m[i];this._on(this.target,a,n),this._on(document,a,r)}var o=null,s=null,c=function(t){null!==s?clearTimeout(s):o=setTimeout((function(){e.open(t),o=null}),("focus"===t.type?e.options.focusDelay:e.options.hoverOpenDelay)||e.options.openDelay)},l=function(t){null!==o?clearTimeout(o):s=setTimeout((function(){e.close(t),s=null}),("blur"===t.type?e.options.blurDelay:e.options.hoverCloseDelay)||e.options.closeDelay)};t.indexOf("hover")>=0&&(this._on(this.target,"mouseover",c),this._on(this.drop,"mouseover",c),this._on(this.target,"mouseout",l),this._on(this.drop,"mouseout",l)),t.indexOf("focus")>=0&&(this._on(this.target,"focus",c),this._on(this.drop,"focus",c),this._on(this.target,"blur",l),this._on(this.drop,"blur",l))}else setTimeout(this.open.bind(this))}},{key:"isOpened",value:function(){if(this.drop)return d(this.drop,s.classPrefix+"-open")}},{key:"toggle",value:function(e){this.isOpened()?this.close(e):this.open(e)}},{key:"open",value:function(e){var t=this;this.isOpened()||(this.drop.parentNode||document.body.appendChild(this.drop),"undefined"!==typeof this.tether&&this.tether.enable(),l(this.drop,s.classPrefix+"-open"),l(this.drop,s.classPrefix+"-open-transitionend"),setTimeout((function(){t.drop&&l(t.drop,s.classPrefix+"-after-open")})),"undefined"!==typeof this.tether&&this.tether.position(),this.trigger("open"),s.updateBodyClasses())}},{key:"_transitionEndHandler",value:function(e){e.target===e.currentTarget&&(d(this.drop,s.classPrefix+"-open")||u(this.drop,s.classPrefix+"-open-transitionend"),this.drop.removeEventListener(g,this.transitionEndHandler))}},{key:"beforeCloseHandler",value:function(e){var t=!0;return this.isClosing||"function"!==typeof this.options.beforeClose||(this.isClosing=!0,t=!1!==this.options.beforeClose(e,this)),this.isClosing=!1,t}},{key:"close",value:function(e){this.isOpened()&&this.beforeCloseHandler(e)&&(u(this.drop,s.classPrefix+"-open"),u(this.drop,s.classPrefix+"-after-open"),this.drop.addEventListener(g,this.transitionEndHandler),this.trigger("close"),"undefined"!==typeof this.tether&&this.tether.disable(),s.updateBodyClasses(),this.options.remove&&this.remove(e))}},{key:"remove",value:function(e){this.close(e),this.drop.parentNode&&this.drop.parentNode.removeChild(this.drop)}},{key:"position",value:function(){this.isOpened()&&"undefined"!==typeof this.tether&&this.tether.position()}},{key:"destroy",value:function(){this.remove(),"undefined"!==typeof this.tether&&this.tether.destroy();for(var e=0;e<this._boundEvents.length;++e){var t=this._boundEvents[e],n=t.element,r=t.event,i=t.handler;n.removeEventListener(r,i)}this._boundEvents=[],this.tether=null,this.drop=null,this.content=null,this.target=null,p(A[s.classPrefix],this),p(s.drops,this)}}]),n}(h);return s}var w=k();return document.addEventListener("DOMContentLoaded",(function(){w.updateBodyClasses()})),w}))},"5fbd":function(e,t,n){"use strict";var r=n("e1f3"),i=n("5706").HTML_OPEN_CLOSE_TAG_RE,a=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var i,o,s,c,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(c=e.src.slice(l,u),i=0;i<a.length;i++)if(a[i][0]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion (code-quality): Moves variables from the right side to the left side of comparisons (flip-comparison)

Suggested change
var t={format:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),standalone:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_")},n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),r=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],i=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function a(e){return e>1&&e<5&&1!==~~(e/10)}function o(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"pár sekund":"pár sekundami";case"ss":return t||r?i+(a(e)?"sekundy":"sekund"):i+"sekundami";case"m":return t?"minuta":r?"minutu":"minutou";case"mm":return t||r?i+(a(e)?"minuty":"minut"):i+"minutami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?i+(a(e)?"hodiny":"hodin"):i+"hodinami";case"d":return t||r?"den":"dnem";case"dd":return t||r?i+(a(e)?"dny":"dní"):i+"dny";case"M":return t||r?"měsíc":"měsícem";case"MM":return t||r?i+(a(e)?"měsíce":"měsíců"):i+"měsíci";case"y":return t||r?"rok":"rokem";case"yy":return t||r?i+(a(e)?"roky":"let"):i+"lety"}}var s=e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s}))},"410c":function(e,t,n){var r={"./ar":"8e73","./ar.js":"8e73","./cs":"3c0d","./cs.js":"3c0d","./de":"b469","./de.js":"b469","./el":"8d47","./el.js":"8d47","./en-ie":"e1d3","./en-ie.js":"e1d3","./es":"898b","./es.js":"898b","./fr":"9f26","./fr.js":"9f26","./it":"6e98","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./pt-br":"d2d4","./pt-br.js":"d2d4","./zh-tw":"90ea","./zh-tw.js":"90ea"};function i(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=a,e.exports=i,i.id="410c"},4236:function(e,t,n){"use strict";var r=n("0068").isSpace;e.exports=function(e,t){var n,i,a,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;if(n=e.pending.length-1,i=e.posMax,!t)if(n>=0&&32===e.pending.charCodeAt(n))if(n>=1&&32===e.pending.charCodeAt(n-1)){a=n-1;while(a>=1&&32===e.pending.charCodeAt(a-1))a--;e.pending=e.pending.slice(0,a),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);o++;while(o<i&&r(e.src.charCodeAt(o)))o++;return e.pos=o,!0}},"428d":function(e,t,n){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},"43e0":function(e,t,n){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}},"44a8":function(e,t,n){"use strict";e.exports=function(e,t){var n,r,i,a,o,s,c=t+1,l=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(s=e.parentType,e.parentType="paragraph";c<u&&!e.isEmpty(c);c++)if(!(e.sCount[c]-e.blkIndent>3)&&!(e.sCount[c]<0)){for(r=!1,i=0,a=l.length;i<a;i++)if(l[i](e,c,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,c,e.blkIndent,!1).trim(),e.line=c,o=e.push("paragraph_open","p",1),o.map=[t,e.line],o=e.push("inline","",0),o.content=n,o.map=[t,e.line],o.children=[],o=e.push("paragraph_close","p",-1),e.parentType=s,!0}},"472d":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"dropdown",staticClass:"bunt-popover-inner",attrs:{role:"dialog",tabindex:"-1"},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.closeDropdown.apply(null,arguments)}}},[e._t("default")],2)},i=[],a=n("5c8f"),o=n.n(a);const s=o.a.createContext({classPrefix:"bunt-drop"});var c=s,l={name:"bunt-popover",props:{target:{type:String},dropdownPosition:{type:String,default:"bottom middle"},openOn:{type:String,default:"click"}},mounted(){if(this.target){const e=this.$parent.$refs[this.target];e.$el?this._target=e.$el:this._target=e,this.drop=new c({target:this._target,content:this.$refs.dropdown,position:this.dropdownPosition,constrainToWindow:!0,openOn:this.openOn}),"bottom left"!==this.dropdownPosition&&(this.drop.open(),this.drop.close(),this.drop.open(),this.drop.close())}},beforeDestroy(){this.drop&&(this.drop.remove(),this.drop.destroy())},methods:{openDropdown(){this.drop&&this.drop.open()},closeDropdown(){this.drop&&this.drop.close()},toggleDropdown(e){this.drop&&this.drop.toggle(e)},positionDrop(){const e=this.drop,t=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;let n=e.drop.getBoundingClientRect().width,r=e.target.getBoundingClientRect().left,i=t-r;if(n>i){let t=n>i?"right":"left";e.tether.attachment.left=t,e.tether.targetAttachment.left=t,e.position()}},dropdownOpened(){this.lastFocussedElement=document.activeElement,this.$refs.dropdown.focus(),this.$emit("opened")},dropdownClosed(){this.lastFocussedElement&&this.lastFocussedElement.focus(),this.$emit("closed")}}},u=l,d=n("2877"),h=Object(d["a"])(u,r,i,!1,null,null,null,!0);t["default"]=h.exports},4883:function(e,t,n){"use strict";function r(){this.__rules__=[],this.__cache__=null}r.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},r.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},r.prototype.at=function(e,t,n){var r=this.__find__(e),i=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null},r.prototype.before=function(e,t,n,r){var i=this.__find__(e),a=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},r.prototype.after=function(e,t,n,r){var i=this.__find__(e),a=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},r.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},r.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},r.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},r.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},r.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=r},"4a23":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,'.c-grid-schedule{flex:auto;background-color:#fafafa}.c-grid-schedule .grid{display:grid;grid-template-columns:78px repeat(var(--total-rooms),1fr) auto;position:relative;min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content}.c-grid-schedule .grid>.room{position:sticky;top:calc(var(--pretalx-sticky-date-offset) + var(--pretalx-sticky-top-offset, 0px));display:flex;justify-content:center;align-items:center;font-size:18px;background-color:#fff;border-bottom:1px solid rgba(0,0,0,.12);z-index:20}.c-grid-schedule .grid>.room .room-description{border:2px solid #bdbdbd;border-radius:100%;height:20px;width:20px;padding:0;font-weight:700;min-width:0;color:#9e9e9e;background-color:#fff;margin-left:8px}.c-grid-schedule .grid>.room .room-description:hover{background-color:#d9d9d9}.c-grid-schedule .grid>.room .room-description.autofocus:focus,body[modality=keyboard] .c-grid-schedule .grid>.room .room-description:focus{background-color:#d9d9d9;outline-color:#bfbfbf;outline-width:2px;outline-offset:2px}.c-grid-schedule .grid>.room .room-description .bunt-ripple-ink .ripple.held{opacity:.7}.c-grid-schedule .grid>.room .room-description.error{background-color:#f44336}.c-grid-schedule .grid>.room .room-description.error:hover{background-color:#f01d0d}.c-grid-schedule .grid>.room .room-description.error.autofocus:focus,body[modality=keyboard] .c-grid-schedule .grid>.room .room-description.error:focus{background-color:#f01d0d;outline-color:#d4190c}.c-grid-schedule .grid>.room .room-description.success{background-color:#4caf50}.c-grid-schedule .grid>.room .room-description.success:hover{background-color:#419544}.c-grid-schedule .grid>.room .room-description.success.autofocus:focus,body[modality=keyboard] .c-grid-schedule .grid>.room .room-description.success:focus{background-color:#419544;outline-color:#39833c}.c-grid-schedule .grid>.room .room-description .bunt-progress-circular svg circle{stroke:#9e9e9e}.c-grid-schedule .grid>.room .room-description .bunt-tooltip{height:auto;width:200px;white-space:normal}.c-grid-schedule .grid .break .time-box{background-color:#9e9e9e}.c-grid-schedule .grid .break .time-box .start{color:#fff}.c-grid-schedule .grid .break .time-box .duration{color:hsla(0,0%,100%,.7)}.c-grid-schedule .grid .break .info{background-color:#eee;border:none;justify-content:center;align-items:center}.c-grid-schedule .grid .break .info .title{font-size:20px;font-weight:500;color:rgba(0,0,0,.54);align:center}.c-grid-schedule .timeslice{color:rgba(0,0,0,.54);padding:8px 10px 0 16px;white-space:nowrap;position:sticky;left:0;text-align:center;background-color:#fafafa;border-top:1px solid rgba(0,0,0,.12);z-index:20}.c-grid-schedule .timeslice.datebreak{font-weight:600;border-top:3px solid rgba(0,0,0,.12);white-space:pre}.c-grid-schedule .timeslice.gap:before{content:"";display:block;width:6px;height:calc(100% - 42px);position:absolute;top:30px;left:50%;background-image:radial-gradient(circle closest-side,#9e9e9e calc(100% - .5px),transparent 100%);background-position:0 0;background-size:5px 15px;background-repeat:repeat-y}.c-grid-schedule .timeline{height:1px;background-color:rgba(0,0,0,.12);position:absolute;width:100%}.c-grid-schedule .timeline.datebreak{height:3px}.c-grid-schedule .now{z-index:20;position:sticky;left:2px}.c-grid-schedule .now:before{content:"";display:block;height:2px;background-color:#f44336;position:absolute;top:calc(var(--offset)*100%);width:100%}.c-grid-schedule .now.on-daybreak:before{background:repeating-linear-gradient(90deg,transparent,transparent 5px,#f44336 0,#f44336 10px)}.c-grid-schedule .now svg{position:absolute;top:calc(var(--offset)*100% - 11px);height:24px;width:24px;fill:#f44336}.c-grid-schedule .bunt-scrollbar-rail-wrapper-x,.c-grid-schedule .bunt-scrollbar-rail-wrapper-y{z-index:30}',""]),e.exports=t},"4a94":function(e,t,n){"use strict";e.exports=function(e,t){var n,r,i,a,o,s,c,l,u=e.pos,d=e.src.charCodeAt(u);if(96!==d)return!1;n=u,u++,r=e.posMax;while(u<r&&96===e.src.charCodeAt(u))u++;if(i=e.src.slice(n,u),c=i.length,e.backticksScanned&&(e.backticks[c]||0)<=n)return t||(e.pending+=i),e.pos+=c,!0;o=s=u;while(-1!==(o=e.src.indexOf("`",s))){s=o+1;while(s<r&&96===e.src.charCodeAt(s))s++;if(l=s-o,l===c)return t||(a=e.push("code_inline","code",0),a.markup=i,a.content=e.src.slice(u,o).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=s,!0;e.backticks[l]=o}return e.backticksScanned=!0,t||(e.pending+=i),e.pos+=c,!0}},"4b3e":function(e,t,n){"use strict";var r=n("0068").isSpace;function i(e,t){var n,i,a,o;return i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],n=e.src.charCodeAt(i++),42!==n&&45!==n&&43!==n||i<a&&(o=e.src.charCodeAt(i),!r(o))?-1:i}function a(e,t){var n,i=e.bMarks[t]+e.tShift[t],a=i,o=e.eMarks[t];if(a+1>=o)return-1;if(n=e.src.charCodeAt(a++),n<48||n>57)return-1;for(;;){if(a>=o)return-1;if(n=e.src.charCodeAt(a++),!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(a-i>=10)return-1}return a<o&&(n=e.src.charCodeAt(a),!r(n))?-1:a}function o(e,t){var n,r,i=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===i&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}e.exports=function(e,t,n,r){var s,c,l,u,d,h,f,p,m,b,g,v,_,y,A,k,w,x,M,C,S,E,D,T,O,L,P,z,Y=!1,N=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]<e.blkIndent)return!1;if(r&&"paragraph"===e.parentType&&e.sCount[t]>=e.blkIndent&&(Y=!0),(D=a(e,t))>=0){if(f=!0,O=e.bMarks[t]+e.tShift[t],_=Number(e.src.slice(O,D-1)),Y&&1!==_)return!1}else{if(!((D=i(e,t))>=0))return!1;f=!1}if(Y&&e.skipSpaces(D)>=e.eMarks[t])return!1;if(v=e.src.charCodeAt(D-1),r)return!0;g=e.tokens.length,f?(z=e.push("ordered_list_open","ol",1),1!==_&&(z.attrs=[["start",_]])):z=e.push("bullet_list_open","ul",1),z.map=b=[t,0],z.markup=String.fromCharCode(v),A=t,T=!1,P=e.md.block.ruler.getRules("list"),x=e.parentType,e.parentType="list";while(A<n){E=D,y=e.eMarks[A],h=k=e.sCount[A]+D-(e.bMarks[t]+e.tShift[t]);while(E<y){if(s=e.src.charCodeAt(E),9===s)k+=4-(k+e.bsCount[A])%4;else{if(32!==s)break;k++}E++}if(c=E,d=c>=y?1:k-h,d>4&&(d=1),u=h+d,z=e.push("list_item_open","li",1),z.markup=String.fromCharCode(v),z.map=p=[t,0],f&&(z.info=e.src.slice(O,D-1)),S=e.tight,C=e.tShift[t],M=e.sCount[t],w=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=u,e.tight=!0,e.tShift[t]=c-e.bMarks[t],e.sCount[t]=k,c>=y&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!T||(N=!1),T=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=w,e.tShift[t]=C,e.sCount[t]=M,e.tight=S,z=e.push("list_item_close","li",-1),z.markup=String.fromCharCode(v),A=t=e.line,p[1]=A,c=e.bMarks[t],A>=n)break;if(e.sCount[A]<e.blkIndent)break;if(e.sCount[t]-e.blkIndent>=4)break;for(L=!1,l=0,m=P.length;l<m;l++)if(P[l](e,A,n,!0)){L=!0;break}if(L)break;if(f){if(D=a(e,A),D<0)break;O=e.bMarks[A]+e.tShift[A]}else if(D=i(e,A),D<0)break;if(v!==e.src.charCodeAt(D-1))break}return z=f?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1),z.markup=String.fromCharCode(v),b[1]=A,e.line=A,e.parentType=x,N&&o(e,g),!0}},"4c26":function(e,t,n){"use strict";var r=/\r\n?|\n/g,i=/\0/g;e.exports=function(e){var t;t=e.src.replace(r,"\n"),t=t.replace(i,"�"),e.src=t}},"4cb4":function(e,t,n){"use strict";var r=n("4883"),i=[["text",n("baca")],["newline",n("4236")],["escape",n("6e00")],["backticks",n("4a94")],["strikethrough",n("922c").tokenize],["emphasis",n("c8a9").tokenize],["link",n("cd0f")],["image",n("932d")],["autolink",n("28ec")],["html_inline",n("c2d8")],["entity",n("5b54")]],a=[["balance_pairs",n("838d")],["strikethrough",n("922c").postProcess],["emphasis",n("c8a9").postProcess],["text_collapse",n("2085")]];function o(){var e;for(this.ruler=new r,e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1]);for(this.ruler2=new r,e=0;e<a.length;e++)this.ruler2.push(a[e][0],a[e][1])}o.prototype.skipToken=function(e){var t,n,r=e.pos,i=this.ruler.getRules(""),a=i.length,o=e.md.options.maxNesting,s=e.cache;if("undefined"===typeof s[r]){if(e.level<o){for(n=0;n<a;n++)if(e.level++,t=i[n](e,!0),e.level--,t)break}else e.pos=e.posMax;t||e.pos++,s[r]=e.pos}else e.pos=s[r]},o.prototype.tokenize=function(e){var t,n,r=this.ruler.getRules(""),i=r.length,a=e.posMax,o=e.md.options.maxNesting;while(e.pos<a){if(e.level<o)for(n=0;n<i;n++)if(t=r[n](e,!1),t)break;if(t){if(e.pos>=a)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},o.prototype.parse=function(e,t,n,r){var i,a,o,s=new this.State(e,t,n,r);for(this.tokenize(s),a=this.ruler2.getRules(""),o=a.length,i=0;i<o;i++)a[i](s)},o.prototype.State=n("097b"),e.exports=o},"4fc2":function(e,t){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},"565b":function(e,t,n){"use strict";t.parseLinkLabel=n("df56"),t.parseLinkDestination=n("e4ca"),t.parseLinkTitle=n("7d91")},5706:function(e,t,n){"use strict";var r="[a-zA-Z_:][a-zA-Z0-9:._-]*",i="[^\"'=<>`\\x00-\\x20]+",a="'[^']*'",o='"[^"]*"',s="(?:"+i+"|"+a+"|"+o+")",c="(?:\\s+"+r+"(?:\\s*=\\s*"+s+")?)",l="<[A-Za-z][A-Za-z0-9\\-]*"+c+"*\\s*\\/?>",u="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",d="\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e",h="<[?][\\s\\S]*?[?]>",f="<![A-Z]+\\s+[^>]*>",p="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",m=new RegExp("^(?:"+l+"|"+u+"|"+d+"|"+h+"|"+f+"|"+p+")"),b=new RegExp("^(?:"+l+"|"+u+")");e.exports.HTML_TAG_RE=m,e.exports.HTML_OPEN_CLOSE_TAG_RE=b},"5a74":function(e,t,n){"use strict";if(n.r(t),"undefined"!==typeof window){var r=window.document.currentScript;if(Object({NODE_ENV:"production",BASE_URL:"/"}).NEED_CURRENTSCRIPT_POLYFILL){var i=n("8875");r=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i})}var a=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);a&&(n.p=a[1])}var o=n("2b0e");const s=/-(\w)/g,c=e=>e.replace(s,(e,t)=>t?t.toUpperCase():""),l=/\B([A-Z])/g,u=e=>e.replace(l,"-$1").toLowerCase();function d(e){const t={};return e.forEach(e=>{t[e]=void 0}),t}function h(e,t,n){e[t]=[].concat(e[t]||[]),e[t].unshift(n)}function f(e,t){if(e){const n=e.$options[t]||[];n.forEach(t=>{t.call(e)})}}function p(e,t){return new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:t})}const m=e=>/function Boolean/.test(String(e)),b=e=>/function Number/.test(String(e));function g(e,t,{type:n}={}){if(m(n))return"true"===e||"false"===e?"true"===e:""===e||e===t||null!=e||e;if(b(n)){const t=parseFloat(e,10);return isNaN(t)?e:t}return e}function v(e,t){const n=[];for(let r=0,i=t.length;r<i;r++)n.push(_(e,t[r]));return n}function _(e,t){if(3===t.nodeType)return t.data.trim()?t.data:null;if(1===t.nodeType){const n={attrs:y(t),domProps:{innerHTML:t.innerHTML}};return n.attrs.slot&&(n.slot=n.attrs.slot,delete n.attrs.slot),e(t.tagName,n)}return null}function y(e){const t={};for(let n=0,r=e.attributes.length;n<r;n++){const r=e.attributes[n];t[r.nodeName]=r.nodeValue}return t}function A(e,t){const n="function"===typeof t&&!t.cid;let r,i,a,o=!1;function s(e){if(o)return;const t="function"===typeof e?e.options:e,n=Array.isArray(t.props)?t.props:Object.keys(t.props||{});r=n.map(u),i=n.map(c);const s=Array.isArray(t.props)?{}:t.props||{};a=i.reduce((e,t,r)=>(e[t]=s[n[r]],e),{}),h(t,"beforeCreate",(function(){const e=this.$emit;this.$emit=(t,...n)=>(this.$root.$options.customElement.dispatchEvent(p(t,n)),e.call(this,t,...n))})),h(t,"created",(function(){i.forEach(e=>{this.$root.props[e]=this[e]})})),i.forEach(e=>{Object.defineProperty(m.prototype,e,{get(){return this._wrapper.props[e]},set(t){this._wrapper.props[e]=t},enumerable:!1,configurable:!0})}),o=!0}function l(e,t){const n=c(t),r=e.hasAttribute(t)?e.getAttribute(t):void 0;e._wrapper.props[n]=g(r,t,a[n])}class m extends HTMLElement{constructor(){const n=super();n.attachShadow({mode:"open"});const r=n._wrapper=new e({name:"shadow-root",customElement:n,shadowRoot:n.shadowRoot,data(){return{props:{},slotChildren:[]}},render(e){return e(t,{ref:"inner",props:this.props},this.slotChildren)}}),i=new MutationObserver(e=>{let t=!1;for(let r=0;r<e.length;r++){const i=e[r];o&&"attributes"===i.type&&i.target===n?l(n,i.attributeName):t=!0}t&&(r.slotChildren=Object.freeze(v(r.$createElement,n.childNodes)))});i.observe(n,{childList:!0,subtree:!0,characterData:!0,attributes:!0})}get vueComponent(){return this._wrapper.$refs.inner}connectedCallback(){const e=this._wrapper;if(e._isMounted)f(this.vueComponent,"activated");else{const n=()=>{e.props=d(i),r.forEach(e=>{l(this,e)})};o?n():t().then(e=>{(e.__esModule||"Module"===e[Symbol.toStringTag])&&(e=e.default),s(e),n()}),e.slotChildren=Object.freeze(v(e.$createElement,this.childNodes)),e.$mount(),this.shadowRoot.appendChild(e.$el)}}disconnectedCallback(){f(this.vueComponent,"deactivated")}}return n||s(t),m}var k=A,w=(n("24fb"),n("35d6"),n("2877")),x=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"pretalx-schedule",class:e.showGrid?["grid-schedule"]:["list-schedule"],style:{"--scrollparent-width":e.scrollParentWidth+"px","--schedule-max-width":e.scheduleMaxWidth+"px","--pretalx-sticky-date-offset":e.days&&e.days.length>1?"48px":"0px"}},[e.scheduleError?[e._m(0)]:e.schedule&&e.sessions?[e.showFilterModal?n("div",{staticClass:"modal-overlay",on:{click:function(t){t.stopPropagation(),e.showFilterModal=!1}}},[n("div",{staticClass:"modal-box",on:{click:function(e){e.stopPropagation()}}},[n("h3",[e._v("Tracks")]),e._l(e.allTracks,(function(t){return n("div",{key:t.value,staticClass:"checkbox-line",style:{"--track-color":t.color}},[n("bunt-checkbox",{attrs:{type:"checkbox",label:t.label,name:t.value+t.label,value:t.value},on:{input:function(t){e.onlyFavs=!1}},model:{value:t.selected,callback:function(n){e.$set(t,"selected",n)},expression:"track.selected"}}),e.getLocalizedString(t.description).length?n("div",{staticClass:"track-description"},[e._v(e._s(e.getLocalizedString(t.description)))]):e._e()],1)}))],2)]):e._e(),n("div",{staticClass:"settings"},[this.schedule.tracks.length?n("bunt-button",{staticClass:"filter-tracks",on:{click:function(t){e.showFilterModal=!0}}},[n("svg",{attrs:{id:"filter",viewBox:"0 0 752 752"}},[n("path",{attrs:{d:"m401.57 264.71h-174.75c-6.6289 0-11.84 5.2109-11.84 11.84 0 6.6289 5.2109 11.84 11.84 11.84h174.75c5.2109 17.523 21.312 30.309 40.727 30.309 18.941 0 35.52-12.785 40.254-30.309h43.098c6.6289 0 11.84-5.2109 11.84-11.84 0-6.6289-5.2109-11.84-11.84-11.84h-43.098c-5.2109-17.523-21.312-30.309-40.254-30.309-19.414 0-35.516 12.785-40.727 30.309zm58.723 11.84c0 10.418-8.5234 18.469-18.469 18.469s-18.469-8.0508-18.469-18.469 8.5234-18.469 18.469-18.469c9.4727-0.003906 18.469 8.0469 18.469 18.469z"}}),n("path",{attrs:{d:"m259.5 359.43h-32.676c-6.6289 0-11.84 5.2109-11.84 11.84s5.2109 11.84 11.84 11.84h32.676c5.2109 17.523 21.312 30.309 40.727 30.309 18.941 0 35.52-12.785 40.254-30.309h185.17c6.6289 0 11.84-5.2109 11.84-11.84s-5.2109-11.84-11.84-11.84h-185.17c-5.2109-17.523-21.312-30.309-40.254-30.309-19.418 0-35.52 12.785-40.73 30.309zm58.723 11.84c0 10.418-8.5234 18.469-18.469 18.469-9.9453 0-18.469-8.0508-18.469-18.469s8.5234-18.469 18.469-18.469c9.9453 0 18.469 8.0508 18.469 18.469z"}}),n("path",{attrs:{d:"m344.75 463.61h-117.92c-6.6289 0-11.84 5.2109-11.84 11.84s5.2109 11.84 11.84 11.84h117.92c5.2109 17.523 21.312 30.309 40.727 30.309 18.941 0 35.52-12.785 40.254-30.309h99.926c6.6289 0 11.84-5.2109 11.84-11.84s-5.2109-11.84-11.84-11.84h-99.926c-5.2109-17.523-21.312-30.309-40.254-30.309-19.418 0-35.52 12.785-40.727 30.309zm58.723 11.84c0 10.418-8.5234 18.469-18.469 18.469s-18.469-8.0508-18.469-18.469 8.5234-18.469 18.469-18.469 18.469 8.0508 18.469 18.469z"}})]),[e._v("Filter")],e.filteredTracks.length?[e._v("("+e._s(e.filteredTracks.length)+")")]:e._e()],2):e._e(),e.favs.length?n("bunt-button",{staticClass:"fav-toggle",class:e.onlyFavs?["active"]:[],on:{click:function(t){e.onlyFavs=!e.onlyFavs,e.onlyFavs&&e.resetFilteredTracks()}}},[n("svg",{attrs:{id:"star",viewBox:"0 0 24 24"}},[n("polygon",{style:{fill:"#FFA000",stroke:"#FFA000"},attrs:{points:"14.43,10 12,2 9.57,10 2,10 8.18,14.41 5.83,22 12,17.31 18.18,22 15.83,14.41 22,10"}})]),[e._v(e._s(e.favs.length))]],2):e._e(),e.inEventTimezone?[n("div",{staticClass:"timezone-label bunt-tab-header-item"},[e._v(e._s(e.schedule.timezone))])]:[n("bunt-select",{attrs:{name:"timezone",options:[{id:e.schedule.timezone,label:e.schedule.timezone},{id:e.userTimezone,label:e.userTimezone}]},on:{blur:e.saveTimezone},model:{value:e.currentTimezone,callback:function(t){e.currentTimezone=t},expression:"currentTimezone"}})]],2),e.days&&e.days.length>1?n("bunt-tabs",{ref:"tabs",staticClass:"days",class:e.showGrid?["grid-tabs"]:["list-tabs"],attrs:{"active-tab":e.currentDay&&e.currentDay.format()}},e._l(e.days,(function(t){return n("bunt-tab",{attrs:{id:t.format(),header:t.format(e.dateFormat)},on:{selected:function(n){return e.changeDay(t)}}})})),1):e._e(),e.showGrid?n("grid-schedule",{attrs:{sessions:e.sessions,rooms:e.rooms,currentDay:e.currentDay,now:e.now,scrollParent:e.scrollParent,favs:e.favs},on:{changeDay:function(t){e.currentDay=t},fav:function(t){return e.fav(t)},unfav:function(t){return e.unfav(t)}}}):n("linear-schedule",{attrs:{sessions:e.sessions,currentDay:e.currentDay,now:e.now,scrollParent:e.scrollParent,favs:e.favs},on:{changeDay:function(t){e.currentDay=t},fav:function(t){return e.fav(t)},unfav:function(t){return e.unfav(t)}}})]:n("bunt-progress-circular",{attrs:{size:"huge",page:!0}})],2)},M=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"schedule-error"},[n("div",{staticClass:"error-message"},[e._v("An error occurred while loading the schedule. Please try again later.")])])}],C=n("6dd8");class S{constructor(e,t){if(this.options=t,this.onScroll=this.onScroll.bind(this),this.onDocumentMousemove=this.onDocumentMousemove.bind(this),this.onDocumentMouseup=this.onDocumentMouseup.bind(this),this.onThumbMousedownX=this.onThumbMousedown.bind(this,"x"),this.onThumbMousedownY=this.onThumbMousedown.bind(this,"y"),this.onResize=this.onResize.bind(this),this.el=e,this.railsParent=t.railsParent||this.el,this.refreshStyling(),t.scrollX&&this.createRail("x"),t.scrollY&&this.createRail("y"),t.manualCompute||(this.computeDimensions(),this.computeThumbPositions(),this.update()),this.el.addEventListener("scroll",this.onScroll),!t.manualUpdate){this.resizeObserver=new C["a"](this.onResize),this.resizeObserver.observe(this.el);for(const e of this.el.children)this.resizeObserver.observe(e);this.mutationObserver=new MutationObserver(e=>{for(const t of e){for(const e of t.addedNodes)e.nodeType===Node.ELEMENT_NODE&&this.resizeObserver.observe(e);for(const e of t.removedNodes)e.nodeType===Node.ELEMENT_NODE&&this.resizeObserver.unobserve(e)}this.onResize()}),this.mutationObserver.observe(this.el,{childList:!0})}}createRail(e){const t=document.createElement("div");t.classList.add("bunt-scrollbar-rail-wrapper-"+e);const n=document.createElement("div");n.classList.add("bunt-scrollbar-rail-"+e);const r=document.createElement("div");r.classList.add("bunt-scrollbar-thumb"),t.appendChild(n),n.appendChild(r),this.railsParent.appendChild(t),r.addEventListener("mousedown",this["onThumbMousedown"+e.toUpperCase()]),this[e]={railEl:n,thumbEl:r}}destroy(){var e,t,n,r;null===(e=this.resizeObserver)||void 0===e||e.disconnect(),null===(t=this.mutationObserver)||void 0===t||t.disconnect(),document.removeEventListener("mousemove",this.onDocumentMousemove),document.removeEventListener("mouseup",this.onDocumentMouseup,{capture:!0}),this.el.removeEventListener("scroll",this.onScroll),null===(n=this.x)||void 0===n||n.thumbEl.removeEventListener("mousedown",this.onThumbMousedownX),null===(r=this.y)||void 0===r||r.thumbEl.removeEventListener("mousedown",this.onThumbMousedownY)}refreshStyling(){this.el.classList.add("bunt-scrollbar")}update(){this.updateThumb("x"),this.updateThumb("y")}onScroll(e){this.options.onScroll&&this.options.onScroll(e),this.computeThumbPositions(),this.update()}onThumbMousedown(e,t){t.stopPropagation(),this.options._preventMousedown&&t.preventDefault(),this.dragging=e,this.draggingOffset=t["offset"+e.toUpperCase()],this.el.style.userSelect="none",document.body.style["-moz-user-select"]="none",this[e].railEl.classList.add("active"),document.addEventListener("mousemove",this.onDocumentMousemove),document.addEventListener("mouseup",this.onDocumentMouseup,{capture:!0})}onDocumentMousemove(e){if("x"===this.dragging){const t=this.el.clientWidth-this.x.thumbLength,n=e.clientX-this.el.getBoundingClientRect().left-this.draggingOffset;this.x.thumbPosition=Math.min(Math.max(0,n),t),this.el.scrollLeft=this.x.thumbPosition/t*(this.el.scrollWidth-this.el.clientWidth)}if("y"===this.dragging){const t=this.el.clientHeight-this.y.thumbLength,n=e.clientY-this.el.getBoundingClientRect().top-this.draggingOffset;this.y.thumbPosition=Math.min(Math.max(0,n),t),this.el.scrollTop=this.y.thumbPosition/t*(this.el.scrollHeight-this.el.clientHeight)}this.updateThumb(this.dragging)}onDocumentMouseup(e){this[this.dragging].railEl.classList.remove("active"),this.dragging=null,this.el.style.userSelect="",document.body.style["-moz-user-select"]="",document.removeEventListener("mousemove",this.onDocumentMousemove),document.removeEventListener("mouseup",this.onDocumentMouseup,{capture:!0})}onResize(e){this.computeDimensions(),this.computeThumbPositions(),this.update()}computeDimensions(){this.x&&(this.x.railLength=this.el.clientWidth,this.x.visibleRatio=this.el.clientWidth/this.el.scrollWidth,this.x.thumbLength=this.el.clientWidth*this.x.visibleRatio),this.y&&(this.y.railLength=this.el.clientHeight,this.y.visibleRatio=this.el.clientHeight/this.el.scrollHeight,this.y.thumbLength=this.el.clientHeight*this.y.visibleRatio)}computeThumbPositions(){this.x&&(this.x.thumbPosition=this.el.scrollLeft/(this.el.scrollWidth-this.el.clientWidth)*(this.el.clientWidth-this.x.thumbLength)),this.y&&(this.y.thumbPosition=this.el.scrollTop/(this.el.scrollHeight-this.el.clientHeight)*(this.el.clientHeight-this.y.thumbLength))}updateThumb(e){const t=this[e];t&&(t.visibleRatio>=1?t.thumbEl.style.display="none":(t.thumbEl.style.display=null,"x"===e?(t.railEl.style.width=t.railLength+"px",t.thumbEl.style.width=t.thumbLength+"px",t.thumbEl.style.left=t.thumbPosition+"px"):"y"===e&&(t.railEl.style.height=t.railLength+"px",t.thumbEl.style.height=t.thumbLength+"px",t.thumbEl.style.top=t.thumbPosition+"px")))}}var E=function(e){e.directive("scrollbar",{bind(e,t,n){var r;e.__buntpapier__scrollbar=new S(e,{scrollX:t.modifiers.x,scrollY:t.modifiers.y,_preventMousedown:null===(r=t.value)||void 0===r?void 0:r._preventMousedown})},inserted(e){e.__buntpapier__scrollbar&&(e.__buntpapier__scrollbar.refreshStyling(),e.__buntpapier__scrollbar.update())},componentUpdated(e,t,n,r){e.__buntpapier__scrollbar?(e.__buntpapier__scrollbar.refreshStyling(),e.__buntpapier__scrollbar.update()):e.__buntpapier__scrollbar=new S(e,{scrollX:t.modifiers.x,scrollY:t.modifiers.y})},unbind(e,t,n,r){e.__buntpapier__scrollbar&&e.__buntpapier__scrollbar.destroy()}})},D=n("f0bd");const T=32;var O=function(e){class t{constructor(e,t){this.el=e,this.options=t,this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.options.placement=t.placement||"auto",this.el.addEventListener("mouseenter",this.show),this.el.addEventListener("mouseleave",this.hide)}createTooltip(){this.tooltipEl||(this.tooltipEl=document.createElement("div"),this.tooltipEl.classList.add("bunt-tooltip"),this.tooltipEl.style.position=this.options.fixed?"fixed":"absolute",this.tooltipEl.textContent=this.text,this.el.appendChild(this.tooltipEl),this.popper=new D["a"](this.el,this.tooltipEl,{removeOnDestroy:!0,placement:this.options.placement,positionFixed:this.options.fixed,modifiers:{offset:{offset:"0, 8"},applyStyle:{enabled:!1},preventOverflow:{boundariesElement:this.options.boundariesElement||"scrollParent"},applyTooltipStyle:{enabled:!0,fn:e=>{this.positions=e.popper,this.tooltipEl.style.transform=`translate3d(${Math.round(this.positions.left)}px, ${Math.round(this.positions.top)}px, 0)`},order:900}}}))}update(t,n){this.text=t,this.forceDisplay=n,e.nextTick(()=>{n?this.show():this.hide()})}destroyTooltip(){this.popper&&(this.popper.destroy(),this.popper=null,this.tooltipEl=null)}destroy(){this.destroyTooltip(),this.el.removeEventListener("mouseenter",this.show),this.el.removeEventListener("mouseleave",this.hide)}show(){!this.displaying&&this.text&&(this.createTooltip(),this.displaying=!0,e.nextTick(()=>{if(this.animation)this.animation.reverse();else{let e;e=this.options.placement.startsWith("top")?{top:Math.round(this.positions.top)+T,left:Math.round(this.positions.left)}:this.options.placement.startsWith("left")?{top:Math.round(this.positions.top),left:Math.round(this.positions.left)+T}:this.options.placement.startsWith("right")?{top:Math.round(this.positions.top),left:Math.round(this.positions.left)-T}:{top:Math.round(this.positions.top)-T,left:Math.round(this.positions.left)},this.animation=this.tooltipEl.animate([{transform:`translate3d(${e.left}px, ${e.top}px, 0)`,opacity:0},{transform:`translate3d(${Math.round(this.positions.left)}px, ${Math.round(this.positions.top)}px, 0)`,opacity:1}],{duration:200,easing:"ease-in-out"}),this.animation.onfinish=()=>{this.animation&&this.animation.playbackRate<0&&(this.destroyTooltip(),this.animation=null)}}}))}hide(){this.displaying&&!this.forceDisplay&&(this.displaying=!1,this.animation&&this.animation.reverse(),this.text||this.destroyTooltip())}}e.directive("tooltip",{bind(e,n,r){let i;i="string"===typeof n.value?n.value:n.value.text,e.__buntpapier__tooltip=new t(e,{placement:n.value.placement||Object.keys(n.modifiers).find(e=>["auto","top","right","bottom","left"].find(t=>e.startsWith(t))),fixed:n.value.fixed||n.modifiers.fixed,boundariesElement:n.value.boundariesElement}),e.__buntpapier__tooltip.update(i,n.value.show)},update(e,t,n,r){if(!e.__buntpapier__tooltip||t.value===t.oldValue)return;let i;i="string"===typeof t.value?t.value:t.value.text,e.__buntpapier__tooltip.update(i,t.value.show)},unbind(e,t,n,r){e.__buntpapier__tooltip&&e.__buntpapier__tooltip.destroy()}})},L=function(e){e.directive("resizeObserver",{bind(e,t){const n=new C["a"](t.value);n.observe(e),e.__buntpapier__resize_observer=n},unbind(e,t,n,r){e.__buntpapier__resize_observer&&e.__buntpapier__resize_observer.disconnect()}}),E(e),O(e)},P=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.tooltipOptions||{text:e._tooltip,show:!!this.errorMessage,placement:e.tooltipPlacement,fixed:e.tooltipFixed},expression:"tooltipOptions || {text: _tooltip, show: !!this.errorMessage, placement: tooltipPlacement, fixed: tooltipFixed}"}],ref:"button",staticClass:"bunt-button",class:{disabled:e.disabled||e.loading||e.showSuccess,error:e.errorMessage||e.error,success:e.showSuccess},attrs:{type:e.type,"aria-disabled":e.disabled},on:{click:e.onClick}},[n("div",{staticClass:"bunt-button-content",class:{invisible:e.loading||e.errorMessage||e.error||e.showSuccess}},[e.icon?n("i",{staticClass:"bunt-icon mdi",class:[e.iconClass]}):e._e(),n("div",{staticClass:"bunt-button-text"},[e._t("default",(function(){return[n("span",{domProps:{textContent:e._s(e.text)}})]}))],2)]),n("progress-circular",{directives:[{name:"show",rawName:"v-show",value:e.loading,expression:"loading"}],attrs:{size:"small"}}),e.errorMessage||e.error?n("i",{staticClass:"bunt-icon mdi mdi-replay error"}):e._e(),e.showSuccess?n("i",{staticClass:"bunt-icon mdi mdi-check success"}):e._e(),e.noInk||e.disabled?e._e():n("ripple-ink")],1)},z=[],Y=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-ripple-ink",on:{mousedown:function(t){return e.mousedown(t)},touchstart:function(t){return e.touchstart(t)}}},[n("transition",{attrs:{name:"ripple-ink"}},[e.show?n("div",{staticClass:"ripple",style:e.style}):e._e()])],1)},N=[],j={name:"bunt-ripple-ink",data(){return{show:!1,style:null}},methods:{mousedown(e){0===e.button&&this.ripple(e.type,e)},touchstart(e){if(e.changedTouches)for(let t=0;t<e.changedTouches.length;++t)this.ripple(e.type,e.changedTouches[t])},ripple(e,t){const n=this.$el,r=n.getAttribute("data-ui-event");if(r&&r!==e)return;n.setAttribute("data-ui-event",e);let i,a=n.getBoundingClientRect(),o=t.offsetX;void 0!==o?i=t.offsetY:(o=t.clientX-a.left,i=t.clientY-a.top);let s=a.width===a.height?1.412*a.width:Math.sqrt(a.width*a.width+a.height*a.height),c=2*s+"px";this.style={width:c,height:c,marginLeft:-s+o+"px",marginTop:-s+i+"px"},this.show=!0;const l=["mouseleave","mouseup","touchend"],u=()=>{l.forEach(e=>{n.removeEventListener(e,u)}),setTimeout(()=>{this.show=!1,this.style=null,n.removeAttribute("data-ui-event")},200)};l.forEach(e=>{n.addEventListener(e,u)})}}},F=j,R=Object(w["a"])(F,Y,N,!1,null,null,null,!0),B=R.exports,$={props:{noInk:{type:Boolean,default:!1}},components:{RippleInk:B}},I=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-progress-circular active",class:[e.size,{"progress-center":e.center,"progress-page":e.page}]},[n("svg",{attrs:{viewBox:"25 25 50 50"}},[n("circle",{attrs:{cx:"50",cy:"50",r:"20"}})])])},q=[],H={props:{center:{type:Boolean,default:!1},page:{type:Boolean,default:!1},size:{type:String,default:"normal"}},data(){return{}},ready(){},beforeDestroy(){},methods:{}},W=H,U=Object(w["a"])(W,I,q,!1,null,null,null,!0),V=U.exports;const G={add:"plus",done:"check",remove:"minus",search:"magnify",help_outline:"help-circle-outline"};var K={getClass(e){return e?"mdi-"+(G[e]||e).replace("_","-"):""}},Z={name:"bunt-button",components:{ProgressCircular:V},mixins:[$],props:{text:String,icon:String,iconRight:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},type:{type:String,default:"button"},error:Boolean,errorMessage:String,successAfterLoading:{type:Boolean,default:!0},tooltip:String,tooltipPlacement:{type:String,default:"bottom"},tooltipFixed:{type:Boolean,default:!1},tooltipOptions:Object},data(){return{_loading:!1,showSuccess:!1}},computed:{_tooltip(){return this.errorMessage?this.errorMessage:this.tooltip},iconClass(){return K.getClass(this.icon)}},watch:{loading:"loadingChanged",errorMessage:"errorChanged",error:"errorChanged"},methods:{loadingChanged(e){if(e)this._loading=e,this.userShowTooltip=!1,this.showSuccess=!1,this.$successTimeout&&clearTimeout(this.$successTimeout);else{if(this._loading=e,this.errorMessage||this.error)return;this.showSuccess=!0,this.$successTimeout=setTimeout(()=>{this.showSuccess=!1},3e3)}},errorChanged(e){null!==e&&(this.showSuccess=!1)},onClick(e){this.disabled||this.loading||this.showSuccess||this.$emit("click",e)}}},X=Z,J=Object(w["a"])(X,P,z,!1,null,null,null,!0),Q=J.exports,ee=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-checkbox",class:{checked:e.value}},[n("input",{attrs:{type:"checkbox",name:e.name,disabled:e.disabled,readonly:e.readonly},domProps:{checked:e.value},on:{change:function(t){return e.onChange(t)},focus:function(t){e.focused=!0},blur:e.onBlur}}),n("div",{staticClass:"bunt-checkbox-box"}),e.label?n("label",[e._v(e._s(e.label))]):n("label",[e._t("default")],2)])},te=[],ne={name:"bunt-checkbox",components:{},props:{value:{type:Boolean,default:!1},name:{type:String,required:!0},label:String,disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},data(){return{focused:!1}},computed:{},created(){},mounted(){this.$nextTick(()=>{})},methods:{onChange(e){this.$emit("input",e.target.checked),this.validation&&this.validation.$touch()},onBlur(){this.focused=!1,this.validation&&this.validation.$touch()}}},re=ne,ie=Object(w["a"])(re,ee,te,!1,null,null,null,!0),ae=ie.exports,oe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-radio",class:{checked:e.isChecked}},[n("input",{attrs:{type:"radio",name:e.name,disabled:e.disabled,readonly:e.readonly},domProps:{value:e.value,checked:e.isChecked},on:{change:function(t){return e.onChange(t)},focus:function(t){e.focused=!0},blur:e.onBlur}}),n("div",{staticClass:"bunt-radio-circle"}),e.label?n("label",[e._v(e._s(e.label))]):n("label",[e._t("default")],2)])},se=[],ce={name:"bunt-radio",model:{prop:"checked",event:"change"},props:{checked:null,value:null,name:{type:String,required:!0},label:String,disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},data(){return{focused:!1}},computed:{isChecked(){return this.checked===this.value}},methods:{onChange(e){this.$emit("change",this.value),this.validation&&this.validation.$touch()},onBlur(){this.focused=!1,this.validation&&this.validation.$touch()}}},le=ce,ue=Object(w["a"])(le,oe,se,!1,null,null,null,!0),de=ue.exports,he=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("i",{staticClass:"bunt-icon mdi",class:[e.iconClass]})},fe=[],pe={name:"bunt-icon",props:{icon:{type:String,required:!0}},computed:{iconClass(){return K.getClass(this.icon)}}},me=pe,be=Object(w["a"])(me,he,fe,!1,null,null,null,!0),ge=be.exports,ve=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.tooltipOptions||{text:e.tooltip,placement:e.tooltipPlacement,fixed:e.tooltipFixed},expression:"tooltipOptions || {text: tooltip, placement: tooltipPlacement, fixed: tooltipFixed}"}],ref:"button",staticClass:"bunt-icon-button",class:{disabled:e.disabled},attrs:{type:e.type,"aria-disabled":e.disabled},on:{click:e.onClick}},[e.iconClass()?n("i",{staticClass:"bunt-icon mdi",class:[e.iconClass()]}):e._t("default"),e.noInk||e.disabled?e._e():n("ripple-ink")],2)},_e=[],ye={name:"bunt-icon-button",mixins:[$],props:{disabled:{type:Boolean,default:!1},type:{type:String,default:"button"},tooltip:String,tooltipPlacement:{type:String,default:"bottom"},tooltipFixed:{type:Boolean,default:!1},tooltipOptions:Object},data(){return{showTooltip:!1}},methods:{iconClass(){if(!this.$slots.default[0].tag)return K.getClass(this.$slots.default[0].text)},onClick(e){this.disabled||this.$emit("click",e)}}},Ae=ye,ke=Object(w["a"])(Ae,ve,_e,!1,null,null,null,!0),we=ke.exports,xe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.generateOutline,expression:"generateOutline"}],staticClass:"bunt-input",class:{focused:e.focused,"floating-label":e.floatingLabel,invalid:e.invalid,disabled:e.disabled,"with-icon":e.icon},style:{"--label-gap":e.floatingLabelWidth}},[n("div",{staticClass:"label-input-container"},[n("label",{attrs:{for:e.name}},[e._v(e._s(e.label))]),e.icon?n("div",{staticClass:"icon mdi",class:[e.iconClass]}):e._e(),n("input",{ref:"input",attrs:{type:e.type,name:e.name,disabled:e.disabled,readonly:e.readonly,placeholder:e.placeholder},domProps:{value:e.value},on:{input:function(t){return e.onInput(t)},focus:function(t){e.focused=!0},blur:e.onBlur}}),n("div",{directives:[{name:"show",rawName:"v-show",value:e.invalid,expression:"invalid"}],staticClass:"error-icon mdi mdi-alert-circle",attrs:{title:e.hintText}}),n("svg",{ref:"outline",staticClass:"outline"},[n("path",{attrs:{d:e.outlineStroke}})])]),e.hintIsHtml?n("div",{staticClass:"hint",domProps:{innerHTML:e._s(e.hintText)}}):n("div",{staticClass:"hint"},[e._v(e._s(e.hintText))])])},Me=[];const Ce="undefined"!==typeof window&&document.createElement("canvas");function Se(e,t){if("undefined"===typeof window)return 0;var n=Ce.getContext("2d");return n.font=t,n.measureText(e||"")}var Ee={data:function(){return{outlineStroke:""}},computed:{floatingLabelWidth(){return this.label?Se(this.label,"12px 'Roboto', \"Helvetica Neue\", HelveticaNeue, Helvetica, Arial, sans-serif").width+8:0}},mounted(){this.$nextTick(()=>{this.generateOutline()})},methods:{generateOutline(){const{width:e,height:t}=this.$refs.outline.getBoundingClientRect(),n=4,r=n+1;this.outlineStroke=`M ${r} 1\n\t\t\th ${e-2*r}\n\t\t\ta ${n} ${n} 0 0 1 ${n} ${n}\n\t\t\tv ${t-2*r}\n\t\t\ta ${n} ${n} 0 0 1 ${-n} ${n}\n\t\t\th ${2*r-e}\n\t\t\ta ${n} ${n} 0 0 1 ${-n} ${-n}\n\t\t\tv ${2*r-t}\n\t\t\ta ${n} ${n} 0 0 1 ${n} ${-n}`}}},De={name:"bunt-input",mixins:[Ee],props:{type:{type:String,default:"text"},name:{type:String,required:!0},label:String,placeholder:String,value:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},icon:String,iconRight:{type:Boolean,default:!1},hint:String,hintIsHtml:{type:Boolean,default:!1},validation:Object},data:function(){return{focused:!1}},computed:{iconClass(){return K.getClass(this.icon)},invalid(){return this.validation&&this.validation.$error},hintText(){if(this.invalid&&this.validation.$params){const e=Object.keys(this.validation.$params).map(e=>this.validation[e]?null:this.validation.$params[e].message);return e.filter(Boolean).join()}return this.hint},floatingLabel(){return Boolean(this.placeholder||this.value||0===this.value)}},methods:{onInput(e){this.$emit("input",e.target.value),this.validation&&this.validation.$touch()},onBlur(){this.focused=!1,this.validation&&this.validation.$touch()}}},Te=De,Oe=Object(w["a"])(Te,xe,Me,!1,null,null,null,!0),Le=Oe.exports,Pe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.generateOutline,expression:"generateOutline"}],staticClass:"bunt-input-outline-container",class:{focused:e.focused},style:{"--label-gap":e.floatingLabelWidth}},[n("label",[e._v(e._s(e.label))]),e._t("default",null,{focus:e.focus,blur:e.blur}),n("svg",{ref:"outline",staticClass:"outline"},[n("path",{attrs:{d:e.outlineStroke}})])],2)},ze=[],Ye={name:"bunt-input-outline-container",mixins:[Ee],props:{label:String},data(){return{focused:!1}},computed:{},created(){},mounted(){this.$nextTick(()=>{})},methods:{focus(){this.focused=!0},blur(){this.focused=!1}}},Ne=Ye,je=Object(w["a"])(Ne,Pe,ze,!1,null,null,null,!0),Fe=je.exports,Re=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("router-link",{staticClass:"bunt-link-button",attrs:{to:e.to}},[e._t("default"),n("ripple-ink")],2)},Be=[],$e={name:"bunt-link-button",components:{},mixins:[$],props:{to:Object},data(){return{}},computed:{},watch:{},methods:{}},Ie=$e,qe=Object(w["a"])(Ie,Re,Be,!1,null,null,null,!0),He=qe.exports,We=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.generateOutline,expression:"generateOutline"}],staticClass:"bunt-select dropdown",class:e.dropdownClasses},[n("div",{ref:"searchContainer",staticClass:"bunt-input dense",class:{focused:e.open,"floating-label":0!=e.rawSearch.length||!e.isValueEmpty,invalid:e.invalid,disabled:e.disabled},style:{"--label-gap":e.floatingLabelWidth}},[n("div",{staticClass:"label-input-container"},[n("label",{attrs:{for:e.name}},[e._v(e._s(e.label))]),e.icon?n("div",{staticClass:"icon mdi",class:[e.iconClass]}):e._e(),n("input",{directives:[{name:"model",rawName:"v-model",value:e.rawSearch,expression:"rawSearch"}],ref:"search",attrs:{type:"text",name:e.name,disabled:e.disabled,placeholder:e.searchPlaceholder,autocomplete:"off"},domProps:{value:e.rawSearch},on:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?null:e.maybeDeleteValue.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.typeAheadUp.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.typeAheadDown.apply(null,arguments))}],keyup:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.onEscape.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.typeAheadSelect.apply(null,arguments))}],blur:e.blur,focus:e.focus,input:function(t){t.target.composing||(e.rawSearch=t.target.value)}}}),n("i",{ref:"openIndicator",staticClass:"open-indicator mdi mdi-menu-down",attrs:{role:"presentation"},on:{mousedown:function(e){e.preventDefault(),e.stopPropagation()},click:function(t){return t.preventDefault(),t.stopPropagation(),e.toggleDropdown.apply(null,arguments)}}}),n("svg",{ref:"outline",staticClass:"outline"},[n("path",{attrs:{d:e.outlineStroke}})])]),e.hintIsHtml?n("div",{staticClass:"hint",domProps:{innerHTML:e._s(e.hintText)}}):n("div",{staticClass:"hint"},[e._v(e._s(e.hintText))])]),e.open?n(e.usePortals?"portal":"div",{tag:"component",attrs:{to:"bunt-overlays"}},[n("div",{ref:"dropdownMenu",staticClass:"bunt-select-dropdown-menu",class:[e.dropdownClass],style:{"max-height":e.maxHeight,width:e.width+"px"},on:{mousedown:function(e){e.preventDefault(),e.stopPropagation()}}},[e._t("result-header"),n("div",{directives:[{name:"scrollbar",rawName:"v-scrollbar.y",value:{_preventMousedown:!0},expression:"{_preventMousedown: true}",modifiers:{y:!0}}],staticClass:"scrollable-menu"},[n("ul",[e._l(e.filteredOptions,(function(t,r){return n("li",{key:r,class:{active:e.isOptionSelected(t),highlight:r===e.typeAheadPointer},on:{mouseover:function(t){e.typeAheadPointer=r},click:function(n){return n.preventDefault(),n.stopPropagation(),e.select(t)}}},[e._t("default",(function(){return[e._v(e._s(e.getOptionLabel(t)))]}),{option:t})],2)})),e.filteredOptions.length?e._e():n("li",{staticClass:"divider",attrs:{transition:"fade"}}),e.filteredOptions.length?e._e():n("li",{staticClass:"text-center",attrs:{transition:"fade"}},[e._t("no-options",(function(){return[e._v("Sorry, no matching options.")]}))],2)],2)])],2)]):e._e()],1)},Ue=[],Ve={watch:{typeAheadPointer(){this.maybeAdjustScroll()}},methods:{maybeAdjustScroll(){if(!this.$refs.dropdownMenu)return;let e=this.pixelsToPointerTop(),t=this.pixelsToPointerBottom();return e<=this.viewport().top?this.scrollTo(e):t>=this.viewport().bottom?this.scrollTo(this.viewport().top+this.pointerHeight()):void 0},pixelsToPointerTop(){let e=0,t=this.$refs.dropdownMenu.children;for(let n=0;n<this.typeAheadPointer;n++)e+=t[n]?t[n].offsetHeight:0;return e},pixelsToPointerBottom(){return this.pixelsToPointerTop()+this.pointerHeight()},pointerHeight(){let e=this.$refs.dropdownMenu.children[this.typeAheadPointer];return e?e.offsetHeight:0},viewport(){return{top:this.$refs.dropdownMenu.scrollTop,bottom:this.$refs.dropdownMenu.offsetHeight+this.$refs.dropdownMenu.scrollTop}},scrollTo(e){return this.$refs.dropdownMenu.scrollTop=e}}},Ge={data(){return{typeAheadPointer:-1}},watch:{filteredOptions(){this.typeAheadPointer=0}},methods:{typeAheadUp(){this.typeAheadPointer>0&&(this.typeAheadPointer--,this.maybeAdjustScroll&&this.maybeAdjustScroll())},typeAheadDown(){this.typeAheadPointer<this.filteredOptions.length-1&&(this.typeAheadPointer++,this.maybeAdjustScroll&&this.maybeAdjustScroll())},typeAheadSelect(){this.filteredOptions[this.typeAheadPointer]?this.select(this.filteredOptions[this.typeAheadPointer]):this.taggable&&this.search.length&&this.select(this.search)}}},Ke=n("2e39"),Ze=n.n(Ke),Xe={name:"bunt-select",mixins:[Ee,Ve,Ge],props:{name:{type:String,required:!0},label:String,value:{type:[String,Object,Number],default:null},icon:String,options:{type:Array,default(){return[]}},placeholder:{type:String,default:""},disabled:{type:Boolean,default:!1},maxHeight:{type:String,default:"400px"},optionLabel:{type:String,default:"label"},getOptionLabel:{type:Function,default(e){return"object"===typeof e&&void 0!==this.optionLabel&&void 0!==e[this.optionLabel]?e[this.optionLabel]:e}},optionValue:{type:String,default:"id"},getOptionValue:{type:Function,default(e){return"object"===typeof e&&void 0!==this.optionValue&&void 0!==e[this.optionValue]?e[this.optionValue]:e}},findOptionByValue:{type:Function,default(e){const t=t=>"object"===typeof t&&this.optionValue?t[this.optionValue]===e:t===e;return this.options.find(t)}},hint:String,hintIsHtml:{type:Boolean,default:!1},validation:Object,dropdownClass:String,dropdownOverflowElement:[String,Object]},data(){return{search:"",rawSearch:"",open:!1,width:0,usePortals:void 0!==this.$root.$options.components.Portal&&void 0!==this.$root.$options.components.PortalTarget}},computed:{dropdownClasses(){return{open:this.open,searchable:this.searchable,loading:this.loading}},searchPlaceholder(){if(this.isValueEmpty&&this.placeholder)return this.placeholder},filteredOptions(){let e=0!==this.search.length?this.options.filter(e=>Ze()(this.search.toLowerCase(),this.getOptionLabel(e).toLowerCase())):this.options.slice();return this.taggable&&this.search.length&&!this.optionExists(this.search)&&e.unshift(this.search),e},isValueEmpty(){return!this.value||("object"===typeof this.value?!Object.keys(this.value).length:!this.value.length)},iconClass(){return K.getClass(this.icon)},invalid(){return this.validation&&this.validation.$error},hintText(){if(this.invalid&&this.validation.$params){const e=Object.keys(this.validation.$params).map(e=>this.validation[e]?null:this.validation.$params[e].message);return e.filter(Boolean).join()}return this.hint}},watch:{value(e){this.selectValue(e)},rawSearch(e){this.open&&(this.search=e)},filteredOptions(){var e;null===(e=this._popper)||void 0===e||e.scheduleUpdate()}},mounted(){this.selectValue(this.value)},beforeDestroy(){var e;null===(e=this._popper)||void 0===e||e.destroy()},methods:{focus(){this.open=!0,this.search="",this.$refs.search.select(),this.width=this.$refs.searchContainer.getBoundingClientRect().width,this.$nextTick(()=>{const e={placement:"bottom",positionFixed:!0,modifiers:{}};this.icon&&(e.modifiers.offset={offset:"-15, 0"}),this.dropdownOverflowElement&&(e.modifiers.preventOverflow={boundariesElement:this.dropdownOverflowElement}),this._popper=new D["a"](this.$refs.search,this.$refs.dropdownMenu,e)})},blur(e){this.open=!1,this.$nextTick(()=>{var e;return null===(e=this._popper)||void 0===e?void 0:e.destroy()}),this.validation&&this.validation.$touch(),this.$emit("blur")},selectValue(e){const t=this.findOptionByValue(e);this.rawSearch=this.getOptionLabel(t)||""},select(e){this.isOptionSelected(e)?this.deselect(e):this.$emit("input",this.getOptionValue(e)),this.onAfterSelect(e)},deselect(e){this.$emit("input",null)},onAfterSelect(e){this.$refs.search.blur(),this.rawSearch=this.getOptionLabel(e)||""},toggleDropdown(e){e.target!==this.$refs.openIndicator&&e.target!==this.$refs.search&&e.target!==this.$refs.toggle&&e.target!==this.$el||(this.open?this.$refs.search.blur():this.$refs.search.focus())},isOptionSelected(e){return this.value===e},onEscape(){this.rawSearch.length?(this.deselect(),this.rawSearch=""):this.$refs.search.blur()},maybeDeleteValue(){!this.$refs.search.value.length&&this.value&&this.$emit("input",null)},optionExists(e){let t=!1;return this.options.forEach(n=>{("object"===typeof n&&n[this.optionLabel]===e||n===e)&&(t=!0)}),t}}},Je=Xe,Qe=Object(w["a"])(Je,We,Ue,!1,null,null,null,!0),et=Qe.exports,tt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-switch",class:{checked:e.value}},[n("input",{attrs:{type:"checkbox",name:e.name,disabled:e.disabled,readonly:e.readonly},domProps:{checked:e.value},on:{change:function(t){return e.onChange(t)},focus:function(t){e.focused=!0},blur:e.onBlur}}),e._m(0),n("label",[e._v(e._s(e.label))])])},nt=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-switch-track"},[n("div",{staticClass:"bunt-switch-thumb"})])}],rt={name:"bunt-switch",components:{},props:{value:{type:Boolean,default:!1},name:{type:String,required:!0},label:String,disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},data(){return{focused:!1}},computed:{},created(){},mounted(){this.$nextTick(()=>{})},methods:{onChange(e){this.$emit("input",e.target.checked),this.validation&&this.validation.$touch()},onBlur(){this.focused=!1,this.validation&&this.validation.$touch()}}},it=rt,at=Object(w["a"])(it,tt,nt,!1,null,null,null,!0),ot=at.exports,st=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e._onResizeObserver,expression:"_onResizeObserver"}],staticClass:"bunt-tabs",class:e.styleClasses},[n("div",{staticClass:"bunt-tabs-header"},[n("ul",{ref:"tabsContainer",staticClass:"bunt-tabs-header-items",attrs:{role:"tablist"}},e._l(e.tabs,(function(t,r){return n("bunt-tab-header-item",{key:t.id,ref:"tabElements",refInFor:!0,attrs:{type:e.type,id:t.id,icon:t.icon,text:t.header,active:e.activeTabObj===t,disabled:t.disabled},nativeOn:{click:function(n){return e.select(t,r)}}})})),1),n("div",{staticClass:"bunt-tabs-indicator",class:[e.indicatorState],style:e.indicatorStyle,on:{transitionend:e.onIndicatorTransitionEnd}})]),n("div",{ref:"body",staticClass:"bunt-tabs-body"},[e._t("default")],2)])},ct=[],lt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{ref:"item",staticClass:"bunt-tab-header-item",class:["type-"+e.type,{active:e.active,disabled:e.disabled}],attrs:{role:"tab",tabindex:e.active?0:-1,"aria-controls":e.id,"aria-selected":e.active?"true":null,disabled:e.disabled}},["icon"===e.type||"icon-and-text"===e.type?n("div",{staticClass:"bunt-tab-header-item-icon"},[n("i",{staticClass:"bunt-icon mdi",class:[e.iconClass]})]):e._e(),"text"===e.type||"icon-and-text"===e.type?n("div",{staticClass:"bunt-tab-header-item-text",domProps:{textContent:e._s(e.text)}}):e._e(),e.noInk||e.disabled?e._e():n("ripple-ink")],1)},ut=[],dt={name:"bunt-tab-header-item",mixins:[$],props:{id:String,type:{type:String,default:"text"},text:String,icon:String,active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},computed:{iconClass(){return K.getClass(this.icon)}}},ht=dt,ft=Object(w["a"])(ht,lt,ut,!1,null,null,null,!0),pt=ft.exports;const mt=function(e,t){return 100*e/t};var bt={name:"bunt-tabs",components:{BuntTabHeaderItem:pt},props:{type:{type:String,default:"text"},activeTab:{type:[Number,String,Object,Function]}},data(){return{activeTabObj:null,tabs:null,indicatorState:"",indicatorTransform:{left:0,width:0},indicatorTargetTransform:{left:0,width:0}}},computed:{styleClasses(){let e=["bunt-tabs-type-"+this.type];return e},indicatorStyle(){const e=this.indicatorTransform;return{transform:`translateX(${e.left}%) scaleX(${e.width/100})`}}},watch:{activeTab(e){this.activateTab(e)}},mounted(){this.updateTabs();new MutationObserver(e=>{this.updateTabs(),this.$nextTick(()=>this.activateTab(this.activeTab||0))}).observe(this.$refs.body,{childList:!0});this.$nextTick(()=>{this.$refs.tabsContainer&&this.activateTab(this.activeTab||0)})},methods:{_onResizeObserver(){this.$refs.tabsContainer&&this.activeTabObj&&this.select(this.activeTabObj,this.tabs.indexOf(this.activeTabObj))},updateTabs(){const e=Array.from(this.$refs.body.children);this.tabs=this.$children.filter(e=>e._isTab).sort((t,n)=>e.indexOf(t.$el)-e.indexOf(n.$el))},activateTab(e){let t=null;"number"===typeof e?t=e:"string"===typeof e&&(t=this.tabs.findIndex(t=>t.id===e)),this.tabs[t]?this.select(this.tabs[t],t):this.deselect()},select(e,t){let n=this.tabs.indexOf(this.activeTabObj);if(!e||e.disabled)return;let r=this.$refs.tabsContainer.getBoundingClientRect(),i=r.width;const a=Array.from(this.$refs.tabsContainer.children);let o=this.$refs.tabElements.sort((e,t)=>a.indexOf(e.$el)-a.indexOf(t.$el))[t].$el.getBoundingClientRect(),s=o.left-r.left;if(this.indicatorTargetTransform={width:mt(o.width,i),left:mt(s,i)},n<0)return this.indicatorState="",this.indicatorTransform={width:this.indicatorTargetTransform.width,left:this.indicatorTargetTransform.left},void(this.activeTabObj=e);let c=this.$refs.tabElements[n].$el.getBoundingClientRect(),l=5;this.indicatorState="expand";let u=n<t;u?this.indicatorTransform.width=mt(o.left+o.width-c.left,i)-l:this.indicatorTransform={width:mt(c.left+c.width-o.left,i)-l,left:mt(s,i)+l},this.activeTabObj=e},deselect(){this.activeTabObj=null,this.indicatorTransform.width=0,this.indicatorTransform.left=0},onIndicatorTransitionEnd(){"expand"==this.indicatorState?(this.indicatorState="contract",this.indicatorTransform={width:this.indicatorTargetTransform.width,left:this.indicatorTargetTransform.left}):this.indicatorState=""}}},gt=bt,vt=Object(w["a"])(gt,st,ct,!1,null,null,null,!0),_t=vt.exports,yt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.active,expression:"active"}],staticClass:"bunt-tab",attrs:{id:e.id,role:"tabpanel",tabindex:e.active?"0":null,"aria-hidden":e.active?null:"true"}},[e._t("default")],2)},At=[],kt={name:"bunt-tab",props:{header:String,icon:String,disabled:{type:Boolean,default:!1},id:String},computed:{active(){return this.$parent.activeTabObj===this}},watch:{active(e){e?this.$emit("selected",this.id):this.$emit("deselected",this.id)}},created(){this._isTab=!0}},wt=kt,xt=Object(w["a"])(wt,yt,At,!1,null,null,null,!0),Mt=xt.exports,Ct=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.open?n("div",{staticClass:"bunt-dialog-container"},[n("div",{staticClass:"bunt-dialog"},[e._t("default")],2),n("div",{staticClass:"bunt-backdrop",attrs:{"keyup.esc":"close"},on:{click:e.close}})]):e._e()},St=[],Et={props:{open:{type:Boolean,default:!1}},data(){return{}},computed:{},created(){},mounted(){this.$nextTick(()=>{document.body.appendChild(this.$el)})},beforeDestroy(){this.$el.parentNode===document.body&&document.body.removeChild(this.$el)},methods:{close(){this.$emit("close")}}},Dt=Et,Tt=Object(w["a"])(Dt,Ct,St,!1,null,null,null,!0),Ot=Tt.exports;let Lt;"undefined"!==typeof window&&(Lt=n("472d").default);const Pt={install(e){L(e),e.component("bunt-button",Q),e.component("bunt-checkbox",ae),e.component("bunt-radio",de),e.component("bunt-icon",ge),e.component("bunt-icon-button",we),e.component("bunt-input",Le),e.component("bunt-input-outline-container",Fe),e.component("bunt-link-button",He),e.component("bunt-select",et),"undefined"!==typeof window&&e.component("bunt-popover",Lt),e.component("bunt-progress-circular",V),e.component("bunt-switch",ot),e.component("bunt-tabs",_t),e.component("bunt-tab",Mt),e.component("bunt-dialog",Ot)}};var zt=Pt,Yt=n("7f45"),Nt=n.n(Yt),jt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"scrollbar",rawName:"v-scrollbar.y",modifiers:{y:!0}}],staticClass:"c-linear-schedule"},e._l(e.sessionBuckets,(function(t,r){var i=t.date,a=t.sessions;return n("div",{staticClass:"bucket"},[n("div",{ref:e.getBucketName(i),refInFor:!0,staticClass:"bucket-label",attrs:{"data-date":i.format()}},[0===r||i.clone().startOf("day").diff(e.sessionBuckets[r-1].date.clone().startOf("day"),"day")>0?n("div",{staticClass:"day"},[e._v(" "+e._s(i.format("dddd DD. MMMM")))]):e._e(),n("div",{staticClass:"time"},[e._v(e._s(i.format("LT")))]),e._l(a,(function(t){return[e.isProperSession(t)?n("session",{attrs:{session:t,faved:t.id&&e.favs.includes(t.id)},on:{fav:function(n){return e.$emit("fav",t.id)},unfav:function(n){return e.$emit("unfav",t.id)}}}):n("div",{staticClass:"break"},[n("div",{staticClass:"title"},[e._v(e._s(e.getLocalizedString(t.title)))])])]}))],2)])})),0)},Ft=[];function Rt(e){if(!e)return"";if("string"===typeof e)return e;const t=document.querySelector("html").lang||"en";return e[t]||e.en||Object.values(e)[0]||""}const Bt=(e,t)=>["auto","scroll"].includes(getComputedStyle(e,null).getPropertyValue(t)),$t=e=>Bt(e,"overflow")||Bt(e,"overflow-x")||Bt(e,"overflow-y");function It(e){if(e&&e!==document.body)return $t(e)?e:It(e.parentNode)}function qt(e,t){let n=t.diff(e,"minutes");const r=Math.floor(n/60);return n<=60?n+"min":(n%=60,n?`${r}h${n}min`:r+"h")}var Ht=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a",{staticClass:"c-linear-schedule-session",class:{faved:e.faved},style:e.style,attrs:{href:e.link,target:e.linkTarget},on:{click:function(t){return e.onSessionLinkClick(t,e.session)}}},[n("div",{staticClass:"time-box"},[n("div",{staticClass:"start",class:{"has-ampm":e.hasAmPm}},[n("div",{staticClass:"time"},[e._v(e._s(e.startTime.time))]),e.startTime.ampm?n("div",{staticClass:"ampm"},[e._v(e._s(e.startTime.ampm))]):e._e()]),n("div",{staticClass:"duration"},[e._v(e._s(e.getPrettyDuration(e.session.start,e.session.end)))]),n("div",{staticClass:"buffer"}),e.isLive?n("div",{staticClass:"is-live"},[e._v("live")]):e._e()]),n("div",{staticClass:"info"},[n("div",{staticClass:"title"},[e._v(e._s(e.getLocalizedString(e.session.title)))]),e.session.speakers?n("div",{staticClass:"speakers"},[n("div",{staticClass:"avatars"},[e._l(e.session.speakers,(function(t){return[t.avatar?n("img",{attrs:{src:t.avatar}}):e._e()]}))],2),n("div",{staticClass:"names"},[e._v(e._s(e.session.speakers.map((function(e){return e.name})).join(", ")))])]):e._e(),e.showAbstract?n("div",{staticClass:"abstract",domProps:{innerHTML:e._s(e.abstract)}}):e._e(),n("div",{staticClass:"bottom-info"},[e.session.track?n("div",{staticClass:"track"},[e._v(e._s(e.getLocalizedString(e.session.track.name)))]):e._e(),e.showRoom&&e.session.room?n("div",{staticClass:"room"},[e._v(e._s(e.getLocalizedString(e.session.room.name)))]):e._e()])]),n("bunt-icon-button",{staticClass:"btn-fav-container",on:{click:function(t){t.preventDefault(),t.stopPropagation(),e.faved?e.$emit("unfav",e.session.id):e.$emit("fav",e.session.id)}}},[n("svg",{staticClass:"star",attrs:{viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z"}})])])],1)},Wt=[],Ut=n("d4cd"),Vt=n.n(Ut);const Gt=Vt()({linkify:!0,breaks:!0});var Kt={props:{session:Object,showAbstract:{type:Boolean,default:!0},showRoom:{type:Boolean,default:!0},faved:{type:Boolean,default:!1},hasAmPm:{type:Boolean,default:!1}},inject:{eventUrl:{default:null},linkTarget:{default:"_self"},generateSessionLinkUrl:{default(){return({eventUrl:e,session:t})=>`${e}talk/${t.id}/`}},onSessionLinkClick:{default(){return()=>{}}}},data(){return{getPrettyDuration:qt,getLocalizedString:Rt}},computed:{link(){return this.generateSessionLinkUrl({eventUrl:this.eventUrl,session:this.session})},style(){var e;return{"--track-color":(null===(e=this.session.track)||void 0===e?void 0:e.color)||"var(--pretalx-clr-primary)"}},startTime(){return this.hasAmPm?{time:this.session.start.format("h:mm"),ampm:this.session.start.format("A")}:{time:Nt()(this.session.start).format("LT")}},isLive(){return Nt()(this.session.start).isBefore(this.now)&&Nt()(this.session.end).isAfter(this.now)},abstract(){try{return Gt.renderInline(this.session.abstract)}catch(e){return this.session.abstract}}}},Zt=Kt;function Xt(e){var t=n("1004");t.__inject__&&t.__inject__(e)}var Jt=Object(w["a"])(Zt,Ht,Wt,!1,Xt,null,null,!0),Qt=Jt.exports,en={components:{Session:Qt},props:{sessions:Array,favs:{type:Array,default(){return[]}},currentDay:Object,now:Object,scrollParent:Element},data(){return{moment:Nt.a,getLocalizedString:Rt,scrolledDay:null}},computed:{sessionBuckets(){const e={};for(const t of this.sessions){const n=t.start.format();e[n]||(e[n]=[]),t.id?e[n].push(t):(t.break_id=`${t.start}${t.end}${t.title}`,0===e[n].filter(e=>e.break_id===t.break_id).length&&e[n].push(t))}return Object.entries(e).map(([e,t])=>({date:t[0].start,sessions:t}))}},watch:{currentDay:"changeDay"},async mounted(){var e,t;let n;await this.$nextTick(),this.observer=new IntersectionObserver(this.onIntersect,{root:this.scrollParent,rootMargin:"-45% 0px"});for(const[l,u]of Object.entries(this.$refs)){if(!l.startsWith("bucket"))continue;const e=Nt.a.parseZone(u[0].dataset.date);n&&n.isSame(e,"date")||(n=e,this.observer.observe(u[0]))}let r=!1;const i=window.location.hash.slice(1);if(i&&10===i.length){const e=Nt()(i,"YYYY-MM-DD");e&&(r=!0)}if(r)return;const a=this.sessionBuckets.findIndex(e=>this.now.isBefore(e.date)),o=this.sessionBuckets.findIndex(e=>this.now.isBefore(e.date));if(a<0||0===o)return;const s=this.sessionBuckets[Math.max(0,a-1)],c=(null===(e=this.$refs[this.getBucketName(s.date)])||void 0===e||null===(t=e[0])||void 0===t?void 0:t.offsetTop)-90;this.scrollParent?this.scrollParent.scrollTop=c:window.scroll({top:c+this.getOffsetTop()})},methods:{isProperSession(e){return!!e.id},getBucketName(e){return"bucket-"+e.format("YYYY-MM-DD-HH-mm")},getOffsetTop(){const e=this.$parent.$el.getBoundingClientRect();return e.top+window.scrollY},changeDay(e){var t;if(this.scrolledDay===e)return;const n=this.sessionBuckets.find(t=>e.isSame(t.date,"day"));if(!n)return;const r=null===(t=this.$refs[this.getBucketName(n.date)])||void 0===t?void 0:t[0];if(!r)return;const i=r.offsetTop+this.getOffsetTop()-8;this.scrollParent?this.scrollParent.scrollTop=i:window.scroll({top:i})},onIntersect(e){const t=e[0],n=Nt.a.parseZone(t.target.dataset.date).startOf("day");t.isIntersecting?(this.scrolledDay=n,this.$emit("changeDay",this.scrolledDay)):t.rootBounds&&t.boundingClientRect.y-t.rootBounds.y>0&&(this.scrolledDay=n.subtract(1,"day"),this.$emit("changeDay",this.scrolledDay))}}},tn=en;function nn(e){var t=n("2187");t.__inject__&&t.__inject__(e)}var rn=Object(w["a"])(tn,jt,Ft,!1,nn,null,null,!0),an=rn.exports,on=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"c-grid-schedule"},[n("div",{staticClass:"grid",style:e.gridStyle},[e._l(e.visibleTimeslices,(function(t){return[n("div",{ref:t.name,refInFor:!0,staticClass:"timeslice",class:e.getSliceClasses(t),style:e.getSliceStyle(t),attrs:{"data-slice":t.date.format()}},[e._v(e._s(e.getSliceLabel(t)))]),n("div",{staticClass:"timeline",class:e.getSliceClasses(t),style:e.getSliceStyle(t)})]})),e.nowSlice?n("div",{ref:"now",staticClass:"now",class:{"on-daybreak":e.nowSlice.onDaybreak},style:{"grid-area":e.nowSlice.slice.name+" / 1 / auto / auto","--offset":e.nowSlice.offset}},[n("svg",{attrs:{viewBox:"0 0 10 10"}},[n("path",{attrs:{d:"M 0 0 L 10 5 L 0 10 z"}})])]):e._e(),n("div",{staticClass:"room",style:{"grid-area":"1 / 1 / auto / auto"}}),e._l(e.rooms,(function(t,r){return n("div",{staticClass:"room",style:{"grid-area":"1 / "+(r+2)+" / auto / auto"}},[e._v(e._s(e.getLocalizedString(t.name))),e.getLocalizedString(t.description)?n("bunt-button",{staticClass:"room-description",attrs:{tooltip:e.getLocalizedString(t.description),"tooltip-placement":"bottom-end"}},[e._v("?")]):e._e()],1)})),e.hasSessionsWithoutRoom?n("div",{staticClass:"room",style:{"grid-area":"1 / "+(e.rooms.length+2)+" / auto / -1"}},[e._v("no location")]):e._e(),e._l(e.sessions,(function(t){return[e.isProperSession(t)?n("session",{style:e.getSessionStyle(t),attrs:{session:t,showAbstract:!1,showRoom:!1,faved:e.favs.includes(t.id),hasAmPm:e.hasAmPm},on:{fav:function(n){return e.$emit("fav",t.id)},unfav:function(n){return e.$emit("unfav",t.id)}}}):n("div",{staticClass:"break",style:e.getSessionStyle(t)},[n("div",{staticClass:"time-box"},[e.hasAmPm?n("div",{staticClass:"start has-ampm"},[n("div",{staticClass:"time"},[e._v(e._s(t.start.format("h:mm")))]),n("div",{staticClass:"ampm"},[e._v(e._s(t.start.format("A")))])]):n("div",{staticClass:"start"},[n("div",{staticClass:"time"},[e._v(e._s(t.start.format("LT")))])]),n("div",{staticClass:"duration"},[e._v(e._s(e.getPrettyDuration(t.start,t.end)))]),n("div",{staticClass:"buffer"})]),n("div",{staticClass:"info"},[n("div",{staticClass:"title"},[e._v(e._s(e.getLocalizedString(t.title)))])])])]}))],2)])},sn=[];const cn=function(e){return"slice-"+e.format("MM-DD-HH-mm")};var ln={components:{Session:Qt},props:{sessions:Array,rooms:Array,favs:{type:Array,default(){return[]}},currentDay:Object,now:Object,scrollParent:Element},data(){return{moment:Nt.a,getLocalizedString:Rt,getPrettyDuration:qt,scrolledDay:null}},computed:{hasSessionsWithoutRoom(){return this.sessions.some(e=>!e.room)},hasAmPm(){return Nt.a.localeData().longDateFormat("LT").endsWith(" A")},timeslices(){const e=30,t=[],n={},r=function(e,{hasSession:r=!1,hasBreak:i=!1,hasStart:a=!1,hasEnd:o=!1}={}){const s=cn(e);let c=n[s];c?(c.hasSession=c.hasSession||r,c.hasBreak=c.hasBreak||i,c.hasStart=c.hasStart||a,c.hasEnd=c.hasEnd||o):(c={date:e,name:s,hasSession:r,hasBreak:i,hasStart:a,hasEnd:o,datebreak:e.isSame(e.clone().startOf("day"))},t.push(c),n[s]=c)},i=function(t,n,{hasSession:i,hasBreak:a}={}){let o=n.diff(t,"minutes");const s=e-t.minute()%e,c=[];s&&(c.push(t.clone().add(s,"minutes")),o-=s);const l=n.minute()%e;for(let r=1;r<=o/e;r++)c.push(t.clone().add(s+e*r,"minutes"));l&&c.push(n.clone().subtract(l,"minutes"));const u=c.pop();c.forEach(e=>r(e,{hasSession:i,hasBreak:a})),r(u)};for(const c of this.sessions){const e=t[t.length-1];e?c.start.isAfter(e.date,"minutes")&&i(e.date,c.start):r(c.start.clone().startOf("day"));const n=this.isProperSession(c);r(c.start,{hasSession:n,hasBreak:!n,hasStart:!0}),r(c.end,{hasEnd:!0}),i(c.start,c.end,{hasSession:n,hasBreak:!n})}const a=function(t){if(t)return 0!==t.date.minutes()&&t.date.minutes()!==e},o=function(e,n){if(!e)return;if(e.hasSession||e.datebreak||e.hasStart||e.hasEnd)return!0;const r=t[n-1],i=t[n+1];return!!a(e)||(!(!((null!==r&&void 0!==r&&r.hasSession||null!==r&&void 0!==r&&r.hasBreak||null!==r&&void 0!==r&&r.hasEnd)&&a(r)||(null!==i&&void 0!==i&&i.hasSession||null!==i&&void 0!==i&&i.hasBreak)&&a(i))&&(null!==i&&void 0!==i&&i.hasSession&&null!==i&&void 0!==i&&i.hasBreak||!e.hasSession&&!e.hasBreak||!a(i)))||(null!==r&&void 0!==r&&r.hasBreak&&e.hasBreak,!1))};t.sort((e,t)=>e.date.diff(t.date));const s=[];for(const[c,l]of t.entries()){if(o(l,c)){s.push(l);continue}const e=t[c-1];o(e,c-1)&&!e.datebreak&&(e.gap=!0)}return s.forEach((e,t)=>{e.gap&&t<s.length-1&&s[t+1].date.diff(e.date,"minutes")<=30&&(e.gap=!1)}),s[s.length-1].gap&&s.pop(),s},visibleTimeslices(){return this.timeslices.filter(e=>e.date.minute()%30===0)},gridStyle(){let e="[header] 52px ";return e+=this.timeslices.map((e,t)=>{const n=this.timeslices[t+1];let r=60;return e.gap?r=100:e.datebreak?r=60:n&&(r=Math.min(60,2*n.date.diff(e.date,"minutes"))),`[${e.name}] minmax(${r}px, auto)`}).join(" "),{"--total-rooms":this.rooms.length,"grid-template-rows":e}},nowSlice(){let e;for(const t of this.timeslices){if(this.now.isBefore(t.date))break;e=t}if(e){const t=this.timeslices[this.timeslices.indexOf(e)+1];return t?t.date.diff(e.date,"minutes")>30?{slice:t,offset:0,onDaybreak:!0}:{slice:e,offset:this.now.diff(e.date,"minutes")/t.date.diff(e.date,"minutes")}:null}return null}},watch:{currentDay:"changeDay"},async mounted(){await this.$nextTick(),this.observer=new IntersectionObserver(this.onIntersect,{root:this.scrollParent,rootMargin:"-45% 0px"});for(const[r,i]of Object.entries(this.$refs))r.startsWith("slice")&&r.endsWith("00-00")&&this.observer.observe(i[0]);let e=!1;const t=window.location.hash.slice(1);if(t&&10===t.length){const n=Nt()(t,"YYYY-MM-DD");n&&(e=!0)}if(e||!this.$refs.now)return;const n=this.$refs.now.offsetTop+this.getOffsetTop()-90;this.scrollParent?this.scrollParent.scrollTop=n:window.scroll({top:n})},methods:{isProperSession(e){return!!e.id},getSessionStyle(e){const t=this.rooms.indexOf(e.room);return{"grid-row":`${cn(e.start)} / ${cn(e.end)}`,"grid-column":t>-1?t+2:null}},getOffsetTop(){const e=this.$parent.$el.getBoundingClientRect();return e.top+window.scrollY},getSliceClasses(e){return{datebreak:e.datebreak,gap:e.gap}},getSliceStyle(e){if(e.datebreak){let t=this.timeslices.findIndex(t=>t.date.isAfter(e.date,"day"));return t<0&&(t=this.timeslices.length-1),{"grid-area":`${e.name} / 1 / ${this.timeslices[t].name} / auto`}}return{"grid-area":e.name+" / 1 / auto / auto"}},getSliceLabel(e){return e.datebreak?e.date.format("ddd[\n]DD. MMM"):e.date.format("LT")},changeDay(e){var t;if(this.scrolledDay===e)return;const n=null===(t=this.$refs[cn(e)])||void 0===t?void 0:t[0];if(!n)return;const r=n.offsetTop+this.getOffsetTop();this.scrollParent?this.scrollParent.scrollTop=r:window.scroll({top:r})},onIntersect(e){const t=e.sort((e,t)=>t.time-e.time).find(e=>e.isIntersecting);if(!t)return;const n=Nt.a.parseZone(t.target.dataset.slice).startOf("day");this.scrolledDay=n,this.$emit("changeDay",this.scrolledDay)}}},un=ln;function dn(e){var t=n("0809");t.__inject__&&t.__inject__(e)}var hn=Object(w["a"])(un,on,sn,!1,dn,null,null,!0),fn=hn.exports;o["a"].use(zt);var pn={name:"PretalxSchedule",components:{LinearSchedule:an,GridSchedule:fn},props:{eventUrl:String,locale:String,format:{type:String,default:"grid"},version:{type:String,default:""}},provide(){return{eventUrl:this.eventUrl}},data(){return{moment:Nt.a,getLocalizedString:Rt,scrollParentWidth:1/0,schedule:null,userTimezone:null,now:Nt()(),currentDay:null,currentTimezone:null,showFilterModal:!1,favs:[],allTracks:[],onlyFavs:!1,scheduleError:!1}},computed:{scheduleMaxWidth(){return this.schedule?Math.min(this.scrollParentWidth,78+650*this.schedule.rooms.length):this.scrollParentWidth},showGrid(){return this.scrollParentWidth>710&&"list"!==this.format},roomsLookup(){return this.schedule?this.schedule.rooms.reduce((e,t)=>(e[t.id]=t,e),{}):{}},tracksLookup(){return this.schedule?this.schedule.tracks.reduce((e,t)=>(e[t.id]=t,e),{}):{}},filteredTracks(){return this.allTracks.filter(e=>e.selected)},speakersLookup(){return this.schedule?this.schedule.speakers.reduce((e,t)=>(e[t.code]=t,e),{}):{}},sessions(){if(!this.schedule||!this.currentTimezone)return;const e=[];for(const n of this.schedule.talks.filter(e=>e.start)){var t;this.onlyFavs&&!this.favs.includes(n.code)||(this.filteredTracks&&this.filteredTracks.length&&!this.filteredTracks.find(e=>e.id===n.track)||e.push({id:n.code,title:n.title,abstract:n.abstract,start:Nt.a.tz(n.start,this.currentTimezone),end:Nt.a.tz(n.end,this.currentTimezone),speakers:null===(t=n.speakers)||void 0===t?void 0:t.map(e=>this.speakersLookup[e]),track:this.tracksLookup[n.track],room:this.roomsLookup[n.room]}))}return e.sort((e,t)=>e.start.diff(t.start)),e},rooms(){return this.schedule.rooms.filter(e=>this.sessions.some(t=>t.room===e))},days(){if(!this.sessions)return;const e=[];for(const t of this.sessions)e[e.length-1]&&e[e.length-1].isSame(t.start,"day")||e.push(t.start.clone().startOf("day"));return e},inEventTimezone(){if(!this.schedule||!this.schedule.talks)return!1;const e=this.schedule.talks[0].start;return Nt.a.tz(e,this.userTimezone).format("Z")===Nt.a.tz(e,this.schedule.timezone).format("Z")},dateFormat(){return this.showGrid&&this.schedule&&this.schedule.rooms.length>2||!this.days||!this.days.length||this.days&&this.days.length<=5?"dddd DD. MMMM":this.days&&this.days.length<=7?"dddd DD. MMM":"ddd DD. MMM"},eventSlug(){let e="";return e=this.eventUrl.startsWith("http")?new URL(this.eventUrl):new URL("http://example.org/"+this.eventUrl),e.pathname.replace(/\//g,"")}},async created(){Nt.a.locale(this.locale),this.userTimezone=Nt.a.tz.guess();let e="";this.version&&(e=`v/${this.version}/`);const t=`${this.eventUrl}schedule/${e}widgets/schedule.json`,n=`${this.eventUrl}schedule/${e}widget/v2.json`;try{this.schedule=await(await fetch(t)).json()}catch(i){try{this.schedule=await(await fetch(n)).json()}catch(i){return void(this.scheduleError=!0)}}this.currentTimezone=localStorage.getItem(this.eventSlug+"_timezone"),this.currentTimezone=[this.schedule.timezone,this.userTimezone].includes(this.currentTimezone)?this.currentTimezone:this.schedule.timezone,this.currentDay=this.days[0],this.now=Nt()().tz(this.currentTimezone),setInterval(()=>this.now=Nt()().tz(this.currentTimezone),3e4),this.scrollParentResizeObserver||(await this.$nextTick(),this.onWindowResize()),this.schedule.tracks.forEach(e=>{e.value=e.id,e.label=Rt(e.name),this.allTracks.push(e)}),this.favs=this.pruneFavs(this.loadFavs(),this.schedule);const r=window.location.hash.slice(1);if(r&&10===r.length){const e=Nt()(r,"YYYY-MM-DD"),t=this.days.filter(t=>t.format("YYYYMMDD")===e.format("YYYYMMDD"));t.length&&(this.currentDay=t[0])}},async mounted(){await new Promise(e=>{const t=()=>{if(this.$el.parentElement||this.$el.getRootNode().host)return e();setTimeout(t,100)};t()}),this.scrollParent=It(this.$el.parentElement||this.$el.getRootNode().host),this.scrollParent?(this.scrollParentResizeObserver=new ResizeObserver(this.onScrollParentResize),this.scrollParentResizeObserver.observe(this.scrollParent),this.scrollParentWidth=this.scrollParent.offsetWidth):(window.addEventListener("resize",this.onWindowResize),this.onWindowResize())},destroyed(){},methods:{changeDay(e){e.isSame(this.currentDay)||(this.currentDay=Nt()(e,this.currentTimezone).startOf("day"),window.location.hash=e.format("YYYY-MM-DD"))},onWindowResize(){this.scrollParentWidth=document.body.offsetWidth},saveTimezone(){localStorage.setItem(this.eventSlug+"_timezone",this.currentTimezone)},onScrollParentResize(e){this.scrollParentWidth=e[0].contentRect.width},loadFavs(){const e=localStorage.getItem(this.eventSlug+"_favs");if(e)try{return JSON.parse(e)}catch{localStorage.setItem(this.eventSlug+"_favs","[]")}return[]},pruneFavs(e,t){const n=t.talks||[],r=n.map(e=>e.code);return e.filter(e=>r.includes(e))},saveFavs(){localStorage.setItem(this.eventSlug+"_favs",JSON.stringify(this.favs))},fav(e){this.favs.includes(e)||(this.favs.push(e),this.saveFavs())},unfav(e){this.favs=this.favs.filter(t=>t!==e),this.saveFavs(),this.favs.length||(this.onlyFavs=!1)},resetFilteredTracks(){this.allTracks.forEach(e=>e.selected=!1)}}},mn=pn;function bn(e){var t=n("0887");t.__inject__&&t.__inject__(e)}var gn=Object(w["a"])(mn,x,M,!1,bn,null,null,!0),vn=gn.exports;window.customElements.define("pretalx-schedule",k(o["a"],vn))},"5b54":function(e,t,n){"use strict";var r=n("bd68"),i=n("0068").has,a=n("0068").isValidEntityCode,o=n("0068").fromCodePoint,s=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,c=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,l,u,d=e.pos,h=e.posMax;if(38!==e.src.charCodeAt(d))return!1;if(d+1<h)if(n=e.src.charCodeAt(d+1),35===n){if(u=e.src.slice(d).match(s),u)return t||(l="x"===u[1][0].toLowerCase()?parseInt(u[1].slice(1),16):parseInt(u[1],10),e.pending+=a(l)?o(l):o(65533)),e.pos+=u[0].length,!0}else if(u=e.src.slice(d).match(c),u&&i(r,u[1]))return t||(e.pending+=r[u[1]]),e.pos+=u[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},"5c8f":function(e,t,n){var r,i,a;/*! tether-drop 1.4.1 */(function(o,s){i=[n("a01e")],r=s,a="function"===typeof r?r.apply(t,i):r,void 0===a||(e.exports=a)})(0,(function(e){"use strict";var t=Function.prototype.bind,n=function(){function e(e,t){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done);r=!0)if(n.push(o.value),t&&n.length===t)break}catch(c){i=!0,a=c}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(e,t,n){var r=!0;while(r){var i=e,a=t,o=n;r=!1,null===i&&(i=Function.prototype);var s=Object.getOwnPropertyDescriptor(i,a);if(void 0!==s){if("value"in s)return s.value;var c=s.get;if(void 0===c)return;return c.call(o)}var l=Object.getPrototypeOf(i);if(null===l)return;e=l,t=a,n=o,r=!0,s=l=void 0}};function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=e.Utils,c=s.extend,l=s.addClass,u=s.removeClass,d=s.hasClass,h=s.Evented;function f(e){var t=e.split(" "),r=n(t,2),i=r[0],a=r[1];if(["left","right"].indexOf(i)>=0){var o=[a,i];i=o[0],a=o[1]}return[i,a].join(" ")}function p(e,t){var n=void 0,r=[];while(-1!==(n=e.indexOf(t)))r.push(e.splice(n,1));return r}var m=["click"];"ontouchstart"in document.documentElement&&m.push("touchstart");var b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"},g="";for(var v in b)if({}.hasOwnProperty.call(b,v)){var _=document.createElement("p");"undefined"!==typeof _.style[v]&&(g=b[v])}var y={left:"right",right:"left",top:"bottom",bottom:"top",middle:"middle",center:"center"},A={};function k(){var n=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],s=function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return new(t.apply(v,[null].concat(n)))};c(s,{createContext:k,drops:[],defaults:{}});var b={classPrefix:"drop",defaults:{position:"bottom left",openOn:"click",beforeClose:null,constrainToScrollParent:!0,constrainToWindow:!0,classes:"",remove:!1,openDelay:0,closeDelay:50,focusDelay:null,blurDelay:null,hoverOpenDelay:null,hoverCloseDelay:null,tetherOptions:{}}};c(s,b,n),c(s.defaults,b.defaults,n.defaults),"undefined"===typeof A[s.classPrefix]&&(A[s.classPrefix]=[]),s.updateBodyClasses=function(){for(var e=!1,t=A[s.classPrefix],n=t.length,r=0;r<n;++r)if(t[r].isOpened()){e=!0;break}e?l(document.body,s.classPrefix+"-open"):u(document.body,s.classPrefix+"-open")};var v=function(t){function n(e){if(a(this,n),i(Object.getPrototypeOf(n.prototype),"constructor",this).call(this),this.options=c({},s.defaults,e),this.target=this.options.target,"undefined"===typeof this.target)throw new Error("Drop Error: You must provide a target.");var t="data-"+s.classPrefix,r=this.target.getAttribute(t);r&&null==this.options.content&&(this.options.content=r);for(var o=["position","openOn"],u=0;u<o.length;++u){var d=this.target.getAttribute(t+"-"+o[u]);d&&null==this.options[o[u]]&&(this.options[o[u]]=d)}this.options.classes&&!1!==this.options.addTargetClasses&&l(this.target,this.options.classes),s.drops.push(this),A[s.classPrefix].push(this),this._boundEvents=[],this.bindMethods(),this.setupElements(),this.setupEvents(),this.setupTether()}return o(n,t),r(n,[{key:"_on",value:function(e,t,n){this._boundEvents.push({element:e,event:t,handler:n}),e.addEventListener(t,n)}},{key:"bindMethods",value:function(){this.transitionEndHandler=this._transitionEndHandler.bind(this)}},{key:"setupElements",value:function(){var e=this;if(this.drop=document.createElement("div"),l(this.drop,s.classPrefix),this.options.classes&&l(this.drop,this.options.classes),this.content=document.createElement("div"),l(this.content,s.classPrefix+"-content"),"function"===typeof this.options.content){var t=function(){var t=e.options.content.call(e,e);if("string"===typeof t)e.content.innerHTML=t;else{if("object"!==typeof t)throw new Error("Drop Error: Content function should return a string or HTMLElement.");e.content.innerHTML="",e.content.appendChild(t)}};t(),this.on("open",t.bind(this))}else"object"===typeof this.options.content?this.content.appendChild(this.options.content):this.content.innerHTML=this.options.content;this.drop.appendChild(this.content)}},{key:"setupTether",value:function(){var t=this.options.position.split(" ");t[0]=y[t[0]],t=t.join(" ");var n=[];this.options.constrainToScrollParent?n.push({to:"scrollParent",pin:"top, bottom",attachment:"together none"}):n.push({to:"scrollParent"}),!1!==this.options.constrainToWindow?n.push({to:"window",attachment:"together"}):n.push({to:"window"});var r={element:this.drop,target:this.target,attachment:f(t),targetAttachment:f(this.options.position),classPrefix:s.classPrefix,offset:"0 0",targetOffset:"0 0",enabled:!1,constraints:n,addTargetClasses:this.options.addTargetClasses};!1!==this.options.tetherOptions&&(this.tether=new e(c({},r,this.options.tetherOptions)))}},{key:"setupEvents",value:function(){var e=this;if(this.options.openOn)if("always"!==this.options.openOn){var t=this.options.openOn.split(" ");if(t.indexOf("click")>=0)for(var n=function(t){e.toggle(t),t.preventDefault()},r=function(t){e.isOpened()&&(t.target===e.drop||e.drop.contains(t.target)||t.target===e.target||e.target.contains(t.target)||e.close(t))},i=0;i<m.length;++i){var a=m[i];this._on(this.target,a,n),this._on(document,a,r)}var o=null,s=null,c=function(t){null!==s?clearTimeout(s):o=setTimeout((function(){e.open(t),o=null}),("focus"===t.type?e.options.focusDelay:e.options.hoverOpenDelay)||e.options.openDelay)},l=function(t){null!==o?clearTimeout(o):s=setTimeout((function(){e.close(t),s=null}),("blur"===t.type?e.options.blurDelay:e.options.hoverCloseDelay)||e.options.closeDelay)};t.indexOf("hover")>=0&&(this._on(this.target,"mouseover",c),this._on(this.drop,"mouseover",c),this._on(this.target,"mouseout",l),this._on(this.drop,"mouseout",l)),t.indexOf("focus")>=0&&(this._on(this.target,"focus",c),this._on(this.drop,"focus",c),this._on(this.target,"blur",l),this._on(this.drop,"blur",l))}else setTimeout(this.open.bind(this))}},{key:"isOpened",value:function(){if(this.drop)return d(this.drop,s.classPrefix+"-open")}},{key:"toggle",value:function(e){this.isOpened()?this.close(e):this.open(e)}},{key:"open",value:function(e){var t=this;this.isOpened()||(this.drop.parentNode||document.body.appendChild(this.drop),"undefined"!==typeof this.tether&&this.tether.enable(),l(this.drop,s.classPrefix+"-open"),l(this.drop,s.classPrefix+"-open-transitionend"),setTimeout((function(){t.drop&&l(t.drop,s.classPrefix+"-after-open")})),"undefined"!==typeof this.tether&&this.tether.position(),this.trigger("open"),s.updateBodyClasses())}},{key:"_transitionEndHandler",value:function(e){e.target===e.currentTarget&&(d(this.drop,s.classPrefix+"-open")||u(this.drop,s.classPrefix+"-open-transitionend"),this.drop.removeEventListener(g,this.transitionEndHandler))}},{key:"beforeCloseHandler",value:function(e){var t=!0;return this.isClosing||"function"!==typeof this.options.beforeClose||(this.isClosing=!0,t=!1!==this.options.beforeClose(e,this)),this.isClosing=!1,t}},{key:"close",value:function(e){this.isOpened()&&this.beforeCloseHandler(e)&&(u(this.drop,s.classPrefix+"-open"),u(this.drop,s.classPrefix+"-after-open"),this.drop.addEventListener(g,this.transitionEndHandler),this.trigger("close"),"undefined"!==typeof this.tether&&this.tether.disable(),s.updateBodyClasses(),this.options.remove&&this.remove(e))}},{key:"remove",value:function(e){this.close(e),this.drop.parentNode&&this.drop.parentNode.removeChild(this.drop)}},{key:"position",value:function(){this.isOpened()&&"undefined"!==typeof this.tether&&this.tether.position()}},{key:"destroy",value:function(){this.remove(),"undefined"!==typeof this.tether&&this.tether.destroy();for(var e=0;e<this._boundEvents.length;++e){var t=this._boundEvents[e],n=t.element,r=t.event,i=t.handler;n.removeEventListener(r,i)}this._boundEvents=[],this.tether=null,this.drop=null,this.content=null,this.target=null,p(A[s.classPrefix],this),p(s.drops,this)}}]),n}(h);return s}var w=k();return document.addEventListener("DOMContentLoaded",(function(){w.updateBodyClasses()})),w}))},"5fbd":function(e,t,n){"use strict";var r=n("e1f3"),i=n("5706").HTML_OPEN_CLOSE_TAG_RE,a=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var i,o,s,c,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(c=e.src.slice(l,u),i=0;i<a.length;i++)if(a[i][0]
var t={format:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),standalone:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_")},n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),r=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],i=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function a(e){return e>1&&e<5&&~~(e/10) !== 1}function o(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"pár sekund":"pár sekundami";case"ss":return t||r?i+(a(e)?"sekundy":"sekund"):i+"sekundami";case"m":return t?"minuta":r?"minutu":"minutou";case"mm":return t||r?i+(a(e)?"minuty":"minut"):i+"minutami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?i+(a(e)?"hodiny":"hodin"):i+"hodinami";case"d":return t||r?"den":"dnem";case"dd":return t||r?i+(a(e)?"dny":"dní"):i+"dny";case"M":return t||r?"měsíc":"měsícem";case"MM":return t||r?i+(a(e)?"měsíce":"měsíců"):i+"měsíci";case"y":return t||r?"rok":"rokem";case"yy":return t||r?i+(a(e)?"roky":"let"):i+"lety"}}var s=e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s}))},"410c":function(e,t,n){var r={"./ar":"8e73","./ar.js":"8e73","./cs":"3c0d","./cs.js":"3c0d","./de":"b469","./de.js":"b469","./el":"8d47","./el.js":"8d47","./en-ie":"e1d3","./en-ie.js":"e1d3","./es":"898b","./es.js":"898b","./fr":"9f26","./fr.js":"9f26","./it":"6e98","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./pt-br":"d2d4","./pt-br.js":"d2d4","./zh-tw":"90ea","./zh-tw.js":"90ea"};function i(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=a,e.exports=i,i.id="410c"},4236:function(e,t,n){"use strict";var r=n("0068").isSpace;e.exports=function(e,t){var n,i,a,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;if(n=e.pending.length-1,i=e.posMax,!t)if(n>=0&&32===e.pending.charCodeAt(n))if(n>=1&&32===e.pending.charCodeAt(n-1)){a=n-1;while(a>=1&&32===e.pending.charCodeAt(a-1))a--;e.pending=e.pending.slice(0,a),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);o++;while(o<i&&r(e.src.charCodeAt(o)))o++;return e.pos=o,!0}},"428d":function(e,t,n){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},"43e0":function(e,t,n){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}},"44a8":function(e,t,n){"use strict";e.exports=function(e,t){var n,r,i,a,o,s,c=t+1,l=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(s=e.parentType,e.parentType="paragraph";c<u&&!e.isEmpty(c);c++)if(!(e.sCount[c]-e.blkIndent>3)&&!(e.sCount[c]<0)){for(r=!1,i=0,a=l.length;i<a;i++)if(l[i](e,c,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,c,e.blkIndent,!1).trim(),e.line=c,o=e.push("paragraph_open","p",1),o.map=[t,e.line],o=e.push("inline","",0),o.content=n,o.map=[t,e.line],o.children=[],o=e.push("paragraph_close","p",-1),e.parentType=s,!0}},"472d":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"dropdown",staticClass:"bunt-popover-inner",attrs:{role:"dialog",tabindex:"-1"},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.closeDropdown.apply(null,arguments)}}},[e._t("default")],2)},i=[],a=n("5c8f"),o=n.n(a);const s=o.a.createContext({classPrefix:"bunt-drop"});var c=s,l={name:"bunt-popover",props:{target:{type:String},dropdownPosition:{type:String,default:"bottom middle"},openOn:{type:String,default:"click"}},mounted(){if(this.target){const e=this.$parent.$refs[this.target];e.$el?this._target=e.$el:this._target=e,this.drop=new c({target:this._target,content:this.$refs.dropdown,position:this.dropdownPosition,constrainToWindow:!0,openOn:this.openOn}),"bottom left"!==this.dropdownPosition&&(this.drop.open(),this.drop.close(),this.drop.open(),this.drop.close())}},beforeDestroy(){this.drop&&(this.drop.remove(),this.drop.destroy())},methods:{openDropdown(){this.drop&&this.drop.open()},closeDropdown(){this.drop&&this.drop.close()},toggleDropdown(e){this.drop&&this.drop.toggle(e)},positionDrop(){const e=this.drop,t=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;let n=e.drop.getBoundingClientRect().width,r=e.target.getBoundingClientRect().left,i=t-r;if(n>i){let t=n>i?"right":"left";e.tether.attachment.left=t,e.tether.targetAttachment.left=t,e.position()}},dropdownOpened(){this.lastFocussedElement=document.activeElement,this.$refs.dropdown.focus(),this.$emit("opened")},dropdownClosed(){this.lastFocussedElement&&this.lastFocussedElement.focus(),this.$emit("closed")}}},u=l,d=n("2877"),h=Object(d["a"])(u,r,i,!1,null,null,null,!0);t["default"]=h.exports},4883:function(e,t,n){"use strict";function r(){this.__rules__=[],this.__cache__=null}r.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},r.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},r.prototype.at=function(e,t,n){var r=this.__find__(e),i=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null},r.prototype.before=function(e,t,n,r){var i=this.__find__(e),a=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},r.prototype.after=function(e,t,n,r){var i=this.__find__(e),a=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},r.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},r.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},r.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},r.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},r.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=r},"4a23":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,'.c-grid-schedule{flex:auto;background-color:#fafafa}.c-grid-schedule .grid{display:grid;grid-template-columns:78px repeat(var(--total-rooms),1fr) auto;position:relative;min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content}.c-grid-schedule .grid>.room{position:sticky;top:calc(var(--pretalx-sticky-date-offset) + var(--pretalx-sticky-top-offset, 0px));display:flex;justify-content:center;align-items:center;font-size:18px;background-color:#fff;border-bottom:1px solid rgba(0,0,0,.12);z-index:20}.c-grid-schedule .grid>.room .room-description{border:2px solid #bdbdbd;border-radius:100%;height:20px;width:20px;padding:0;font-weight:700;min-width:0;color:#9e9e9e;background-color:#fff;margin-left:8px}.c-grid-schedule .grid>.room .room-description:hover{background-color:#d9d9d9}.c-grid-schedule .grid>.room .room-description.autofocus:focus,body[modality=keyboard] .c-grid-schedule .grid>.room .room-description:focus{background-color:#d9d9d9;outline-color:#bfbfbf;outline-width:2px;outline-offset:2px}.c-grid-schedule .grid>.room .room-description .bunt-ripple-ink .ripple.held{opacity:.7}.c-grid-schedule .grid>.room .room-description.error{background-color:#f44336}.c-grid-schedule .grid>.room .room-description.error:hover{background-color:#f01d0d}.c-grid-schedule .grid>.room .room-description.error.autofocus:focus,body[modality=keyboard] .c-grid-schedule .grid>.room .room-description.error:focus{background-color:#f01d0d;outline-color:#d4190c}.c-grid-schedule .grid>.room .room-description.success{background-color:#4caf50}.c-grid-schedule .grid>.room .room-description.success:hover{background-color:#419544}.c-grid-schedule .grid>.room .room-description.success.autofocus:focus,body[modality=keyboard] .c-grid-schedule .grid>.room .room-description.success:focus{background-color:#419544;outline-color:#39833c}.c-grid-schedule .grid>.room .room-description .bunt-progress-circular svg circle{stroke:#9e9e9e}.c-grid-schedule .grid>.room .room-description .bunt-tooltip{height:auto;width:200px;white-space:normal}.c-grid-schedule .grid .break .time-box{background-color:#9e9e9e}.c-grid-schedule .grid .break .time-box .start{color:#fff}.c-grid-schedule .grid .break .time-box .duration{color:hsla(0,0%,100%,.7)}.c-grid-schedule .grid .break .info{background-color:#eee;border:none;justify-content:center;align-items:center}.c-grid-schedule .grid .break .info .title{font-size:20px;font-weight:500;color:rgba(0,0,0,.54);align:center}.c-grid-schedule .timeslice{color:rgba(0,0,0,.54);padding:8px 10px 0 16px;white-space:nowrap;position:sticky;left:0;text-align:center;background-color:#fafafa;border-top:1px solid rgba(0,0,0,.12);z-index:20}.c-grid-schedule .timeslice.datebreak{font-weight:600;border-top:3px solid rgba(0,0,0,.12);white-space:pre}.c-grid-schedule .timeslice.gap:before{content:"";display:block;width:6px;height:calc(100% - 42px);position:absolute;top:30px;left:50%;background-image:radial-gradient(circle closest-side,#9e9e9e calc(100% - .5px),transparent 100%);background-position:0 0;background-size:5px 15px;background-repeat:repeat-y}.c-grid-schedule .timeline{height:1px;background-color:rgba(0,0,0,.12);position:absolute;width:100%}.c-grid-schedule .timeline.datebreak{height:3px}.c-grid-schedule .now{z-index:20;position:sticky;left:2px}.c-grid-schedule .now:before{content:"";display:block;height:2px;background-color:#f44336;position:absolute;top:calc(var(--offset)*100%);width:100%}.c-grid-schedule .now.on-daybreak:before{background:repeating-linear-gradient(90deg,transparent,transparent 5px,#f44336 0,#f44336 10px)}.c-grid-schedule .now svg{position:absolute;top:calc(var(--offset)*100% - 11px);height:24px;width:24px;fill:#f44336}.c-grid-schedule .bunt-scrollbar-rail-wrapper-x,.c-grid-schedule .bunt-scrollbar-rail-wrapper-y{z-index:30}',""]),e.exports=t},"4a94":function(e,t,n){"use strict";e.exports=function(e,t){var n,r,i,a,o,s,c,l,u=e.pos,d=e.src.charCodeAt(u);if(96!==d)return!1;n=u,u++,r=e.posMax;while(u<r&&96===e.src.charCodeAt(u))u++;if(i=e.src.slice(n,u),c=i.length,e.backticksScanned&&(e.backticks[c]||0)<=n)return t||(e.pending+=i),e.pos+=c,!0;o=s=u;while(-1!==(o=e.src.indexOf("`",s))){s=o+1;while(s<r&&96===e.src.charCodeAt(s))s++;if(l=s-o,l===c)return t||(a=e.push("code_inline","code",0),a.markup=i,a.content=e.src.slice(u,o).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=s,!0;e.backticks[l]=o}return e.backticksScanned=!0,t||(e.pending+=i),e.pos+=c,!0}},"4b3e":function(e,t,n){"use strict";var r=n("0068").isSpace;function i(e,t){var n,i,a,o;return i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],n=e.src.charCodeAt(i++),42!==n&&45!==n&&43!==n||i<a&&(o=e.src.charCodeAt(i),!r(o))?-1:i}function a(e,t){var n,i=e.bMarks[t]+e.tShift[t],a=i,o=e.eMarks[t];if(a+1>=o)return-1;if(n=e.src.charCodeAt(a++),n<48||n>57)return-1;for(;;){if(a>=o)return-1;if(n=e.src.charCodeAt(a++),!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(a-i>=10)return-1}return a<o&&(n=e.src.charCodeAt(a),!r(n))?-1:a}function o(e,t){var n,r,i=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===i&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}e.exports=function(e,t,n,r){var s,c,l,u,d,h,f,p,m,b,g,v,_,y,A,k,w,x,M,C,S,E,D,T,O,L,P,z,Y=!1,N=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]<e.blkIndent)return!1;if(r&&"paragraph"===e.parentType&&e.sCount[t]>=e.blkIndent&&(Y=!0),(D=a(e,t))>=0){if(f=!0,O=e.bMarks[t]+e.tShift[t],_=Number(e.src.slice(O,D-1)),Y&&1!==_)return!1}else{if(!((D=i(e,t))>=0))return!1;f=!1}if(Y&&e.skipSpaces(D)>=e.eMarks[t])return!1;if(v=e.src.charCodeAt(D-1),r)return!0;g=e.tokens.length,f?(z=e.push("ordered_list_open","ol",1),1!==_&&(z.attrs=[["start",_]])):z=e.push("bullet_list_open","ul",1),z.map=b=[t,0],z.markup=String.fromCharCode(v),A=t,T=!1,P=e.md.block.ruler.getRules("list"),x=e.parentType,e.parentType="list";while(A<n){E=D,y=e.eMarks[A],h=k=e.sCount[A]+D-(e.bMarks[t]+e.tShift[t]);while(E<y){if(s=e.src.charCodeAt(E),9===s)k+=4-(k+e.bsCount[A])%4;else{if(32!==s)break;k++}E++}if(c=E,d=c>=y?1:k-h,d>4&&(d=1),u=h+d,z=e.push("list_item_open","li",1),z.markup=String.fromCharCode(v),z.map=p=[t,0],f&&(z.info=e.src.slice(O,D-1)),S=e.tight,C=e.tShift[t],M=e.sCount[t],w=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=u,e.tight=!0,e.tShift[t]=c-e.bMarks[t],e.sCount[t]=k,c>=y&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!T||(N=!1),T=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=w,e.tShift[t]=C,e.sCount[t]=M,e.tight=S,z=e.push("list_item_close","li",-1),z.markup=String.fromCharCode(v),A=t=e.line,p[1]=A,c=e.bMarks[t],A>=n)break;if(e.sCount[A]<e.blkIndent)break;if(e.sCount[t]-e.blkIndent>=4)break;for(L=!1,l=0,m=P.length;l<m;l++)if(P[l](e,A,n,!0)){L=!0;break}if(L)break;if(f){if(D=a(e,A),D<0)break;O=e.bMarks[A]+e.tShift[A]}else if(D=i(e,A),D<0)break;if(v!==e.src.charCodeAt(D-1))break}return z=f?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1),z.markup=String.fromCharCode(v),b[1]=A,e.line=A,e.parentType=x,N&&o(e,g),!0}},"4c26":function(e,t,n){"use strict";var r=/\r\n?|\n/g,i=/\0/g;e.exports=function(e){var t;t=e.src.replace(r,"\n"),t=t.replace(i,"�"),e.src=t}},"4cb4":function(e,t,n){"use strict";var r=n("4883"),i=[["text",n("baca")],["newline",n("4236")],["escape",n("6e00")],["backticks",n("4a94")],["strikethrough",n("922c").tokenize],["emphasis",n("c8a9").tokenize],["link",n("cd0f")],["image",n("932d")],["autolink",n("28ec")],["html_inline",n("c2d8")],["entity",n("5b54")]],a=[["balance_pairs",n("838d")],["strikethrough",n("922c").postProcess],["emphasis",n("c8a9").postProcess],["text_collapse",n("2085")]];function o(){var e;for(this.ruler=new r,e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1]);for(this.ruler2=new r,e=0;e<a.length;e++)this.ruler2.push(a[e][0],a[e][1])}o.prototype.skipToken=function(e){var t,n,r=e.pos,i=this.ruler.getRules(""),a=i.length,o=e.md.options.maxNesting,s=e.cache;if("undefined"===typeof s[r]){if(e.level<o){for(n=0;n<a;n++)if(e.level++,t=i[n](e,!0),e.level--,t)break}else e.pos=e.posMax;t||e.pos++,s[r]=e.pos}else e.pos=s[r]},o.prototype.tokenize=function(e){var t,n,r=this.ruler.getRules(""),i=r.length,a=e.posMax,o=e.md.options.maxNesting;while(e.pos<a){if(e.level<o)for(n=0;n<i;n++)if(t=r[n](e,!1),t)break;if(t){if(e.pos>=a)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},o.prototype.parse=function(e,t,n,r){var i,a,o,s=new this.State(e,t,n,r);for(this.tokenize(s),a=this.ruler2.getRules(""),o=a.length,i=0;i<o;i++)a[i](s)},o.prototype.State=n("097b"),e.exports=o},"4fc2":function(e,t){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},"565b":function(e,t,n){"use strict";t.parseLinkLabel=n("df56"),t.parseLinkDestination=n("e4ca"),t.parseLinkTitle=n("7d91")},5706:function(e,t,n){"use strict";var r="[a-zA-Z_:][a-zA-Z0-9:._-]*",i="[^\"'=<>`\\x00-\\x20]+",a="'[^']*'",o='"[^"]*"',s="(?:"+i+"|"+a+"|"+o+")",c="(?:\\s+"+r+"(?:\\s*=\\s*"+s+")?)",l="<[A-Za-z][A-Za-z0-9\\-]*"+c+"*\\s*\\/?>",u="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",d="\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e",h="<[?][\\s\\S]*?[?]>",f="<![A-Z]+\\s+[^>]*>",p="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",m=new RegExp("^(?:"+l+"|"+u+"|"+d+"|"+h+"|"+f+"|"+p+")"),b=new RegExp("^(?:"+l+"|"+u+")");e.exports.HTML_TAG_RE=m,e.exports.HTML_OPEN_CLOSE_TAG_RE=b},"5a74":function(e,t,n){"use strict";if(n.r(t),"undefined"!==typeof window){var r=window.document.currentScript;if(Object({NODE_ENV:"production",BASE_URL:"/"}).NEED_CURRENTSCRIPT_POLYFILL){var i=n("8875");r=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i})}var a=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);a&&(n.p=a[1])}var o=n("2b0e");const s=/-(\w)/g,c=e=>e.replace(s,(e,t)=>t?t.toUpperCase():""),l=/\B([A-Z])/g,u=e=>e.replace(l,"-$1").toLowerCase();function d(e){const t={};return e.forEach(e=>{t[e]=void 0}),t}function h(e,t,n){e[t]=[].concat(e[t]||[]),e[t].unshift(n)}function f(e,t){if(e){const n=e.$options[t]||[];n.forEach(t=>{t.call(e)})}}function p(e,t){return new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:t})}const m=e=>/function Boolean/.test(String(e)),b=e=>/function Number/.test(String(e));function g(e,t,{type:n}={}){if(m(n))return"true"===e||"false"===e?"true"===e:""===e||e===t||null!=e||e;if(b(n)){const t=parseFloat(e,10);return isNaN(t)?e:t}return e}function v(e,t){const n=[];for(let r=0,i=t.length;r<i;r++)n.push(_(e,t[r]));return n}function _(e,t){if(3===t.nodeType)return t.data.trim()?t.data:null;if(1===t.nodeType){const n={attrs:y(t),domProps:{innerHTML:t.innerHTML}};return n.attrs.slot&&(n.slot=n.attrs.slot,delete n.attrs.slot),e(t.tagName,n)}return null}function y(e){const t={};for(let n=0,r=e.attributes.length;n<r;n++){const r=e.attributes[n];t[r.nodeName]=r.nodeValue}return t}function A(e,t){const n="function"===typeof t&&!t.cid;let r,i,a,o=!1;function s(e){if(o)return;const t="function"===typeof e?e.options:e,n=Array.isArray(t.props)?t.props:Object.keys(t.props||{});r=n.map(u),i=n.map(c);const s=Array.isArray(t.props)?{}:t.props||{};a=i.reduce((e,t,r)=>(e[t]=s[n[r]],e),{}),h(t,"beforeCreate",(function(){const e=this.$emit;this.$emit=(t,...n)=>(this.$root.$options.customElement.dispatchEvent(p(t,n)),e.call(this,t,...n))})),h(t,"created",(function(){i.forEach(e=>{this.$root.props[e]=this[e]})})),i.forEach(e=>{Object.defineProperty(m.prototype,e,{get(){return this._wrapper.props[e]},set(t){this._wrapper.props[e]=t},enumerable:!1,configurable:!0})}),o=!0}function l(e,t){const n=c(t),r=e.hasAttribute(t)?e.getAttribute(t):void 0;e._wrapper.props[n]=g(r,t,a[n])}class m extends HTMLElement{constructor(){const n=super();n.attachShadow({mode:"open"});const r=n._wrapper=new e({name:"shadow-root",customElement:n,shadowRoot:n.shadowRoot,data(){return{props:{},slotChildren:[]}},render(e){return e(t,{ref:"inner",props:this.props},this.slotChildren)}}),i=new MutationObserver(e=>{let t=!1;for(let r=0;r<e.length;r++){const i=e[r];o&&"attributes"===i.type&&i.target===n?l(n,i.attributeName):t=!0}t&&(r.slotChildren=Object.freeze(v(r.$createElement,n.childNodes)))});i.observe(n,{childList:!0,subtree:!0,characterData:!0,attributes:!0})}get vueComponent(){return this._wrapper.$refs.inner}connectedCallback(){const e=this._wrapper;if(e._isMounted)f(this.vueComponent,"activated");else{const n=()=>{e.props=d(i),r.forEach(e=>{l(this,e)})};o?n():t().then(e=>{(e.__esModule||"Module"===e[Symbol.toStringTag])&&(e=e.default),s(e),n()}),e.slotChildren=Object.freeze(v(e.$createElement,this.childNodes)),e.$mount(),this.shadowRoot.appendChild(e.$el)}}disconnectedCallback(){f(this.vueComponent,"deactivated")}}return n||s(t),m}var k=A,w=(n("24fb"),n("35d6"),n("2877")),x=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"pretalx-schedule",class:e.showGrid?["grid-schedule"]:["list-schedule"],style:{"--scrollparent-width":e.scrollParentWidth+"px","--schedule-max-width":e.scheduleMaxWidth+"px","--pretalx-sticky-date-offset":e.days&&e.days.length>1?"48px":"0px"}},[e.scheduleError?[e._m(0)]:e.schedule&&e.sessions?[e.showFilterModal?n("div",{staticClass:"modal-overlay",on:{click:function(t){t.stopPropagation(),e.showFilterModal=!1}}},[n("div",{staticClass:"modal-box",on:{click:function(e){e.stopPropagation()}}},[n("h3",[e._v("Tracks")]),e._l(e.allTracks,(function(t){return n("div",{key:t.value,staticClass:"checkbox-line",style:{"--track-color":t.color}},[n("bunt-checkbox",{attrs:{type:"checkbox",label:t.label,name:t.value+t.label,value:t.value},on:{input:function(t){e.onlyFavs=!1}},model:{value:t.selected,callback:function(n){e.$set(t,"selected",n)},expression:"track.selected"}}),e.getLocalizedString(t.description).length?n("div",{staticClass:"track-description"},[e._v(e._s(e.getLocalizedString(t.description)))]):e._e()],1)}))],2)]):e._e(),n("div",{staticClass:"settings"},[this.schedule.tracks.length?n("bunt-button",{staticClass:"filter-tracks",on:{click:function(t){e.showFilterModal=!0}}},[n("svg",{attrs:{id:"filter",viewBox:"0 0 752 752"}},[n("path",{attrs:{d:"m401.57 264.71h-174.75c-6.6289 0-11.84 5.2109-11.84 11.84 0 6.6289 5.2109 11.84 11.84 11.84h174.75c5.2109 17.523 21.312 30.309 40.727 30.309 18.941 0 35.52-12.785 40.254-30.309h43.098c6.6289 0 11.84-5.2109 11.84-11.84 0-6.6289-5.2109-11.84-11.84-11.84h-43.098c-5.2109-17.523-21.312-30.309-40.254-30.309-19.414 0-35.516 12.785-40.727 30.309zm58.723 11.84c0 10.418-8.5234 18.469-18.469 18.469s-18.469-8.0508-18.469-18.469 8.5234-18.469 18.469-18.469c9.4727-0.003906 18.469 8.0469 18.469 18.469z"}}),n("path",{attrs:{d:"m259.5 359.43h-32.676c-6.6289 0-11.84 5.2109-11.84 11.84s5.2109 11.84 11.84 11.84h32.676c5.2109 17.523 21.312 30.309 40.727 30.309 18.941 0 35.52-12.785 40.254-30.309h185.17c6.6289 0 11.84-5.2109 11.84-11.84s-5.2109-11.84-11.84-11.84h-185.17c-5.2109-17.523-21.312-30.309-40.254-30.309-19.418 0-35.52 12.785-40.73 30.309zm58.723 11.84c0 10.418-8.5234 18.469-18.469 18.469-9.9453 0-18.469-8.0508-18.469-18.469s8.5234-18.469 18.469-18.469c9.9453 0 18.469 8.0508 18.469 18.469z"}}),n("path",{attrs:{d:"m344.75 463.61h-117.92c-6.6289 0-11.84 5.2109-11.84 11.84s5.2109 11.84 11.84 11.84h117.92c5.2109 17.523 21.312 30.309 40.727 30.309 18.941 0 35.52-12.785 40.254-30.309h99.926c6.6289 0 11.84-5.2109 11.84-11.84s-5.2109-11.84-11.84-11.84h-99.926c-5.2109-17.523-21.312-30.309-40.254-30.309-19.418 0-35.52 12.785-40.727 30.309zm58.723 11.84c0 10.418-8.5234 18.469-18.469 18.469s-18.469-8.0508-18.469-18.469 8.5234-18.469 18.469-18.469 18.469 8.0508 18.469 18.469z"}})]),[e._v("Filter")],e.filteredTracks.length?[e._v("("+e._s(e.filteredTracks.length)+")")]:e._e()],2):e._e(),e.favs.length?n("bunt-button",{staticClass:"fav-toggle",class:e.onlyFavs?["active"]:[],on:{click:function(t){e.onlyFavs=!e.onlyFavs,e.onlyFavs&&e.resetFilteredTracks()}}},[n("svg",{attrs:{id:"star",viewBox:"0 0 24 24"}},[n("polygon",{style:{fill:"#FFA000",stroke:"#FFA000"},attrs:{points:"14.43,10 12,2 9.57,10 2,10 8.18,14.41 5.83,22 12,17.31 18.18,22 15.83,14.41 22,10"}})]),[e._v(e._s(e.favs.length))]],2):e._e(),e.inEventTimezone?[n("div",{staticClass:"timezone-label bunt-tab-header-item"},[e._v(e._s(e.schedule.timezone))])]:[n("bunt-select",{attrs:{name:"timezone",options:[{id:e.schedule.timezone,label:e.schedule.timezone},{id:e.userTimezone,label:e.userTimezone}]},on:{blur:e.saveTimezone},model:{value:e.currentTimezone,callback:function(t){e.currentTimezone=t},expression:"currentTimezone"}})]],2),e.days&&e.days.length>1?n("bunt-tabs",{ref:"tabs",staticClass:"days",class:e.showGrid?["grid-tabs"]:["list-tabs"],attrs:{"active-tab":e.currentDay&&e.currentDay.format()}},e._l(e.days,(function(t){return n("bunt-tab",{attrs:{id:t.format(),header:t.format(e.dateFormat)},on:{selected:function(n){return e.changeDay(t)}}})})),1):e._e(),e.showGrid?n("grid-schedule",{attrs:{sessions:e.sessions,rooms:e.rooms,currentDay:e.currentDay,now:e.now,scrollParent:e.scrollParent,favs:e.favs},on:{changeDay:function(t){e.currentDay=t},fav:function(t){return e.fav(t)},unfav:function(t){return e.unfav(t)}}}):n("linear-schedule",{attrs:{sessions:e.sessions,currentDay:e.currentDay,now:e.now,scrollParent:e.scrollParent,favs:e.favs},on:{changeDay:function(t){e.currentDay=t},fav:function(t){return e.fav(t)},unfav:function(t){return e.unfav(t)}}})]:n("bunt-progress-circular",{attrs:{size:"huge",page:!0}})],2)},M=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"schedule-error"},[n("div",{staticClass:"error-message"},[e._v("An error occurred while loading the schedule. Please try again later.")])])}],C=n("6dd8");class S{constructor(e,t){if(this.options=t,this.onScroll=this.onScroll.bind(this),this.onDocumentMousemove=this.onDocumentMousemove.bind(this),this.onDocumentMouseup=this.onDocumentMouseup.bind(this),this.onThumbMousedownX=this.onThumbMousedown.bind(this,"x"),this.onThumbMousedownY=this.onThumbMousedown.bind(this,"y"),this.onResize=this.onResize.bind(this),this.el=e,this.railsParent=t.railsParent||this.el,this.refreshStyling(),t.scrollX&&this.createRail("x"),t.scrollY&&this.createRail("y"),t.manualCompute||(this.computeDimensions(),this.computeThumbPositions(),this.update()),this.el.addEventListener("scroll",this.onScroll),!t.manualUpdate){this.resizeObserver=new C["a"](this.onResize),this.resizeObserver.observe(this.el);for(const e of this.el.children)this.resizeObserver.observe(e);this.mutationObserver=new MutationObserver(e=>{for(const t of e){for(const e of t.addedNodes)e.nodeType===Node.ELEMENT_NODE&&this.resizeObserver.observe(e);for(const e of t.removedNodes)e.nodeType===Node.ELEMENT_NODE&&this.resizeObserver.unobserve(e)}this.onResize()}),this.mutationObserver.observe(this.el,{childList:!0})}}createRail(e){const t=document.createElement("div");t.classList.add("bunt-scrollbar-rail-wrapper-"+e);const n=document.createElement("div");n.classList.add("bunt-scrollbar-rail-"+e);const r=document.createElement("div");r.classList.add("bunt-scrollbar-thumb"),t.appendChild(n),n.appendChild(r),this.railsParent.appendChild(t),r.addEventListener("mousedown",this["onThumbMousedown"+e.toUpperCase()]),this[e]={railEl:n,thumbEl:r}}destroy(){var e,t,n,r;null===(e=this.resizeObserver)||void 0===e||e.disconnect(),null===(t=this.mutationObserver)||void 0===t||t.disconnect(),document.removeEventListener("mousemove",this.onDocumentMousemove),document.removeEventListener("mouseup",this.onDocumentMouseup,{capture:!0}),this.el.removeEventListener("scroll",this.onScroll),null===(n=this.x)||void 0===n||n.thumbEl.removeEventListener("mousedown",this.onThumbMousedownX),null===(r=this.y)||void 0===r||r.thumbEl.removeEventListener("mousedown",this.onThumbMousedownY)}refreshStyling(){this.el.classList.add("bunt-scrollbar")}update(){this.updateThumb("x"),this.updateThumb("y")}onScroll(e){this.options.onScroll&&this.options.onScroll(e),this.computeThumbPositions(),this.update()}onThumbMousedown(e,t){t.stopPropagation(),this.options._preventMousedown&&t.preventDefault(),this.dragging=e,this.draggingOffset=t["offset"+e.toUpperCase()],this.el.style.userSelect="none",document.body.style["-moz-user-select"]="none",this[e].railEl.classList.add("active"),document.addEventListener("mousemove",this.onDocumentMousemove),document.addEventListener("mouseup",this.onDocumentMouseup,{capture:!0})}onDocumentMousemove(e){if("x"===this.dragging){const t=this.el.clientWidth-this.x.thumbLength,n=e.clientX-this.el.getBoundingClientRect().left-this.draggingOffset;this.x.thumbPosition=Math.min(Math.max(0,n),t),this.el.scrollLeft=this.x.thumbPosition/t*(this.el.scrollWidth-this.el.clientWidth)}if("y"===this.dragging){const t=this.el.clientHeight-this.y.thumbLength,n=e.clientY-this.el.getBoundingClientRect().top-this.draggingOffset;this.y.thumbPosition=Math.min(Math.max(0,n),t),this.el.scrollTop=this.y.thumbPosition/t*(this.el.scrollHeight-this.el.clientHeight)}this.updateThumb(this.dragging)}onDocumentMouseup(e){this[this.dragging].railEl.classList.remove("active"),this.dragging=null,this.el.style.userSelect="",document.body.style["-moz-user-select"]="",document.removeEventListener("mousemove",this.onDocumentMousemove),document.removeEventListener("mouseup",this.onDocumentMouseup,{capture:!0})}onResize(e){this.computeDimensions(),this.computeThumbPositions(),this.update()}computeDimensions(){this.x&&(this.x.railLength=this.el.clientWidth,this.x.visibleRatio=this.el.clientWidth/this.el.scrollWidth,this.x.thumbLength=this.el.clientWidth*this.x.visibleRatio),this.y&&(this.y.railLength=this.el.clientHeight,this.y.visibleRatio=this.el.clientHeight/this.el.scrollHeight,this.y.thumbLength=this.el.clientHeight*this.y.visibleRatio)}computeThumbPositions(){this.x&&(this.x.thumbPosition=this.el.scrollLeft/(this.el.scrollWidth-this.el.clientWidth)*(this.el.clientWidth-this.x.thumbLength)),this.y&&(this.y.thumbPosition=this.el.scrollTop/(this.el.scrollHeight-this.el.clientHeight)*(this.el.clientHeight-this.y.thumbLength))}updateThumb(e){const t=this[e];t&&(t.visibleRatio>=1?t.thumbEl.style.display="none":(t.thumbEl.style.display=null,"x"===e?(t.railEl.style.width=t.railLength+"px",t.thumbEl.style.width=t.thumbLength+"px",t.thumbEl.style.left=t.thumbPosition+"px"):"y"===e&&(t.railEl.style.height=t.railLength+"px",t.thumbEl.style.height=t.thumbLength+"px",t.thumbEl.style.top=t.thumbPosition+"px")))}}var E=function(e){e.directive("scrollbar",{bind(e,t,n){var r;e.__buntpapier__scrollbar=new S(e,{scrollX:t.modifiers.x,scrollY:t.modifiers.y,_preventMousedown:null===(r=t.value)||void 0===r?void 0:r._preventMousedown})},inserted(e){e.__buntpapier__scrollbar&&(e.__buntpapier__scrollbar.refreshStyling(),e.__buntpapier__scrollbar.update())},componentUpdated(e,t,n,r){e.__buntpapier__scrollbar?(e.__buntpapier__scrollbar.refreshStyling(),e.__buntpapier__scrollbar.update()):e.__buntpapier__scrollbar=new S(e,{scrollX:t.modifiers.x,scrollY:t.modifiers.y})},unbind(e,t,n,r){e.__buntpapier__scrollbar&&e.__buntpapier__scrollbar.destroy()}})},D=n("f0bd");const T=32;var O=function(e){class t{constructor(e,t){this.el=e,this.options=t,this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.options.placement=t.placement||"auto",this.el.addEventListener("mouseenter",this.show),this.el.addEventListener("mouseleave",this.hide)}createTooltip(){this.tooltipEl||(this.tooltipEl=document.createElement("div"),this.tooltipEl.classList.add("bunt-tooltip"),this.tooltipEl.style.position=this.options.fixed?"fixed":"absolute",this.tooltipEl.textContent=this.text,this.el.appendChild(this.tooltipEl),this.popper=new D["a"](this.el,this.tooltipEl,{removeOnDestroy:!0,placement:this.options.placement,positionFixed:this.options.fixed,modifiers:{offset:{offset:"0, 8"},applyStyle:{enabled:!1},preventOverflow:{boundariesElement:this.options.boundariesElement||"scrollParent"},applyTooltipStyle:{enabled:!0,fn:e=>{this.positions=e.popper,this.tooltipEl.style.transform=`translate3d(${Math.round(this.positions.left)}px, ${Math.round(this.positions.top)}px, 0)`},order:900}}}))}update(t,n){this.text=t,this.forceDisplay=n,e.nextTick(()=>{n?this.show():this.hide()})}destroyTooltip(){this.popper&&(this.popper.destroy(),this.popper=null,this.tooltipEl=null)}destroy(){this.destroyTooltip(),this.el.removeEventListener("mouseenter",this.show),this.el.removeEventListener("mouseleave",this.hide)}show(){!this.displaying&&this.text&&(this.createTooltip(),this.displaying=!0,e.nextTick(()=>{if(this.animation)this.animation.reverse();else{let e;e=this.options.placement.startsWith("top")?{top:Math.round(this.positions.top)+T,left:Math.round(this.positions.left)}:this.options.placement.startsWith("left")?{top:Math.round(this.positions.top),left:Math.round(this.positions.left)+T}:this.options.placement.startsWith("right")?{top:Math.round(this.positions.top),left:Math.round(this.positions.left)-T}:{top:Math.round(this.positions.top)-T,left:Math.round(this.positions.left)},this.animation=this.tooltipEl.animate([{transform:`translate3d(${e.left}px, ${e.top}px, 0)`,opacity:0},{transform:`translate3d(${Math.round(this.positions.left)}px, ${Math.round(this.positions.top)}px, 0)`,opacity:1}],{duration:200,easing:"ease-in-out"}),this.animation.onfinish=()=>{this.animation&&this.animation.playbackRate<0&&(this.destroyTooltip(),this.animation=null)}}}))}hide(){this.displaying&&!this.forceDisplay&&(this.displaying=!1,this.animation&&this.animation.reverse(),this.text||this.destroyTooltip())}}e.directive("tooltip",{bind(e,n,r){let i;i="string"===typeof n.value?n.value:n.value.text,e.__buntpapier__tooltip=new t(e,{placement:n.value.placement||Object.keys(n.modifiers).find(e=>["auto","top","right","bottom","left"].find(t=>e.startsWith(t))),fixed:n.value.fixed||n.modifiers.fixed,boundariesElement:n.value.boundariesElement}),e.__buntpapier__tooltip.update(i,n.value.show)},update(e,t,n,r){if(!e.__buntpapier__tooltip||t.value===t.oldValue)return;let i;i="string"===typeof t.value?t.value:t.value.text,e.__buntpapier__tooltip.update(i,t.value.show)},unbind(e,t,n,r){e.__buntpapier__tooltip&&e.__buntpapier__tooltip.destroy()}})},L=function(e){e.directive("resizeObserver",{bind(e,t){const n=new C["a"](t.value);n.observe(e),e.__buntpapier__resize_observer=n},unbind(e,t,n,r){e.__buntpapier__resize_observer&&e.__buntpapier__resize_observer.disconnect()}}),E(e),O(e)},P=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.tooltipOptions||{text:e._tooltip,show:!!this.errorMessage,placement:e.tooltipPlacement,fixed:e.tooltipFixed},expression:"tooltipOptions || {text: _tooltip, show: !!this.errorMessage, placement: tooltipPlacement, fixed: tooltipFixed}"}],ref:"button",staticClass:"bunt-button",class:{disabled:e.disabled||e.loading||e.showSuccess,error:e.errorMessage||e.error,success:e.showSuccess},attrs:{type:e.type,"aria-disabled":e.disabled},on:{click:e.onClick}},[n("div",{staticClass:"bunt-button-content",class:{invisible:e.loading||e.errorMessage||e.error||e.showSuccess}},[e.icon?n("i",{staticClass:"bunt-icon mdi",class:[e.iconClass]}):e._e(),n("div",{staticClass:"bunt-button-text"},[e._t("default",(function(){return[n("span",{domProps:{textContent:e._s(e.text)}})]}))],2)]),n("progress-circular",{directives:[{name:"show",rawName:"v-show",value:e.loading,expression:"loading"}],attrs:{size:"small"}}),e.errorMessage||e.error?n("i",{staticClass:"bunt-icon mdi mdi-replay error"}):e._e(),e.showSuccess?n("i",{staticClass:"bunt-icon mdi mdi-check success"}):e._e(),e.noInk||e.disabled?e._e():n("ripple-ink")],1)},z=[],Y=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-ripple-ink",on:{mousedown:function(t){return e.mousedown(t)},touchstart:function(t){return e.touchstart(t)}}},[n("transition",{attrs:{name:"ripple-ink"}},[e.show?n("div",{staticClass:"ripple",style:e.style}):e._e()])],1)},N=[],j={name:"bunt-ripple-ink",data(){return{show:!1,style:null}},methods:{mousedown(e){0===e.button&&this.ripple(e.type,e)},touchstart(e){if(e.changedTouches)for(let t=0;t<e.changedTouches.length;++t)this.ripple(e.type,e.changedTouches[t])},ripple(e,t){const n=this.$el,r=n.getAttribute("data-ui-event");if(r&&r!==e)return;n.setAttribute("data-ui-event",e);let i,a=n.getBoundingClientRect(),o=t.offsetX;void 0!==o?i=t.offsetY:(o=t.clientX-a.left,i=t.clientY-a.top);let s=a.width===a.height?1.412*a.width:Math.sqrt(a.width*a.width+a.height*a.height),c=2*s+"px";this.style={width:c,height:c,marginLeft:-s+o+"px",marginTop:-s+i+"px"},this.show=!0;const l=["mouseleave","mouseup","touchend"],u=()=>{l.forEach(e=>{n.removeEventListener(e,u)}),setTimeout(()=>{this.show=!1,this.style=null,n.removeAttribute("data-ui-event")},200)};l.forEach(e=>{n.addEventListener(e,u)})}}},F=j,R=Object(w["a"])(F,Y,N,!1,null,null,null,!0),B=R.exports,$={props:{noInk:{type:Boolean,default:!1}},components:{RippleInk:B}},I=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-progress-circular active",class:[e.size,{"progress-center":e.center,"progress-page":e.page}]},[n("svg",{attrs:{viewBox:"25 25 50 50"}},[n("circle",{attrs:{cx:"50",cy:"50",r:"20"}})])])},q=[],H={props:{center:{type:Boolean,default:!1},page:{type:Boolean,default:!1},size:{type:String,default:"normal"}},data(){return{}},ready(){},beforeDestroy(){},methods:{}},W=H,U=Object(w["a"])(W,I,q,!1,null,null,null,!0),V=U.exports;const G={add:"plus",done:"check",remove:"minus",search:"magnify",help_outline:"help-circle-outline"};var K={getClass(e){return e?"mdi-"+(G[e]||e).replace("_","-"):""}},Z={name:"bunt-button",components:{ProgressCircular:V},mixins:[$],props:{text:String,icon:String,iconRight:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},type:{type:String,default:"button"},error:Boolean,errorMessage:String,successAfterLoading:{type:Boolean,default:!0},tooltip:String,tooltipPlacement:{type:String,default:"bottom"},tooltipFixed:{type:Boolean,default:!1},tooltipOptions:Object},data(){return{_loading:!1,showSuccess:!1}},computed:{_tooltip(){return this.errorMessage?this.errorMessage:this.tooltip},iconClass(){return K.getClass(this.icon)}},watch:{loading:"loadingChanged",errorMessage:"errorChanged",error:"errorChanged"},methods:{loadingChanged(e){if(e)this._loading=e,this.userShowTooltip=!1,this.showSuccess=!1,this.$successTimeout&&clearTimeout(this.$successTimeout);else{if(this._loading=e,this.errorMessage||this.error)return;this.showSuccess=!0,this.$successTimeout=setTimeout(()=>{this.showSuccess=!1},3e3)}},errorChanged(e){null!==e&&(this.showSuccess=!1)},onClick(e){this.disabled||this.loading||this.showSuccess||this.$emit("click",e)}}},X=Z,J=Object(w["a"])(X,P,z,!1,null,null,null,!0),Q=J.exports,ee=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-checkbox",class:{checked:e.value}},[n("input",{attrs:{type:"checkbox",name:e.name,disabled:e.disabled,readonly:e.readonly},domProps:{checked:e.value},on:{change:function(t){return e.onChange(t)},focus:function(t){e.focused=!0},blur:e.onBlur}}),n("div",{staticClass:"bunt-checkbox-box"}),e.label?n("label",[e._v(e._s(e.label))]):n("label",[e._t("default")],2)])},te=[],ne={name:"bunt-checkbox",components:{},props:{value:{type:Boolean,default:!1},name:{type:String,required:!0},label:String,disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},data(){return{focused:!1}},computed:{},created(){},mounted(){this.$nextTick(()=>{})},methods:{onChange(e){this.$emit("input",e.target.checked),this.validation&&this.validation.$touch()},onBlur(){this.focused=!1,this.validation&&this.validation.$touch()}}},re=ne,ie=Object(w["a"])(re,ee,te,!1,null,null,null,!0),ae=ie.exports,oe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-radio",class:{checked:e.isChecked}},[n("input",{attrs:{type:"radio",name:e.name,disabled:e.disabled,readonly:e.readonly},domProps:{value:e.value,checked:e.isChecked},on:{change:function(t){return e.onChange(t)},focus:function(t){e.focused=!0},blur:e.onBlur}}),n("div",{staticClass:"bunt-radio-circle"}),e.label?n("label",[e._v(e._s(e.label))]):n("label",[e._t("default")],2)])},se=[],ce={name:"bunt-radio",model:{prop:"checked",event:"change"},props:{checked:null,value:null,name:{type:String,required:!0},label:String,disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},data(){return{focused:!1}},computed:{isChecked(){return this.checked===this.value}},methods:{onChange(e){this.$emit("change",this.value),this.validation&&this.validation.$touch()},onBlur(){this.focused=!1,this.validation&&this.validation.$touch()}}},le=ce,ue=Object(w["a"])(le,oe,se,!1,null,null,null,!0),de=ue.exports,he=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("i",{staticClass:"bunt-icon mdi",class:[e.iconClass]})},fe=[],pe={name:"bunt-icon",props:{icon:{type:String,required:!0}},computed:{iconClass(){return K.getClass(this.icon)}}},me=pe,be=Object(w["a"])(me,he,fe,!1,null,null,null,!0),ge=be.exports,ve=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.tooltipOptions||{text:e.tooltip,placement:e.tooltipPlacement,fixed:e.tooltipFixed},expression:"tooltipOptions || {text: tooltip, placement: tooltipPlacement, fixed: tooltipFixed}"}],ref:"button",staticClass:"bunt-icon-button",class:{disabled:e.disabled},attrs:{type:e.type,"aria-disabled":e.disabled},on:{click:e.onClick}},[e.iconClass()?n("i",{staticClass:"bunt-icon mdi",class:[e.iconClass()]}):e._t("default"),e.noInk||e.disabled?e._e():n("ripple-ink")],2)},_e=[],ye={name:"bunt-icon-button",mixins:[$],props:{disabled:{type:Boolean,default:!1},type:{type:String,default:"button"},tooltip:String,tooltipPlacement:{type:String,default:"bottom"},tooltipFixed:{type:Boolean,default:!1},tooltipOptions:Object},data(){return{showTooltip:!1}},methods:{iconClass(){if(!this.$slots.default[0].tag)return K.getClass(this.$slots.default[0].text)},onClick(e){this.disabled||this.$emit("click",e)}}},Ae=ye,ke=Object(w["a"])(Ae,ve,_e,!1,null,null,null,!0),we=ke.exports,xe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.generateOutline,expression:"generateOutline"}],staticClass:"bunt-input",class:{focused:e.focused,"floating-label":e.floatingLabel,invalid:e.invalid,disabled:e.disabled,"with-icon":e.icon},style:{"--label-gap":e.floatingLabelWidth}},[n("div",{staticClass:"label-input-container"},[n("label",{attrs:{for:e.name}},[e._v(e._s(e.label))]),e.icon?n("div",{staticClass:"icon mdi",class:[e.iconClass]}):e._e(),n("input",{ref:"input",attrs:{type:e.type,name:e.name,disabled:e.disabled,readonly:e.readonly,placeholder:e.placeholder},domProps:{value:e.value},on:{input:function(t){return e.onInput(t)},focus:function(t){e.focused=!0},blur:e.onBlur}}),n("div",{directives:[{name:"show",rawName:"v-show",value:e.invalid,expression:"invalid"}],staticClass:"error-icon mdi mdi-alert-circle",attrs:{title:e.hintText}}),n("svg",{ref:"outline",staticClass:"outline"},[n("path",{attrs:{d:e.outlineStroke}})])]),e.hintIsHtml?n("div",{staticClass:"hint",domProps:{innerHTML:e._s(e.hintText)}}):n("div",{staticClass:"hint"},[e._v(e._s(e.hintText))])])},Me=[];const Ce="undefined"!==typeof window&&document.createElement("canvas");function Se(e,t){if("undefined"===typeof window)return 0;var n=Ce.getContext("2d");return n.font=t,n.measureText(e||"")}var Ee={data:function(){return{outlineStroke:""}},computed:{floatingLabelWidth(){return this.label?Se(this.label,"12px 'Roboto', \"Helvetica Neue\", HelveticaNeue, Helvetica, Arial, sans-serif").width+8:0}},mounted(){this.$nextTick(()=>{this.generateOutline()})},methods:{generateOutline(){const{width:e,height:t}=this.$refs.outline.getBoundingClientRect(),n=4,r=n+1;this.outlineStroke=`M ${r} 1\n\t\t\th ${e-2*r}\n\t\t\ta ${n} ${n} 0 0 1 ${n} ${n}\n\t\t\tv ${t-2*r}\n\t\t\ta ${n} ${n} 0 0 1 ${-n} ${n}\n\t\t\th ${2*r-e}\n\t\t\ta ${n} ${n} 0 0 1 ${-n} ${-n}\n\t\t\tv ${2*r-t}\n\t\t\ta ${n} ${n} 0 0 1 ${n} ${-n}`}}},De={name:"bunt-input",mixins:[Ee],props:{type:{type:String,default:"text"},name:{type:String,required:!0},label:String,placeholder:String,value:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},icon:String,iconRight:{type:Boolean,default:!1},hint:String,hintIsHtml:{type:Boolean,default:!1},validation:Object},data:function(){return{focused:!1}},computed:{iconClass(){return K.getClass(this.icon)},invalid(){return this.validation&&this.validation.$error},hintText(){if(this.invalid&&this.validation.$params){const e=Object.keys(this.validation.$params).map(e=>this.validation[e]?null:this.validation.$params[e].message);return e.filter(Boolean).join()}return this.hint},floatingLabel(){return Boolean(this.placeholder||this.value||0===this.value)}},methods:{onInput(e){this.$emit("input",e.target.value),this.validation&&this.validation.$touch()},onBlur(){this.focused=!1,this.validation&&this.validation.$touch()}}},Te=De,Oe=Object(w["a"])(Te,xe,Me,!1,null,null,null,!0),Le=Oe.exports,Pe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.generateOutline,expression:"generateOutline"}],staticClass:"bunt-input-outline-container",class:{focused:e.focused},style:{"--label-gap":e.floatingLabelWidth}},[n("label",[e._v(e._s(e.label))]),e._t("default",null,{focus:e.focus,blur:e.blur}),n("svg",{ref:"outline",staticClass:"outline"},[n("path",{attrs:{d:e.outlineStroke}})])],2)},ze=[],Ye={name:"bunt-input-outline-container",mixins:[Ee],props:{label:String},data(){return{focused:!1}},computed:{},created(){},mounted(){this.$nextTick(()=>{})},methods:{focus(){this.focused=!0},blur(){this.focused=!1}}},Ne=Ye,je=Object(w["a"])(Ne,Pe,ze,!1,null,null,null,!0),Fe=je.exports,Re=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("router-link",{staticClass:"bunt-link-button",attrs:{to:e.to}},[e._t("default"),n("ripple-ink")],2)},Be=[],$e={name:"bunt-link-button",components:{},mixins:[$],props:{to:Object},data(){return{}},computed:{},watch:{},methods:{}},Ie=$e,qe=Object(w["a"])(Ie,Re,Be,!1,null,null,null,!0),He=qe.exports,We=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.generateOutline,expression:"generateOutline"}],staticClass:"bunt-select dropdown",class:e.dropdownClasses},[n("div",{ref:"searchContainer",staticClass:"bunt-input dense",class:{focused:e.open,"floating-label":0!=e.rawSearch.length||!e.isValueEmpty,invalid:e.invalid,disabled:e.disabled},style:{"--label-gap":e.floatingLabelWidth}},[n("div",{staticClass:"label-input-container"},[n("label",{attrs:{for:e.name}},[e._v(e._s(e.label))]),e.icon?n("div",{staticClass:"icon mdi",class:[e.iconClass]}):e._e(),n("input",{directives:[{name:"model",rawName:"v-model",value:e.rawSearch,expression:"rawSearch"}],ref:"search",attrs:{type:"text",name:e.name,disabled:e.disabled,placeholder:e.searchPlaceholder,autocomplete:"off"},domProps:{value:e.rawSearch},on:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?null:e.maybeDeleteValue.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.typeAheadUp.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.typeAheadDown.apply(null,arguments))}],keyup:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.onEscape.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.typeAheadSelect.apply(null,arguments))}],blur:e.blur,focus:e.focus,input:function(t){t.target.composing||(e.rawSearch=t.target.value)}}}),n("i",{ref:"openIndicator",staticClass:"open-indicator mdi mdi-menu-down",attrs:{role:"presentation"},on:{mousedown:function(e){e.preventDefault(),e.stopPropagation()},click:function(t){return t.preventDefault(),t.stopPropagation(),e.toggleDropdown.apply(null,arguments)}}}),n("svg",{ref:"outline",staticClass:"outline"},[n("path",{attrs:{d:e.outlineStroke}})])]),e.hintIsHtml?n("div",{staticClass:"hint",domProps:{innerHTML:e._s(e.hintText)}}):n("div",{staticClass:"hint"},[e._v(e._s(e.hintText))])]),e.open?n(e.usePortals?"portal":"div",{tag:"component",attrs:{to:"bunt-overlays"}},[n("div",{ref:"dropdownMenu",staticClass:"bunt-select-dropdown-menu",class:[e.dropdownClass],style:{"max-height":e.maxHeight,width:e.width+"px"},on:{mousedown:function(e){e.preventDefault(),e.stopPropagation()}}},[e._t("result-header"),n("div",{directives:[{name:"scrollbar",rawName:"v-scrollbar.y",value:{_preventMousedown:!0},expression:"{_preventMousedown: true}",modifiers:{y:!0}}],staticClass:"scrollable-menu"},[n("ul",[e._l(e.filteredOptions,(function(t,r){return n("li",{key:r,class:{active:e.isOptionSelected(t),highlight:r===e.typeAheadPointer},on:{mouseover:function(t){e.typeAheadPointer=r},click:function(n){return n.preventDefault(),n.stopPropagation(),e.select(t)}}},[e._t("default",(function(){return[e._v(e._s(e.getOptionLabel(t)))]}),{option:t})],2)})),e.filteredOptions.length?e._e():n("li",{staticClass:"divider",attrs:{transition:"fade"}}),e.filteredOptions.length?e._e():n("li",{staticClass:"text-center",attrs:{transition:"fade"}},[e._t("no-options",(function(){return[e._v("Sorry, no matching options.")]}))],2)],2)])],2)]):e._e()],1)},Ue=[],Ve={watch:{typeAheadPointer(){this.maybeAdjustScroll()}},methods:{maybeAdjustScroll(){if(!this.$refs.dropdownMenu)return;let e=this.pixelsToPointerTop(),t=this.pixelsToPointerBottom();return e<=this.viewport().top?this.scrollTo(e):t>=this.viewport().bottom?this.scrollTo(this.viewport().top+this.pointerHeight()):void 0},pixelsToPointerTop(){let e=0,t=this.$refs.dropdownMenu.children;for(let n=0;n<this.typeAheadPointer;n++)e+=t[n]?t[n].offsetHeight:0;return e},pixelsToPointerBottom(){return this.pixelsToPointerTop()+this.pointerHeight()},pointerHeight(){let e=this.$refs.dropdownMenu.children[this.typeAheadPointer];return e?e.offsetHeight:0},viewport(){return{top:this.$refs.dropdownMenu.scrollTop,bottom:this.$refs.dropdownMenu.offsetHeight+this.$refs.dropdownMenu.scrollTop}},scrollTo(e){return this.$refs.dropdownMenu.scrollTop=e}}},Ge={data(){return{typeAheadPointer:-1}},watch:{filteredOptions(){this.typeAheadPointer=0}},methods:{typeAheadUp(){this.typeAheadPointer>0&&(this.typeAheadPointer--,this.maybeAdjustScroll&&this.maybeAdjustScroll())},typeAheadDown(){this.typeAheadPointer<this.filteredOptions.length-1&&(this.typeAheadPointer++,this.maybeAdjustScroll&&this.maybeAdjustScroll())},typeAheadSelect(){this.filteredOptions[this.typeAheadPointer]?this.select(this.filteredOptions[this.typeAheadPointer]):this.taggable&&this.search.length&&this.select(this.search)}}},Ke=n("2e39"),Ze=n.n(Ke),Xe={name:"bunt-select",mixins:[Ee,Ve,Ge],props:{name:{type:String,required:!0},label:String,value:{type:[String,Object,Number],default:null},icon:String,options:{type:Array,default(){return[]}},placeholder:{type:String,default:""},disabled:{type:Boolean,default:!1},maxHeight:{type:String,default:"400px"},optionLabel:{type:String,default:"label"},getOptionLabel:{type:Function,default(e){return"object"===typeof e&&void 0!==this.optionLabel&&void 0!==e[this.optionLabel]?e[this.optionLabel]:e}},optionValue:{type:String,default:"id"},getOptionValue:{type:Function,default(e){return"object"===typeof e&&void 0!==this.optionValue&&void 0!==e[this.optionValue]?e[this.optionValue]:e}},findOptionByValue:{type:Function,default(e){const t=t=>"object"===typeof t&&this.optionValue?t[this.optionValue]===e:t===e;return this.options.find(t)}},hint:String,hintIsHtml:{type:Boolean,default:!1},validation:Object,dropdownClass:String,dropdownOverflowElement:[String,Object]},data(){return{search:"",rawSearch:"",open:!1,width:0,usePortals:void 0!==this.$root.$options.components.Portal&&void 0!==this.$root.$options.components.PortalTarget}},computed:{dropdownClasses(){return{open:this.open,searchable:this.searchable,loading:this.loading}},searchPlaceholder(){if(this.isValueEmpty&&this.placeholder)return this.placeholder},filteredOptions(){let e=0!==this.search.length?this.options.filter(e=>Ze()(this.search.toLowerCase(),this.getOptionLabel(e).toLowerCase())):this.options.slice();return this.taggable&&this.search.length&&!this.optionExists(this.search)&&e.unshift(this.search),e},isValueEmpty(){return!this.value||("object"===typeof this.value?!Object.keys(this.value).length:!this.value.length)},iconClass(){return K.getClass(this.icon)},invalid(){return this.validation&&this.validation.$error},hintText(){if(this.invalid&&this.validation.$params){const e=Object.keys(this.validation.$params).map(e=>this.validation[e]?null:this.validation.$params[e].message);return e.filter(Boolean).join()}return this.hint}},watch:{value(e){this.selectValue(e)},rawSearch(e){this.open&&(this.search=e)},filteredOptions(){var e;null===(e=this._popper)||void 0===e||e.scheduleUpdate()}},mounted(){this.selectValue(this.value)},beforeDestroy(){var e;null===(e=this._popper)||void 0===e||e.destroy()},methods:{focus(){this.open=!0,this.search="",this.$refs.search.select(),this.width=this.$refs.searchContainer.getBoundingClientRect().width,this.$nextTick(()=>{const e={placement:"bottom",positionFixed:!0,modifiers:{}};this.icon&&(e.modifiers.offset={offset:"-15, 0"}),this.dropdownOverflowElement&&(e.modifiers.preventOverflow={boundariesElement:this.dropdownOverflowElement}),this._popper=new D["a"](this.$refs.search,this.$refs.dropdownMenu,e)})},blur(e){this.open=!1,this.$nextTick(()=>{var e;return null===(e=this._popper)||void 0===e?void 0:e.destroy()}),this.validation&&this.validation.$touch(),this.$emit("blur")},selectValue(e){const t=this.findOptionByValue(e);this.rawSearch=this.getOptionLabel(t)||""},select(e){this.isOptionSelected(e)?this.deselect(e):this.$emit("input",this.getOptionValue(e)),this.onAfterSelect(e)},deselect(e){this.$emit("input",null)},onAfterSelect(e){this.$refs.search.blur(),this.rawSearch=this.getOptionLabel(e)||""},toggleDropdown(e){e.target!==this.$refs.openIndicator&&e.target!==this.$refs.search&&e.target!==this.$refs.toggle&&e.target!==this.$el||(this.open?this.$refs.search.blur():this.$refs.search.focus())},isOptionSelected(e){return this.value===e},onEscape(){this.rawSearch.length?(this.deselect(),this.rawSearch=""):this.$refs.search.blur()},maybeDeleteValue(){!this.$refs.search.value.length&&this.value&&this.$emit("input",null)},optionExists(e){let t=!1;return this.options.forEach(n=>{("object"===typeof n&&n[this.optionLabel]===e||n===e)&&(t=!0)}),t}}},Je=Xe,Qe=Object(w["a"])(Je,We,Ue,!1,null,null,null,!0),et=Qe.exports,tt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-switch",class:{checked:e.value}},[n("input",{attrs:{type:"checkbox",name:e.name,disabled:e.disabled,readonly:e.readonly},domProps:{checked:e.value},on:{change:function(t){return e.onChange(t)},focus:function(t){e.focused=!0},blur:e.onBlur}}),e._m(0),n("label",[e._v(e._s(e.label))])])},nt=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"bunt-switch-track"},[n("div",{staticClass:"bunt-switch-thumb"})])}],rt={name:"bunt-switch",components:{},props:{value:{type:Boolean,default:!1},name:{type:String,required:!0},label:String,disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},data(){return{focused:!1}},computed:{},created(){},mounted(){this.$nextTick(()=>{})},methods:{onChange(e){this.$emit("input",e.target.checked),this.validation&&this.validation.$touch()},onBlur(){this.focused=!1,this.validation&&this.validation.$touch()}}},it=rt,at=Object(w["a"])(it,tt,nt,!1,null,null,null,!0),ot=at.exports,st=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e._onResizeObserver,expression:"_onResizeObserver"}],staticClass:"bunt-tabs",class:e.styleClasses},[n("div",{staticClass:"bunt-tabs-header"},[n("ul",{ref:"tabsContainer",staticClass:"bunt-tabs-header-items",attrs:{role:"tablist"}},e._l(e.tabs,(function(t,r){return n("bunt-tab-header-item",{key:t.id,ref:"tabElements",refInFor:!0,attrs:{type:e.type,id:t.id,icon:t.icon,text:t.header,active:e.activeTabObj===t,disabled:t.disabled},nativeOn:{click:function(n){return e.select(t,r)}}})})),1),n("div",{staticClass:"bunt-tabs-indicator",class:[e.indicatorState],style:e.indicatorStyle,on:{transitionend:e.onIndicatorTransitionEnd}})]),n("div",{ref:"body",staticClass:"bunt-tabs-body"},[e._t("default")],2)])},ct=[],lt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{ref:"item",staticClass:"bunt-tab-header-item",class:["type-"+e.type,{active:e.active,disabled:e.disabled}],attrs:{role:"tab",tabindex:e.active?0:-1,"aria-controls":e.id,"aria-selected":e.active?"true":null,disabled:e.disabled}},["icon"===e.type||"icon-and-text"===e.type?n("div",{staticClass:"bunt-tab-header-item-icon"},[n("i",{staticClass:"bunt-icon mdi",class:[e.iconClass]})]):e._e(),"text"===e.type||"icon-and-text"===e.type?n("div",{staticClass:"bunt-tab-header-item-text",domProps:{textContent:e._s(e.text)}}):e._e(),e.noInk||e.disabled?e._e():n("ripple-ink")],1)},ut=[],dt={name:"bunt-tab-header-item",mixins:[$],props:{id:String,type:{type:String,default:"text"},text:String,icon:String,active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},computed:{iconClass(){return K.getClass(this.icon)}}},ht=dt,ft=Object(w["a"])(ht,lt,ut,!1,null,null,null,!0),pt=ft.exports;const mt=function(e,t){return 100*e/t};var bt={name:"bunt-tabs",components:{BuntTabHeaderItem:pt},props:{type:{type:String,default:"text"},activeTab:{type:[Number,String,Object,Function]}},data(){return{activeTabObj:null,tabs:null,indicatorState:"",indicatorTransform:{left:0,width:0},indicatorTargetTransform:{left:0,width:0}}},computed:{styleClasses(){let e=["bunt-tabs-type-"+this.type];return e},indicatorStyle(){const e=this.indicatorTransform;return{transform:`translateX(${e.left}%) scaleX(${e.width/100})`}}},watch:{activeTab(e){this.activateTab(e)}},mounted(){this.updateTabs();new MutationObserver(e=>{this.updateTabs(),this.$nextTick(()=>this.activateTab(this.activeTab||0))}).observe(this.$refs.body,{childList:!0});this.$nextTick(()=>{this.$refs.tabsContainer&&this.activateTab(this.activeTab||0)})},methods:{_onResizeObserver(){this.$refs.tabsContainer&&this.activeTabObj&&this.select(this.activeTabObj,this.tabs.indexOf(this.activeTabObj))},updateTabs(){const e=Array.from(this.$refs.body.children);this.tabs=this.$children.filter(e=>e._isTab).sort((t,n)=>e.indexOf(t.$el)-e.indexOf(n.$el))},activateTab(e){let t=null;"number"===typeof e?t=e:"string"===typeof e&&(t=this.tabs.findIndex(t=>t.id===e)),this.tabs[t]?this.select(this.tabs[t],t):this.deselect()},select(e,t){let n=this.tabs.indexOf(this.activeTabObj);if(!e||e.disabled)return;let r=this.$refs.tabsContainer.getBoundingClientRect(),i=r.width;const a=Array.from(this.$refs.tabsContainer.children);let o=this.$refs.tabElements.sort((e,t)=>a.indexOf(e.$el)-a.indexOf(t.$el))[t].$el.getBoundingClientRect(),s=o.left-r.left;if(this.indicatorTargetTransform={width:mt(o.width,i),left:mt(s,i)},n<0)return this.indicatorState="",this.indicatorTransform={width:this.indicatorTargetTransform.width,left:this.indicatorTargetTransform.left},void(this.activeTabObj=e);let c=this.$refs.tabElements[n].$el.getBoundingClientRect(),l=5;this.indicatorState="expand";let u=n<t;u?this.indicatorTransform.width=mt(o.left+o.width-c.left,i)-l:this.indicatorTransform={width:mt(c.left+c.width-o.left,i)-l,left:mt(s,i)+l},this.activeTabObj=e},deselect(){this.activeTabObj=null,this.indicatorTransform.width=0,this.indicatorTransform.left=0},onIndicatorTransitionEnd(){"expand"==this.indicatorState?(this.indicatorState="contract",this.indicatorTransform={width:this.indicatorTargetTransform.width,left:this.indicatorTargetTransform.left}):this.indicatorState=""}}},gt=bt,vt=Object(w["a"])(gt,st,ct,!1,null,null,null,!0),_t=vt.exports,yt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.active,expression:"active"}],staticClass:"bunt-tab",attrs:{id:e.id,role:"tabpanel",tabindex:e.active?"0":null,"aria-hidden":e.active?null:"true"}},[e._t("default")],2)},At=[],kt={name:"bunt-tab",props:{header:String,icon:String,disabled:{type:Boolean,default:!1},id:String},computed:{active(){return this.$parent.activeTabObj===this}},watch:{active(e){e?this.$emit("selected",this.id):this.$emit("deselected",this.id)}},created(){this._isTab=!0}},wt=kt,xt=Object(w["a"])(wt,yt,At,!1,null,null,null,!0),Mt=xt.exports,Ct=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.open?n("div",{staticClass:"bunt-dialog-container"},[n("div",{staticClass:"bunt-dialog"},[e._t("default")],2),n("div",{staticClass:"bunt-backdrop",attrs:{"keyup.esc":"close"},on:{click:e.close}})]):e._e()},St=[],Et={props:{open:{type:Boolean,default:!1}},data(){return{}},computed:{},created(){},mounted(){this.$nextTick(()=>{document.body.appendChild(this.$el)})},beforeDestroy(){this.$el.parentNode===document.body&&document.body.removeChild(this.$el)},methods:{close(){this.$emit("close")}}},Dt=Et,Tt=Object(w["a"])(Dt,Ct,St,!1,null,null,null,!0),Ot=Tt.exports;let Lt;"undefined"!==typeof window&&(Lt=n("472d").default);const Pt={install(e){L(e),e.component("bunt-button",Q),e.component("bunt-checkbox",ae),e.component("bunt-radio",de),e.component("bunt-icon",ge),e.component("bunt-icon-button",we),e.component("bunt-input",Le),e.component("bunt-input-outline-container",Fe),e.component("bunt-link-button",He),e.component("bunt-select",et),"undefined"!==typeof window&&e.component("bunt-popover",Lt),e.component("bunt-progress-circular",V),e.component("bunt-switch",ot),e.component("bunt-tabs",_t),e.component("bunt-tab",Mt),e.component("bunt-dialog",Ot)}};var zt=Pt,Yt=n("7f45"),Nt=n.n(Yt),jt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"scrollbar",rawName:"v-scrollbar.y",modifiers:{y:!0}}],staticClass:"c-linear-schedule"},e._l(e.sessionBuckets,(function(t,r){var i=t.date,a=t.sessions;return n("div",{staticClass:"bucket"},[n("div",{ref:e.getBucketName(i),refInFor:!0,staticClass:"bucket-label",attrs:{"data-date":i.format()}},[0===r||i.clone().startOf("day").diff(e.sessionBuckets[r-1].date.clone().startOf("day"),"day")>0?n("div",{staticClass:"day"},[e._v(" "+e._s(i.format("dddd DD. MMMM")))]):e._e(),n("div",{staticClass:"time"},[e._v(e._s(i.format("LT")))]),e._l(a,(function(t){return[e.isProperSession(t)?n("session",{attrs:{session:t,faved:t.id&&e.favs.includes(t.id)},on:{fav:function(n){return e.$emit("fav",t.id)},unfav:function(n){return e.$emit("unfav",t.id)}}}):n("div",{staticClass:"break"},[n("div",{staticClass:"title"},[e._v(e._s(e.getLocalizedString(t.title)))])])]}))],2)])})),0)},Ft=[];function Rt(e){if(!e)return"";if("string"===typeof e)return e;const t=document.querySelector("html").lang||"en";return e[t]||e.en||Object.values(e)[0]||""}const Bt=(e,t)=>["auto","scroll"].includes(getComputedStyle(e,null).getPropertyValue(t)),$t=e=>Bt(e,"overflow")||Bt(e,"overflow-x")||Bt(e,"overflow-y");function It(e){if(e&&e!==document.body)return $t(e)?e:It(e.parentNode)}function qt(e,t){let n=t.diff(e,"minutes");const r=Math.floor(n/60);return n<=60?n+"min":(n%=60,n?`${r}h${n}min`:r+"h")}var Ht=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a",{staticClass:"c-linear-schedule-session",class:{faved:e.faved},style:e.style,attrs:{href:e.link,target:e.linkTarget},on:{click:function(t){return e.onSessionLinkClick(t,e.session)}}},[n("div",{staticClass:"time-box"},[n("div",{staticClass:"start",class:{"has-ampm":e.hasAmPm}},[n("div",{staticClass:"time"},[e._v(e._s(e.startTime.time))]),e.startTime.ampm?n("div",{staticClass:"ampm"},[e._v(e._s(e.startTime.ampm))]):e._e()]),n("div",{staticClass:"duration"},[e._v(e._s(e.getPrettyDuration(e.session.start,e.session.end)))]),n("div",{staticClass:"buffer"}),e.isLive?n("div",{staticClass:"is-live"},[e._v("live")]):e._e()]),n("div",{staticClass:"info"},[n("div",{staticClass:"title"},[e._v(e._s(e.getLocalizedString(e.session.title)))]),e.session.speakers?n("div",{staticClass:"speakers"},[n("div",{staticClass:"avatars"},[e._l(e.session.speakers,(function(t){return[t.avatar?n("img",{attrs:{src:t.avatar}}):e._e()]}))],2),n("div",{staticClass:"names"},[e._v(e._s(e.session.speakers.map((function(e){return e.name})).join(", ")))])]):e._e(),e.showAbstract?n("div",{staticClass:"abstract",domProps:{innerHTML:e._s(e.abstract)}}):e._e(),n("div",{staticClass:"bottom-info"},[e.session.track?n("div",{staticClass:"track"},[e._v(e._s(e.getLocalizedString(e.session.track.name)))]):e._e(),e.showRoom&&e.session.room?n("div",{staticClass:"room"},[e._v(e._s(e.getLocalizedString(e.session.room.name)))]):e._e()])]),n("bunt-icon-button",{staticClass:"btn-fav-container",on:{click:function(t){t.preventDefault(),t.stopPropagation(),e.faved?e.$emit("unfav",e.session.id):e.$emit("fav",e.session.id)}}},[n("svg",{staticClass:"star",attrs:{viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z"}})])])],1)},Wt=[],Ut=n("d4cd"),Vt=n.n(Ut);const Gt=Vt()({linkify:!0,breaks:!0});var Kt={props:{session:Object,showAbstract:{type:Boolean,default:!0},showRoom:{type:Boolean,default:!0},faved:{type:Boolean,default:!1},hasAmPm:{type:Boolean,default:!1}},inject:{eventUrl:{default:null},linkTarget:{default:"_self"},generateSessionLinkUrl:{default(){return({eventUrl:e,session:t})=>`${e}talk/${t.id}/`}},onSessionLinkClick:{default(){return()=>{}}}},data(){return{getPrettyDuration:qt,getLocalizedString:Rt}},computed:{link(){return this.generateSessionLinkUrl({eventUrl:this.eventUrl,session:this.session})},style(){var e;return{"--track-color":(null===(e=this.session.track)||void 0===e?void 0:e.color)||"var(--pretalx-clr-primary)"}},startTime(){return this.hasAmPm?{time:this.session.start.format("h:mm"),ampm:this.session.start.format("A")}:{time:Nt()(this.session.start).format("LT")}},isLive(){return Nt()(this.session.start).isBefore(this.now)&&Nt()(this.session.end).isAfter(this.now)},abstract(){try{return Gt.renderInline(this.session.abstract)}catch(e){return this.session.abstract}}}},Zt=Kt;function Xt(e){var t=n("1004");t.__inject__&&t.__inject__(e)}var Jt=Object(w["a"])(Zt,Ht,Wt,!1,Xt,null,null,!0),Qt=Jt.exports,en={components:{Session:Qt},props:{sessions:Array,favs:{type:Array,default(){return[]}},currentDay:Object,now:Object,scrollParent:Element},data(){return{moment:Nt.a,getLocalizedString:Rt,scrolledDay:null}},computed:{sessionBuckets(){const e={};for(const t of this.sessions){const n=t.start.format();e[n]||(e[n]=[]),t.id?e[n].push(t):(t.break_id=`${t.start}${t.end}${t.title}`,0===e[n].filter(e=>e.break_id===t.break_id).length&&e[n].push(t))}return Object.entries(e).map(([e,t])=>({date:t[0].start,sessions:t}))}},watch:{currentDay:"changeDay"},async mounted(){var e,t;let n;await this.$nextTick(),this.observer=new IntersectionObserver(this.onIntersect,{root:this.scrollParent,rootMargin:"-45% 0px"});for(const[l,u]of Object.entries(this.$refs)){if(!l.startsWith("bucket"))continue;const e=Nt.a.parseZone(u[0].dataset.date);n&&n.isSame(e,"date")||(n=e,this.observer.observe(u[0]))}let r=!1;const i=window.location.hash.slice(1);if(i&&10===i.length){const e=Nt()(i,"YYYY-MM-DD");e&&(r=!0)}if(r)return;const a=this.sessionBuckets.findIndex(e=>this.now.isBefore(e.date)),o=this.sessionBuckets.findIndex(e=>this.now.isBefore(e.date));if(a<0||0===o)return;const s=this.sessionBuckets[Math.max(0,a-1)],c=(null===(e=this.$refs[this.getBucketName(s.date)])||void 0===e||null===(t=e[0])||void 0===t?void 0:t.offsetTop)-90;this.scrollParent?this.scrollParent.scrollTop=c:window.scroll({top:c+this.getOffsetTop()})},methods:{isProperSession(e){return!!e.id},getBucketName(e){return"bucket-"+e.format("YYYY-MM-DD-HH-mm")},getOffsetTop(){const e=this.$parent.$el.getBoundingClientRect();return e.top+window.scrollY},changeDay(e){var t;if(this.scrolledDay===e)return;const n=this.sessionBuckets.find(t=>e.isSame(t.date,"day"));if(!n)return;const r=null===(t=this.$refs[this.getBucketName(n.date)])||void 0===t?void 0:t[0];if(!r)return;const i=r.offsetTop+this.getOffsetTop()-8;this.scrollParent?this.scrollParent.scrollTop=i:window.scroll({top:i})},onIntersect(e){const t=e[0],n=Nt.a.parseZone(t.target.dataset.date).startOf("day");t.isIntersecting?(this.scrolledDay=n,this.$emit("changeDay",this.scrolledDay)):t.rootBounds&&t.boundingClientRect.y-t.rootBounds.y>0&&(this.scrolledDay=n.subtract(1,"day"),this.$emit("changeDay",this.scrolledDay))}}},tn=en;function nn(e){var t=n("2187");t.__inject__&&t.__inject__(e)}var rn=Object(w["a"])(tn,jt,Ft,!1,nn,null,null,!0),an=rn.exports,on=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"c-grid-schedule"},[n("div",{staticClass:"grid",style:e.gridStyle},[e._l(e.visibleTimeslices,(function(t){return[n("div",{ref:t.name,refInFor:!0,staticClass:"timeslice",class:e.getSliceClasses(t),style:e.getSliceStyle(t),attrs:{"data-slice":t.date.format()}},[e._v(e._s(e.getSliceLabel(t)))]),n("div",{staticClass:"timeline",class:e.getSliceClasses(t),style:e.getSliceStyle(t)})]})),e.nowSlice?n("div",{ref:"now",staticClass:"now",class:{"on-daybreak":e.nowSlice.onDaybreak},style:{"grid-area":e.nowSlice.slice.name+" / 1 / auto / auto","--offset":e.nowSlice.offset}},[n("svg",{attrs:{viewBox:"0 0 10 10"}},[n("path",{attrs:{d:"M 0 0 L 10 5 L 0 10 z"}})])]):e._e(),n("div",{staticClass:"room",style:{"grid-area":"1 / 1 / auto / auto"}}),e._l(e.rooms,(function(t,r){return n("div",{staticClass:"room",style:{"grid-area":"1 / "+(r+2)+" / auto / auto"}},[e._v(e._s(e.getLocalizedString(t.name))),e.getLocalizedString(t.description)?n("bunt-button",{staticClass:"room-description",attrs:{tooltip:e.getLocalizedString(t.description),"tooltip-placement":"bottom-end"}},[e._v("?")]):e._e()],1)})),e.hasSessionsWithoutRoom?n("div",{staticClass:"room",style:{"grid-area":"1 / "+(e.rooms.length+2)+" / auto / -1"}},[e._v("no location")]):e._e(),e._l(e.sessions,(function(t){return[e.isProperSession(t)?n("session",{style:e.getSessionStyle(t),attrs:{session:t,showAbstract:!1,showRoom:!1,faved:e.favs.includes(t.id),hasAmPm:e.hasAmPm},on:{fav:function(n){return e.$emit("fav",t.id)},unfav:function(n){return e.$emit("unfav",t.id)}}}):n("div",{staticClass:"break",style:e.getSessionStyle(t)},[n("div",{staticClass:"time-box"},[e.hasAmPm?n("div",{staticClass:"start has-ampm"},[n("div",{staticClass:"time"},[e._v(e._s(t.start.format("h:mm")))]),n("div",{staticClass:"ampm"},[e._v(e._s(t.start.format("A")))])]):n("div",{staticClass:"start"},[n("div",{staticClass:"time"},[e._v(e._s(t.start.format("LT")))])]),n("div",{staticClass:"duration"},[e._v(e._s(e.getPrettyDuration(t.start,t.end)))]),n("div",{staticClass:"buffer"})]),n("div",{staticClass:"info"},[n("div",{staticClass:"title"},[e._v(e._s(e.getLocalizedString(t.title)))])])])]}))],2)])},sn=[];const cn=function(e){return"slice-"+e.format("MM-DD-HH-mm")};var ln={components:{Session:Qt},props:{sessions:Array,rooms:Array,favs:{type:Array,default(){return[]}},currentDay:Object,now:Object,scrollParent:Element},data(){return{moment:Nt.a,getLocalizedString:Rt,getPrettyDuration:qt,scrolledDay:null}},computed:{hasSessionsWithoutRoom(){return this.sessions.some(e=>!e.room)},hasAmPm(){return Nt.a.localeData().longDateFormat("LT").endsWith(" A")},timeslices(){const e=30,t=[],n={},r=function(e,{hasSession:r=!1,hasBreak:i=!1,hasStart:a=!1,hasEnd:o=!1}={}){const s=cn(e);let c=n[s];c?(c.hasSession=c.hasSession||r,c.hasBreak=c.hasBreak||i,c.hasStart=c.hasStart||a,c.hasEnd=c.hasEnd||o):(c={date:e,name:s,hasSession:r,hasBreak:i,hasStart:a,hasEnd:o,datebreak:e.isSame(e.clone().startOf("day"))},t.push(c),n[s]=c)},i=function(t,n,{hasSession:i,hasBreak:a}={}){let o=n.diff(t,"minutes");const s=e-t.minute()%e,c=[];s&&(c.push(t.clone().add(s,"minutes")),o-=s);const l=n.minute()%e;for(let r=1;r<=o/e;r++)c.push(t.clone().add(s+e*r,"minutes"));l&&c.push(n.clone().subtract(l,"minutes"));const u=c.pop();c.forEach(e=>r(e,{hasSession:i,hasBreak:a})),r(u)};for(const c of this.sessions){const e=t[t.length-1];e?c.start.isAfter(e.date,"minutes")&&i(e.date,c.start):r(c.start.clone().startOf("day"));const n=this.isProperSession(c);r(c.start,{hasSession:n,hasBreak:!n,hasStart:!0}),r(c.end,{hasEnd:!0}),i(c.start,c.end,{hasSession:n,hasBreak:!n})}const a=function(t){if(t)return 0!==t.date.minutes()&&t.date.minutes()!==e},o=function(e,n){if(!e)return;if(e.hasSession||e.datebreak||e.hasStart||e.hasEnd)return!0;const r=t[n-1],i=t[n+1];return!!a(e)||(!(!((null!==r&&void 0!==r&&r.hasSession||null!==r&&void 0!==r&&r.hasBreak||null!==r&&void 0!==r&&r.hasEnd)&&a(r)||(null!==i&&void 0!==i&&i.hasSession||null!==i&&void 0!==i&&i.hasBreak)&&a(i))&&(null!==i&&void 0!==i&&i.hasSession&&null!==i&&void 0!==i&&i.hasBreak||!e.hasSession&&!e.hasBreak||!a(i)))||(null!==r&&void 0!==r&&r.hasBreak&&e.hasBreak,!1))};t.sort((e,t)=>e.date.diff(t.date));const s=[];for(const[c,l]of t.entries()){if(o(l,c)){s.push(l);continue}const e=t[c-1];o(e,c-1)&&!e.datebreak&&(e.gap=!0)}return s.forEach((e,t)=>{e.gap&&t<s.length-1&&s[t+1].date.diff(e.date,"minutes")<=30&&(e.gap=!1)}),s[s.length-1].gap&&s.pop(),s},visibleTimeslices(){return this.timeslices.filter(e=>e.date.minute()%30===0)},gridStyle(){let e="[header] 52px ";return e+=this.timeslices.map((e,t)=>{const n=this.timeslices[t+1];let r=60;return e.gap?r=100:e.datebreak?r=60:n&&(r=Math.min(60,2*n.date.diff(e.date,"minutes"))),`[${e.name}] minmax(${r}px, auto)`}).join(" "),{"--total-rooms":this.rooms.length,"grid-template-rows":e}},nowSlice(){let e;for(const t of this.timeslices){if(this.now.isBefore(t.date))break;e=t}if(e){const t=this.timeslices[this.timeslices.indexOf(e)+1];return t?t.date.diff(e.date,"minutes")>30?{slice:t,offset:0,onDaybreak:!0}:{slice:e,offset:this.now.diff(e.date,"minutes")/t.date.diff(e.date,"minutes")}:null}return null}},watch:{currentDay:"changeDay"},async mounted(){await this.$nextTick(),this.observer=new IntersectionObserver(this.onIntersect,{root:this.scrollParent,rootMargin:"-45% 0px"});for(const[r,i]of Object.entries(this.$refs))r.startsWith("slice")&&r.endsWith("00-00")&&this.observer.observe(i[0]);let e=!1;const t=window.location.hash.slice(1);if(t&&10===t.length){const n=Nt()(t,"YYYY-MM-DD");n&&(e=!0)}if(e||!this.$refs.now)return;const n=this.$refs.now.offsetTop+this.getOffsetTop()-90;this.scrollParent?this.scrollParent.scrollTop=n:window.scroll({top:n})},methods:{isProperSession(e){return!!e.id},getSessionStyle(e){const t=this.rooms.indexOf(e.room);return{"grid-row":`${cn(e.start)} / ${cn(e.end)}`,"grid-column":t>-1?t+2:null}},getOffsetTop(){const e=this.$parent.$el.getBoundingClientRect();return e.top+window.scrollY},getSliceClasses(e){return{datebreak:e.datebreak,gap:e.gap}},getSliceStyle(e){if(e.datebreak){let t=this.timeslices.findIndex(t=>t.date.isAfter(e.date,"day"));return t<0&&(t=this.timeslices.length-1),{"grid-area":`${e.name} / 1 / ${this.timeslices[t].name} / auto`}}return{"grid-area":e.name+" / 1 / auto / auto"}},getSliceLabel(e){return e.datebreak?e.date.format("ddd[\n]DD. MMM"):e.date.format("LT")},changeDay(e){var t;if(this.scrolledDay===e)return;const n=null===(t=this.$refs[cn(e)])||void 0===t?void 0:t[0];if(!n)return;const r=n.offsetTop+this.getOffsetTop();this.scrollParent?this.scrollParent.scrollTop=r:window.scroll({top:r})},onIntersect(e){const t=e.sort((e,t)=>t.time-e.time).find(e=>e.isIntersecting);if(!t)return;const n=Nt.a.parseZone(t.target.dataset.slice).startOf("day");this.scrolledDay=n,this.$emit("changeDay",this.scrolledDay)}}},un=ln;function dn(e){var t=n("0809");t.__inject__&&t.__inject__(e)}var hn=Object(w["a"])(un,on,sn,!1,dn,null,null,!0),fn=hn.exports;o["a"].use(zt);var pn={name:"PretalxSchedule",components:{LinearSchedule:an,GridSchedule:fn},props:{eventUrl:String,locale:String,format:{type:String,default:"grid"},version:{type:String,default:""}},provide(){return{eventUrl:this.eventUrl}},data(){return{moment:Nt.a,getLocalizedString:Rt,scrollParentWidth:1/0,schedule:null,userTimezone:null,now:Nt()(),currentDay:null,currentTimezone:null,showFilterModal:!1,favs:[],allTracks:[],onlyFavs:!1,scheduleError:!1}},computed:{scheduleMaxWidth(){return this.schedule?Math.min(this.scrollParentWidth,78+650*this.schedule.rooms.length):this.scrollParentWidth},showGrid(){return this.scrollParentWidth>710&&"list"!==this.format},roomsLookup(){return this.schedule?this.schedule.rooms.reduce((e,t)=>(e[t.id]=t,e),{}):{}},tracksLookup(){return this.schedule?this.schedule.tracks.reduce((e,t)=>(e[t.id]=t,e),{}):{}},filteredTracks(){return this.allTracks.filter(e=>e.selected)},speakersLookup(){return this.schedule?this.schedule.speakers.reduce((e,t)=>(e[t.code]=t,e),{}):{}},sessions(){if(!this.schedule||!this.currentTimezone)return;const e=[];for(const n of this.schedule.talks.filter(e=>e.start)){var t;this.onlyFavs&&!this.favs.includes(n.code)||(this.filteredTracks&&this.filteredTracks.length&&!this.filteredTracks.find(e=>e.id===n.track)||e.push({id:n.code,title:n.title,abstract:n.abstract,start:Nt.a.tz(n.start,this.currentTimezone),end:Nt.a.tz(n.end,this.currentTimezone),speakers:null===(t=n.speakers)||void 0===t?void 0:t.map(e=>this.speakersLookup[e]),track:this.tracksLookup[n.track],room:this.roomsLookup[n.room]}))}return e.sort((e,t)=>e.start.diff(t.start)),e},rooms(){return this.schedule.rooms.filter(e=>this.sessions.some(t=>t.room===e))},days(){if(!this.sessions)return;const e=[];for(const t of this.sessions)e[e.length-1]&&e[e.length-1].isSame(t.start,"day")||e.push(t.start.clone().startOf("day"));return e},inEventTimezone(){if(!this.schedule||!this.schedule.talks)return!1;const e=this.schedule.talks[0].start;return Nt.a.tz(e,this.userTimezone).format("Z")===Nt.a.tz(e,this.schedule.timezone).format("Z")},dateFormat(){return this.showGrid&&this.schedule&&this.schedule.rooms.length>2||!this.days||!this.days.length||this.days&&this.days.length<=5?"dddd DD. MMMM":this.days&&this.days.length<=7?"dddd DD. MMM":"ddd DD. MMM"},eventSlug(){let e="";return e=this.eventUrl.startsWith("http")?new URL(this.eventUrl):new URL("http://example.org/"+this.eventUrl),e.pathname.replace(/\//g,"")}},async created(){Nt.a.locale(this.locale),this.userTimezone=Nt.a.tz.guess();let e="";this.version&&(e=`v/${this.version}/`);const t=`${this.eventUrl}schedule/${e}widgets/schedule.json`,n=`${this.eventUrl}schedule/${e}widget/v2.json`;try{this.schedule=await(await fetch(t)).json()}catch(i){try{this.schedule=await(await fetch(n)).json()}catch(i){return void(this.scheduleError=!0)}}this.currentTimezone=localStorage.getItem(this.eventSlug+"_timezone"),this.currentTimezone=[this.schedule.timezone,this.userTimezone].includes(this.currentTimezone)?this.currentTimezone:this.schedule.timezone,this.currentDay=this.days[0],this.now=Nt()().tz(this.currentTimezone),setInterval(()=>this.now=Nt()().tz(this.currentTimezone),3e4),this.scrollParentResizeObserver||(await this.$nextTick(),this.onWindowResize()),this.schedule.tracks.forEach(e=>{e.value=e.id,e.label=Rt(e.name),this.allTracks.push(e)}),this.favs=this.pruneFavs(this.loadFavs(),this.schedule);const r=window.location.hash.slice(1);if(r&&10===r.length){const e=Nt()(r,"YYYY-MM-DD"),t=this.days.filter(t=>t.format("YYYYMMDD")===e.format("YYYYMMDD"));t.length&&(this.currentDay=t[0])}},async mounted(){await new Promise(e=>{const t=()=>{if(this.$el.parentElement||this.$el.getRootNode().host)return e();setTimeout(t,100)};t()}),this.scrollParent=It(this.$el.parentElement||this.$el.getRootNode().host),this.scrollParent?(this.scrollParentResizeObserver=new ResizeObserver(this.onScrollParentResize),this.scrollParentResizeObserver.observe(this.scrollParent),this.scrollParentWidth=this.scrollParent.offsetWidth):(window.addEventListener("resize",this.onWindowResize),this.onWindowResize())},destroyed(){},methods:{changeDay(e){e.isSame(this.currentDay)||(this.currentDay=Nt()(e,this.currentTimezone).startOf("day"),window.location.hash=e.format("YYYY-MM-DD"))},onWindowResize(){this.scrollParentWidth=document.body.offsetWidth},saveTimezone(){localStorage.setItem(this.eventSlug+"_timezone",this.currentTimezone)},onScrollParentResize(e){this.scrollParentWidth=e[0].contentRect.width},loadFavs(){const e=localStorage.getItem(this.eventSlug+"_favs");if(e)try{return JSON.parse(e)}catch{localStorage.setItem(this.eventSlug+"_favs","[]")}return[]},pruneFavs(e,t){const n=t.talks||[],r=n.map(e=>e.code);return e.filter(e=>r.includes(e))},saveFavs(){localStorage.setItem(this.eventSlug+"_favs",JSON.stringify(this.favs))},fav(e){this.favs.includes(e)||(this.favs.push(e),this.saveFavs())},unfav(e){this.favs=this.favs.filter(t=>t!==e),this.saveFavs(),this.favs.length||(this.onlyFavs=!1)},resetFilteredTracks(){this.allTracks.forEach(e=>e.selected=!1)}}},mn=pn;function bn(e){var t=n("0887");t.__inject__&&t.__inject__(e)}var gn=Object(w["a"])(mn,x,M,!1,bn,null,null,!0),vn=gn.exports;window.customElements.define("pretalx-schedule",k(o["a"],vn))},"5b54":function(e,t,n){"use strict";var r=n("bd68"),i=n("0068").has,a=n("0068").isValidEntityCode,o=n("0068").fromCodePoint,s=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,c=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,l,u,d=e.pos,h=e.posMax;if(38!==e.src.charCodeAt(d))return!1;if(d+1<h)if(n=e.src.charCodeAt(d+1),35===n){if(u=e.src.slice(d).match(s),u)return t||(l="x"===u[1][0].toLowerCase()?parseInt(u[1].slice(1),16):parseInt(u[1],10),e.pending+=a(l)?o(l):o(65533)),e.pos+=u[0].length,!0}else if(u=e.src.slice(d).match(c),u&&i(r,u[1]))return t||(e.pending+=r[u[1]]),e.pos+=u[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},"5c8f":function(e,t,n){var r,i,a;/*! tether-drop 1.4.1 */(function(o,s){i=[n("a01e")],r=s,a="function"===typeof r?r.apply(t,i):r,void 0===a||(e.exports=a)})(0,(function(e){"use strict";var t=Function.prototype.bind,n=function(){function e(e,t){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done);r=!0)if(n.push(o.value),t&&n.length===t)break}catch(c){i=!0,a=c}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(e,t,n){var r=!0;while(r){var i=e,a=t,o=n;r=!1,null===i&&(i=Function.prototype);var s=Object.getOwnPropertyDescriptor(i,a);if(void 0!==s){if("value"in s)return s.value;var c=s.get;if(void 0===c)return;return c.call(o)}var l=Object.getPrototypeOf(i);if(null===l)return;e=l,t=a,n=o,r=!0,s=l=void 0}};function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=e.Utils,c=s.extend,l=s.addClass,u=s.removeClass,d=s.hasClass,h=s.Evented;function f(e){var t=e.split(" "),r=n(t,2),i=r[0],a=r[1];if(["left","right"].indexOf(i)>=0){var o=[a,i];i=o[0],a=o[1]}return[i,a].join(" ")}function p(e,t){var n=void 0,r=[];while(-1!==(n=e.indexOf(t)))r.push(e.splice(n,1));return r}var m=["click"];"ontouchstart"in document.documentElement&&m.push("touchstart");var b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"},g="";for(var v in b)if({}.hasOwnProperty.call(b,v)){var _=document.createElement("p");"undefined"!==typeof _.style[v]&&(g=b[v])}var y={left:"right",right:"left",top:"bottom",bottom:"top",middle:"middle",center:"center"},A={};function k(){var n=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],s=function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return new(t.apply(v,[null].concat(n)))};c(s,{createContext:k,drops:[],defaults:{}});var b={classPrefix:"drop",defaults:{position:"bottom left",openOn:"click",beforeClose:null,constrainToScrollParent:!0,constrainToWindow:!0,classes:"",remove:!1,openDelay:0,closeDelay:50,focusDelay:null,blurDelay:null,hoverOpenDelay:null,hoverCloseDelay:null,tetherOptions:{}}};c(s,b,n),c(s.defaults,b.defaults,n.defaults),"undefined"===typeof A[s.classPrefix]&&(A[s.classPrefix]=[]),s.updateBodyClasses=function(){for(var e=!1,t=A[s.classPrefix],n=t.length,r=0;r<n;++r)if(t[r].isOpened()){e=!0;break}e?l(document.body,s.classPrefix+"-open"):u(document.body,s.classPrefix+"-open")};var v=function(t){function n(e){if(a(this,n),i(Object.getPrototypeOf(n.prototype),"constructor",this).call(this),this.options=c({},s.defaults,e),this.target=this.options.target,"undefined"===typeof this.target)throw new Error("Drop Error: You must provide a target.");var t="data-"+s.classPrefix,r=this.target.getAttribute(t);r&&null==this.options.content&&(this.options.content=r);for(var o=["position","openOn"],u=0;u<o.length;++u){var d=this.target.getAttribute(t+"-"+o[u]);d&&null==this.options[o[u]]&&(this.options[o[u]]=d)}this.options.classes&&!1!==this.options.addTargetClasses&&l(this.target,this.options.classes),s.drops.push(this),A[s.classPrefix].push(this),this._boundEvents=[],this.bindMethods(),this.setupElements(),this.setupEvents(),this.setupTether()}return o(n,t),r(n,[{key:"_on",value:function(e,t,n){this._boundEvents.push({element:e,event:t,handler:n}),e.addEventListener(t,n)}},{key:"bindMethods",value:function(){this.transitionEndHandler=this._transitionEndHandler.bind(this)}},{key:"setupElements",value:function(){var e=this;if(this.drop=document.createElement("div"),l(this.drop,s.classPrefix),this.options.classes&&l(this.drop,this.options.classes),this.content=document.createElement("div"),l(this.content,s.classPrefix+"-content"),"function"===typeof this.options.content){var t=function(){var t=e.options.content.call(e,e);if("string"===typeof t)e.content.innerHTML=t;else{if("object"!==typeof t)throw new Error("Drop Error: Content function should return a string or HTMLElement.");e.content.innerHTML="",e.content.appendChild(t)}};t(),this.on("open",t.bind(this))}else"object"===typeof this.options.content?this.content.appendChild(this.options.content):this.content.innerHTML=this.options.content;this.drop.appendChild(this.content)}},{key:"setupTether",value:function(){var t=this.options.position.split(" ");t[0]=y[t[0]],t=t.join(" ");var n=[];this.options.constrainToScrollParent?n.push({to:"scrollParent",pin:"top, bottom",attachment:"together none"}):n.push({to:"scrollParent"}),!1!==this.options.constrainToWindow?n.push({to:"window",attachment:"together"}):n.push({to:"window"});var r={element:this.drop,target:this.target,attachment:f(t),targetAttachment:f(this.options.position),classPrefix:s.classPrefix,offset:"0 0",targetOffset:"0 0",enabled:!1,constraints:n,addTargetClasses:this.options.addTargetClasses};!1!==this.options.tetherOptions&&(this.tether=new e(c({},r,this.options.tetherOptions)))}},{key:"setupEvents",value:function(){var e=this;if(this.options.openOn)if("always"!==this.options.openOn){var t=this.options.openOn.split(" ");if(t.indexOf("click")>=0)for(var n=function(t){e.toggle(t),t.preventDefault()},r=function(t){e.isOpened()&&(t.target===e.drop||e.drop.contains(t.target)||t.target===e.target||e.target.contains(t.target)||e.close(t))},i=0;i<m.length;++i){var a=m[i];this._on(this.target,a,n),this._on(document,a,r)}var o=null,s=null,c=function(t){null!==s?clearTimeout(s):o=setTimeout((function(){e.open(t),o=null}),("focus"===t.type?e.options.focusDelay:e.options.hoverOpenDelay)||e.options.openDelay)},l=function(t){null!==o?clearTimeout(o):s=setTimeout((function(){e.close(t),s=null}),("blur"===t.type?e.options.blurDelay:e.options.hoverCloseDelay)||e.options.closeDelay)};t.indexOf("hover")>=0&&(this._on(this.target,"mouseover",c),this._on(this.drop,"mouseover",c),this._on(this.target,"mouseout",l),this._on(this.drop,"mouseout",l)),t.indexOf("focus")>=0&&(this._on(this.target,"focus",c),this._on(this.drop,"focus",c),this._on(this.target,"blur",l),this._on(this.drop,"blur",l))}else setTimeout(this.open.bind(this))}},{key:"isOpened",value:function(){if(this.drop)return d(this.drop,s.classPrefix+"-open")}},{key:"toggle",value:function(e){this.isOpened()?this.close(e):this.open(e)}},{key:"open",value:function(e){var t=this;this.isOpened()||(this.drop.parentNode||document.body.appendChild(this.drop),"undefined"!==typeof this.tether&&this.tether.enable(),l(this.drop,s.classPrefix+"-open"),l(this.drop,s.classPrefix+"-open-transitionend"),setTimeout((function(){t.drop&&l(t.drop,s.classPrefix+"-after-open")})),"undefined"!==typeof this.tether&&this.tether.position(),this.trigger("open"),s.updateBodyClasses())}},{key:"_transitionEndHandler",value:function(e){e.target===e.currentTarget&&(d(this.drop,s.classPrefix+"-open")||u(this.drop,s.classPrefix+"-open-transitionend"),this.drop.removeEventListener(g,this.transitionEndHandler))}},{key:"beforeCloseHandler",value:function(e){var t=!0;return this.isClosing||"function"!==typeof this.options.beforeClose||(this.isClosing=!0,t=!1!==this.options.beforeClose(e,this)),this.isClosing=!1,t}},{key:"close",value:function(e){this.isOpened()&&this.beforeCloseHandler(e)&&(u(this.drop,s.classPrefix+"-open"),u(this.drop,s.classPrefix+"-after-open"),this.drop.addEventListener(g,this.transitionEndHandler),this.trigger("close"),"undefined"!==typeof this.tether&&this.tether.disable(),s.updateBodyClasses(),this.options.remove&&this.remove(e))}},{key:"remove",value:function(e){this.close(e),this.drop.parentNode&&this.drop.parentNode.removeChild(this.drop)}},{key:"position",value:function(){this.isOpened()&&"undefined"!==typeof this.tether&&this.tether.position()}},{key:"destroy",value:function(){this.remove(),"undefined"!==typeof this.tether&&this.tether.destroy();for(var e=0;e<this._boundEvents.length;++e){var t=this._boundEvents[e],n=t.element,r=t.event,i=t.handler;n.removeEventListener(r,i)}this._boundEvents=[],this.tether=null,this.drop=null,this.content=null,this.target=null,p(A[s.classPrefix],this),p(s.drops,this)}}]),n}(h);return s}var w=k();return document.addEventListener("DOMContentLoaded",(function(){w.updateBodyClasses()})),w}))},"5fbd":function(e,t,n){"use strict";var r=n("e1f3"),i=n("5706").HTML_OPEN_CLOSE_TAG_RE,a=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var i,o,s,c,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(c=e.src.slice(l,u),i=0;i<a.length;i++)if(a[i][0].test(c))break;if(i===a.length)return!1;if(r)return a[i][2];if(o=t+1,!a[i][1].test(c))for(;o<n;o++){if(e.sCount[o]<e.blkIndent)break;if(l=e.bMarks[o]+e.tShift[o],u=e.eMarks[o],c=e.src.slice(l,u),a[i][1].test(c)){0!==c.length&&o++;break}}return e.line=o,s=e.push("html_block","",0),s.map=[t,o],s.content=e.getLines(t,o,e.blkIndent,!0),!0}},"62e4":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},"6aea":function(e,t,n){var r=n("8ca0");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("35d6").default;e.exports.__inject__=function(e){i("effe31e0",r,e)}},"6dd8":function(e,t,n){"use strict";(function(e){var n=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),r="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,i=function(){return"undefined"!==typeof e&&e.Math===Math?e:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")()}(),a=function(){return"function"===typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)}}(),o=2;function s(e,t){var n=!1,r=!1,i=0;function s(){n&&(n=!1,e()),r&&l()}function c(){a(s)}function l(){var e=Date.now();if(n){if(e-i<o)return;r=!0}else n=!0,r=!1,setTimeout(c,t);i=e}return l}var c=20,l=["top","right","bottom","left","width","height","size","weight"],u="undefined"!==typeof MutationObserver,d=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=s(this.refresh.bind(this),c)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var e=this.updateObservers_();e&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t,r=l.some((function(e){return!!~n.indexOf(e)}));r&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),h=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},f=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||i},p=x(0,0,0,0);function m(e){return parseFloat(e)||0}function b(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){var r=e["border-"+n+"-width"];return t+m(r)}),0)}function g(e){for(var t=["top","right","bottom","left"],n={},r=0,i=t;r<i.length;r++){var a=i[r],o=e["padding-"+a];n[a]=m(o)}return n}function v(e){var t=e.getBBox();return x(0,0,t.width,t.height)}function _(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var r=f(e).getComputedStyle(e),i=g(r),a=i.left+i.right,o=i.top+i.bottom,s=m(r.width),c=m(r.height);if("border-box"===r.boxSizing&&(Math.round(s+a)!==t&&(s-=b(r,"left","right")+a),Math.round(c+o)!==n&&(c-=b(r,"top","bottom")+o)),!A(e)){var l=Math.round(s+a)-t,u=Math.round(c+o)-n;1!==Math.abs(l)&&(s-=l),1!==Math.abs(u)&&(c-=u)}return x(i.left,i.top,s,c)}var y=function(){return"undefined"!==typeof SVGGraphicsElement?function(e){return e instanceof f(e).SVGGraphicsElement}:function(e){return e instanceof f(e).SVGElement&&"function"===typeof e.getBBox}}();function A(e){return e===f(e).document.documentElement}function k(e){return r?y(e)?v(e):_(e):p}function w(e){var t=e.x,n=e.y,r=e.width,i=e.height,a="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,o=Object.create(a.prototype);return h(o,{x:t,y:n,width:r,height:i,top:n,right:t+r,bottom:i+n,left:t}),o}function x(e,t,n,r){return{x:e,y:t,width:n,height:r}}var M=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=x(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=k(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),C=function(){function e(e,t){var n=w(t);h(this,{target:e,contentRect:n})}return e}(),S=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!==typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new M(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new C(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),E="undefined"!==typeof WeakMap?new WeakMap:new n,D=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=d.getInstance(),r=new S(t,n,this);E.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach((function(e){D.prototype[e]=function(){var t;return(t=E.get(this))[e].apply(t,arguments)}}));var T=function(){return"undefined"!==typeof i.ResizeObserver?i.ResizeObserver:D}();t["a"]=T}).call(this,n("c8ba"))},"6e00":function(e,t,n){"use strict";for(var r=n("0068").isSpace,i=[],a=0;a<256;a++)i.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){i[e.charCodeAt(0)]=1})),e.exports=function(e,t){var n,a=e.pos,o=e.posMax;if(92!==e.src.charCodeAt(a))return!1;if(a++,a<o){if(n=e.src.charCodeAt(a),n<256&&0!==i[n])return t||(e.pending+=e.src[a]),e.pos+=2,!0;if(10===n){t||e.push("hardbreak","br",0),a++;while(a<o){if(n=e.src.charCodeAt(a),!r(n))break;a++}return e.pos=a,!0}}return t||(e.pending+="\\"),e.pos++,!0}},"6e98":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";


ExplanationIt is a coding convention that when doing comparisons to a numeric constant, the
number should be on the right and the variable on the left. Having things be
consistent in this way makes the code easier to read.

@mariobehling
Copy link
Member

Solved by another contributor in the meantime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants