/** * Framework7 Vue 5.1.1 * Build full featured iOS & Android apps using Framework7 & Vue * http://framework7.io/vue/ * * Copyright 2014-2019 Vladimir Kharlampidi * * Released under the MIT License * * Released on: November 3, 2019 */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define(["vue"],t):(e=e||self).Framework7Vue=t(e.Vue)}(this,(function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t={noUndefinedProps:function(e){var t={};return Object.keys(e).forEach((function(o){void 0!==e[o]&&(t[o]=e[o])})),t},isTrueProp:function(e){return!0===e||""===e},isStringProp:function(e){return"string"==typeof e&&""!==e},isObject:function(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object},now:function(){return Date.now()},extend:function(){for(var e,o=[],n=arguments.length;n--;)o[n]=arguments[n];var s,i,a=!0;"boolean"==typeof o[0]?(a=(e=o)[0],s=e[1],o.splice(0,2),i=o):(s=o[0],o.splice(0,1),i=o);for(var r=0;r0;)o[n]=arguments[n+2];var s=e;t.split(" ").forEach((function(e){s.$emit.apply(s,[e].concat(o))}))}var a={name:"f7-accordion-item",props:Object.assign({id:[String,Number],opened:Boolean},o.colorProps),created:function(){t.bindMethods(this,"onBeforeOpen onOpen onOpened onBeforeClose onClose onClosed".split(" "))},mounted:function(){var e=this,t=e.$refs.el;t&&(e.eventTargetEl=t,e.$f7ready((function(t){t.on("accordionBeforeOpen",e.onBeforeOpen),t.on("accordionOpen",e.onOpen),t.on("accordionOpened",e.onOpened),t.on("accordionBeforeClose",e.onBeforeClose),t.on("accordionClose",e.onClose),t.on("accordionClosed",e.onClosed)})))},beforeDestroy:function(){if(this.$refs.el&&this.$f7){var e=this.$f7;e.off("accordionBeforeOpen",this.onBeforeOpen),e.off("accordionOpen",this.onOpen),e.off("accordionOpened",this.onOpened),e.off("accordionBeforeClose",this.onBeforeClose),e.off("accordionClose",this.onClose),e.off("accordionClosed",this.onClosed),delete this.eventTargetEl}},render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id,a=n.style,r=n.opened;return e("div",{style:a,class:t.classNames(s,"accordion-item",{"accordion-item-opened":r},o.colorClasses(n)),ref:"el",attrs:{id:i}},[this.$slots.default])},methods:{onBeforeOpen:function(e,t){this.eventTargetEl===e&&this.dispatchEvent("accordionBeforeOpen accordion:beforeopen",t)},onOpen:function(e){this.eventTargetEl===e&&this.dispatchEvent("accordionOpen accordion:open")},onOpened:function(e){this.eventTargetEl===e&&this.dispatchEvent("accordionOpened accordion:opened")},onBeforeClose:function(e,t){this.eventTargetEl===e&&this.dispatchEvent("accordionBeforeClose accordion:beforeclose",t)},onClose:function(e){this.eventTargetEl===e&&this.dispatchEvent("accordionClose accordion:close")},onClosed:function(e){this.eventTargetEl===e&&this.dispatchEvent("accordionClosed accordion:closed")},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return n(this)}}},r={props:Object.assign({id:[String,Number]},o.colorProps),name:"f7-accordion-toggle",render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id;return e("div",{style:n.style,class:t.classNames(s,"accordion-item-toggle",o.colorClasses(n)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return n(this)}}},l={props:Object.assign({id:[String,Number]},o.colorProps),name:"f7-accordion",render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id;return e("div",{style:n.style,class:t.classNames(s,"accordion-list",o.colorClasses(n)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return n(this)}}},c={name:"f7-actions-button",props:Object.assign({id:[String,Number],bold:Boolean,close:{type:Boolean,default:!0}},o.colorProps),render:function(){var e,n=this.$createElement,s=this.props,i=s.id,a=s.className,r=s.style,l=s.bold;return this.$slots.media&&this.$slots.media.length&&(e=n("div",{class:"actions-button-media"},[this.$slots.media])),n("div",{style:r,class:t.classNames(a,{"actions-button":!0,"actions-button-bold":l},o.colorClasses(s)),ref:"el",attrs:{id:i}},[e,n("div",{class:"actions-button-text"},[this.$slots.default])])},created:function(){t.bindMethods(this,["onClick"])},mounted:function(){this.$refs.el.addEventListener("click",this.onClick)},beforeDestroy:function(){this.$refs.el.removeEventListener("click",this.onClick)},methods:{onClick:function(e){var t=this.$$,o=this.$refs.el;this.props.close&&this.$f7&&o&&this.$f7.actions.close(t(o).parents(".actions-modal")),this.dispatchEvent("click",e)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return n(this)}}},p={name:"f7-actions-group",props:Object.assign({id:[String,Number]},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id;return e("div",{style:n.style,class:t.classNames(s,"actions-group",o.colorClasses(n)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return n(this)}}},d={name:"f7-actions-label",props:Object.assign({id:[String,Number],bold:Boolean},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id,a=n.style,r=n.bold;return e("div",{style:a,class:t.classNames(s,"actions-label",{"actions-button-bold":r},o.colorClasses(n)),ref:"el",attrs:{id:i}},[this.$slots.default])},created:function(){t.bindMethods(this,["onClick"])},mounted:function(){this.$refs.el.addEventListener("click",this.onClick)},beforeDestroy:function(){this.$refs.el.removeEventListener("click",this.onClick)},methods:{onClick:function(e){this.dispatchEvent("click",e)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return n(this)}}},u={name:"f7-actions",props:Object.assign({id:[String,Number],opened:Boolean,grid:Boolean,convertToPopover:Boolean,forceToPopover:Boolean,target:[String,Object],backdrop:Boolean,backdropEl:[String,Object,window.HTMLElement],closeByBackdropClick:Boolean,closeByOutsideClick:Boolean,closeOnEscape:Boolean},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id,a=n.style,r=n.grid;return e("div",{style:a,ref:"el",class:t.classNames(s,"actions-modal",{"actions-grid":r},o.colorClasses(n)),attrs:{id:i}},[this.$slots.default])},watch:{"props.opened":function(e){this.f7Actions&&(e?this.f7Actions.open():this.f7Actions.close())}},created:function(){t.bindMethods(this,["onOpen","onOpened","onClose","onClosed"])},mounted:function(){var e=this,t=e.$refs.el;if(t){var o=e.props,n=o.grid,s=o.target,i=o.convertToPopover,a=o.forceToPopover,r=o.opened,l=o.closeByBackdropClick,c=o.closeByOutsideClick,p=o.closeOnEscape,d=o.backdrop,u=o.backdropEl,h={el:t,grid:n,on:{open:e.onOpen,opened:e.onOpened,close:e.onClose,closed:e.onClosed}};s&&(h.targetEl=s);var f=e.$options.propsData;void 0!==f.convertToPopover&&(h.convertToPopover=i),void 0!==f.forceToPopover&&(h.forceToPopover=a),void 0!==f.backdrop&&(h.backdrop=d),void 0!==f.backdropEl&&(h.backdropEl=u),void 0!==f.closeByBackdropClick&&(h.closeByBackdropClick=l),void 0!==f.closeByOutsideClick&&(h.closeByOutsideClick=c),void 0!==f.closeOnEscape&&(h.closeOnEscape=p),e.$f7ready((function(){e.f7Actions=e.$f7.actions.create(h),r&&e.f7Actions.open(!1)}))}},beforeDestroy:function(){this.f7Actions&&this.f7Actions.destroy(),delete this.f7Actions},methods:{onOpen:function(e){this.dispatchEvent("actions:open actionsOpen",e)},onOpened:function(e){this.dispatchEvent("actions:opened actionsOpened",e)},onClose:function(e){this.dispatchEvent("actions:close actionsClose",e)},onClosed:function(e){this.dispatchEvent("actions:closed actionsClosed",e)},open:function(e){if(this.f7Actions)return this.f7Actions.open(e)},close:function(e){if(this.f7Actions)return this.f7Actions.close(e)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return n(this)}}},h={instance:null,Framework7:null,events:null,init:function(e,o,n){void 0===o&&(o={});var s=h.events,i=h.Framework7,a=t.extend({},o,{root:e});n&&n.length&&!a.routes&&(a.routes=n);var r=new i(a);r.initialized?(h.instance=r,s.emit("ready",h.instance)):r.on("init",(function(){h.instance=r,s.emit("ready",h.instance)}))},ready:function(e){e&&(h.instance?e(h.instance):h.events.once("ready",e))},routers:{views:[],tabs:[],modals:null}};function f(e,t,o){var n,s=e;n="function"==typeof t?t(s.state,s.props):t,Object.keys(n).forEach((function(e){s.$set(s.state,e,n[e])})),"function"==typeof o&&o()}var m={name:"f7-routable-modals",data:function(){return{state:{modals:[]}}},render:function(){var e=this.$createElement;return e("div",{ref:"el",class:"framework7-modals"},[this.state.modals.map((function(t){var o=t.component;return e(o,{key:t.id,props:t.props})}))])},updated:function(){this.routerData&&h.events.emit("modalsRouterDidUpdate",this.routerData)},beforeDestroy:function(){this.routerData&&(h.routers.modals=null,this.routerData=null,delete this.routerData)},mounted:function(){var e=this,t=e.$refs.el;e.routerData={modals:e.state.modals,el:t,component:e,setModals:function(t){e.setState({modals:t})}},h.routers.modals=e.routerData},methods:{setState:function(e,t){f(this,e,t)}}},v={name:"f7-app",props:Object.assign({id:[String,Number],params:Object,routes:Array},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.id,i=n.style,a=n.className;return e("div",{ref:"el",style:i,class:t.classNames(a,"framework7-root",o.colorClasses(n)),attrs:{id:s||"framework7-root"}},[this.$slots.default,e(m)])},mounted:function(){var e=this.props,t=e.params;void 0===t&&(t={});var o=e.routes,n=this.$refs.el,s=n.parentNode;s&&s!==document.body&&s.parentNode===document.body&&(s.style.height="100%"),h.init(n,t,o)},computed:{props:function(){return n(this)}}},g={name:"f7-appbar",props:Object.assign({id:[String,Number],noShadow:Boolean,noHairline:Boolean,inner:{type:Boolean,default:!0},innerClass:String,innerClassName:String},o.colorProps),render:function(){var e,n=this.$createElement,s=this.props,i=s.inner,a=s.innerClass,r=s.innerClassName,l=s.className,c=s.id,p=s.style,d=s.noShadow,u=s.noHairline;return i&&(e=n("div",{ref:"inner",class:t.classNames("appbar-inner",a,r)},[this.$slots.default])),n("div",{ref:"el",style:p,class:t.classNames(l,"appbar",{"no-shadow":d,"no-hairline":u},o.colorClasses(s)),attrs:{id:c}},[this.$slots["before-inner"],e||this.$slots.default,this.$slots["after-inner"]])},computed:{props:function(){return n(this)}}},b={name:"f7-badge",props:Object.assign({id:[String,Number]},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id;return e("span",{style:n.style,class:t.classNames(s,"badge",o.colorClasses(n)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return n(this)}}},y={name:"f7-block-footer",props:Object.assign({id:[String,Number]},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id;return e("div",{style:n.style,class:t.classNames(s,"block-footer",o.colorClasses(n)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return n(this)}}},S={name:"f7-block-header",props:Object.assign({id:[String,Number]},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id;return e("div",{style:n.style,class:t.classNames(s,"block-header",o.colorClasses(n)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return n(this)}}},E={name:"f7-block-title",props:Object.assign({id:[String,Number],large:Boolean,medium:Boolean},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id,a=n.style,r=n.large,l=n.medium;return e("div",{style:a,class:t.classNames(s,"block-title",{"block-title-large":r,"block-title-medium":l},o.colorClasses(n)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return n(this)}}},k={name:"f7-block",props:Object.assign({id:[String,Number],inset:Boolean,xsmallInset:Boolean,smallInset:Boolean,mediumInset:Boolean,largeInset:Boolean,xlargeInset:Boolean,strong:Boolean,tabs:Boolean,tab:Boolean,tabActive:Boolean,accordionList:Boolean,noHairlines:Boolean,noHairlinesMd:Boolean,noHairlinesIos:Boolean,noHairlinesAurora:Boolean},o.colorProps),created:function(){t.bindMethods(this,["onTabShow","onTabHide"])},mounted:function(){var e=this,t=e.$refs.el;t&&(e.eventTargetEl=t,e.$f7ready((function(t){t.on("tabShow",e.onTabShow),t.on("tabHide",e.onTabHide)})))},beforeDestroy:function(){this.$refs.el&&this.$f7&&(this.$f7.off("tabShow",this.onTabShow),this.$f7.off("tabHide",this.onTabHide),delete this.eventTargetEl)},render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.inset,a=n.xsmallInset,r=n.smallInset,l=n.mediumInset,c=n.largeInset,p=n.xlargeInset,d=n.strong,u=n.accordionList,h=n.tabs,f=n.tab,m=n.tabActive,v=n.noHairlines,g=n.noHairlinesIos,b=n.noHairlinesMd,y=n.noHairlinesAurora,S=n.id;return e("div",{style:n.style,class:t.classNames(s,"block",{inset:i,"xsmall-inset":a,"small-inset":r,"medium-inset":l,"large-inset":c,"xlarge-inset":p,"block-strong":d,"accordion-list":u,tabs:h,tab:f,"tab-active":m,"no-hairlines":v,"no-hairlines-md":b,"no-hairlines-ios":g,"no-hairlines-aurora":y},o.colorClasses(n)),ref:"el",attrs:{id:S}},[this.$slots.default])},methods:{onTabShow:function(e){this.eventTargetEl===e&&this.dispatchEvent("tabShow tab:show")},onTabHide:function(e){this.eventTargetEl===e&&this.dispatchEvent("tabHide tab:hide")},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return n(this)}}},B={name:"f7-icon",props:Object.assign({id:[String,Number],material:String,f7:String,icon:String,ios:String,aurora:String,md:String,tooltip:String,size:[String,Number]},o.colorProps),data:function(){var e=this;n(this);return{state:function(){var t=e,o=t.$f7;return o||t.$f7ready((function(){t.setState({_theme:t.$theme})})),{_theme:o?t.$theme:null}}()}},render:function(){var e=this.$createElement,o=this.props,n=o.id,s=o.style,i=o.size;return"number"!=typeof i&&parseFloat(i)!==1*i||(i+="px"),e("i",{ref:"el",style:t.extend({fontSize:i,width:i,height:i},s),class:this.classes,attrs:{id:n}},[this.iconTextComputed,this.$slots.default])},watch:{"props.tooltip":function(e){if(!e&&this.f7Tooltip)return this.f7Tooltip.destroy(),this.f7Tooltip=null,void delete this.f7Tooltip;e&&!this.f7Tooltip&&this.$f7?this.f7Tooltip=this.$f7.tooltip.create({targetEl:this.$refs.el,text:e}):e&&this.f7Tooltip&&this.f7Tooltip.setText(e)}},mounted:function(){var e=this,t=e.$refs.el;if(t){var o=e.props.tooltip;o&&e.$f7ready((function(n){e.f7Tooltip=n.tooltip.create({targetEl:t,text:o})}))}},beforeDestroy:function(){this.f7Tooltip&&this.f7Tooltip.destroy&&(this.f7Tooltip.destroy(),this.f7Tooltip=null,delete this.f7Tooltip)},computed:{iconTextComputed:function(){var e=this.props,t=e.material,o=e.f7,n=e.md,s=e.ios,i=e.aurora,a=this.state._theme,r=t||o;return n&&a&&a.md&&(n.indexOf("material:")>=0||n.indexOf("f7:")>=0)?r=n.split(":")[1]:s&&a&&a.ios&&(s.indexOf("material:")>=0||s.indexOf("f7:")>=0)?r=s.split(":")[1]:i&&a&&a.aurora&&(i.indexOf("material:")>=0||i.indexOf("f7:")>=0)&&(r=i.split(":")[1]),r},classes:function(){var e,n={icon:!0},s=this.props,i=this.state._theme,a=s.material,r=s.f7,l=s.icon,c=s.md,p=s.ios,d=s.aurora,u=s.className;if(i&&i.ios?e=p:i&&i.md?e=c:i&&i.aurora&&(e=d),e){var h=e.split(":"),f=h[0],m=h[1];"material"!==f&&"f7"!==f||(n["material-icons"]="material"===f,n["f7-icons"]="f7"===f),"icon"===f&&(n[m]=!0)}else n={icon:!0,"material-icons":a,"f7-icons":r},l&&(n[l]=!0);return t.classNames(u,n,o.colorClasses(s))},props:function(){return n(this)}},methods:{setState:function(e,t){f(this,e,t)}}};function C(e){if(!e)return e;var t="style class domProps slot key ref attrs on props".split(" ");return Object.keys(e).forEach((function(o){if("className"===o)return e.class=e.className,void delete e.className;if("dangerouslySetInnerHTML"===o)return e.domProps||(e.domProps={}),e.domProps.innerHTML=e[o],e.domProps.innerHTML&&e.domProps.innerHTML.__html&&(e.domProps.innerHTML=e.domProps.innerHTML.__html),void delete e.dangerouslySetInnerHTML;if(o.match(/^on?([A-Z])/)){e.on||(e.on={});var n=o.replace(/(^on?)([A-Z])/,(function(e,t,o){return o.toLowerCase()}));return e.on[n]=e[o],void delete e[o]}t.indexOf(o)>=0||(e.attrs||(e.attrs={}),e.attrs[o]||(e.attrs[o]=e[o],delete e[o]))})),e}var $={name:"f7-button",props:Object.assign({id:[String,Number],text:String,tabLink:[Boolean,String],tabLinkActive:Boolean,type:String,href:{type:[String,Boolean],default:"#"},target:String,round:Boolean,roundMd:Boolean,roundIos:Boolean,roundAurora:Boolean,fill:Boolean,fillMd:Boolean,fillIos:Boolean,fillAurora:Boolean,large:Boolean,largeMd:Boolean,largeIos:Boolean,largeAurora:Boolean,small:Boolean,smallMd:Boolean,smallIos:Boolean,smallAurora:Boolean,raised:Boolean,raisedMd:Boolean,raisedIos:Boolean,raisedAurora:Boolean,outline:Boolean,outlineMd:Boolean,outlineIos:Boolean,outlineAurora:Boolean,active:Boolean,disabled:Boolean,tooltip:String},o.colorProps,{},o.linkIconProps,{},o.linkRouterProps,{},o.linkActionsProps),render:function(){var e,t,o=this.$createElement,n=this.props,s=n.text,i=n.icon,a=n.iconMaterial,r=n.iconF7,l=n.iconMd,c=n.iconIos,p=n.iconAurora,d=n.iconColor,u=n.iconSize,h=n.id,f=n.style,m=n.type;return s&&(t=o("span",[s])),(i||a||r||l||c||p)&&(e=o(B,{attrs:{material:a,f7:r,icon:i,md:l,ios:c,aurora:p,color:d,size:u}})),o("submit"===m||"reset"===m||"button"===m?"button":"a",C(Object.assign({ref:"el",style:f,class:this.classes},this.attrs,{attrs:{id:h}})),[e,t,this.$slots.default])},computed:{attrs:function(){var e=this.props,n=e.href,s=e.target,i=e.tabLink,a=e.type,r=n;return!0===n&&(r="#"),!1===n&&(r=void 0),t.extend({href:r,target:s,type:a,"data-tab":t.isStringProp(i)&&i||void 0},o.linkRouterAttrs(e),o.linkActionsAttrs(e))},classes:function(){var e=this.props,n=e.tabLink,s=e.tabLinkActive,i=e.round,a=e.roundIos,r=e.roundAurora,l=e.roundMd,c=e.fill,p=e.fillIos,d=e.fillAurora,u=e.fillMd,h=e.large,f=e.largeIos,m=e.largeAurora,v=e.largeMd,g=e.small,b=e.smallIos,y=e.smallAurora,S=e.smallMd,E=e.raised,k=e.raisedIos,B=e.raisedAurora,C=e.raisedMd,$=e.active,w=e.outline,O=e.outlineIos,P=e.outlineAurora,N=e.outlineMd,x=e.disabled,T=e.className;return t.classNames(T,"button",{"tab-link":n||""===n,"tab-link-active":s,"button-round":i,"button-round-ios":a,"button-round-aurora":r,"button-round-md":l,"button-fill":c,"button-fill-ios":p,"button-fill-aurora":d,"button-fill-md":u,"button-large":h,"button-large-ios":f,"button-large-aurora":m,"button-large-md":v,"button-small":g,"button-small-ios":b,"button-small-aurora":y,"button-small-md":S,"button-raised":E,"button-raised-ios":k,"button-raised-aurora":B,"button-raised-md":C,"button-active":$,"button-outline":w,"button-outline-ios":O,"button-outline-aurora":P,"button-outline-md":N,disabled:x},o.colorClasses(e),o.linkRouterClasses(e),o.linkActionsClasses(e))},props:function(){return n(this)}},methods:{onClick:function(e){this.dispatchEvent("click",e)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}},watch:{"props.tooltip":function(e){if(!e&&this.f7Tooltip)return this.f7Tooltip.destroy(),this.f7Tooltip=null,void delete this.f7Tooltip;e&&!this.f7Tooltip&&this.$f7?this.f7Tooltip=this.$f7.tooltip.create({targetEl:this.$refs.el,text:e}):e&&this.f7Tooltip&&this.f7Tooltip.setText(e)}},created:function(){t.bindMethods(this,["onClick"])},mounted:function(){var e=this,t=e.$refs.el;t.addEventListener("click",e.onClick);var o=e.props,n=o.tooltip,s=o.routeProps;s&&(t.f7RouteProps=s),n&&e.$f7ready((function(o){e.f7Tooltip=o.tooltip.create({targetEl:t,text:n})}))},updated:function(){var e=this.$refs.el,t=this.props.routeProps;t&&(e.f7RouteProps=t)},beforeDestroy:function(){var e=this.$refs.el;e.removeEventListener("click",this.onClick),delete e.f7RouteProps,this.f7Tooltip&&this.f7Tooltip.destroy&&(this.f7Tooltip.destroy(),this.f7Tooltip=null,delete this.f7Tooltip)}},w={name:"f7-card-content",props:Object.assign({id:[String,Number],padding:{type:Boolean,default:!0}},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.id,i=n.className,a=n.style,r=n.padding;return e("div",{style:a,class:t.classNames(i,"card-content",{"card-content-padding":r},o.colorClasses(n)),attrs:{id:s}},[this.$slots.default])},computed:{props:function(){return n(this)}}},O={name:"f7-card-footer",props:Object.assign({id:[String,Number]},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id;return e("div",{style:n.style,class:t.classNames(s,"card-footer",o.colorClasses(n)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return n(this)}}},P={name:"f7-card-header",props:Object.assign({id:[String,Number]},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id;return e("div",{style:n.style,class:t.classNames(s,"card-header",o.colorClasses(n)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return n(this)}}},N={name:"f7-card",props:Object.assign({id:[String,Number],title:[String,Number],content:[String,Number],footer:[String,Number],outline:Boolean,expandable:Boolean,expandableAnimateWidth:Boolean,expandableOpened:Boolean,animate:{type:Boolean,default:void 0},hideNavbarOnOpen:{type:Boolean,default:void 0},hideToolbarOnOpen:{type:Boolean,default:void 0},hideStatusbarOnOpen:{type:Boolean,default:void 0},swipeToClose:{type:Boolean,default:void 0},closeByBackdropClick:{type:Boolean,default:void 0},backdrop:{type:Boolean,default:void 0},backdropEl:{type:String,default:void 0},noShadow:Boolean,noBorder:Boolean,padding:{type:Boolean,default:!0}},o.colorProps),watch:{"props.expandableOpened":function(e){e?this.open():this.close()}},created:function(){t.bindMethods(this,"onBeforeOpen onOpen onOpened onClose onClosed".split(" "))},mounted:function(){var e=this;if(e.props.expandable){var t=e.$refs.el;t&&(e.eventTargetEl=t,e.$f7ready((function(o){o.on("cardBeforeOpen",e.onBeforeOpen),o.on("cardOpen",e.onOpen),o.on("cardOpened",e.onOpened),o.on("cardClose",e.onClose),o.on("cardClosed",e.onClosed),e.props.expandable&&e.props.expandableOpened&&e.$f7.card.open(t,!1)})))}},beforeDestroy:function(){this.props.expandable&&(this.$refs.el&&this.$f7&&(this.$f7.off("cardBeforeOpen",this.onBeforeOpen),this.$f7.off("cardOpen",this.onOpen),this.$f7.off("cardOpened",this.onOpened),this.$f7.off("cardClose",this.onClose),this.$f7.off("cardClosed",this.onClosed),this.eventTargetEl=null,delete this.eventTargetEl))},render:function(){var e,n,s,i=this.$createElement,a=this.props,r=a.className,l=a.id,c=a.style,p=a.title,d=a.content,u=a.footer,h=a.padding,f=a.outline,m=a.expandable,v=a.expandableAnimateWidth,g=a.animate,b=a.hideNavbarOnOpen,y=a.hideToolbarOnOpen,S=a.hideStatusbarOnOpen,E=a.swipeToClose,k=a.closeByBackdropClick,B=a.backdrop,C=a.backdropEl,$=a.noShadow,N=a.noBorder,x=t.classNames(r,"card",{"card-outline":f,"card-expandable":m,"card-expandable-animate-width":v,"no-shadow":$,"no-border":N},o.colorClasses(a));return(p||this.$slots&&this.$slots.header)&&(e=i(P,[p,this.$slots.header])),(d||this.$slots&&this.$slots.content)&&(n=i(w,{attrs:{padding:h}},[d,this.$slots.content])),(u||this.$slots&&this.$slots.footer)&&(s=i(O,[u,this.$slots.footer])),i("div",{style:c,class:x,ref:"el",attrs:{id:l,"data-animate":void 0===g?g:g.toString(),"data-hide-navbar-on-open":void 0===b?b:b.toString(),"data-hide-toolbar-on-open":void 0===y?y:y.toString(),"data-hide-statusbar-on-open":void 0===S?S:S.toString(),"data-swipe-to-close":void 0===E?E:E.toString(),"data-close-by-backdrop-click":void 0===k?k:k.toString(),"data-backdrop":void 0===B?B:B.toString(),"data-backdrop-el":C}},[e,n,s,this.$slots.default])},methods:{open:function(){this.$refs.el&&this.$f7.card.open(this.$refs.el)},close:function(){this.$refs.el&&this.$f7.card.close(this.$refs.el)},onBeforeOpen:function(e,t){this.eventTargetEl===e&&this.dispatchEvent("cardBeforeOpen card:beforeopen",e,t)},onOpen:function(e){this.eventTargetEl===e&&this.dispatchEvent("cardOpen card:open",e)},onOpened:function(e,t){this.eventTargetEl===e&&this.dispatchEvent("cardOpened card:opened",e,t)},onClose:function(e){this.eventTargetEl===e&&this.dispatchEvent("cardClose card:close",e)},onClosed:function(e,t){this.eventTargetEl===e&&this.dispatchEvent("cardClosed card:closed",e,t)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return n(this)}}},x={name:"f7-checkbox",props:Object.assign({id:[String,Number],checked:Boolean,indeterminate:Boolean,name:[Number,String],value:[Number,String,Boolean],disabled:Boolean,readonly:Boolean,defaultChecked:Boolean},o.colorProps),render:function(){var e,t=this.$createElement,o=this.props,n=o.name,s=o.value,i=o.disabled,a=o.readonly,r=o.checked,l=(o.defaultChecked,o.id),c=o.style;e=t("input",{ref:"inputEl",domProps:{value:s,disabled:i,readonly:a,checked:r},on:{change:this.onChange},attrs:{type:"checkbox",name:n}});var p=t("i",{class:"icon-checkbox"});return t("label",{style:c,class:this.classes,attrs:{id:l}},[e,p,this.$slots.default])},computed:{classes:function(){var e=this.props,n=e.className,s=e.disabled;return t.classNames(n,{checkbox:!0,disabled:s},o.colorClasses(e))},props:function(){return n(this)}},created:function(){t.bindMethods(this,["onChange"])},mounted:function(){var e=this.$refs.inputEl;this.props.indeterminate&&e&&(e.indeterminate=!0)},updated:function(){var e=this.$refs.inputEl,t=this.props.indeterminate;e&&(e.indeterminate=t)},methods:{onChange:function(e){this.dispatchEvent("change",e)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}}},T={name:"f7-chip",props:Object.assign({id:[String,Number],media:String,text:[String,Number],deleteable:Boolean,mediaBgColor:String,mediaTextColor:String,outline:Boolean},o.colorProps),render:function(){var e,n,s,i=this.$createElement,a=this.props,r=a.media,l=a.text,c=a.deleteable,p=a.className,d=a.id,u=a.style,h=a.mediaTextColor,f=a.mediaBgColor,m=a.outline;(r||this.$slots&&this.$slots.media)&&(e=i("div",{class:t.classNames("chip-media",h&&"text-color-"+h,f&&"bg-color-"+f)},[r||this.$slots.media]));return(l||this.$slots&&this.$slots.text)&&(n=i("div",{class:"chip-label"},[l,this.$slots.text])),c&&(s=i("a",{ref:"deleteEl",class:"chip-delete"})),i("div",{ref:"el",style:u,class:t.classNames(p,"chip",{"chip-outline":m},o.colorClasses(a)),attrs:{id:d}},[e,n,s])},created:function(){t.bindMethods(this,["onClick","onDeleteClick"])},mounted:function(){this.$refs.el.addEventListener("click",this.onClick),this.$refs.deleteEl&&this.$refs.deleteEl.addEventListener("click",this.onDeleteClick)},beforeDestroy:function(){this.$refs.el.removeEventListener("click",this.onClick),this.$refs.deleteEl&&this.$refs.deleteEl.removeEventListener("click",this.onDeleteClick)},methods:{onClick:function(e){this.dispatchEvent("click",e)},onDeleteClick:function(e){this.dispatchEvent("delete",e)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return n(this)}}},M={name:"f7-col",props:Object.assign({id:[String,Number],tag:{type:String,default:"div"},width:{type:[Number,String],default:"auto"},xsmall:{type:[Number,String]},small:{type:[Number,String]},medium:{type:[Number,String]},large:{type:[Number,String]},xlarge:{type:[Number,String]},resizable:Boolean,resizableFixed:Boolean,resizableAbsolute:Boolean,resizableHandler:{type:Boolean,default:!0}},o.colorProps),render:function(){var e,n=this.$createElement,s=this.props,i=s.className,a=s.id,r=s.style,l=s.tag,c=s.width,p=s.xsmall,d=s.small,u=s.medium,h=s.large,f=s.xlarge,m=s.resizable,v=s.resizableFixed,g=s.resizableAbsolute,b=s.resizableHandler;return n(l,{style:r,class:t.classNames(i,((e={col:"auto"===c})["col-"+c]="auto"!==c,e["xsmall-"+p]=p,e["small-"+d]=d,e["medium-"+u]=u,e["large-"+h]=h,e["xlarge-"+f]=f,e.resizable=m,e["resizable-fixed"]=v,e["resizable-absolute"]=g,e),o.colorClasses(s)),ref:"el",attrs:{id:a}},[this.$slots.default,m&&b&&n("span",{class:"resize-handler"})])},created:function(){t.bindMethods(this,["onClick","onResize"])},mounted:function(){var e=this;e.eventTargetEl=e.$refs.el,e.eventTargetEl.addEventListener("click",e.onClick),e.$f7ready((function(t){t.on("gridResize",e.onResize)}))},beforeDestroy:function(){var e=this.$refs.el;e&&this.$f7&&(e.removeEventListener("click",this.onClick),this.$f7.off("gridResize",this.onResize),delete this.eventTargetEl)},methods:{onClick:function(e){this.dispatchEvent("click",e)},onResize:function(e){e===this.eventTargetEl&&this.dispatchEvent("grid:resize gridResize")},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return n(this)}}},L={name:"f7-fab-button",props:Object.assign({id:[String,Number],fabClose:Boolean,label:String,target:String,tooltip:String},o.colorProps),render:function(){var e,n=this.$createElement,s=this.props,i=s.className,a=s.id,r=s.style,l=s.fabClose,c=s.label,p=s.target,d=t.classNames(i,{"fab-close":l,"fab-label-button":c},o.colorClasses(s));return c&&(e=n("span",{class:"fab-label"},[c])),n("a",{ref:"el",style:r,class:d,attrs:{id:a,target:p}},[this.$slots.default,e])},created:function(){t.bindMethods(this,["onClick"])},mounted:function(){var e=this;e.$refs.el.addEventListener("click",e.onClick);var t=e.props.tooltip;t&&e.$f7ready((function(o){e.f7Tooltip=o.tooltip.create({targetEl:e.$refs.el,text:t})}))},beforeDestroy:function(){this.$refs.el.removeEventListener("click",this.onClick),this.f7Tooltip&&this.f7Tooltip.destroy&&(this.f7Tooltip.destroy(),this.f7Tooltip=null,delete this.f7Tooltip)},methods:{onClick:function(e){this.dispatchEvent("click",e)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}},watch:{"props.tooltip":function(e){if(!e&&this.f7Tooltip)return this.f7Tooltip.destroy(),this.f7Tooltip=null,void delete this.f7Tooltip;e&&!this.f7Tooltip&&this.$f7?this.f7Tooltip=this.$f7.tooltip.create({targetEl:this.$refs.el,text:e}):e&&this.f7Tooltip&&this.f7Tooltip.setText(e)}},computed:{props:function(){return n(this)}}},I={name:"f7-fab-buttons",props:Object.assign({id:[String,Number],position:{type:String,default:"top"}},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id,a=n.style,r=n.position;return e("div",{style:a,class:t.classNames(s,"fab-buttons","fab-buttons-"+r,o.colorClasses(n)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return n(this)}}},A={name:"f7-fab",props:Object.assign({id:[String,Number],morphTo:String,href:[Boolean,String],target:String,text:String,position:{type:String,default:"right-bottom"},tooltip:String},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id,a=n.style,r=n.morphTo,l=n.href,c=n.position,p=n.text,d=n.target,u=l;!0===u&&(u="#"),!1===u&&(u=void 0);var h,f,m=[],v=[],g=this.$slots,b=g.link,y=g.default,S=g.root,E=g.text;if(y)for(var k=0;k=0&&(C=!0),C?v.push(B):m.push(B)}return(p||E&&E.length)&&(h=e("div",{class:"fab-text"},[p||E])),(m.length||b&&b.length)&&(f=e("a",{ref:"linkEl",key:"f7-fab-link",attrs:{target:d,href:u}},[m,h,b])),e("div",{style:a,class:t.classNames(s,"fab","fab-"+c,{"fab-morph":r,"fab-extended":void 0!==h},o.colorClasses(n)),attrs:{id:i,"data-morph-to":r}},[f,v,S])},watch:{"props.tooltip":function(e){if(!e&&this.f7Tooltip)return this.f7Tooltip.destroy(),this.f7Tooltip=null,void delete this.f7Tooltip;e&&!this.f7Tooltip&&this.$f7?this.f7Tooltip=this.$f7.tooltip.create({targetEl:this.$refs.el,text:e}):e&&this.f7Tooltip&&this.f7Tooltip.setText(e)}},created:function(){t.bindMethods(this,["onClick"])},mounted:function(){var e=this;e.$refs.linkEl&&e.$refs.linkEl.addEventListener("click",e.onClick);var t=e.props.tooltip;t&&e.$f7ready((function(o){e.f7Tooltip=o.tooltip.create({targetEl:e.$refs.el,text:t})}))},beforeDestroy:function(){this.$refs.linkEl&&this.$refs.linkEl.removeEventListener("click",this.onClick),this.f7Tooltip&&this.f7Tooltip.destroy&&(this.f7Tooltip.destroy(),this.f7Tooltip=null,delete this.f7Tooltip)},methods:{onClick:function(e){this.dispatchEvent("click",e)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return n(this)}}},D={props:{id:[String,Number],type:{type:String,default:"circle"},value:{type:[Number,String],default:0},size:{type:[Number,String],default:200},bgColor:{type:String,default:"transparent"},borderBgColor:{type:String,default:"#eeeeee"},borderColor:{type:String,default:"#000000"},borderWidth:{type:[Number,String],default:10},valueText:[Number,String],valueTextColor:{type:String,default:"#000000"},valueFontSize:{type:[Number,String],default:31},valueFontWeight:{type:[Number,String],default:500},labelText:String,labelTextColor:{type:String,default:"#888888"},labelFontSize:{type:[Number,String],default:14},labelFontWeight:{type:[Number,String],default:400}},name:"f7-gauge",render:function(){var e=this.$createElement,o=this.props,n=o.className,s=o.id,i=o.style,a=o.type,r=o.value,l=o.size,c=o.bgColor,p=o.borderBgColor,d=o.borderColor,u=o.borderWidth,h=o.valueText,f=o.valueTextColor,m=o.valueFontSize,v=o.valueFontWeight,g=o.labelText,b=o.labelTextColor,y=o.labelFontSize,S=o.labelFontWeight,E=t.classNames(n,"gauge"),k="semicircle"===a,B=l/2-u/2,C=2*Math.PI*B,$=Math.max(Math.min(r,1),0);return e("div",{style:i,class:E,attrs:{id:s}},[e("svg",{class:"gauge-svg",attrs:{width:l+"px",height:(k?l/2:l)+"px",viewBox:"0 0 "+l+" "+(k?l/2:l)}},[k&&e("path",{class:"gauge-back-semi",attrs:{d:"M"+(l-u/2)+","+l/2+" a1,1 0 0,0 -"+(l-u)+",0",stroke:p,"stroke-width":u,fill:c||"none"}}),k&&e("path",{class:"gauge-front-semi",attrs:{d:"M"+(l-u/2)+","+l/2+" a1,1 0 0,0 -"+(l-u)+",0",stroke:d,"stroke-width":u,"stroke-dasharray":C/2,"stroke-dashoffset":C/2*(1+$),fill:p?"none":c||"none"}}),!k&&p&&e("circle",{class:"gauge-back-circle",attrs:{stroke:p,"stroke-width":u,fill:c||"none",cx:l/2,cy:l/2,r:B}}),!k&&e("circle",{class:"gauge-front-circle",attrs:{transform:"rotate(-90 "+l/2+" "+l/2+")",stroke:d,"stroke-width":u,"stroke-dasharray":C,"stroke-dashoffset":C*(1-$),fill:p?"none":c||"none",cx:l/2,cy:l/2,r:B}}),h&&e("text",{class:"gauge-value-text",attrs:{x:"50%",y:k?"100%":"50%","font-weight":v,"font-size":m,fill:f,dy:k?g?-y-15:-5:0,"text-anchor":"middle","dominant-baseline":k?null:"middle"}},[h]),g&&e("text",{class:"gauge-label-text",attrs:{x:"50%",y:k?"100%":"50%","font-weight":S,"font-size":y,fill:b,dy:k?-5:h?m/2+10:0,"text-anchor":"middle","dominant-baseline":k?null:"middle"}},[g])])])},computed:{props:function(){return n(this)}}},R={name:"f7-toggle",props:Object.assign({id:[String,Number],init:{type:Boolean,default:!0},checked:Boolean,defaultChecked:Boolean,disabled:Boolean,readonly:Boolean,name:String,value:[String,Number,Array]},o.colorProps),render:function(){var e,n=this.$createElement,s=this.props,i=s.className,a=s.disabled,r=s.id,l=s.style,c=s.name,p=s.readonly,d=s.checked,u=(s.defaultChecked,s.value),h=t.classNames("toggle",i,{disabled:a},o.colorClasses(s));return e=n("input",{ref:"inputEl",domProps:{disabled:a,readOnly:p,value:u,checked:d},on:{change:this.onChange},attrs:{type:"checkbox",name:c}}),n("label",{ref:"el",style:l,class:h,attrs:{id:r}},[e,n("span",{class:"toggle-icon"})])},watch:{"props.checked":function(e){this.f7Toggle&&(this.f7Toggle.checked=e)}},created:function(){t.bindMethods(this,["onChange"])},mounted:function(){var e=this;e.props.init&&e.$f7ready((function(t){e.f7Toggle=t.toggle.create({el:e.$refs.el,on:{change:function(t){var o=t.checked;e.dispatchEvent("toggle:change toggleChange",o)}}})}))},beforeDestroy:function(){this.f7Toggle&&this.f7Toggle.destroy&&this.f7Toggle.$el&&this.f7Toggle.destroy()},methods:{toggle:function(){this.f7Toggle&&this.f7Toggle.toggle&&this.f7Toggle.toggle()},onChange:function(e){this.dispatchEvent("change",e)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return n(this)}}},j={name:"f7-range",props:Object.assign({id:[String,Number],init:{type:Boolean,default:!0},value:{type:[Number,Array,String],default:0},min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},step:{type:[Number,String],default:1},label:{type:Boolean,default:!1},dual:{type:Boolean,default:!1},vertical:{type:Boolean,default:!1},verticalReversed:{type:Boolean,default:!1},draggableBar:{type:Boolean,default:!0},formatLabel:Function,scale:{type:Boolean,default:!1},scaleSteps:{type:Number,default:5},scaleSubSteps:{type:Number,default:0},formatScaleLabel:Function,limitKnobPosition:{type:Boolean,default:void 0},name:String,input:Boolean,inputId:String,disabled:Boolean},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=this.props,i=s.id,a=s.disabled,r=s.className,l=s.style,c=s.input,p=s.inputId,d=s.name,u=s.vertical,h=s.verticalReversed;return e("div",{ref:"el",style:l,class:t.classNames(r,"range-slider",{"range-slider-horizontal":!u,"range-slider-vertical":u,"range-slider-vertical-reversed":u&&h,disabled:a},o.colorClasses(n)),attrs:{id:i}},[c&&e("input",{attrs:{type:"range",name:d,id:p}}),this.$slots.default])},watch:{"props.value":function(e){this.f7Range&&this.f7Range.setValue(e)}},mounted:function(){var e=this;e.$f7ready((function(o){if(e.props.init){var n=e.props,s=n.value,i=n.min,a=n.max,r=n.step,l=n.label,c=n.dual,p=n.draggableBar,d=n.vertical,u=n.verticalReversed,h=n.formatLabel,f=n.scale,m=n.scaleSteps,v=n.scaleSubSteps,g=n.formatScaleLabel,b=n.limitKnobPosition;e.f7Range=o.range.create(t.noUndefinedProps({el:e.$refs.el,value:s,min:i,max:a,step:r,label:l,dual:c,draggableBar:p,vertical:d,verticalReversed:u,formatLabel:h,scale:f,scaleSteps:m,scaleSubSteps:v,formatScaleLabel:g,limitKnobPosition:b,on:{change:function(t,o){e.dispatchEvent("range:change rangeChange",o)},changed:function(t,o){e.dispatchEvent("range:changed rangeChanged",o)}}}))}}))},beforeDestroy:function(){this.f7Range&&this.f7Range.destroy&&this.f7Range.destroy()},methods:{setValue:function(e){this.f7Range&&this.f7Range.setValue&&this.f7Range.setValue(e)},getValue:function(){if(this.f7Range&&this.f7Range.getValue)return this.f7Range.getValue()},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return n(this)}}},z={name:"f7-text-editor",props:Object.assign({id:[String,Number]},o.colorProps,{mode:{type:String,default:void 0},value:{type:String,default:void 0},buttons:Array,customButtons:Object,dividers:{type:Boolean,default:void 0},imageUrlText:{type:String,default:void 0},linkUrlText:{type:String,default:void 0},placeholder:{type:String,default:void 0},clearFormattingOnPaste:{type:Boolean,default:void 0},resizable:{type:Boolean,default:!1}}),created:function(){t.bindMethods(this,"onChange onInput onFocus onBlur onButtonClick onKeyboardOpen onKeyboardClose onPopoverOpen onPopoverClose".split(" "))},mounted:function(){var e=this,o=this.props,n=o.mode,s=o.value,i=o.palceholder,a=o.buttons,r=o.customButtons,l=o.dividers,c=o.imageUrlText,p=o.linkUrlText,d=o.placeholder,u=o.clearFormattingOnPaste,h=t.noUndefinedProps({el:this.$refs.el,mode:n,value:s,palceholder:i,buttons:a,customButtons:r,dividers:l,imageUrlText:c,linkUrlText:p,placeholder:d,clearFormattingOnPaste:u,on:{change:this.onChange,input:this.onInput,focus:this.onFocus,blur:this.onBlur,buttonClick:this.onButtonClick,keyboardOpen:this.onKeyboardOpen,keyboardClose:this.onKeyboardClose,popoverOpen:this.onPopoverOpen,popoverClose:this.onPopoverClose}});this.$f7ready((function(t){e.f7TextEditor=t.textEditor.create(h)}))},beforeDestroy:function(){this.f7TextEditor&&this.f7TextEditor.destroy&&this.f7TextEditor.destroy()},watch:{"props.value":function(){this.f7TextEditor&&this.f7TextEditor.setValue(this.props.value)}},render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id,a=n.style,r=n.resizable;return e("div",{ref:"el",style:a,class:t.classNames(s,"text-editor",r&&"text-editor-resizable",o.colorClasses(n)),attrs:{id:i}},[this.$slots["root-start"],e("div",{class:"text-editor-content",attrs:{contenteditable:!0}},[this.$slots.default]),this.$slots["root-end"],this.$slots.root])},methods:{onChange:function(e,t){this.dispatchEvent("texteditor:change textEditorChange",t)},onInput:function(){this.dispatchEvent("texteditor:change textEditorChange")},onFocus:function(){this.dispatchEvent("texteditor:focus textEditorFocus")},onBlur:function(){this.dispatchEvent("texteditor:blur textEditorBlur")},onButtonClick:function(e,t){this.dispatchEvent("texteditor:buttonclick textEditorButtonClick",t)},onKeyboardOpen:function(){this.dispatchEvent("texteditor:keyboardopen textEditorKeyboardOpen")},onKeyboardClose:function(){this.dispatchEvent("texteditor:keyboardclose textEditorKeyboardClose")},onPopoverOpen:function(){this.dispatchEvent("texteditor:popoveropen textEditorPopoverOpen")},onPopoverClose:function(){this.dispatchEvent("texteditor:popoverclose textEditorPopoverClose")},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return n(this)}}},H={name:"f7-input",props:Object.assign({type:String,name:String,value:[String,Number,Array,Date,Object],defaultValue:[String,Number,Array],placeholder:String,id:[String,Number],inputId:[String,Number],size:[String,Number],accept:[String,Number],autocomplete:[String],autocorrect:[String],autocapitalize:[String],spellcheck:[String],autofocus:Boolean,autosave:String,checked:Boolean,disabled:Boolean,max:[String,Number],min:[String,Number],step:[String,Number],maxlength:[String,Number],minlength:[String,Number],multiple:Boolean,readonly:Boolean,required:Boolean,inputStyle:[String,Object],pattern:String,validate:[Boolean,String],validateOnBlur:Boolean,tabindex:[String,Number],resizable:Boolean,clearButton:Boolean,noFormStoreData:Boolean,noStoreData:Boolean,ignoreStoreData:Boolean,errorMessage:String,errorMessageForce:Boolean,info:String,outline:Boolean,wrap:{type:Boolean,default:!0},dropdown:{type:[String,Boolean],default:"auto"},calendarParams:Object,colorPickerParams:Object,textEditorParams:Object},o.colorProps),data:function(){n(this);return{state:{inputFocused:!1,inputInvalid:!1}}},render:function(){var e,n=this.$createElement,s=this,i=s.props,a=i.type,r=i.name,l=i.value,c=i.defaultValue,p=i.placeholder,d=i.id,u=i.inputId,h=i.size,f=i.accept,m=i.autocomplete,v=i.autocorrect,g=i.autocapitalize,b=i.spellcheck,y=i.autofocus,S=i.autosave,E=i.checked,k=i.disabled,B=i.max,$=i.min,w=i.step,O=i.maxlength,P=i.minlength,N=i.multiple,x=i.readonly,T=i.required,M=i.inputStyle,L=i.pattern,I=i.validate,A=i.validateOnBlur,D=i.tabindex,H=i.resizable,F=i.clearButton,V=i.errorMessage,U=i.errorMessageForce,_=i.info,q=i.wrap,G=i.dropdown,K=i.style,W=i.className,Z=i.noStoreData,Q=i.noFormStoreData,J=i.ignoreStoreData,X=i.outline,Y=i.textEditorParams,ee=s.domValue(),te=s.inputHasValue(),oe=function(e,o){var d="file"!==a&&"datepicker"!==a&&"colorpicker"!==a,C="input"===e,R=a;"datepicker"!==R&&"colorpicker"!==R||(R="text");var j,z=t.classNames(!q&&W,{resizable:"textarea"===R&&H,"no-store-data":Q||Z||J,"input-invalid":V&&U||s.state.inputInvalid,"input-with-value":te,"input-focused":s.state.inputFocused});d&&(j=void 0!==l?l:ee);var F={};return"datepicker"!==a&&"colorpicker"!==a&&("value"in i&&(F.value=j),"defaultValue"in i&&(F.defaultValue=c)),n(e,{ref:"inputEl",style:M,class:z,domProps:Object.assign({checked:E,disabled:k,readOnly:x,multiple:N,required:T},F),on:{focus:s.onFocus,blur:s.onBlur,input:s.onInput,change:s.onChange},attrs:{name:r,type:C?R:void 0,placeholder:p,id:u,size:h,accept:f,autocomplete:m,autocorrect:v,autocapitalize:g,spellcheck:b,autofocus:y,autoSave:S,max:B,maxlength:O,min:$,minlength:P,step:w,pattern:L,validate:"string"==typeof I&&I.length?I:void 0,"data-validate":!0===I||""===I||!0===A||""===A||void 0,"data-validate-on-blur":!0===A||""===A||void 0,tabindex:D,"data-error-message":U?void 0:V}},[o])},ne=s.$slots,se=ne.default,ie=ne.info;if(e="select"===a||"textarea"===a||"file"===a?"select"===a?oe("select",se):oe("file"===a?"input":"textarea"):se&&se.length>0||!a?se:"toggle"===a?n(R,{on:{change:s.onChange},attrs:{checked:E,readonly:x,name:r,value:l,disabled:k,id:u}}):"range"===a?n(j,{on:{rangeChange:s.onChange},attrs:{value:l,disabled:k,min:$,max:B,step:w,name:r,id:u,input:!0}}):"texteditor"===a?n(z,C(Object.assign({},Y,{on:{textEditorFocus:s.onFocus,textEditorBlur:s.onBlur,textEditorInput:s.onInput,textEditorChange:s.onChange},attrs:{value:l,resizable:H,placeholder:p}}))):oe("input"),q){var ae=t.classNames(W,"input",{"input-outline":X,"input-dropdown":"auto"===G?"select"===a:G},o.colorClasses(i));return n("div",{ref:"wrapEl",class:ae,style:K,attrs:{id:d}},[e,V&&U&&n("div",{class:"input-error-message"},[V]),F&&n("span",{class:"input-clear-button"}),(_||ie&&ie.length)&&n("div",{class:"input-info"},[_,this.$slots.info])])}return e},watch:{"props.value":function(){var e=this.props.type;"range"!==e&&"toggle"!==e&&this.$f7&&(this.updateInputOnDidUpdate=!0,this.f7Calendar&&this.f7Calendar.setValue(this.props.value),this.f7ColorPicker&&this.f7ColorPicker.setValue(this.props.value))}},created:function(){t.bindMethods(this,"onFocus onBlur onInput onChange onTextareaResize onInputNotEmpty onInputEmpty onInputClear".split(" "))},mounted:function(){var e=this;e.$f7ready((function(t){var o=e.props,n=o.validate,s=o.validateOnBlur,i=o.resizable,a=o.type,r=o.clearButton,l=o.value,c=o.defaultValue,p=o.calendarParams,d=o.colorPickerParams;if("range"!==a&&"toggle"!==a){var u=e.$refs.inputEl;u&&(u.addEventListener("input:notempty",e.onInputNotEmpty,!1),"textarea"===a&&i&&u.addEventListener("textarea:resize",e.onTextareaResize,!1),r&&(u.addEventListener("input:empty",e.onInputEmpty,!1),u.addEventListener("input:clear",e.onInputClear,!1)),"datepicker"===a&&(e.f7Calendar=t.calendar.create(Object.assign({inputEl:u,value:l,on:{change:function(t,o){e.dispatchEvent("calendar:change calendarChange",o)}}},p||{}))),"colorpicker"===a&&(e.f7ColorPicker=t.colorPicker.create(Object.assign({inputEl:u,value:l,on:{change:function(t,o){e.dispatchEvent("colorpicker:change colorPickerChange",o)}}},d||{}))),t.input.checkEmptyState(u),s||""===s||!n&&""!==n||!(null!=l&&""!==l||null!=c&&""!==c)||setTimeout((function(){e.validateInput(u)}),0),i&&t.input.resizeTextarea(u))}}))},updated:function(){var e=this.props,t=e.validate,o=e.validateOnBlur,n=e.resizable,s=this.$f7;if(s&&this.updateInputOnDidUpdate){var i=this.$refs.inputEl;if(!i)return;this.updateInputOnDidUpdate=!1,s.input.checkEmptyState(i),t&&!o&&this.validateInput(i),n&&s.input.resizeTextarea(i)}},beforeDestroy:function(){var e=this.props,t=e.type,o=e.resizable,n=e.clearButton;if("range"!==t&&"toggle"!==t){var s=this.$refs.inputEl;s&&(s.removeEventListener("input:notempty",this.onInputNotEmpty,!1),"textarea"===t&&o&&s.removeEventListener("textarea:resize",this.onTextareaResize,!1),n&&(s.removeEventListener("input:empty",this.onInputEmpty,!1),s.removeEventListener("input:clear",this.onInputClear,!1)),this.f7Calendar&&this.f7Calendar.destroy&&this.f7Calendar.destroy(),this.f7ColorPicker&&this.f7ColorPicker.destroy&&this.f7ColorPicker.destroy(),delete this.f7Calendar,delete this.f7ColorPicker)}},methods:{domValue:function(){var e=this.$refs.inputEl;if(e)return e.value},inputHasValue:function(){var e=this.props,t=e.value;if("datepicker"===e.type&&Array.isArray(t)&&0===t.length)return!1;var o=this.domValue();return void 0===t?o||0===o:t||0===t},validateInput:function(e){if(this.$f7&&e){var t=e.validity;t&&(t.valid?!1!==this.state.inputInvalid&&this.setState({inputInvalid:!1}):!0!==this.state.inputInvalid&&this.setState({inputInvalid:!0}))}},onTextareaResize:function(e){this.dispatchEvent("textarea:resize textareaResize",e)},onInputNotEmpty:function(e){this.dispatchEvent("input:notempty inputNotEmpty",e)},onInputEmpty:function(e){this.dispatchEvent("input:empty inputEmpty",e)},onInputClear:function(e){this.dispatchEvent("input:clear inputClear",e)},onInput:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var o=this,n=o.props,s=n.validate,i=n.validateOnBlur;o.dispatchEvent.apply(o,["input"].concat(e)),!i&&""!==i&&(s||""===s)&&o.$refs&&o.$refs.inputEl&&o.validateInput(o.$refs.inputEl)},onFocus:function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];(e=this).dispatchEvent.apply(e,["focus"].concat(t)),this.setState({inputFocused:!0})},onBlur:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var o=this,n=o.props,s=n.validate,i=n.validateOnBlur;o.dispatchEvent.apply(o,["blur"].concat(e)),(s||""===s||i||""===i)&&o.$refs&&o.$refs.inputEl&&o.validateInput(o.$refs.inputEl),o.setState({inputFocused:!1})},onChange:function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];(e=this).dispatchEvent.apply(e,["change"].concat(t)),"texteditor"===this.props.type&&this.dispatchEvent("texteditor:change textEditorChange",t[1])},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))},setState:function(e,t){f(this,e,t)}},computed:{props:function(){return n(this)}}},F={name:"f7-link",props:Object.assign({id:[String,Number],noLinkClass:Boolean,text:String,tabLink:[Boolean,String],tabLinkActive:Boolean,tabbarLabel:Boolean,iconOnly:Boolean,badge:[String,Number],badgeColor:[String],iconBadge:[String,Number],href:{type:[String,Boolean],default:"#"},target:String,tooltip:String,smartSelect:Boolean,smartSelectParams:Object},o.colorProps,{},o.linkIconProps,{},o.linkRouterProps,{},o.linkActionsProps),data:function(){return{state:{isTabbarLabel:n(this).tabbarLabel}}},render:function(){var e,t,o,n,s=this.$createElement,i=this.props,a=i.text,r=i.badge,l=i.badgeColor,c=i.iconOnly,p=i.iconBadge,d=i.icon,u=i.iconColor,h=i.iconSize,f=i.iconMaterial,m=i.iconF7,v=i.iconMd,g=i.iconIos,y=i.iconAurora,S=i.id,E=i.style,k=this.$slots.default;return a&&(r&&(o=s(b,{attrs:{color:l}},[r])),t=s("span",{class:this.state.isTabbarLabel?"tabbar-label":""},[a,o])),(d||f||m||v||g||y)&&(p&&(n=s(b,{attrs:{color:l}},[p])),e=s(B,{attrs:{material:f,f7:m,icon:d,md:v,ios:g,aurora:y,color:u,size:h}},[n])),c||!a&&k&&0===k.length||!a&&!k?this.iconOnlyComputed=!0:this.iconOnlyComputed=!1,s("a",C(Object.assign({ref:"el",style:E,class:this.classes},this.attrs,{attrs:{id:S}})),[e,t,k])},watch:{"props.tooltip":function(e){if(!e&&this.f7Tooltip)return this.f7Tooltip.destroy(),this.f7Tooltip=null,void delete this.f7Tooltip;e&&!this.f7Tooltip&&this.$f7?this.f7Tooltip=this.$f7.tooltip.create({targetEl:this.$refs.el,text:e}):e&&this.f7Tooltip&&this.f7Tooltip.setText(e)}},created:function(){t.bindMethods(this,["onClick"])},mounted:function(){var e=this,o=e.$refs.el;o.addEventListener("click",e.onClick);var n=e.props,s=n.tabbarLabel,i=n.tabLink,a=n.tooltip,r=n.smartSelect,l=n.smartSelectParams,c=n.routeProps,p=!1;(s||(i||""===i)&&e.$$(o).parents(".tabbar-labels").length)&&(p=!0),e.setState({isTabbarLabel:p}),c&&(o.f7RouteProps=c),e.$f7ready((function(n){if(r){var s=t.extend({el:o},l||{});e.f7SmartSelect=n.smartSelect.create(s)}a&&(e.f7Tooltip=n.tooltip.create({targetEl:o,text:a}))}))},updated:function(){var e=this.$refs.el,t=this.props.routeProps;t&&(e.f7RouteProps=t)},beforeDestroy:function(){var e=this.$refs.el;e.removeEventListener("click",this.onClick),delete e.f7RouteProps,this.f7SmartSelect&&this.f7SmartSelect.destroy&&this.f7SmartSelect.destroy(),this.f7Tooltip&&this.f7Tooltip.destroy&&(this.f7Tooltip.destroy(),this.f7Tooltip=null,delete this.f7Tooltip)},computed:{attrs:function(){var e=this.props,n=e.href,s=e.target,i=e.tabLink,a=n;return!0===n&&(a="#"),!1===n&&(a=void 0),t.extend({href:a,target:s,"data-tab":t.isStringProp(i)&&i||void 0},o.linkRouterAttrs(e),o.linkActionsAttrs(e))},classes:function(){var e=this.props,n=e.tabLink,s=e.tabLinkActive,i=e.noLinkClass,a=e.smartSelect,r=e.className;return t.classNames(r,{link:!(i||this.state.isTabbarLabel),"icon-only":this.iconOnlyComputed,"tab-link":n||""===n,"tab-link-active":s,"smart-select":a},o.colorClasses(e),o.linkRouterClasses(e),o.linkActionsClasses(e))},props:function(){return n(this)}},methods:{onClick:function(e){this.dispatchEvent("click",e)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))},setState:function(e,t){f(this,e,t)}}},V={name:"f7-list-button",props:Object.assign({id:[String,Number],title:[String,Number],text:[String,Number],tabLink:[Boolean,String],tabLinkActive:Boolean,link:[Boolean,String],href:[Boolean,String],target:String,tooltip:String},o.colorProps,{},o.linkRouterProps,{},o.linkActionsProps),render:function(){var e=this.$createElement,t=this.props,o=t.className,n=t.id,s=t.style,i=t.title,a=t.text;return e("li",{style:s,class:o,attrs:{id:n}},[e("a",C(Object.assign({class:this.classes},this.attrs,{ref:"linkEl"})),[this.$slots.default||[i||a]])])},computed:{attrs:function(){var e=this.props,n=e.link,s=e.href,i=e.target,a=e.tabLink;return t.extend({href:"boolean"==typeof n&&"boolean"==typeof s?"#":n||s,target:i,"data-tab":t.isStringProp(a)&&a},o.linkRouterAttrs(e),o.linkActionsAttrs(e))},classes:function(){var e=this.props,n=e.tabLink,s=e.tabLinkActive;return t.classNames({"list-button":!0,"tab-link":n||""===n,"tab-link-active":s},o.colorClasses(e),o.linkRouterClasses(e),o.linkActionsClasses(e))},props:function(){return n(this)}},watch:{"props.tooltip":function(e){if(!e&&this.f7Tooltip)return this.f7Tooltip.destroy(),this.f7Tooltip=null,void delete this.f7Tooltip;e&&!this.f7Tooltip&&this.$f7?this.f7Tooltip=this.$f7.tooltip.create({targetEl:this.$refs.el,text:e}):e&&this.f7Tooltip&&this.f7Tooltip.setText(e)}},created:function(){t.bindMethods(this,["onClick"])},mounted:function(){var e=this,t=e.$refs.linkEl,o=e.props,n=o.routeProps,s=o.tooltip;n&&(t.f7RouteProps=n),t.addEventListener("click",e.onClick),e.$f7ready((function(o){s&&(e.f7Tooltip=o.tooltip.create({targetEl:t,text:s}))}))},updated:function(){var e=this.$refs.linkEl,t=this.props.routeProps;t&&(e.f7RouteProps=t)},beforeDestroy:function(){var e=this.$refs.linkEl;e.removeEventListener("click",this.onClick),delete e.f7RouteProps,this.f7Tooltip&&this.f7Tooltip.destroy&&(this.f7Tooltip.destroy(),this.f7Tooltip=null,delete this.f7Tooltip)},methods:{onClick:function(e){this.dispatchEvent("click",e)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}}},U={name:"f7-list-group",props:Object.assign({id:[String,Number],mediaList:Boolean,sortable:Boolean,sortableTapHold:Boolean,sortableMoveElements:{type:Boolean,default:void 0}},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id,a=n.style,r=n.mediaList,l=n.sortable,c=n.sortableTapHold,p=n.sortableMoveElements;return e("div",{style:a,class:t.classNames(s,"list-group",{"media-list":r,sortable:l,"sortable-tap-hold":c},o.colorClasses(n)),attrs:{id:i,"data-sortable-move-elements":void 0!==p?p.toString():void 0}},[e("ul",[this.$slots.default])])},computed:{props:function(){return n(this)}}},_={name:"f7-list-index",props:Object.assign({id:[String,Number],init:{type:Boolean,default:!0},listEl:[String,Object],indexes:{type:[String,Array],default:"auto"},scrollList:{type:Boolean,default:!0},label:{type:Boolean,default:!1},iosItemHeight:{type:Number,default:14},mdItemHeight:{type:Number,default:14},auroraItemHeight:{type:Number,default:14}},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id;return e("div",{ref:"el",style:n.style,class:t.classNames(s,"list-index",o.colorClasses(n)),attrs:{id:i}},[this.$slots.default])},beforeDestroy:function(){this.props.init&&this.f7ListIndex&&this.f7ListIndex.destroy&&this.f7ListIndex.destroy()},mounted:function(){var e=this;e.props.init&&e.$f7ready((function(t){var o=e.$refs.el,n=e.props,s=n.listEl,i=n.indexes,a=n.iosItemHeight,r=n.mdItemHeight,l=n.auroraItemHeight,c=n.scrollList,p=n.label;e.f7ListIndex=t.listIndex.create({el:o,listEl:s,indexes:i,iosItemHeight:a,mdItemHeight:r,auroraItemHeight:l,scrollList:c,label:p,on:{select:function(t,o,n){e.dispatchEvent("listindex:select listIndexSelect",o,n)}}})}))},watch:{"props.indexes":function(){this.f7ListIndex&&(this.f7ListIndex.params.indexes=this.props.indexes,this.update())}},methods:{update:function(){this.f7ListIndex&&this.f7ListIndex.update()},scrollListToIndex:function(e){this.f7ListIndex&&this.f7ListIndex.scrollListToIndex(e)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return n(this)}}},q={name:"f7-list-input",props:Object.assign({id:[String,Number],sortable:{type:Boolean,default:void 0},media:String,dropdown:{type:[String,Boolean],default:"auto"},wrap:{type:Boolean,default:!0},input:{type:Boolean,default:!0},type:{type:String,default:"text"},name:String,value:[String,Number,Array,Date,Object],defaultValue:[String,Number,Array],readonly:Boolean,required:Boolean,disabled:Boolean,placeholder:String,inputId:[String,Number],size:[String,Number],accept:[String,Number],autocomplete:[String],autocorrect:[String],autocapitalize:[String],spellcheck:[String],autofocus:Boolean,autosave:String,max:[String,Number],min:[String,Number],step:[String,Number],maxlength:[String,Number],minlength:[String,Number],multiple:Boolean,inputStyle:[String,Object],pattern:String,validate:[Boolean,String],validateOnBlur:Boolean,tabindex:[String,Number],resizable:Boolean,clearButton:Boolean,noFormStoreData:Boolean,noStoreData:Boolean,ignoreStoreData:Boolean,errorMessage:String,errorMessageForce:Boolean,info:String,outline:Boolean,label:[String,Number],inlineLabel:Boolean,floatingLabel:Boolean,calendarParams:Object,colorPickerParams:Object,textEditorParams:Object},o.colorProps),data:function(){return{state:{isSortable:n(this).sortable,inputFocused:!1,inputInvalid:!1}}},render:function(){var e,n=this.$createElement,s=this,i=s.state,a=i.inputFocused,r=i.inputInvalid,l=s.props,c=l.id,p=l.style,d=l.className,u=l.sortable,h=l.media,f=l.dropdown,m=l.input,v=l.wrap,g=l.type,b=l.name,y=l.value,S=l.defaultValue,E=l.readonly,k=l.required,B=l.disabled,$=l.placeholder,w=l.inputId,O=l.size,P=l.accept,N=l.autocomplete,x=l.autocorrect,T=l.autocapitalize,M=l.spellcheck,L=l.autofocus,I=l.autosave,A=l.max,D=l.min,R=l.step,j=l.maxlength,H=l.minlength,F=l.multiple,V=l.inputStyle,U=l.pattern,_=l.validate,q=l.validateOnBlur,G=l.tabindex,K=l.resizable,W=l.clearButton,Z=l.noFormStoreData,Q=l.noStoreData,J=l.ignoreStoreData,X=l.errorMessage,Y=l.errorMessageForce,ee=l.info,te=l.outline,oe=l.label,ne=l.inlineLabel,se=l.floatingLabel,ie=l.textEditorParams,ae=s.domValue(),re=s.inputHasValue(),le=u||s.state.isSortable,ce=function(e,o){var i="file"!==g&&"datepicker"!==g&&"colorpicker"!==g,c="input"===e,p=g;"datepicker"!==p&&"colorpicker"!==p||(p="text");var d,u=t.classNames({resizable:"textarea"===p&&K,"no-store-data":Z||Q||J,"input-invalid":X&&Y||r,"input-with-value":re,"input-focused":a});i&&(d=void 0!==y?y:ae);var h={};return"datepicker"!==g&&"colorpicker"!==g&&("value"in l&&(h.value=d),"defaultValue"in l&&(h.defaultValue=S)),n(e,{ref:"inputEl",style:V,class:u,domProps:Object.assign({disabled:B,readOnly:E,multiple:F,required:k},h),on:{focus:s.onFocus,blur:s.onBlur,input:s.onInput,change:s.onChange},attrs:{name:b,type:c?p:void 0,placeholder:$,id:w,size:O,accept:P,autocomplete:N,autocorrect:x,autocapitalize:T,spellcheck:M,autofocus:L,autoSave:I,max:A,maxlength:j,min:D,minlength:H,step:R,pattern:U,validate:"string"==typeof _&&_.length?_:void 0,"data-validate":!0===_||""===_||!0===q||""===q||void 0,"data-validate-on-blur":!0===q||""===q||void 0,tabindex:G,"data-error-message":Y?void 0:X}},[o])};m&&(e="select"===g||"textarea"===g||"file"===g?"select"===g?ce("select",s.$slots.default):ce("file"===g?"input":"textarea"):"texteditor"===g?n(z,C(Object.assign({},ie,{on:{textEditorFocus:s.onFocus,textEditorBlur:s.onBlur,textEditorInput:s.onInput,textEditorChange:s.onChange},attrs:{value:y,resizable:K,placeholder:$}}))):ce("input"));var pe=!!X||s.$slots["error-message"]&&s.$slots["error-message"].length,de=n("div",{ref:"itemContentEl",class:t.classNames("item-content item-input",!v&&d,!v&&{disabled:B},!v&&o.colorClasses(l),{"inline-label":ne,"item-input-outline":te,"item-input-focused":a,"item-input-with-info":!!ee||s.$slots.info&&s.$slots.info.length,"item-input-with-value":re,"item-input-with-error-message":pe&&Y||r,"item-input-invalid":pe&&Y||r})},[this.$slots["content-start"],(h||s.$slots.media)&&n("div",{class:"item-media"},[h&&n("img",{attrs:{src:h}}),this.$slots.media]),n("div",{class:"item-inner"},[this.$slots["inner-start"],(oe||s.$slots.label)&&n("div",{class:t.classNames("item-title item-label",{"item-floating-label":se})},[oe,this.$slots.label]),n("div",{class:t.classNames("item-input-wrap",{"input-dropdown":"auto"===f?"select"===g:f})},[e,this.$slots.input,pe&&Y&&n("div",{class:"item-input-error-message"},[X,this.$slots["error-message"]]),W&&n("span",{class:"input-clear-button"}),(ee||s.$slots.info)&&n("div",{class:"item-input-info"},[ee,this.$slots.info])]),this.$slots.inner,this.$slots["inner-end"]]),this.$slots.content,this.$slots["content-end"]]);return v?n("li",{ref:"el",style:p,class:t.classNames(d,{disabled:B},o.colorClasses(l)),attrs:{id:c}},[this.$slots["root-start"],de,le&&n("div",{class:"sortable-handler"}),this.$slots.root,this.$slots["root-end"]]):de},watch:{"props.value":function(){this.$f7&&(this.updateInputOnDidUpdate=!0,this.f7Calendar&&this.f7Calendar.setValue(this.props.value),this.f7ColorPicker&&this.f7ColorPicker.setValue(this.props.value))}},created:function(){t.bindMethods(this,"onChange onInput onFocus onBlur onTextareaResize onInputNotEmpty onInputEmpty onInputClear".split(" "))},mounted:function(){var e=this,t=e.$refs.el,o=e.$refs.itemContentEl;(t||o)&&(e.$f7ready((function(t){var o=e.props,n=o.validate,s=o.validateOnBlur,i=o.resizable,a=o.value,r=o.defaultValue,l=o.type,c=o.calendarParams,p=o.colorPickerParams,d=e.$refs.inputEl;d&&(d.addEventListener("input:notempty",e.onInputNotEmpty,!1),d.addEventListener("textarea:resize",e.onTextareaResize,!1),d.addEventListener("input:empty",e.onInputEmpty,!1),d.addEventListener("input:clear",e.onInputClear,!1),"datepicker"===l&&(e.f7Calendar=t.calendar.create(Object.assign({inputEl:d,value:a,on:{change:function(t,o){e.dispatchEvent("calendar:change calendarChange",o)}}},c||{}))),"colorpicker"===l&&(e.f7ColorPicker=t.colorPicker.create(Object.assign({inputEl:d,value:a,on:{change:function(t,o){e.dispatchEvent("colorpicker:change colorPickerChange",o)}}},p||{}))),s||""===s||!n&&""!==n||!(null!=a&&""!==a||null!=r&&""!==r)||setTimeout((function(){e.validateInput(d)}),0),"textarea"===l&&i&&t.input.resizeTextarea(d))})),e.$listEl=e.$$(t||o).parents(".list, .list-group").eq(0),e.$listEl.length&&e.setState({isSortable:e.$listEl.hasClass("sortable")}))},updated:function(){var e=this.$listEl;if(e&&(!e||0!==e.length)){var t=e.hasClass("sortable");t!==this.state.isSortable&&this.setState({isSortable:t});var o=this.props,n=o.validate,s=o.validateOnBlur,i=o.resizable,a=o.type,r=this.$f7;if(r&&this.updateInputOnDidUpdate){var l=this.$refs.inputEl;if(!l)return;this.updateInputOnDidUpdate=!1,n&&!s&&this.validateInput(l),"textarea"===a&&i&&r.input.resizeTextarea(l)}}},beforeDestroy:function(){var e=this.$refs.inputEl;e&&(e.removeEventListener("input:notempty",this.onInputNotEmpty,!1),e.removeEventListener("textarea:resize",this.onTextareaResize,!1),e.removeEventListener("input:empty",this.onInputEmpty,!1),e.removeEventListener("input:clear",this.onInputClear,!1),this.f7Calendar&&this.f7Calendar.destroy&&this.f7Calendar.destroy(),this.f7ColorPicker&&this.f7ColorPicker.destroy&&this.f7ColorPicker.destroy(),delete this.f7Calendar,delete this.f7ColorPicker)},methods:{domValue:function(){var e=this.$refs.inputEl;if(e)return e.value},inputHasValue:function(){var e=this.props,t=e.value;if("datepicker"===e.type&&Array.isArray(t)&&0===t.length)return!1;var o=this.domValue();return void 0===t?o||0===o:t||0===t},validateInput:function(e){if(this.$f7&&e){var t=e.validity;t&&(t.valid?!1!==this.state.inputInvalid&&this.setState({inputInvalid:!1}):!0!==this.state.inputInvalid&&this.setState({inputInvalid:!0}))}},onTextareaResize:function(e){this.dispatchEvent("textarea:resize textareaResize",e)},onInputNotEmpty:function(e){this.dispatchEvent("input:notempty inputNotEmpty",e)},onInputEmpty:function(e){this.dispatchEvent("input:empty inputEmpty",e)},onInputClear:function(e){this.dispatchEvent("input:clear inputClear",e)},onInput:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var o=this,n=o.props,s=n.validate,i=n.validateOnBlur;o.dispatchEvent.apply(o,["input"].concat(e)),!i&&""!==i&&(s||""===s)&&o.$refs&&o.$refs.inputEl&&o.validateInput(o.$refs.inputEl)},onFocus:function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];(e=this).dispatchEvent.apply(e,["focus"].concat(t)),this.setState({inputFocused:!0})},onBlur:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var o=this,n=o.props,s=n.validate,i=n.validateOnBlur;o.dispatchEvent.apply(o,["blur"].concat(e)),(s||""===s||i||""===i)&&o.$refs&&o.$refs.inputEl&&o.validateInput(o.$refs.inputEl),o.setState({inputFocused:!1})},onChange:function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];(e=this).dispatchEvent.apply(e,["change"].concat(t)),"texteditor"===this.props.type&&this.dispatchEvent("texteditor:change textEditorChange",t[0])},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))},setState:function(e,t){f(this,e,t)}},computed:{props:function(){return n(this)}}},G={name:"f7-list-item-cell",props:Object.assign({id:[String,Number]},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id;return e("div",{style:n.style,class:t.classNames(s,"item-cell",o.colorClasses(n)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return n(this)}}},K={name:"f7-list-item-content",props:Object.assign({id:[String,Number],title:[String,Number],text:[String,Number],media:String,subtitle:[String,Number],header:[String,Number],footer:[String,Number],after:[String,Number],badge:[String,Number],badgeColor:String,mediaList:Boolean,mediaItem:Boolean,checkbox:Boolean,checked:Boolean,defaultChecked:Boolean,indeterminate:Boolean,radio:Boolean,name:String,value:[String,Number,Array],readonly:Boolean,required:Boolean,disabled:Boolean},o.colorProps),render:function(){var e,n,s,i,a,r,l,c,p,d,u,h,f,m,v=this.$createElement,g=this.props,y=g.id,S=g.className,E=g.style,k=g.radio,B=g.checkbox,C=g.value,$=g.name,w=g.checked,O=(g.defaultChecked,g.readonly),P=g.disabled,N=g.required,x=g.media,T=g.header,M=g.footer,L=g.title,I=g.subtitle,A=g.text,D=g.after,R=g.badge,j=g.mediaList,z=g.mediaItem,H=g.badgeColor,F=[],V=[],U=[],_=[],q=[],G=[],K=[],W=[],Z=[],Q=[],J=[],X=[],Y=[],ee=[],te=[],oe=[],ne=[],se=this.$slots.default,ie=[];(se&&se.length&&se.forEach((function(e){Array.isArray(e)?ie.push.apply(ie,e):ie.push(e)})),ie.forEach((function(e){var t;void 0!==e&&((t=e.data?e.data.slot:void 0)&&"inner"!==t||q.push(e),"content-start"===t&&F.push(e),"content"===t&&V.push(e),"content-end"===t&&U.push(e),"after-start"===t&&K.push(e),"after"===t&&W.push(e),"after-end"===t&&Z.push(e),"media"===t&&Q.push(e),"inner-start"===t&&_.push(e),"inner-end"===t&&G.push(e),"before-title"===t&&J.push(e),"title"===t&&X.push(e),"after-title"===t&&Y.push(e),"subtitle"===t&&ee.push(e),"text"===t&&te.push(e),"header"===t&&oe.push(e),"footer"===t&&ne.push(e))})),(k||B)&&(d=v("input",{ref:"inputEl",domProps:{checked:w,readonly:O,disabled:P,required:N,value:C},on:{change:this.onChange},attrs:{name:$,type:k?"radio":"checkbox"}}),u=v("i",{class:"icon icon-"+(k?"radio":"checkbox")})),x||Q.length)&&(x&&(m=v("img",{attrs:{src:x}})),p=v("div",{class:"item-media"},[m,Q]));var ae=z||j;return(T||oe.length)&&(h=v("div",{class:"item-header"},[T,oe])),(M||ne.length)&&(f=v("div",{class:"item-footer"},[M,ne])),(L||X.length||!ae&&h||!ae&&f)&&(e=v("div",{class:"item-title"},[!ae&&h,L,X,!ae&&f])),(I||ee.length)&&(l=v("div",{class:"item-subtitle"},[I,ee])),(A||te.length)&&(c=v("div",{class:"item-text"},[A,te])),(D||R||W.length)&&(D&&(s=v("span",[D])),R&&(i=v(b,{attrs:{color:H}},[R])),n=v("div",{class:"item-after"},[K,s,i,W,Z])),ae?(r=v("div",{class:"item-title-row"},[J,e,Y,n]),a=v("div",{ref:"innerEl",class:"item-inner"},[_,h,r,l,c,q,f,G])):a=v("div",{ref:"innerEl",class:"item-inner"},[_,J,e,Y,n,q,G]),v(B||k?"label":"div",{ref:"el",style:E,class:t.classNames(S,"item-content",{"item-checkbox":B,"item-radio":k},o.colorClasses(g)),attrs:{id:y}},[F,d,u,p,a,V,U])},created:function(){t.bindMethods(this,"onClick onChange".split(" "))},mounted:function(){var e=this.$refs,t=e.el,o=e.inputEl;this.props.indeterminate&&o&&(o.indeterminate=!0),t.addEventListener("click",this.onClick)},updated:function(){var e=this.$refs.inputEl,t=this.props.indeterminate;e&&(e.indeterminate=t)},beforeDestroy:function(){this.$refs.el.removeEventListener("click",this.onClick)},methods:{onClick:function(e){this.dispatchEvent("click",e)},onChange:function(e){this.dispatchEvent("change",e)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return n(this)}}},W={name:"f7-list-item-row",props:Object.assign({id:[String,Number]},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id;return e("div",{style:n.style,class:t.classNames(s,"item-row",o.colorClasses(n)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return n(this)}}},Z={name:"f7-list-item",props:Object.assign({id:[String,Number],title:[String,Number],text:[String,Number],media:String,subtitle:[String,Number],header:[String,Number],footer:[String,Number],tooltip:String,link:[Boolean,String],target:String,after:[String,Number],badge:[String,Number],badgeColor:String,mediaItem:Boolean,mediaList:Boolean,divider:Boolean,groupTitle:Boolean,swipeout:Boolean,swipeoutOpened:Boolean,sortable:{type:Boolean,default:void 0},accordionItem:Boolean,accordionItemOpened:Boolean,smartSelect:Boolean,smartSelectParams:Object,noChevron:Boolean,chevronCenter:Boolean,checkbox:Boolean,radio:Boolean,checked:Boolean,defaultChecked:Boolean,indeterminate:Boolean,name:String,value:[String,Number,Array],readonly:Boolean,required:Boolean,disabled:Boolean,virtualListIndex:Number},o.colorProps,{},o.linkRouterProps,{},o.linkActionsProps),data:function(){var e=n(this);return{state:{isMedia:e.mediaItem||e.mediaList,isSortable:e.sortable,isSimple:!1}}},render:function(){var e,n,s=this.$createElement,i=this.props,a=i.id,r=i.style,l=i.className,c=i.title,p=i.text,d=i.media,u=i.subtitle,h=i.header,f=i.footer,m=i.link,v=i.href,g=i.target,b=i.after,y=i.badge,S=i.badgeColor,E=i.mediaItem,k=i.mediaList,B=i.divider,$=i.groupTitle,w=i.swipeout,O=i.accordionItem,P=i.accordionItemOpened,N=i.smartSelect,x=i.checkbox,T=i.radio,M=i.checked,L=i.defaultChecked,I=i.indeterminate,A=i.name,D=i.value,R=i.readonly,j=i.required,z=i.disabled,H=i.sortable,F=i.noChevron,V=i.chevronCenter,U=i.virtualListIndex,_=E||k||this.state.isMedia,q=H||this.state.isSortable,G=this.state.isSimple;if(!G&&(n=s(K,{on:!(m||v||O||N)?{click:this.onClick,change:this.onChange}:void 0,attrs:{title:c,text:p,media:d,subtitle:u,after:b,header:h,footer:f,badge:y,badgeColor:S,mediaList:_,accordionItem:O,checkbox:x,checked:M,defaultChecked:L,indeterminate:I,radio:T,name:A,value:D,readonly:R,required:j,disabled:z}},[this.$slots["content-start"],this.$slots.content,this.$slots["content-end"],this.$slots.media,this.$slots["inner-start"],this.$slots.inner,this.$slots["inner-end"],this.$slots["after-start"],this.$slots.after,this.$slots["after-end"],this.$slots.header,this.$slots.footer,this.$slots["before-title"],this.$slots.title,this.$slots["after-title"],this.$slots.subtitle,this.$slots.text,w||O?null:this.$slots.default]),m||v||O||N)){var W=Object.assign({href:!0===m?"":m||v,target:g},o.linkRouterAttrs(i),{},o.linkActionsAttrs(i)),Z=t.classNames({"item-link":!0,"smart-select":N},o.linkRouterClasses(i),o.linkActionsClasses(i));e=s("a",C(Object.assign({ref:"linkEl",class:Z},W)),[n])}var Q=t.classNames(l,{"item-divider":B,"list-group-title":$,"media-item":_,swipeout:w,"accordion-item":O,"accordion-item-opened":P,disabled:z&&!(T||x),"no-chevron":F,"chevron-center":V,"disallow-sorting":!1===H},o.colorClasses(i));if(B||$)return s("li",{ref:"el",style:r,class:Q,attrs:{id:a,"data-virtual-list-index":U}},[s("span",[this.$slots.default||[c]])]);if(G)return s("li",{ref:"el",style:r,class:Q,attrs:{id:a,"data-virtual-list-index":U}},[c,this.$slots.default]);var J=m||v||N||O?e:n;return s("li",{ref:"el",style:r,class:Q,attrs:{id:a,"data-virtual-list-index":U}},[this.$slots["root-start"],w?s("div",{class:"swipeout-content"},[J]):J,q&&!1!==H&&s("div",{class:"sortable-handler"}),(w||O)&&this.$slots.default,this.$slots.root,this.$slots["root-end"]])},watch:{"props.tooltip":function(e){if(!e&&this.f7Tooltip)return this.f7Tooltip.destroy(),this.f7Tooltip=null,void delete this.f7Tooltip;e&&!this.f7Tooltip&&this.$f7?this.f7Tooltip=this.$f7.tooltip.create({targetEl:this.$refs.el,text:e}):e&&this.f7Tooltip&&this.f7Tooltip.setText(e)},"props.swipeoutOpened":function(e){if(this.props.swipeout){var t=this.$refs.el;e?this.$f7.swipeout.open(t):this.$f7.swipeout.close(t)}}},created:function(){t.bindMethods(this,["onClick","onChange","onSwipeoutOpen","onSwipeoutOpened","onSwipeoutClose","onSwipeoutClosed","onSwipeoutDelete","onSwipeoutDeleted","onSwipeoutOverswipeEnter","onSwipeoutOverswipeExit","onSwipeout","onAccBeforeOpen","onAccOpen","onAccOpened","onAccBeforeClose","onAccClose","onAccClosed"])},mounted:function(){var e=this,o=e.$refs,n=o.el,s=o.linkEl;if(n){var i=e.props,a=i.link,r=i.href,l=i.smartSelect,c=i.swipeout,p=i.swipeoutOpened,d=i.accordionItem,u=i.smartSelectParams,h=i.routeProps,f=i.tooltip;!!(a||r||d||l)&&s&&s.addEventListener("click",e.onClick),s&&h&&(s.f7RouteProps=h),e.$listEl=e.$$(n).parents(".list, .list-group").eq(0),e.$listEl.length&&e.setState({isMedia:e.$listEl.hasClass("media-list"),isSimple:e.$listEl.hasClass("simple-list"),isSortable:e.$listEl.hasClass("sortable")}),e.$f7ready((function(o){if(e.eventTargetEl=n,c&&(o.on("swipeoutOpen",e.onSwipeoutOpen),o.on("swipeoutOpened",e.onSwipeoutOpened),o.on("swipeoutClose",e.onSwipeoutClose),o.on("swipeoutClosed",e.onSwipeoutClosed),o.on("swipeoutDelete",e.onSwipeoutDelete),o.on("swipeoutDeleted",e.onSwipeoutDeleted),o.on("swipeoutOverswipeEnter",e.onSwipeoutOverswipeEnter),o.on("swipeoutOverswipeExit",e.onSwipeoutOverswipeExit),o.on("swipeout",e.onSwipeout)),d&&(o.on("accordionBeforeOpen",e.onAccBeforeOpen),o.on("accordionOpen",e.onAccOpen),o.on("accordionOpened",e.onAccOpened),o.on("accordionBeforeClose",e.onAccBeforeClose),o.on("accordionClose",e.onAccClose),o.on("accordionClosed",e.onAccClosed)),l){var s=t.extend({el:n.querySelector("a.smart-select")},u||{});e.f7SmartSelect=o.smartSelect.create(s)}p&&o.swipeout.open(n),f&&(e.f7Tooltip=o.tooltip.create({targetEl:n,text:f}))}))}},updated:function(){var e=this.$listEl,t=this.$refs.linkEl,o=this.props.routeProps;if(t&&o&&(t.f7RouteProps=o),e&&(!e||0!==e.length)){var n=e.hasClass("media-list"),s=e.hasClass("simple-list"),i=e.hasClass("sortable");n!==this.state.isMedia&&this.setState({isMedia:n}),s!==this.state.isSimple&&this.setState({isSimple:s}),i!==this.state.isSortable&&this.setState({isSortable:i})}},beforeDestroy:function(){var e=this.$refs.linkEl,t=this.props,o=t.link,n=t.href,s=t.smartSelect,i=t.swipeout,a=t.accordionItem;if(e&&(!(o||n||a||s)||e.removeEventListener("click",this.onClick),delete e.f7RouteProps),this.$f7){var r=this.$f7;i&&(r.off("swipeoutOpen",this.onSwipeoutOpen),r.off("swipeoutOpened",this.onSwipeoutOpened),r.off("swipeoutClose",this.onSwipeoutClose),r.off("swipeoutClosed",this.onSwipeoutClosed),r.off("swipeoutDelete",this.onSwipeoutDelete),r.off("swipeoutDeleted",this.onSwipeoutDeleted),r.off("swipeoutOverswipeEnter",this.onSwipeoutOverswipeEnter),r.off("swipeoutOverswipeExit",this.onSwipeoutOverswipeExit),r.off("swipeout",this.onSwipeout)),a&&(r.off("accordionBeforeOpen",this.onAccBeforeOpen),r.off("accordionOpen",this.onAccOpen),r.off("accordionOpened",this.onAccOpened),r.off("accordionBeforeClose",this.onAccBeforeClose),r.off("accordionClose",this.onAccClose),r.off("accordionClosed",this.onAccClosed))}s&&this.f7SmartSelect&&this.f7SmartSelect.destroy(),this.f7Tooltip&&this.f7Tooltip.destroy&&(this.f7Tooltip.destroy(),this.f7Tooltip=null,delete this.f7Tooltip),this.eventTargetEl=null,delete this.eventTargetEl},methods:{onClick:function(e){"input"!==e.target.tagName.toLowerCase()&&this.dispatchEvent("click",e)},onSwipeoutOverswipeEnter:function(e){this.eventTargetEl===e&&this.dispatchEvent("swipeout:overswipeenter swipeoutOverswipeEnter")},onSwipeoutOverswipeExit:function(e){this.eventTargetEl===e&&this.dispatchEvent("swipeout:overswipeexit swipeoutOverswipeExit")},onSwipeoutDeleted:function(e){this.eventTargetEl===e&&this.dispatchEvent("swipeout:deleted swipeoutDeleted")},onSwipeoutDelete:function(e){this.eventTargetEl===e&&this.dispatchEvent("swipeout:delete swipeoutDelete")},onSwipeoutClose:function(e){this.eventTargetEl===e&&this.dispatchEvent("swipeout:close swipeoutClose")},onSwipeoutClosed:function(e){this.eventTargetEl===e&&this.dispatchEvent("swipeout:closed swipeoutClosed")},onSwipeoutOpen:function(e){this.eventTargetEl===e&&this.dispatchEvent("swipeout:open swipeoutOpen")},onSwipeoutOpened:function(e){this.eventTargetEl===e&&this.dispatchEvent("swipeout:opened swipeoutOpened")},onSwipeout:function(e,t){this.eventTargetEl===e&&this.dispatchEvent("swipeout",t)},onAccBeforeClose:function(e,t){this.eventTargetEl===e&&this.dispatchEvent("accordion:beforeclose accordionBeforeClose",t)},onAccClose:function(e){this.eventTargetEl===e&&this.dispatchEvent("accordion:close accordionClose")},onAccClosed:function(e){this.eventTargetEl===e&&this.dispatchEvent("accordion:closed accordionClosed")},onAccBeforeOpen:function(e,t){this.eventTargetEl===e&&this.dispatchEvent("accordion:beforeopen accordionBeforeOpen",t)},onAccOpen:function(e){this.eventTargetEl===e&&this.dispatchEvent("accordion:open accordionOpen")},onAccOpened:function(e){this.eventTargetEl===e&&this.dispatchEvent("accordion:opened accordionOpened")},onChange:function(e){this.dispatchEvent("change",e)},onInput:function(e){this.dispatchEvent("input",e)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))},setState:function(e,t){f(this,e,t)}},computed:{props:function(){return n(this)}}},Q={name:"f7-list",props:Object.assign({id:[String,Number],inset:Boolean,xsmallInset:Boolean,smallInset:Boolean,mediumInset:Boolean,largeInset:Boolean,xlargeInset:Boolean,mediaList:Boolean,sortable:Boolean,sortableTapHold:Boolean,sortableEnabled:Boolean,sortableMoveElements:{type:Boolean,default:void 0},accordionList:Boolean,contactsList:Boolean,simpleList:Boolean,linksList:Boolean,noHairlines:Boolean,noHairlinesBetween:Boolean,noHairlinesMd:Boolean,noHairlinesBetweenMd:Boolean,noHairlinesIos:Boolean,noHairlinesBetweenIos:Boolean,noHairlinesAurora:Boolean,noHairlinesBetweenAurora:Boolean,noChevron:Boolean,chevronCenter:Boolean,tab:Boolean,tabActive:Boolean,form:Boolean,formStoreData:Boolean,inlineLabels:Boolean,virtualList:Boolean,virtualListParams:Object},o.colorProps),render:function(){var e=this.$createElement,o=this.props,n=o.id,s=o.style,i=o.form,a=o.sortableMoveElements,r=this.$slots,l=r.list,c=r.default,p=[],d=[],u=l||[],h=t.flattenArray(c),f=!1;h.forEach((function(e){var t;void 0!==e&&((t=e.tag)&&!("li"===t||"F7ListItem"===t||"F7ListButton"===t||"F7ListInput"===t||t.indexOf("list-item")>=0||t.indexOf("list-button")>=0||t.indexOf("list-input")>=0||t.indexOf("f7-list-item")>=0||t.indexOf("f7-list-button")>=0||t.indexOf("f7-list-input")>=0)?f?d.push(e):p.push(e):t&&(f=!0,u.push(e)))}));var m=i?"form":"div";return u.length>0?e(m,{ref:"el",style:s,class:this.classes,attrs:{id:n,"data-sortable-move-elements":void 0!==a?a.toString():void 0}},[this.$slots["before-list"],p,e("ul",[u]),this.$slots["after-list"],d]):e(m,{ref:"el",style:s,class:this.classes,attrs:{id:n,"data-sortable-move-elements":void 0!==a?a.toString():void 0}},[this.$slots["before-list"],p,this.$slots["after-list"],d])},computed:{classes:function(){var e=this.props,n=e.inset,s=e.xsmallInset,i=e.smallInset,a=e.mediumInset,r=e.largeInset,l=e.xlargeInset,c=e.mediaList,p=e.simpleList,d=e.linksList,u=e.sortable,h=e.sortableTapHold,f=e.sortableEnabled,m=e.accordionList,v=e.contactsList,g=e.virtualList,b=e.tab,y=e.tabActive,S=e.noHairlines,E=e.noHairlinesIos,k=e.noHairlinesMd,B=e.noHairlinesAurora,C=e.noHairlinesBetween,$=e.noHairlinesBetweenIos,w=e.noHairlinesBetweenMd,O=e.noHairlinesBetweenAurora,P=e.formStoreData,N=e.inlineLabels,x=e.className,T=e.noChevron,M=e.chevronCenter;return t.classNames(x,"list",{inset:n,"xsmall-inset":s,"small-inset":i,"medium-inset":a,"large-inset":r,"xlarge-inset":l,"media-list":c,"simple-list":p,"links-list":d,sortable:u,"sortable-tap-hold":h,"sortable-enabled":f,"accordion-list":m,"contacts-list":v,"virtual-list":g,tab:b,"tab-active":y,"no-hairlines":S,"no-hairlines-md":k,"no-hairlines-ios":E,"no-hairlines-aurora":B,"no-hairlines-between":C,"no-hairlines-between-md":w,"no-hairlines-between-ios":$,"no-hairlines-between-aurora":O,"form-store-data":P,"inline-labels":N,"no-chevron":T,"chevron-center":M},o.colorClasses(e))},props:function(){return n(this)}},created:function(){t.bindMethods(this,["onSortableEnable","onSortableDisable","onSortableSort","onTabShow","onTabHide","onSubmit"])},mounted:function(){var e=this,o=e.$refs.el,n=e.props,s=n.virtualList,i=n.virtualListParams,a=n.form;e.$f7ready((function(n){if(e.eventTargetEl=o,n.on("sortableEnable",e.onSortableEnable),n.on("sortableDisable",e.onSortableDisable),n.on("sortableSort",e.onSortableSort),n.on("tabShow",e.onTabShow),n.on("tabHide",e.onTabHide),a&&o.addEventListener("submit",e.onSubmit),s){var r=i||{};(r.renderItem||r.itemTemplate||r.renderExternal)&&(e.f7VirtualList=n.virtualList.create(t.extend({el:o,on:{itemBeforeInsert:function(t,o){e.dispatchEvent("virtual:itembeforeinsert virtualItemBeforeInsert",this,t,o)},beforeClear:function(t){e.dispatchEvent("virtual:beforeclear virtualBeforeClear",this,t)},itemsBeforeInsert:function(t){e.dispatchEvent("virtual:itemsbeforeinsert virtualItemsBeforeInsert",this,t)},itemsAfterInsert:function(t){e.dispatchEvent("virtual:itemsafterinsert virtualItemsAfterInsert",this,t)}}},r)))}}))},beforeDestroy:function(){var e=this.$refs.el,t=this.$f7;e&&t&&(t.off("sortableEnable",this.onSortableEnable),t.off("sortableDisable",this.onSortableDisable),t.off("sortableSort",this.onSortableSort),t.off("tabShow",this.onTabShow),t.off("tabHide",this.onTabHide),e.removeEventListener("submit",this.onSubmit),this.eventTargetEl=null,delete this.eventTargetEl,this.virtualList&&this.f7VirtualList&&this.f7VirtualList.destroy&&this.f7VirtualList.destroy())},methods:{onSubmit:function(e){this.dispatchEvent("submit",e)},onSortableEnable:function(e){this.eventTargetEl===e&&this.dispatchEvent("sortable:enable sortableEnable")},onSortableDisable:function(e){this.eventTargetEl===e&&this.dispatchEvent("sortable:disable sortableDisable")},onSortableSort:function(e,t,o){this.eventTargetEl===o&&this.dispatchEvent("sortable:sort sortableSort",t)},onTabShow:function(e){this.eventTargetEl===e&&this.dispatchEvent("tab:show tabShow")},onTabHide:function(e){this.eventTargetEl===e&&this.dispatchEvent("tab:hide tabHide")},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}}},J={name:"f7-login-screen-title",props:Object.assign({id:[String,Number]},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id;return e("div",{style:n.style,class:t.classNames(s,"login-screen-title",o.colorClasses(n)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return n(this)}}},X={name:"f7-login-screen",props:Object.assign({id:[String,Number],opened:Boolean},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id;return e("div",{ref:"el",style:n.style,class:t.classNames(s,"login-screen",o.colorClasses(n)),attrs:{id:i}},[this.$slots.default])},watch:{"props.opened":function(e){this.f7LoginScreen&&(e?this.f7LoginScreen.open():this.f7LoginScreen.close())}},created:function(){t.bindMethods(this,["onOpen","onOpened","onClose","onClosed"])},mounted:function(){var e=this,t=e.$refs.el;t&&e.$f7ready((function(){e.f7LoginScreen=e.$f7.loginScreen.create({el:t,on:{open:e.onOpen,opened:e.onOpened,close:e.onClose,closed:e.onClosed}}),e.props.opened&&e.f7LoginScreen.open(!1)}))},beforeDestroy:function(){this.f7LoginScreen&&this.f7LoginScreen.destroy()},methods:{onOpen:function(e){this.dispatchEvent("loginscreen:open loginScreenOpen",e)},onOpened:function(e){this.dispatchEvent("loginscreen:opened loginScreenOpened",e)},onClose:function(e){this.dispatchEvent("loginscreen:close loginScreenClose",e)},onClosed:function(e){this.dispatchEvent("loginscreen:closed loginScreenClosed",e)},open:function(e){if(this.f7LoginScreen)return this.f7LoginScreen.open(e)},close:function(e){if(this.f7LoginScreen)return this.f7LoginScreen.close(e)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return n(this)}}},Y={name:"f7-menu-dropdown-item",props:Object.assign({id:[String,Number],text:String,link:Boolean,href:String,target:String,divider:Boolean},o.colorProps,{},o.linkRouterProps,{},o.linkActionsProps),render:function(){var e=this.$createElement,n=this.props,s=n.id,i=n.className,a=n.style,r=n.link,l=n.href,c=n.text,p=n.divider,d=n.menuClose,u=r||l||""===l,h=u?"a":"div",f=t.classNames({"menu-dropdown-link":u&&!p,"menu-dropdown-item":!u&&!p,"menu-dropdown-divider":p},i,o.colorClasses(n),o.linkRouterClasses(n),o.linkActionsClasses(n),{"menu-close":void 0===d});return e(h,C(Object.assign({ref:"el",class:f,style:a},this.attrs,{attrs:{id:s}})),[c,this.$slots.default])},created:function(){t.bindMethods(this,["onClick"])},mounted:function(){var e=this.$refs.el;if(e){e.addEventListener("click",this.onClick);var t=this.props.routeProps;t&&(e.f7RouteProps=t)}},updated:function(){var e=this.$refs.el;if(e){var t=this.props.routeProps;t&&(e.f7RouteProps=t)}},beforeDestroy:function(){var e=this.$refs.el;e&&(e.removeEventListener("click",this.onClick),delete e.f7RouteProps)},computed:{attrs:function(){var e=this.props,n=e.link,s=e.href,i=e.target,a=s;return void 0===a&&n&&(a="#"),t.extend({href:a,target:i},o.linkRouterAttrs(e),o.linkActionsAttrs(e))},props:function(){return n(this)}},methods:{onClick:function(e){this.dispatchEvent("click",e)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}}},ee={name:"f7-menu-dropdown",props:Object.assign({id:[String,Number],contentHeight:String,position:String,left:Boolean,center:Boolean,right:Boolean},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.id,i=n.className,a=n.style,r=n.contentHeight,l=n.position||"left";return n.left&&(l="left"),n.center&&(l="center"),n.right&&(l="right"),e("div",{class:t.classNames("menu-dropdown","menu-dropdown-"+l,o.colorClasses(n),i),style:a,attrs:{id:s}},[e("div",{class:"menu-dropdown-content",style:{height:r}},[this.$slots.default])])},computed:{props:function(){return n(this)}}},te={name:"f7-menu-item",props:Object.assign({id:[String,Number],text:String,iconOnly:Boolean,href:String,link:Boolean,target:String,dropdown:Boolean},o.colorProps,{},o.linkIconProps,{},o.linkRouterProps,{},o.linkActionsProps),render:function(){var e,n,s=this.$createElement,i=this.props,a=i.id,r=i.className,l=i.style,c=i.link,p=i.href,d=i.text,u=i.dropdown,h=i.iconOnly,f=i.icon,m=i.iconColor,v=i.iconSize,g=i.iconMaterial,b=i.iconF7,y=i.iconMd,S=i.iconIos,E=i.iconAurora,k=this.$slots;(f||g||b||y||S||E)&&(e=s(B,{attrs:{material:g,f7:b,icon:f,md:y,ios:S,aurora:E,color:m,size:v}})),n=!!(h||!d&&k.text&&0===k.text.length||!d&&!k.text);var $=c||p||""===p?"a":"div",w=u||""===u,O=t.classNames({"menu-item":!0,"menu-item-dropdown":w,"icon-only":n},r,o.colorClasses(i),o.linkRouterClasses(i),o.linkActionsClasses(i));return s($,C(Object.assign({ref:"el",class:O,style:l},this.attrs,{attrs:{id:a}})),[(d||k.text&&k.text.length||e)&&s("div",{class:"menu-item-content"},[d,e,this.$slots.text]),this.$slots.default])},created:function(){t.bindMethods(this,["onClick","onOpened","onClosed"])},mounted:function(){var e=this,t=e.$refs.el;if(t){e.eventTargetEl=t,t.addEventListener("click",e.onClick);var o=e.props.routeProps;o&&(t.f7RouteProps=o),e.$f7ready((function(t){t.on("menuOpened",e.onOpened),t.on("menuClosed",e.onClosed)}))}},updated:function(){var e=this.$refs.el;if(e){var t=this.props.routeProps;t&&(e.f7RouteProps=t)}},beforeDestroy:function(){var e=this.$refs.el;e&&this.$f7&&(e.removeEventListener("click",this.onClick),this.$f7.off("menuOpened",this.onOpened),this.$f7.off("menuClosed",this.onOpened),this.eventTargetEl=null,delete e.f7RouteProps,delete this.eventTargetEl)},computed:{attrs:function(){var e=this.props,n=e.href,s=e.link,i=e.target,a=n;return void 0===a&&s&&(a="#"),t.extend({href:a,target:i},o.linkRouterAttrs(e),o.linkActionsAttrs(e))},props:function(){return n(this)}},methods:{onClick:function(e){this.dispatchEvent("click",e)},onOpened:function(e){this.eventTargetEl===e&&this.dispatchEvent("menuOpened menu:opened",e)},onClosed:function(e){this.eventTargetEl===e&&this.dispatchEvent("menuClosed menu:closed",e)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}}},oe={name:"f7-menu",props:Object.assign({id:[String,Number]},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.id,i=n.className,a=n.style;return e("div",{class:t.classNames("menu",o.colorClasses(n),i),style:a,attrs:{id:s}},[e("div",{class:"menu-inner"},[this.$slots.default])])},computed:{props:function(){return n(this)}}},ne={name:"f7-message",props:Object.assign({id:[String,Number],text:String,name:String,avatar:String,type:{type:String,default:"sent"},image:String,header:String,footer:String,textHeader:String,textFooter:String,first:Boolean,last:Boolean,tail:Boolean,sameName:Boolean,sameHeader:Boolean,sameFooter:Boolean,sameAvatar:Boolean,typing:Boolean},o.colorProps),render:function(){var e=this.$createElement,t=this.props,o=t.text,n=t.name,s=t.avatar,i=t.image,a=t.header,r=t.footer,l=t.textHeader,c=t.textFooter,p=t.typing,d=t.id,u=t.style,h=this.$slots,f=h.start,m=h.end,v=h.default,g=h["content-start"],b=h["content-end"],y=h.avatar,S=h.name,E=h.header,k=h.footer,B=h.image,C=h.text,$=h["text-header"],w=h["text-footer"],O=h["bubble-start"],P=h["bubble-end"];return e("div",{ref:"el",style:u,class:this.classes,attrs:{id:d}},[f,(s||y)&&e("div",{ref:"avatarEl",class:"message-avatar",style:{backgroundImage:s&&"url("+s+")"}},[y]),e("div",{class:"message-content"},[g,(S||n)&&e("div",{ref:"nameEl",class:"message-name"},[S||n]),(E||a)&&e("div",{ref:"headerEl",class:"message-header"},[E||a]),e("div",{ref:"bubbleEl",class:"message-bubble"},[O,(B||i)&&e("div",{class:"message-image"},[B||e("img",{attrs:{src:i}})]),($||l)&&e("div",{class:"message-text-header"},[$||l]),(C||o||p)&&e("div",{ref:"textEl",class:"message-text"},[C||o,p&&e("div",{class:"message-typing-indicator"},[e("div"),e("div"),e("div")])]),(w||c)&&e("div",{class:"message-text-footer"},[w||c]),P,v]),(k||r)&&e("div",{ref:"footerEl",class:"message-footer"},[k||r]),b]),m])},computed:{classes:function(){var e=this.props,n=e.type,s=e.typing,i=e.first,a=e.last,r=e.tail,l=e.sameName,c=e.sameHeader,p=e.sameFooter,d=e.sameAvatar,u=e.className;return t.classNames(u,"message",{"message-sent":"sent"===n,"message-received":"received"===n,"message-typing":s,"message-first":i,"message-last":a,"message-tail":r,"message-same-name":l,"message-same-header":c,"message-same-footer":p,"message-same-avatar":d},o.colorClasses(e))},props:function(){return n(this)}},created:function(){t.bindMethods(this,["onClick","onNameClick","onTextClick","onAvatarClick","onHeaderClick","onFooterClick","onBubbleClick"])},mounted:function(){var e=this.$refs,t=e.el,o=e.nameEl,n=e.textEl,s=e.avatarEl,i=e.headerEl,a=e.footerEl,r=e.bubbleEl;t.addEventListener("click",this.onClick),o&&o.addEventListener("click",this.onNameClick),n&&n.addEventListener("click",this.onTextClick),s&&s.addEventListener("click",this.onAvatarClick),i&&i.addEventListener("click",this.onHeaderClick),a&&a.addEventListener("click",this.onFooterClick),r&&r.addEventListener("click",this.onBubbleClick)},beforeDestroy:function(){var e=this.$refs,t=e.el,o=e.nameEl,n=e.textEl,s=e.avatarEl,i=e.headerEl,a=e.footerEl,r=e.bubbleEl;t.removeEventListener("click",this.onClick),o&&o.removeEventListener("click",this.onNameClick),n&&n.removeEventListener("click",this.onTextClick),s&&s.removeEventListener("click",this.onAvatarClick),i&&i.removeEventListener("click",this.onHeaderClick),a&&a.removeEventListener("click",this.onFooterClick),r&&r.removeEventListener("click",this.onBubbleClick)},methods:{onClick:function(e){this.dispatchEvent("click",e)},onNameClick:function(e){this.dispatchEvent("click:name clickName",e)},onTextClick:function(e){this.dispatchEvent("click:text clickText",e)},onAvatarClick:function(e){this.dispatchEvent("click:avatar clickAvatar",e)},onHeaderClick:function(e){this.dispatchEvent("click:header clickHeader",e)},onFooterClick:function(e){this.dispatchEvent("click:footer clickFooter",e)},onBubbleClick:function(e){this.dispatchEvent("click:bubble clickBubble",e)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}}},se={name:"f7-messagebar-attachment",props:Object.assign({id:[String,Number],image:String,deletable:{type:Boolean,default:!0}},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.deletable,i=n.image,a=n.className,r=n.id;return e("div",{ref:"el",style:n.style,class:t.classNames(a,"messagebar-attachment",o.colorClasses(n)),attrs:{id:r}},[i&&e("img",{attrs:{src:i}}),s&&e("span",{ref:"deleteEl",class:"messagebar-attachment-delete"}),this.$slots.default])},created:function(){t.bindMethods(this,["onClick","onDeleteClick"])},mounted:function(){this.$refs.el.addEventListener("click",this.onClick),this.$refs.deleteEl&&this.$refs.deleteEl.addEventListener("click",this.onDeleteClick)},beforeDestroy:function(){this.$refs.el.removeEventListener("click",this.onClick),this.$refs.deleteEl&&this.$refs.deleteEl.removeEventListener("click",this.onDeleteClick)},methods:{onClick:function(e){this.dispatchEvent("attachment:click attachmentClick",e)},onDeleteClick:function(e){this.dispatchEvent("attachment:delete attachmentDelete",e)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return n(this)}}},ie={name:"f7-messagebar-attachments",props:Object.assign({id:[String,Number]},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id;return e("div",{style:n.style,class:t.classNames(s,"messagebar-attachments",o.colorClasses(n)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return n(this)}}},ae={name:"f7-messagebar-sheet-image",props:Object.assign({id:[String,Number],image:String,checked:Boolean},o.colorProps),render:function(){var e,n=this.$createElement,s=this.props,i=s.image,a=s.checked,r=s.id,l=s.className,c=s.style,p=t.classNames(l,"messagebar-sheet-image","checkbox",o.colorClasses(s)),d=t.extend({backgroundImage:i&&"url("+i+")"},c||{});return e=n("input",{ref:"inputEl",domProps:{checked:a},on:{change:this.onChange},attrs:{type:"checkbox"}}),n("label",{class:p,style:d,attrs:{id:r}},[e,n("i",{class:"icon icon-checkbox"}),this.$slots.default])},created:function(){t.bindMethods(this,["onChange"])},methods:{onChange:function(e){this.props.checked?this.dispatchEvent("checked",e):this.dispatchEvent("unchecked",e),this.dispatchEvent("change",e)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return n(this)}}},re={name:"f7-messagebar-sheet-item",props:Object.assign({id:[String,Number]},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id;return e("div",{style:n.style,class:t.classNames(s,"messagebar-sheet-item",o.colorClasses(n)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return n(this)}}},le={name:"f7-messagebar-sheet",props:Object.assign({id:[String,Number]},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id;return e("div",{style:n.style,class:t.classNames(s,"messagebar-sheet",o.colorClasses(n)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return n(this)}}},ce={name:"f7-messagebar",props:Object.assign({id:[String,Number],sheetVisible:Boolean,attachmentsVisible:Boolean,top:Boolean,resizable:{type:Boolean,default:!0},bottomOffset:{type:Number,default:0},topOffset:{type:Number,default:0},maxHeight:Number,resizePage:{type:Boolean,default:!0},sendLink:String,value:[String,Number,Array],disabled:Boolean,readonly:Boolean,textareaId:[Number,String],name:String,placeholder:{type:String,default:"Message"},init:{type:Boolean,default:!0}},o.colorProps),created:function(){t.bindMethods(this,["onChange","onInput","onFocus","onBlur","onClick","onAttachmentDelete","onAttachmentClick,","onResizePage"])},render:function(){var e,t,o=this.$createElement,n=this.props,s=n.placeholder,i=n.disabled,a=n.name,r=n.readonly,l=n.resizable,c=n.value,p=n.sendLink,d=n.id,u=n.style,h=this.$slots,f=h.default,m=h["before-inner"],v=h["after-inner"],g=h["send-link"],b=h["inner-start"],y=h["inner-end"],S=h["before-area"],E=h["after-area"],k=[];f&&f.forEach((function(o){var n;void 0!==o&&((n=o.tag)&&(n.indexOf("messagebar-attachments")>=0||"F7MessagebarAttachments"===n||"f7-messagebar-attachments"===n)?e=o:n&&(n.indexOf("messagebar-sheet")>=0||"F7MessagebarSheet"===n||"f7-messagebar-sheet"===n)?t=o:k.push(o))}));var B={};return"value"in this.props&&(B.value=c),o("div",{ref:"el",style:u,class:this.classes,attrs:{id:d}},[m,o("div",{class:"toolbar-inner"},[b,o("div",{class:"messagebar-area"},[S,e,o(H,C(Object.assign({ref:"area"},B,{on:{input:this.onInput,change:this.onChange,focus:this.onFocus,blur:this.onBlur},attrs:{type:"textarea",wrap:!1,placeholder:s,disabled:i,name:a,readonly:r,resizable:l}}))),E]),(p&&p.length>0||g)&&o(F,{on:{click:this.onClick}},[g||p]),y,k]),v,t])},computed:{classes:function(){var e=this.props,n=e.className,s=e.attachmentsVisible,i=e.sheetVisible;return t.classNames(n,"toolbar","messagebar",{"messagebar-attachments-visible":s,"messagebar-sheet-visible":i},o.colorClasses(e))},props:function(){return n(this)}},watch:{"props.sheetVisible":function(){this.props.resizable&&this.f7Messagebar&&(this.updateSheetVisible=!0)},"props.attachmentsVisible":function(){this.props.resizable&&this.f7Messagebar&&(this.updateAttachmentsVisible=!0)}},mounted:function(){var e=this,o=e.props,n=o.init,s=o.top,i=o.resizePage,a=o.bottomOffset,r=o.topOffset,l=o.maxHeight;if(n){var c=e.$refs.el;if(c){var p=t.noUndefinedProps({el:c,top:s,resizePage:i,bottomOffset:a,topOffset:r,maxHeight:l,on:{attachmentDelete:e.onAttachmentDelete,attachmentClick:e.onAttachmentClick,resizePage:e.onResizePage}});e.$f7ready((function(){e.f7Messagebar=e.$f7.messagebar.create(p)}))}}},updated:function(){if(this.f7Messagebar){var e=this.props,t=e.sheetVisible,o=e.attachmentsVisible;this.updateSheetVisible&&(this.updateSheetVisible=!1,this.f7Messagebar.sheetVisible=t,this.f7Messagebar.resizePage()),this.updateAttachmentsVisible&&(this.updateAttachmentsVisible=!1,this.f7Messagebar.attachmentsVisible=o,this.f7Messagebar.resizePage())}},beforeDestroy:function(){this.f7Messagebar&&this.f7Messagebar.destroy&&this.f7Messagebar.destroy()},methods:{clear:function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];if(this.f7Messagebar)return(e=this.f7Messagebar).clear.apply(e,t)},getValue:function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];if(this.f7Messagebar)return(e=this.f7Messagebar).getValue.apply(e,t)},setValue:function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];if(this.f7Messagebar)return(e=this.f7Messagebar).setValue.apply(e,t)},setPlaceholder:function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];if(this.f7Messagebar)return(e=this.f7Messagebar).setPlaceholder.apply(e,t)},resize:function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];if(this.f7Messagebar)return(e=this.f7Messagebar).resizePage.apply(e,t)},focus:function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];if(this.f7Messagebar)return(e=this.f7Messagebar).focus.apply(e,t)},blur:function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];if(this.f7Messagebar)return(e=this.f7Messagebar).blur.apply(e,t)},attachmentsShow:function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];if(this.f7Messagebar)return(e=this.f7Messagebar).attachmentsShow.apply(e,t)},attachmentsHide:function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];if(this.f7Messagebar)return(e=this.f7Messagebar).attachmentsHide.apply(e,t)},attachmentsToggle:function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];if(this.f7Messagebar)return(e=this.f7Messagebar).attachmentsToggle.apply(e,t)},sheetShow:function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];if(this.f7Messagebar)return(e=this.f7Messagebar).sheetShow.apply(e,t)},sheetHide:function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];if(this.f7Messagebar)return(e=this.f7Messagebar).sheetHide.apply(e,t)},sheetToggle:function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];if(this.f7Messagebar)return(e=this.f7Messagebar).sheetToggle.apply(e,t)},onChange:function(e){this.dispatchEvent("change",e)},onInput:function(e){this.dispatchEvent("input",e)},onFocus:function(e){this.dispatchEvent("focus",e)},onBlur:function(e){this.dispatchEvent("blur",e)},onClick:function(e){var t,o=this;t=o.$refs.area.$refs.inputEl.value;var n=o.f7Messagebar?function(){o.f7Messagebar.clear()}:function(){};this.dispatchEvent("submit",t,n),this.dispatchEvent("send",t,n),this.dispatchEvent("click",e)},onAttachmentDelete:function(e,t,o){this.dispatchEvent("messagebar:attachmentdelete messagebarAttachmentDelete",e,t,o)},onAttachmentClick:function(e,t,o){this.dispatchEvent("messagebar:attachmentclick messagebarAttachmentClick",e,t,o)},onResizePage:function(e){this.dispatchEvent("messagebar:resizepage messagebarResizePage",e)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}}},pe={name:"f7-messages-title",props:Object.assign({id:[String,Number]},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id;return e("div",{style:n.style,class:t.classNames(s,"messages-title",o.colorClasses(n)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return n(this)}}},de={name:"f7-messages",props:Object.assign({id:[String,Number],autoLayout:{type:Boolean,default:!1},messages:{type:Array,default:function(){return[]}},newMessagesFirst:{type:Boolean,default:!1},scrollMessages:{type:Boolean,default:!0},scrollMessagesOnEdge:{type:Boolean,default:!0},firstMessageRule:Function,lastMessageRule:Function,tailMessageRule:Function,sameNameMessageRule:Function,sameHeaderMessageRule:Function,sameFooterMessageRule:Function,sameAvatarMessageRule:Function,customClassMessageRule:Function,renderMessage:Function,init:{type:Boolean,default:!0}},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.id,i=n.style,a=n.className;return e("div",{ref:"el",style:i,class:t.classNames(a,"messages",o.colorClasses(n)),attrs:{id:s}},[this.$slots.default])},beforeUpdate:function(){if(this.props.init){var e=this.$refs.el;if(e){var t=e.children;if(t)for(var o=0;o0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return n(this)}}},he={name:"f7-nav-right",props:Object.assign({id:[String,Number],sliding:Boolean},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id,a=n.style,r=n.sliding,l=t.classNames(s,"right",{sliding:r},o.colorClasses(n)),c=[],p=this.$slots;return p&&Object.keys(p).length&&Object.keys(p).forEach((function(e){c.push.apply(c,p[e])})),e("div",{style:a,class:l,attrs:{id:i}},[c])},computed:{props:function(){return n(this)}}},fe={name:"f7-nav-title",props:Object.assign({id:[String,Number]},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.id,i=n.style,a=n.className,r=t.classNames(a,"title-large",o.colorClasses(n)),l=[],c=this.$slots;return c&&Object.keys(c).length&&Object.keys(c).forEach((function(e){l.push.apply(l,c[e])})),e("div",{style:i,class:r,attrs:{id:s}},[e("div",{class:"title-large-text"},[l])])},computed:{props:function(){return n(this)}}},me={name:"f7-nav-title",props:Object.assign({id:[String,Number],title:String,subtitle:String,sliding:Boolean},o.colorProps),render:function(){var e,n=this.$createElement,s=this.props,i=s.title,a=s.subtitle,r=s.id,l=s.style,c=s.sliding,p=s.className;a&&(e=n("span",{class:"subtitle"},[a]));var d,u=t.classNames(p,"title",{sliding:c},o.colorClasses(s)),h=this.$slots;return h&&Object.keys(h).length&&(d=[],Object.keys(h).forEach((function(e){d.push.apply(d,h[e])}))),n("div",{style:l,class:u,attrs:{id:r}},[d,!d&&i,!d&&e])},computed:{props:function(){return n(this)}}},ve={name:"f7-navbar",props:Object.assign({id:[String,Number],backLink:[Boolean,String],backLinkUrl:String,backLinkForce:Boolean,backLinkShowText:{type:Boolean,default:void 0},sliding:{type:Boolean,default:!0},title:String,subtitle:String,hidden:Boolean,noShadow:Boolean,noHairline:Boolean,innerClass:String,innerClassName:String,large:Boolean,largeTransparent:Boolean,titleLarge:String},o.colorProps),data:function(){var e=this;n(this);return{state:function(){var t=e,o=t.$f7;return o||t.$f7ready((function(){t.setState({_theme:t.$theme})})),{_theme:o?t.$theme:null}}()}},render:function(){var e,n,s,i,a=this.$createElement,r=this.props,l=r.backLink,c=r.backLinkUrl,p=r.backLinkForce,d=r.backLinkShowText,u=r.sliding,h=r.title,f=r.subtitle,m=r.innerClass,v=r.innerClassName,g=r.className,b=r.id,y=r.style,S=r.hidden,E=r.noShadow,k=r.noHairline,B=r.large,C=r.largeTransparent,$=r.titleLarge,w=this.state.theme,O=w&&w.ios&&this.$f7&&!this.$f7.params.navbar.iosCenterTitle,P=w&&w.md&&this.$f7&&this.$f7.params.navbar.mdCenterTitle||w&&w.aurora&&this.$f7&&this.$f7.params.navbar.auroraCenterTitle,N=this.$slots,x=t.classNames(g,"navbar",{"navbar-hidden":S,"navbar-large":B,"navbar-large-transparent":C},o.colorClasses(r));(l||N["nav-left"]||N.left)&&(e=a(ue,{on:{backClick:this.onBackClick},attrs:{backLink:l,backLinkUrl:c,backLinkForce:p,backLinkShowText:d}},[N["nav-left"],N.left])),(h||f||N.title)&&(n=a(me,{attrs:{title:h,subtitle:f}},[N.title])),(N["nav-right"]||N.right)&&(s=a(he,[N["nav-right"],N.right]));var T=$;!T&&B&&h&&(T=h),(T||N["title-large"])&&(i=a("div",{class:"title-large"},[a("div",{class:"title-large-text"},[T||"",this.$slots["title-large"]])]));var M=a("div",{class:t.classNames("navbar-inner",m,v,{sliding:u,"no-shadow":E,"no-hairline":k,"navbar-inner-left-title":O,"navbar-inner-centered-title":P})},[e,n,s,i,this.$slots.default]);return a("div",{ref:"el",style:y,class:x,attrs:{id:b}},[a("div",{class:"navbar-bg"}),this.$slots["before-inner"],M,this.$slots["after-inner"]])},created:function(){t.bindMethods(this,["onBackClick","onHide","onShow","onExpand","onCollapse"])},mounted:function(){var e=this,t=e.$refs.el;t&&e.$f7ready((function(o){e.eventTargetEl=t,o.on("navbarShow",e.onShow),o.on("navbarHide",e.onHide),o.on("navbarCollapse",e.onCollapse),o.on("navbarExpand",e.onExpand)}))},updated:function(){if(this.$f7){var e=this.$refs.el;this.$f7.navbar.size(e)}},beforeDestroy:function(){if(this.$refs.el&&this.$f7){var e=this.$f7;e.off("navbarShow",this.onShow),e.off("navbarHide",this.onHide),e.off("navbarCollapse",this.onCollapse),e.off("navbarExpand",this.onExpand),this.eventTargetEl=null,delete this.eventTargetEl}},methods:{onHide:function(e){this.eventTargetEl===e&&this.dispatchEvent("navbar:hide navbarHide")},onShow:function(e){this.eventTargetEl===e&&this.dispatchEvent("navbar:show navbarShow")},onExpand:function(e){this.eventTargetEl===e&&this.dispatchEvent("navbar:expand navbarExpand")},onCollapse:function(e){this.eventTargetEl===e&&this.dispatchEvent("navbar:collapse navbarCollapse")},hide:function(e){this.$f7&&this.$f7.navbar.hide(this.$refs.el,e)},show:function(e){this.$f7&&this.$f7.navbar.show(this.$refs.el,e)},size:function(){this.$f7&&this.$f7.navbar.size(this.$refs.el)},onBackClick:function(e){this.dispatchEvent("back-click backClick click:back clickBack",e)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))},setState:function(e,t){f(this,e,t)}},computed:{props:function(){return n(this)}}},ge={name:"f7-preloader",props:Object.assign({id:[String,Number],size:[Number,String]},o.colorProps),data:function(){var e=this;n(this);return{state:function(){var t=e,o=t.$f7;return o||t.$f7ready((function(){t.setState({_theme:t.$theme})})),{_theme:o?t.$theme:null}}()}},render:function(){var e,n=this.$createElement,s=this.sizeComputed,i=this.props,a=i.id,r=i.style,l=i.className,c=this.state._theme,p={};return s&&(p.width=s+"px",p.height=s+"px",p["--f7-preloader-size"]=s+"px"),r&&t.extend(p,r||{}),c&&c.md?e=n("span",{class:"preloader-inner"},[n("span",{class:"preloader-inner-gap"}),n("span",{class:"preloader-inner-left"},[n("span",{class:"preloader-inner-half-circle"})]),n("span",{class:"preloader-inner-right"},[n("span",{class:"preloader-inner-half-circle"})])]):c&&c.ios?e=n("span",{class:"preloader-inner"},[n("span",{class:"preloader-inner-line"}),n("span",{class:"preloader-inner-line"}),n("span",{class:"preloader-inner-line"}),n("span",{class:"preloader-inner-line"}),n("span",{class:"preloader-inner-line"}),n("span",{class:"preloader-inner-line"}),n("span",{class:"preloader-inner-line"}),n("span",{class:"preloader-inner-line"}),n("span",{class:"preloader-inner-line"}),n("span",{class:"preloader-inner-line"}),n("span",{class:"preloader-inner-line"}),n("span",{class:"preloader-inner-line"})]):c&&c.aurora&&(e=n("span",{class:"preloader-inner"},[n("span",{class:"preloader-inner-circle"})])),n("span",{style:p,class:t.classNames(l,"preloader",o.colorClasses(i)),attrs:{id:a}},[e])},computed:{sizeComputed:function(){var e=this.props.size;return e&&"string"==typeof e&&e.indexOf("px")>=0&&(e=e.replace("px","")),e},props:function(){return n(this)}},methods:{setState:function(e,t){f(this,e,t)}}},be={name:"f7-page-content",props:Object.assign({id:[String,Number],tab:Boolean,tabActive:Boolean,ptr:Boolean,ptrDistance:Number,ptrPreloader:{type:Boolean,default:!0},ptrBottom:Boolean,ptrMousewheel:Boolean,infinite:Boolean,infiniteTop:Boolean,infiniteDistance:Number,infinitePreloader:{type:Boolean,default:!0},hideBarsOnScroll:Boolean,hideNavbarOnScroll:Boolean,hideToolbarOnScroll:Boolean,messagesContent:Boolean,loginScreen:Boolean},o.colorProps),render:function(){var e,t,o=this.$createElement,n=this.props,s=n.ptr,i=n.ptrPreloader,a=n.ptrDistance,r=n.ptrBottom,l=n.ptrMousewheel,c=n.infinite,p=n.infinitePreloader,d=n.id,u=n.style,h=n.infiniteDistance,f=n.infiniteTop;return s&&i&&(e=o("div",{class:"ptr-preloader"},[o(ge),o("div",{class:"ptr-arrow"})])),c&&p&&(t=o(ge,{class:"infinite-scroll-preloader"})),o("div",{style:u,class:this.classes,ref:"el",attrs:{id:d,"data-ptr-distance":a||void 0,"data-ptr-mousewheel":l||void 0,"data-infinite-distance":h||void 0}},[r?null:e,f?t:null,this.$slots.default,f?null:t,r?e:null])},computed:{classes:function(){var e=this.props,n=e.className,s=e.tab,i=e.tabActive,a=e.ptr,r=e.ptrBottom,l=e.infinite,c=e.infiniteTop,p=e.hideBarsOnScroll,d=e.hideNavbarOnScroll,u=e.hideToolbarOnScroll,h=e.messagesContent,f=e.loginScreen;return t.classNames(n,"page-content",{tab:s,"tab-active":i,"ptr-content":a,"ptr-bottom":r,"infinite-scroll-content":l,"infinite-scroll-top":c,"hide-bars-on-scroll":p,"hide-navbar-on-scroll":d,"hide-toolbar-on-scroll":u,"messages-content":h,"login-screen-content":f},o.colorClasses(e))},props:function(){return n(this)}},created:function(){t.bindMethods(this,["onPtrPullStart","onPtrPullMove","onPtrPullEnd","onPtrRefresh","onPtrDone","onInfinite","onTabShow","onTabHide"])},mounted:function(){var e=this,t=e.$refs.el,o=e.props,n=o.ptr,s=o.infinite,i=o.tab;e.$f7ready((function(o){e.eventTargetEl=t,n&&(o.on("ptrPullStart",e.onPtrPullStart),o.on("ptrPullMove",e.onPtrPullMove),o.on("ptrPullEnd",e.onPtrPullEnd),o.on("ptrRefresh",e.onPtrRefresh),o.on("ptrDone",e.onPtrDone)),s&&o.on("infinite",e.onInfinite),i&&(o.on("tabShow",e.onTabShow),o.on("tabHide",e.onTabHide))}))},beforeDestroy:function(){this.$f7&&(this.$f7.off("ptrPullStart",this.onPtrPullStart),this.$f7.off("ptrPullMove",this.onPtrPullMove),this.$f7.off("ptrPullEnd",this.onPtrPullEnd),this.$f7.off("ptrRefresh",this.onPtrRefresh),this.$f7.off("ptrDone",this.onPtrDone),this.$f7.off("infinite",this.onInfinite),this.$f7.off("tabShow",this.onTabShow),this.$f7.off("tabHide",this.onTabHide),this.eventTargetEl=null,delete this.eventTargetEl)},methods:{onPtrPullStart:function(e){this.eventTargetEl===e&&this.dispatchEvent("ptr:pullstart ptrPullStart")},onPtrPullMove:function(e){this.eventTargetEl===e&&this.dispatchEvent("ptr:pullmove ptrPullMove")},onPtrPullEnd:function(e){this.eventTargetEl===e&&this.dispatchEvent("ptr:pullend ptrPullEnd")},onPtrRefresh:function(e,t){this.eventTargetEl===e&&this.dispatchEvent("ptr:refresh ptrRefresh",t)},onPtrDone:function(e){this.eventTargetEl===e&&this.dispatchEvent("ptr:done ptrDone")},onInfinite:function(e){this.eventTargetEl===e&&this.dispatchEvent("infinite")},onTabShow:function(e){this.eventTargetEl===e&&this.dispatchEvent("tab:show tabShow")},onTabHide:function(e){this.eventTargetEl===e&&this.dispatchEvent("tab:hide tabHide")},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}}},ye={name:"f7-page",props:Object.assign({id:[String,Number],name:String,stacked:Boolean,withSubnavbar:{type:Boolean,default:void 0},subnavbar:{type:Boolean,default:void 0},withNavbarLarge:{type:Boolean,default:void 0},navbarLarge:{type:Boolean,default:void 0},noNavbar:Boolean,noToolbar:Boolean,tabs:Boolean,pageContent:{type:Boolean,default:!0},noSwipeback:Boolean,ptr:Boolean,ptrDistance:Number,ptrPreloader:{type:Boolean,default:!0},ptrBottom:Boolean,ptrMousewheel:Boolean,infinite:Boolean,infiniteTop:Boolean,infiniteDistance:Number,infinitePreloader:{type:Boolean,default:!0},hideBarsOnScroll:Boolean,hideNavbarOnScroll:Boolean,hideToolbarOnScroll:Boolean,messagesContent:Boolean,loginScreen:Boolean},o.colorProps),data:function(){n(this);return{state:{hasSubnavbar:!1,hasNavbarLarge:!1,hasNavbarLargeCollapsed:!1,hasCardExpandableOpened:!1,routerPositionClass:"",routerForceUnstack:!1,routerPageRole:null,routerPageRoleDetailRoot:!1,routerPageMasterStack:!1}}},render:function(){var e,n,s,i,a=this.$createElement,r=this.props,l=r.id,c=r.style,p=r.name,d=r.pageContent,u=r.messagesContent,h=r.ptr,f=r.ptrDistance,m=r.ptrPreloader,v=r.ptrBottom,g=r.ptrMousewheel,b=r.infinite,y=r.infiniteDistance,S=r.infinitePreloader,E=r.infiniteTop,k=r.hideBarsOnScroll,B=r.hideNavbarOnScroll,C=r.hideToolbarOnScroll,$=r.loginScreen,w=r.className,O=r.stacked,P=r.tabs,N=r.subnavbar,x=r.withSubnavbar,T=r.navbarLarge,M=r.withNavbarLarge,L=r.noNavbar,I=r.noToolbar,A=r.noSwipeback,D=[],R=[],j=this.$slots,z=j.static,H=j.fixed,F=j.default;e="navbar toolbar tabbar subnavbar searchbar messagebar fab list-index".split(" "),s=this.$options.propsData.messagesContent,F&&F.forEach((function(t){if(void 0!==t){var o=!1,a=t.tag;if(a){a.indexOf("subnavbar")>=0&&(n=!0),a.indexOf("navbar")>=0&&t.componentOptions&&t.componentOptions.propsData&&"large"in t.componentOptions.propsData&&(t.componentOptions.propsData.large||""===t.componentOptions.propsData.large)&&(i=!0),void 0===s&&a.indexOf("messages")>=0&&(s=!0);for(var r=0;r=0&&(o=!0);d&&(o?D.push(t):R.push(t))}else d&&R.push(t)}}));var V=void 0===N&&void 0===x&&(n||this.state.hasSubnavbar),U=void 0===T&&void 0===M&&(i||this.state.hasNavbarLarge),_=t.classNames(w,"page",this.state.routerPositionClass,{stacked:O&&!this.state.routerForceUnstack,tabs:P,"page-with-subnavbar":N||x||V,"page-with-navbar-large":T||M||U,"no-navbar":L,"no-toolbar":I,"no-swipeback":A,"page-master":"master"===this.state.routerPageRole,"page-master-detail":"detail"===this.state.routerPageRole,"page-master-detail-root":!0===this.state.routerPageRoleDetailRoot,"page-master-stacked":!0===this.state.routerPageMasterStack,"page-with-navbar-large-collapsed":!0===this.state.hasNavbarLargeCollapsed,"page-with-card-opened":!0===this.state.hasCardExpandableOpened,"login-screen-page":$},o.colorClasses(r));if(!d)return a("div",{ref:"el",style:c,class:_,attrs:{id:l,"data-name":p}},[H,z,F]);var q=a(be,{on:{ptrPullStart:this.onPtrPullStart,ptrPullMove:this.onPtrPullMove,ptrPullEnd:this.onPtrPullEnd,ptrRefresh:this.onPtrRefresh,ptrDone:this.onPtrDone,infinite:this.onInfinite},attrs:{ptr:h,ptrDistance:f,ptrPreloader:m,ptrBottom:v,ptrMousewheel:g,infinite:b,infiniteTop:E,infiniteDistance:y,infinitePreloader:S,hideBarsOnScroll:k,hideNavbarOnScroll:B,hideToolbarOnScroll:C,messagesContent:u||s,loginScreen:$}},[z,R]);return a("div",{ref:"el",style:c,class:_,attrs:{id:l,"data-name":p}},[D,H,q])},created:function(){t.bindMethods(this,["onPtrPullStart","onPtrPullMove","onPtrPullEnd","onPtrRefresh","onPtrDone","onInfinite","onPageMounted","onPageInit","onPageReinit","onPageBeforeIn","onPageBeforeOut","onPageAfterOut","onPageAfterIn","onPageBeforeRemove","onPageStack","onPageUnstack","onPagePosition","onPageRole","onPageMasterStack","onPageMasterUnstack","onPageNavbarLargeCollapsed","onPageNavbarLargeExpanded","onCardOpened","onCardClose"])},mounted:function(){var e=this,t=e.$refs.el;e.$f7ready((function(o){e.eventTargetEl=t,o.on("pageMounted",e.onPageMounted),o.on("pageInit",e.onPageInit),o.on("pageReinit",e.onPageReinit),o.on("pageBeforeIn",e.onPageBeforeIn),o.on("pageBeforeOut",e.onPageBeforeOut),o.on("pageAfterOut",e.onPageAfterOut),o.on("pageAfterIn",e.onPageAfterIn),o.on("pageBeforeRemove",e.onPageBeforeRemove),o.on("pageStack",e.onPageStack),o.on("pageUnstack",e.onPageUnstack),o.on("pagePosition",e.onPagePosition),o.on("pageRole",e.onPageRole),o.on("pageMasterStack",e.onPageMasterStack),o.on("pageMasterUnstack",e.onPageMasterUnstack),o.on("pageNavbarLargeCollapsed",e.onPageNavbarLargeCollapsed),o.on("pageNavbarLargeExpanded",e.onPageNavbarLargeExpanded),o.on("cardOpened",e.onCardOpened),o.on("cardClose",e.onCardClose)}))},beforeDestroy:function(){if(this.$f7){var e=this.$f7;e.off("pageMounted",this.onPageMounted),e.off("pageInit",this.onPageInit),e.off("pageReinit",this.onPageReinit),e.off("pageBeforeIn",this.onPageBeforeIn),e.off("pageBeforeOut",this.onPageBeforeOut),e.off("pageAfterOut",this.onPageAfterOut),e.off("pageAfterIn",this.onPageAfterIn),e.off("pageBeforeRemove",this.onPageBeforeRemove),e.off("pageStack",this.onPageStack),e.off("pageUnstack",this.onPageUnstack),e.off("pagePosition",this.onPagePosition),e.off("pageRole",this.onPageRole),e.off("pageMasterStack",this.onPageMasterStack),e.off("pageMasterUnstack",this.onPageMasterUnstack),e.off("pageNavbarLargeCollapsed",this.onPageNavbarLargeCollapsed),e.off("pageNavbarLargeExpanded",this.onPageNavbarLargeExpanded),e.off("cardOpened",this.onCardOpened),e.off("cardClose",this.onCardClose),this.eventTargetEl=null,delete this.eventTargetEl}},methods:{onPtrPullStart:function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];(e=this).dispatchEvent.apply(e,["ptr:pullstart ptrPullStart"].concat(t))},onPtrPullMove:function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];(e=this).dispatchEvent.apply(e,["ptr:pullmove ptrPullMove"].concat(t))},onPtrPullEnd:function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];(e=this).dispatchEvent.apply(e,["ptr:pullend ptrPullEnd"].concat(t))},onPtrRefresh:function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];(e=this).dispatchEvent.apply(e,["ptr:refresh ptrRefresh"].concat(t))},onPtrDone:function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];(e=this).dispatchEvent.apply(e,["ptr:done ptrDone"].concat(t))},onInfinite:function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];(e=this).dispatchEvent.apply(e,["infinite"].concat(t))},onPageMounted:function(e){this.eventTargetEl===e.el&&this.dispatchEvent("page:mounted pageMounted",e)},onPageInit:function(e){if(this.eventTargetEl===e.el){var t=this.props,o=t.withSubnavbar,n=t.subnavbar,s=t.withNavbarLarge,i=t.navbarLarge;void 0===o&&void 0===n&&(e.$navbarEl&&e.$navbarEl.length&&e.$navbarEl.find(".subnavbar").length||e.$el.children(".navbar").find(".subnavbar").length)&&this.setState({hasSubnavbar:!0}),void 0===s&&void 0===i&&e.$navbarEl&&e.$navbarEl.hasClass("navbar-large")&&this.setState({hasNavbarLarge:!0}),this.dispatchEvent("page:init pageInit",e)}},onPageReinit:function(e){this.eventTargetEl===e.el&&this.dispatchEvent("page:reinit pageReinit",e)},onPageBeforeIn:function(e){this.eventTargetEl===e.el&&(e.swipeBack||("next"===e.from&&this.setState({routerPositionClass:"page-next"}),"previous"===e.from&&this.setState({routerPositionClass:"page-previous"})),this.dispatchEvent("page:beforein pageBeforeIn",e))},onPageBeforeOut:function(e){this.eventTargetEl===e.el&&this.dispatchEvent("page:beforeout pageBeforeOut",e)},onPageAfterOut:function(e){this.eventTargetEl===e.el&&("next"===e.to&&this.setState({routerPositionClass:"page-next"}),"previous"===e.to&&this.setState({routerPositionClass:"page-previous"}),this.dispatchEvent("page:afterout pageAfterOut",e))},onPageAfterIn:function(e){this.eventTargetEl===e.el&&(this.setState({routerPositionClass:"page-current"}),this.dispatchEvent("page:afterin pageAfterIn",e))},onPageBeforeRemove:function(e){this.eventTargetEl===e.el&&this.dispatchEvent("page:beforeremove pageBeforeRemove",e)},onPageStack:function(e){this.eventTargetEl===e&&this.setState({routerForceUnstack:!1})},onPageUnstack:function(e){this.eventTargetEl===e&&this.setState({routerForceUnstack:!0})},onPagePosition:function(e,t){this.eventTargetEl===e&&this.setState({routerPositionClass:"page-"+t})},onPageRole:function(e,t){this.eventTargetEl===e&&this.setState({routerPageRole:t.role,routerPageRoleDetailRoot:t.detailRoot})},onPageMasterStack:function(e){this.eventTargetEl===e&&this.setState({routerPageMasterStack:!0})},onPageMasterUnstack:function(e){this.eventTargetEl===e&&this.setState({routerPageMasterStack:!1})},onPageNavbarLargeCollapsed:function(e){this.eventTargetEl===e&&this.setState({hasNavbarLargeCollapsed:!0})},onPageNavbarLargeExpanded:function(e){this.eventTargetEl===e&&this.setState({hasNavbarLargeCollapsed:!1})},onCardOpened:function(e,t){this.eventTargetEl===t&&this.setState({hasCardExpandableOpened:!0})},onCardClose:function(e,t){this.eventTargetEl===t&&this.setState({hasCardExpandableOpened:!1})},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))},setState:function(e,t){f(this,e,t)}},computed:{props:function(){return n(this)}}},Se={name:"f7-panel",props:Object.assign({id:[String,Number],side:String,effect:String,cover:Boolean,reveal:Boolean,left:Boolean,right:Boolean,opened:Boolean,resizable:Boolean,backdrop:{type:Boolean,default:!0},backdropEl:{type:String,default:void 0},visibleBreakpoint:{type:Number,default:void 0},collapsedBreakpoint:{type:Number,default:void 0},swipe:Boolean,swipeOnlyClose:Boolean,swipeActiveArea:{type:Number,default:0},swipeThreshold:{type:Number,default:0}},o.colorProps),render:function(){var e=this.$createElement,t=this.props,o=t.id,n=t.style,s=t.resizable;return e("div",{ref:"el",style:n,class:this.classes,attrs:{id:o}},[this.$slots.default,s&&e("div",{class:"panel-resize-handler"})])},computed:{classes:function(){var e,n=this.props,s=n.left,i=n.reveal,a=n.className,r=n.resizable,l=n.side,c=n.effect;return l=l||(s?"left":"right"),c=c||(i?"reveal":"cover"),t.classNames(a,"panel",((e={"panel-resizable":r})["panel-"+l]=l,e["panel-"+c]=c,e),o.colorClasses(n))},props:function(){return n(this)}},watch:{"props.resizable":function(e){this.f7Panel&&(e?this.f7Panel.enableResizable():this.f7Panel.disableResizable())},"props.opened":function(e){this.f7Panel&&(e?this.f7Panel.open():this.f7Panel.close())}},created:function(){t.bindMethods(this,["onOpen","onOpened","onClose","onClosed","onBackdropClick","onSwipe","onSwipeOpen","onBreakpoint","onCollapsedBreakpoint","onResize"])},mounted:function(){var e=this,o=e.$refs.el,n=e.props,s=n.opened,i=n.resizable,a=n.backdrop,r=n.backdropEl,l=n.visibleBreakpoint,c=n.collapsedBreakpoint,p=n.swipe,d=n.swipeOnlyClose,u=n.swipeActiveArea,h=n.swipeThreshold;e.$f7ready((function(){var n=e.$$;if(n){0===n(".panel-backdrop").length&&n('
').insertBefore(o);var f=t.noUndefinedProps({el:o,resizable:i,backdrop:a,backdropEl:r,visibleBreakpoint:l,collapsedBreakpoint:c,swipe:p,swipeOnlyClose:d,swipeActiveArea:u,swipeThreshold:h,on:{open:e.onOpen,opened:e.onOpened,close:e.onClose,closed:e.onClosed,backdropClick:e.onBackdropClick,swipe:e.onSwipe,swipeOpen:e.onSwipeOpen,collapsedBreakpoint:e.onCollapsedBreakpoint,breakpoint:e.onBreakpoint,resize:e.onResize}});e.f7Panel=e.$f7.panel.create(f),s&&e.f7Panel.open(!1)}}))},beforeDestroy:function(){this.f7Panel&&this.f7Panel.destroy&&this.f7Panel.destroy()},methods:{onOpen:function(e){this.dispatchEvent("panel:open panelOpen",e)},onOpened:function(e){this.dispatchEvent("panel:opened panelOpened",e)},onClose:function(e){this.dispatchEvent("panel:close panelClose",e)},onClosed:function(e){this.dispatchEvent("panel:closed panelClosed",e)},onBackdropClick:function(e){this.dispatchEvent("panel:backdrop-click panelBackdropClick",e)},onSwipe:function(e){this.dispatchEvent("panel:swipe panelSwipe",e)},onSwipeOpen:function(e){this.dispatchEvent("panel:swipeopen panelSwipeOpen",e)},onBreakpoint:function(e){this.dispatchEvent("panel:breakpoint panelBreakpoint",e)},onCollapsedBreakpoint:function(e){this.dispatchEvent("panel:collapsedbreakpoint panelCollapsedBreakpoint",e)},onResize:function(e){this.dispatchEvent("panel:resize panelResize",e)},open:function(e){this.f7Panel&&this.f7Panel.open(e)},close:function(e){this.f7Panel&&this.f7Panel.close(e)},toggle:function(e){this.f7Panel&&this.f7Panel.toggle(e)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}}},Ee={name:"f7-photo-browser",props:{id:[String,Number],init:{type:Boolean,default:!0},params:Object,photos:Array,exposition:{type:Boolean,default:!0},expositionHideCaptions:{type:Boolean,default:!1},type:{type:String},navbar:{type:Boolean,default:!0},toolbar:{type:Boolean,default:!0},theme:{type:String},captionsTheme:{type:String},iconsColor:{type:String},swipeToClose:{type:Boolean,default:!0},pageBackLinkText:{type:String,default:void 0},popupCloseLinkText:{type:String,default:void 0},navbarOfText:{type:String,default:void 0},navbarShowCount:{type:Boolean,default:void 0},swiper:{type:Object},url:{type:String},routableModals:{type:Boolean,default:!0},virtualSlides:{type:Boolean,default:!0},view:[String,Object],renderNavbar:Function,renderToolbar:Function,renderCaption:Function,renderObject:Function,renderLazyPhoto:Function,renderPhoto:Function,renderPage:Function,renderPopup:Function,renderStandalone:Function},render:function(){this.$createElement;return null},watch:{"props.photos":function(e){var t=this.f7PhotoBrowser;t&&(this.f7PhotoBrowser.params.photos=e,t.opened&&t.swiper&&t.swiper.update())}},beforeDestroy:function(){this.f7PhotoBrowser&&this.f7PhotoBrowser.destroy&&this.f7PhotoBrowser.destroy()},mounted:function(){var e=this;e.props.init&&e.$f7ready((function(o){var n;n=void 0!==e.props.params?e.props.params:Object.assign({},e.props),Object.keys(n).forEach((function(e){void 0!==n[e]&&""!==n[e]||delete n[e]})),n=t.extend({},n,{on:{open:function(){e.dispatchEvent("photobrowser:open photoBrowserOpen")},close:function(){e.dispatchEvent("photobrowser:close photoBrowserClose")},opened:function(){e.dispatchEvent("photobrowser:opened photoBrowserOpened")},closed:function(){e.dispatchEvent("photobrowser:closed photoBrowserClosed")},swipeToClose:function(){e.dispatchEvent("photobrowser:swipetoclose photoBrowserSwipeToClose")}}}),e.f7PhotoBrowser=o.photoBrowser.create(n)}))},methods:{open:function(e){return this.f7PhotoBrowser.open(e)},close:function(){return this.f7PhotoBrowser.close()},expositionToggle:function(){return this.f7PhotoBrowser.expositionToggle()},expositionEnable:function(){return this.f7PhotoBrowser.expositionEnable()},expositionDisable:function(){return this.f7PhotoBrowser.expositionDisable()},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return n(this)}}},ke={name:"f7-popover",props:Object.assign({id:[String,Number],opened:Boolean,target:[String,Object],backdrop:Boolean,backdropEl:[String,Object,window.HTMLElement],closeByBackdropClick:Boolean,closeByOutsideClick:Boolean,closeOnEscape:Boolean},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id;return e("div",{ref:"el",style:n.style,class:t.classNames(s,"popover",o.colorClasses(n)),attrs:{id:i}},[e("div",{class:"popover-angle"}),e("div",{class:"popover-inner"},[this.$slots.default])])},watch:{"props.opened":function(e){this.f7Popover&&(e?this.f7Popover.open():this.f7Popover.close())}},created:function(){t.bindMethods(this,["onOpen","onOpened","onClose","onClosed"])},mounted:function(){var e=this,t=e.$refs.el;if(t){var o=e.props,n=o.target,s=o.opened,i=o.backdrop,a=o.backdropEl,r=o.closeByBackdropClick,l=o.closeByOutsideClick,c=o.closeOnEscape,p={el:t,on:{open:e.onOpen,opened:e.onOpened,close:e.onClose,closed:e.onClosed}};n&&(p.targetEl=n);var d=e.$options.propsData;void 0!==d.closeByBackdropClick&&(p.closeByBackdropClick=r),void 0!==d.closeByOutsideClick&&(p.closeByOutsideClick=l),void 0!==d.closeOnEscape&&(p.closeOnEscape=c),void 0!==d.backdrop&&(p.backdrop=i),void 0!==d.backdropEl&&(p.backdropEl=a),e.$f7ready((function(){e.f7Popover=e.$f7.popover.create(p),s&&n&&e.f7Popover.open(n,!1)}))}},beforeDestroy:function(){this.f7Popover&&this.f7Popover.destroy()},methods:{onOpen:function(e){this.dispatchEvent("popover:open popoverOpen",e)},onOpened:function(e){this.dispatchEvent("popover:opened popoverOpened",e)},onClose:function(e){this.dispatchEvent("popover:close popoverClose",e)},onClosed:function(e){this.dispatchEvent("popover:closed popoverClosed",e)},open:function(e){if(this.f7Popover)return this.f7Popover.open(e)},close:function(e){if(this.f7Popover)return this.f7Popover.close(e)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return n(this)}}},Be={name:"f7-popup",props:Object.assign({id:[String,Number],tabletFullscreen:Boolean,opened:Boolean,animate:Boolean,backdrop:Boolean,backdropEl:[String,Object,window.HTMLElement],closeByBackdropClick:Boolean,closeOnEscape:Boolean,swipeToClose:{type:[Boolean,String],default:!1},swipeHandler:[String,Object,window.HTMLElement],push:Boolean},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id,a=n.style,r=n.tabletFullscreen,l=n.push;return e("div",{ref:"el",style:a,class:t.classNames(s,"popup",{"popup-tablet-fullscreen":r,"popup-push":l},o.colorClasses(n)),attrs:{id:i}},[this.$slots.default])},watch:{"props.opened":function(e){this.f7Popup&&(e?this.f7Popup.open():this.f7Popup.close())}},created:function(){t.bindMethods(this,["onOpen","onOpened","onClose","onClosed"])},mounted:function(){var e=this,t=e.$refs.el;if(t){var o=e.props,n=o.closeByBackdropClick,s=o.backdrop,i=o.backdropEl,a=o.animate,r=o.closeOnEscape,l=o.swipeToClose,c=o.swipeHandler,p={el:t,on:{open:e.onOpen,opened:e.onOpened,close:e.onClose,closed:e.onClosed}},d=e.$options.propsData;void 0!==d.closeByBackdropClick&&(p.closeByBackdropClick=n),void 0!==d.closeOnEscape&&(p.closeOnEscape=r),void 0!==d.animate&&(p.animate=a),void 0!==d.backdrop&&(p.backdrop=s),void 0!==d.backdropEl&&(p.backdropEl=i),void 0!==d.swipeToClose&&(p.swipeToClose=l),void 0!==d.swipeHandler&&(p.swipeHandler=c),e.$f7ready((function(){e.f7Popup=e.$f7.popup.create(p),e.props.opened&&e.f7Popup.open(!1)}))}},beforeDestroy:function(){this.f7Popup&&this.f7Popup.destroy()},methods:{onOpen:function(e){this.dispatchEvent("popup:open popupOpen",e)},onOpened:function(e){this.dispatchEvent("popup:opened popupOpened",e)},onClose:function(e){this.dispatchEvent("popup:close popupClose",e)},onClosed:function(e){this.dispatchEvent("popup:closed popupClosed",e)},open:function(e){if(this.f7Popup)return this.f7Popup.open(e)},close:function(e){if(this.f7Popup)return this.f7Popup.close(e)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return n(this)}}},Ce={name:"f7-progressbar",props:Object.assign({id:[String,Number],progress:Number,infinite:Boolean},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.progress,i=n.id,a=n.style,r=n.infinite,l=n.className,c={transform:s?"translate3d("+(-100+s)+"%, 0, 0)":"",WebkitTransform:s?"translate3d("+(-100+s)+"%, 0, 0)":""};return e("span",{ref:"el",style:a,class:t.classNames(l,"progressbar",{"progressbar-infinite":r},o.colorClasses(n)),attrs:{id:i,"data-progress":s}},[e("span",{style:c})])},methods:{set:function(e,t){this.$f7&&this.$f7.progressbar.set(this.$refs.el,e,t)}},computed:{props:function(){return n(this)}}},$e={name:"f7-radio",props:Object.assign({id:[String,Number],checked:Boolean,name:[Number,String],value:[Number,String,Boolean],disabled:Boolean,readonly:Boolean,defaultChecked:Boolean},o.colorProps),render:function(){var e,n=this.$createElement,s=this.props,i=s.name,a=s.value,r=s.disabled,l=s.readonly,c=s.checked,p=(s.defaultChecked,s.id),d=s.style,u=s.className;e=n("input",{ref:"inputEl",domProps:{value:a,disabled:r,readonly:l,checked:c},on:{change:this.onChange},attrs:{type:"radio",name:i}});var h=n("i",{class:"icon-radio"});return n("label",{style:d,class:t.classNames(u,"radio",{disabled:r},o.colorClasses(s)),attrs:{id:p}},[e,h,this.$slots.default])},created:function(){t.bindMethods(this,["onChange"])},methods:{onChange:function(e){this.dispatchEvent("change",e)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return n(this)}}},we={name:"f7-row",props:Object.assign({id:[String,Number],noGap:Boolean,tag:{type:String,default:"div"},resizable:Boolean,resizableFixed:Boolean,resizableAbsolute:Boolean,resizableHandler:{type:Boolean,default:!0}},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id,a=n.style,r=n.tag,l=n.noGap,c=n.resizable,p=n.resizableFixed,d=n.resizableAbsolute,u=n.resizableHandler;return e(r,{style:a,class:t.classNames(s,"row",{"no-gap":l,resizable:c,"resizable-fixed":p,"resizable-absolute":d},o.colorClasses(n)),ref:"el",attrs:{id:i}},[this.$slots.default,c&&u&&e("span",{class:"resize-handler"})])},created:function(){t.bindMethods(this,["onClick","onResize"])},mounted:function(){var e=this;e.eventTargetEl=e.$refs.el,e.eventTargetEl.addEventListener("click",e.onClick),e.$f7ready((function(t){t.on("gridResize",e.onResize)}))},beforeDestroy:function(){var e=this.$refs.el;e&&this.$f7&&(e.removeEventListener("click",this.onClick),this.$f7.off("gridResize",this.onResize),delete this.eventTargetEl)},methods:{onClick:function(e){this.dispatchEvent("click",e)},onResize:function(e){e===this.eventTargetEl&&this.dispatchEvent("grid:resize gridResize")},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return n(this)}}},Oe={name:"f7-searchbar",props:Object.assign({id:[String,Number],noShadow:Boolean,noHairline:Boolean,form:{type:Boolean,default:!0},placeholder:{type:String,default:"Search"},disableButton:{type:Boolean,default:!0},disableButtonText:{type:String,default:"Cancel"},clearButton:{type:Boolean,default:!0},value:[String,Number,Array],inputEvents:{type:String,default:"change input compositionend"},expandable:Boolean,inline:Boolean,searchContainer:[String,Object],searchIn:{type:String,default:".item-title"},searchItem:{type:String,default:"li"},searchGroup:{type:String,default:".list-group"},searchGroupTitle:{type:String,default:".item-divider, .list-group-title"},foundEl:{type:[String,Object],default:".searchbar-found"},notFoundEl:{type:[String,Object],default:".searchbar-not-found"},backdrop:{type:Boolean,default:void 0},backdropEl:[String,Object],hideOnEnableEl:{type:[String,Object],default:".searchbar-hide-on-enable"},hideOnSearchEl:{type:[String,Object],default:".searchbar-hide-on-search"},ignore:{type:String,default:".searchbar-ignore"},customSearch:{type:Boolean,default:!1},removeDiacritics:{type:Boolean,default:!1},hideDividers:{type:Boolean,default:!0},hideGroups:{type:Boolean,default:!0},init:{type:Boolean,default:!0}},o.colorProps),render:function(){var e,n,s=this.$createElement,i=this.props,a=i.placeholder,r=i.clearButton,l=i.disableButton,c=i.disableButtonText,p=i.form,d=i.noShadow,u=i.noHairline,h=i.expandable,f=i.className,m=i.style,v=i.id,g=i.value,b=i.inline;r&&(e=s("span",{ref:"clearEl",class:"input-clear-button"})),l&&(n=s("span",{ref:"disableEl",class:"searchbar-disable-button"},[c]));var y,S=p?"form":"div",E=t.classNames(f,"searchbar",{"searchbar-inline":b,"no-shadow":d,"no-hairline":u,"searchbar-expandable":h},o.colorClasses(i));return y=s("input",{ref:"inputEl",domProps:{value:g},on:{input:this.onInput,change:this.onChange,focus:this.onFocus,blur:this.onBlur},attrs:{placeholder:a,type:"search"}}),s(S,{ref:"el",style:m,class:E,attrs:{id:v}},[this.$slots["before-inner"],s("div",{class:"searchbar-inner"},[this.$slots["inner-start"],s("div",{class:"searchbar-input-wrap"},[this.$slots["input-wrap-start"],y,s("i",{class:"searchbar-icon"}),e,this.$slots["input-wrap-end"]]),n,this.$slots["inner-end"],this.$slots.default]),this.$slots["after-inner"]])},created:function(){t.bindMethods(this,["onSubmit","onClearButtonClick","onDisableButtonClick","onInput","onChange","onFocus","onBlur"])},mounted:function(){var e=this,o=e.props,n=o.init,s=o.inputEvents,i=o.searchContainer,a=o.searchIn,r=o.searchItem,l=o.searchGroup,c=o.searchGroupTitle,p=o.hideOnEnableEl,d=o.hideOnSearchEl,u=o.foundEl,h=o.notFoundEl,f=o.backdrop,m=o.backdropEl,v=o.disableButton,g=o.ignore,b=o.customSearch,y=o.removeDiacritics,S=o.hideDividers,E=o.hideGroups,k=o.form,B=o.expandable,C=o.inline,$=e.$refs,w=$.el,O=$.clearEl,P=$.disableEl;k&&w&&w.addEventListener("submit",e.onSubmit,!1),O&&O.addEventListener("click",e.onClearButtonClick),P&&P.addEventListener("click",e.onDisableButtonClick),n&&e.$f7ready((function(){var o=t.noUndefinedProps({el:e.$refs.el,inputEvents:s,searchContainer:i,searchIn:a,searchItem:r,searchGroup:l,searchGroupTitle:c,hideOnEnableEl:p,hideOnSearchEl:d,foundEl:u,notFoundEl:h,backdrop:f,backdropEl:m,disableButton:v,ignore:g,customSearch:b,removeDiacritics:y,hideDividers:S,hideGroups:E,expandable:B,inline:C,on:{search:function(t,o,n){e.dispatchEvent("searchbar:search searchbarSearch",t,o,n)},clear:function(t,o){e.dispatchEvent("searchbar:clear searchbarClear",t,o)},enable:function(t){e.dispatchEvent("searchbar:enable searchbarEnable",t)},disable:function(t){e.dispatchEvent("searchbar:disable searchbarDisable",t)}}});Object.keys(o).forEach((function(e){""===o[e]&&delete o[e]})),e.f7Searchbar=e.$f7.searchbar.create(o)}))},beforeDestroy:function(){var e=this.$refs,t=e.el,o=e.clearEl,n=e.disableEl;this.props.form&&t&&t.removeEventListener("submit",this.onSubmit,!1),o&&o.removeEventListener("click",this.onClearButtonClick),n&&n.removeEventListener("click",this.onDisableButtonClick),this.f7Searchbar&&this.f7Searchbar.destroy&&this.f7Searchbar.destroy()},methods:{search:function(e){if(this.f7Searchbar)return this.f7Searchbar.search(e)},enable:function(){if(this.f7Searchbar)return this.f7Searchbar.enable()},disable:function(){if(this.f7Searchbar)return this.f7Searchbar.disable()},toggle:function(){if(this.f7Searchbar)return this.toggle.disable()},clear:function(){if(this.f7Searchbar)return this.f7Searchbar.clear()},onChange:function(e){this.dispatchEvent("change",e)},onInput:function(e){this.dispatchEvent("input",e)},onFocus:function(e){this.dispatchEvent("focus",e)},onBlur:function(e){this.dispatchEvent("blur",e)},onSubmit:function(e){this.dispatchEvent("submit",e)},onClearButtonClick:function(e){this.dispatchEvent("click:clear clickClear",e)},onDisableButtonClick:function(e){this.dispatchEvent("click:disable clickDisable",e)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return n(this)}}},Pe={name:"f7-segmented",props:Object.assign({id:[String,Number],raised:Boolean,raisedIos:Boolean,raisedMd:Boolean,raisedAurora:Boolean,round:Boolean,roundIos:Boolean,roundMd:Boolean,roundAurora:Boolean,strong:Boolean,strongIos:Boolean,strongMd:Boolean,strongAurora:Boolean,tag:{type:String,default:"div"}},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.raised,a=n.raisedIos,r=n.raisedAurora,l=n.raisedMd,c=n.round,p=n.roundIos,d=n.roundAurora,u=n.roundMd,h=n.strong,f=n.strongIos,m=n.strongMd,v=n.strongAurora,g=n.id,b=n.style;return e(n.tag,{style:b,class:t.classNames(s,{segmented:!0,"segmented-raised":i,"segmented-raised-ios":a,"segmented-raised-aurora":r,"segmented-raised-md":l,"segmented-round":c,"segmented-round-ios":p,"segmented-round-aurora":d,"segmented-round-md":u,"segmented-strong":h,"segmented-strong-ios":f,"segmented-strong-md":m,"segmented-strong-aurora":v},o.colorClasses(n)),attrs:{id:g}},[this.$slots.default])},computed:{props:function(){return n(this)}}},Ne={name:"f7-sheet",props:Object.assign({id:[String,Number],opened:Boolean,top:Boolean,bottom:Boolean,position:String,backdrop:Boolean,backdropEl:[String,Object,window.HTMLElement],closeByBackdropClick:Boolean,closeByOutsideClick:Boolean,closeOnEscape:Boolean,push:Boolean,swipeToClose:Boolean,swipeToStep:Boolean,swipeHandler:[String,Object,window.HTMLElement]},o.colorProps),render:function(){var e,n=this.$createElement,s=[],i=[],a=this.props,r=a.id,l=a.style,c=a.className,p=a.top,d=a.bottom,u=a.position,h=a.push;e="navbar toolbar tabbar subnavbar searchbar messagebar fab list-index".split(" ");var f=this.$slots.default;f&&f.length&&f.forEach((function(t){if(void 0!==t){var o=!1,n=t.tag;if(n){for(var a=0;a=0&&(o=!0);o?s.push(t):i.push(t)}}}));var m=n("div",{class:"sheet-modal-inner"},[i]),v="bottom";return u?v=u:p?v="top":d&&(v="bottom"),n("div",{ref:"el",style:l,class:t.classNames(c,"sheet-modal","sheet-modal-"+v,{"sheet-modal-push":h},o.colorClasses(a)),attrs:{id:r}},[s,m])},watch:{"props.opened":function(e){this.f7Sheet&&(e?this.f7Sheet.open():this.f7Sheet.close())}},created:function(){t.bindMethods(this,["onOpen","onOpened","onClose","onClosed","onStepOpen","onStepClose","onStepProgress"])},mounted:function(){var e=this;if(e.$refs.el){var t=e.props,o=t.opened,n=t.backdrop,s=t.backdropEl,i=t.closeByBackdropClick,a=t.closeByOutsideClick,r=t.closeOnEscape,l=t.swipeToClose,c=t.swipeToStep,p=t.swipeHandler,d={el:e.$refs.el,on:{open:e.onOpen,opened:e.onOpened,close:e.onClose,closed:e.onClosed,stepOpen:e.onStepOpen,stepClose:e.onStepClose,stepProgress:e.onStepProgress}},u=e.$options.propsData;void 0!==u.backdrop&&(d.backdrop=n),void 0!==u.backdropEl&&(d.backdropEl=s),void 0!==u.closeByBackdropClick&&(d.closeByBackdropClick=i),void 0!==u.closeByOutsideClick&&(d.closeByOutsideClick=a),void 0!==u.closeOnEscape&&(d.closeOnEscape=r),void 0!==u.swipeToClose&&(d.swipeToClose=l),void 0!==u.swipeToStep&&(d.swipeToStep=c),void 0!==u.swipeHandler&&(d.swipeHandler=p),e.$f7ready((function(){e.f7Sheet=e.$f7.sheet.create(d),o&&e.f7Sheet.open(!1)}))}},beforeDestroy:function(){this.f7Sheet&&this.f7Sheet.destroy()},methods:{onStepProgress:function(e,t){this.dispatchEvent("sheet:stepprogress sheetStepProgress",e,t)},onStepOpen:function(e){this.dispatchEvent("sheet:stepopen sheetStepOpen",e)},onStepClose:function(e){this.dispatchEvent("sheet:stepclose sheetStepClose",e)},onOpen:function(e){this.dispatchEvent("sheet:open sheetOpen",e)},onOpened:function(e){this.dispatchEvent("sheet:opened sheetOpened",e)},onClose:function(e){this.dispatchEvent("sheet:close sheetClose",e)},onClosed:function(e){this.dispatchEvent("sheet:closed sheetClosed",e)},open:function(e){if(this.f7Sheet)return this.f7Sheet.open(e)},close:function(e){if(this.f7Sheet)return this.f7Sheet.close(e)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return n(this)}}},xe={name:"f7-skeleton-block",props:Object.assign({id:[String,Number],width:[Number,String],height:[Number,String],tag:{type:String,default:"div"}},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id,a=n.style,r=n.width,l=n.height,c=n.tag,p=t.classNames("skeleton-block",s,o.colorClasses(n)),d=a;if(r){var u="number"==typeof r?r+"px":r;d?"object"==typeof d?d=Object.assign({width:u},d):"string"==typeof d&&(d="width: "+u+"; "+d):d={width:u}}if(l){var h="number"==typeof l?l+"px":l;d?"object"==typeof d?d=Object.assign({height:h},d):"string"==typeof d&&(d="height: "+h+"; "+d):d={height:h}}return e(c,{style:d,class:p,attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return n(this)}}},Te={name:"f7-skeleton-text",props:Object.assign({id:[String,Number],width:[Number,String],height:[Number,String],tag:{type:String,default:"span"}},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id,a=n.style,r=n.width,l=n.height,c=n.tag,p=t.classNames("skeleton-text",s,o.colorClasses(n)),d=a;if(r){var u="number"==typeof r?r+"px":r;d?"object"==typeof d?d=Object.assign({width:u},d):"string"==typeof d&&(d="width: "+u+"; "+d):d={width:u}}if(l){var h="number"==typeof l?l+"px":l;d?"object"==typeof d?d=Object.assign({height:h},d):"string"==typeof d&&(d="height: "+h+"; "+d):d={height:h}}return e(c,{style:d,class:p,attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return n(this)}}},Me={name:"f7-stepper",props:Object.assign({id:[String,Number],init:{type:Boolean,default:!0},value:{type:Number,default:0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},formatValue:Function,name:String,inputId:String,input:{type:Boolean,default:!0},inputType:{type:String,default:"text"},inputReadonly:{type:Boolean,default:!1},autorepeat:{type:Boolean,default:!1},autorepeatDynamic:{type:Boolean,default:!1},wraps:{type:Boolean,default:!1},manualInputMode:{type:Boolean,default:!1},decimalPoint:{type:Number,default:4},buttonsEndInputMode:{type:Boolean,default:!0},disabled:Boolean,buttonsOnly:Boolean,round:Boolean,roundMd:Boolean,roundIos:Boolean,roundAurora:Boolean,fill:Boolean,fillMd:Boolean,fillIos:Boolean,fillAurora:Boolean,large:Boolean,largeMd:Boolean,largeIos:Boolean,largeAurora:Boolean,small:Boolean,smallMd:Boolean,smallIos:Boolean,smallAurora:Boolean,raised:Boolean,raisedMd:Boolean,raisedIos:Boolean,raisedAurora:Boolean},o.colorProps),render:function(){var e,t,o,n=this.$createElement,s=this.props,i=s.input,a=s.buttonsOnly,r=s.inputType,l=s.value,c=s.inputReadonly,p=s.min,d=s.max,u=s.step,h=s.id,f=s.style,m=s.name,v=s.inputId;i&&!a&&(o=n("input",{ref:"inputEl",domProps:{readOnly:c,value:l},on:{input:this.onInput,change:this.onChange},attrs:{name:m,id:v,type:r,min:"number"===r?p:void 0,max:"number"===r?d:void 0,step:"number"===r?u:void 0}}),e=n("div",{class:"stepper-input-wrap"},[o]));return i||a||(t=n("div",{class:"stepper-value"},[l])),n("div",{ref:"el",style:f,class:this.classes,attrs:{id:h}},[n("div",{ref:"minusEl",class:"stepper-button-minus"}),e,t,n("div",{ref:"plusEl",class:"stepper-button-plus"})])},computed:{classes:function(){var e=this.props,n=e.round,s=e.roundIos,i=e.roundMd,a=e.roundAurora,r=e.fill,l=e.fillIos,c=e.fillMd,p=e.fillAurora,d=e.large,u=e.largeIos,h=e.largeMd,f=e.largeAurora,m=e.small,v=e.smallIos,g=e.smallMd,b=e.smallAurora,y=e.raised,S=e.raisedMd,E=e.raisedIos,k=e.raisedAurora,B=e.disabled;return t.classNames(this.props.className,"stepper",{disabled:B,"stepper-round":n,"stepper-round-ios":s,"stepper-round-md":i,"stepper-round-aurora":a,"stepper-fill":r,"stepper-fill-ios":l,"stepper-fill-md":c,"stepper-fill-aurora":p,"stepper-large":d,"stepper-large-ios":u,"stepper-large-md":h,"stepper-large-aurora":f,"stepper-small":m,"stepper-small-ios":v,"stepper-small-md":g,"stepper-small-aurora":b,"stepper-raised":y,"stepper-raised-ios":E,"stepper-raised-md":S,"stepper-raised-aurora":k},o.colorClasses(e))},props:function(){return n(this)}},created:function(){t.bindMethods(this,["onInput","onMinusClick","onPlusClick"])},mounted:function(){var e=this,o=e.$refs,n=o.minusEl,s=o.plusEl;n&&n.addEventListener("click",e.onMinusClick),s&&s.addEventListener("click",e.onPlusClick),e.props.init&&e.$f7ready((function(o){var n=e.props,s=n.min,i=n.max,a=n.value,r=n.step,l=n.formatValue,c=n.autorepeat,p=n.autorepeatDynamic,d=n.wraps,u=n.manualInputMode,h=n.decimalPoint,f=n.buttonsEndInputMode,m=e.$refs.el;m&&(e.f7Stepper=o.stepper.create(t.noUndefinedProps({el:m,min:s,max:i,value:a,step:r,formatValue:l,autorepeat:c,autorepeatDynamic:p,wraps:d,manualInputMode:u,decimalPoint:h,buttonsEndInputMode:f,on:{change:function(t,o){e.dispatchEvent("stepper:change stepperChange",o)}}})))}))},beforeDestroy:function(){var e=this.$refs,t=e.minusEl,o=e.plusEl;t&&t.removeEventListener("click",this.onMinusClick),o&&o.removeEventListener("click",this.onPlusClick),this.props.init&&this.f7Stepper&&this.f7Stepper.destroy&&this.f7Stepper.destroy()},methods:{increment:function(){this.f7Stepper&&this.f7Stepper.increment()},decrement:function(){this.f7Stepper&&this.f7Stepper.decrement()},setValue:function(e){this.f7Stepper&&this.f7Stepper.setValue&&this.f7Stepper.setValue(e)},getValue:function(){if(this.f7Stepper&&this.f7Stepper.getValue)return this.f7Stepper.getValue()},onInput:function(e){var t=this.f7Stepper;this.dispatchEvent("input",e,t)},onChange:function(e){var t=this.f7Stepper;this.dispatchEvent("change",e,t)},onMinusClick:function(e){var t=this.f7Stepper;this.dispatchEvent("stepper:minusclick stepperMinusClick",e,t)},onPlusClick:function(e){var t=this.f7Stepper;this.dispatchEvent("stepper:plusclick stepperPlusClick",e,t)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}}},Le={name:"f7-subnavbar",props:Object.assign({id:[String,Number],sliding:Boolean,title:String,inner:{type:Boolean,default:!0}},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.inner,i=n.title,a=n.style,r=n.id,l=n.className,c=n.sliding;return e("div",{class:t.classNames(l,"subnavbar",{sliding:c},o.colorClasses(n)),style:a,attrs:{id:r}},[s?e("div",{class:"subnavbar-inner"},[i&&e("div",{class:"subnavbar-title"},[i]),this.$slots.default]):this.$slots.default])},computed:{props:function(){return n(this)}}},Ie={name:"f7-swipeout-actions",props:Object.assign({id:[String,Number],left:Boolean,right:Boolean,side:String},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.left,i=n.right,a=n.side,r=n.className,l=n.id,c=a;return c||(s&&(c="left"),i&&(c="right")),e("div",{style:n.style,class:t.classNames(r,"swipeout-actions-"+c,o.colorClasses(n)),attrs:{id:l}},[this.$slots.default])},computed:{props:function(){return n(this)}}},Ae={name:"f7-swipeout-button",props:Object.assign({id:[String,Number],text:String,confirmTitle:String,confirmText:String,overswipe:Boolean,close:Boolean,delete:Boolean,href:String},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id,a=n.style,r=n.overswipe,l=n.delete,c=n.close,p=n.href,d=n.confirmTitle,u=n.confirmText,h=n.text;return e("a",{ref:"el",style:a,class:t.classNames(s,{"swipeout-overswipe":r,"swipeout-delete":l,"swipeout-close":c},o.colorClasses(n)),attrs:{href:p||"#",id:i,"data-confirm":u||void 0,"data-confirm-title":d||void 0}},[this.$slots.default||[h]])},created:function(){t.bindMethods(this,["onClick"])},mounted:function(){this.$refs.el.addEventListener("click",this.onClick)},beforeDestroy:function(){this.$refs.el.removeEventListener("click",this.onClick)},methods:{onClick:function(e){this.dispatchEvent("click",e)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}},computed:{props:function(){return n(this)}}},De={name:"f7-swiper-slide",props:{id:[String,Number],zoom:Boolean},render:function(){var e=this.$createElement,o=this.props,n=o.className,s=o.id,i=o.style,a=o.zoom;return e("div",{style:i,class:t.classNames(n,"swiper-slide"),attrs:{id:s}},[a?e("div",{class:"swiper-zoom-container"},[this.$slots.default]):this.$slots.default])},computed:{props:function(){return n(this)}}},Re={name:"f7-swiper",props:Object.assign({id:[String,Number],params:Object,pagination:Boolean,scrollbar:Boolean,navigation:Boolean,init:{type:Boolean,default:!0}},o.colorProps),render:function(){var e,n,s,i,a=this.$createElement,r=this.props,l=r.id,c=r.style,p=r.className;return this.paginationComputed&&(e=a("div",{ref:"paginationEl",class:"swiper-pagination"})),this.scrollbarComputed&&(n=a("div",{ref:"scrollbarEl",class:"swiper-scrollbar"})),this.navigationComputed&&(s=a("div",{ref:"nextEl",class:"swiper-button-next"}),i=a("div",{ref:"prevEl",class:"swiper-button-prev"})),a("div",{style:c,ref:"el",class:t.classNames(p,"swiper-container",o.colorClasses(r)),attrs:{id:l}},[this.$slots["before-wrapper"],a("div",{class:"swiper-wrapper"},[this.$slots.default]),e,n,i,s,this.$slots["after-wrapper"]])},computed:{paginationComputed:function(){var e=this.props,t=e.pagination,o=e.params;return!!(!0===t||o&&o.pagination&&!o.pagination.el)},scrollbarComputed:function(){var e=this.props,t=e.scrollbar,o=e.params;return!!(!0===t||o&&o.scrollbar&&!o.scrollbar.el)},navigationComputed:function(){var e=this.props,t=e.navigation,o=e.params;return!(!0!==t&&(!o||!o.navigation||o.navigation.nextEl||o.navigation.prevEl))},props:function(){return n(this)}},updated:function(){this.initialUpdate?this.swiper&&this.swiper.update&&this.swiper.update():this.initialUpdate=!0},mounted:function(){var e=this;e.props.init&&e.$f7ready((function(o){var n={pagination:{},navigation:{},scrollbar:{}},s=e.props,i=s.params,a=s.pagination,r=s.navigation,l=s.scrollbar;i&&t.extend(n,i),a&&!n.pagination.el&&(n.pagination.el=e.$refs.paginationEl),!r||n.navigation.nextEl||n.navigation.prevEl||(n.navigation.nextEl=e.$refs.nextEl,n.navigation.prevEl=e.$refs.prevEl),l&&!n.scrollbar.el&&(n.scrollbar.el=e.$refs.scrollbarEl),e.swiper=o.swiper.create(e.$refs.el,n)}))},beforeDestroy:function(){this.props.init&&this.swiper&&this.swiper.destroy&&this.swiper.destroy()}},je={name:"f7-tab",props:Object.assign({id:[String,Number],tabActive:Boolean},o.colorProps),data:function(){n(this);return{state:{tabContent:null}}},render:function(){var e,n=this.$createElement,s=this.props,i=s.tabActive,a=s.id,r=s.className,l=s.style,c=this.state.tabContent,p=t.classNames(r,"tab",{"tab-active":i},o.colorClasses(s));return c&&(e=c.component),n("div",{style:l,ref:"el",class:p,attrs:{id:a}},[c?n(e,{key:c.id,props:c.props}):this.$slots.default])},created:function(){t.bindMethods(this,["onTabShow","onTabHide"])},updated:function(){this.routerData&&h.events.emit("tabRouterDidUpdate",this.routerData)},beforeDestroy:function(){this.$f7&&(this.$f7.off("tabShow",this.onTabShow),this.$f7.off("tabHide",this.onTabHide)),this.routerData&&(h.routers.tabs.splice(h.routers.tabs.indexOf(this.routerData),1),this.routerData=null,this.eventTargetEl=null,delete this.routerData,delete this.eventTargetEl)},mounted:function(){var e=this,t=e.$refs.el;e.setState({tabContent:null}),e.$f7ready((function(){e.$f7.on("tabShow",e.onTabShow),e.$f7.on("tabHide",e.onTabHide),e.eventTargetEl=t,e.routerData={el:t,component:e,setTabContent:function(t){e.setState({tabContent:t})}},h.routers.tabs.push(e.routerData)}))},methods:{show:function(e){this.$f7&&this.$f7.tab.show(this.$refs.el,e)},onTabShow:function(e){this.eventTargetEl===e&&this.dispatchEvent("tab:show tabShow")},onTabHide:function(e){this.eventTargetEl===e&&this.dispatchEvent("tab:hide tabHide")},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))},setState:function(e,t){f(this,e,t)}},computed:{props:function(){return n(this)}}},ze={name:"f7-tabs",props:Object.assign({id:[String,Number],animated:Boolean,swipeable:Boolean,routable:Boolean,swiperParams:{type:Object,default:void 0}},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.animated,i=n.swipeable,a=n.id,r=n.style,l=n.className,c=n.routable,p=t.classNames(l,o.colorClasses(n)),d=t.classNames({"tabs-animated-wrap":s,"tabs-swipeable-wrap":i}),u=t.classNames({tabs:!0,"tabs-routable":c});return s||i?e("div",{style:r,class:t.classNames(d,p),ref:"wrapEl",attrs:{id:a}},[e("div",{class:u},[this.$slots.default])]):e("div",{style:r,class:t.classNames(u,p),attrs:{id:a}},[this.$slots.default])},mounted:function(){var e=this.props,t=e.swipeable,o=e.swiperParams;if(t&&o){var n=this.$refs.wrapEl;n&&(n.f7SwiperParams=o)}},computed:{props:function(){return n(this)}}},He={name:"f7-toolbar",props:Object.assign({id:[String,Number],tabbar:Boolean,labels:Boolean,scrollable:Boolean,hidden:Boolean,noShadow:Boolean,noHairline:Boolean,noBorder:Boolean,position:{type:String,default:void 0},topMd:{type:Boolean,default:void 0},topIos:{type:Boolean,default:void 0},topAurora:{type:Boolean,default:void 0},top:{type:Boolean,default:void 0},bottomMd:{type:Boolean,default:void 0},bottomIos:{type:Boolean,default:void 0},bottomAurora:{type:Boolean,default:void 0},bottom:{type:Boolean,default:void 0},inner:{type:Boolean,default:!0}},o.colorProps),data:function(){var e=this;n(this);return{state:function(){var t=e,o=t.$f7;return o||t.$f7ready((function(){t.setState({_theme:t.$theme})})),{_theme:o?t.$theme:null}}()}},render:function(){var e=this.$createElement,n=this.props,s=n.id,i=n.style,a=n.className,r=n.inner,l=n.tabbar,c=n.labels,p=n.scrollable,d=n.hidden,u=n.noShadow,h=n.noHairline,f=n.noBorder,m=n.topMd,v=n.topIos,g=n.topAurora,b=n.top,y=n.bottomMd,S=n.bottomIos,E=n.bottomAurora,k=n.bottom,B=n.position,C=this.state._theme;return e("div",{style:i,ref:"el",class:t.classNames(a,"toolbar",{tabbar:l,"toolbar-bottom":C&&C.md&&y||C&&C.ios&&S||C&&C.aurora&&E||k||"bottom"===B,"toolbar-top":C&&C.md&&m||C&&C.ios&&v||C&&C.aurora&&g||b||"top"===B,"tabbar-labels":c,"tabbar-scrollable":p,"toolbar-hidden":d,"no-shadow":u,"no-hairline":h||f},o.colorClasses(n)),attrs:{id:s}},[this.$slots["before-inner"],r?e("div",{class:"toolbar-inner"},[this.$slots.default]):this.$slots.default,this.$slots["after-inner"]])},created:function(){t.bindMethods(this,["onHide","onShow"])},updated:function(){this.props.tabbar&&this.$f7&&this.$f7.toolbar.setHighlight(this.$refs.el)},mounted:function(){var e=this,t=e.$refs.el;t&&e.$f7ready((function(o){e.eventTargetEl=t,e.props.tabbar&&o.toolbar.setHighlight(t),o.on("toolbarShow",e.onShow),o.on("toolbarHide",e.onHide)}))},beforeDestroy:function(){if(this.$refs.el&&this.$f7){var e=this.$f7;e.off("toolbarShow",this.onShow),e.off("toolbarHide",this.onHide),this.eventTargetEl=null,delete this.eventTargetEl}},methods:{onHide:function(e){this.eventTargetEl===e&&this.dispatchEvent("toolbar:hide toolbarHide")},onShow:function(e){this.eventTargetEl===e&&this.dispatchEvent("toolbar:show toolbarShow")},hide:function(e){this.$f7&&this.$f7.toolbar.hide(this.$refs.el,e)},show:function(e){this.$f7&&this.$f7.toolbar.show(this.$refs.el,e)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))},setState:function(e,t){f(this,e,t)}},computed:{props:function(){return n(this)}}},Fe={props:Object.assign({id:[String,Number],toggle:{type:Boolean,default:void 0},itemToggle:Boolean,selectable:Boolean,selected:Boolean,opened:Boolean,label:String,loadChildren:Boolean,link:{type:[Boolean,String],default:void 0}},o.colorProps,{},o.linkActionsProps,{},o.linkRouterProps,{},o.linkIconProps),name:"f7-treeview-item",render:function(){var e,t=this.$createElement,o=this.props,n=o.id,s=o.style,i=o.toggle,a=o.label,r=o.icon,l=o.iconMaterial,c=o.iconF7,p=o.iconMd,d=o.iconIos,u=o.iconAurora,h=o.iconSize,f=o.iconColor,m=o.link,v=this.$slots,g=v.default&&v.default.length||v.children&&v.children.length||v["children-start"]&&v["children-start"].length,b=void 0===i?g:i;(r||l||c||p||d||u)&&(e=t(B,{attrs:{material:l,f7:c,icon:r,md:p,ios:d,aurora:u,color:f,size:h}}));var y=m||""===m?"a":"div";return t("div",{ref:"el",style:s,class:this.classes,attrs:{id:n}},[t(y,C(Object.assign({ref:"rootEl",class:this.itemRootClasses},this.itemRootAttrs)),[this.$slots["root-start"],b&&t("div",{class:"treeview-toggle"}),t("div",{class:"treeview-item-content"},[this.$slots["content-start"],e,this.$slots.media,t("div",{class:"treeview-item-label"},[this.$slots["label-start"],a,this.$slots.label]),this.$slots.content,this.$slots["content-end"]]),this.$slots.root,this.$slots["root-end"]]),g&&t("div",{class:"treeview-item-children"},[this.$slots["children-start"],this.$slots.default,this.$slots.children])])},computed:{itemRootAttrs:function(){var e=this.props,n=e.link,s=n;return!0===n&&(s="#"),!1===n&&(s=void 0),t.extend({href:s},o.linkRouterAttrs(e),o.linkActionsAttrs(e))},itemRootClasses:function(){var e=this.props,n=e.selectable,s=e.selected,i=e.itemToggle;return t.classNames("treeview-item-root",{"treeview-item-selectable":n,"treeview-item-selected":s,"treeview-item-toggle":i},o.linkRouterClasses(e),o.linkActionsClasses(e))},classes:function(){var e=this.props,n=e.className,s=e.opened,i=e.loadChildren;return t.classNames(n,"treeview-item",{"treeview-item-opened":s,"treeview-load-children":i},o.colorClasses(e))},props:function(){return n(this)}},created:function(){t.bindMethods(this,["onClick","onOpen","onClose","onLoadChildren"])},mounted:function(){var e=this,t=e.$refs,o=t.el;t.rootEl.addEventListener("click",e.onClick),o&&(e.eventTargetEl=o,e.$f7ready((function(t){t.on("treeviewOpen",e.onOpen),t.on("treeviewClose",e.onClose),t.on("treeviewLoadChildren",e.onLoadChildren)})))},beforeDestroy:function(){var e=this.$refs,t=e.el;e.rootEl.removeEventListener("click",this.onClick),t&&!this.$f7&&(this.$f7.off("treeviewOpen",this.onOpen),this.$f7.off("treeviewClose",this.onClose),this.$f7.off("treeviewLoadChildren",this.onLoadChildren),this.eventTargetEl=null,delete this.eventTargetEl)},methods:{onClick:function(e){this.dispatchEvent("click",e)},onOpen:function(e){this.eventTargetEl===e&&this.dispatchEvent("treeview:open treeviewOpen",e)},onClose:function(e){this.eventTargetEl===e&&this.dispatchEvent("treeview:close treeviewClose",e)},onLoadChildren:function(e,t){this.eventTargetEl===e&&this.dispatchEvent("treeview:loadchildren treeviewLoadChildren",e,t)},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))}}},Ve={props:Object.assign({id:[String,Number]},o.colorProps),name:"f7-treeview",render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id;return e("div",{style:n.style,class:t.classNames(s,"treeview",o.colorClasses(n)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return n(this)}}},Ue={name:"f7-view",props:Object.assign({id:[String,Number],tab:Boolean,tabActive:Boolean,name:String,router:Boolean,linksView:[Object,String],url:String,main:Boolean,stackPages:Boolean,xhrCache:Boolean,xhrCacheIgnore:Array,xhrCacheIgnoreGetParameters:Boolean,xhrCacheDuration:Number,preloadPreviousPage:Boolean,allowDuplicateUrls:Boolean,reloadPages:Boolean,reloadDetail:Boolean,masterDetailBreakpoint:Number,removeElements:Boolean,removeElementsWithTimeout:Boolean,removeElementsTimeout:Number,restoreScrollTopOnBack:Boolean,loadInitialPage:Boolean,iosSwipeBack:Boolean,iosSwipeBackAnimateShadow:Boolean,iosSwipeBackAnimateOpacity:Boolean,iosSwipeBackActiveArea:Number,iosSwipeBackThreshold:Number,mdSwipeBack:Boolean,mdSwipeBackAnimateShadow:Boolean,mdSwipeBackAnimateOpacity:Boolean,mdSwipeBackActiveArea:Number,mdSwipeBackThreshold:Number,auroraSwipeBack:Boolean,auroraSwipeBackAnimateShadow:Boolean,auroraSwipeBackAnimateOpacity:Boolean,auroraSwipeBackActiveArea:Number,auroraSwipeBackThreshold:Number,pushState:Boolean,pushStateRoot:String,pushStateAnimate:Boolean,pushStateAnimateOnLoad:Boolean,pushStateSeparator:String,pushStateOnLoad:Boolean,animate:Boolean,transition:String,iosDynamicNavbar:Boolean,iosAnimateNavbarBackIcon:Boolean,materialPageLoadDelay:Number,passRouteQueryToRequest:Boolean,passRouteParamsToRequest:Boolean,routes:Array,routesAdd:Array,routesBeforeEnter:[Function,Array],routesBeforeLeave:[Function,Array],init:{type:Boolean,default:!0}},o.colorProps),data:function(){n(this);return{state:{pages:[]}}},render:function(){var e=this.$createElement,n=this.props,s=n.id,i=n.style,a=n.tab,r=n.main,l=n.tabActive,c=n.className,p=t.classNames(c,"view",{"view-main":r,"tab-active":l,tab:a},o.colorClasses(n));return e("div",{ref:"el",style:i,class:p,attrs:{id:s}},[this.$slots.default,this.state.pages.map((function(t){var o=t.component;return e(o,{key:t.id,props:t.props})}))])},created:function(){t.bindMethods(this,["onSwipeBackMove","onSwipeBackBeforeChange","onSwipeBackAfterChange","onSwipeBackBeforeReset","onSwipeBackAfterReset","onTabShow","onTabHide","onViewInit"])},mounted:function(){var e=this,o=e.$refs.el;e.$f7ready((function(n){n.on("tabShow",e.onTabShow),n.on("tabHide",e.onTabHide),e.routerData={el:o,component:e,pages:e.state.pages,instance:null,setPages:function(t){e.setState({pages:t})}},h.routers.views.push(e.routerData),e.props.init&&(e.routerData.instance=n.views.create(o,Object.assign({on:{init:e.onViewInit}},t.noUndefinedProps(e.$options.propsData||{}))),e.f7View=e.routerData.instance,e.f7View.on("swipebackMove",e.onSwipeBackMove),e.f7View.on("swipebackBeforeChange",e.onSwipeBackBeforeChange),e.f7View.on("swipebackAfterChange",e.onSwipeBackAfterChange),e.f7View.on("swipebackBeforeReset",e.onSwipeBackBeforeReset),e.f7View.on("swipebackAfterReset",e.onSwipeBackAfterReset))}))},beforeDestroy:function(){h.instance&&(h.instance.off("tabShow",this.onTabShow),h.instance.off("tabHide",this.onTabHide)),this.f7View&&(this.f7View.off("swipebackMove",this.onSwipeBackMove),this.f7View.off("swipebackBeforeChange",this.onSwipeBackBeforeChange),this.f7View.off("swipebackAfterChange",this.onSwipeBackAfterChange),this.f7View.off("swipebackBeforeReset",this.onSwipeBackBeforeReset),this.f7View.off("swipebackAfterReset",this.onSwipeBackAfterReset),this.f7View.destroy&&this.f7View.destroy()),h.routers.views.splice(h.routers.views.indexOf(this.routerData),1),this.routerData=null,delete this.routerData},updated:function(){this.routerData&&h.events.emit("viewRouterDidUpdate",this.routerData)},methods:{onViewInit:function(e){this.dispatchEvent("view:init viewInit",e),this.props.init||(this.routerData.instance=e,this.f7View=this.routerData.instance)},onSwipeBackMove:function(e){var t=e;this.dispatchEvent("swipeback:move swipeBackMove",t)},onSwipeBackBeforeChange:function(e){var t=e;this.dispatchEvent("swipeback:beforechange swipeBackBeforeChange",t)},onSwipeBackAfterChange:function(e){var t=e;this.dispatchEvent("swipeback:afterchange swipeBackAfterChange",t)},onSwipeBackBeforeReset:function(e){var t=e;this.dispatchEvent("swipeback:beforereset swipeBackBeforeReset",t)},onSwipeBackAfterReset:function(e){var t=e;this.dispatchEvent("swipeback:afterreset swipeBackAfterReset",t)},onTabShow:function(e){e===this.$refs.el&&this.dispatchEvent("tab:show tabShow")},onTabHide:function(e){e===this.$refs.el&&this.dispatchEvent("tab:hide tabHide")},dispatchEvent:function(e){for(var t=[],o=arguments.length-1;o-- >0;)t[o]=arguments[o+1];i.apply(void 0,[this,e].concat(t))},setState:function(e,t){f(this,e,t)}},computed:{props:function(){return n(this)}}},_e={name:"f7-views",props:Object.assign({id:[String,Number],tabs:Boolean},o.colorProps),render:function(){var e=this.$createElement,n=this.props,s=n.className,i=n.id,a=n.style,r=n.tabs;return e("div",{style:a,class:t.classNames(s,"views",{tabs:r},o.colorClasses(n)),attrs:{id:i}},[this.$slots.default])},computed:{props:function(){return n(this)}}},qe=0,Ge={proto:{pageComponentLoader:function(e,o,n,s,i,a){var r,l=e;if(h.routers.views.forEach((function(t){t.el&&t.el===e&&(r=t)})),r){var c,p={component:o,id:t.now()+"_"+(qe+=1),props:t.extend({f7route:s.route,$f7route:s.route,f7router:this,$f7router:this},s.route.params,s.props||{})};r.component&&(r.component.$f7router=this,r.component.$f7route=s.route),h.events.on("viewRouterDidUpdate",(function e(t){if(t===r&&!c){h.events.off("viewRouterDidUpdate",e);var o=l.children[l.children.length-1];p.el=o,i(o),c=!0}})),r.pages.push(p),r.setPages(r.pages)}else a()},removePage:function(e){if(e){var t,o=this;if((t="length"in e?e[0].f7Page:e.f7Page)&&t.route&&t.route.route&&t.route.route.keepAlive)o.app.$(e).remove();else{var n,s,i;if(h.routers.views.forEach((function(e){e.el&&e.el===o.el&&(n=e)})),"length"in e){if(0===e.length)return;s=e[0]}else s=e;if(s)n.pages.forEach((function(e,t){e.el===s&&(i=!0,n.pages.splice(t,1),n.setPages(n.pages))})),i||s.parentNode.removeChild(s)}}},tabComponentLoader:function(e,o,n,s,i,a){var r;if(e||a(),h.routers.tabs.forEach((function(t){t.el&&t.el===e&&(r=t)})),r){var l,c={id:t.now()+"_"+(qe+=1),component:o,props:t.extend({f7route:s.route,$f7route:s.route,f7router:this,$f7router:this},s.route.params,s.props||{})};r.component&&(r.component.$f7router=this,r.component.$f7route=s.route),h.events.on("tabRouterDidUpdate",(function t(o){if(o===r&&!l){h.events.off("tabRouterDidUpdate",t);var n=e.children[0];i(n),l=!0}})),r.setTabContent(c)}else a()},removeTabContent:function(e){if(e){var t;h.routers.tabs.forEach((function(o){o.el&&o.el===e&&(t=o)}));var o=t&&t.component;t&&o?t.setTabContent(null):e.innerHTML=""}},modalComponentLoader:function(e,o,n,s,i,a){var r=h.routers.modals;if(r){var l,c={component:o,id:t.now()+"_"+(qe+=1),props:t.extend({f7route:s.route,$f7route:s.route,f7router:this,$f7router:this},s.route.params,s.props||{})};r.component&&(r.component.$f7router=this,r.component.$f7route=s.route),h.events.on("modalsRouterDidUpdate",(function e(){if(!l){h.events.off("modalsRouterDidUpdate",e);var t=r.el.children[r.el.children.length-1];c.el=t,i(t),l=!0}})),r.modals.push(c),r.setModals(r.modals)}else a()},removeModal:function(e){var t,o=h.routers.modals;o&&(o.modals.forEach((function(o){o.el===e&&(t=o)})),o.modals.splice(o.modals.indexOf(t),1),o.setModals(o.modals))}}};function Ke(e){h.ready(e)}var We={},Ze={name:"phenomePlugin",installed:!1,install:function(t){if(void 0===t&&(t={}),!Ze.installed){Ze.installed=!0;h.Framework7=this,h.events=new this.Events;var o=t.Vue||e;e.component("f7-accordion-content",s),e.component("f7-accordion-item",a),e.component("f7-accordion-toggle",r),e.component("f7-accordion",l),e.component("f7-actions-button",c),e.component("f7-actions-group",p),e.component("f7-actions-label",d),e.component("f7-actions",u),e.component("f7-app",v),e.component("f7-appbar",g),e.component("f7-badge",b),e.component("f7-block-footer",y),e.component("f7-block-header",S),e.component("f7-block-title",E),e.component("f7-block",k),e.component("f7-button",$),e.component("f7-card-content",w),e.component("f7-card-footer",O),e.component("f7-card-header",P),e.component("f7-card",N),e.component("f7-checkbox",x),e.component("f7-chip",T),e.component("f7-col",M),e.component("f7-fab-button",L),e.component("f7-fab-buttons",I),e.component("f7-fab",A),e.component("f7-gauge",D),e.component("f7-icon",B),e.component("f7-input",H),e.component("f7-link",F),e.component("f7-list-button",V),e.component("f7-list-group",U),e.component("f7-list-index",_),e.component("f7-list-input",q),e.component("f7-list-item-cell",G),e.component("f7-list-item-content",K),e.component("f7-list-item-row",W),e.component("f7-list-item",Z),e.component("f7-list",Q),e.component("f7-login-screen-title",J),e.component("f7-login-screen",X),e.component("f7-menu-dropdown-item",Y),e.component("f7-menu-dropdown",ee),e.component("f7-menu-item",te),e.component("f7-menu",oe),e.component("f7-message",ne),e.component("f7-messagebar-attachment",se),e.component("f7-messagebar-attachments",ie),e.component("f7-messagebar-sheet-image",ae),e.component("f7-messagebar-sheet-item",re),e.component("f7-messagebar-sheet",le),e.component("f7-messagebar",ce),e.component("f7-messages-title",pe),e.component("f7-messages",de),e.component("f7-nav-left",ue),e.component("f7-nav-right",he),e.component("f7-nav-title-large",fe),e.component("f7-nav-title",me),e.component("f7-navbar",ve),e.component("f7-page-content",be),e.component("f7-page",ye),e.component("f7-panel",Se),e.component("f7-photo-browser",Ee),e.component("f7-popover",ke),e.component("f7-popup",Be),e.component("f7-preloader",ge),e.component("f7-progressbar",Ce),e.component("f7-radio",$e),e.component("f7-range",j),e.component("f7-routable-modals",m),e.component("f7-row",we),e.component("f7-searchbar",Oe),e.component("f7-segmented",Pe),e.component("f7-sheet",Ne),e.component("f7-skeleton-block",xe),e.component("f7-skeleton-text",Te),e.component("f7-stepper",Me),e.component("f7-subnavbar",Le),e.component("f7-swipeout-actions",Ie),e.component("f7-swipeout-button",Ae),e.component("f7-swiper-slide",De),e.component("f7-swiper",Re),e.component("f7-tab",je),e.component("f7-tabs",ze),e.component("f7-text-editor",z),e.component("f7-toggle",R),e.component("f7-toolbar",He),e.component("f7-treeview-item",Fe),e.component("f7-treeview",Ve),e.component("f7-view",Ue),e.component("f7-views",_e),Object.defineProperty(o.prototype,"$f7",{get:function(){return h.instance}});var n=t.theme;"md"===n&&(We.md=!0),"ios"===n&&(We.ios=!0),"aurora"===n&&(We.aurora=!0),n&&"auto"!==n||(We.ios=!!this.device.ios,We.aurora=this.device.desktop&&this.device.electron,We.md=!We.ios&&!We.aurora),h.ready((function(){We.ios="ios"===h.instance.theme,We.md="md"===h.instance.theme,We.aurora="aurora"===h.instance.theme})),Object.defineProperty(o.prototype,"$theme",{get:function(){return{ios:h.instance?"ios"===h.instance.theme:We.ios,md:h.instance?"md"===h.instance.theme:We.md,aurora:h.instance?"aurora"===h.instance.theme:We.aurora}}}),o.prototype.Dom7=this.$,o.prototype.$$=this.$,o.prototype.$device=this.device,o.prototype.$request=this.request,o.prototype.$utils=this.utils,o.prototype.$f7ready=Ke,Object.defineProperty(o.prototype,"$f7route",{get:function(){var e;if(this.props&&this.props.f7route)return this.props.f7route;if(this.f7route)return this.f7route;if(this._f7route)return this._f7route;this.$vnode&&this.$vnode.data&&this.$vnode.data.props&&this.$vnode.data.props.f7route&&(e=this.$vnode.data.props.f7route);for(var t=this;t&&!e;)t._f7route&&(e=t._f7route),t=t.$parent;return e},set:function(e){this._f7route=e}}),Object.defineProperty(o.prototype,"$f7router",{get:function(){var e;if(this.props&&this.props.f7router)return this.props.f7router;if(this.f7router)return this.f7router;if(this._f7router)return this._f7router;this.$vnode&&this.$vnode.data&&this.$vnode.data.props&&this.$vnode.data.props.f7route&&(e=this.$vnode.data.props.f7router);for(var t=this;t&&!e;)t._f7router?e=t._f7router:t.f7View?e=t.f7View.router:t.$refs&&t.$refs.el&&t.$refs.el.f7View&&(e=t.$refs.el.f7View.router),t=t.$parent;return e},set:function(e){this._f7router=e}}),this.Router.use(Ge)}}};return Ze})); //# sourceMappingURL=framework7-vue.bundle.min.js.map