text: /**
   * Framework7 React 3.6.1
   * Build full featured iOS & Android apps using Framework7 & React
   * http://framework7.io/react/
   *
   * Copyright 2014-2018 Vladimir Kharlampidi
   *
   * Released under the MIT License
   *
   * Released on: December 10, 2018
   */
  !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):e.Framework7React=t(e.React)}(this,function(ge){"use strict";ge=ge&&ge.hasOwnProperty("default")?ge.default:ge;var ye={noUndefinedProps:function(t){var o={};return Object.keys(t).forEach(function(e){void 0!==t[e]&&(o[e]=t[e])}),o},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,t=[],o=arguments.length;o--;)t[o]=arguments[o];var n,r,s=!0;r=("boolean"==typeof t[0]?(s=(e=t)[0],n=e[1],t.splice(0,2)):(n=t[0],t.splice(0,1)),t);for(var i=0;i<r.length;i+=1){var a=t[i];if(null!=a)for(var l=Object.keys(Object(a)),c=0,p=l.length;c<p;c+=1){var u=l[c],d=Object.getOwnPropertyDescriptor(a,u);void 0!==d&&d.enumerable&&(s?ye.isObject(n[u])&&ye.isObject(a[u])?ye.extend(n[u],a[u]):!ye.isObject(n[u])&&ye.isObject(a[u])?(n[u]={},ye.extend(n[u],a[u])):n[u]=a[u]:n[u]=a[u])}}return n},flattenArray:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var o=[];return e.forEach(function(e){Array.isArray(e)?o.push.apply(o,ye.flattenArray.apply(ye,e)):o.push(e)}),o},classNames:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var o=[];return e.forEach(function(t){"object"==typeof t&&t.constructor===Object?Object.keys(t).forEach(function(e){t[e]&&o.push(e)}):t&&o.push(t)}),o.join(" ")}},Ee={colorProps:{color:String,colorTheme:String,textColor:String,bgColor:String,borderColor:String,rippleColor:String,themeDark:Boolean},colorClasses:function(e){var t,o=e.color,n=e.colorTheme,r=e.textColor,s=e.bgColor,i=e.borderColor,a=e.rippleColor;return(t={"theme-dark":e.themeDark})["color-"+o]=o,t["color-theme-"+n]=n,t["text-color-"+r]=r,t["bg-color-"+s]=s,t["border-color-"+i]=i,t["ripple-color-"+a]=a,t},linkIconProps:{icon:String,iconMaterial:String,iconIon:String,iconFa:String,iconF7:String,iconIfMd:String,iconIfIos:String,iconIos:String,iconMd:String,iconColor:String,iconSize:[String,Number]},linkRouterProps:{back:Boolean,external:Boolean,force:Boolean,animate:{type:Boolean,default:void 0},ignoreCache:Boolean,reloadCurrent:Boolean,reloadAll:Boolean,reloadPrevious:Boolean,routeTabId:String,view:String},linkRouterAttrs:function(e){var t,o=e.force,n=e.reloadCurrent,r=e.reloadPrevious,s=e.reloadAll,i=e.animate,a=e.ignoreCache,l=e.routeTabId,c=e.view;return"animate"in e&&void 0!==i&&(t=i.toString()),{"data-force":o||void 0,"data-reload-current":n||void 0,"data-reload-all":s||void 0,"data-reload-previous":r||void 0,"data-animate":t,"data-ignore-cache":a||void 0,"data-route-tab-id":l||void 0,"data-view":ye.isStringProp(c)?c:void 0}},linkRouterClasses:function(e){var t=e.back,o=e.linkBack;return{back:t||o,external:e.external}},linkActionsProps:{searchbarEnable:[Boolean,String],searchbarDisable:[Boolean,String],searchbarClear:[Boolean,String],searchbarToggle:[Boolean,String],panelOpen:[Boolean,String],panelClose:[Boolean,String],popupOpen:[Boolean,String],popupClose:[Boolean,String],actionsOpen:[Boolean,String],actionsClose:[Boolean,String],popoverOpen:[Boolean,String],popoverClose:[Boolean,String],loginScreenOpen:[Boolean,String],loginScreenClose:[Boolean,String],sheetOpen:[Boolean,String],sheetClose:[Boolean,String],sortableEnable:[Boolean,String],sortableDisable:[Boolean,String],sortableToggle:[Boolean,String]},linkActionsAttrs:function(e){var t=e.searchbarEnable,o=e.searchbarDisable,n=e.searchbarClear,r=e.searchbarToggle,s=e.panelOpen,i=e.panelClose,a=e.popupOpen,l=e.popupClose,c=e.actionsOpen,p=e.actionsClose,u=e.popoverOpen,d=e.popoverClose,f=e.loginScreenOpen,h=e.loginScreenClose,m=e.sheetOpen,b=e.sheetClose,v=e.sortableEnable,g=e.sortableDisable,y=e.sortableToggle;return{"data-searchbar":ye.isStringProp(t)&&t||ye.isStringProp(o)&&o||ye.isStringProp(n)&&n||ye.isStringProp(r)&&r||void 0,"data-panel":ye.isStringProp(s)&&s||ye.isStringProp(i)&&i||void 0,"data-popup":ye.isStringProp(a)&&a||ye.isStringProp(l)&&l||void 0,"data-actions":ye.isStringProp(c)&&c||ye.isStringProp(p)&&p||void 0,"data-popover":ye.isStringProp(u)&&u||ye.isStringProp(d)&&d||void 0,"data-sheet":ye.isStringProp(m)&&m||ye.isStringProp(b)&&b||void 0,"data-login-screen":ye.isStringProp(f)&&f||ye.isStringProp(h)&&h||void 0,"data-sortable":ye.isStringProp(v)&&v||ye.isStringProp(g)&&g||ye.isStringProp(y)&&y||void 0}},linkActionsClasses:function(e){var t=e.searchbarEnable,o=e.searchbarDisable,n=e.searchbarClear,r=e.searchbarToggle,s=e.panelOpen,i=e.panelClose,a=e.popupOpen,l=e.popupClose,c=e.actionsClose,p=e.actionsOpen,u=e.popoverOpen,d=e.popoverClose,f=e.loginScreenOpen,h=e.loginScreenClose,m=e.sheetOpen,b=e.sheetClose,v=e.sortableEnable,g=e.sortableDisable,y=e.sortableToggle;return{"searchbar-enable":t||""===t,"searchbar-disable":o||""===o,"searchbar-clear":n||""===n,"searchbar-toggle":r||""===r,"panel-close":ye.isTrueProp(i)||i,"panel-open":s||""===s,"popup-close":ye.isTrueProp(l)||l,"popup-open":a||""===a,"actions-close":ye.isTrueProp(c)||c,"actions-open":p||""===p,"popover-close":ye.isTrueProp(d)||d,"popover-open":u||""===u,"sheet-close":ye.isTrueProp(b)||b,"sheet-open":m||""===m,"login-screen-close":ye.isTrueProp(h)||h,"login-screen-open":f||""===f,"sortable-enable":ye.isTrueProp(v)||v,"sortable-disable":ye.isTrueProp(g)||g,"sortable-toggle":!0===y||"string"==typeof y&&y.length}}};function s(e){var o={};if(!e)return o;var t=e.children;if(!t||0===t.length)return o;function n(e,t){o[e]||(o[e]=[]),o[e].push(t)}if(Array.isArray(t))t.forEach(function(e){e&&n(e.props&&e.props.slot||"default",e)});else{var r="default";t.props&&t.props.slot&&(r=t.props.slot),n(r,t)}return o}function n(){}var e,l=(function(e){e.exports=function(){function e(e,t,o,n,r,s){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==s){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}var o={array:e.isRequired=e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return o.checkPropTypes=n,o.PropTypes=o}()}(e={exports:{}},e.exports),e.exports);function t(s,i){var a=function(e){return e===String?l.string:e===Boolean?l.bool:e===Function?l.func:e===Number?l.number:e===Object?l.object:e===Array?l.array:e===Symbol?l.symbol:e.constructor===Function||e===Date?l.instanceOf(e):l.any};s.propTypes={},Object.keys(i).forEach(function(e){var t=i[e],o=void 0!==t.required,n=t.type||t;if(Array.isArray(n)?s.propTypes[e]=o?l.oneOfType(n.map(a)).required:l.oneOfType(n.map(a)):s.propTypes[e]=o?a(n).required:a(n),void 0!==t.default||"default"in t&&void 0===t.default){var r=t.type===Function||Array.isArray(t.type)&&0<=t.type.indexOf(Function);s.defaultProps||(s.defaultProps={}),"function"!=typeof t.default||r?s.defaultProps[e]=t.default:s.defaultProps[e]=t.default()}})}var i=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o);var t={slots:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var e=this.props,t=e.className,o=e.id,n=e.style,r=ye.classNames(t,"accordion-item-content",Ee.colorClasses(e));return ge.createElement("div",{id:o,style:n,className:r},this.slots.default)},t.slots.get=function(){return s(this.props)},Object.defineProperties(e.prototype,t),e}(ge.Component);function a(e,t){for(var r=[],o=arguments.length-2;0<o--;)r[o]=arguments[o+2];var s=e;t&&t.trim().length&&"string"==typeof t&&t.trim().split(" ").forEach(function(e){var t,o=(e||"").trim();if(o){var n="on"+(o=o.charAt(0).toUpperCase()+o.slice(1));s.props[n]&&(t=s.props)[n].apply(t,r)}})}t(i,Object.assign({id:[String,Number],className:String,style:Object},Ee.colorProps)),i.displayName="f7-accordion-content";var c=function(r){function e(e,t){var o,n=this;r.call(this,e,t),this.__reactRefs={},(o=n).onBeforeOpenBound=o.onBeforeOpen.bind(o),o.onOpenBound=o.onOpen.bind(o),o.onOpenedBound=o.onOpened.bind(o),o.onBeforeCloseBound=o.onBeforeClose.bind(o),o.onCloseBound=o.onClose.bind(o),o.onClosedBound=o.onClosed.bind(o)}r&&(e.__proto__=r);var t={slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(r&&r.prototype)).constructor=e).prototype.onBeforeOpen=function(e){this.dispatchEvent("accordionBeforeOpen accordion:beforeopen",e,e.detail.prevent)},e.prototype.onOpen=function(e){this.dispatchEvent("accordionOpen accordion:open",e)},e.prototype.onOpened=function(e){this.dispatchEvent("accordionOpened accordion:opened",e)},e.prototype.onBeforeClose=function(e){this.dispatchEvent("accordionBeforeClose accordion:beforeclose",e,e.detail.prevent)},e.prototype.onClose=function(e){this.dispatchEvent("accordionClose accordion:close",e)},e.prototype.onClosed=function(e){this.dispatchEvent("accordionClosed accordion:closed",e)},e.prototype.render=function(){var t=this,e=this.props,o=e.className,n=e.id,r=e.style,s=e.opened,i=ye.classNames(o,"accordion-item",{"accordion-item-opened":s},Ee.colorClasses(e));return ge.createElement("div",{id:n,style:r,className:i,ref:function(e){t.__reactRefs.el=e}},this.slots.default)},e.prototype.componentWillUnmount=function(){var e=this,t=e.refs.el;t&&(t.removeEventListener("accordion:beforeopen",e.onBeforeOpenBound),t.removeEventListener("accordion:open",e.onOpenBound),t.removeEventListener("accordion:opened",e.onOpenedBound),t.removeEventListener("accordion:beforeclose",e.onBeforeCloseBound),t.removeEventListener("accordion:close",e.onCloseBound),t.removeEventListener("accordion:closed",e.onClosedBound))},e.prototype.componentDidMount=function(){var e=this,t=e.refs.el;t&&(t.addEventListener("accordion:beforeopen",e.onBeforeOpenBound),t.addEventListener("accordion:open",e.onOpenBound),t.addEventListener("accordion:opened",e.onOpenedBound),t.addEventListener("accordion:beforeclose",e.onBeforeCloseBound),t.addEventListener("accordion:close",e.onCloseBound),t.addEventListener("accordion:closed",e.onClosedBound))},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);t(c,Object.assign({id:[String,Number],className:String,style:Object,opened:Boolean},Ee.colorProps)),c.displayName="f7-accordion-item";var p=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o);var t={slots:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var e=this.props,t=e.className,o=e.id,n=e.style,r=ye.classNames(t,"accordion-item-toggle",Ee.colorClasses(e));return ge.createElement("div",{id:o,style:n,className:r},this.slots.default)},t.slots.get=function(){return s(this.props)},Object.defineProperties(e.prototype,t),e}(ge.Component);t(p,Object.assign({id:[String,Number],className:String,style:Object},Ee.colorProps)),p.displayName="f7-accordion-toggle";var u=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o);var t={slots:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var e=this.props,t=e.className,o=e.id,n=e.style,r=ye.classNames(t,"accordion-list",Ee.colorClasses(e));return ge.createElement("div",{id:o,style:n,className:r},this.slots.default)},t.slots.get=function(){return s(this.props)},Object.defineProperties(e.prototype,t),e}(ge.Component);t(u,Object.assign({id:[String,Number],className:String,style:Object},Ee.colorProps)),u.displayName="f7-accordion";var d=function(n){function e(e,t){var o=this;n.call(this,e,t),this.__reactRefs={},o.onClick=o.onClick.bind(o)}n&&(e.__proto__=n);var t={slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(n&&n.prototype)).constructor=e).prototype.onClick=function(e){var t=this,o=t.$$,n=t.refs.el;t.props.close&&t.$f7&&n&&t.$f7.actions.close(o(n).parents(".actions-modal")),t.dispatchEvent("click",e)},e.prototype.render=function(){var e,t=this,o=this.props,n=o.id,r=o.className,s=o.style,i=o.bold;this.slots.media&&this.slots.media.length&&(e=ge.createElement("div",{className:"actions-button-media"},this.slots.media));var a=ye.classNames(r,{"actions-button":!0,"actions-button-bold":i},Ee.colorClasses(o));return ge.createElement("div",{id:n,style:s,className:a,ref:function(e){t.__reactRefs.el=e}},e,ge.createElement("div",{className:"actions-button-text"},this.slots.default))},e.prototype.componentWillUnmount=function(){this.refs.el.removeEventListener("click",this.onClick)},e.prototype.componentDidMount=function(){this.refs.el.addEventListener("click",this.onClick)},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);t(d,Object.assign({id:[String,Number],className:String,style:Object,bold:Boolean,close:{type:Boolean,default:!0}},Ee.colorProps)),d.displayName="f7-actions-button";var f=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o);var t={slots:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var e=this.props,t=e.className,o=e.id,n=e.style,r=ye.classNames(t,"actions-group",Ee.colorClasses(e));return ge.createElement("div",{id:o,style:n,className:r},this.slots.default)},t.slots.get=function(){return s(this.props)},Object.defineProperties(e.prototype,t),e}(ge.Component);t(f,Object.assign({id:[String,Number],className:String,style:Object},Ee.colorProps)),f.displayName="f7-actions-group";var h=function(n){function e(e,t){var o=this;n.call(this,e,t),this.__reactRefs={},o.onClick=o.onClick.bind(o)}n&&(e.__proto__=n);var t={slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(n&&n.prototype)).constructor=e).prototype.onClick=function(e){this.dispatchEvent("click",e)},e.prototype.render=function(){var t=this,e=this.props,o=e.className,n=e.id,r=e.style,s=e.bold,i=ye.classNames(o,"actions-label",{"actions-button-bold":s},Ee.colorClasses(e));return ge.createElement("div",{id:n,style:r,className:i,ref:function(e){t.__reactRefs.el=e}},this.slots.default)},e.prototype.componentWillUnmount=function(){this.refs.el.removeEventListener("click",this.onClick)},e.prototype.componentDidMount=function(){this.refs.el.addEventListener("click",this.onClick)},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);function m(e,t,o,n,r){var s,i;r&&(0===t.indexOf("props")?(s=e.props,i=o):0===t.indexOf("state")&&(s=e.state,i=n),t.slice(5).split(".").filter(function(e){return e}).forEach(function(e){null!=s&&(s=s[e]),null!=i&&(i=i[e])}),i!==s&&r&&r(s,i))}t(h,Object.assign({id:[String,Number],className:String,style:Object,bold:Boolean},Ee.colorProps)),h.displayName="f7-actions-label";var b=function(o){function e(e,t){o.call(this,e,t),this.__reactRefs={}}o&&(e.__proto__=o);var t={slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.onOpen=function(e){this.dispatchEvent("actions:open actionsOpen",e)},e.prototype.onOpened=function(e){this.dispatchEvent("actions:opened actionsOpened",e)},e.prototype.onClose=function(e){this.dispatchEvent("actions:close actionsClose",e)},e.prototype.onClosed=function(e){this.dispatchEvent("actions:closed actionsClosed",e)},e.prototype.open=function(e){if(this.$f7)return this.$f7.actions.open(this.refs.el,e)},e.prototype.close=function(e){if(this.$f7)return this.$f7.actions.close(this.refs.el,e)},e.prototype.render=function(){var t=this,e=this.props,o=e.className,n=e.id,r=e.style,s=e.grid,i=ye.classNames(o,"actions-modal",{"actions-grid":s},Ee.colorClasses(e));return ge.createElement("div",{id:n,style:r,ref:function(e){t.__reactRefs.el=e},className:i},this.slots.default)},e.prototype.componentWillUnmount=function(){var e=this;e.f7Actions&&e.f7Actions.destroy();var t=e.refs.el;t&&(t.removeEventListener("actions:open",e.onOpenBound),t.removeEventListener("actions:opened",e.onOpenedBound),t.removeEventListener("actions:close",e.onCloseBound),t.removeEventListener("actions:closed",e.onClosedBound))},e.prototype.componentDidMount=function(){var e=this,t=e.refs.el;if(t){e.onOpenBound=e.onOpen.bind(e),e.onOpenedBound=e.onOpened.bind(e),e.onCloseBound=e.onClose.bind(e),e.onClosedBound=e.onClosed.bind(e),t.addEventListener("actions:open",e.onOpenBound),t.addEventListener("actions:opened",e.onOpenedBound),t.addEventListener("actions:close",e.onCloseBound),t.addEventListener("actions:closed",e.onClosedBound);var o=e.props,n=o.grid,r=o.target,s=o.convertToPopover,i=o.forceToPopover,a=o.opened,l=o.closeByBackdropClick,c=o.closeByOutsideClick,p={el:e.refs.el,grid:n};r&&(p.targetEl=r),"convertToPopover"in o&&(p.convertToPopover=s),"forceToPopover"in o&&(p.forceToPopover=i),"closeByBackdropClick"in o&&(p.closeByBackdropClick=l),"closeByOutsideClick"in o&&(p.closeByOutsideClick=c),e.$f7ready(function(){e.f7Actions=e.$f7.actions.create(p),a&&e.f7Actions.open(!1)})}},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},e.prototype.componentDidUpdate=function(e,t){var o=this;m(this,"props.opened",e,t,function(e){var t=o;t.f7Actions&&(e?t.f7Actions.open():t.f7Actions.close())})},Object.defineProperties(e.prototype,t),e}(ge.Component);t(b,Object.assign({id:[String,Number],className:String,style:Object,opened:Boolean,grid:Boolean,convertToPopover:Boolean,forceToPopover:Boolean,target:[String,Object],closeByBackdropClick:Boolean,closeByOutsideClick:Boolean},Ee.colorProps)),b.displayName="f7-actions";var v={listeners:{},on:function(e,t){e.split(" ").forEach(function(e){v.listeners[e]||(v.listeners[e]=[]),v.listeners[e].unshift(t)})},off:function(e,n){e.split(" ").forEach(function(o){v.listeners[o]&&(void 0===n?v.listeners[o]=[]:v.listeners[o].forEach(function(e,t){e===n&&v.listeners[o].splice(t,1)}))})},once:function(n,r){"function"==typeof r&&v.on(n,function e(){for(var t=[],o=arguments.length;o--;)t[o]=arguments[o];r.apply(void 0,t),v.off(n,e)})},emit:function(e){for(var o=[],t=arguments.length-1;0<t--;)o[t]=arguments[t+1];e.split(" ").forEach(function(e){if(v.listeners&&v.listeners[e]){var t=[];v.listeners[e].forEach(function(e){t.push(e)}),t.forEach(function(e){e.apply(void 0,o)})}})}},g={instance:null,Framework7:null,init:function(e,t,o){void 0===t&&(t={});var n=ye.extend({},t,{root:e});o&&o.length&&!n.routes&&(n.routes=o),g.instance=new g.Framework7(n),g.instance.initialized?v.emit("ready",g.instance):g.instance.on("init",function(){v.emit("ready",g.instance)})},ready:function(e){e&&(g.instance?e(g.instance):v.once("ready",e))},routers:{views:[],tabs:[],modals:null}},y=function(o){function e(e,t){o.call(this,e,t),this.__reactRefs={},this.state={modals:[]}}o&&(e.__proto__=o);var t={refs:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var t=this;return ge.createElement("div",{ref:function(e){t.__reactRefs.el=e},className:"framework7-modals"},this.state.modals.map(function(e){var t=e.component;return ge.createElement(t,Object.assign({key:e.id},e.props))}))},e.prototype.componentDidMount=function(){var e=this,t=e.refs.el;e.setState({modals:[]}),e.routerData={el:t,component:e},g.routers.modals=e.routerData},e.prototype.componentWillUnmount=function(){this.routerData&&(g.routers.modals=null,this.routerData=null,delete this.routerData)},e.prototype.componentDidUpdate=function(){this.routerData&&v.emit("modalsRouterDidUpdate",this.routerData)},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);y.displayName="f7-routable-modals";var E=function(o){function e(e,t){o.call(this,e,t),this.__reactRefs={},this.state={modals:[]}}o&&(e.__proto__=o);var t={slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var t=this,e=this.props,o=e.id,n=e.style,r=e.className,s=ye.classNames(r,"framework7-root",Ee.colorClasses(e));return ge.createElement("div",{ref:function(e){t.__reactRefs.el=e},id:o||"framework7-root",style:n,className:s},this.slots.default,ge.createElement(y,null))},e.prototype.componentDidMount=function(){var e=this.props,t=e.params;void 0===t&&(t={});var o=e.routes,n=this.refs.el,r=n.parentNode;r&&r!==document.body&&r.parentNode===document.body&&(r.style.height="100%"),g.init(n,t,o)},t.slots.get=function(){return s(this.props)},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);t(E,Object.assign({id:[String,Number],className:String,style:Object,params:Object,routes:Array},Ee.colorProps)),E.displayName="f7-app";var Se=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o);var t={slots:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var e=this.props,t=e.className,o=e.id,n=e.style,r=ye.classNames(t,"badge",Ee.colorClasses(e));return ge.createElement("span",{id:o,style:n,className:r},this.slots.default)},t.slots.get=function(){return s(this.props)},Object.defineProperties(e.prototype,t),e}(ge.Component);t(Se,Object.assign({id:[String,Number],className:String,style:Object},Ee.colorProps)),Se.displayName="f7-badge";var S=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o);var t={slots:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var e=this.props,t=e.className,o=e.id,n=e.style,r=ye.classNames(t,"block-footer",Ee.colorClasses(e));return ge.createElement("div",{id:o,style:n,className:r},this.slots.default)},t.slots.get=function(){return s(this.props)},Object.defineProperties(e.prototype,t),e}(ge.Component);t(S,Object.assign({id:[String,Number],className:String,style:Object},Ee.colorProps)),S.displayName="f7-block-footer";var B=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o);var t={slots:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var e=this.props,t=e.className,o=e.id,n=e.style,r=ye.classNames(t,"block-header",Ee.colorClasses(e));return ge.createElement("div",{id:o,style:n,className:r},this.slots.default)},t.slots.get=function(){return s(this.props)},Object.defineProperties(e.prototype,t),e}(ge.Component);t(B,Object.assign({id:[String,Number],className:String,style:Object},Ee.colorProps)),B.displayName="f7-block-header";var C=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o);var t={slots:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var e=this.props,t=e.className,o=e.id,n=e.style,r=ye.classNames(t,"block-title",Ee.colorClasses(e));return ge.createElement("div",{id:o,style:n,className:r},this.slots.default)},t.slots.get=function(){return s(this.props)},Object.defineProperties(e.prototype,t),e}(ge.Component);t(C,Object.assign({id:[String,Number],className:String,style:Object},Ee.colorProps)),C.displayName="f7-block-title";var N=function(o){function e(e,t){o.call(this,e,t),this.__reactRefs={}}o&&(e.__proto__=o);var t={slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.onTabShow=function(e){this.dispatchEvent("tabShow tab:show",e)},e.prototype.onTabHide=function(e){this.dispatchEvent("tabHide tab:hide",e)},e.prototype.render=function(){var t=this,e=this.props,o=e.className,n=e.inset,r=e.strong,s=e.accordionList,i=e.tabletInset,a=e.tabs,l=e.tab,c=e.tabActive,p=e.noHairlines,u=e.noHairlinesIos,d=e.noHairlinesMd,f=e.id,h=e.style,m=ye.classNames(o,"block",{inset:n,"block-strong":r,"accordion-list":s,"tablet-inset":i,tabs:a,tab:l,"tab-active":c,"no-hairlines":p,"no-hairlines-md":d,"no-hairlines-ios":u},Ee.colorClasses(e));return ge.createElement("div",{id:f,style:h,className:m,ref:function(e){t.__reactRefs.el=e}},this.slots.default)},e.prototype.componentWillUnmount=function(){var e=this.refs.el;e&&(e.removeEventListener("tab:show",this.onTabShowBound),e.removeEventListener("tab:hide",this.onTabHideBound))},e.prototype.componentDidMount=function(){var e=this.refs.el;e&&(this.onTabShowBound=this.onTabShow.bind(this),this.onTabHideBound=this.onTabHide.bind(this),e.addEventListener("tab:show",this.onTabShowBound),e.addEventListener("tab:hide",this.onTabHideBound))},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);t(N,Object.assign({id:[String,Number],className:String,style:Object,inset:Boolean,tabletInset:Boolean,strong:Boolean,tabs:Boolean,tab:Boolean,tabActive:Boolean,accordionList:Boolean,noHairlines:Boolean,noHairlinesMd:Boolean,noHairlinesIos:Boolean},Ee.colorProps)),N.displayName="f7-block";var w=function(o){function e(e,t){o.call(this,e,t),this.__reactRefs={}}o&&(e.__proto__=o),(e.prototype=Object.create(o&&o.prototype)).constructor=e;var t={sizeComputed:{configurable:!0},iconTextComputed:{configurable:!0},classes:{configurable:!0},slots:{configurable:!0},refs:{configurable:!0}};return t.sizeComputed.get=function(){var e=this.props.size;return"number"!=typeof e&&parseFloat(e)!==1*e||(e+="px"),e},t.iconTextComputed.get=function(){var e=this.props,t=e.material,o=e.f7,n=e.ifMd,r=e.ifIos,s=e.md,i=e.ios,a=t||o,l=n||s,c=r||i;return l&&this.$theme.md&&(0<=l.indexOf("material:")||0<=l.indexOf("f7:"))?a=l.split(":")[1]:c&&this.$theme.ios&&(0<=c.indexOf("material:")||0<=c.indexOf("f7:"))&&(a=c.split(":")[1]),a},t.classes.get=function(){var e={icon:!0},t=this.props,o=t.ifMd,n=t.ifIos,r=t.material,s=t.f7,i=t.fa,a=t.ion,l=t.icon,c=t.md,p=t.ios,u=t.className,d=o||c,f=n||p;if(d||f){var h=(this.$theme.md?d:f).split(":"),m=h[0],b=h[1];"material"!==m&&"fa"!==m&&"f7"!==m||(e.fa="fa"===m,e["material-icons"]="material"===m,e["f7-icons"]="f7"===m),"fa"!==m&&"ion"!==m||(e[m+"-"+b]=!0),"icon"===m&&(e[b]=!0)}else e={icon:!0,"material-icons":r,"f7-icons":s,fa:i},a&&(e["ion-"+a]=!0),i&&(e["fa-"+i]=!0),l&&(e[l]=!0);return ye.classNames(u,e,Ee.colorClasses(t))},e.prototype.render=function(){var t=this,e=this.props,o=e.id,n=e.style;return ge.createElement("i",{ref:function(e){t.__reactRefs.el=e},id:o,style:ye.extend({fontSize:this.sizeComputed},n),className:this.classes},this.iconTextComputed,this.slots.default)},e.prototype.componentWillUnmount=function(){var e=this;e.f7Tooltip&&e.f7Tooltip.destroy&&(e.f7Tooltip.destroy(),e.f7Tooltip=null,delete e.f7Tooltip)},e.prototype.componentDidMount=function(){var t=this,o=t.refs.el;if(o){var n=t.props.tooltip;n&&t.$f7ready(function(e){t.f7Tooltip=e.tooltip.create({targetEl:o,text:n})})}},t.slots.get=function(){return s(this.props)},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},e.prototype.componentDidUpdate=function(e,t){var o=this;m(this,"props.tooltip",e,t,function(e){var t=o;e&&t.f7Tooltip&&t.f7Tooltip.setText(e)})},Object.defineProperties(e.prototype,t),e}(ge.Component);t(w,Object.assign({id:[String,Number],className:String,style:Object,material:String,f7:String,ion:String,fa:String,icon:String,ifMd:String,ifIos:String,ios:String,md:String,tooltip:String,size:[String,Number]},Ee.colorProps)),w.displayName="f7-icon";var k=function(r){function e(e,t){var o,n=this;r.call(this,e,t),this.__reactRefs={},(o=n).onClickBound=o.onClick.bind(o)}r&&(e.__proto__=r);var t={attrs:{configurable:!0},classes:{configurable:!0},slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(r&&r.prototype)).constructor=e).prototype.onClick=function(e){this.dispatchEvent("click",e)},t.attrs.get=function(){var e=this.props,t=e.href,o=e.target,n=e.tabLink,r=t;return!0===t&&(r="#"),!1===t&&(r=void 0),ye.extend({href:r,target:o,"data-tab":ye.isStringProp(n)&&n||void 0},Ee.linkRouterAttrs(e),Ee.linkActionsAttrs(e))},t.classes.get=function(){var e=this.props,t=e.noFastclick,o=e.noFastClick,n=e.tabLink,r=e.tabLinkActive,s=e.round,i=e.roundIos,a=e.roundMd,l=e.fill,c=e.fillIos,p=e.fillMd,u=e.big,d=e.bigIos,f=e.bigMd,h=e.small,m=e.smallIos,b=e.smallMd,v=e.raised,g=e.active,y=e.outline,E=e.disabled,S=e.className;return ye.classNames(S,"button",{"tab-link":n||""===n,"tab-link-active":r,"no-fastclick":t||o,"button-round":s,"button-round-ios":i,"button-round-md":a,"button-fill":l,"button-fill-ios":c,"button-fill-md":p,"button-big":u,"button-big-ios":d,"button-big-md":f,"button-small":h,"button-small-ios":m,"button-small-md":b,"button-raised":v,"button-active":g,"button-outline":y,disabled:E},Ee.colorClasses(e),Ee.linkRouterClasses(e),Ee.linkActionsClasses(e))},e.prototype.render=function(){var e,t,o=this,n=this.props,r=n.text,s=n.icon,i=n.iconMaterial,a=n.iconIon,l=n.iconFa,c=n.iconF7,p=n.iconIfMd,u=n.iconIfIos,d=n.iconMd,f=n.iconIos,h=n.iconColor,m=n.iconSize,b=n.id,v=n.style;r&&(t=ge.createElement("span",null,r));var g=p||d,y=u||f;return(s||i||a||l||c||g||y)&&(e=ge.createElement(w,{material:i,ion:a,fa:l,f7:c,icon:s,md:g,ios:y,color:h,size:m})),ge.createElement("a",Object.assign({ref:function(e){o.__reactRefs.el=e},id:b,style:v,className:this.classes},this.attrs),e,t,this.slots.default)},e.prototype.componentWillUnmount=function(){var e=this;e.refs.el.removeEventListener("click",e.onClickBound),e.f7Tooltip&&e.f7Tooltip.destroy&&(e.f7Tooltip.destroy(),e.f7Tooltip=null,delete e.f7Tooltip)},e.prototype.componentDidMount=function(){var t=this;t.refs.el.addEventListener("click",t.onClickBound);var o=t.props.tooltip;o&&t.$f7ready(function(e){t.f7Tooltip=e.tooltip.create({targetEl:t.refs.el,text:o})})},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},e.prototype.componentDidUpdate=function(e,t){var o=this;m(this,"props.tooltip",e,t,function(e){var t=o;e&&t.f7Tooltip&&t.f7Tooltip.setText(e)})},Object.defineProperties(e.prototype,t),e}(ge.Component);t(k,Object.assign({id:[String,Number],className:String,style:Object,noFastclick:Boolean,noFastClick:Boolean,text:String,tabLink:[Boolean,String],tabLinkActive:Boolean,href:{type:[String,Boolean],default:"#"},target:String,round:Boolean,roundMd:Boolean,roundIos:Boolean,fill:Boolean,fillMd:Boolean,fillIos:Boolean,big:Boolean,bigMd:Boolean,bigIos:Boolean,small:Boolean,smallMd:Boolean,smallIos:Boolean,raised:Boolean,outline:Boolean,active:Boolean,disabled:Boolean,tooltip:String},Ee.colorProps,Ee.linkIconProps,Ee.linkRouterProps,Ee.linkActionsProps)),k.displayName="f7-button";var _=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o);var t={slots:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var e=this.props,t=e.id,o=e.className,n=e.style,r=e.padding,s=ye.classNames(o,"card-content",{"card-content-padding":r},Ee.colorClasses(e));return ge.createElement("div",{id:t,style:n,className:s},this.slots.default)},t.slots.get=function(){return s(this.props)},Object.defineProperties(e.prototype,t),e}(ge.Component);t(_,Object.assign({id:[String,Number],className:String,style:Object,padding:{type:Boolean,default:!0}},Ee.colorProps)),_.displayName="f7-card-content";var O=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o);var t={slots:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var e=this.props,t=e.className,o=e.id,n=e.style,r=ye.classNames(t,"card-footer",Ee.colorClasses(e));return ge.createElement("div",{id:o,style:n,className:r},this.slots.default)},t.slots.get=function(){return s(this.props)},Object.defineProperties(e.prototype,t),e}(ge.Component);t(O,Object.assign({id:[String,Number],className:String,style:Object},Ee.colorProps)),O.displayName="f7-card-footer";var P=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o);var t={slots:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var e=this.props,t=e.className,o=e.id,n=e.style,r=ye.classNames(t,"card-header",Ee.colorClasses(e));return ge.createElement("div",{id:o,style:n,className:r},this.slots.default)},t.slots.get=function(){return s(this.props)},Object.defineProperties(e.prototype,t),e}(ge.Component);t(P,Object.assign({id:[String,Number],className:String,style:Object},Ee.colorProps)),P.displayName="f7-card-header";var L=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o);var t={slots:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var e,t,o,n=this,r=n.props,s=r.className,i=r.id,a=r.style,l=r.title,c=r.content,p=r.footer,u=r.padding,d=r.outline,f=ye.classNames(s,"card",{"card-outline":d},Ee.colorClasses(r));return(l||n.slots&&n.slots.header)&&(e=ge.createElement(P,null,l,this.slots.header)),(c||n.slots&&n.slots.content)&&(t=ge.createElement(_,{padding:u},c,this.slots.content)),(p||n.slots&&n.slots.footer)&&(o=ge.createElement(O,null,p,this.slots.footer)),ge.createElement("div",{id:i,style:a,className:f},e,t,o,this.slots.default)},t.slots.get=function(){return s(this.props)},Object.defineProperties(e.prototype,t),e}(ge.Component);t(L,Object.assign({id:[String,Number],className:String,style:Object,title:[String,Number],content:[String,Number],footer:[String,Number],outline:Boolean,padding:{type:Boolean,default:!0}},Ee.colorProps)),L.displayName="f7-card";var j=function(n){function e(e,t){var o=this;n.call(this,e,t),this.__reactRefs={},o.onChange=o.onChange.bind(o)}n&&(e.__proto__=n);var t={classes:{configurable:!0},slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(n&&n.prototype)).constructor=e).prototype.onChange=function(e){this.dispatchEvent("change",e)},t.classes.get=function(){var e=this.props,t=e.className,o=e.disabled;return ye.classNames(t,{checkbox:!0,disabled:o},Ee.colorClasses(e))},e.prototype.render=function(){var e,t=this,o=this.props,n=o.name,r=o.value,s=o.disabled,i=o.readonly,a=o.checked,l=o.defaultChecked,c=o.id,p=o.style;e=ge.createElement("input",{ref:function(e){t.__reactRefs.inputEl=e},type:"checkbox",name:n,value:r,disabled:s,readOnly:i,checked:a,defaultChecked:l,onChange:this.onChange});var u=ge.createElement("i",{className:"icon-checkbox"});return ge.createElement("label",{id:c,style:p,className:this.classes},e,u,this.slots.default)},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);t(j,Object.assign({id:[String,Number],className:String,style:Object,checked:Boolean,name:[Number,String],value:[Number,String,Boolean],disabled:Boolean,readonly:Boolean,defaultChecked:Boolean},Ee.colorProps)),j.displayName="f7-checkbox";var I=function(n){function e(e,t){var o=this;n.call(this,e,t),this.__reactRefs={},o.onClick=o.onClick.bind(o),o.onDeleteClick=o.onDeleteClick.bind(o)}n&&(e.__proto__=n);var t={slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(n&&n.prototype)).constructor=e).prototype.onClick=function(e){this.dispatchEvent("click",e)},e.prototype.onDeleteClick=function(e){this.dispatchEvent("delete",e)},e.prototype.render=function(){var e,t,o,n=this,r=this,s=r.props,i=s.media,a=s.text,l=s.deleteable,c=s.className,p=s.id,u=s.style,d=s.mediaTextColor,f=s.mediaBgColor,h=s.outline;if(i||r.slots&&r.slots.media){var m=ye.classNames("chip-media",d&&"text-color-"+d,f&&"bg-color-"+f);e=ge.createElement("div",{className:m},i||this.slots.media)}(a||r.slots&&r.slots.text)&&(t=ge.createElement("div",{className:"chip-label"},a,this.slots.text)),l&&(o=ge.createElement("a",{ref:function(e){n.__reactRefs.deleteEl=e},href:"#",className:"chip-delete"}));var b=ye.classNames(c,"chip",{"chip-outline":h},Ee.colorClasses(s));return ge.createElement("div",{ref:function(e){n.__reactRefs.el=e},id:p,style:u,className:b},e,t,o)},e.prototype.componentWillUnmount=function(){this.refs.el.removeEventListener("click",this.onClick),this.refs.deleteEl&&this.refs.deleteEl.removeEventListener("click",this.onDeleteClick)},e.prototype.componentDidMount=function(){this.refs.el.addEventListener("click",this.onClick),this.refs.deleteEl&&this.refs.deleteEl.addEventListener("click",this.onDeleteClick)},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);t(I,Object.assign({id:[String,Number],className:String,style:Object,media:String,text:[String,Number],deleteable:Boolean,mediaBgColor:String,mediaTextColor:String,outline:Boolean},Ee.colorProps)),I.displayName="f7-chip";var R=function(n){function e(e,t){var o=this;n.call(this,e,t),this.__reactRefs={},o.onClick=o.onClick.bind(o)}n&&(e.__proto__=n);var t={slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(n&&n.prototype)).constructor=e).prototype.onClick=function(e){this.dispatchEvent("click",e)},e.prototype.render=function(){var e,t=this,o=this.props,n=o.className,r=o.id,s=o.style,i=o.tag,a=o.width,l=o.tabletWidth,c=o.desktopWidth,p=i,u=ye.classNames(n,((e={col:"auto"===a})["col-"+a]="auto"!==a,e["tablet-"+l]=l,e["desktop-"+c]=c,e),Ee.colorClasses(o));return ge.createElement(p,{id:r,style:s,className:u,ref:function(e){t.__reactRefs.el=e}},this.slots.default)},e.prototype.componentWillUnmount=function(){this.refs.el.removeEventListener("click",this.onClick)},e.prototype.componentDidMount=function(){this.refs.el.addEventListener("click",this.onClick)},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);t(R,Object.assign({id:[String,Number],className:String,style:Object,tag:{type:String,default:"div"},width:{type:[Number,String],default:"auto"},tabletWidth:{type:[Number,String]},desktopWidth:{type:[Number,String]}},Ee.colorProps)),R.displayName="f7-col";var x=function(n){function e(e,t){var o=this;n.call(this,e,t),this.__reactRefs={},o.onClick=o.onClick.bind(o)}n&&(e.__proto__=n);var t={slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(n&&n.prototype)).constructor=e).prototype.onClick=function(e){this.dispatchEvent("click",e)},e.prototype.render=function(){var e,t=this,o=this.props,n=o.className,r=o.id,s=o.style,i=o.fabClose,a=o.label,l=o.target,c=ye.classNames(n,{"fab-close":i,"fab-label-button":a},Ee.colorClasses(o));return a&&(e=ge.createElement("span",{className:"fab-label"},a)),ge.createElement("a",{ref:function(e){t.__reactRefs.el=e},id:r,style:s,target:l,className:c},this.slots.default,e)},e.prototype.componentWillUnmount=function(){var e=this;e.refs.el.removeEventListener("click",e.onClick),e.f7Tooltip&&e.f7Tooltip.destroy&&(e.f7Tooltip.destroy(),e.f7Tooltip=null,delete e.f7Tooltip)},e.prototype.componentDidMount=function(){var t=this;t.refs.el.addEventListener("click",t.onClick);var o=t.props.tooltip;o&&t.$f7ready(function(e){t.f7Tooltip=e.tooltip.create({targetEl:t.refs.el,text:o})})},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},e.prototype.componentDidUpdate=function(e,t){var o=this;m(this,"props.tooltip",e,t,function(e){var t=o;e&&t.f7Tooltip&&t.f7Tooltip.setText(e)})},Object.defineProperties(e.prototype,t),e}(ge.Component);t(x,Object.assign({id:[String,Number],className:String,style:Object,fabClose:Boolean,label:String,target:String,tooltip:String},Ee.colorProps)),x.displayName="f7-fab-button";var M=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o);var t={slots:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var e=this.props,t=e.className,o=e.id,n=e.style,r=e.position,s=ye.classNames(t,"fab-buttons","fab-buttons-"+r,Ee.colorClasses(e));return ge.createElement("div",{id:o,style:n,className:s},this.slots.default)},t.slots.get=function(){return s(this.props)},Object.defineProperties(e.prototype,t),e}(ge.Component);t(M,Object.assign({id:[String,Number],className:String,style:Object,position:{type:String,default:"top"}},Ee.colorProps)),M.displayName="f7-fab-buttons";var T=function(n){function e(e,t){var o=this;n.call(this,e,t),this.__reactRefs={},o.onClick=o.onClick.bind(o)}n&&(e.__proto__=n);var t={slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(n&&n.prototype)).constructor=e).prototype.onClick=function(e){this.dispatchEvent("click",e)},e.prototype.render=function(){var t=this,e=this.props,o=e.className,n=e.id,r=e.style,s=e.morphTo,i=e.href,a=e.position,l=e.text,c=e.target,p=i;!0===p&&(p="#"),!1===p&&(p=void 0);var u,d,f=[],h=[],m=this.slots,b=m.link,v=m.default,g=m.root,y=m.text;if(v)for(var E=0;E<v.length;E+=1){var S=v[E],B=void 0,C=S.type&&(S.type.displayName||S.type.name);"F7FabButtons"!==C&&"f7-fab-buttons"!==C||(B=!0),B?h.push(S):f.push(S)}(l||y&&y.length)&&(u=ge.createElement("div",{className:"fab-text"},l||y)),(f.length||b&&b.length)&&(d=ge.createElement("a",{ref:function(e){t.__reactRefs.linkEl=e},target:c,href:p,key:"f7-fab-link"},f,u,b));var N=ye.classNames(o,"fab","fab-"+a,{"fab-morph":s,"fab-extended":void 0!==u},Ee.colorClasses(e));return ge.createElement("div",{id:n,style:r,className:N,"data-morph-to":s},d,h,g)},e.prototype.componentWillUnmount=function(){var e=this;e.refs.linkEl&&e.refs.linkEl.removeEventListener("click",e.onClick),e.f7Tooltip&&e.f7Tooltip.destroy&&(e.f7Tooltip.destroy(),e.f7Tooltip=null,delete e.f7Tooltip)},e.prototype.componentDidMount=function(){var t=this;t.refs.linkEl&&t.refs.linkEl.addEventListener("click",t.onClick);var o=t.props.tooltip;o&&t.$f7ready(function(e){t.f7Tooltip=e.tooltip.create({targetEl:t.refs.el,text:o})})},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},e.prototype.componentDidUpdate=function(e,t){var o=this;m(this,"props.tooltip",e,t,function(e){var t=o;e&&t.f7Tooltip&&t.f7Tooltip.setText(e)})},Object.defineProperties(e.prototype,t),e}(ge.Component);t(T,Object.assign({id:[String,Number],className:String,style:Object,morphTo:String,href:[Boolean,String],target:String,text:String,position:{type:String,default:"right-bottom"},tooltip:String},Ee.colorProps)),T.displayName="f7-fab";var D=function(o){function e(e,t){o.call(this,e,t)}return o&&(e.__proto__=o),((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var e=this.props,t=e.className,o=e.id,n=e.style,r=e.type,s=e.value,i=e.size,a=e.bgColor,l=e.borderBgColor,c=e.borderColor,p=e.borderWidth,u=e.valueText,d=e.valueTextColor,f=e.valueFontSize,h=e.valueFontWeight,m=e.labelText,b=e.labelTextColor,v=e.labelFontSize,g=e.labelFontWeight,y=ye.classNames(t,"gauge"),E="semicircle"===r,S=i/2-p/2,B=2*Math.PI*S,C=Math.max(Math.min(s,1),0);return ge.createElement("div",{id:o,style:n,className:y},ge.createElement("svg",{className:"gauge-svg",width:i+"px",height:(E?i/2:i)+"px",viewBox:"0 0 "+i+" "+(E?i/2:i)},E&&ge.createElement("path",{className:"gauge-back-semi",d:"M"+(i-p/2)+","+i/2+" a1,1 0 0,0 -"+(i-p)+",0",stroke:l,strokeWidth:p,fill:a||"none"}),E&&ge.createElement("path",{className:"gauge-front-semi",d:"M"+(i-p/2)+","+i/2+" a1,1 0 0,0 -"+(i-p)+",0",stroke:c,strokeWidth:p,strokeDasharray:B/2,strokeDashoffset:B/2*(1+C),fill:l?"none":a||"none"}),!E&&l&&ge.createElement("circle",{className:"gauge-back-circle",stroke:l,strokeWidth:p,fill:a||"none",cx:i/2,cy:i/2,r:S}),!E&&ge.createElement("circle",{className:"gauge-front-circle",transform:"rotate(-90 "+i/2+" "+i/2+")",stroke:c,strokeWidth:p,strokeDasharray:B,strokeDashoffset:B*(1-C),fill:l?"none":a||"none",cx:i/2,cy:i/2,r:S}),u&&ge.createElement("text",{className:"gauge-value-text",x:"50%",y:E?"100%":"50%",fontWeight:h,fontSize:f,fill:d,dy:E?m?-v-15:-5:0,textAnchor:"middle",dominantBaseline:E?null:"middle"},u),m&&ge.createElement("text",{className:"gauge-label-text",x:"50%",y:E?"100%":"50%",fontWeight:g,fontSize:v,fill:b,dy:E?-5:u?f/2+10:0,textAnchor:"middle",dominantBaseline:E?null:"middle"},m)))},e}(ge.Component);t(D,{id:[String,Number],className:String,style:Object,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}}),D.displayName="f7-gauge";var Y=function(n){function e(e,t){var o=this;n.call(this,e,t),this.__reactRefs={},o.onChange=o.onChange.bind(o)}n&&(e.__proto__=n);var t={refs:{configurable:!0}};return((e.prototype=Object.create(n&&n.prototype)).constructor=e).prototype.toggle=function(){this.f7Toggle&&this.f7Toggle.toggle&&this.f7Toggle.toggle()},e.prototype.onChange=function(e){this.dispatchEvent("change",e)},e.prototype.render=function(){var e,t=this,o=this.props,n=o.className,r=o.disabled,s=o.id,i=o.style,a=o.name,l=o.readonly,c=o.checked,p=o.defaultChecked,u=o.value,d=ye.classNames("toggle",n,{disabled:r},Ee.colorClasses(o));return e=ge.createElement("input",{ref:function(e){t.__reactRefs.inputEl=e},type:"checkbox",name:a,disabled:r,readOnly:l,checked:c,defaultChecked:p,value:u,onChange:this.onChange}),ge.createElement("label",{ref:function(e){t.__reactRefs.el=e},id:s,style:i,className:d},e,ge.createElement("span",{className:"toggle-icon"}))},e.prototype.componentWillUnmount=function(){this.f7Toggle&&this.f7Toggle.destroy&&this.f7Toggle.$el&&this.f7Toggle.destroy()},e.prototype.componentDidMount=function(){var o=this;o.props.init&&o.$f7ready(function(e){o.f7Toggle=e.toggle.create({el:o.refs.el,on:{change:function(e){var t=e.checked;o.dispatchEvent("toggle:change toggleChange",t)}}})})},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},e.prototype.componentDidUpdate=function(e,t){var o=this;m(this,"props.checked",e,t,function(e){var t=o;t.f7Toggle&&(t.f7Toggle.checked=e)})},Object.defineProperties(e.prototype,t),e}(ge.Component);t(Y,Object.assign({id:[String,Number],className:String,style:Object,init:{type:Boolean,default:!0},checked:Boolean,defaultChecked:Boolean,disabled:Boolean,readonly:Boolean,name:String,value:[String,Number,Array]},Ee.colorProps)),Y.displayName="f7-toggle";var J=function(o){function e(e,t){o.call(this,e,t),this.__reactRefs={}}o&&(e.__proto__=o);var t={slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.setValue=function(e){this.f7Range&&this.f7Range.setValue&&this.f7Range.setValue(e)},e.prototype.getValue=function(){if(this.f7Range&&this.f7Range.getValue)return this.f7Range.getValue()},e.prototype.render=function(){var t=this,e=this.props,o=this.props,n=o.id,r=o.disabled,s=o.className,i=o.style,a=o.input,l=o.inputId,c=o.name,p=ye.classNames(s,"range-slider",{disabled:r},Ee.colorClasses(e));return ge.createElement("div",{ref:function(e){t.__reactRefs.el=e},id:n,style:i,className:p},a&&ge.createElement("input",{type:"range",name:c,id:l}),this.slots.default)},e.prototype.componentWillUnmount=function(){this.f7Range&&this.f7Range.destroy&&this.f7Range.destroy()},e.prototype.componentDidMount=function(){var c=this;c.$f7ready(function(e){if(c.props.init){var t=c.props,o=t.value,n=t.min,r=t.max,s=t.step,i=t.label,a=t.dual,l=t.draggableBar;c.f7Range=e.range.create(ye.noUndefinedProps({el:c.refs.el,value:o,min:n,max:r,step:s,label:i,dual:a,draggableBar:l,on:{change:function(e,t){c.dispatchEvent("range:change rangeChange",t)},changed:function(e,t){c.dispatchEvent("range:changed rangeChanged",t)}}}))}})},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},e.prototype.componentDidUpdate=function(e,t){var o=this;m(this,"props.value",e,t,function(e){var t=o;t.f7Range&&t.f7Range.setValue(e)})},Object.defineProperties(e.prototype,t),e}(ge.Component);t(J,Object.assign({id:[String,Number],className:String,style:Object,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},name:String,inputId:String,input:Boolean,disabled:Boolean,draggableBar:{type:Boolean,default:!0}},Ee.colorProps)),J.displayName="f7-range";var A=function(i){function e(e,t){var o,n,r,s=this;i.call(this,e,t),this.__reactRefs={},this.state=(o=e.value,n=e.defaultValue,{inputFocused:!1,inputInvalid:!1,currentInputValue:void 0===o?n:o}),(r=s).onFocus=r.onFocus.bind(r),r.onBlur=r.onBlur.bind(r),r.onInput=r.onInput.bind(r),r.onChange=r.onChange.bind(r),r.onTextareaResize=r.onTextareaResize.bind(r),r.onInputNotEmpty=r.onInputNotEmpty.bind(r),r.onInputEmpty=r.onInputEmpty.bind(r),r.onInputClear=r.onInputClear.bind(r)}i&&(e.__proto__=i);var t={inputWithValue:{configurable:!0},slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(i&&i.prototype)).constructor=e).prototype.validateInput=function(e){var t=this;if(t.$f7&&e){var o=e.validity;o&&(o.valid?!1!==t.state.inputInvalid&&t.setState({inputInvalid:!1}):!0!==t.state.inputInvalid&&t.setState({inputInvalid:!0}))}},e.prototype.onTextareaResize=function(e){this.dispatchEvent("textarea:resize textareaResize",e)},e.prototype.onInputNotEmpty=function(e){this.dispatchEvent("input:notempty inputNotEmpty",e)},e.prototype.onInputEmpty=function(e){this.dispatchEvent("input:empty inputEmpty",e)},e.prototype.onInputClear=function(e){this.dispatchEvent("input:clear inputClear",e)},e.prototype.onInput=function(e){var t=this,o=t.props.validate;t.dispatchEvent("input",e),(o||""===o)&&t.refs&&t.refs.inputEl&&t.validateInput(t.refs.inputEl),t.setState({currentInputValue:e.target.value})},e.prototype.onFocus=function(e){this.dispatchEvent("focus",e),this.setState({inputFocused:!0})},e.prototype.onBlur=function(e){var t=this,o=t.props.validate;t.dispatchEvent("blur",e),(o||""===o)&&t.refs&&t.refs.inputEl&&t.validateInput(t.refs.inputEl),t.setState({inputFocused:!1})},e.prototype.onChange=function(e){this.dispatchEvent("change",e)},e.prototype.render=function(){var e,i=this,a=this,t=a.props,l=t.type,c=t.name,p=t.value,u=t.defaultValue,d=t.placeholder,o=t.id,f=t.inputId,h=t.size,m=t.accept,b=t.autocomplete,v=t.autocorrect,g=t.autocapitalize,y=t.spellcheck,E=t.autofocus,S=t.autosave,B=t.checked,C=t.disabled,N=t.max,k=t.min,_=t.step,O=t.maxlength,w=t.minlength,P=t.multiple,L=t.readonly,j=t.required,I=t.inputStyle,R=t.pattern,x=t.validate,M=t.tabindex,T=t.resizable,n=t.clearButton,D=t.errorMessage,A=t.errorMessageForce,r=t.info,F=t.wrap,s=t.style,$=t.className,U=t.noStoreData,z=t.noFormStoreData,H=t.ignoreStoreData,V=function(e,t){var o=e,n="file"!==l,r="input"===e,s=ye.classNames(!F&&$,{resizable:"textarea"===l&&T,"no-store-data":z||U||H,"input-invalid":D&&A||a.state.inputInvalid,"input-with-value":a.inputWithValue,"input-focused":a.state.inputFocused});return ge.createElement(o,{ref:function(e){i.__reactRefs.inputEl=e},style:I,name:c,type:r?l:void 0,placeholder:d,id:f,value:n?p:void 0,defaultValue:u,size:h,accept:m,autoComplete:b,autoCorrect:v,autoCapitalize:g,spellCheck:y,autoFocus:E,autoSave:S,checked:B,disabled:C,max:N,maxLength:O,min:k,minLength:w,step:_,multiple:P,readOnly:L,required:j,pattern:R,validate:"string"==typeof x&&x.length?x:void 0,"data-validate":!0===x||""===x||void 0,tabIndex:M,"data-error-message":A?void 0:D,className:s,onFocus:a.onFocus,onBlur:a.onBlur,onInput:a.onInput,onChange:a.onChange},t)},W=a.slots,q=W.default,G=W.info;if(e="select"===l||"textarea"===l||"file"===l?"select"===l?V("select",q):V("file"===l?"input":"textarea"):q&&0<q.length||!l?q:"toggle"===l?ge.createElement(Y,{checked:B,readonly:L,name:c,value:p,disabled:C,id:f,onChange:a.onChange}):"range"===l?ge.createElement(J,{value:p,disabled:C,min:k,max:N,step:_,name:c,id:f,input:!0,onRangeChange:a.onChange}):V("input"),F){var Q=ye.classNames($,"item-input-wrap",Ee.colorClasses(t));return ge.createElement("div",{id:o,ref:function(e){i.__reactRefs.wrapEl=e},className:Q,style:s},e,D&&A&&ge.createElement("div",{className:"item-input-error-message"},D),n&&ge.createElement("span",{className:"input-clear-button"}),(r||G&&G.length)&&ge.createElement("div",{className:"item-input-info"},r,this.slots.info))}return e},t.inputWithValue.get=function(){var e=this.props.value,t=this.state.currentInputValue;return void 0===e?t:e||0===e},e.prototype.componentWillUnmount=function(){var e=this,t=e.props,o=t.type,n=t.resizable,r=t.clearButton;if("range"!==o&&"toggle"!==o){var s=e.refs.inputEl;s&&(s.removeEventListener("input:notempty",e.onInputNotEmpty,!1),"textarea"===o&&n&&s.removeEventListener("textarea:resze",e.onTextareaResize,!1),r&&(s.removeEventListener("input:empty",e.onInputEmpty,!1),s.removeEventListener("input:clear",e.onInputClear,!1)))}},e.prototype.componentDidUpdate=function(e,t){var r=this;m(this,"props.value",e,t,function(){var e=r,t=e.props,o=t.type,n=t.value;"range"!==o&&"toggle"!==o&&e.$f7&&(e.setState({currentInputValue:n}),e.updateInputOnDidUpdate=!0)});var o=this,n=o.props,s=n.validate,i=n.resizable,a=o.$f7;if(a&&o.updateInputOnDidUpdate){var l=o.refs.inputEl;if(!l)return;o.updateInputOnDidUpdate=!1,a.input.checkEmptyState(l),s&&o.validateInput(l),i&&a.input.resizeTextarea(l)}},e.prototype.componentDidMount=function(){var c=this;c.$f7ready(function(e){var t=c.props,o=t.validate,n=t.resizable,r=t.type,s=t.clearButton,i=t.value,a=t.defaultValue;if("range"!==r&&"toggle"!==r){var l=c.refs.inputEl;l&&(l.addEventListener("input:notempty",c.onInputNotEmpty,!1),"textarea"===r&&n&&l.addEventListener("textarea:resze",c.onTextareaResize,!1),s&&(l.addEventListener("input:empty",c.onInputEmpty,!1),l.addEventListener("input:clear",c.onInputClear,!1)),e.input.checkEmptyState(l),(o||""===o)&&(null!=i&&""!==i||null!=a&&""!==a)&&setTimeout(function(){c.validateInput(l)},0),n&&e.input.resizeTextarea(l))}})},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);t(A,Object.assign({type:String,name:String,value:[String,Number,Array],defaultValue:[String,Number,Array],placeholder:String,id:[String,Number],className:String,style:Object,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:Object,pattern:String,validate:[Boolean,String],tabindex:[String,Number],resizable:Boolean,clearButton:Boolean,noFormStoreData:Boolean,noStoreData:Boolean,ignoreStoreData:Boolean,errorMessage:String,errorMessageForce:Boolean,info:String,wrap:{type:Boolean,default:!0}},Ee.colorProps)),A.displayName="f7-input";var F=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o);var t={slots:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var e=this.props,t=e.inline,o=e.id,n=e.style,r=e.className,s=e.floating,i=ye.classNames(r,"item-title",{"item-label-inline":t,"item-label":!s,"item-floating-label":s},Ee.colorClasses(e));return ge.createElement("div",{id:o,style:n,className:i},this.slots.default)},t.slots.get=function(){return s(this.props)},Object.defineProperties(e.prototype,t),e}(ge.Component);t(F,Object.assign({id:[String,Number],className:String,style:Object,floating:Boolean,inline:Boolean},Ee.colorProps)),F.displayName="f7-label";var $=function(r){function e(e,t){var o,n=this;r.call(this,e,t),this.__reactRefs={},this.state={isTabbarLabel:e.tabbarLabel},(o=n).onClick=o.onClick.bind(o)}r&&(e.__proto__=r);var t={attrs:{configurable:!0},classes:{configurable:!0},slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(r&&r.prototype)).constructor=e).prototype.onClick=function(e){this.dispatchEvent("click",e)},t.attrs.get=function(){var e=this.props,t=e.href,o=e.target,n=e.tabLink,r=t;return!0===t&&(r="#"),!1===t&&(r=void 0),ye.extend({href:r,target:o,"data-tab":ye.isStringProp(n)&&n||void 0},Ee.linkRouterAttrs(e),Ee.linkActionsAttrs(e))},t.classes.get=function(){var e=this.props,t=e.noFastclick,o=e.noFastClick,n=e.tabLink,r=e.tabLinkActive,s=e.noLinkClass,i=e.smartSelect,a=e.className;return ye.classNames(a,{link:!(s||this.state.isTabbarLabel),"icon-only":this.iconOnlyComputed,"tab-link":n||""===n,"tab-link-active":r,"no-fastclick":t||o,"smart-select":i},Ee.colorClasses(e),Ee.linkRouterClasses(e),Ee.linkActionsClasses(e))},e.prototype.render=function(){var e,t,o,n,r=this,s=this,i=s.props,a=i.text,l=i.badge,c=i.badgeColor,p=i.iconOnly,u=i.iconBadge,d=i.icon,f=i.iconColor,h=i.iconSize,m=i.iconMaterial,b=i.iconIon,v=i.iconFa,g=i.iconF7,y=i.iconIfMd,E=i.iconIfIos,S=i.iconMd,B=i.iconIos,C=i.id,N=i.style,k=s.slots.default;a&&(l&&(o=ge.createElement(Se,{color:c},l)),t=ge.createElement("span",{className:s.state.isTabbarLabel?"tabbar-label":""},a,o));var _=y||S,O=E||B;return(d||m||b||v||g||_||O)&&(u&&(n=ge.createElement(Se,{color:c},u)),e=ge.createElement(w,{material:m,f7:g,fa:v,ion:b,icon:d,md:_,ios:O,color:f,size:h},n)),p||!a&&k&&0===k.length||!a&&!k?s.iconOnlyComputed=!0:s.iconOnlyComputed=!1,ge.createElement("a",Object.assign({ref:function(e){r.__reactRefs.el=e},id:C,style:N,className:s.classes},s.attrs),e,t,k)},e.prototype.componentWillUnmount=function(){var e=this;e.refs.el.removeEventListener("click",e.onClick),e.f7SmartSelect&&e.f7SmartSelect.destroy&&e.f7SmartSelect.destroy(),e.f7Tooltip&&e.f7Tooltip.destroy&&(e.f7Tooltip.destroy(),e.f7Tooltip=null,delete e.f7Tooltip)},e.prototype.componentDidMount=function(){var o=this,n=o.refs.el;n.addEventListener("click",o.onClick);var e=o.props,t=e.tabbarLabel,r=e.tabLink,s=e.tooltip,i=e.smartSelect,a=e.smartSelectParams,l=!1;(t||(r||""===r)&&o.$$(n).parents(".tabbar-labels").length)&&(l=!0),o.setState({isTabbarLabel:l}),o.$f7ready(function(e){if(i){var t=ye.extend({el:n},a||{});o.f7SmartSelect=e.smartSelect.create(t)}s&&(o.f7Tooltip=e.tooltip.create({targetEl:n,text:s}))})},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},e.prototype.componentDidUpdate=function(e,t){var o=this;m(this,"props.tooltip",e,t,function(e){var t=o;e&&t.f7Tooltip&&t.f7Tooltip.setText(e)})},Object.defineProperties(e.prototype,t),e}(ge.Component);t($,Object.assign({id:[String,Number],className:String,style:Object,noLinkClass:Boolean,noFastClick:Boolean,noFastclick: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},Ee.colorProps,Ee.linkIconProps,Ee.linkRouterProps,Ee.linkActionsProps)),$.displayName="f7-link";var U=function(n){function e(e,t){var o=this;n.call(this,e,t),this.__reactRefs={},o.onClick=o.onClick.bind(o)}n&&(e.__proto__=n);var t={attrs:{configurable:!0},classes:{configurable:!0},slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(n&&n.prototype)).constructor=e).prototype.onClick=function(e){this.dispatchEvent("click",e)},t.attrs.get=function(){var e=this.props,t=e.link,o=e.href,n=e.target,r=e.tabLink;return ye.extend({href:"boolean"==typeof t&&"boolean"==typeof o?"#":t||o,target:n,"data-tab":ye.isStringProp(r)&&r},Ee.linkRouterAttrs(e),Ee.linkActionsAttrs(e))},t.classes.get=function(){var e=this.props,t=e.noFastclick,o=e.noFastClick,n=e.tabLink,r=e.tabLinkActive;return ye.classNames({"item-link":!0,"list-button":!0,"tab-link":n||""===n,"tab-link-active":r,"no-fastclick":t||o},Ee.colorClasses(e),Ee.linkRouterClasses(e),Ee.linkActionsClasses(e))},e.prototype.render=function(){var t=this,e=this.props,o=e.className,n=e.id,r=e.style,s=e.title,i=e.text;return ge.createElement("li",{id:n,style:r,className:o},ge.createElement("a",Object.assign({className:this.classes},this.attrs,{ref:function(e){t.__reactRefs.linkEl=e}}),this.slots.default,!this.slots.default&&(s||i)))},e.prototype.componentWillUnmount=function(){this.refs.linkEl.removeEventListener("click",this.onClick)},e.prototype.componentDidMount=function(){this.refs.linkEl.addEventListener("click",this.onClick)},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);t(U,Object.assign({id:[String,Number],className:String,style:Object,noFastclick:Boolean,noFastClick:Boolean,title:[String,Number],text:[String,Number],tabLink:[Boolean,String],tabLinkActive:Boolean,link:[Boolean,String],href:[Boolean,String],target:String},Ee.colorProps,Ee.linkRouterProps,Ee.linkActionsProps)),U.displayName="f7-list-button";var z=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o);var t={slots:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var e=this.props,t=e.className,o=e.id,n=e.style,r=e.mediaList,s=e.sortable,i=ye.classNames(t,"list-group",{"media-list":r,sortable:s},Ee.colorClasses(e));return ge.createElement("div",{id:o,style:n,className:i},ge.createElement("ul",null,this.slots.default))},t.slots.get=function(){return s(this.props)},Object.defineProperties(e.prototype,t),e}(ge.Component);t(z,Object.assign({id:[String,Number],className:String,style:Object,mediaList:Boolean,sortable:Boolean},Ee.colorProps)),z.displayName="f7-list-group";var H=function(o){function e(e,t){o.call(this,e,t),this.__reactRefs={}}o&&(e.__proto__=o);var t={slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.update=function(){this.f7ListIndex&&this.f7ListIndex.update()},e.prototype.scrollListToIndex=function(e){this.f7ListIndex&&this.f7ListIndex.scrollListToIndex(e)},e.prototype.render=function(){var t=this,e=this.props,o=e.className,n=e.id,r=e.style,s=ye.classNames(o,"list-index",Ee.colorClasses(e));return ge.createElement("div",{ref:function(e){t.__reactRefs.el=e},id:n,style:r,className:s},this.slots.default)},e.prototype.componentDidMount=function(){var c=this;c.props.init&&c.$f7ready(function(e){var t=c.refs.el,o=c.props,n=o.listEl,r=o.indexes,s=o.iosItemHeight,i=o.mdItemHeight,a=o.scrollList,l=o.label;c.f7ListIndex=e.listIndex.create({el:t,listEl:n,indexes:r,iosItemHeight:s,mdItemHeight:i,scrollList:a,label:l,on:{select:function(e,t,o){c.dispatchEvent("listindex:select listIndexSelect",t,o)}}})})},e.prototype.componentWillUnmount=function(){this.props.init&&this.f7ListIndex&&this.f7ListIndex.destroy&&this.f7ListIndex.destroy()},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},e.prototype.componentDidUpdate=function(e,t){var o=this;m(this,"props.indexes",e,t,function(){o.f7ListIndex&&(o.f7ListIndex.params.indexes=o.props.indexes,o.update())})},Object.defineProperties(e.prototype,t),e}(ge.Component);t(H,Object.assign({id:[String,Number],className:String,style:Object,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}},Ee.colorProps)),H.displayName="f7-list-index";var V=function(i){function e(e,t){var o,n,r,s=this;i.call(this,e,t),this.__reactRefs={},this.state=(o=e.value,n=e.defaultValue,{isSortable:e.sortable,inputFocused:!1,inputInvalid:!1,currentInputValue:void 0===o?n:o}),(r=s).onChange=r.onChange.bind(r),r.onInput=r.onInput.bind(r),r.onFocus=r.onFocus.bind(r),r.onBlur=r.onBlur.bind(r),r.onTextareaResize=r.onTextareaResize.bind(r),r.onInputNotEmpty=r.onInputNotEmpty.bind(r),r.onInputEmpty=r.onInputEmpty.bind(r),r.onInputClear=r.onInputClear.bind(r)}i&&(e.__proto__=i);var t={inputHasValue:{configurable:!0},slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(i&&i.prototype)).constructor=e).prototype.validateInput=function(e){var t=this;if(t.$f7&&e){var o=e.validity;o&&(o.valid?!1!==t.state.inputInvalid&&t.setState({inputInvalid:!1}):!0!==t.state.inputInvalid&&t.setState({inputInvalid:!0}))}},e.prototype.onTextareaResize=function(e){this.dispatchEvent("textarea:resize textareaResize",e)},e.prototype.onInputNotEmpty=function(e){this.dispatchEvent("input:notempty inputNotEmpty",e)},e.prototype.onInputEmpty=function(e){this.dispatchEvent("input:empty inputEmpty",e)},e.prototype.onInputClear=function(e){this.dispatchEvent("input:clear inputClear",e)},e.prototype.onInput=function(e){var t=this,o=t.props.validate;t.dispatchEvent("input",e),(o||""===o)&&t.refs&&t.refs.inputEl&&t.validateInput(t.refs.inputEl),t.setState({currentInputValue:e.target.value})},e.prototype.onFocus=function(e){this.dispatchEvent("focus",e),this.setState({inputFocused:!0})},e.prototype.onBlur=function(e){var t=this,o=t.props.validate;t.dispatchEvent("blur",e),(o||""===o)&&t.refs&&t.refs.inputEl&&t.validateInput(t.refs.inputEl),t.setState({inputFocused:!1})},e.prototype.onChange=function(e){this.dispatchEvent("change",e)},t.inputHasValue.get=function(){var e=this.props.value,t=this.state.currentInputValue;return void 0===e?t:e||0===e},e.prototype.render=function(){var e,i=this,a=this,t=a.state,l=t.inputFocused,c=t.inputInvalid,o=a.props,n=o.id,r=o.style,s=o.className,p=o.sortable,u=o.media,d=o.input,f=o.tag,h=o.type,m=o.name,b=o.value,v=o.defaultValue,g=o.readonly,y=o.required,E=o.disabled,S=o.placeholder,B=o.inputId,C=o.size,N=o.accept,k=o.autocomplete,_=o.autocorrect,O=o.autocapitalize,w=o.spellcheck,P=o.autofocus,L=o.autosave,j=o.max,I=o.min,R=o.step,x=o.maxlength,M=o.minlength,T=o.multiple,D=o.inputStyle,A=o.pattern,F=o.validate,$=o.tabindex,U=o.resizable,z=o.clearButton,H=o.noFormStoreData,V=o.noStoreData,W=o.ignoreStoreData,q=o.errorMessage,G=o.errorMessageForce,Q=o.info,Y=o.label,J=o.inlineLabel,K=o.floatingLabel,X=p||a.state.isSortable,Z=function(e,t){var o=e,n="file"!==h,r="input"===e,s=ye.classNames({resizable:"textarea"===h&&U,"no-store-data":H||V||W,"input-invalid":q&&G||c,"input-with-value":a.inputHasValue,"input-focused":l});return ge.createElement(o,{ref:function(e){i.__reactRefs.inputEl=e},style:D,name:m,type:r?h:void 0,placeholder:S,id:B,value:n?b:void 0,defaultValue:v,size:C,accept:N,autoComplete:k,autoCorrect:_,autoCapitalize:O,spellCheck:w,autoFocus:P,autoSave:L,disabled:E,max:j,maxLength:x,min:I,minLength:M,step:R,multiple:T,readOnly:g,required:y,pattern:A,validate:"string"==typeof F&&F.length?F:void 0,"data-validate":!0===F||""===F||void 0,tabIndex:$,"data-error-message":G?void 0:q,className:s,onFocus:a.onFocus,onBlur:a.onBlur,onInput:a.onInput,onChange:a.onChange},t)};d&&(e="select"===h||"textarea"===h||"file"===h?"select"===h?Z("select",a.slots.default):Z("file"===h?"input":"textarea"):Z("input"));var ee=!!q||a.slots["error-message"]&&a.slots["error-message"].length,te=f;return ge.createElement(te,{ref:function(e){i.__reactRefs.el=e},id:n,style:r,className:ye.classNames(s,{disabled:E},Ee.colorClasses(o))},this.slots["root-start"],ge.createElement("div",{className:ye.classNames("item-content item-input",{"inline-label":J,"item-input-focused":l,"item-input-with-info":!!Q||a.slots.info&&a.slots.info.length,"item-input-with-value":a.inputHasValue,"item-input-with-error-message":ee&&G||c,"item-input-invalid":ee&&G||c})},this.slots["content-start"],(u||a.slots.media)&&ge.createElement("div",{className:"item-media"},u&&ge.createElement("img",{src:u}),this.slots.media),ge.createElement("div",{className:"item-inner"},this.slots["inner-start"],(Y||a.slots.label)&&ge.createElement("div",{className:ye.classNames("item-title item-label",{"item-floating-label":K})},Y,this.slots.label),ge.createElement("div",{className:ye.classNames("item-input-wrap",{"input-dropdown":"select"===h})},e,this.slots.input,ee&&G&&ge.createElement("div",{className:"item-input-error-message"},q,this.slots["error-message"]),z&&ge.createElement("span",{className:"input-clear-button"}),(Q||a.slots.info)&&ge.createElement("div",{className:"item-input-info"},Q,this.slots.info)),this.slots.inner,this.slots["inner-end"]),this.slots.content,this.slots["content-end"]),X&&ge.createElement("div",{className:"sortable-handler"}),this.slots.root,this.slots["root-end"])},e.prototype.componentWillUnmount=function(){var e=this,t=e.refs.inputEl;t&&(t.removeEventListener("input:notempty",e.onInputNotEmpty,!1),t.removeEventListener("textarea:resze",e.onTextareaResize,!1),t.removeEventListener("input:empty",e.onInputEmpty,!1),t.removeEventListener("input:clear",e.onInputClear,!1))},e.prototype.componentDidUpdate=function(e,t){var o=this;m(this,"props.value",e,t,function(){var e=o,t=e.props.value;e.$f7&&(e.setState({currentInputValue:t}),e.updateInputOnDidUpdate=!0)});var n=this,r=n.$listEl;if(r&&(!r||0!==r.length)){var s=r.hasClass("sortable");s!==n.state.isSortable&&n.setState({isSortable:s});var i=n.props,a=i.validate,l=i.resizable,c=i.type,p=n.$f7;if(p&&n.updateInputOnDidUpdate){var u=n.refs.inputEl;if(!u)return;n.updateInputOnDidUpdate=!1,a&&n.validateInput(u),"textarea"===c&&l&&p.input.resizeTextarea(u)}}},e.prototype.componentDidMount=function(){var l=this,e=l.refs.el;e&&(l.$f7ready(function(e){var t=l.props,o=t.validate,n=t.resizable,r=t.value,s=t.defaultValue,i=t.type,a=l.refs.inputEl;a&&(a.addEventListener("input:notempty",l.onInputNotEmpty,!1),a.addEventListener("textarea:resze",l.onTextareaResize,!1),a.addEventListener("input:empty",l.onInputEmpty,!1),a.addEventListener("input:clear",l.onInputClear,!1),(o||""===o)&&(null!=r&&""!==r||null!=s&&""!==s)&&setTimeout(function(){l.validateInput(a)},0),"textarea"===i&&n&&e.input.resizeTextarea(a))}),l.$listEl=l.$$(e).parents(".list, .list-group").eq(0),l.$listEl.length&&l.setState({isSortable:l.$listEl.hasClass("sortable")}))},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);t(V,Object.assign({id:[String,Number],style:Object,className:String,sortable:Boolean,media:String,tag:{type:String,default:"li"},input:{type:Boolean,default:!0},type:{type:String,default:"text"},name:String,value:[String,Number,Array],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:Object,pattern:String,validate:[Boolean,String],tabindex:[String,Number],resizable:Boolean,clearButton:Boolean,noFormStoreData:Boolean,noStoreData:Boolean,ignoreStoreData:Boolean,errorMessage:String,errorMessageForce:Boolean,info:String,label:[String,Number],inlineLabel:Boolean,floatingLabel:Boolean},Ee.colorProps)),V.displayName="f7-list-input";var W=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o);var t={slots:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var e=this.props,t=e.className,o=e.id,n=e.style,r=ye.classNames(t,"item-cell",Ee.colorClasses(e));return ge.createElement("div",{id:o,style:n,className:r},this.slots.default)},t.slots.get=function(){return s(this.props)},Object.defineProperties(e.prototype,t),e}(ge.Component);t(W,Object.assign({id:[String,Number],className:String,style:Object},Ee.colorProps)),W.displayName="f7-list-item-cell";var ee=function(r){function e(e,t){var o,n=this;r.call(this,e,t),this.__reactRefs={},this.state={hasInput:!1,hasInlineLabel:!1,hasInputInfo:!1,hasInputErrorMessage:!1,hasInputValue:!1,hasInputFocused:!1,hasInputInvalid:!1},(o=n).onClick=o.onClick.bind(o),o.onChange=o.onChange.bind(o),o.onFocus=o.onFocus.bind(o),o.onBlur=o.onBlur.bind(o),o.onEmpty=o.onEmpty.bind(o),o.onNotEmpty=o.onNotEmpty.bind(o)}r&&(e.__proto__=r);var t={slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(r&&r.prototype)).constructor=e).prototype.checkHasInputState=function(){var e=this,t=e.props,o=t.itemInput,n=t.inlineLabel,r=t.itemInputWithInfo,s=o||e.state.hasInput,i=n||e.state.hasInlineLabel,a=r||e.state.hasInputInfo,l=e.state.hasInputErrorMessage;s&&!e.state.hasInput?(e.hasInputSet=!0,e.setState({hasInput:s})):s||(e.hasInputSet=!1),a&&!e.state.hasInputInfo?(e.hasInputInfoSet=!0,e.setState({hasInputInfo:a})):a||(e.hasInputInfoSet=!1),l&&!e.state.hasInputErrorMessage?(e.hasInputErrorMessageSet=!0,e.setState({hasInputErrorMessage:l})):a||(e.hasInputErrorMessageSet=!1),i&&!e.state.hasInlineLabel?(e.hasInlineLabelSet=!0,e.setState({hasInlineLabel:i})):i||(e.hasInlineLabelSet=!1)},e.prototype.onClick=function(e){this.dispatchEvent("click",e)},e.prototype.onChange=function(e){this.dispatchEvent("change",e)},e.prototype.onFocus=function(){this.setState({hasInputFocused:!0})},e.prototype.onBlur=function(){this.setState({hasInputFocused:!1})},e.prototype.onEmpty=function(){this.setState({hasInputValue:!1})},e.prototype.onNotEmpty=function(){this.setState({hasInputValue:!0})},e.prototype.render=function(){var e,t,o,n,r,s,i,a,l,c,p,u,d,f,h=this,m=this,b=m.props,v=b.id,g=b.className,y=b.style,E=b.radio,S=b.checkbox,B=b.value,C=b.name,N=b.checked,k=b.defaultChecked,_=b.readonly,O=b.disabled,w=b.required,P=b.media,L=b.header,j=b.footer,I=b.title,R=b.subtitle,x=b.text,M=b.after,T=b.badge,D=b.mediaList,A=b.mediaItem,F=b.badgeColor,$=b.itemInput,U=b.inlineLabel,z=b.itemInputWithInfo,H=m.state.hasInputFocused,V=m.state.hasInputInvalid,W=m.state.hasInputValue,q=$||m.state.hasInput,G=U||m.state.hasInlineLabel,Q=z||m.state.hasInputInfo,Y=m.state.hasInputErrorMessage,J=[],K=[],X=[],Z=[],ee=[],te=[],oe=[],ne=[],re=[],se=[],ie=[],ae=[],le=[],ce=[],pe=[],ue=[],de=[],fe=m.slots.default,he=[];(fe&&fe.length&&fe.forEach(function(e){Array.isArray(e)?he.push.apply(he,e):he.push(e)}),he.forEach(function(e){if(void 0!==e){var t,o=e.type&&(e.type.displayName||e.type.name);"F7Input"!==o&&"f7-input"!==o||(q=!0,e.props&&e.props.info&&(Q=!0),e.props&&e.props.errorMessage&&e.props.errorMessageForce&&(Y=!0),W||(W=!!(e.props&&(void 0===e.props.value?e.props.defaultValue||0===e.props.defaultValue:e.props.value||0===e.props.value)))),"F7Label"!==o&&"f7-label"!==o||e.props&&e.props.inline&&(G=!0),(t=e.props?e.props.slot:void 0)&&"inner"!==t||ee.push(e),"content-start"===t&&J.push(e),"content"===t&&K.push(e),"content-end"===t&&X.push(e),"after-start"===t&&oe.push(e),"after"===t&&ne.push(e),"after-end"===t&&re.push(e),"media"===t&&se.push(e),"inner-start"===t&&Z.push(e),"inner-end"===t&&te.push(e),"before-title"===t&&ie.push(e),"title"===t&&ae.push(e),"after-title"===t&&le.push(e),"subtitle"===t&&ce.push(e),"text"===t&&pe.push(e),"header"===t&&ue.push(e),"footer"===t&&de.push(e)}}),(E||S)&&(c=ge.createElement("input",{ref:function(e){h.__reactRefs.inputEl=e},value:B,name:C,checked:N,defaultChecked:k,readOnly:_,disabled:O,required:w,type:E?"radio":"checkbox",onChange:this.onChange}),p=ge.createElement("i",{className:"icon icon-"+(E?"radio":"checkbox")})),P||se.length)&&(P&&(f=ge.createElement("img",{src:P})),l=ge.createElement("div",{className:"item-media"},f,se));var me=A||D;(L||ue.length)&&(u=ge.createElement("div",{className:"item-header"},L,ue)),(j||de.length)&&(d=ge.createElement("div",{className:"item-footer"},j,de)),(I||ae.length||!me&&u||!me&&d)&&(e=ge.createElement("div",{className:"item-title"},!me&&u,I,ae,!me&&d)),(R||ce.length)&&(i=ge.createElement("div",{className:"item-subtitle"},R,ce)),(x||pe.length)&&(a=ge.createElement("div",{className:"item-text"},x,pe)),(M||T||ne.length)&&(M&&(o=ge.createElement("span",null,M)),T&&(n=ge.createElement(Se,{color:F},T)),t=ge.createElement("div",{className:"item-after"},oe,o,n,ne,re)),r=me?(s=ge.createElement("div",{className:"item-title-row"},ie,e,le,t),ge.createElement("div",{ref:function(e){h.__reactRefs.innerEl=e},className:"item-inner"},Z,u,s,i,a,ee,d,te)):ge.createElement("div",{ref:function(e){h.__reactRefs.innerEl=e},className:"item-inner"},Z,ie,e,le,t,ee,te);var be=S||E?"label":"div",ve=ye.classNames(g,"item-content",{"item-checkbox":S,"item-radio":E,"item-input":q,"inline-label":G,"item-input-with-info":Q,"item-input-with-error-message":Y,"item-input-invalid":V,"item-input-with-value":W,"item-input-focused":H},Ee.colorClasses(b));return ge.createElement(be,{ref:function(e){h.__reactRefs.el=e},id:v,style:y,className:ve},J,c,p,l,r,K,X)},e.prototype.componentWillUnmount=function(){var e=this,t=e.refs.el;t.removeEventListener("click",e.onClick),t.removeEventListener("input:empty",e.onEmpty),t.removeEventListener("input:notempty",e.onNotEmpty),t.removeEventListener("focus",e.onFocus,!0),t.removeEventListener("blur",e.onBlur,!0)},e.prototype.componentDidUpdate=function(){var e=this,t=e.refs.innerEl;if(t){var o=e.$$(t),n=o.children(".item-title.item-label"),r=o.children(".item-input-wrap"),s=n.hasClass("item-label-inline"),i=0<r.length,a=0<r.children(".item-input-info").length,l=0<r.children(".item-input-error-message").length,c=0<r.children(".input-invalid").length;s!==e.state.hasInlineLabel&&e.setState({hasInlineLabel:s}),i!==e.state.hasInput&&e.setState({hasInput:i}),a!==e.state.hasInputInfo&&e.setState({hasInputInfo:a}),e.hasInputErrorMessageSet||l===e.state.hasInputErrorMessage||e.setState({hasInputErrorMessage:l}),c!==e.state.hasInputInvalid&&e.setState({hasInputInvalid:c})}},e.prototype.componentDidMount=function(){var e=this,t=e.refs,o=t.innerEl,n=t.el;t.inputEl;if(n.addEventListener("click",e.onClick),o){var r=e.$$(o),s=r.children(".item-title.item-label"),i=r.children(".item-input-wrap"),a=s.hasClass("item-label-inline"),l=0<i.length,c=0<i.children(".item-input-info").length,p=0<i.children(".item-input-error-message").length,u=0<i.children(".input-invalid").length;l&&(n.addEventListener("focus",e.onFocus,!0),n.addEventListener("blur",e.onBlur,!0),n.addEventListener("input:empty",e.onEmpty),n.addEventListener("input:notempty",e.onNotEmpty)),e.hasInlineLabelSet||a===e.state.hasInlineLabel||e.setState({hasInlineLabel:a}),e.hasInputSet||l===e.state.hasInput||e.setState({hasInput:l}),e.hasInputInfoSet||c===e.state.hasInputInfo||e.setState({hasInputInfo:c}),e.hasInputErrorMessageSet||p===e.state.hasInputErrorMessage||e.setState({hasInputErrorMessage:p}),e.hasInputInvalidSet||u===e.state.hasInputInvalid||e.setState({hasInputInvalid:u})}},e.prototype.componentWillUpdate=function(){this.checkHasInputState()},e.prototype.componentWillMount=function(){this.checkHasInputState()},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);t(ee,Object.assign({id:[String,Number],className:String,style:Object,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,itemInput:Boolean,itemInputWithInfo:Boolean,inlineLabel:Boolean,checkbox:Boolean,checked:Boolean,defaultChecked:Boolean,radio:Boolean,name:String,value:[String,Number,Array],readonly:Boolean,required:Boolean,disabled:Boolean},Ee.colorProps)),ee.displayName="f7-list-item-content";var q=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o);var t={slots:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var e=this.props,t=e.className,o=e.id,n=e.style,r=ye.classNames(t,"item-row",Ee.colorClasses(e));return ge.createElement("div",{id:o,style:n,className:r},this.slots.default)},t.slots.get=function(){return s(this.props)},Object.defineProperties(e.prototype,t),e}(ge.Component);t(q,Object.assign({id:[String,Number],className:String,style:Object},Ee.colorProps)),q.displayName="f7-list-item-row";var G=function(r){function e(e,t){var o,n=this;r.call(this,e,t),this.__reactRefs={},this.state={isMedia:e.mediaItem||e.mediaList,isSortable:e.sortable,isSimple:!1},(o=n).onClick=o.onClick.bind(o),o.onChange=o.onChange.bind(o),o.onSwipeoutOpen=o.onSwipeoutOpen.bind(o),o.onSwipeoutOpened=o.onSwipeoutOpened.bind(o),o.onSwipeoutClose=o.onSwipeoutClose.bind(o),o.onSwipeoutClosed=o.onSwipeoutClosed.bind(o),o.onSwipeoutDelete=o.onSwipeoutDelete.bind(o),o.onSwipeoutDeleted=o.onSwipeoutDeleted.bind(o),o.onSwipeoutOverswipeEnter=o.onSwipeoutOverswipeEnter.bind(o),o.onSwipeoutOverswipeExit=o.onSwipeoutOverswipeExit.bind(o),o.onSwipeout=o.onSwipeout.bind(o),o.onAccBeforeOpen=o.onAccBeforeOpen.bind(o),o.onAccOpen=o.onAccOpen.bind(o),o.onAccOpened=o.onAccOpened.bind(o),o.onAccBeforeClose=o.onAccBeforeClose.bind(o),o.onAccClose=o.onAccClose.bind(o),o.onAccClosed=o.onAccClosed.bind(o)}r&&(e.__proto__=r);var t={slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(r&&r.prototype)).constructor=e).prototype.onClick=function(e){"input"!==e.target.tagName.toLowerCase()&&this.dispatchEvent("click",e)},e.prototype.onSwipeoutOverswipeEnter=function(e){this.dispatchEvent("swipeout:overswipeenter swipeoutOverswipeEnter",e)},e.prototype.onSwipeoutOverswipeExit=function(e){this.dispatchEvent("swipeout:overswipeexit swipeoutOverswipeExit",e)},e.prototype.onSwipeoutDeleted=function(e){this.dispatchEvent("swipeout:deleted swipeoutDeleted",e)},e.prototype.onSwipeoutDelete=function(e){this.dispatchEvent("swipeout:delete swipeoutDelete",e)},e.prototype.onSwipeoutClose=function(e){this.dispatchEvent("swipeout:close swipeoutClose",e)},e.prototype.onSwipeoutClosed=function(e){this.dispatchEvent("swipeout:closed swipeoutClosed",e)},e.prototype.onSwipeoutOpen=function(e){this.dispatchEvent("swipeout:open swipeoutOpen",e)},e.prototype.onSwipeoutOpened=function(e){this.dispatchEvent("swipeout:opened swipeoutOpened",e)},e.prototype.onSwipeout=function(e){this.dispatchEvent("swipeout",e)},e.prototype.onAccBeforeClose=function(e){this.dispatchEvent("accordion:beforeclose accordionBeforeClose",e,e.detail.prevent)},e.prototype.onAccClose=function(e){this.dispatchEvent("accordion:close accordionClose",e)},e.prototype.onAccClosed=function(e){this.dispatchEvent("accordion:closed accordionClosed",e)},e.prototype.onAccBeforeOpen=function(e){this.dispatchEvent("accordion:beforeopen accordionBeforeOpen",e,e.detail.prevent)},e.prototype.onAccOpen=function(e){this.dispatchEvent("accordion:open accordionOpen",e)},e.prototype.onAccOpened=function(e){this.dispatchEvent("accordion:opened accordionOpened",e)},e.prototype.onChange=function(e){this.dispatchEvent("change",e)},e.prototype.onInput=function(e){this.dispatchEvent("input",e)},e.prototype.render=function(){var e,t,o=this,n=this,r=n.props,s=r.id,i=r.style,a=r.className,l=r.title,c=r.text,p=r.media,u=r.subtitle,d=r.header,f=r.footer,h=r.link,m=r.href,b=r.target,v=r.noFastclick,g=r.noFastClick,y=r.after,E=r.badge,S=r.badgeColor,B=r.mediaItem,C=r.mediaList,N=r.divider,k=r.groupTitle,_=r.swipeout,O=r.accordionItem,w=r.accordionItemOpened,P=r.smartSelect,L=r.checkbox,j=r.radio,I=r.checked,R=r.defaultChecked,x=r.name,M=r.value,T=r.readonly,D=r.required,A=r.disabled,F=r.itemInput,$=r.itemInputWithInfo,U=r.inlineLabel,z=r.sortable,H=r.noChevron,V=r.chevronCenter,W=r.virtualListIndex,q=B||C||n.state.isMedia,G=z||n.state.isSortable,Q=n.state.isSimple;if(!Q){var Y=!(h||m||O||P);if(t=ge.createElement(ee,{title:l,text:c,media:p,subtitle:u,after:y,header:d,footer:f,badge:E,badgeColor:S,mediaList:q,accordionItem:O,checkbox:L,checked:I,defaultChecked:R,radio:j,name:x,value:M,readonly:T,required:D,disabled:A,itemInput:F,itemInputWithInfo:$,inlineLabel:U,onClick:Y?n.onClick:null,onChange:Y?n.onChange:null},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,_||O?null:n.slots.default),h||m||O||P){var J=ye.extend({href:!0===h||O||P?"#":h||m,target:b},Ee.linkRouterAttrs(r),Ee.linkActionsAttrs(r)),K=ye.classNames({"item-link":!0,"no-fastclick":v||g,"smart-select":P},Ee.linkRouterClasses(r),Ee.linkActionsClasses(r));e=ge.createElement("a",Object.assign({ref:function(e){o.__reactRefs.linkEl=e},className:K},J),t)}}var X=ye.classNames(a,{"item-divider":N,"list-group-title":k,"media-item":q,swipeout:_,"accordion-item":O,"accordion-item-opened":w,disabled:A&&!(j||L),"no-chevron":H,"chevron-center":V},Ee.colorClasses(r));if(N||k)return ge.createElement("li",{ref:function(e){o.__reactRefs.el=e},id:s,style:i,className:X,"data-virtual-list-index":W},ge.createElement("span",null,this.slots.default,!this.slots.default&&l));if(Q)return ge.createElement("li",{ref:function(e){o.__reactRefs.el=e},id:s,style:i,className:X,"data-virtual-list-index":W},l,this.slots.default);var Z=h||m||P||O?e:t;return ge.createElement("li",{ref:function(e){o.__reactRefs.el=e},id:s,style:i,className:X,"data-virtual-list-index":W},this.slots["root-start"],_?ge.createElement("div",{className:"swipeout-content"},Z):Z,G&&ge.createElement("div",{className:"sortable-handler"}),(_||O)&&n.slots.default,this.slots.root,this.slots["root-end"])},e.prototype.componentWillUnmount=function(){var e=this,t=e.refs,o=t.el,n=t.linkEl,r=e.props,s=r.link,i=r.href,a=r.smartSelect,l=r.swipeout,c=r.accordionItem;!!(s||i||c||a)&&n&&n.removeEventListener("click",e.onClick),o&&(l&&(o.removeEventListener("swipeout:open",e.onSwipeoutOpen),o.removeEventListener("swipeout:opened",e.onSwipeoutOpened),o.removeEventListener("swipeout:close",e.onSwipeoutClose),o.removeEventListener("swipeout:closed",e.onSwipeoutClosed),o.removeEventListener("swipeout:delete",e.onSwipeoutDelete),o.removeEventListener("swipeout:deleted",e.onSwipeoutDeleted),o.removeEventListener("swipeout:overswipeenter",e.onSwipeoutOverswipeEnter),o.removeEventListener("swipeout:overswipeexit",e.onSwipeoutOverswipeExit),o.removeEventListener("swipeout",e.onSwipeout)),c&&(o.removeEventListener("accordion:beforeopen",e.onAccBeforeOpen),o.removeEventListener("accordion:open",e.onAccOpen),o.removeEventListener("accordion:opened",e.onAccOpened),o.removeEventListener("accordion:beforeclose",e.onAccBeforeClose),o.removeEventListener("accordion:close",e.onAccClose),o.removeEventListener("accordion:closed",e.onAccClosed))),a&&e.f7SmartSelect&&e.f7SmartSelect.destroy()},e.prototype.componentDidUpdate=function(e,t){var n=this;m(this,"props.swipeoutOpened",e,t,function(e){var t=n;if(t.props.swipeout){var o=t.refs.el;e?t.$f7.swipeout.open(o):t.$f7.swipeout.close(o)}});var o=this,r=o.$listEl;if(r&&(!r||0!==r.length)){var s=r.hasClass("media-list"),i=r.hasClass("simple-list"),a=r.hasClass("sortable");s!==o.state.isMedia&&o.setState({isMedia:s}),i!==o.state.isSimple&&o.setState({isSimple:i}),a!==o.state.isSortable&&o.setState({isSortable:a})}},e.prototype.componentDidMount=function(){var o=this,e=o.refs,n=e.el,t=e.linkEl;if(n){var r=o.props,s=r.link,i=r.href,a=r.smartSelect,l=r.swipeout,c=r.swipeoutOpened,p=r.accordionItem,u=r.smartSelectParams;!!(s||i||p||a)&&t&&t.addEventListener("click",o.onClick),o.$listEl=o.$$(n).parents(".list, .list-group").eq(0),o.$listEl.length&&o.setState({isMedia:o.$listEl.hasClass("media-list"),isSimple:o.$listEl.hasClass("simple-list"),isSortable:o.$listEl.hasClass("sortable")}),l&&(n.addEventListener("swipeout:open",o.onSwipeoutOpen),n.addEventListener("swipeout:opened",o.onSwipeoutOpened),n.addEventListener("swipeout:close",o.onSwipeoutClose),n.addEventListener("swipeout:closed",o.onSwipeoutClosed),n.addEventListener("swipeout:delete",o.onSwipeoutDelete),n.addEventListener("swipeout:deleted",o.onSwipeoutDeleted),n.addEventListener("swipeout:overswipeenter",o.onSwipeoutOverswipeEnter),n.addEventListener("swipeout:overswipeexit",o.onSwipeoutOverswipeExit),n.addEventListener("swipeout",o.onSwipeout)),p&&(n.addEventListener("accordion:beforeopen",o.onAccBeforeOpen),n.addEventListener("accordion:open",o.onAccOpen),n.addEventListener("accordion:opened",o.onAccOpened),n.addEventListener("accordion:beforeclose",o.onAccBeforeClose),n.addEventListener("accordion:close",o.onAccClose),n.addEventListener("accordion:closed",o.onAccClosed)),o.$f7ready(function(e){if(a){var t=ye.extend({el:n.querySelector("a.smart-select")},u||{});o.f7SmartSelect=e.smartSelect.create(t)}c&&e.swipeout.open(n)})}},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);t(G,Object.assign({id:[String,Number],className:String,style:Object,title:[String,Number],text:[String,Number],media:String,subtitle:[String,Number],header:[String,Number],footer:[String,Number],link:[Boolean,String],target:String,noFastclick:Boolean,noFastClick:Boolean,after:[String,Number],badge:[String,Number],badgeColor:String,mediaItem:Boolean,mediaList:Boolean,divider:Boolean,groupTitle:Boolean,swipeout:Boolean,swipeoutOpened:Boolean,sortable:Boolean,accordionItem:Boolean,accordionItemOpened:Boolean,smartSelect:Boolean,smartSelectParams:Object,noChevron:Boolean,chevronCenter:Boolean,checkbox:Boolean,radio:Boolean,checked:Boolean,defaultChecked:Boolean,name:String,value:[String,Number,Array],readonly:Boolean,required:Boolean,disabled:Boolean,itemInput:Boolean,itemInputWithInfo:Boolean,inlineLabel:Boolean,virtualListIndex:Number},Ee.colorProps,Ee.linkRouterProps,Ee.linkActionsProps)),G.displayName="f7-list-item";var Q=function(o){function e(e,t){o.call(this,e,t),this.__reactRefs={}}o&&(e.__proto__=o);var t={classes:{configurable:!0},slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.onSortableEnable=function(e){this.dispatchEvent("sortable:enable sortableEnable",e)},e.prototype.onSortableDisable=function(e){this.dispatchEvent("sortable:disable sortableDisable",e)},e.prototype.onSortableSort=function(e){var t=e.detail;this.dispatchEvent("sortable:sort sortableSort",e,t)},e.prototype.onTabShow=function(e){this.dispatchEvent("tab:show tabShow",e)},e.prototype.onTabHide=function(e){this.dispatchEvent("tab:hide tabHide",e)},t.classes.get=function(){var e=this.props,t=e.inset,o=e.tabletInset,n=e.mediaList,r=e.simpleList,s=e.linksList,i=e.sortable,a=e.accordionList,l=e.contactsList,c=e.virtualList,p=e.sortableEnabled,u=e.tab,d=e.tabActive,f=e.noHairlines,h=e.noHairlinesIos,m=e.noHairlinesMd,b=e.noHairlinesBetween,v=e.noHairlinesBetweenIos,g=e.noHairlinesBetweenMd,y=e.formStoreData,E=e.inlineLabels,S=e.className,B=e.noChevron,C=e.chevronCenter;return ye.classNames(S,"list",{inset:t,"tablet-inset":o,"media-list":n,"simple-list":r,"links-list":s,sortable:i,"accordion-list":a,"contacts-list":l,"virtual-list":c,"sortable-enabled":p,tab:u,"tab-active":d,"no-hairlines":f,"no-hairlines-between":b,"no-hairlines-md":m,"no-hairlines-between-md":g,"no-hairlines-ios":h,"no-hairlines-between-ios":v,"form-store-data":y,"inline-labels":E,"no-chevron":B,"chevron-center":C},Ee.colorClasses(e))},e.prototype.render=function(){var t=this,e=this,o=e.props,n=o.id,r=o.style,s=o.form,i=e.slots,a=i.list,l=i.default,c=[],p=[],u=a||[],d=ye.flattenArray(l),f=!1;d.forEach(function(e){var t;void 0!==e&&((t=e.type&&(e.type.displayName||e.type.name))||"string"!=typeof e.type||(t=e.type),!t||t&&!("li"===t||"F7ListItem"===t||"F7ListButton"===t||"F7ListInput"===t||0<=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"))?f?p.push(e):c.push(e):t&&(f=!0,u.push(e)))});var h=s?"form":"div";return 0<u.length?ge.createElement(h,{id:n,ref:function(e){t.__reactRefs.el=e},style:r,className:e.classes},e.slots["before-list"],c,ge.createElement("ul",null,u),e.slots["after-list"],p):ge.createElement(h,{id:n,ref:function(e){t.__reactRefs.el=e},style:r,className:e.classes},e.slots["before-list"],c,e.slots["after-list"],p)},e.prototype.componentDidMount=function(){var r=this,s=r.refs.el,e=r.props,t=e.virtualList,i=e.virtualListParams;s&&(r.onSortableEnableBound=r.onSortableEnable.bind(r),r.onSortableDisableBound=r.onSortableDisable.bind(r),r.onSortableSortBound=r.onSortableSort.bind(r),r.onTabShowBound=r.onTabShow.bind(r),r.onTabHideBound=r.onTabHide.bind(r),s.addEventListener("sortable:enable",r.onSortableEnableBound),s.addEventListener("sortable:disable",r.onSortableDisableBound),s.addEventListener("sortable:sort",r.onSortableSortBound),s.addEventListener("tab:show",r.onTabShowBound),s.addEventListener("tab:hide",r.onTabHideBound)),t&&r.$f7ready(function(e){var t=(0,r.$$)(s).find("script"),o=t.html();!o&&0<t.length&&(o=t[0].outerHTML,o=/\<script type="text\/template7"\>(.*)<\/script>/.exec(o)[1]);var n=i||{};(o||n.renderItem||n.itemTemplate||n.renderExternal)&&(o&&(o=r.$t7.compile(o)),r.f7VirtualList=e.virtualList.create(ye.extend({el:s,itemTemplate:o,on:{itemBeforeInsert:function(e,t){r.dispatchEvent("virtual:itembeforeinsert virtualItemBeforeInsert",this,e,t)},beforeClear:function(e){r.dispatchEvent("virtual:beforeclear virtualBeforeClear",this,e)},itemsBeforeInsert:function(e){r.dispatchEvent("virtual:itemsbeforeinsert virtualItemsBeforeInsert",this,e)},itemsAfterInsert:function(e){r.dispatchEvent("virtual:itemsafterinsert virtualItemsAfterInsert",this,e)}}},n)))})},e.prototype.componentWillUnmount=function(){var e=this,t=e.refs.el;t&&(t.removeEventListener("sortable:enable",e.onSortableEnableBound),t.removeEventListener("sortable:disable",e.onSortableDisableBound),t.removeEventListener("sortable:sort",e.onSortableSortBound),t.removeEventListener("tab:show",e.onTabShowBound),t.removeEventListener("tab:hide",e.onTabHideBound)),e.virtualList&&e.f7VirtualList&&e.f7VirtualList.destroy&&e.f7VirtualList.destroy()},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);t(Q,Object.assign({id:[String,Number],className:String,style:Object,inset:Boolean,tabletInset:Boolean,mediaList:Boolean,sortable:Boolean,sortableEnabled:Boolean,accordionList:Boolean,contactsList:Boolean,simpleList:Boolean,linksList:Boolean,noHairlines:Boolean,noHairlinesBetween:Boolean,noHairlinesMd:Boolean,noHairlinesBetweenMd:Boolean,noHairlinesIos:Boolean,noHairlinesBetweenIos:Boolean,noChevron:Boolean,chevronCenter:Boolean,tab:Boolean,tabActive:Boolean,form:Boolean,formStoreData:Boolean,inlineLabels:Boolean,virtualList:Boolean,virtualListParams:Object},Ee.colorProps)),Q.displayName="f7-list";var K=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o);var t={slots:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var e=this.props,t=e.className,o=e.id,n=e.style,r=ye.classNames(t,"login-screen-title",Ee.colorClasses(e));return ge.createElement("div",{id:o,style:n,className:r},this.slots.default)},t.slots.get=function(){return s(this.props)},Object.defineProperties(e.prototype,t),e}(ge.Component);t(K,Object.assign({id:[String,Number],className:String,style:Object},Ee.colorProps)),K.displayName="f7-login-screen-title";var X=function(o){function e(e,t){o.call(this,e,t),this.__reactRefs={}}o&&(e.__proto__=o);var t={slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.onOpen=function(e){this.dispatchEvent("loginscreen:open loginScreenOpen",e)},e.prototype.onOpened=function(e){this.dispatchEvent("loginscreen:opened loginScreenOpened",e)},e.prototype.onClose=function(e){this.dispatchEvent("loginscreen:close loginScreenClose",e)},e.prototype.onClosed=function(e){this.dispatchEvent("loginscreen:closed loginScreenClosed",e)},e.prototype.open=function(e){var t=this.refs.el;if(this.$f7&&t)return this.$f7.loginScreen.open(t,e)},e.prototype.close=function(e){var t=this.refs.el;if(this.$f7&&t)return this.$f7.loginScreen.close(t,e)},e.prototype.render=function(){var t=this,e=this.props,o=e.className,n=e.id,r=e.style,s=ye.classNames(o,"login-screen",Ee.colorClasses(e));return ge.createElement("div",{ref:function(e){t.__reactRefs.el=e},id:n,style:r,className:s},this.slots.default)},e.prototype.componentWillUnmount=function(){var e=this,t=e.refs.el;e.f7LoginScreen&&e.f7LoginScreen.destroy(),t&&(t.removeEventListener("loginscreen:open",e.onOpenBound),t.removeEventListener("loginscreen:opened",e.onOpenedBound),t.removeEventListener("loginscreen:close",e.onCloseBound),t.removeEventListener("loginscreen:closed",e.onClosedBound))},e.prototype.componentDidMount=function(){var e=this,t=e.refs.el;t&&(e.onOpenBound=e.onOpen.bind(e),e.onOpenedBound=e.onOpened.bind(e),e.onCloseBound=e.onClose.bind(e),e.onClosedBound=e.onClosed.bind(e),t.addEventListener("loginscreen:open",e.onOpenBound),t.addEventListener("loginscreen:opened",e.onOpenedBound),t.addEventListener("loginscreen:close",e.onCloseBound),t.addEventListener("loginscreen:closed",e.onClosedBound),e.$f7ready(function(){e.f7LoginScreen=e.$f7.loginScreen.create({el:t}),e.props.opened&&e.f7LoginScreen.open(!1)}))},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},e.prototype.componentDidUpdate=function(e,t){var o=this;m(this,"props.opened",e,t,function(e){var t=o;t.f7LoginScreen&&(e?t.f7LoginScreen.open():t.f7LoginScreen.close())})},Object.defineProperties(e.prototype,t),e}(ge.Component);t(X,Object.assign({id:[String,Number],className:String,style:Object,opened:Boolean},Ee.colorProps)),X.displayName="f7-login-screen";var Z=function(n){function e(e,t){var o=this;n.call(this,e,t),this.__reactRefs={},o.onClick=o.onClick.bind(o),o.onNameClick=o.onNameClick.bind(o),o.onTextClick=o.onTextClick.bind(o),o.onAvatarClick=o.onAvatarClick.bind(o),o.onHeaderClick=o.onHeaderClick.bind(o),o.onFooterClick=o.onFooterClick.bind(o),o.onBubbleClick=o.onBubbleClick.bind(o)}n&&(e.__proto__=n);var t={classes:{configurable:!0},slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(n&&n.prototype)).constructor=e).prototype.onClick=function(e){this.dispatchEvent("click",e)},e.prototype.onNameClick=function(e){this.dispatchEvent("click:name clickName",e)},e.prototype.onTextClick=function(e){this.dispatchEvent("click:text clickText",e)},e.prototype.onAvatarClick=function(e){this.dispatchEvent("click:avatar clickAvatar",e)},e.prototype.onHeaderClick=function(e){this.dispatchEvent("click:header clickHeader",e)},e.prototype.onFooterClick=function(e){this.dispatchEvent("click:footer clickFooter",e)},e.prototype.onBubbleClick=function(e){this.dispatchEvent("click:bubble clickBubble",e)},t.classes.get=function(){var e=this.props,t=e.type,o=e.typing,n=e.first,r=e.last,s=e.tail,i=e.sameName,a=e.sameHeader,l=e.sameFooter,c=e.sameAvatar,p=e.className;return ye.classNames(p,"message",{"message-sent":"sent"===t,"message-received":"received"===t,"message-typing":o,"message-first":n,"message-last":r,"message-tail":s,"message-same-name":i,"message-same-header":a,"message-same-footer":l,"message-same-avatar":c},Ee.colorClasses(e))},e.prototype.render=function(){var t=this,e=this.props,o=e.text,n=e.name,r=e.avatar,s=e.image,i=e.header,a=e.footer,l=e.textHeader,c=e.textFooter,p=e.typing,u=e.id,d=e.style,f=this.slots,h=f.start,m=f.end,b=f.default,v=f["content-start"],g=f["content-end"],y=f.avatar,E=f.name,S=f.header,B=f.footer,C=f.image,N=f.text,k=f["text-header"],_=f["text-footer"],O=f["bubble-start"],w=f["bubble-end"];return ge.createElement("div",{ref:function(e){t.__reactRefs.el=e},id:u,style:d,className:this.classes},h,(r||y)&&ge.createElement("div",{ref:function(e){t.__reactRefs.avatarEl=e},className:"message-avatar",style:{backgroundImage:r&&"url("+r+")"}},y),ge.createElement("div",{className:"message-content"},v,(E||n)&&ge.createElement("div",{ref:function(e){t.__reactRefs.nameEl=e},className:"message-name"},E||n),(S||i)&&ge.createElement("div",{ref:function(e){t.__reactRefs.headerEl=e},className:"message-header"},S||i),ge.createElement("div",{ref:function(e){t.__reactRefs.bubbleEl=e},className:"message-bubble"},O,(C||s)&&ge.createElement("div",{className:"message-image"},C||ge.createElement("img",{src:s})),(k||l)&&ge.createElement("div",{className:"message-text-header"},k||l),(N||o||p)&&ge.createElement("div",{ref:function(e){t.__reactRefs.textEl=e},className:"message-text"},N||o,p&&ge.createElement("div",{className:"message-typing-indicator"},ge.createElement("div",null),ge.createElement("div",null),ge.createElement("div",null))),(_||c)&&ge.createElement("div",{className:"message-text-footer"},_||c),w,b),(B||a)&&ge.createElement("div",{ref:function(e){t.__reactRefs.footerEl=e},className:"message-footer"},B||a),g),m)},e.prototype.componentWillUnmount=function(){var e=this.refs,t=e.el,o=e.nameEl,n=e.textEl,r=e.avatarEl,s=e.headerEl,i=e.footerEl,a=e.bubbleEl;t.removeEventListener("click",this.onClick),o&&o.removeEventListener("click",this.onNameClick),n&&n.removeEventListener("click",this.onTextClick),r&&o.removeEventListener("click",this.onAvatarClick),s&&o.removeEventListener("click",this.onHeaderClick),i&&o.removeEventListener("click",this.onFooterClick),a&&o.removeEventListener("click",this.onBubbleClick)},e.prototype.componentDidMount=function(){var e=this.refs,t=e.el,o=e.nameEl,n=e.textEl,r=e.avatarEl,s=e.headerEl,i=e.footerEl,a=e.bubbleEl;t.addEventListener("click",this.onClick),o&&o.addEventListener("click",this.onNameClick),n&&n.addEventListener("click",this.onTextClick),r&&o.addEventListener("click",this.onAvatarClick),s&&o.addEventListener("click",this.onHeaderClick),i&&o.addEventListener("click",this.onFooterClick),a&&o.addEventListener("click",this.onBubbleClick)},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);t(Z,Object.assign({id:[String,Number],className:String,style:Object,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},Ee.colorProps)),Z.displayName="f7-message";var te=function(n){function e(e,t){var o=this;n.call(this,e,t),this.__reactRefs={},o.onClick=o.onClick.bind(o),o.onDeleteClick=o.onDeleteClick.bind(o)}n&&(e.__proto__=n);var t={slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(n&&n.prototype)).constructor=e).prototype.onClick=function(e){this.dispatchEvent("attachment:click attachmentClick",e)},e.prototype.onDeleteClick=function(e){this.dispatchEvent("attachment:delete attachmentDelete",e)},e.prototype.render=function(){var t=this,e=this.props,o=e.deletable,n=e.image,r=e.className,s=e.id,i=e.style,a=ye.classNames(r,"messagebar-attachment",Ee.colorClasses(e));return ge.createElement("div",{ref:function(e){t.__reactRefs.el=e},id:s,style:i,className:a},n&&ge.createElement("img",{src:n}),o&&ge.createElement("span",{ref:function(e){t.__reactRefs.deleteEl=e},className:"messagebar-attachment-delete"}),this.slots.default)},e.prototype.componentWillUnmount=function(){this.refs.el.removeEventListener("click",this.onClick),this.refs.deleteEl&&this.refs.deleteEl.removeEventListener("click",this.onDeleteClick)},e.prototype.componentDidMount=function(){this.refs.el.addEventListener("click",this.onClick),this.refs.deleteEl&&this.refs.deleteEl.addEventListener("click",this.onDeleteClick)},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);t(te,Object.assign({id:[String,Number],className:String,style:Object,image:String,deletable:{type:Boolean,default:!0}},Ee.colorProps)),te.displayName="f7-messagebar-attachment";var oe=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o);var t={slots:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var e=this.props,t=e.className,o=e.id,n=e.style,r=ye.classNames(t,"messagebar-attachments",Ee.colorClasses(e));return ge.createElement("div",{id:o,style:n,className:r},this.slots.default)},t.slots.get=function(){return s(this.props)},Object.defineProperties(e.prototype,t),e}(ge.Component);t(oe,Object.assign({id:[String,Number],className:String,style:Object},Ee.colorProps)),oe.displayName="f7-messagebar-attachments";var ne=function(n){function e(e,t){var o=this;n.call(this,e,t),this.__reactRefs={},o.onChange=o.onChange.bind(o)}n&&(e.__proto__=n);var t={slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(n&&n.prototype)).constructor=e).prototype.onChange=function(e){this.props.checked?this.dispatchEvent("checked",e):this.dispatchEvent("unchecked",e),this.dispatchEvent("change",e)},e.prototype.render=function(){var e,t=this,o=this.props,n=o.image,r=o.checked,s=o.id,i=o.className,a=o.style,l=ye.classNames(i,"messagebar-sheet-image","checkbox",Ee.colorClasses(o)),c=ye.extend({backgroundImage:n&&"url("+n+")"},a||{});return e=ge.createElement("input",{ref:function(e){t.__reactRefs.inputEl=e},type:"checkbox",checked:r,onChange:this.onChange}),ge.createElement("label",{id:s,className:l,style:c},e,ge.createElement("i",{className:"icon icon-checkbox"}),this.slots.default)},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);t(ne,Object.assign({id:[String,Number],className:String,style:Object,image:String,checked:Boolean},Ee.colorProps)),ne.displayName="f7-messagebar-sheet-image";var re=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o);var t={slots:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var e=this.props,t=e.className,o=e.id,n=e.style,r=ye.classNames(t,"messagebar-sheet-item",Ee.colorClasses(e));return ge.createElement("div",{id:o,style:n,className:r},this.slots.default)},t.slots.get=function(){return s(this.props)},Object.defineProperties(e.prototype,t),e}(ge.Component);t(re,Object.assign({id:[String,Number],className:String,style:Object},Ee.colorProps)),re.displayName="f7-messagebar-sheet-item";var se=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o);var t={slots:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var e=this.props,t=e.className,o=e.id,n=e.style,r=ye.classNames(t,"messagebar-sheet",Ee.colorClasses(e));return ge.createElement("div",{id:o,style:n,className:r},this.slots.default)},t.slots.get=function(){return s(this.props)},Object.defineProperties(e.prototype,t),e}(ge.Component);t(se,Object.assign({id:[String,Number],className:String,style:Object},Ee.colorProps)),se.displayName="f7-messagebar-sheet";var ie=function(n){function e(e,t){var o=this;n.call(this,e,t),this.__reactRefs={},o.onChange=o.onChange.bind(o),o.onInput=o.onInput.bind(o),o.onFocus=o.onFocus.bind(o),o.onBlur=o.onBlur.bind(o),o.onClick=o.onClick.bind(o),o.onDeleteAttachment=o.onDeleteAttachment.bind(o),o.onClickAttachment=o.onClickAttachment.bind(o),o.onResizePage=o.onResizePage.bind(o)}n&&(e.__proto__=n);var t={classes:{configurable:!0},slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(n&&n.prototype)).constructor=e).prototype.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)},e.prototype.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)},e.prototype.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)},e.prototype.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)},e.prototype.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)},e.prototype.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)},e.prototype.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)},e.prototype.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)},e.prototype.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)},e.prototype.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)},e.prototype.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)},e.prototype.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)},e.prototype.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)},e.prototype.onChange=function(e){this.dispatchEvent("change",e)},e.prototype.onInput=function(e){this.dispatchEvent("input",e)},e.prototype.onFocus=function(e){this.dispatchEvent("focus",e)},e.prototype.onBlur=function(e){this.dispatchEvent("blur",e)},e.prototype.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)},e.prototype.onDeleteAttachment=function(e){this.dispatchEvent("messagebar:attachmentdelete messagebarAttachmentDelete",e)},e.prototype.onClickAttachment=function(e){this.dispatchEvent("messagebar:attachmentclick messagebarAttachmentClick",e)},e.prototype.onResizePage=function(e){this.dispatchEvent("messagebar:resizepage messagebarResizePage",e)},t.classes.get=function(){var e=this.props,t=e.className,o=e.attachmentsVisible,n=e.sheetVisible;return ye.classNames(t,"toolbar","messagebar",{"messagebar-attachments-visible":o,"messagebar-sheet-visible":n},Ee.colorClasses(e))},e.prototype.render=function(){var o,n,t=this,e=this,r=e.props,s=r.placeholder,i=r.disabled,a=r.name,l=r.readonly,c=r.resizable,p=r.value,u=r.sendLink,d=r.id,f=r.style,h=e.slots,m=h.default,b=h["before-inner"],v=h["after-inner"],g=h["send-link"],y=h["inner-start"],E=h["inner-end"],S=h["before-area"],B=h["after-area"],C=[];return m&&m.forEach(function(e){var t;void 0!==e&&((t=e.type&&(e.type.displayName||e.type.name))&&(0<=t.indexOf("messagebar-attachments")||"F7MessagebarAttachments"===t||"f7-messagebar-attachments"===t)?o=e:t&&(0<=t.indexOf("messagebar-sheet")||"F7MessagebarSheet"===t||"f7-messagebar-sheet"===t)?n=e:C.push(e))}),ge.createElement("div",{ref:function(e){t.__reactRefs.el=e},id:d,style:f,className:e.classes},b,ge.createElement("div",{className:"toolbar-inner"},y,ge.createElement("div",{className:"messagebar-area"},S,o,ge.createElement(A,{ref:function(e){t.__reactRefs.area=e},type:"textarea",wrap:!1,placeholder:s,disabled:i,name:a,readonly:l,resizable:c,value:p,onInput:e.onInput,onChange:e.onChange,onFocus:e.onFocus,onBlur:e.onBlur}),B),(u&&0<u.length||g)&&ge.createElement($,{onClick:e.onClick},g||u),E,C),v,n)},e.prototype.componentWillUnmount=function(){var e=this;e.f7Messagebar&&e.f7Messagebar.destroy&&e.f7Messagebar.destroy();var t=e.refs.el;t&&(t.removeEventListener("messagebar:attachmentdelete",e.onDeleteAttachment),t.removeEventListener("messagebar:attachmentclick",e.onClickAttachment),t.removeEventListener("messagebar:resizepage",e.onResizePage))},e.prototype.componentDidUpdate=function(e,t){var o=this;m(this,"props.sheetVisible",e,t,function(){var e=o;e.props.resizable&&e.f7Messagebar&&(e.updateSheetVisible=!0)}),m(this,"props.attachmentsVisible",e,t,function(){var e=o;e.props.resizable&&e.f7Messagebar&&(e.updateAttachmentsVisible=!0)});var n=this;if(n.f7Messagebar){var r=n.props,s=r.sheetVisible,i=r.attachmentsVisible;n.updateSheetVisible&&(n.updateSheetVisible=!1,n.f7Messagebar.sheetVisible=s,n.f7Messagebar.resizePage()),n.updateAttachmentsVisible&&(n.updateAttachmentsVisible=!1,n.f7Messagebar.attachmentsVisible=i,n.f7Messagebar.resizePage())}},e.prototype.componentDidMount=function(){var e=this,t=e.props,o=t.init,n=t.top,r=t.resizePage,s=t.bottomOffset,i=t.topOffset,a=t.maxHeight;if(o){var l=e.refs.el;if(l){l.addEventListener("messagebar:attachmentdelete",e.onDeleteAttachment),l.addEventListener("messagebar:attachmentclick",e.onClickAttachment),l.addEventListener("messagebar:resizepage",e.onResizePage);var c=ye.noUndefinedProps({el:l,top:n,resizePage:r,bottomOffset:s,topOffset:i,maxHeight:a});e.$f7ready(function(){e.f7Messagebar=e.$f7.messagebar.create(c)})}}},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);t(ie,Object.assign({id:[String,Number],className:String,style:Object,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}},Ee.colorProps)),ie.displayName="f7-messagebar";var ae=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o);var t={slots:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var e=this.props,t=e.className,o=e.id,n=e.style,r=ye.classNames(t,"messages-title",Ee.colorClasses(e));return ge.createElement("div",{id:o,style:n,className:r},this.slots.default)},t.slots.get=function(){return s(this.props)},Object.defineProperties(e.prototype,t),e}(ge.Component);t(ae,Object.assign({id:[String,Number],className:String,style:Object},Ee.colorProps)),ae.displayName="f7-messages-title";var le=function(o){function e(e,t){o.call(this,e,t),this.__reactRefs={}}o&&(e.__proto__=o);var t={slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.renderMessages=function(e,t){if(this.f7Messages)return this.f7Messages.renderMessages(e,t)},e.prototype.layout=function(){if(this.f7Messages)return this.f7Messages.layout()},e.prototype.scroll=function(e,t){if(this.f7Messages)return this.f7Messages.scroll(e,t)},e.prototype.clear=function(){if(this.f7Messages)return this.f7Messages.clear()},e.prototype.removeMessage=function(e,t){if(this.f7Messages)return this.f7Messages.removeMessage(e,t)},e.prototype.removeMessages=function(e,t){if(this.f7Messages)return this.f7Messages.removeMessages(e,t)},e.prototype.addMessage=function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];if(this.f7Messages)return(e=this.f7Messages).addMessage.apply(e,t)},e.prototype.addMessages=function(){for(var e,t=[],o=arguments.length;o--;)t[o]=arguments[o];if(this.f7Messages)return(e=this.f7Messages).addMessages.apply(e,t)},e.prototype.showTyping=function(e){if(this.f7Messages)return this.f7Messages.showTyping(e)},e.prototype.hideTyping=function(){if(this.f7Messages)return this.f7Messages.hideTyping()},e.prototype.destroy=function(){if(this.f7Messages)return this.f7Messages.destroy()},e.prototype.render=function(){var t=this,e=this.props,o=e.id,n=e.style,r=e.className,s=ye.classNames(r,"messages",Ee.colorClasses(e));return ge.createElement("div",{ref:function(e){t.__reactRefs.el=e},id:o,style:n,className:s},this.slots.default)},e.prototype.componentWillUnmount=function(){this.f7Messages&&this.f7Messages.destroy&&this.f7Messages.destroy()},e.prototype.componentDidMount=function(){var t=this,e=t.props,o=e.init,n=e.autoLayout,r=e.messages,s=e.newMessagesFirst,i=e.scrollMessages,a=e.scrollMessagesOnEdge,l=e.firstMessageRule,c=e.lastMessageRule,p=e.tailMessageRule,u=e.sameNameMessageRule,d=e.sameHeaderMessageRule,f=e.sameFooterMessageRule,h=e.sameAvatarMessageRule,m=e.customClassMessageRule,b=e.renderMessage;o&&t.$f7ready(function(e){t.f7Messages=e.messages.create(ye.noUndefinedProps({el:t.refs.el,autoLayout:n,messages:r,newMessagesFirst:s,scrollMessages:i,scrollMessagesOnEdge:a,firstMessageRule:l,lastMessageRule:c,tailMessageRule:p,sameNameMessageRule:u,sameHeaderMessageRule:d,sameFooterMessageRule:f,sameAvatarMessageRule:h,customClassMessageRule:m,renderMessage:b}))})},e.prototype.componentDidUpdate=function(){var e=this,t=e.props,o=t.init,n=t.autoLayout,r=t.scrollMessages;if(o){var s=e.refs.el;if(s){var i=s.children;if(i){for(var a=0;a<i.length;a+=1)i[a].classList.contains("message-appeared")||i[a].classList.add("message-appear-from-bottom");e.f7Messages&&e.f7Messages.layout&&n&&e.f7Messages.layout(),e.f7Messages&&e.f7Messages.scroll&&r&&e.f7Messages.scroll()}}}},e.prototype.componentWillUpdate=function(){if(this.props.init){var e=this.refs.el;if(e){var t=e.children;if(t)for(var o=0;o<t.length;o+=1)t[o].classList.add("message-appeared")}}},t.slots.get=function(){return s(this.props)},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);t(le,Object.assign({id:[String,Number],className:String,style:Object,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}},Ee.colorProps)),le.displayName="f7-messages";var ce=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o);var t={slots:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.onBackClick=function(e){this.dispatchEvent("back-click backClick click:back clickBack",e)},e.prototype.render=function(){var e,t=this.props,o=t.backLink,n=t.backLinkUrl,r=t.backLinkForce,s=t.sliding,i=t.className,a=t.style,l=t.id;o&&(e=ge.createElement($,{href:n||"#",back:!0,icon:"icon-back",force:r||void 0,className:!0===o||o&&this.$theme.md?"icon-only":void 0,text:!0===o||this.$theme.md?void 0:o,onClick:this.onBackClick.bind(this)}));var c=ye.classNames(i,"left",{sliding:s},Ee.colorClasses(t));return ge.createElement("div",{id:l,style:a,className:c},e,this.slots.default)},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},Object.defineProperties(e.prototype,t),e}(ge.Component);t(ce,Object.assign({id:[String,Number],className:String,style:Object,backLink:[Boolean,String],backLinkUrl:String,backLinkForce:Boolean,sliding:Boolean},Ee.colorProps)),ce.displayName="f7-nav-left";var pe=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o);var t={slots:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var e=this.props,t=e.className,o=e.id,n=e.style,r=e.sliding,s=ye.classNames(t,"right",{sliding:r},Ee.colorClasses(e));return ge.createElement("div",{id:o,style:n,className:s},this.slots.default)},t.slots.get=function(){return s(this.props)},Object.defineProperties(e.prototype,t),e}(ge.Component);t(pe,Object.assign({id:[String,Number],className:String,style:Object,sliding:Boolean},Ee.colorProps)),pe.displayName="f7-nav-right";var ue=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o);var t={slots:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var e,t=this.props,o=t.title,n=t.subtitle,r=t.id,s=t.style,i=t.sliding,a=t.className;this.subtitle&&(e=ge.createElement("span",{className:"subtitle"},n));var l=ye.classNames(a,"title",{sliding:i},Ee.colorClasses(t));return ge.createElement("div",{id:r,style:s,className:l},this.slots.default,!this.slots.default&&o,!this.slots.default&&e)},t.slots.get=function(){return s(this.props)},Object.defineProperties(e.prototype,t),e}(ge.Component);t(ue,Object.assign({id:[String,Number],className:String,style:Object,title:String,subtitle:String,sliding:Boolean},Ee.colorProps)),ue.displayName="f7-nav-title";var de=function(o){function e(e,t){o.call(this,e,t),this.__reactRefs={}}o&&(e.__proto__=o);var t={slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.hide=function(e){this.$f7&&this.$f7.navbar.hide(this.refs.el,e)},e.prototype.show=function(e){this.$f7&&this.$f7.navbar.show(this.refs.el,e)},e.prototype.size=function(){this.$f7&&this.$f7.navbar.size(this.refs.el)},e.prototype.onBackClick=function(e){this.dispatchEvent("back-click backClick click:back clickBack",e)},e.prototype.render=function(){var e,t,o,n=this,r=this.props,s=r.backLink,i=r.backLinkUrl,a=r.backLinkForce,l=r.sliding,c=r.title,p=r.subtitle,u=r.inner,d=r.innerClass,f=r.innerClassName,h=r.className,m=r.id,b=r.style,v=r.hidden,g=r.noShadow,y=r.noHairline;u&&(s&&(t=ge.createElement(ce,{backLink:s,backLinkUrl:i,backLinkForce:a,onBackClick:this.onBackClick.bind(this)})),(c||p)&&(o=ge.createElement(ue,{title:c,subtitle:p})),e=ge.createElement("div",{ref:function(e){n.__reactRefs.inner=e},className:ye.classNames("navbar-inner",d,f,{sliding:l})},t,o,this.slots.default));var E=ye.classNames(h,"navbar",{"navbar-hidden":v,"no-shadow":g,"no-hairline":y},Ee.colorClasses(r));return ge.createElement("div",{ref:function(e){n.__reactRefs.el=e},id:m,style:b,className:E},this.slots["before-inner"],e,this.slots["after-inner"])},e.prototype.componentDidUpdate=function(){var e=this;if(e.$f7){var t=e.refs.el;t&&t.children&&t.children.length?e.$f7.navbar.size(t):e.refs.inner&&e.$f7.navbar.size(e.refs.inner)}},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);t(de,Object.assign({id:[String,Number],className:String,style:Object,backLink:[Boolean,String],backLinkUrl:String,backLinkForce:Boolean,sliding:{type:Boolean,default:!0},title:String,subtitle:String,hidden:Boolean,noShadow:Boolean,noHairline:Boolean,inner:{type:Boolean,default:!0},innerClass:String,innerClassName:String},Ee.colorProps)),de.displayName="f7-navbar";var fe=function(o){function e(e,t){o.call(this,e,t),this.__reactRefs={}}o&&(e.__proto__=o);var t={classes:{configurable:!0},slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.onPtrPullStart=function(e){this.dispatchEvent("ptr:pullstart ptrPullStart",e)},e.prototype.onPtrPullMove=function(e){this.dispatchEvent("ptr:pullmove ptrPullMove",e)},e.prototype.onPtrPullEnd=function(e){this.dispatchEvent("ptr:pullend ptrPullEnd",e)},e.prototype.onPtrRefresh=function(e){var t=e.detail;this.dispatchEvent("ptr:refresh ptrRefresh",e,t)},e.prototype.onPtrDone=function(e){this.dispatchEvent("ptr:done ptrDone",e)},e.prototype.onInfinite=function(e){this.dispatchEvent("infinite",e)},e.prototype.onTabShow=function(e){this.dispatchEvent("tab:show tabShow",e)},e.prototype.onTabHide=function(e){this.dispatchEvent("tab:hide tabHide",e)},t.classes.get=function(){var e=this.props,t=e.className,o=e.tab,n=e.tabActive,r=e.ptr,s=e.infinite,i=e.infiniteTop,a=e.hideBarsOnScroll,l=e.hideNavbarOnScroll,c=e.hideToolbarOnScroll,p=e.messagesContent,u=e.loginScreen;return ye.classNames(t,"page-content",{tab:o,"tab-active":n,"ptr-content":r,"infinite-scroll-content":s,"infinite-scroll-top":i,"hide-bars-on-scroll":a,"hide-navbar-on-scroll":l,"hide-toolbar-on-scroll":c,"messages-content":p,"login-screen-content":u},Ee.colorClasses(e))},e.prototype.render=function(){var e,t,o=this,n=this.props,r=n.ptr,s=n.ptrPreloader,i=n.infinite,a=n.infinitePreloader,l=n.id,c=n.style,p=n.ptrDistance,u=n.infiniteDistance,d=n.infiniteTop;return r&&s&&(e=ge.createElement("div",{className:"ptr-preloader"},ge.createElement("div",{className:"preloader"}),ge.createElement("div",{className:"ptr-arrow"}))),i&&a&&(t=ge.createElement("div",{className:"preloader infinite-scroll-preloader"})),ge.createElement("div",{id:l,style:c,className:this.classes,"data-ptr-distance":p||void 0,"data-infinite-distance":u||void 0,ref:function(e){o.__reactRefs.el=e}},e,d?t:this.slots.default,d?this.slots.default:t)},e.prototype.componentWillUnmount=function(){var e=this,t=e.refs.el;t.removeEventListener("ptr:pullstart",e.onPtrPullStart),t.removeEventListener("ptr:pullmove",e.onPtrPullMove),t.removeEventListener("ptr:pullend",e.onPtrPullEnd),t.removeEventListener("ptr:refresh",e.onPtrRefresh),t.removeEventListener("ptr:done",e.onPtrDone),t.removeEventListener("infinite",e.onInfinite),t.removeEventListener("tab:show",e.onTabShow),t.removeEventListener("tab:hide",e.onTabHide)},e.prototype.componentDidMount=function(){var e=this,t=e.refs.el,o=e.props,n=o.ptr,r=o.infinite,s=o.tab;e.onPtrPullStart=e.onPtrPullStart.bind(e),e.onPtrPullMove=e.onPtrPullMove.bind(e),e.onPtrPullEnd=e.onPtrPullEnd.bind(e),e.onPtrRefresh=e.onPtrRefresh.bind(e),e.onPtrDone=e.onPtrDone.bind(e),e.onInfinite=e.onInfinite.bind(e),e.onTabShow=e.onTabShow.bind(e),e.onTabHide=e.onTabHide.bind(e),n&&(t.addEventListener("ptr:pullstart",e.onPtrPullStart),t.addEventListener("ptr:pullmove",e.onPtrPullMove),t.addEventListener("ptr:pullend",e.onPtrPullEnd),t.addEventListener("ptr:refresh",e.onPtrRefresh),t.addEventListener("ptr:done",e.onPtrDone)),r&&t.addEventListener("infinite",e.onInfinite),s&&(t.addEventListener("tab:show",e.onTabShow),t.addEventListener("tab:hide",e.onTabHide))},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);t(fe,Object.assign({id:[String,Number],className:String,style:Object,tab:Boolean,tabActive:Boolean,ptr:Boolean,ptrDistance:Number,ptrPreloader:{type:Boolean,default:!0},infinite:Boolean,infiniteTop:Boolean,infiniteDistance:Number,infinitePreloader:{type:Boolean,default:!0},hideBarsOnScroll:Boolean,hideNavbarOnScroll:Boolean,hideToolbarOnScroll:Boolean,messagesContent:Boolean,loginScreen:Boolean},Ee.colorProps)),fe.displayName="f7-page-content";var he=function(o){function e(e,t){o.call(this,e,t),this.__reactRefs={},this.state={hasSubnavbar:!1,routerClass:"",routerForceUnstack:!1}}o&&(e.__proto__=o);var t={slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.onPtrPullStart=function(e){this.dispatchEvent("ptr:pullstart ptrPullStart",e)},e.prototype.onPtrPullMove=function(e){this.dispatchEvent("ptr:pullmove ptrPullMove",e)},e.prototype.onPtrPullEnd=function(e){this.dispatchEvent("ptr:pullend ptrPullEnd",e)},e.prototype.onPtrRefresh=function(e){var t=e.detail;this.dispatchEvent("ptr:refresh ptrRefresh",e,t)},e.prototype.onPtrDone=function(e){this.dispatchEvent("ptr:done ptrDone",e)},e.prototype.onInfinite=function(e){this.dispatchEvent("infinite",e)},e.prototype.onPageMounted=function(e){var t=e.detail;this.dispatchEvent("page:mounted pageMounted",e,t)},e.prototype.onPageStack=function(){this.setState({routerForceUnstack:!1})},e.prototype.onPageUnstack=function(){this.setState({routerForceUnstack:!0})},e.prototype.onPagePosition=function(e){var t=e.detail.position;this.setState({routerClass:"page-"+t})},e.prototype.onPageInit=function(e){var t=e.detail,o=this.props,n=o.withSubnavbar,r=o.subnavbar;void 0===n&&void 0===r&&(t.$navbarEl&&t.$navbarEl.length&&t.$navbarEl.find(".subnavbar").length||t.$el.children(".navbar").find(".subnavbar").length)&&this.setState({hasSubnavbar:!0}),this.dispatchEvent("page:init pageInit",e,t)},e.prototype.onPageReinit=function(e){var t=e.detail;this.dispatchEvent("page:reinit pageReinit",e,t)},e.prototype.onPageBeforeIn=function(e){var t=e.detail;"next"===t.from&&this.setState({routerClass:"page-next"}),"previous"===t.from&&this.setState({routerClass:"page-previous"}),this.dispatchEvent("page:beforein pageBeforeIn",e,t)},e.prototype.onPageBeforeOut=function(e){var t=e.detail;this.dispatchEvent("page:beforeout pageBeforeOut",e,t)},e.prototype.onPageAfterOut=function(e){var t=e.detail;"next"===t.to&&this.setState({routerClass:"page-next"}),"previous"===t.to&&this.setState({routerClass:"page-previous"}),this.dispatchEvent("page:afterout pageAfterOut",e,t)},e.prototype.onPageAfterIn=function(e){var t=e.detail;this.setState({routerClass:"page-current"}),this.dispatchEvent("page:afterin pageAfterIn",e,t)},e.prototype.onPageBeforeRemove=function(e){var t=e.detail;this.dispatchEvent("page:beforeremove pageBeforeRemove",e,t)},e.prototype.render=function(){var n,r,s,t=this,e=this.props,o=e.id,i=e.style,a=e.name,l=e.pageContent,c=e.messagesContent,p=e.ptr,u=e.ptrDistance,d=e.ptrPreloader,f=e.infinite,h=e.infiniteDistance,m=e.infinitePreloader,b=e.infiniteTop,v=e.hideBarsOnScroll,g=e.hideNavbarOnScroll,y=e.hideToolbarOnScroll,E=e.loginScreen,S=e.className,B=e.stacked,C=e.tabs,N=e.subnavbar,k=e.withSubnavbar,_=e.noNavbar,O=e.noToolbar,w=e.noSwipeback,P=[],L=[],j=l,I=this.slots,R=I.static,x=I.fixed,M=I.default;n="navbar toolbar tabbar subnavbar searchbar messagebar fab list-index".split(" ").map(function(e){return"f7-"+e}),s=c,M&&M.forEach(function(e){if(void 0!==e){var t=!1,o=e.type&&(e.type.displayName||e.type.name);o?("F7Subnavbar"!==o&&"f7-subnavbar"!==o||(r=!0),void 0!==s||"F7Messages"!==o&&"f7-messages"!==o||(s=!0),0<=n.indexOf(o)&&(t=!0),j&&(t?P.push(e):L.push(e))):j&&L.push(e)}});var T=void 0===N&&void 0===k&&(r||this.state.hasSubnavbar),D=ye.classNames(S,"page",this.state.routerClass,{stacked:B&&!this.state.routerForceUnstack,tabs:C,"page-with-subnavbar":N||k||T,"no-navbar":_,"no-toolbar":O,"no-swipeback":w},Ee.colorClasses(e));if(!j)return ge.createElement("div",{ref:function(e){t.__reactRefs.el=e},id:o,style:i,className:D,"data-name":a},x,R,M);var A=ge.createElement(fe,{ptr:p,ptrDistance:u,ptrPreloader:d,infinite:f,infiniteTop:b,infiniteDistance:h,infinitePreloader:m,hideBarsOnScroll:v,hideNavbarOnScroll:g,hideToolbarOnScroll:y,messagesContent:c||s,loginScreen:E},R,L);return ge.createElement("div",{ref:function(e){t.__reactRefs.el=e},id:o,style:i,className:D,"data-name":a},P,x,A)},e.prototype.componentWillUnmount=function(){var e=this,t=e.refs.el;t.removeEventListener("ptr:pullstart",e.onPtrPullStart),t.removeEventListener("ptr:pullmove",e.onPtrPullMove),t.removeEventListener("ptr:pullend",e.onPtrPullEnd),t.removeEventListener("ptr:refresh",e.onPtrRefresh),t.removeEventListener("ptr:done",e.onPtrDone),t.removeEventListener("infinite",e.onInfinite),t.removeEventListener("page:mounted",e.onPageMounted),t.removeEventListener("page:init",e.onPageInit),t.removeEventListener("page:reinit",e.onPageReinit),t.removeEventListener("page:beforein",e.onPageBeforeIn),t.removeEventListener("page:beforeout",e.onPageBeforeOut),t.removeEventListener("page:afterout",e.onPageAfterOut),t.removeEventListener("page:afterin",e.onPageAfterIn),t.removeEventListener("page:beforeremove",e.onPageBeforeRemove),t.removeEventListener("page:stack",e.onPageStack),t.removeEventListener("page:unstack",e.onPageUnstack),t.removeEventListener("page:position",e.onPagePosition)},e.prototype.componentDidMount=function(){var e=this,t=e.refs.el,o=e.props,n=o.ptr,r=o.infinite;e.onPtrPullStart=e.onPtrPullStart.bind(e),e.onPtrPullMove=e.onPtrPullMove.bind(e),e.onPtrPullEnd=e.onPtrPullEnd.bind(e),e.onPtrRefresh=e.onPtrRefresh.bind(e),e.onPtrDone=e.onPtrDone.bind(e),e.onInfinite=e.onInfinite.bind(e),e.onPageMounted=e.onPageMounted.bind(e),e.onPageInit=e.onPageInit.bind(e),e.onPageReinit=e.onPageReinit.bind(e),e.onPageBeforeIn=e.onPageBeforeIn.bind(e),e.onPageBeforeOut=e.onPageBeforeOut.bind(e),e.onPageAfterOut=e.onPageAfterOut.bind(e),e.onPageAfterIn=e.onPageAfterIn.bind(e),e.onPageBeforeRemove=e.onPageBeforeRemove.bind(e),e.onPageStack=e.onPageStack.bind(e),e.onPageUnstack=e.onPageUnstack.bind(e),e.onPagePosition=e.onPagePosition.bind(e),n&&(t.addEventListener("ptr:pullstart",e.onPtrPullStart),t.addEventListener("ptr:pullmove",e.onPtrPullMove),t.addEventListener("ptr:pullend",e.onPtrPullEnd),t.addEventListener("ptr:refresh",e.onPtrRefresh),t.addEventListener("ptr:done",e.onPtrDone)),r&&t.addEventListener("infinite",e.onInfinite),t.addEventListener("page:mounted",e.onPageMounted),t.addEventListener("page:init",e.onPageInit),t.addEventListener("page:reinit",e.onPageReinit),t.addEventListener("page:beforein",e.onPageBeforeIn),t.addEventListener("page:beforeout",e.onPageBeforeOut),t.addEventListener("page:afterout",e.onPageAfterOut),t.addEventListener("page:afterin",e.onPageAfterIn),t.addEventListener("page:beforeremove",e.onPageBeforeRemove),t.addEventListener("page:stack",e.onPageStack),t.addEventListener("page:unstack",e.onPageUnstack),t.addEventListener("page:position",e.onPagePosition)},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);t(he,Object.assign({id:[String,Number],className:String,style:Object,name:String,stacked:Boolean,withSubnavbar:{type:Boolean,default:void 0},subnavbar:{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},infinite:Boolean,infiniteTop:Boolean,infiniteDistance:Number,infinitePreloader:{type:Boolean,default:!0},hideBarsOnScroll:Boolean,hideNavbarOnScroll:Boolean,hideToolbarOnScroll:Boolean,messagesContent:Boolean,loginScreen:Boolean},Ee.colorProps)),he.displayName="f7-page";var me=function(o){function e(e,t){o.call(this,e,t),this.__reactRefs={}}o&&(e.__proto__=o);var t={classes:{configurable:!0},slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.onOpen=function(e){this.dispatchEvent("panel:open panelOpen",e)},e.prototype.onOpened=function(e){this.dispatchEvent("panel:opened panelOpened",e)},e.prototype.onClose=function(e){this.dispatchEvent("panel:close panelClose",e)},e.prototype.onClosed=function(e){this.dispatchEvent("panel:closed panelClosed",e)},e.prototype.onBackdropClick=function(e){this.dispatchEvent("panel:backdrop-click panelBackdropClick",e)},e.prototype.onPanelSwipe=function(e){this.dispatchEvent("panel:swipe panelSwipe",e)},e.prototype.onPanelSwipeOpen=function(e){this.dispatchEvent("panel:swipeopen panelSwipeOpen",e)},e.prototype.onBreakpoint=function(e){this.dispatchEvent("panel:breakpoint panelBreakpoint",e)},e.prototype.open=function(e){if(this.$f7){var t=this.props.side||(this.props.left?"left":"right");this.$f7.panel.open(t,e)}},e.prototype.close=function(e){if(this.$f7){var t=this.props.side||(this.props.left?"left":"right");this.$f7.panel.close(t,e)}},t.classes.get=function(){var e,t=this.props,o=t.left,n=t.reveal,r=t.className,s=t.opened,i=t.side,a=t.effect;return i=i||(o?"left":"right"),a=a||(n?"reveal":"cover"),ye.classNames(r,"panel",((e={"panel-active":s})["panel-"+i]=i,e["panel-"+a]=a,e),Ee.colorClasses(t))},e.prototype.render=function(){var t=this,e=this.props,o=e.id,n=e.style;return ge.createElement("div",{ref:function(e){t.__reactRefs.el=e},id:o,style:n,className:this.classes},this.slots.default)},e.prototype.componentWillUnmount=function(){var e=this;e.f7Panel&&e.f7Panel.destroy();var t=e.refs.el;t&&(t.removeEventListener("panel:open",e.onOpenBound),t.removeEventListener("panel:opened",e.onOpenedBound),t.removeEventListener("panel:close",e.onCloseBound),t.removeEventListener("panel:closed",e.onClosedBound),t.removeEventListener("panel:backdrop-click",e.onBackdropClickBound),t.removeEventListener("panel:swipe",e.onPanelSwipeBound),t.removeEventListener("panel:swipeopen",e.onPanelSwipeOpenBound),t.removeEventListener("panel:breakpoint",e.onBreakpointBound))},e.prototype.componentDidMount=function(){var t=this,o=t.refs.el,e=t.props,n=e.side,r=e.effect,s=e.opened,i=e.left,a=e.reveal;t.onOpenBound=t.onOpen.bind(t),t.onOpenedBound=t.onOpened.bind(t),t.onCloseBound=t.onClose.bind(t),t.onClosedBound=t.onClosed.bind(t),t.onBackdropClickBound=t.onBackdropClick.bind(t),t.onPanelSwipeBound=t.onPanelSwipe.bind(t),t.onPanelSwipeOpenBound=t.onPanelSwipeOpen.bind(t),t.onBreakpointBound=t.onBreakpoint.bind(t),o&&(o.addEventListener("panel:open",t.onOpenBound),o.addEventListener("panel:opened",t.onOpenedBound),o.addEventListener("panel:close",t.onCloseBound),o.addEventListener("panel:closed",t.onClosedBound),o.addEventListener("panel:backdrop-click",t.onBackdropClickBound),o.addEventListener("panel:swipe",t.onPanelSwipeBound),o.addEventListener("panel:swipeopen",t.onPanelSwipeOpenBound),o.addEventListener("panel:breakpoint",t.onBreakpointBound)),t.$f7ready(function(){var e=t.$$;e&&(0===e(".panel-backdrop").length&&e('<div class="panel-backdrop"></div>').insertBefore(o),t.f7Panel=t.$f7.panel.create({el:o}))}),s&&(o.style.display="block");var l=t.$$;if(l){var c=n||(i?"left":"right"),p=r||(a?"reveal":"cover");s&&l("html").addClass("with-panel-"+c+"-"+p)}},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},e.prototype.componentDidUpdate=function(e,t){var n=this;m(this,"props.opened",e,t,function(e){var t=n;if(t.$f7){var o=t.props.side||(t.props.left?"left":"right");t.$f7.panel.open(o)}})},Object.defineProperties(e.prototype,t),e}(ge.Component);t(me,Object.assign({id:[String,Number],className:String,style:Object,side:String,effect:String,cover:Boolean,reveal:Boolean,left:Boolean,right:Boolean,opened:Boolean},Ee.colorProps)),me.displayName="f7-panel";var be=function(o){function e(e,t){o.call(this,e,t)}return o&&(e.__proto__=o),((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.open=function(e){return this.f7PhotoBrowser.open(e)},e.prototype.close=function(){return this.f7PhotoBrowser.close()},e.prototype.expositionToggle=function(){return this.f7PhotoBrowser.expositionToggle()},e.prototype.expositionEnable=function(){return this.f7PhotoBrowser.expositionEnable()},e.prototype.expositionDisable=function(){return this.f7PhotoBrowser.expositionDisable()},e.prototype.render=function(){return null},e.prototype.componentDidMount=function(){var o=this;o.props.init&&o.$f7ready(function(e){var t;t=void 0!==o.props.params?o.props.params:Object.assign({},o.props),Object.keys(t).forEach(function(e){void 0!==t[e]&&""!==t[e]||delete t[e]}),t=ye.extend({},t,{on:{open:function(){o.dispatchEvent("photobrowser:open photoBrowserOpen")},close:function(){o.dispatchEvent("photobrowser:close photoBrowserClose")},opened:function(){o.dispatchEvent("photobrowser:opened photoBrowserOpened")},closed:function(){o.dispatchEvent("photobrowser:closed photoBrowserClosed")},swipeToClose:function(){o.dispatchEvent("photobrowser:swipetoclose photoBrowserSwipeToClose")}}}),o.f7PhotoBrowser=e.photoBrowser.create(t)})},e.prototype.componentWillUnmount=function(){this.f7PhotoBrowser&&this.f7PhotoBrowser.destroy&&this.f7PhotoBrowser.destroy()},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},e.prototype.componentDidUpdate=function(e,t){var n=this;m(this,"props.photos",e,t,function(e){var t=n,o=t.f7PhotoBrowser;o&&(t.f7PhotoBrowser.photos=e,o.opened&&o.swiper&&o.swiper.update())})},e}(ge.Component);t(be,{id:[String,Number],className:String,style:Object,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},backLinkText:{type:String},navbarOfText:{type:String},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}),be.displayName="f7-photo-browser";var ve=function(o){function e(e,t){o.call(this,e,t),this.__reactRefs={}}o&&(e.__proto__=o);var t={slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.onOpen=function(e){this.dispatchEvent("popover:open popoverOpen",e)},e.prototype.onOpened=function(e){this.dispatchEvent("popover:opened popoverOpened",e)},e.prototype.onClose=function(e){this.dispatchEvent("popover:close popoverClose",e)},e.prototype.onClosed=function(e){this.dispatchEvent("popover:closed popoverClosed",e)},e.prototype.open=function(e,t){if(this.$f7)return this.$f7.popover.open(this.refs.el,e,t)},e.prototype.close=function(e){if(this.$f7)return this.$f7.sheet.close(this.refs.el,e)},e.prototype.render=function(){var t=this,e=this.props,o=e.className,n=e.id,r=e.style,s=ye.classNames(o,"popover",Ee.colorClasses(e));return ge.createElement("div",{ref:function(e){t.__reactRefs.el=e},id:n,style:r,className:s},ge.createElement("div",{className:"popover-angle"}),ge.createElement("div",{className:"popover-inner"},this.slots.default))},e.prototype.componentWillUnmount=function(){var e=this;e.f7Popover&&e.f7Popover.destroy();var t=e.refs.el;t&&(t.removeEventListener("popover:open",e.onOpenBound),t.removeEventListener("popover:opened",e.onOpenedBound),t.removeEventListener("popover:close",e.onCloseBound),t.removeEventListener("popover:closed",e.onClosedBound))},e.prototype.componentDidMount=function(){var e=this,t=e.refs.el;if(t){e.onOpenBound=e.onOpen.bind(e),e.onOpenedBound=e.onOpened.bind(e),e.onCloseBound=e.onClose.bind(e),e.onClosedBound=e.onClosed.bind(e),t.addEventListener("popover:open",e.onOpenBound),t.addEventListener("popover:opened",e.onOpenedBound),t.addEventListener("popover:close",e.onCloseBound),t.addEventListener("popover:closed",e.onClosedBound);var o=e.props,n=o.target,r=o.opened,s=o.closeByBackdropClick,i=o.closeByOutsideClick,a={el:t};n&&(a.targetEl=n),"closeByBackdropClick"in o&&(a.closeByBackdropClick=s),"closeByOutsideClick"in o&&(a.closeByOutsideClick=i),e.$f7ready(function(){e.f7Popover=e.$f7.popover.create(a),r&&n&&e.f7Popover.open(n,!1)})}},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},e.prototype.componentDidUpdate=function(e,t){var o=this;m(this,"props.opened",e,t,function(e){var t=o;t.f7Popover&&(e?t.f7Popover.open():t.f7Popover.close())})},Object.defineProperties(e.prototype,t),e}(ge.Component);t(ve,Object.assign({id:[String,Number],className:String,style:Object,opened:Boolean,target:[String,Object],closeByBackdropClick:Boolean,closeByOutsideClick:Boolean},Ee.colorProps)),ve.displayName="f7-popover";var Be=function(o){function e(e,t){o.call(this,e,t),this.__reactRefs={}}o&&(e.__proto__=o);var t={slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.onOpen=function(e){this.dispatchEvent("popup:open popupOpen",e)},e.prototype.onOpened=function(e){this.dispatchEvent("popup:opened popupOpened",e)},e.prototype.onClose=function(e){this.dispatchEvent("popup:close popupClose",e)},e.prototype.onClosed=function(e){this.dispatchEvent("popup:closed popupClosed",e)},e.prototype.open=function(e){if(this.$f7)return this.$f7.popup.open(this.refs.el,e)},e.prototype.close=function(e){if(this.$f7)return this.$f7.popup.close(this.refs.el,e)},e.prototype.render=function(){var t=this,e=this.props,o=e.className,n=e.id,r=e.style,s=e.tabletFullscreen,i=ye.classNames(o,"popup",{"popup-tablet-fullscreen":s},Ee.colorClasses(e));return ge.createElement("div",{ref:function(e){t.__reactRefs.el=e},id:n,style:r,className:i},this.slots.default)},e.prototype.componentWillUnmount=function(){var e=this;e.f7Popup&&e.f7Popup.destroy();var t=e.refs.el;t&&(t.removeEventListener("popup:open",e.onOpenBound),t.removeEventListener("popup:opened",e.onOpenedBound),t.removeEventListener("popup:close",e.onCloseBound),t.removeEventListener("popup:closed",e.onClosedBound))},e.prototype.componentDidMount=function(){var e=this,t=e.refs.el;if(t){e.onOpenBound=e.onOpen.bind(e),e.onOpenedBound=e.onOpened.bind(e),e.onCloseBound=e.onClose.bind(e),e.onClosedBound=e.onClosed.bind(e),t.addEventListener("popup:open",e.onOpenBound),t.addEventListener("popup:opened",e.onOpenedBound),t.addEventListener("popup:close",e.onCloseBound),t.addEventListener("popup:closed",e.onClosedBound);var o=e.props,n=o.closeByBackdropClick,r=o.backdrop,s=o.animate,i={el:t};"closeByBackdropClick"in o&&(i.closeByBackdropClick=n),"animate"in o&&(i.animate=s),"backdrop"in o&&(i.backdrop=r),e.$f7ready(function(){e.f7Popup=e.$f7.popup.create(i),e.props.opened&&e.f7Popup.open(!1)})}},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},e.prototype.componentDidUpdate=function(e,t){var o=this;m(this,"props.opened",e,t,function(e){var t=o;t.f7Popup&&(e?t.f7Popup.open():t.f7Popup.close())})},Object.defineProperties(e.prototype,t),e}(ge.Component);t(Be,Object.assign({id:[String,Number],className:String,style:Object,tabletFullscreen:Boolean,opened:Boolean,closeByBackdropClick:Boolean,backdrop:Boolean,animate:Boolean},Ee.colorProps)),Be.displayName="f7-popup";var Ce=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o),(e.prototype=Object.create(o&&o.prototype)).constructor=e;var t={sizeComputed:{configurable:!0}};return t.sizeComputed.get=function(){var e=this.props.size;return e&&"string"==typeof e&&0<=e.indexOf("px")&&(e=e.replace("px","")),e},e.prototype.render=function(){var e,t=this.sizeComputed,o=this.props,n=o.id,r=o.style,s=o.className,i={};t&&(i.width=t+"px",i.height=t+"px"),r&&ye.extend(i,r||{}),this.$theme.md&&(e=ge.createElement("span",{className:"preloader-inner"},ge.createElement("span",{className:"preloader-inner-gap"}),ge.createElement("span",{className:"preloader-inner-left"},ge.createElement("span",{className:"preloader-inner-half-circle"})),ge.createElement("span",{className:"preloader-inner-right"},ge.createElement("span",{className:"preloader-inner-half-circle"}))));var a=ye.classNames(s,"preloader",Ee.colorClasses(o));return ge.createElement("span",{id:n,style:i,className:a},e)},Object.defineProperties(e.prototype,t),e}(ge.Component);t(Ce,Object.assign({id:[String,Number],className:String,style:Object,size:[Number,String]},Ee.colorProps)),Ce.displayName="f7-preloader";var Ne=function(o){function e(e,t){o.call(this,e,t),this.__reactRefs={}}o&&(e.__proto__=o);var t={refs:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.set=function(e,t){this.$f7&&this.$f7.progressbar.set(this.refs.el,e,t)},e.prototype.render=function(){var t=this,e=this.props,o=e.progress,n=e.id,r=e.style,s=e.infinite,i=e.className,a={transform:o?"translate3d("+(-100+o)+"%, 0, 0)":"",WebkitTransform:o?"translate3d("+(-100+o)+"%, 0, 0)":""},l=ye.classNames(i,"progressbar",{"progressbar-infinite":s},Ee.colorClasses(e));return ge.createElement("span",{ref:function(e){t.__reactRefs.el=e},id:n,style:r,className:l,"data-progress":o},ge.createElement("span",{style:a}))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);t(Ne,Object.assign({id:[String,Number],className:String,style:Object,progress:Number,infinite:Boolean},Ee.colorProps)),Ne.displayName="f7-progressbar";var ke=function(n){function e(e,t){var o=this;n.call(this,e,t),this.__reactRefs={},o.onChange=o.onChange.bind(o)}n&&(e.__proto__=n);var t={slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(n&&n.prototype)).constructor=e).prototype.onChange=function(e){this.dispatchEvent("change",e)},e.prototype.render=function(){var e,t=this,o=this.props,n=o.name,r=o.value,s=o.disabled,i=o.readonly,a=o.checked,l=o.defaultChecked,c=o.id,p=o.style,u=o.className;e=ge.createElement("input",{ref:function(e){t.__reactRefs.inputEl=e},type:"radio",name:n,value:r,disabled:s,readOnly:i,checked:a,defaultChecked:l,onChange:this.onChange});var d=ge.createElement("i",{className:"icon-radio"}),f=ye.classNames(u,"radio",{disabled:s},Ee.colorClasses(o));return ge.createElement("label",{id:c,style:p,className:f},e,d,this.slots.default)},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);t(ke,Object.assign({id:[String,Number],className:String,style:Object,checked:Boolean,name:[Number,String],value:[Number,String,Boolean],disabled:Boolean,readonly:Boolean,defaultChecked:Boolean},Ee.colorProps)),ke.displayName="f7-radio";var _e=function(n){function e(e,t){var o=this;n.call(this,e,t),this.__reactRefs={},o.onClick=o.onClick.bind(o)}n&&(e.__proto__=n);var t={slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(n&&n.prototype)).constructor=e).prototype.onClick=function(e){this.dispatchEvent("click",e)},e.prototype.render=function(){var t=this,e=this.props,o=e.className,n=e.id,r=e.style,s=e.tag,i=e.noGap,a=s,l=ye.classNames(o,"row",{"no-gap":i},Ee.colorClasses(e));return ge.createElement(a,{id:n,style:r,className:l,ref:function(e){t.__reactRefs.el=e}},this.slots.default)},e.prototype.componentWillUnmount=function(){this.refs.el.removeEventListener("click",this.onClick)},e.prototype.componentDidMount=function(){this.refs.el.addEventListener("click",this.onClick)},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);t(_e,Object.assign({id:[String,Number],className:String,style:Object,noGap:Boolean,tag:{type:String,default:"div"}},Ee.colorProps)),_e.displayName="f7-row";var Oe=function(n){function e(e,t){var o=this;n.call(this,e,t),this.__reactRefs={},o.onChange=o.onChange.bind(o),o.onInput=o.onInput.bind(o),o.onFocus=o.onFocus.bind(o),o.onBlur=o.onBlur.bind(o),o.onSubmit=o.onSubmit.bind(o),o.onClearButtonClick=o.onClearButtonClick.bind(o),o.onDisableButtonClick=o.onDisableButtonClick.bind(o)}n&&(e.__proto__=n);var t={slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(n&&n.prototype)).constructor=e).prototype.search=function(e){if(this.f7Searchbar)return this.f7Searchbar.search(e)},e.prototype.enable=function(){if(this.f7Searchbar)return this.f7Searchbar.enable()},e.prototype.disable=function(){if(this.f7Searchbar)return this.f7Searchbar.disable()},e.prototype.toggle=function(){if(this.f7Searchbar)return this.toggle.disable()},e.prototype.clear=function(){if(this.f7Searchbar)return this.f7Searchbar.clear()},e.prototype.onChange=function(e){this.dispatchEvent("change",e)},e.prototype.onInput=function(e){this.dispatchEvent("input",e)},e.prototype.onFocus=function(e){this.dispatchEvent("focus",e)},e.prototype.onBlur=function(e){this.dispatchEvent("blur",e)},e.prototype.onSubmit=function(e){this.dispatchEvent("submit",e)},e.prototype.onClearButtonClick=function(e){this.dispatchEvent("click:clear clickClear",e)},e.prototype.onDisableButtonClick=function(e){this.dispatchEvent("click:disable clickDisable",e)},e.prototype.render=function(){var e,t,o=this,n=this,r=n.props,s=r.placeholder,i=r.clearButton,a=r.disableButton,l=r.disableButtonText,c=r.form,p=r.noShadow,u=r.noHairline,d=r.expandable,f=r.className,h=r.style,m=r.id,b=r.value;i&&(e=ge.createElement("span",{ref:function(e){o.__reactRefs.clearEl=e},className:"input-clear-button"})),a&&(t=ge.createElement("span",{ref:function(e){o.__reactRefs.disableEl=e},className:"searchbar-disable-button"},l));var v,g=c?"form":"div",y=ye.classNames(f,"searchbar",{"no-shadow":p,"no-hairline":u,"searchbar-expandable":d},Ee.colorClasses(r));return v=ge.createElement("input",{ref:function(e){o.__reactRefs.inputEl=e},value:b,placeholder:s,type:"search",onInput:n.onInput,onChange:n.onChange.bind(n),onFocus:n.onFocus,onBlur:n.onBlur}),ge.createElement(g,{ref:function(e){o.__reactRefs.el=e},id:m,style:h,className:y},this.slots["before-inner"],ge.createElement("div",{className:"searchbar-inner"},this.slots["inner-start"],ge.createElement("div",{className:"searchbar-input-wrap"},this.slots["input-wrap-start"],v,ge.createElement("i",{className:"searchbar-icon"}),e,this.slots["input-wrap-end"]),t,this.slots["inner-end"],this.slots.default),this.slots["after-inner"])},e.prototype.componentWillUnmount=function(){var e=this,t=e.refs,o=(t.inputEl,t.el),n=t.clearEl,r=t.disableEl;e.props.form&&o&&o.removeEventListener("submit",e.onSubmit,!1),n&&n.removeEventListener("click",e.onClearButtonClick),r&&r.removeEventListener("click",e.onDisableButtonClick),e.f7Searchbar&&e.f7Searchbar.destroy&&e.f7Searchbar.destroy()},e.prototype.componentDidMount=function(){var n=this,e=n.props,t=e.init,o=e.inputEvents,r=e.searchContainer,s=e.searchIn,i=e.searchItem,a=e.searchGroup,l=e.searchGroupTitle,c=e.hideOnEnableEl,p=e.hideOnSearchEl,u=e.foundEl,d=e.notFoundEl,f=e.backdrop,h=e.backdropEl,m=e.disableButton,b=e.ignore,v=e.customSearch,g=e.removeDiacritics,y=e.hideDividers,E=e.hideGroups,S=e.form,B=n.refs,C=(B.inputEl,B.el),N=B.clearEl,k=B.disableEl;S&&C&&C.addEventListener("submit",n.onSubmit,!1),N&&N.addEventListener("click",n.onClearButtonClick),k&&k.addEventListener("click",n.onDisableButtonClick),t&&n.$f7ready(function(){var t=ye.noUndefinedProps({el:n.refs.el,inputEvents:o,searchContainer:r,searchIn:s,searchItem:i,searchGroup:a,searchGroupTitle:l,hideOnEnableEl:c,hideOnSearchEl:p,foundEl:u,notFoundEl:d,backdrop:f,backdropEl:h,disableButton:m,ignore:b,customSearch:v,removeDiacritics:g,hideDividers:y,hideGroups:E,on:{search:function(e,t,o){n.dispatchEvent("searchbar:search searchbarSearch",e,t,o)},clear:function(e,t){n.dispatchEvent("searchbar:clear searchbarClear",e,t)},enable:function(e){n.dispatchEvent("searchbar:enable searchbarEnable",e)},disable:function(e){n.dispatchEvent("searchbar:disable searchbarDisable",e)}}});Object.keys(t).forEach(function(e){""===t[e]&&delete t[e]}),n.f7Searchbar=n.$f7.searchbar.create(t)})},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);t(Oe,Object.assign({id:[String,Number],className:String,style:Object,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,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:!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}},Ee.colorProps)),Oe.displayName="f7-searchbar";var we=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o);var t={slots:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var e=this.props,t=e.className,o=e.raised,n=e.round,r=e.id,s=e.style,i=e.tag,a=ye.classNames(t,{segmented:!0,"segmented-raised":o,"segmented-round":n},Ee.colorClasses(e)),l=i;return ge.createElement(l,{id:r,style:s,className:a},this.slots.default)},t.slots.get=function(){return s(this.props)},Object.defineProperties(e.prototype,t),e}(ge.Component);t(we,Object.assign({id:[String,Number],className:String,style:Object,raised:Boolean,round:Boolean,tag:{type:String,default:"div"}},Ee.colorProps)),we.displayName="f7-segmented";var Pe=function(o){function e(e,t){o.call(this,e,t),this.__reactRefs={}}o&&(e.__proto__=o);var t={slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.onOpen=function(e){this.dispatchEvent("sheet:open sheetOpen",e)},e.prototype.onOpened=function(e){this.dispatchEvent("sheet:opened sheetOpened",e)},e.prototype.onClose=function(e){this.dispatchEvent("sheet:close sheetClose",e)},e.prototype.onClosed=function(e){this.dispatchEvent("sheet:closed sheetClosed",e)},e.prototype.open=function(e){if(this.$f7)return this.$f7.sheet.open(this.refs.el,e)},e.prototype.close=function(e){if(this.$f7)return this.$f7.sheet.close(this.refs.el,e)},e.prototype.render=function(){var n,t=this,r=[],s=[],e=this.props,o=e.id,i=e.style,a=e.className;n="navbar toolbar tabbar subnavbar searchbar messagebar fab list-index".split(" ").map(function(e){return"f7-"+e});var l=this.slots.default;l&&l.length&&l.forEach(function(e){if(void 0!==e){var t=!1,o=e.type&&(e.type.displayName||e.type.name);o&&(0<=n.indexOf(o)&&(t=!0),t?r.push(e):s.push(e))}});var c=ge.createElement("div",{className:"sheet-modal-inner"},s),p=ye.classNames(a,"sheet-modal",Ee.colorClasses(e));return ge.createElement("div",{ref:function(e){t.__reactRefs.el=e},id:o,style:i,className:p},r,c)},e.prototype.componentWillUnmount=function(){var e=this;e.f7Sheet&&e.f7Sheet.destroy();var t=e.refs.el;t&&(t.removeEventListener("popup:open",e.onOpenBound),t.removeEventListener("popup:opened",e.onOpenedBound),t.removeEventListener("popup:close",e.onCloseBound),t.removeEventListener("popup:closed",e.onClosedBound))},e.prototype.componentDidMount=function(){var t=this,e=t.refs.el;if(e){t.onOpenBound=t.onOpen.bind(t),t.onOpenedBound=t.onOpened.bind(t),t.onCloseBound=t.onClose.bind(t),t.onClosedBound=t.onClosed.bind(t),e.addEventListener("sheet:open",t.onOpenBound),e.addEventListener("sheet:opened",t.onOpenedBound),e.addEventListener("sheet:close",t.onCloseBound),e.addEventListener("sheet:closed",t.onClosedBound);var o,n=t.props,r=n.opened,s=n.backdrop,i=n.closeByBackdropClick,a=n.closeByOutsideClick,l={el:t.refs.el};o=void 0===s,"closeByBackdropClick"in n&&(l.closeByBackdropClick=i),"closeByOutsideClick"in n&&(l.closeByOutsideClick=a),t.$f7ready(function(e){l.backdrop=o?e.params.sheet&&void 0!==e.params.sheet.backdrop?e.params.sheet.backdrop:t.$theme.md:s,t.f7Sheet=t.$f7.sheet.create(l),r&&t.f7Sheet.open(!1)})}},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},e.prototype.componentDidUpdate=function(e,t){var o=this;m(this,"props.opened",e,t,function(e){var t=o;t.f7Sheet&&(e?t.f7Sheet.open():t.f7Sheet.close())})},Object.defineProperties(e.prototype,t),e}(ge.Component);t(Pe,Object.assign({id:[String,Number],className:String,style:Object,opened:Boolean,backdrop:Boolean,closeByBackdropClick:Boolean,closeByOutsideClick:Boolean},Ee.colorProps)),Pe.displayName="f7-sheet";var Le=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o);var t={slots:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var e=this.props,t=e.className,o=e.id,n=e.style,r=ye.classNames(t,"statusbar",Ee.colorClasses(e));return ge.createElement("div",{id:o,style:n,className:r},this.slots.default)},t.slots.get=function(){return s(this.props)},Object.defineProperties(e.prototype,t),e}(ge.Component);t(Le,Object.assign({id:[String,Number],className:String,style:Object},Ee.colorProps)),Le.displayName="f7-statusbar";var je=function(n){function e(e,t){var o=this;n.call(this,e,t),this.__reactRefs={},o.onInput=o.onInput.bind(o),o.onMinusClick=o.onMinusClick.bind(o),o.onPlusClick=o.onPlusClick.bind(o)}n&&(e.__proto__=n);var t={classes:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(n&&n.prototype)).constructor=e).prototype.increment=function(){this.f7Stepper&&this.f7Stepper.increment()},e.prototype.decrement=function(){this.f7Stepper&&this.f7Stepper.decrement()},e.prototype.setValue=function(e){this.f7Stepper&&this.f7Stepper.setValue&&this.f7Stepper.setValue(e)},e.prototype.getValue=function(){if(this.f7Stepper&&this.f7Stepper.getValue)return this.f7Stepper.getValue()},e.prototype.onInput=function(e){var t=this.f7Stepper;this.dispatchEvent("input",e,t)},e.prototype.onMinusClick=function(e){var t=this.f7Stepper;this.dispatchEvent("stepper:minusclick stepperMinusClick",e,t)},e.prototype.onPlusClick=function(e){var t=this.f7Stepper;this.dispatchEvent("stepper:plusclick stepperPlusClick",e,t)},t.classes.get=function(){var e=this.props,t=e.round,o=e.roundIos,n=e.roundMd,r=e.fill,s=e.fillIos,i=e.fillMd,a=e.big,l=e.bigIos,c=e.bigMd,p=e.small,u=e.smallIos,d=e.smallMd,f=e.raised,h=e.disabled;return ye.classNames(this.props.className,"stepper",{disabled:h,"stepper-round":t,"stepper-round-ios":o,"stepper-round-md":n,"stepper-fill":r,"stepper-fill-ios":s,"stepper-fill-md":i,"stepper-big":a,"stepper-big-ios":l,"stepper-big-md":c,"stepper-small":p,"stepper-small-ios":u,"stepper-small-md":d,"stepper-raised":f},Ee.colorClasses(e))},e.prototype.render=function(){var e,t,o,n=this,r=this.props,s=r.input,i=r.buttonsOnly,a=r.inputType,l=r.value,c=r.inputReadonly,p=r.min,u=r.max,d=r.step,f=r.id,h=r.style;s&&!i&&(o=ge.createElement("input",{ref:function(e){n.__reactRefs.inputEl=e},type:a,min:"number"===a?p:void 0,max:"number"===a?u:void 0,step:"number"===a?d:void 0,onInput:this.onInput,value:l,readOnly:c}),e=ge.createElement("div",{className:"stepper-input-wrap"},o));return s||i||(t=ge.createElement("div",{className:"stepper-value"},l)),ge.createElement("div",{ref:function(e){n.__reactRefs.el=e},id:f,style:h,className:this.classes},ge.createElement("div",{ref:function(e){n.__reactRefs.minusEl=e},className:"stepper-button-minus"}),e,t,ge.createElement("div",{ref:function(e){n.__reactRefs.plusEl=e},className:"stepper-button-plus"}))},e.prototype.componentWillUnmount=function(){var e=this,t=e.refs,o=t.minusEl,n=t.plusEl;o&&o.removeEventListener("click",e.onMinusClick),n&&n.removeEventListener("click",e.onPlusClick),e.props.init&&e.f7Stepper&&e.f7Stepper.destroy&&e.f7Stepper.destroy()},e.prototype.componentDidMount=function(){var h=this,e=h.refs,t=e.minusEl,o=e.plusEl;t&&t.addEventListener("click",h.onMinusClick),o&&o.addEventListener("click",h.onPlusClick),h.props.init&&h.$f7ready(function(e){var t=h.props,o=t.min,n=t.max,r=t.value,s=t.step,i=t.formatValue,a=t.autorepeat,l=t.autorepeatDynamic,c=t.wraps,p=t.manualInputMode,u=t.decimalPoint,d=t.buttonsEndInputMode,f=h.refs.el;f&&(h.f7Stepper=e.stepper.create(ye.noUndefinedProps({el:f,min:o,max:n,value:r,step:s,formatValue:i,autorepeat:a,autorepeatDynamic:l,wraps:c,manualInputMode:p,decimalPoint:u,buttonsEndInputMode:d,on:{change:function(e,t){h.dispatchEvent("stepper:change stepperChange",t)}}})))})},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);t(je,Object.assign({id:[String,Number],className:String,style:Object,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,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,fill:Boolean,fillMd:Boolean,fillIos:Boolean,big:Boolean,bigMd:Boolean,bigIos:Boolean,small:Boolean,smallMd:Boolean,smallIos:Boolean,raised:Boolean},Ee.colorProps)),je.displayName="f7-stepper";var Ie=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o);var t={slots:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var e=this.props,t=e.inner,o=e.title,n=e.style,r=e.id,s=e.className,i=e.sliding,a=ye.classNames(s,"subnavbar",{sliding:i},Ee.colorClasses(e));return ge.createElement("div",{className:a,id:r,style:n},t?ge.createElement("div",{className:"subnavbar-inner"},o&&ge.createElement("div",{className:"title"},o),this.slots.default):this.slots.default)},t.slots.get=function(){return s(this.props)},Object.defineProperties(e.prototype,t),e}(ge.Component);t(Ie,Object.assign({id:[String,Number],className:String,style:Object,sliding:Boolean,title:String,inner:{type:Boolean,default:!0}},Ee.colorProps)),Ie.displayName="f7-subnavbar";var Re=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o);var t={slots:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var e=this.props,t=e.left,o=e.right,n=e.side,r=e.className,s=e.id,i=e.style,a=n;a||(t&&(a="left"),o&&(a="right"));var l=ye.classNames(r,"swipeout-actions-"+a,Ee.colorClasses(e));return ge.createElement("div",{id:s,style:i,className:l},this.slots.default)},t.slots.get=function(){return s(this.props)},Object.defineProperties(e.prototype,t),e}(ge.Component);t(Re,Object.assign({id:[String,Number],className:String,style:Object,left:Boolean,right:Boolean,side:String},Ee.colorProps)),Re.displayName="f7-swipeout-actions";var xe=function(n){function e(e,t){var o=this;n.call(this,e,t),this.__reactRefs={},o.onClick=o.onClick.bind(o)}n&&(e.__proto__=n);var t={slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(n&&n.prototype)).constructor=e).prototype.onClick=function(e){this.dispatchEvent("click",e)},e.prototype.render=function(){var t=this,e=this.props,o=e.className,n=e.id,r=e.style,s=e.overswipe,i=e.delete,a=e.close,l=e.href,c=e.confirmText,p=e.text,u=ye.classNames(o,{"swipeout-overswipe":s,"swipeout-delete":i,"swipeout-close":a},Ee.colorClasses(e));return ge.createElement("a",{ref:function(e){t.__reactRefs.el=e},href:l||"#",id:n,style:r,"data-confirm":c||void 0,className:u},this.slots.default,!this.slots.default&&p)},e.prototype.componentWillUnmount=function(){this.refs.el.removeEventListener("click",this.onClick)},e.prototype.componentDidMount=function(){this.refs.el.addEventListener("click",this.onClick)},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);t(xe,Object.assign({id:[String,Number],className:String,style:Object,text:String,confirmText:String,overswipe:Boolean,close:Boolean,delete:Boolean,href:String},Ee.colorProps)),xe.displayName="f7-swipeout-button";var Me=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o);var t={slots:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var e=this.props,t=e.className,o=e.id,n=e.style,r=e.zoom,s=ye.classNames(t,"swiper-slide");return ge.createElement("div",{id:o,style:n,className:s},r?ge.createElement("div",{className:"swiper-zoom-container"},this.slots.default):this.slots.default)},t.slots.get=function(){return s(this.props)},Object.defineProperties(e.prototype,t),e}(ge.Component);t(Me,{id:[String,Number],className:String,style:Object,zoom:Boolean}),Me.displayName="f7-swiper-slide";var Te=function(o){function e(e,t){o.call(this,e,t),this.__reactRefs={}}o&&(e.__proto__=o),(e.prototype=Object.create(o&&o.prototype)).constructor=e;var t={paginationComputed:{configurable:!0},scrollbarComputed:{configurable:!0},navigationComputed:{configurable:!0},slots:{configurable:!0},refs:{configurable:!0}};return t.paginationComputed.get=function(){var e=this.props,t=e.pagination,o=e.params;return!!(!0===t||o&&o.pagination&&!o.pagination.el)},t.scrollbarComputed.get=function(){var e=this.props,t=e.scrollbar,o=e.params;return!!(!0===t||o&&o.scrollbar&&!o.scrollbar.el)},t.navigationComputed.get=function(){var e=this.props,t=e.navigation,o=e.params;return!(!0!==t&&(!o||!o.navigation||o.navigation.nextEl||o.navigation.prevEl))},e.prototype.render=function(){var e,t,o,n,r=this,s=this.props,i=s.id,a=s.style,l=s.className;this.paginationComputed&&(e=ge.createElement("div",{ref:function(e){r.__reactRefs.paginationEl=e},className:"swiper-pagination"})),this.scrollbarComputed&&(t=ge.createElement("div",{ref:function(e){r.__reactRefs.scrollbarEl=e},className:"swiper-scrollbar"})),this.navigationComputed&&(o=ge.createElement("div",{ref:function(e){r.__reactRefs.nextEl=e},className:"swiper-button-next"}),n=ge.createElement("div",{ref:function(e){r.__reactRefs.prevEl=e},className:"swiper-button-prev"}));var c=ye.classNames(l,"swiper-container",Ee.colorClasses(s));return ge.createElement("div",{id:i,style:a,ref:function(e){r.__reactRefs.el=e},className:c},this.slots["before-wrapper"],ge.createElement("div",{className:"swiper-wrapper"},this.slots.default),e,t,n,o,this.slots["after-wrapper"])},e.prototype.componentWillUnmount=function(){this.props.init&&this.swiper&&this.swiper.destroy&&this.swiper.destroy()},e.prototype.componentDidMount=function(){var a=this;a.props.init&&a.$f7ready(function(e){var t={pagination:{},navigation:{},scrollbar:{}},o=a.props,n=o.params,r=o.pagination,s=o.navigation,i=o.scrollbar;n&&ye.extend(t,n),r&&!t.pagination.el&&(t.pagination.el=a.refs.paginationEl),!s||t.navigation.nextEl||t.navigation.prevEl||(t.navigation.nextEl=a.refs.nextEl,t.navigation.prevEl=a.refs.prevEl),i&&!t.scrollbar.el&&(t.scrollbar.el=a.refs.scrollbarEl),a.swiper=e.swiper.create(a.refs.el,t)})},e.prototype.componentDidUpdate=function(){var e=this;e.initialUpdate?e.swiper&&e.swiper.update&&e.swiper.update():e.initialUpdate=!0},t.slots.get=function(){return s(this.props)},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);t(Te,Object.assign({id:[String,Number],className:String,style:Object,params:Object,pagination:Boolean,scrollbar:Boolean,navigation:Boolean,init:{type:Boolean,default:!0}},Ee.colorProps)),Te.displayName="f7-swiper";var De=function(n){function e(e,t){var o=this;n.call(this,e,t),this.__reactRefs={},this.state={tabContent:null},o.onTabShowBound=o.onTabShow.bind(o),o.onTabHideBound=o.onTabHide.bind(o)}n&&(e.__proto__=n);var t={slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(n&&n.prototype)).constructor=e).prototype.show=function(e){this.$f7&&this.$f7.tab.show(this.refs.el,e)},e.prototype.onTabShow=function(e){this.dispatchEvent("tab:show tabShow",e)},e.prototype.onTabHide=function(e){this.dispatchEvent("tab:hide tabHide",e)},e.prototype.render=function(){var e,t=this,o=this.props,n=o.tabActive,r=o.id,s=o.className,i=o.style,a=this.state.tabContent,l=ye.classNames(s,"tab",{"tab-active":n},Ee.colorClasses(o));return a&&(e=a.component),ge.createElement("div",{id:r,style:i,ref:function(e){t.__reactRefs.el=e},className:l},a?ge.createElement(e,Object.assign({key:a.id},a.props)):this.slots.default)},e.prototype.componentDidMount=function(){var e=this,t=e.refs.el;t&&(t.addEventListener("tab:show",e.onTabShowBound),t.addEventListener("tab:hide",e.onTabHideBound)),e.setState({tabContent:null}),e.$f7ready(function(){e.routerData={el:t,component:e},g.routers.tabs.push(e.routerData)})},e.prototype.componentWillUnmount=function(){var e=this,t=e.refs.el;t&&(t.removeEventListener("tab:show",e.onTabShowBound),t.removeEventListener("tab:hide",e.onTabHideBound)),e.routerData&&(g.routers.tabs.splice(g.routers.tabs.indexOf(e.routerData),1),e.routerData=null,delete e.routerData)},e.prototype.componentDidUpdate=function(){this.routerData&&v.emit("tabRouterDidUpdate",this.routerData)},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);t(De,Object.assign({id:[String,Number],className:String,style:Object,tabActive:Boolean},Ee.colorProps)),De.displayName="f7-tab";var Ae=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o);var t={slots:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var e=this.props,t=e.animated,o=e.swipeable,n=e.id,r=e.style,s=e.className,i=e.routable,a=ye.classNames(s,Ee.colorClasses(e)),l=ye.classNames({"tabs-animated-wrap":t,"tabs-swipeable-wrap":o}),c=ye.classNames({tabs:!0,"tabs-routable":i});return t||o?ge.createElement("div",{id:n,style:r,className:ye.classNames(l,a)},ge.createElement("div",{className:c},this.slots.default)):ge.createElement("div",{id:n,style:r,className:ye.classNames(c,a)},this.slots.default)},t.slots.get=function(){return s(this.props)},Object.defineProperties(e.prototype,t),e}(ge.Component);t(Ae,Object.assign({id:[String,Number],className:String,style:Object,animated:Boolean,swipeable:Boolean,routable:Boolean},Ee.colorProps)),Ae.displayName="f7-tabs";var Fe=function(o){function e(e,t){o.call(this,e,t),this.__reactRefs={}}o&&(e.__proto__=o);var t={slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.hide=function(e){this.$f7&&this.$f7.toolbar.hide(this.refs.el,e)},e.prototype.show=function(e){this.$f7&&this.$f7.toolbar.show(this.refs.el,e)},e.prototype.render=function(){var t=this,e=this.props,o=e.id,n=e.style,r=e.className,s=e.inner,i=e.bottomMd,a=e.tabbar,l=e.labels,c=e.scrollable,p=e.hidden,u=e.noShadow,d=e.noHairline,f=ye.classNames(r,"toolbar",{"toolbar-bottom-md":i,tabbar:a,"tabbar-labels":l,"tabbar-scrollable":c,"toolbar-hidden":p,"no-shadow":u,"no-hairline":d},Ee.colorClasses(e));return ge.createElement("div",{id:o,style:n,ref:function(e){t.__reactRefs.el=e},className:f},this.slots["before-inner"],s?ge.createElement("div",{className:"toolbar-inner"},this.slots.default):this.slots.default,this.slots["after-inner"])},e.prototype.componentDidMount=function(){var t=this;t.$f7ready(function(e){t.props.tabbar&&e.toolbar.setHighlight(t.refs.el)})},e.prototype.componentDidUpdate=function(){this.props.tabbar&&this.$f7&&this.$f7.toolbar.setHighlight(this.refs.el)},t.slots.get=function(){return s(this.props)},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);t(Fe,Object.assign({id:[String,Number],className:String,style:Object,bottomMd:Boolean,tabbar:Boolean,labels:Boolean,scrollable:Boolean,hidden:Boolean,noShadow:Boolean,noHairline:Boolean,inner:{type:Boolean,default:!0}},Ee.colorProps)),Fe.displayName="f7-toolbar";var $e=function(r){function e(e,t){var o,n=this;r.call(this,e,t),this.__reactRefs={},this.state={pages:[]},(o=n).onSwipeBackMoveBound=o.onSwipeBackMove.bind(o),o.onSwipeBackBeforeChangeBound=o.onSwipeBackBeforeChange.bind(o),o.onSwipeBackAfterChangeBound=o.onSwipeBackAfterChange.bind(o),o.onSwipeBackBeforeResetBound=o.onSwipeBackBeforeReset.bind(o),o.onSwipeBackAfterResetBound=o.onSwipeBackAfterReset.bind(o),o.onTabShowBound=o.onTabShow.bind(o),o.onTabHideBound=o.onTabHide.bind(o),o.onViewInitBound=o.onViewInit.bind(o)}r&&(e.__proto__=r);var t={slots:{configurable:!0},refs:{configurable:!0}};return((e.prototype=Object.create(r&&r.prototype)).constructor=e).prototype.onViewInit=function(e){var t=e.detail;this.dispatchEvent("view:init viewInit",e,t),this.props.init||(this.routerData.instance=t,this.f7View=this.routerData.instance)},e.prototype.onSwipeBackMove=function(e){var t=e.detail;this.dispatchEvent("swipeback:move swipeBackMove",e,t)},e.prototype.onSwipeBackBeforeChange=function(e){var t=e.detail;this.dispatchEvent("swipeback:beforechange swipeBackBeforeChange",e,t)},e.prototype.onSwipeBackAfterChange=function(e){var t=e.detail;this.dispatchEvent("swipeback:afterchange swipeBackAfterChange",e,t)},e.prototype.onSwipeBackBeforeReset=function(e){var t=e.detail;this.dispatchEvent("swipeback:beforereset swipeBackBeforeReset",e,t)},e.prototype.onSwipeBackAfterReset=function(e){var t=e.detail;this.dispatchEvent("swipeback:afterreset swipeBackAfterReset",e,t)},e.prototype.onTabShow=function(e){this.dispatchEvent("tab:show tabShow",e)},e.prototype.onTabHide=function(e){this.dispatchEvent("tab:hide tabHide",e)},e.prototype.render=function(){var t=this,e=this.props,o=e.id,n=e.style,r=e.tab,s=e.main,i=e.tabActive,a=e.className,l=ye.classNames(a,"view",{"view-main":s,"tab-active":i,tab:r},Ee.colorClasses(e));return ge.createElement("div",{ref:function(e){t.__reactRefs.el=e},id:o,style:n,className:l},this.slots.default,this.state.pages.map(function(e){var t=e.component;return ge.createElement(t,Object.assign({key:e.id},e.props))}))},e.prototype.componentDidUpdate=function(){this.routerData&&v.emit("viewRouterDidUpdate",this.routerData)},e.prototype.componentWillUnmount=function(){var e=this,t=e.refs.el;t.removeEventListener("swipeback:move",e.onSwipeBackMoveBound),t.removeEventListener("swipeback:beforechange",e.onSwipeBackBeforeChangeBound),t.removeEventListener("swipeback:afterchange",e.onSwipeBackAfterChangeBound),t.removeEventListener("swipeback:beforereset",e.onSwipeBackBeforeResetBound),t.removeEventListener("swipeback:afterreset",e.onSwipeBackAfterResetBound),t.removeEventListener("tab:show",e.onTabShowBound),t.removeEventListener("tab:hide",e.onTabHideBound),t.removeEventListener("view:init",e.onViewInitBound),e.props.init&&(e.f7View&&e.f7View.destroy&&e.f7View.destroy(),g.routers.views.splice(g.routers.views.indexOf(e.routerData),1),e.routerData=null,delete e.routerData)},e.prototype.componentDidMount=function(){var t=this,o=t.refs.el;o.addEventListener("swipeback:move",t.onSwipeBackMoveBound),o.addEventListener("swipeback:beforechange",t.onSwipeBackBeforeChangeBound),o.addEventListener("swipeback:afterchange",t.onSwipeBackAfterChangeBound),o.addEventListener("swipeback:beforereset",t.onSwipeBackBeforeResetBound),o.addEventListener("swipeback:afterreset",t.onSwipeBackAfterResetBound),o.addEventListener("tab:show",t.onTabShowBound),o.addEventListener("tab:hide",t.onTabHideBound),o.addEventListener("view:init",t.onViewInitBound),t.setState({pages:[]}),t.$f7ready(function(e){t.routerData={el:o,component:t,instance:null},g.routers.views.push(t.routerData),t.props.init&&(t.routerData.instance=e.views.create(o,ye.noUndefinedProps(t.props)),t.f7View=t.routerData.instance)})},t.slots.get=function(){return s(this.props)},e.prototype.dispatchEvent=function(e){for(var t=[],o=arguments.length-1;0<o--;)t[o]=arguments[o+1];return a.apply(void 0,[this,e].concat(t))},t.refs.get=function(){return this.__reactRefs},t.refs.set=function(e){},Object.defineProperties(e.prototype,t),e}(ge.Component);t($e,Object.assign({id:[String,Number],className:String,style:Object,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,removeElements:Boolean,removeElementsWithTimeout:Boolean,removeElementsTimeout:Number,restoreScrollTopOnBack:Boolean,iosSwipeBack:Boolean,iosSwipeBackAnimateShadow:Boolean,iosSwipeBackAnimateOpacity:Boolean,iosSwipeBackActiveArea:Number,iosSwipeBackThreshold:Number,mdSwipeBack:Boolean,mdSwipeBackAnimateShadow:Boolean,mdSwipeBackAnimateOpacity:Boolean,mdSwipeBackActiveArea:Number,mdSwipeBackThreshold:Number,pushState:Boolean,pushStateRoot:String,pushStateAnimate:Boolean,pushStateAnimateOnLoad:Boolean,pushStateSeparator:String,pushStateOnLoad:Boolean,animate:Boolean,iosDynamicNavbar:Boolean,iosSeparateDynamicNavbar:Boolean,iosAnimateNavbarBackIcon:Boolean,materialPageLoadDelay:Number,passRouteQueryToRequest:Boolean,passRouteParamsToRequest:Boolean,routes:Array,routesAdd:Array,routesBeforeEnter:[Function,Array],routesBeforeLeave:[Function,Array],init:{type:Boolean,default:!0}},Ee.colorProps)),$e.displayName="f7-view";var Ue=function(o){function e(e,t){o.call(this,e,t)}o&&(e.__proto__=o);var t={slots:{configurable:!0}};return((e.prototype=Object.create(o&&o.prototype)).constructor=e).prototype.render=function(){var e=this.props,t=e.className,o=e.id,n=e.style,r=e.tabs,s=ye.classNames(t,"views",{tabs:r},Ee.colorClasses(e));return ge.createElement("div",{id:o,style:n,className:s},this.slots.default)},t.slots.get=function(){return s(this.props)},Object.defineProperties(e.prototype,t),e}(ge.Component);t(Ue,Object.assign({id:[String,Number],className:String,style:Object,tabs:Boolean},Ee.colorProps)),Ue.displayName="f7-views";var ze=0,He={proto:{pageComponentLoader:function(t,e,o,n,r,s){var i,a=t;if(g.routers.views.forEach(function(e){e.el&&e.el===t&&(i=e.component)}),i&&i.state.pages){var l,c={component:e,id:ye.now()+"_"+(ze+=1),props:ye.extend({f7route:n.route,f7router:this},n.route.params,n.props||{})};i.$f7router=this,i.$f7route=n.route,v.on("viewRouterDidUpdate",function e(t){if(t.component===i&&!l){v.off("viewRouterDidUpdate",e);var o=a.children[a.children.length-1];c.el=o,r(o),l=!0}}),i.state.pages.push(c),i.setState({pages:i.state.pages})}else s()},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,r,s;if(g.routers.views.forEach(function(e){e.el&&e.el===o.el&&(n=e.component)}),"length"in e){if(0===e.length)return;r=e[0]}else r=e;if(r)n.state.pages.forEach(function(e,t){e.el===r&&(s=!0,n.state.pages.splice(t,1),n.setState({pages:n.state.pages}))}),s||r.parentNode.removeChild(r)}}},tabComponentLoader:function(n,e,t,o,r,s){var i;if(n||s(),g.routers.tabs.forEach(function(e){e.el&&e.el===n&&(i=e.component)}),i){var a,l={id:ye.now()+"_"+(ze+=1),component:e,props:ye.extend({f7route:o.route,f7router:this},o.route.params,o.props||{})};i.$f7router=this,i.$f7route=o.route,v.on("tabRouterDidUpdate",function e(t){if(t.component===i&&!a){v.off("tabRouterDidUpdate",e);var o=n.children[0];r(o),a=!0}}),i.setState({tabContent:l})}else s()},removeTabContent:function(t){if(t){var o;g.routers.tabs.forEach(function(e){e.el&&e.el===t&&(o=e.component)});var e=!!o.state.tabContent;o&&e?o.setState({tabContent:null}):t.innerHTML=""}},modalComponentLoader:function(e,t,o,n,r,s){var i=g.routers.modals&&g.routers.modals.component,a=g.routers.modals&&g.routers.modals.el;if(i&&i.state.modals){var l,c={component:t,id:ye.now()+"_"+(ze+=1),props:ye.extend({f7route:n.route,f7router:this},n.route.params,n.props||{})};i.$f7router=this,i.$f7route=n.route,v.on("modalsRouterDidUpdate",function e(t){if(t.component===i&&!l){v.off("modalsRouterDidUpdate",e);var o=a.children[a.children.length-1];c.el=o,r(o),l=!0}}),i.state.modals.push(c),i.setState({modals:i.state.modals})}else s()},removeModal:function(t){var o,e=g.routers.modals&&g.routers.modals.component;e&&(e.state.modals.forEach(function(e){e.el===t&&(o=e)}),e.state.modals.splice(e.state.modals.indexOf(o),1),e.setState({modals:e.state.modals}))}}};return{name:"phenomePlugin",install:function(e){void 0===e&&(e={});var t=this;g.Framework7=t;var o=e.React?e.React.Component:ge.Component;window.AccordionContent=i,window.AccordionItem=c,window.AccordionToggle=p,window.Accordion=u,window.ActionsButton=d,window.ActionsGroup=f,window.ActionsLabel=h,window.Actions=b,window.App=E,window.Badge=Se,window.BlockFooter=S,window.BlockHeader=B,window.BlockTitle=C,window.Block=N,window.Button=k,window.CardContent=_,window.CardFooter=O,window.CardHeader=P,window.Card=L,window.Checkbox=j,window.Chip=I,window.Col=R,window.FabButton=x,window.FabButtons=M,window.Fab=T,window.Gauge=D,window.Icon=w,window.Input=A,window.Label=F,window.Link=$,window.ListButton=U,window.ListGroup=z,window.ListIndex=H,window.ListInput=V,window.ListItemCell=W,window.ListItemContent=ee,window.ListItemRow=q,window.ListItem=G,window.List=Q,window.LoginScreenTitle=K,window.LoginScreen=X,window.Message=Z,window.MessagebarAttachment=te,window.MessagebarAttachments=oe,window.MessagebarSheetImage=ne,window.MessagebarSheetItem=re,window.MessagebarSheet=se,window.Messagebar=ie,window.MessagesTitle=ae,window.Messages=le,window.NavLeft=ce,window.NavRight=pe,window.NavTitle=ue,window.Navbar=de,window.PageContent=fe,window.Page=he,window.Panel=me,window.PhotoBrowser=be,window.Popover=ve,window.Popup=Be,window.Preloader=Ce,window.Progressbar=Ne,window.Radio=ke,window.Range=J,window.RoutableModals=y,window.Row=_e,window.Searchbar=Oe,window.Segmented=we,window.Sheet=Pe,window.Statusbar=Le,window.Stepper=je,window.Subnavbar=Ie,window.SwipeoutActions=Re,window.SwipeoutButton=xe,window.SwiperSlide=Me,window.Swiper=Te,window.Tab=De,window.Tabs=Ae,window.Toggle=Y,window.Toolbar=Fe,window.View=$e,window.Views=Ue,Object.defineProperty(o.prototype,"$f7",{get:function(){return g.instance}});var n={},r=e.theme;function s(e){g.ready(e)}"md"===r&&(n.md=!0),"ios"===r&&(n.ios=!0),r&&"auto"!==r||(n.ios=!!(t.Device||t.device).ios,n.md=!(t.Device||t.device).ios),Object.defineProperty(o.prototype,"$theme",{get:function(){return{ios:g.instance?"ios"===g.instance.theme:n.ios,md:g.instance?"md"===g.instance.theme:n.md}}}),o.prototype.Dom7=t.$,o.prototype.$$=t.$,o.prototype.$device=t.device,o.prototype.$request=t.request,o.prototype.$utils=t.utils,o.prototype.$f7ready=s,o.prototype.$f7Ready=s,Object.defineProperty(o.prototype,"$f7route",{get:function(){return this.props&&this.props.f7route?this.props.f7route:this.f7route?this.f7route:this._f7route?this._f7route:void 0},set:function(e){this._f7route=e}}),Object.defineProperty(o.prototype,"$f7router",{get:function(){return this.props&&this.props.f7router?this.props.f7router:this.f7router?this.f7router:this._f7router?this._f7router:void 0},set:function(e){this._f7router=e}}),t.Router.use(He)}}});
  //# sourceMappingURL=framework7-react.min.js.map
  