diff --git a/OptimaRegular.ttf b/OptimaRegular.ttf new file mode 100644 index 0000000..36913c7 Binary files /dev/null and b/OptimaRegular.ttf differ diff --git a/assets/index-410e686c.js b/assets/index-410e686c.js new file mode 100644 index 0000000..dca0306 --- /dev/null +++ b/assets/index-410e686c.js @@ -0,0 +1,329 @@ +var Er=Object.defineProperty;var Cr=(et,_e,tt)=>_e in et?Er(et,_e,{enumerable:!0,configurable:!0,writable:!0,value:tt}):et[_e]=tt;var yn=(et,_e,tt)=>(Cr(et,typeof _e!="symbol"?_e+"":_e,tt),tt);(function(){const _e=document.createElement("link").relList;if(_e&&_e.supports&&_e.supports("modulepreload"))return;for(const rt of document.querySelectorAll('link[rel="modulepreload"]'))nt(rt);new MutationObserver(rt=>{for(const st of rt)if(st.type==="childList")for(const it of st.addedNodes)it.tagName==="LINK"&&it.rel==="modulepreload"&&nt(it)}).observe(document,{childList:!0,subtree:!0});function tt(rt){const st={};return rt.integrity&&(st.integrity=rt.integrity),rt.referrerPolicy&&(st.referrerPolicy=rt.referrerPolicy),rt.crossOrigin==="use-credentials"?st.credentials="include":rt.crossOrigin==="anonymous"?st.credentials="omit":st.credentials="same-origin",st}function nt(rt){if(rt.ep)return;rt.ep=!0;const st=tt(rt);fetch(rt.href,st)}})();var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(et){return et&&et.__esModule&&Object.prototype.hasOwnProperty.call(et,"default")?et.default:et}function getDefaultExportFromNamespaceIfPresent(et){return et&&Object.prototype.hasOwnProperty.call(et,"default")?et.default:et}function getDefaultExportFromNamespaceIfNotNamed(et){return et&&Object.prototype.hasOwnProperty.call(et,"default")&&Object.keys(et).length===1?et.default:et}function getAugmentedNamespace(et){if(et.__esModule)return et;var _e=et.default;if(typeof _e=="function"){var tt=function nt(){return this instanceof nt?Reflect.construct(_e,arguments,this.constructor):_e.apply(this,arguments)};tt.prototype=_e.prototype}else tt={};return Object.defineProperty(tt,"__esModule",{value:!0}),Object.keys(et).forEach(function(nt){var rt=Object.getOwnPropertyDescriptor(et,nt);Object.defineProperty(tt,nt,rt.get?rt:{enumerable:!0,get:function(){return et[nt]}})}),tt}var jsxRuntime$2={exports:{}},reactJsxRuntime_production_min={},react$1={exports:{}},react_production_min={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var l$5=Symbol.for("react.element"),n$6=Symbol.for("react.portal"),p$7=Symbol.for("react.fragment"),q$6=Symbol.for("react.strict_mode"),r$4=Symbol.for("react.profiler"),t$5=Symbol.for("react.provider"),u$4=Symbol.for("react.context"),v$5=Symbol.for("react.forward_ref"),w$3=Symbol.for("react.suspense"),x$2=Symbol.for("react.memo"),y$2=Symbol.for("react.lazy"),z$3=Symbol.iterator;function A$3(et){return et===null||typeof et!="object"?null:(et=z$3&&et[z$3]||et["@@iterator"],typeof et=="function"?et:null)}var B$2={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C$2=Object.assign,D$2={};function E$2(et,_e,tt){this.props=et,this.context=_e,this.refs=D$2,this.updater=tt||B$2}E$2.prototype.isReactComponent={};E$2.prototype.setState=function(et,_e){if(typeof et!="object"&&typeof et!="function"&&et!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,et,_e,"setState")};E$2.prototype.forceUpdate=function(et){this.updater.enqueueForceUpdate(this,et,"forceUpdate")};function F$1(){}F$1.prototype=E$2.prototype;function G$2(et,_e,tt){this.props=et,this.context=_e,this.refs=D$2,this.updater=tt||B$2}var H$2=G$2.prototype=new F$1;H$2.constructor=G$2;C$2(H$2,E$2.prototype);H$2.isPureReactComponent=!0;var I$2=Array.isArray,J$1=Object.prototype.hasOwnProperty,K$2={current:null},L$2={key:!0,ref:!0,__self:!0,__source:!0};function M$2(et,_e,tt){var nt,rt={},st=null,it=null;if(_e!=null)for(nt in _e.ref!==void 0&&(it=_e.ref),_e.key!==void 0&&(st=""+_e.key),_e)J$1.call(_e,nt)&&!L$2.hasOwnProperty(nt)&&(rt[nt]=_e[nt]);var at=arguments.length-2;if(at===1)rt.children=tt;else if(1>>1,Ot=At[Nt];if(0>>1;Ntrt(Ht,Dt))Ftrt(Vt,Ht)?(At[Nt]=Vt,At[Ft]=Dt,Nt=Ft):(At[Nt]=Ht,At[jt]=Dt,Nt=jt);else if(Ftrt(Vt,Dt))At[Nt]=Vt,At[Ft]=Dt,Nt=Ft;else break e}}return Tt}function rt(At,Tt){var Dt=At.sortIndex-Tt.sortIndex;return Dt!==0?Dt:At.id-Tt.id}if(typeof performance=="object"&&typeof performance.now=="function"){var st=performance;et.unstable_now=function(){return st.now()}}else{var it=Date,at=it.now();et.unstable_now=function(){return it.now()-at}}var ot=[],lt=[],ct=1,ut=null,dt=3,ft=!1,pt=!1,ht=!1,vt=typeof setTimeout=="function"?setTimeout:null,gt=typeof clearTimeout=="function"?clearTimeout:null,mt=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function bt(At){for(var Tt=tt(lt);Tt!==null;){if(Tt.callback===null)nt(lt);else if(Tt.startTime<=At)nt(lt),Tt.sortIndex=Tt.expirationTime,_e(ot,Tt);else break;Tt=tt(lt)}}function xt(At){if(ht=!1,bt(At),!pt)if(tt(ot)!==null)pt=!0,Bt(yt);else{var Tt=tt(lt);Tt!==null&&It(xt,Tt.startTime-At)}}function yt(At,Tt){pt=!1,ht&&(ht=!1,gt(Ct),Ct=-1),ft=!0;var Dt=dt;try{for(bt(Tt),ut=tt(ot);ut!==null&&(!(ut.expirationTime>Tt)||At&&!St());){var Nt=ut.callback;if(typeof Nt=="function"){ut.callback=null,dt=ut.priorityLevel;var Ot=Nt(ut.expirationTime<=Tt);Tt=et.unstable_now(),typeof Ot=="function"?ut.callback=Ot:ut===tt(ot)&&nt(ot),bt(Tt)}else nt(ot);ut=tt(ot)}if(ut!==null)var Lt=!0;else{var jt=tt(lt);jt!==null&&It(xt,jt.startTime-Tt),Lt=!1}return Lt}finally{ut=null,dt=Dt,ft=!1}}var $t=!1,wt=null,Ct=-1,Et=5,Mt=-1;function St(){return!(et.unstable_now()-MtAt||125Nt?(At.sortIndex=Dt,_e(lt,At),tt(ot)===null&&At===tt(lt)&&(ht?(gt(Ct),Ct=-1):ht=!0,It(xt,Dt-Nt))):(At.sortIndex=Ot,_e(ot,At),pt||ft||(pt=!0,Bt(yt))),At},et.unstable_shouldYield=St,et.unstable_wrapCallback=function(At){var Tt=dt;return function(){var Dt=dt;dt=Tt;try{return At.apply(this,arguments)}finally{dt=Dt}}}})(scheduler_production_min$1);const scheduler_production_min=getDefaultExportFromCjs(scheduler_production_min$1);var scheduler=scheduler$1.exports;scheduler$1.exports=scheduler_production_min$1;var schedulerExports=scheduler$1.exports;const index$6=getDefaultExportFromCjs(schedulerExports);/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var aa=reactExports,ca=schedulerExports;function p$5(et){for(var _e="https://reactjs.org/docs/error-decoder.html?invariant="+et,tt=1;tt"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ja=Object.prototype.hasOwnProperty,ka=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,la={},ma={};function oa(et){return ja.call(ma,et)?!0:ja.call(la,et)?!1:ka.test(et)?ma[et]=!0:(la[et]=!0,!1)}function pa(et,_e,tt,nt){if(tt!==null&&tt.type===0)return!1;switch(typeof _e){case"function":case"symbol":return!0;case"boolean":return nt?!1:tt!==null?!tt.acceptsBooleans:(et=et.toLowerCase().slice(0,5),et!=="data-"&&et!=="aria-");default:return!1}}function qa(et,_e,tt,nt){if(_e===null||typeof _e>"u"||pa(et,_e,tt,nt))return!0;if(nt)return!1;if(tt!==null)switch(tt.type){case 3:return!_e;case 4:return _e===!1;case 5:return isNaN(_e);case 6:return isNaN(_e)||1>_e}return!1}function v$4(et,_e,tt,nt,rt,st,it){this.acceptsBooleans=_e===2||_e===3||_e===4,this.attributeName=nt,this.attributeNamespace=rt,this.mustUseProperty=tt,this.propertyName=et,this.type=_e,this.sanitizeURL=st,this.removeEmptyString=it}var z$2={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(et){z$2[et]=new v$4(et,0,!1,et,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(et){var _e=et[0];z$2[_e]=new v$4(_e,1,!1,et[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(et){z$2[et]=new v$4(et,2,!1,et.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(et){z$2[et]=new v$4(et,2,!1,et,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(et){z$2[et]=new v$4(et,3,!1,et.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(et){z$2[et]=new v$4(et,3,!0,et,null,!1,!1)});["capture","download"].forEach(function(et){z$2[et]=new v$4(et,4,!1,et,null,!1,!1)});["cols","rows","size","span"].forEach(function(et){z$2[et]=new v$4(et,6,!1,et,null,!1,!1)});["rowSpan","start"].forEach(function(et){z$2[et]=new v$4(et,5,!1,et.toLowerCase(),null,!1,!1)});var ra=/[\-:]([a-z])/g;function sa(et){return et[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(et){var _e=et.replace(ra,sa);z$2[_e]=new v$4(_e,1,!1,et,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(et){var _e=et.replace(ra,sa);z$2[_e]=new v$4(_e,1,!1,et,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(et){var _e=et.replace(ra,sa);z$2[_e]=new v$4(_e,1,!1,et,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(et){z$2[et]=new v$4(et,1,!1,et.toLowerCase(),null,!1,!1)});z$2.xlinkHref=new v$4("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(et){z$2[et]=new v$4(et,1,!1,et.toLowerCase(),null,!0,!0)});function ta(et,_e,tt,nt){var rt=z$2.hasOwnProperty(_e)?z$2[_e]:null;(rt!==null?rt.type!==0:nt||!(2<_e.length)||_e[0]!=="o"&&_e[0]!=="O"||_e[1]!=="n"&&_e[1]!=="N")&&(qa(_e,tt,rt,nt)&&(tt=null),nt||rt===null?oa(_e)&&(tt===null?et.removeAttribute(_e):et.setAttribute(_e,""+tt)):rt.mustUseProperty?et[rt.propertyName]=tt===null?rt.type===3?!1:"":tt:(_e=rt.attributeName,nt=rt.attributeNamespace,tt===null?et.removeAttribute(_e):(rt=rt.type,tt=rt===3||rt===4&&tt===!0?"":""+tt,nt?et.setAttributeNS(nt,_e,tt):et.setAttribute(_e,tt))))}var ua=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,va=Symbol.for("react.element"),wa=Symbol.for("react.portal"),ya=Symbol.for("react.fragment"),za=Symbol.for("react.strict_mode"),Aa=Symbol.for("react.profiler"),Ba=Symbol.for("react.provider"),Ca=Symbol.for("react.context"),Da=Symbol.for("react.forward_ref"),Ea=Symbol.for("react.suspense"),Fa=Symbol.for("react.suspense_list"),Ga=Symbol.for("react.memo"),Ha=Symbol.for("react.lazy");Symbol.for("react.scope");Symbol.for("react.debug_trace_mode");var Ia=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden");Symbol.for("react.cache");Symbol.for("react.tracing_marker");var Ja=Symbol.iterator;function Ka(et){return et===null||typeof et!="object"?null:(et=Ja&&et[Ja]||et["@@iterator"],typeof et=="function"?et:null)}var A$2=Object.assign,La;function Ma(et){if(La===void 0)try{throw Error()}catch(tt){var _e=tt.stack.trim().match(/\n( *(at )?)/);La=_e&&_e[1]||""}return` +`+La+et}var Na=!1;function Oa(et,_e){if(!et||Na)return"";Na=!0;var tt=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(_e)if(_e=function(){throw Error()},Object.defineProperty(_e.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(_e,[])}catch(lt){var nt=lt}Reflect.construct(et,[],_e)}else{try{_e.call()}catch(lt){nt=lt}et.call(_e.prototype)}else{try{throw Error()}catch(lt){nt=lt}et()}}catch(lt){if(lt&&nt&&typeof lt.stack=="string"){for(var rt=lt.stack.split(` +`),st=nt.stack.split(` +`),it=rt.length-1,at=st.length-1;1<=it&&0<=at&&rt[it]!==st[at];)at--;for(;1<=it&&0<=at;it--,at--)if(rt[it]!==st[at]){if(it!==1||at!==1)do if(it--,at--,0>at||rt[it]!==st[at]){var ot=` +`+rt[it].replace(" at new "," at ");return et.displayName&&ot.includes("")&&(ot=ot.replace("",et.displayName)),ot}while(1<=it&&0<=at);break}}}finally{Na=!1,Error.prepareStackTrace=tt}return(et=et?et.displayName||et.name:"")?Ma(et):""}function Pa(et){switch(et.tag){case 5:return Ma(et.type);case 16:return Ma("Lazy");case 13:return Ma("Suspense");case 19:return Ma("SuspenseList");case 0:case 2:case 15:return et=Oa(et.type,!1),et;case 11:return et=Oa(et.type.render,!1),et;case 1:return et=Oa(et.type,!0),et;default:return""}}function Qa(et){if(et==null)return null;if(typeof et=="function")return et.displayName||et.name||null;if(typeof et=="string")return et;switch(et){case ya:return"Fragment";case wa:return"Portal";case Aa:return"Profiler";case za:return"StrictMode";case Ea:return"Suspense";case Fa:return"SuspenseList"}if(typeof et=="object")switch(et.$$typeof){case Ca:return(et.displayName||"Context")+".Consumer";case Ba:return(et._context.displayName||"Context")+".Provider";case Da:var _e=et.render;return et=et.displayName,et||(et=_e.displayName||_e.name||"",et=et!==""?"ForwardRef("+et+")":"ForwardRef"),et;case Ga:return _e=et.displayName||null,_e!==null?_e:Qa(et.type)||"Memo";case Ha:_e=et._payload,et=et._init;try{return Qa(et(_e))}catch{}}return null}function Ra(et){var _e=et.type;switch(et.tag){case 24:return"Cache";case 9:return(_e.displayName||"Context")+".Consumer";case 10:return(_e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return et=_e.render,et=et.displayName||et.name||"",_e.displayName||(et!==""?"ForwardRef("+et+")":"ForwardRef");case 7:return"Fragment";case 5:return _e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Qa(_e);case 8:return _e===za?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof _e=="function")return _e.displayName||_e.name||null;if(typeof _e=="string")return _e}return null}function Sa(et){switch(typeof et){case"boolean":case"number":case"string":case"undefined":return et;case"object":return et;default:return""}}function Ta(et){var _e=et.type;return(et=et.nodeName)&&et.toLowerCase()==="input"&&(_e==="checkbox"||_e==="radio")}function Ua(et){var _e=Ta(et)?"checked":"value",tt=Object.getOwnPropertyDescriptor(et.constructor.prototype,_e),nt=""+et[_e];if(!et.hasOwnProperty(_e)&&typeof tt<"u"&&typeof tt.get=="function"&&typeof tt.set=="function"){var rt=tt.get,st=tt.set;return Object.defineProperty(et,_e,{configurable:!0,get:function(){return rt.call(this)},set:function(it){nt=""+it,st.call(this,it)}}),Object.defineProperty(et,_e,{enumerable:tt.enumerable}),{getValue:function(){return nt},setValue:function(it){nt=""+it},stopTracking:function(){et._valueTracker=null,delete et[_e]}}}}function Va(et){et._valueTracker||(et._valueTracker=Ua(et))}function Wa(et){if(!et)return!1;var _e=et._valueTracker;if(!_e)return!0;var tt=_e.getValue(),nt="";return et&&(nt=Ta(et)?et.checked?"true":"false":et.value),et=nt,et!==tt?(_e.setValue(et),!0):!1}function Xa(et){if(et=et||(typeof document<"u"?document:void 0),typeof et>"u")return null;try{return et.activeElement||et.body}catch{return et.body}}function Ya(et,_e){var tt=_e.checked;return A$2({},_e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:tt??et._wrapperState.initialChecked})}function Za(et,_e){var tt=_e.defaultValue==null?"":_e.defaultValue,nt=_e.checked!=null?_e.checked:_e.defaultChecked;tt=Sa(_e.value!=null?_e.value:tt),et._wrapperState={initialChecked:nt,initialValue:tt,controlled:_e.type==="checkbox"||_e.type==="radio"?_e.checked!=null:_e.value!=null}}function ab(et,_e){_e=_e.checked,_e!=null&&ta(et,"checked",_e,!1)}function bb(et,_e){ab(et,_e);var tt=Sa(_e.value),nt=_e.type;if(tt!=null)nt==="number"?(tt===0&&et.value===""||et.value!=tt)&&(et.value=""+tt):et.value!==""+tt&&(et.value=""+tt);else if(nt==="submit"||nt==="reset"){et.removeAttribute("value");return}_e.hasOwnProperty("value")?cb(et,_e.type,tt):_e.hasOwnProperty("defaultValue")&&cb(et,_e.type,Sa(_e.defaultValue)),_e.checked==null&&_e.defaultChecked!=null&&(et.defaultChecked=!!_e.defaultChecked)}function db(et,_e,tt){if(_e.hasOwnProperty("value")||_e.hasOwnProperty("defaultValue")){var nt=_e.type;if(!(nt!=="submit"&&nt!=="reset"||_e.value!==void 0&&_e.value!==null))return;_e=""+et._wrapperState.initialValue,tt||_e===et.value||(et.value=_e),et.defaultValue=_e}tt=et.name,tt!==""&&(et.name=""),et.defaultChecked=!!et._wrapperState.initialChecked,tt!==""&&(et.name=tt)}function cb(et,_e,tt){(_e!=="number"||Xa(et.ownerDocument)!==et)&&(tt==null?et.defaultValue=""+et._wrapperState.initialValue:et.defaultValue!==""+tt&&(et.defaultValue=""+tt))}var eb=Array.isArray;function fb(et,_e,tt,nt){if(et=et.options,_e){_e={};for(var rt=0;rt"+_e.valueOf().toString()+"",_e=mb.firstChild;et.firstChild;)et.removeChild(et.firstChild);for(;_e.firstChild;)et.appendChild(_e.firstChild)}});function ob(et,_e){if(_e){var tt=et.firstChild;if(tt&&tt===et.lastChild&&tt.nodeType===3){tt.nodeValue=_e;return}}et.textContent=_e}var pb={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},qb=["Webkit","ms","Moz","O"];Object.keys(pb).forEach(function(et){qb.forEach(function(_e){_e=_e+et.charAt(0).toUpperCase()+et.substring(1),pb[_e]=pb[et]})});function rb(et,_e,tt){return _e==null||typeof _e=="boolean"||_e===""?"":tt||typeof _e!="number"||_e===0||pb.hasOwnProperty(et)&&pb[et]?(""+_e).trim():_e+"px"}function sb(et,_e){et=et.style;for(var tt in _e)if(_e.hasOwnProperty(tt)){var nt=tt.indexOf("--")===0,rt=rb(tt,_e[tt],nt);tt==="float"&&(tt="cssFloat"),nt?et.setProperty(tt,rt):et[tt]=rt}}var tb=A$2({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ub(et,_e){if(_e){if(tb[et]&&(_e.children!=null||_e.dangerouslySetInnerHTML!=null))throw Error(p$5(137,et));if(_e.dangerouslySetInnerHTML!=null){if(_e.children!=null)throw Error(p$5(60));if(typeof _e.dangerouslySetInnerHTML!="object"||!("__html"in _e.dangerouslySetInnerHTML))throw Error(p$5(61))}if(_e.style!=null&&typeof _e.style!="object")throw Error(p$5(62))}}function vb(et,_e){if(et.indexOf("-")===-1)return typeof _e.is=="string";switch(et){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var wb=null;function xb(et){return et=et.target||et.srcElement||window,et.correspondingUseElement&&(et=et.correspondingUseElement),et.nodeType===3?et.parentNode:et}var yb=null,zb=null,Ab=null;function Bb(et){if(et=Cb(et)){if(typeof yb!="function")throw Error(p$5(280));var _e=et.stateNode;_e&&(_e=Db(_e),yb(et.stateNode,et.type,_e))}}function Eb(et){zb?Ab?Ab.push(et):Ab=[et]:zb=et}function Fb(){if(zb){var et=zb,_e=Ab;if(Ab=zb=null,Bb(et),_e)for(et=0;et<_e.length;et++)Bb(_e[et])}}function Gb(et,_e){return et(_e)}function Hb(){}var Ib=!1;function Jb(et,_e,tt){if(Ib)return et(_e,tt);Ib=!0;try{return Gb(et,_e,tt)}finally{Ib=!1,(zb!==null||Ab!==null)&&(Hb(),Fb())}}function Kb(et,_e){var tt=et.stateNode;if(tt===null)return null;var nt=Db(tt);if(nt===null)return null;tt=nt[_e];e:switch(_e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(nt=!nt.disabled)||(et=et.type,nt=!(et==="button"||et==="input"||et==="select"||et==="textarea")),et=!nt;break e;default:et=!1}if(et)return null;if(tt&&typeof tt!="function")throw Error(p$5(231,_e,typeof tt));return tt}var Lb=!1;if(ia)try{var Mb={};Object.defineProperty(Mb,"passive",{get:function(){Lb=!0}}),window.addEventListener("test",Mb,Mb),window.removeEventListener("test",Mb,Mb)}catch{Lb=!1}function Nb(et,_e,tt,nt,rt,st,it,at,ot){var lt=Array.prototype.slice.call(arguments,3);try{_e.apply(tt,lt)}catch(ct){this.onError(ct)}}var Ob=!1,Pb=null,Qb=!1,Rb=null,Sb={onError:function(et){Ob=!0,Pb=et}};function Tb(et,_e,tt,nt,rt,st,it,at,ot){Ob=!1,Pb=null,Nb.apply(Sb,arguments)}function Ub(et,_e,tt,nt,rt,st,it,at,ot){if(Tb.apply(this,arguments),Ob){if(Ob){var lt=Pb;Ob=!1,Pb=null}else throw Error(p$5(198));Qb||(Qb=!0,Rb=lt)}}function Vb(et){var _e=et,tt=et;if(et.alternate)for(;_e.return;)_e=_e.return;else{et=_e;do _e=et,_e.flags&4098&&(tt=_e.return),et=_e.return;while(et)}return _e.tag===3?tt:null}function Wb(et){if(et.tag===13){var _e=et.memoizedState;if(_e===null&&(et=et.alternate,et!==null&&(_e=et.memoizedState)),_e!==null)return _e.dehydrated}return null}function Xb(et){if(Vb(et)!==et)throw Error(p$5(188))}function Yb(et){var _e=et.alternate;if(!_e){if(_e=Vb(et),_e===null)throw Error(p$5(188));return _e!==et?null:et}for(var tt=et,nt=_e;;){var rt=tt.return;if(rt===null)break;var st=rt.alternate;if(st===null){if(nt=rt.return,nt!==null){tt=nt;continue}break}if(rt.child===st.child){for(st=rt.child;st;){if(st===tt)return Xb(rt),et;if(st===nt)return Xb(rt),_e;st=st.sibling}throw Error(p$5(188))}if(tt.return!==nt.return)tt=rt,nt=st;else{for(var it=!1,at=rt.child;at;){if(at===tt){it=!0,tt=rt,nt=st;break}if(at===nt){it=!0,nt=rt,tt=st;break}at=at.sibling}if(!it){for(at=st.child;at;){if(at===tt){it=!0,tt=st,nt=rt;break}if(at===nt){it=!0,nt=st,tt=rt;break}at=at.sibling}if(!it)throw Error(p$5(189))}}if(tt.alternate!==nt)throw Error(p$5(190))}if(tt.tag!==3)throw Error(p$5(188));return tt.stateNode.current===tt?et:_e}function Zb(et){return et=Yb(et),et!==null?$b(et):null}function $b(et){if(et.tag===5||et.tag===6)return et;for(et=et.child;et!==null;){var _e=$b(et);if(_e!==null)return _e;et=et.sibling}return null}var ac=ca.unstable_scheduleCallback,bc=ca.unstable_cancelCallback,cc=ca.unstable_shouldYield,dc=ca.unstable_requestPaint,B$1=ca.unstable_now,ec=ca.unstable_getCurrentPriorityLevel,fc=ca.unstable_ImmediatePriority,gc=ca.unstable_UserBlockingPriority,hc=ca.unstable_NormalPriority,ic=ca.unstable_LowPriority,jc=ca.unstable_IdlePriority,kc=null,lc=null;function mc(et){if(lc&&typeof lc.onCommitFiberRoot=="function")try{lc.onCommitFiberRoot(kc,et,void 0,(et.current.flags&128)===128)}catch{}}var oc=Math.clz32?Math.clz32:nc,pc=Math.log,qc=Math.LN2;function nc(et){return et>>>=0,et===0?32:31-(pc(et)/qc|0)|0}var rc=64,sc=4194304;function tc(et){switch(et&-et){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return et&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return et&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return et}}function uc(et,_e){var tt=et.pendingLanes;if(tt===0)return 0;var nt=0,rt=et.suspendedLanes,st=et.pingedLanes,it=tt&268435455;if(it!==0){var at=it&~rt;at!==0?nt=tc(at):(st&=it,st!==0&&(nt=tc(st)))}else it=tt&~rt,it!==0?nt=tc(it):st!==0&&(nt=tc(st));if(nt===0)return 0;if(_e!==0&&_e!==nt&&!(_e&rt)&&(rt=nt&-nt,st=_e&-_e,rt>=st||rt===16&&(st&4194240)!==0))return _e;if(nt&4&&(nt|=tt&16),_e=et.entangledLanes,_e!==0)for(et=et.entanglements,_e&=nt;0<_e;)tt=31-oc(_e),rt=1<tt;tt++)_e.push(et);return _e}function Ac(et,_e,tt){et.pendingLanes|=_e,_e!==536870912&&(et.suspendedLanes=0,et.pingedLanes=0),et=et.eventTimes,_e=31-oc(_e),et[_e]=tt}function Bc(et,_e){var tt=et.pendingLanes&~_e;et.pendingLanes=_e,et.suspendedLanes=0,et.pingedLanes=0,et.expiredLanes&=_e,et.mutableReadLanes&=_e,et.entangledLanes&=_e,_e=et.entanglements;var nt=et.eventTimes;for(et=et.expirationTimes;0=be),ee=String.fromCharCode(32),fe=!1;function ge(et,_e){switch(et){case"keyup":return $d.indexOf(_e.keyCode)!==-1;case"keydown":return _e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function he(et){return et=et.detail,typeof et=="object"&&"data"in et?et.data:null}var ie=!1;function je(et,_e){switch(et){case"compositionend":return he(_e);case"keypress":return _e.which!==32?null:(fe=!0,ee);case"textInput":return et=_e.data,et===ee&&fe?null:et;default:return null}}function ke(et,_e){if(ie)return et==="compositionend"||!ae&&ge(et,_e)?(et=nd(),md=ld=kd=null,ie=!1,et):null;switch(et){case"paste":return null;case"keypress":if(!(_e.ctrlKey||_e.altKey||_e.metaKey)||_e.ctrlKey&&_e.altKey){if(_e.char&&1<_e.char.length)return _e.char;if(_e.which)return String.fromCharCode(_e.which)}return null;case"compositionend":return de&&_e.locale!=="ko"?null:_e.data;default:return null}}var le={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function me(et){var _e=et&&et.nodeName&&et.nodeName.toLowerCase();return _e==="input"?!!le[et.type]:_e==="textarea"}function ne(et,_e,tt,nt){Eb(nt),_e=oe(_e,"onChange"),0<_e.length&&(tt=new td("onChange","change",null,tt,nt),et.push({event:tt,listeners:_e}))}var pe=null,qe=null;function re$1(et){se(et,0)}function te(et){var _e=ue(et);if(Wa(_e))return et}function ve(et,_e){if(et==="change")return _e}var we=!1;if(ia){var xe;if(ia){var ye="oninput"in document;if(!ye){var ze=document.createElement("div");ze.setAttribute("oninput","return;"),ye=typeof ze.oninput=="function"}xe=ye}else xe=!1;we=xe&&(!document.documentMode||9=_e)return{node:tt,offset:_e-et};et=nt}e:{for(;tt;){if(tt.nextSibling){tt=tt.nextSibling;break e}tt=tt.parentNode}tt=void 0}tt=Je(tt)}}function Le(et,_e){return et&&_e?et===_e?!0:et&&et.nodeType===3?!1:_e&&_e.nodeType===3?Le(et,_e.parentNode):"contains"in et?et.contains(_e):et.compareDocumentPosition?!!(et.compareDocumentPosition(_e)&16):!1:!1}function Me(){for(var et=window,_e=Xa();_e instanceof et.HTMLIFrameElement;){try{var tt=typeof _e.contentWindow.location.href=="string"}catch{tt=!1}if(tt)et=_e.contentWindow;else break;_e=Xa(et.document)}return _e}function Ne(et){var _e=et&&et.nodeName&&et.nodeName.toLowerCase();return _e&&(_e==="input"&&(et.type==="text"||et.type==="search"||et.type==="tel"||et.type==="url"||et.type==="password")||_e==="textarea"||et.contentEditable==="true")}function Oe(et){var _e=Me(),tt=et.focusedElem,nt=et.selectionRange;if(_e!==tt&&tt&&tt.ownerDocument&&Le(tt.ownerDocument.documentElement,tt)){if(nt!==null&&Ne(tt)){if(_e=nt.start,et=nt.end,et===void 0&&(et=_e),"selectionStart"in tt)tt.selectionStart=_e,tt.selectionEnd=Math.min(et,tt.value.length);else if(et=(_e=tt.ownerDocument||document)&&_e.defaultView||window,et.getSelection){et=et.getSelection();var rt=tt.textContent.length,st=Math.min(nt.start,rt);nt=nt.end===void 0?st:Math.min(nt.end,rt),!et.extend&&st>nt&&(rt=nt,nt=st,st=rt),rt=Ke(tt,st);var it=Ke(tt,nt);rt&&it&&(et.rangeCount!==1||et.anchorNode!==rt.node||et.anchorOffset!==rt.offset||et.focusNode!==it.node||et.focusOffset!==it.offset)&&(_e=_e.createRange(),_e.setStart(rt.node,rt.offset),et.removeAllRanges(),st>nt?(et.addRange(_e),et.extend(it.node,it.offset)):(_e.setEnd(it.node,it.offset),et.addRange(_e)))}}for(_e=[],et=tt;et=et.parentNode;)et.nodeType===1&&_e.push({element:et,left:et.scrollLeft,top:et.scrollTop});for(typeof tt.focus=="function"&&tt.focus(),tt=0;tt<_e.length;tt++)et=_e[tt],et.element.scrollLeft=et.left,et.element.scrollTop=et.top}}var Pe=ia&&"documentMode"in document&&11>=document.documentMode,Qe=null,Re=null,Se=null,Te=!1;function Ue(et,_e,tt){var nt=tt.window===tt?tt.document:tt.nodeType===9?tt:tt.ownerDocument;Te||Qe==null||Qe!==Xa(nt)||(nt=Qe,"selectionStart"in nt&&Ne(nt)?nt={start:nt.selectionStart,end:nt.selectionEnd}:(nt=(nt.ownerDocument&&nt.ownerDocument.defaultView||window).getSelection(),nt={anchorNode:nt.anchorNode,anchorOffset:nt.anchorOffset,focusNode:nt.focusNode,focusOffset:nt.focusOffset}),Se&&Ie(Se,nt)||(Se=nt,nt=oe(Re,"onSelect"),0Tf||(et.current=Sf[Tf],Sf[Tf]=null,Tf--)}function G$1(et,_e){Tf++,Sf[Tf]=et.current,et.current=_e}var Vf={},H$1=Uf(Vf),Wf=Uf(!1),Xf=Vf;function Yf(et,_e){var tt=et.type.contextTypes;if(!tt)return Vf;var nt=et.stateNode;if(nt&&nt.__reactInternalMemoizedUnmaskedChildContext===_e)return nt.__reactInternalMemoizedMaskedChildContext;var rt={},st;for(st in tt)rt[st]=_e[st];return nt&&(et=et.stateNode,et.__reactInternalMemoizedUnmaskedChildContext=_e,et.__reactInternalMemoizedMaskedChildContext=rt),rt}function Zf(et){return et=et.childContextTypes,et!=null}function $f(){E$1(Wf),E$1(H$1)}function ag(et,_e,tt){if(H$1.current!==Vf)throw Error(p$5(168));G$1(H$1,_e),G$1(Wf,tt)}function bg(et,_e,tt){var nt=et.stateNode;if(_e=_e.childContextTypes,typeof nt.getChildContext!="function")return tt;nt=nt.getChildContext();for(var rt in nt)if(!(rt in _e))throw Error(p$5(108,Ra(et)||"Unknown",rt));return A$2({},tt,nt)}function cg(et){return et=(et=et.stateNode)&&et.__reactInternalMemoizedMergedChildContext||Vf,Xf=H$1.current,G$1(H$1,et),G$1(Wf,Wf.current),!0}function dg(et,_e,tt){var nt=et.stateNode;if(!nt)throw Error(p$5(169));tt?(et=bg(et,_e,Xf),nt.__reactInternalMemoizedMergedChildContext=et,E$1(Wf),E$1(H$1),G$1(H$1,et)):E$1(Wf),G$1(Wf,tt)}var eg=null,fg=!1,gg=!1;function hg(et){eg===null?eg=[et]:eg.push(et)}function ig(et){fg=!0,hg(et)}function jg(){if(!gg&&eg!==null){gg=!0;var et=0,_e=C$1;try{var tt=eg;for(C$1=1;et>=it,rt-=it,rg=1<<32-oc(_e)+rt|tt<Ct?(Et=wt,wt=null):Et=wt.sibling;var Mt=dt(gt,wt,bt[Ct],xt);if(Mt===null){wt===null&&(wt=Et);break}et&&wt&&Mt.alternate===null&&_e(gt,wt),mt=st(Mt,mt,Ct),$t===null?yt=Mt:$t.sibling=Mt,$t=Mt,wt=Et}if(Ct===bt.length)return tt(gt,wt),I$1&&tg(gt,Ct),yt;if(wt===null){for(;CtCt?(Et=wt,wt=null):Et=wt.sibling;var St=dt(gt,wt,Mt.value,xt);if(St===null){wt===null&&(wt=Et);break}et&&wt&&St.alternate===null&&_e(gt,wt),mt=st(St,mt,Ct),$t===null?yt=St:$t.sibling=St,$t=St,wt=Et}if(Mt.done)return tt(gt,wt),I$1&&tg(gt,Ct),yt;if(wt===null){for(;!Mt.done;Ct++,Mt=bt.next())Mt=ut(gt,Mt.value,xt),Mt!==null&&(mt=st(Mt,mt,Ct),$t===null?yt=Mt:$t.sibling=Mt,$t=Mt);return I$1&&tg(gt,Ct),yt}for(wt=nt(gt,wt);!Mt.done;Ct++,Mt=bt.next())Mt=ft(wt,gt,Ct,Mt.value,xt),Mt!==null&&(et&&Mt.alternate!==null&&wt.delete(Mt.key===null?Ct:Mt.key),mt=st(Mt,mt,Ct),$t===null?yt=Mt:$t.sibling=Mt,$t=Mt);return et&&wt.forEach(function(Rt){return _e(gt,Rt)}),I$1&&tg(gt,Ct),yt}function vt(gt,mt,bt,xt){if(typeof bt=="object"&&bt!==null&&bt.type===ya&&bt.key===null&&(bt=bt.props.children),typeof bt=="object"&&bt!==null){switch(bt.$$typeof){case va:e:{for(var yt=bt.key,$t=mt;$t!==null;){if($t.key===yt){if(yt=bt.type,yt===ya){if($t.tag===7){tt(gt,$t.sibling),mt=rt($t,bt.props.children),mt.return=gt,gt=mt;break e}}else if($t.elementType===yt||typeof yt=="object"&&yt!==null&&yt.$$typeof===Ha&&uh(yt)===$t.type){tt(gt,$t.sibling),mt=rt($t,bt.props),mt.ref=sh(gt,$t,bt),mt.return=gt,gt=mt;break e}tt(gt,$t);break}else _e(gt,$t);$t=$t.sibling}bt.type===ya?(mt=Ah(bt.props.children,gt.mode,xt,bt.key),mt.return=gt,gt=mt):(xt=yh(bt.type,bt.key,bt.props,null,gt.mode,xt),xt.ref=sh(gt,mt,bt),xt.return=gt,gt=xt)}return it(gt);case wa:e:{for($t=bt.key;mt!==null;){if(mt.key===$t)if(mt.tag===4&&mt.stateNode.containerInfo===bt.containerInfo&&mt.stateNode.implementation===bt.implementation){tt(gt,mt.sibling),mt=rt(mt,bt.children||[]),mt.return=gt,gt=mt;break e}else{tt(gt,mt);break}else _e(gt,mt);mt=mt.sibling}mt=zh(bt,gt.mode,xt),mt.return=gt,gt=mt}return it(gt);case Ha:return $t=bt._init,vt(gt,mt,$t(bt._payload),xt)}if(eb(bt))return pt(gt,mt,bt,xt);if(Ka(bt))return ht(gt,mt,bt,xt);th(gt,bt)}return typeof bt=="string"&&bt!==""||typeof bt=="number"?(bt=""+bt,mt!==null&&mt.tag===6?(tt(gt,mt.sibling),mt=rt(mt,bt),mt.return=gt,gt=mt):(tt(gt,mt),mt=xh(bt,gt.mode,xt),mt.return=gt,gt=mt),it(gt)):tt(gt,mt)}return vt}var Bh=vh(!0),Ch=vh(!1),Dh={},Eh=Uf(Dh),Fh=Uf(Dh),Gh=Uf(Dh);function Hh(et){if(et===Dh)throw Error(p$5(174));return et}function Ih(et,_e){switch(G$1(Gh,_e),G$1(Fh,et),G$1(Eh,Dh),et=_e.nodeType,et){case 9:case 11:_e=(_e=_e.documentElement)?_e.namespaceURI:lb(null,"");break;default:et=et===8?_e.parentNode:_e,_e=et.namespaceURI||null,et=et.tagName,_e=lb(_e,et)}E$1(Eh),G$1(Eh,_e)}function Jh(){E$1(Eh),E$1(Fh),E$1(Gh)}function Kh(et){Hh(Gh.current);var _e=Hh(Eh.current),tt=lb(_e,et.type);_e!==tt&&(G$1(Fh,et),G$1(Eh,tt))}function Lh(et){Fh.current===et&&(E$1(Eh),E$1(Fh))}var M$1=Uf(0);function Mh(et){for(var _e=et;_e!==null;){if(_e.tag===13){var tt=_e.memoizedState;if(tt!==null&&(tt=tt.dehydrated,tt===null||tt.data==="$?"||tt.data==="$!"))return _e}else if(_e.tag===19&&_e.memoizedProps.revealOrder!==void 0){if(_e.flags&128)return _e}else if(_e.child!==null){_e.child.return=_e,_e=_e.child;continue}if(_e===et)break;for(;_e.sibling===null;){if(_e.return===null||_e.return===et)return null;_e=_e.return}_e.sibling.return=_e.return,_e=_e.sibling}return null}var Nh=[];function Oh(){for(var et=0;ettt?tt:4,et(!0);var nt=Qh.transition;Qh.transition={};try{et(!1),_e()}finally{C$1=tt,Qh.transition=nt}}function Fi(){return di().memoizedState}function Gi(et,_e,tt){var nt=lh(et);if(tt={lane:nt,action:tt,hasEagerState:!1,eagerState:null,next:null},Hi(et))Ii(_e,tt);else if(tt=Yg(et,_e,tt,nt),tt!==null){var rt=L$1();mh(tt,et,nt,rt),Ji(tt,_e,nt)}}function ri(et,_e,tt){var nt=lh(et),rt={lane:nt,action:tt,hasEagerState:!1,eagerState:null,next:null};if(Hi(et))Ii(_e,rt);else{var st=et.alternate;if(et.lanes===0&&(st===null||st.lanes===0)&&(st=_e.lastRenderedReducer,st!==null))try{var it=_e.lastRenderedState,at=st(it,tt);if(rt.hasEagerState=!0,rt.eagerState=at,He(at,it)){var ot=_e.interleaved;ot===null?(rt.next=rt,Xg(_e)):(rt.next=ot.next,ot.next=rt),_e.interleaved=rt;return}}catch{}finally{}tt=Yg(et,_e,rt,nt),tt!==null&&(rt=L$1(),mh(tt,et,nt,rt),Ji(tt,_e,nt))}}function Hi(et){var _e=et.alternate;return et===N$1||_e!==null&&_e===N$1}function Ii(et,_e){Th=Sh=!0;var tt=et.pending;tt===null?_e.next=_e:(_e.next=tt.next,tt.next=_e),et.pending=_e}function Ji(et,_e,tt){if(tt&4194240){var nt=_e.lanes;nt&=et.pendingLanes,tt|=nt,_e.lanes=tt,Cc(et,tt)}}var ai={readContext:Vg,useCallback:Q$1,useContext:Q$1,useEffect:Q$1,useImperativeHandle:Q$1,useInsertionEffect:Q$1,useLayoutEffect:Q$1,useMemo:Q$1,useReducer:Q$1,useRef:Q$1,useState:Q$1,useDebugValue:Q$1,useDeferredValue:Q$1,useTransition:Q$1,useMutableSource:Q$1,useSyncExternalStore:Q$1,useId:Q$1,unstable_isNewReconciler:!1},Yh={readContext:Vg,useCallback:function(et,_e){return ci().memoizedState=[et,_e===void 0?null:_e],et},useContext:Vg,useEffect:vi,useImperativeHandle:function(et,_e,tt){return tt=tt!=null?tt.concat([et]):null,ti(4194308,4,yi.bind(null,_e,et),tt)},useLayoutEffect:function(et,_e){return ti(4194308,4,et,_e)},useInsertionEffect:function(et,_e){return ti(4,2,et,_e)},useMemo:function(et,_e){var tt=ci();return _e=_e===void 0?null:_e,et=et(),tt.memoizedState=[et,_e],et},useReducer:function(et,_e,tt){var nt=ci();return _e=tt!==void 0?tt(_e):_e,nt.memoizedState=nt.baseState=_e,et={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:et,lastRenderedState:_e},nt.queue=et,et=et.dispatch=Gi.bind(null,N$1,et),[nt.memoizedState,et]},useRef:function(et){var _e=ci();return et={current:et},_e.memoizedState=et},useState:qi,useDebugValue:Ai,useDeferredValue:function(et){return ci().memoizedState=et},useTransition:function(){var et=qi(!1),_e=et[0];return et=Ei.bind(null,et[1]),ci().memoizedState=et,[_e,et]},useMutableSource:function(){},useSyncExternalStore:function(et,_e,tt){var nt=N$1,rt=ci();if(I$1){if(tt===void 0)throw Error(p$5(407));tt=tt()}else{if(tt=_e(),R$1===null)throw Error(p$5(349));Rh&30||ni(nt,_e,tt)}rt.memoizedState=tt;var st={value:tt,getSnapshot:_e};return rt.queue=st,vi(ki.bind(null,nt,st,et),[et]),nt.flags|=2048,li(9,mi.bind(null,nt,st,tt,_e),void 0,null),tt},useId:function(){var et=ci(),_e=R$1.identifierPrefix;if(I$1){var tt=sg,nt=rg;tt=(nt&~(1<<32-oc(nt)-1)).toString(32)+tt,_e=":"+_e+"R"+tt,tt=Uh++,0<\/script>",et=et.removeChild(et.firstChild)):typeof nt.is=="string"?et=it.createElement(tt,{is:nt.is}):(et=it.createElement(tt),tt==="select"&&(it=et,nt.multiple?it.multiple=!0:nt.size&&(it.size=nt.size))):et=it.createElementNS(et,tt),et[Of]=_e,et[Pf]=nt,Aj(et,_e,!1,!1),_e.stateNode=et;e:{switch(it=vb(tt,nt),tt){case"dialog":D$1("cancel",et),D$1("close",et),rt=nt;break;case"iframe":case"object":case"embed":D$1("load",et),rt=nt;break;case"video":case"audio":for(rt=0;rtHj&&(_e.flags|=128,nt=!0,Ej(st,!1),_e.lanes=4194304)}else{if(!nt)if(et=Mh(it),et!==null){if(_e.flags|=128,nt=!0,tt=et.updateQueue,tt!==null&&(_e.updateQueue=tt,_e.flags|=4),Ej(st,!0),st.tail===null&&st.tailMode==="hidden"&&!it.alternate&&!I$1)return S$1(_e),null}else 2*B$1()-st.renderingStartTime>Hj&&tt!==1073741824&&(_e.flags|=128,nt=!0,Ej(st,!1),_e.lanes=4194304);st.isBackwards?(it.sibling=_e.child,_e.child=it):(tt=st.last,tt!==null?tt.sibling=it:_e.child=it,st.last=it)}return st.tail!==null?(_e=st.tail,st.rendering=_e,st.tail=_e.sibling,st.renderingStartTime=B$1(),_e.sibling=null,tt=M$1.current,G$1(M$1,nt?tt&1|2:tt&1),_e):(S$1(_e),null);case 22:case 23:return Ij(),nt=_e.memoizedState!==null,et!==null&&et.memoizedState!==null!==nt&&(_e.flags|=8192),nt&&_e.mode&1?gj&1073741824&&(S$1(_e),_e.subtreeFlags&6&&(_e.flags|=8192)):S$1(_e),null;case 24:return null;case 25:return null}throw Error(p$5(156,_e.tag))}function Jj(et,_e){switch(wg(_e),_e.tag){case 1:return Zf(_e.type)&&$f(),et=_e.flags,et&65536?(_e.flags=et&-65537|128,_e):null;case 3:return Jh(),E$1(Wf),E$1(H$1),Oh(),et=_e.flags,et&65536&&!(et&128)?(_e.flags=et&-65537|128,_e):null;case 5:return Lh(_e),null;case 13:if(E$1(M$1),et=_e.memoizedState,et!==null&&et.dehydrated!==null){if(_e.alternate===null)throw Error(p$5(340));Ig()}return et=_e.flags,et&65536?(_e.flags=et&-65537|128,_e):null;case 19:return E$1(M$1),null;case 4:return Jh(),null;case 10:return Rg(_e.type._context),null;case 22:case 23:return Ij(),null;case 24:return null;default:return null}}var Kj=!1,U$1=!1,Lj=typeof WeakSet=="function"?WeakSet:Set,V$1=null;function Mj(et,_e){var tt=et.ref;if(tt!==null)if(typeof tt=="function")try{tt(null)}catch(nt){W$1(et,_e,nt)}else tt.current=null}function Nj(et,_e,tt){try{tt()}catch(nt){W$1(et,_e,nt)}}var Oj=!1;function Pj(et,_e){if(Cf=dd,et=Me(),Ne(et)){if("selectionStart"in et)var tt={start:et.selectionStart,end:et.selectionEnd};else e:{tt=(tt=et.ownerDocument)&&tt.defaultView||window;var nt=tt.getSelection&&tt.getSelection();if(nt&&nt.rangeCount!==0){tt=nt.anchorNode;var rt=nt.anchorOffset,st=nt.focusNode;nt=nt.focusOffset;try{tt.nodeType,st.nodeType}catch{tt=null;break e}var it=0,at=-1,ot=-1,lt=0,ct=0,ut=et,dt=null;t:for(;;){for(var ft;ut!==tt||rt!==0&&ut.nodeType!==3||(at=it+rt),ut!==st||nt!==0&&ut.nodeType!==3||(ot=it+nt),ut.nodeType===3&&(it+=ut.nodeValue.length),(ft=ut.firstChild)!==null;)dt=ut,ut=ft;for(;;){if(ut===et)break t;if(dt===tt&&++lt===rt&&(at=it),dt===st&&++ct===nt&&(ot=it),(ft=ut.nextSibling)!==null)break;ut=dt,dt=ut.parentNode}ut=ft}tt=at===-1||ot===-1?null:{start:at,end:ot}}else tt=null}tt=tt||{start:0,end:0}}else tt=null;for(Df={focusedElem:et,selectionRange:tt},dd=!1,V$1=_e;V$1!==null;)if(_e=V$1,et=_e.child,(_e.subtreeFlags&1028)!==0&&et!==null)et.return=_e,V$1=et;else for(;V$1!==null;){_e=V$1;try{var pt=_e.alternate;if(_e.flags&1024)switch(_e.tag){case 0:case 11:case 15:break;case 1:if(pt!==null){var ht=pt.memoizedProps,vt=pt.memoizedState,gt=_e.stateNode,mt=gt.getSnapshotBeforeUpdate(_e.elementType===_e.type?ht:Lg(_e.type,ht),vt);gt.__reactInternalSnapshotBeforeUpdate=mt}break;case 3:var bt=_e.stateNode.containerInfo;bt.nodeType===1?bt.textContent="":bt.nodeType===9&&bt.documentElement&&bt.removeChild(bt.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(p$5(163))}}catch(xt){W$1(_e,_e.return,xt)}if(et=_e.sibling,et!==null){et.return=_e.return,V$1=et;break}V$1=_e.return}return pt=Oj,Oj=!1,pt}function Qj(et,_e,tt){var nt=_e.updateQueue;if(nt=nt!==null?nt.lastEffect:null,nt!==null){var rt=nt=nt.next;do{if((rt.tag&et)===et){var st=rt.destroy;rt.destroy=void 0,st!==void 0&&Nj(_e,tt,st)}rt=rt.next}while(rt!==nt)}}function Rj(et,_e){if(_e=_e.updateQueue,_e=_e!==null?_e.lastEffect:null,_e!==null){var tt=_e=_e.next;do{if((tt.tag&et)===et){var nt=tt.create;tt.destroy=nt()}tt=tt.next}while(tt!==_e)}}function Sj(et){var _e=et.ref;if(_e!==null){var tt=et.stateNode;switch(et.tag){case 5:et=tt;break;default:et=tt}typeof _e=="function"?_e(et):_e.current=et}}function Tj(et){var _e=et.alternate;_e!==null&&(et.alternate=null,Tj(_e)),et.child=null,et.deletions=null,et.sibling=null,et.tag===5&&(_e=et.stateNode,_e!==null&&(delete _e[Of],delete _e[Pf],delete _e[of],delete _e[Qf],delete _e[Rf])),et.stateNode=null,et.return=null,et.dependencies=null,et.memoizedProps=null,et.memoizedState=null,et.pendingProps=null,et.stateNode=null,et.updateQueue=null}function Uj(et){return et.tag===5||et.tag===3||et.tag===4}function Vj(et){e:for(;;){for(;et.sibling===null;){if(et.return===null||Uj(et.return))return null;et=et.return}for(et.sibling.return=et.return,et=et.sibling;et.tag!==5&&et.tag!==6&&et.tag!==18;){if(et.flags&2||et.child===null||et.tag===4)continue e;et.child.return=et,et=et.child}if(!(et.flags&2))return et.stateNode}}function Wj(et,_e,tt){var nt=et.tag;if(nt===5||nt===6)et=et.stateNode,_e?tt.nodeType===8?tt.parentNode.insertBefore(et,_e):tt.insertBefore(et,_e):(tt.nodeType===8?(_e=tt.parentNode,_e.insertBefore(et,tt)):(_e=tt,_e.appendChild(et)),tt=tt._reactRootContainer,tt!=null||_e.onclick!==null||(_e.onclick=Bf));else if(nt!==4&&(et=et.child,et!==null))for(Wj(et,_e,tt),et=et.sibling;et!==null;)Wj(et,_e,tt),et=et.sibling}function Xj(et,_e,tt){var nt=et.tag;if(nt===5||nt===6)et=et.stateNode,_e?tt.insertBefore(et,_e):tt.appendChild(et);else if(nt!==4&&(et=et.child,et!==null))for(Xj(et,_e,tt),et=et.sibling;et!==null;)Xj(et,_e,tt),et=et.sibling}var X$1=null,Yj=!1;function Zj(et,_e,tt){for(tt=tt.child;tt!==null;)ak(et,_e,tt),tt=tt.sibling}function ak(et,_e,tt){if(lc&&typeof lc.onCommitFiberUnmount=="function")try{lc.onCommitFiberUnmount(kc,tt)}catch{}switch(tt.tag){case 5:U$1||Mj(tt,_e);case 6:var nt=X$1,rt=Yj;X$1=null,Zj(et,_e,tt),X$1=nt,Yj=rt,X$1!==null&&(Yj?(et=X$1,tt=tt.stateNode,et.nodeType===8?et.parentNode.removeChild(tt):et.removeChild(tt)):X$1.removeChild(tt.stateNode));break;case 18:X$1!==null&&(Yj?(et=X$1,tt=tt.stateNode,et.nodeType===8?Kf(et.parentNode,tt):et.nodeType===1&&Kf(et,tt),bd(et)):Kf(X$1,tt.stateNode));break;case 4:nt=X$1,rt=Yj,X$1=tt.stateNode.containerInfo,Yj=!0,Zj(et,_e,tt),X$1=nt,Yj=rt;break;case 0:case 11:case 14:case 15:if(!U$1&&(nt=tt.updateQueue,nt!==null&&(nt=nt.lastEffect,nt!==null))){rt=nt=nt.next;do{var st=rt,it=st.destroy;st=st.tag,it!==void 0&&(st&2||st&4)&&Nj(tt,_e,it),rt=rt.next}while(rt!==nt)}Zj(et,_e,tt);break;case 1:if(!U$1&&(Mj(tt,_e),nt=tt.stateNode,typeof nt.componentWillUnmount=="function"))try{nt.props=tt.memoizedProps,nt.state=tt.memoizedState,nt.componentWillUnmount()}catch(at){W$1(tt,_e,at)}Zj(et,_e,tt);break;case 21:Zj(et,_e,tt);break;case 22:tt.mode&1?(U$1=(nt=U$1)||tt.memoizedState!==null,Zj(et,_e,tt),U$1=nt):Zj(et,_e,tt);break;default:Zj(et,_e,tt)}}function bk(et){var _e=et.updateQueue;if(_e!==null){et.updateQueue=null;var tt=et.stateNode;tt===null&&(tt=et.stateNode=new Lj),_e.forEach(function(nt){var rt=ck.bind(null,et,nt);tt.has(nt)||(tt.add(nt),nt.then(rt,rt))})}}function dk(et,_e){var tt=_e.deletions;if(tt!==null)for(var nt=0;ntrt&&(rt=it),nt&=~st}if(nt=rt,nt=B$1()-nt,nt=(120>nt?120:480>nt?480:1080>nt?1080:1920>nt?1920:3e3>nt?3e3:4320>nt?4320:1960*mk(nt/1960))-nt,10et?16:et,xk===null)var nt=!1;else{if(et=xk,xk=null,yk=0,K$1&6)throw Error(p$5(331));var rt=K$1;for(K$1|=4,V$1=et.current;V$1!==null;){var st=V$1,it=st.child;if(V$1.flags&16){var at=st.deletions;if(at!==null){for(var ot=0;otB$1()-gk?Lk(et,0):sk|=tt),Ek(et,_e)}function Zk(et,_e){_e===0&&(et.mode&1?(_e=sc,sc<<=1,!(sc&130023424)&&(sc=4194304)):_e=1);var tt=L$1();et=Zg(et,_e),et!==null&&(Ac(et,_e,tt),Ek(et,tt))}function vj(et){var _e=et.memoizedState,tt=0;_e!==null&&(tt=_e.retryLane),Zk(et,tt)}function ck(et,_e){var tt=0;switch(et.tag){case 13:var nt=et.stateNode,rt=et.memoizedState;rt!==null&&(tt=rt.retryLane);break;case 19:nt=et.stateNode;break;default:throw Error(p$5(314))}nt!==null&&nt.delete(_e),Zk(et,tt)}var Wk;Wk=function(et,_e,tt){if(et!==null)if(et.memoizedProps!==_e.pendingProps||Wf.current)Ug=!0;else{if(!(et.lanes&tt)&&!(_e.flags&128))return Ug=!1,zj(et,_e,tt);Ug=!!(et.flags&131072)}else Ug=!1,I$1&&_e.flags&1048576&&ug(_e,ng,_e.index);switch(_e.lanes=0,_e.tag){case 2:var nt=_e.type;jj(et,_e),et=_e.pendingProps;var rt=Yf(_e,H$1.current);Tg(_e,tt),rt=Xh(null,_e,nt,et,rt,tt);var st=bi();return _e.flags|=1,typeof rt=="object"&&rt!==null&&typeof rt.render=="function"&&rt.$$typeof===void 0?(_e.tag=1,_e.memoizedState=null,_e.updateQueue=null,Zf(nt)?(st=!0,cg(_e)):st=!1,_e.memoizedState=rt.state!==null&&rt.state!==void 0?rt.state:null,ah(_e),rt.updater=nh,_e.stateNode=rt,rt._reactInternals=_e,rh(_e,nt,et,tt),_e=kj(null,_e,nt,!0,st,tt)):(_e.tag=0,I$1&&st&&vg(_e),Yi(null,_e,rt,tt),_e=_e.child),_e;case 16:nt=_e.elementType;e:{switch(jj(et,_e),et=_e.pendingProps,rt=nt._init,nt=rt(nt._payload),_e.type=nt,rt=_e.tag=$k(nt),et=Lg(nt,et),rt){case 0:_e=dj(null,_e,nt,et,tt);break e;case 1:_e=ij(null,_e,nt,et,tt);break e;case 11:_e=Zi(null,_e,nt,et,tt);break e;case 14:_e=aj(null,_e,nt,Lg(nt.type,et),tt);break e}throw Error(p$5(306,nt,""))}return _e;case 0:return nt=_e.type,rt=_e.pendingProps,rt=_e.elementType===nt?rt:Lg(nt,rt),dj(et,_e,nt,rt,tt);case 1:return nt=_e.type,rt=_e.pendingProps,rt=_e.elementType===nt?rt:Lg(nt,rt),ij(et,_e,nt,rt,tt);case 3:e:{if(lj(_e),et===null)throw Error(p$5(387));nt=_e.pendingProps,st=_e.memoizedState,rt=st.element,bh(et,_e),gh(_e,nt,null,tt);var it=_e.memoizedState;if(nt=it.element,st.isDehydrated)if(st={element:nt,isDehydrated:!1,cache:it.cache,pendingSuspenseBoundaries:it.pendingSuspenseBoundaries,transitions:it.transitions},_e.updateQueue.baseState=st,_e.memoizedState=st,_e.flags&256){rt=Ki(Error(p$5(423)),_e),_e=mj(et,_e,nt,tt,rt);break e}else if(nt!==rt){rt=Ki(Error(p$5(424)),_e),_e=mj(et,_e,nt,tt,rt);break e}else for(yg=Lf(_e.stateNode.containerInfo.firstChild),xg=_e,I$1=!0,zg=null,tt=Ch(_e,null,nt,tt),_e.child=tt;tt;)tt.flags=tt.flags&-3|4096,tt=tt.sibling;else{if(Ig(),nt===rt){_e=$i(et,_e,tt);break e}Yi(et,_e,nt,tt)}_e=_e.child}return _e;case 5:return Kh(_e),et===null&&Eg(_e),nt=_e.type,rt=_e.pendingProps,st=et!==null?et.memoizedProps:null,it=rt.children,Ef(nt,rt)?it=null:st!==null&&Ef(nt,st)&&(_e.flags|=32),hj(et,_e),Yi(et,_e,it,tt),_e.child;case 6:return et===null&&Eg(_e),null;case 13:return pj(et,_e,tt);case 4:return Ih(_e,_e.stateNode.containerInfo),nt=_e.pendingProps,et===null?_e.child=Bh(_e,null,nt,tt):Yi(et,_e,nt,tt),_e.child;case 11:return nt=_e.type,rt=_e.pendingProps,rt=_e.elementType===nt?rt:Lg(nt,rt),Zi(et,_e,nt,rt,tt);case 7:return Yi(et,_e,_e.pendingProps,tt),_e.child;case 8:return Yi(et,_e,_e.pendingProps.children,tt),_e.child;case 12:return Yi(et,_e,_e.pendingProps.children,tt),_e.child;case 10:e:{if(nt=_e.type._context,rt=_e.pendingProps,st=_e.memoizedProps,it=rt.value,G$1(Mg,nt._currentValue),nt._currentValue=it,st!==null)if(He(st.value,it)){if(st.children===rt.children&&!Wf.current){_e=$i(et,_e,tt);break e}}else for(st=_e.child,st!==null&&(st.return=_e);st!==null;){var at=st.dependencies;if(at!==null){it=st.child;for(var ot=at.firstContext;ot!==null;){if(ot.context===nt){if(st.tag===1){ot=ch(-1,tt&-tt),ot.tag=2;var lt=st.updateQueue;if(lt!==null){lt=lt.shared;var ct=lt.pending;ct===null?ot.next=ot:(ot.next=ct.next,ct.next=ot),lt.pending=ot}}st.lanes|=tt,ot=st.alternate,ot!==null&&(ot.lanes|=tt),Sg(st.return,tt,_e),at.lanes|=tt;break}ot=ot.next}}else if(st.tag===10)it=st.type===_e.type?null:st.child;else if(st.tag===18){if(it=st.return,it===null)throw Error(p$5(341));it.lanes|=tt,at=it.alternate,at!==null&&(at.lanes|=tt),Sg(it,tt,_e),it=st.sibling}else it=st.child;if(it!==null)it.return=st;else for(it=st;it!==null;){if(it===_e){it=null;break}if(st=it.sibling,st!==null){st.return=it.return,it=st;break}it=it.return}st=it}Yi(et,_e,rt.children,tt),_e=_e.child}return _e;case 9:return rt=_e.type,nt=_e.pendingProps.children,Tg(_e,tt),rt=Vg(rt),nt=nt(rt),_e.flags|=1,Yi(et,_e,nt,tt),_e.child;case 14:return nt=_e.type,rt=Lg(nt,_e.pendingProps),rt=Lg(nt.type,rt),aj(et,_e,nt,rt,tt);case 15:return cj(et,_e,_e.type,_e.pendingProps,tt);case 17:return nt=_e.type,rt=_e.pendingProps,rt=_e.elementType===nt?rt:Lg(nt,rt),jj(et,_e),_e.tag=1,Zf(nt)?(et=!0,cg(_e)):et=!1,Tg(_e,tt),ph(_e,nt,rt),rh(_e,nt,rt,tt),kj(null,_e,nt,!0,et,tt);case 19:return yj(et,_e,tt);case 22:return ej(et,_e,tt)}throw Error(p$5(156,_e.tag))};function Gk(et,_e){return ac(et,_e)}function al(et,_e,tt,nt){this.tag=et,this.key=tt,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=_e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=nt,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Bg(et,_e,tt,nt){return new al(et,_e,tt,nt)}function bj(et){return et=et.prototype,!(!et||!et.isReactComponent)}function $k(et){if(typeof et=="function")return bj(et)?1:0;if(et!=null){if(et=et.$$typeof,et===Da)return 11;if(et===Ga)return 14}return 2}function wh(et,_e){var tt=et.alternate;return tt===null?(tt=Bg(et.tag,_e,et.key,et.mode),tt.elementType=et.elementType,tt.type=et.type,tt.stateNode=et.stateNode,tt.alternate=et,et.alternate=tt):(tt.pendingProps=_e,tt.type=et.type,tt.flags=0,tt.subtreeFlags=0,tt.deletions=null),tt.flags=et.flags&14680064,tt.childLanes=et.childLanes,tt.lanes=et.lanes,tt.child=et.child,tt.memoizedProps=et.memoizedProps,tt.memoizedState=et.memoizedState,tt.updateQueue=et.updateQueue,_e=et.dependencies,tt.dependencies=_e===null?null:{lanes:_e.lanes,firstContext:_e.firstContext},tt.sibling=et.sibling,tt.index=et.index,tt.ref=et.ref,tt}function yh(et,_e,tt,nt,rt,st){var it=2;if(nt=et,typeof et=="function")bj(et)&&(it=1);else if(typeof et=="string")it=5;else e:switch(et){case ya:return Ah(tt.children,rt,st,_e);case za:it=8,rt|=8;break;case Aa:return et=Bg(12,tt,_e,rt|2),et.elementType=Aa,et.lanes=st,et;case Ea:return et=Bg(13,tt,_e,rt),et.elementType=Ea,et.lanes=st,et;case Fa:return et=Bg(19,tt,_e,rt),et.elementType=Fa,et.lanes=st,et;case Ia:return qj(tt,rt,st,_e);default:if(typeof et=="object"&&et!==null)switch(et.$$typeof){case Ba:it=10;break e;case Ca:it=9;break e;case Da:it=11;break e;case Ga:it=14;break e;case Ha:it=16,nt=null;break e}throw Error(p$5(130,et==null?et:typeof et,""))}return _e=Bg(it,tt,_e,rt),_e.elementType=et,_e.type=nt,_e.lanes=st,_e}function Ah(et,_e,tt,nt){return et=Bg(7,et,nt,_e),et.lanes=tt,et}function qj(et,_e,tt,nt){return et=Bg(22,et,nt,_e),et.elementType=Ia,et.lanes=tt,et.stateNode={isHidden:!1},et}function xh(et,_e,tt){return et=Bg(6,et,null,_e),et.lanes=tt,et}function zh(et,_e,tt){return _e=Bg(4,et.children!==null?et.children:[],et.key,_e),_e.lanes=tt,_e.stateNode={containerInfo:et.containerInfo,pendingChildren:null,implementation:et.implementation},_e}function bl(et,_e,tt,nt,rt){this.tag=_e,this.containerInfo=et,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=zc(0),this.expirationTimes=zc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zc(0),this.identifierPrefix=nt,this.onRecoverableError=rt,this.mutableSourceEagerHydrationData=null}function cl(et,_e,tt,nt,rt,st,it,at,ot){return et=new bl(et,_e,tt,at,ot),_e===1?(_e=1,st===!0&&(_e|=8)):_e=0,st=Bg(3,null,null,_e),et.current=st,st.stateNode=et,st.memoizedState={element:nt,isDehydrated:tt,cache:null,transitions:null,pendingSuspenseBoundaries:null},ah(st),et}function dl(et,_e,tt){var nt=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE)}catch(et){console.error(et)}}checkDCE(),reactDom$1.exports=reactDom_production_min;var reactDomExports=reactDom$1.exports;const index$5=getDefaultExportFromCjs(reactDomExports);var hydrateRoot,createRoot,m$4=reactDomExports;if(!0)createRoot=client.createRoot=m$4.createRoot,hydrateRoot=client.hydrateRoot=m$4.hydrateRoot;else var i$3;function isObject$8(et){return et!==null&&typeof et=="object"&&"constructor"in et&&et.constructor===Object}function extend$6(et={},_e={}){Object.keys(_e).forEach(tt=>{typeof et[tt]>"u"?et[tt]=_e[tt]:isObject$8(_e[tt])&&isObject$8(et[tt])&&Object.keys(_e[tt]).length>0&&extend$6(et[tt],_e[tt])})}const ssrDocument$1={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function getDocument$1(){const et=typeof document<"u"?document:{};return extend$6(et,ssrDocument$1),et}const ssrWindow$1={document:ssrDocument$1,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(et){return typeof setTimeout>"u"?(et(),null):setTimeout(et,0)},cancelAnimationFrame(et){typeof setTimeout>"u"||clearTimeout(et)}};function getWindow$1(){const et=typeof window<"u"?window:{};return extend$6(et,ssrWindow$1),et}function makeReactive(et){const _e=et.__proto__;Object.defineProperty(et,"__proto__",{get(){return _e},set(tt){_e.__proto__=tt}})}class Dom7 extends Array{constructor(_e){typeof _e=="number"?super(_e):(super(..._e||[]),makeReactive(this))}}function arrayFlat(et=[]){const _e=[];return et.forEach(tt=>{Array.isArray(tt)?_e.push(...arrayFlat(tt)):_e.push(tt)}),_e}function arrayFilter(et,_e){return Array.prototype.filter.call(et,_e)}function arrayUnique(et){const _e=[];for(let tt=0;tttt.toUpperCase())}function qsa(et,_e){if(typeof et!="string")return[et];const tt=[],nt=_e.querySelectorAll(et);for(let rt=0;rt=0&&st.indexOf(">")>=0){let it="div";st.indexOf("tt.split(" ")));return this.forEach(tt=>{tt.classList.add(..._e)}),this}function removeClass(...et){const _e=arrayFlat(et.map(tt=>tt.split(" ")));return this.forEach(tt=>{tt.classList.remove(..._e)}),this}function toggleClass(...et){const _e=arrayFlat(et.map(tt=>tt.split(" ")));this.forEach(tt=>{_e.forEach(nt=>{tt.classList.toggle(nt)})})}function hasClass(...et){const _e=arrayFlat(et.map(tt=>tt.split(" ")));return arrayFilter(this,tt=>_e.filter(nt=>tt.classList.contains(nt)).length>0).length>0}function attr(et,_e){if(arguments.length===1&&typeof et=="string")return this[0]?this[0].getAttribute(et):void 0;for(let tt=0;tt"u"){if(tt=this[0],!tt)return;if(tt.dom7ElementDataStorage&&et in tt.dom7ElementDataStorage)return tt.dom7ElementDataStorage[et];const nt=tt.getAttribute(`data-${et}`);return nt||void 0}for(let nt=0;nt=0&&(_e[toCamelCase$1(nt.name.split("data-")[1])]=nt.value)}for(const tt in _e)_e[tt]==="false"?_e[tt]=!1:_e[tt]==="true"?_e[tt]=!0:parseFloat(_e[tt])===_e[tt]*1&&(_e[tt]*=1);return _e}function val(et){if(typeof et>"u"){const _e=this[0];if(!_e)return;if(_e.multiple&&_e.nodeName.toLowerCase()==="select"){const tt=[];for(let nt=0;nt<_e.selectedOptions.length;nt+=1)tt.push(_e.selectedOptions[nt].value);return tt}return _e.value}for(let _e=0;_e=0;else tt.value=et}return this}function value$1(et){return this.val(et)}function transform(et){for(let _e=0;_e=0;ut-=1){const dt=ct[ut];nt&&dt.listener===nt||nt&&dt.listener&&dt.listener.dom7proxy&&dt.listener.dom7proxy===nt?(lt.removeEventListener(at,dt.proxyListener,rt),ct.splice(ut,1)):nt||(lt.removeEventListener(at,dt.proxyListener,rt),ct.splice(ut,1))}}}return this}function once(...et){const _e=this;let[tt,nt,rt,st]=et;typeof et[1]=="function"&&([tt,rt,st]=et,nt=void 0);function it(...at){rt.apply(this,at),_e.off(tt,nt,it,st),it.dom7proxy&&delete it.dom7proxy}return it.dom7proxy=rt,_e.on(tt,nt,it,st)}function trigger(...et){const _e=getWindow$1(),tt=et[0].split(" "),nt=et[1];for(let rt=0;rtct>0),at.dispatchEvent(ot),at.dom7EventData=[],delete at.dom7EventData}}}return this}function transitionStart$1(et){const _e=this;function tt(nt){nt.target===this&&(et.call(this,nt),_e.off("transitionstart",tt))}return et&&_e.on("transitionstart",tt),this}function transitionEnd$1(et){const _e=this;function tt(nt){nt.target===this&&(et.call(this,nt),_e.off("transitionend",tt))}return et&&_e.on("transitionend",tt),this}function animationEnd(et){const _e=this;function tt(nt){nt.target===this&&(et.call(this,nt),_e.off("animationend",tt))}return et&&_e.on("animationend",tt),this}function width(){const et=getWindow$1();return this[0]===et?et.innerWidth:this.length>0?parseFloat(this.css("width")):null}function outerWidth(et){if(this.length>0){if(et){const _e=this.styles();return this[0].offsetWidth+parseFloat(_e.getPropertyValue("margin-right"))+parseFloat(_e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function height(){const et=getWindow$1();return this[0]===et?et.innerHeight:this.length>0?parseFloat(this.css("height")):null}function outerHeight(et){if(this.length>0){if(et){const _e=this.styles();return this[0].offsetHeight+parseFloat(_e.getPropertyValue("margin-top"))+parseFloat(_e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function offset(){if(this.length>0){const et=getWindow$1(),_e=getDocument$1(),tt=this[0],nt=tt.getBoundingClientRect(),rt=_e.body,st=tt.clientTop||rt.clientTop||0,it=tt.clientLeft||rt.clientLeft||0,at=tt===et?et.scrollY:tt.scrollTop,ot=tt===et?et.scrollX:tt.scrollLeft;return{top:nt.top+at-st,left:nt.left+ot-it}}return null}function hide(){for(let et=0;et{et.apply(_e,[_e,tt])}),this):this}function filter(et){const _e=arrayFilter(this,et);return $$2(_e)}function html$2(et){if(typeof et>"u")return this[0]?this[0].innerHTML:null;for(let _e=0;_e"u")return this[0]?this[0].textContent.trim():null;for(let _e=0;_e"u")return!1;if(typeof et=="string"){if(nt.matches)return nt.matches(et);if(nt.webkitMatchesSelector)return nt.webkitMatchesSelector(et);if(nt.msMatchesSelector)return nt.msMatchesSelector(et);for(rt=$$2(et),st=0;st"u")return this;const _e=this.length;if(et>_e-1)return $$2([]);if(et<0){const tt=_e+et;return tt<0?$$2([]):$$2([this[tt]])}return $$2([this[et]])}function append(...et){let _e;const tt=getDocument$1();for(let nt=0;nt=0;nt-=1)this[tt].insertBefore(rt.childNodes[nt],this[tt].childNodes[0])}else if(et instanceof Dom7)for(nt=0;nt1)for(let nt=0;nt<_e.length;nt+=1)_e[nt].parentNode.insertBefore(this[tt].cloneNode(!0),_e[nt])}function insertAfter(et){const _e=$$2(et);for(let tt=0;tt1)for(let nt=0;nt<_e.length;nt+=1)_e[nt].parentNode.insertBefore(this[tt].cloneNode(!0),_e[nt].nextSibling)}function next(et){return this.length>0?et?this[0].nextElementSibling&&$$2(this[0].nextElementSibling).is(et)?$$2([this[0].nextElementSibling]):$$2([]):this[0].nextElementSibling?$$2([this[0].nextElementSibling]):$$2([]):$$2([])}function nextAll(et){const _e=[];let tt=this[0];if(!tt)return $$2([]);for(;tt.nextElementSibling;){const nt=tt.nextElementSibling;et?$$2(nt).is(et)&&_e.push(nt):_e.push(nt),tt=nt}return $$2(_e)}function prev$1(et){if(this.length>0){const _e=this[0];return et?_e.previousElementSibling&&$$2(_e.previousElementSibling).is(et)?$$2([_e.previousElementSibling]):$$2([]):_e.previousElementSibling?$$2([_e.previousElementSibling]):$$2([])}return $$2([])}function prevAll(et){const _e=[];let tt=this[0];if(!tt)return $$2([]);for(;tt.previousElementSibling;){const nt=tt.previousElementSibling;et?$$2(nt).is(et)&&_e.push(nt):_e.push(nt),tt=nt}return $$2(_e)}function siblings(et){return this.nextAll(et).add(this.prevAll(et))}function parent(et){const _e=[];for(let tt=0;tt"u"?$$2([]):(_e.is(et)||(_e=_e.parents(et).eq(0)),_e)}function find(et){const _e=[];for(let tt=0;tt"u"&&(st="swing"),this.each(function(){const ot=this;let lt,ct,ut,dt,ft,pt,ht,vt,gt=nt>0||nt===0,mt=tt>0||tt===0;if(typeof st>"u"&&(st="swing"),gt&&(lt=ot.scrollTop,rt||(ot.scrollTop=nt)),mt&&(ct=ot.scrollLeft,rt||(ot.scrollLeft=tt)),!rt)return;gt&&(ut=ot.scrollHeight-ot.offsetHeight,ft=Math.max(Math.min(nt,ut),0)),mt&&(dt=ot.scrollWidth-ot.offsetWidth,pt=Math.max(Math.min(tt,dt),0));let bt=null;gt&&ft===lt&&(gt=!1),mt&&pt===ct&&(mt=!1);function xt(yt=new Date().getTime()){bt===null&&(bt=yt);const $t=Math.max(Math.min((yt-bt)/rt,1),0),wt=st==="linear"?$t:.5-Math.cos($t*Math.PI)/2;let Ct;if(gt&&(ht=lt+wt*(ft-lt)),mt&&(vt=ct+wt*(pt-ct)),gt&&ft>lt&&ht>=ft&&(ot.scrollTop=ft,Ct=!0),gt&&ftct&&vt>=pt&&(ot.scrollLeft=pt,Ct=!0),mt&&pt"u"?st.length>0?st[0].scrollTop:null:st.scrollTo(void 0,_e,tt,nt,rt)}function scrollLeft(...et){let[_e,tt,nt,rt]=et;et.length===3&&typeof nt=="function"&&([_e,tt,rt,nt]=et);const st=this;return typeof _e>"u"?st.length>0?st[0].scrollLeft:null:st.scrollTo(_e,void 0,tt,nt,rt)}function animate(et,_e){const tt=getWindow$1(),nt=this,rt={props:Object.assign({},et),params:Object.assign({duration:300,easing:"swing"},_e),elements:nt,animating:!1,que:[],easingProgress(it,at){return it==="swing"?.5-Math.cos(at*Math.PI)/2:typeof it=="function"?it(at):at},stop(){rt.frameId&&tt.cancelAnimationFrame(rt.frameId),rt.animating=!1,rt.elements.each(it=>{const at=it;delete at.dom7AnimateInstance}),rt.que=[]},done(it){if(rt.animating=!1,rt.elements.each(at=>{const ot=at;delete ot.dom7AnimateInstance}),it&&it(nt),rt.que.length>0){const at=rt.que.shift();rt.animate(at[0],at[1])}},animate(it,at){if(rt.animating)return rt.que.push([it,at]),rt;const ot=[];rt.elements.each((vt,gt)=>{let mt,bt,xt,yt,$t;vt.dom7AnimateInstance||(rt.elements[gt].dom7AnimateInstance=rt),ot[gt]={container:vt},Object.keys(it).forEach(wt=>{mt=tt.getComputedStyle(vt,null).getPropertyValue(wt).replace(",","."),bt=parseFloat(mt),xt=mt.replace(bt,""),yt=parseFloat(it[wt]),$t=it[wt]+xt,ot[gt][wt]={initialFullValue:mt,initialValue:bt,unit:xt,finalValue:yt,finalFullValue:$t,currentValue:bt}})});let lt=null,ct,ut=0,dt=0,ft,pt=!1;rt.animating=!0;function ht(){ct=new Date().getTime();let vt,gt;pt||(pt=!0,at.begin&&at.begin(nt)),lt===null&&(lt=ct),at.progress&&at.progress(nt,Math.max(Math.min((ct-lt)/at.duration,1),0),lt+at.duration-ct<0?0:lt+at.duration-ct,lt),ot.forEach(mt=>{const bt=mt;ft||bt.done||Object.keys(it).forEach(xt=>{if(ft||bt.done)return;vt=Math.max(Math.min((ct-lt)/at.duration,1),0),gt=rt.easingProgress(at.easing,vt);const{initialValue:yt,finalValue:$t,unit:wt}=bt[xt];bt[xt].currentValue=yt+gt*($t-yt);const Ct=bt[xt].currentValue;if(($t>yt&&Ct>=$t||$t"u"){for(let nt=0;nt{et!=="$"&&($$2.fn[et]=methods[et])});const $$1=$$2;function signum(et){return et<0?-1:et===0?0:1}function lerp(et,_e,tt){return(1-tt)*et+tt*_e}function clampInt(et,_e,tt){return tt_e?_e:tt}function sanitizeDegreesDouble(et){return(et%=360)<0&&(et+=360),et}function rotationDirection(et,_e){return sanitizeDegreesDouble(_e-et)<=180?1:-1}function differenceDegrees(et,_e){return 180-Math.abs(Math.abs(et-_e)-180)}function matrixMultiply(et,_e){return[et[0]*_e[0][0]+et[1]*_e[0][1]+et[2]*_e[0][2],et[0]*_e[1][0]+et[1]*_e[1][1]+et[2]*_e[1][2],et[0]*_e[2][0]+et[1]*_e[2][1]+et[2]*_e[2][2]]}const SRGB_TO_XYZ=[[.41233895,.35762064,.18051042],[.2126,.7152,.0722],[.01932141,.11916382,.95034478]],XYZ_TO_SRGB=[[3.2413774792388685,-1.5376652402851851,-.49885366846268053],[-.9691452513005321,1.8758853451067872,.04156585616912061],[.05562093689691305,-.20395524564742123,1.0571799111220335]],WHITE_POINT_D65=[95.047,100,108.883];function argbFromRgb(et,_e,tt){return(255<<24|(255&et)<<16|(255&_e)<<8|255&tt)>>>0}function argbFromLinrgb(et){return argbFromRgb(delinearized(et[0]),delinearized(et[1]),delinearized(et[2]))}function redFromArgb(et){return et>>16&255}function greenFromArgb(et){return et>>8&255}function blueFromArgb(et){return 255&et}function argbFromXyz(et,_e,tt){const nt=XYZ_TO_SRGB,rt=nt[0][0]*et+nt[0][1]*_e+nt[0][2]*tt,st=nt[1][0]*et+nt[1][1]*_e+nt[1][2]*tt,it=nt[2][0]*et+nt[2][1]*_e+nt[2][2]*tt;return argbFromRgb(delinearized(rt),delinearized(st),delinearized(it))}function xyzFromArgb(et){return matrixMultiply([linearized(redFromArgb(et)),linearized(greenFromArgb(et)),linearized(blueFromArgb(et))],SRGB_TO_XYZ)}function argbFromLstar(et){const _e=delinearized(yFromLstar(et));return argbFromRgb(_e,_e,_e)}function lstarFromArgb(et){return 116*labF(xyzFromArgb(et)[1]/100)-16}function yFromLstar(et){return 100*labInvf((et+16)/116)}function linearized(et){const _e=et/255;return _e<=.040449936?_e/12.92*100:100*Math.pow((_e+.055)/1.055,2.4)}function delinearized(et){const _e=et/100;let tt=0;return tt=_e<=.0031308?12.92*_e:1.055*Math.pow(_e,1/2.4)-.055,clampInt(0,255,Math.round(255*tt))}function whitePointD65(){return WHITE_POINT_D65}function labF(et){return et>216/24389?Math.pow(et,1/3):(903.2962962962963*et+16)/116}function labInvf(et){const _e=et*et*et;return _e>216/24389?_e:(116*et-16)/903.2962962962963}class ViewingConditions{static make(_e,tt,nt,rt,st){_e===void 0&&(_e=whitePointD65()),tt===void 0&&(tt=200/Math.PI*yFromLstar(50)/100),nt===void 0&&(nt=50),rt===void 0&&(rt=2),st===void 0&&(st=!1);const it=_e,at=.401288*it[0]+.650173*it[1]+-.051461*it[2],ot=-.250268*it[0]+1.204414*it[1]+.045854*it[2],lt=-.002079*it[0]+.048952*it[1]+.953127*it[2],ct=.8+rt/10,ut=ct>=.9?lerp(.59,.69,10*(ct-.9)):lerp(.525,.59,10*(ct-.8));let dt=st?1:ct*(1-1/3.6*Math.exp((-tt-42)/92));dt=dt>1?1:dt<0?0:dt;const ft=ct,pt=[dt*(100/at)+1-dt,dt*(100/ot)+1-dt,dt*(100/lt)+1-dt],ht=1/(5*tt+1),vt=ht*ht*ht*ht,gt=1-vt,mt=vt*tt+.1*gt*gt*Math.cbrt(5*tt),bt=yFromLstar(nt)/_e[1],xt=1.48+Math.sqrt(bt),yt=.725/Math.pow(bt,.2),$t=yt,wt=[Math.pow(mt*pt[0]*at/100,.42),Math.pow(mt*pt[1]*ot/100,.42),Math.pow(mt*pt[2]*lt/100,.42)],Ct=[400*wt[0]/(wt[0]+27.13),400*wt[1]/(wt[1]+27.13),400*wt[2]/(wt[2]+27.13)];return new ViewingConditions(bt,(2*Ct[0]+Ct[1]+.05*Ct[2])*yt,yt,$t,ut,ft,pt,mt,Math.pow(mt,.25),xt)}constructor(_e,tt,nt,rt,st,it,at,ot,lt,ct){this.n=_e,this.aw=tt,this.nbb=nt,this.ncb=rt,this.c=st,this.nc=it,this.rgbD=at,this.fl=ot,this.fLRoot=lt,this.z=ct}}ViewingConditions.DEFAULT=ViewingConditions.make();class Cam16{constructor(_e,tt,nt,rt,st,it,at,ot,lt){this.hue=_e,this.chroma=tt,this.j=nt,this.q=rt,this.m=st,this.s=it,this.jstar=at,this.astar=ot,this.bstar=lt}distance(_e){const tt=this.jstar-_e.jstar,nt=this.astar-_e.astar,rt=this.bstar-_e.bstar,st=Math.sqrt(tt*tt+nt*nt+rt*rt);return 1.41*Math.pow(st,.63)}static fromInt(_e){return Cam16.fromIntInViewingConditions(_e,ViewingConditions.DEFAULT)}static fromIntInViewingConditions(_e,tt){const nt=(65280&_e)>>8,rt=255&_e,st=linearized((16711680&_e)>>16),it=linearized(nt),at=linearized(rt),ot=.41233895*st+.35762064*it+.18051042*at,lt=.2126*st+.7152*it+.0722*at,ct=.01932141*st+.11916382*it+.95034478*at,ut=.401288*ot+.650173*lt-.051461*ct,dt=-.250268*ot+1.204414*lt+.045854*ct,ft=-.002079*ot+.048952*lt+.953127*ct,pt=tt.rgbD[0]*ut,ht=tt.rgbD[1]*dt,vt=tt.rgbD[2]*ft,gt=Math.pow(tt.fl*Math.abs(pt)/100,.42),mt=Math.pow(tt.fl*Math.abs(ht)/100,.42),bt=Math.pow(tt.fl*Math.abs(vt)/100,.42),xt=400*signum(pt)*gt/(gt+27.13),yt=400*signum(ht)*mt/(mt+27.13),$t=400*signum(vt)*bt/(bt+27.13),wt=(11*xt+-12*yt+$t)/11,Ct=(xt+yt-2*$t)/9,Et=(20*xt+20*yt+21*$t)/20,Mt=(40*xt+20*yt+$t)/20,St=180*Math.atan2(Ct,wt)/Math.PI,Rt=St<0?St+360:St>=360?St-360:St,Pt=Rt*Math.PI/180,kt=Mt*tt.nbb,_t=100*Math.pow(kt/tt.aw,tt.c*tt.z),Bt=4/tt.c*Math.sqrt(_t/100)*(tt.aw+4)*tt.fLRoot,It=Rt<20.14?Rt+360:Rt,At=5e4/13*(.25*(Math.cos(It*Math.PI/180+2)+3.8))*tt.nc*tt.ncb*Math.sqrt(wt*wt+Ct*Ct)/(Et+.305),Tt=Math.pow(At,.9)*Math.pow(1.64-Math.pow(.29,tt.n),.73),Dt=Tt*Math.sqrt(_t/100),Nt=Dt*tt.fLRoot,Ot=50*Math.sqrt(Tt*tt.c/(tt.aw+4)),Lt=(1+100*.007)*_t/(1+.007*_t),jt=1/.0228*Math.log(1+.0228*Nt),Ht=jt*Math.cos(Pt),Ft=jt*Math.sin(Pt);return new Cam16(Rt,Dt,_t,Bt,Nt,Ot,Lt,Ht,Ft)}static fromJch(_e,tt,nt){return Cam16.fromJchInViewingConditions(_e,tt,nt,ViewingConditions.DEFAULT)}static fromJchInViewingConditions(_e,tt,nt,rt){const st=4/rt.c*Math.sqrt(_e/100)*(rt.aw+4)*rt.fLRoot,it=tt*rt.fLRoot,at=tt/Math.sqrt(_e/100),ot=50*Math.sqrt(at*rt.c/(rt.aw+4)),lt=nt*Math.PI/180,ct=(1+100*.007)*_e/(1+.007*_e),ut=1/.0228*Math.log(1+.0228*it),dt=ut*Math.cos(lt),ft=ut*Math.sin(lt);return new Cam16(nt,tt,_e,st,it,ot,ct,dt,ft)}static fromUcs(_e,tt,nt){return Cam16.fromUcsInViewingConditions(_e,tt,nt,ViewingConditions.DEFAULT)}static fromUcsInViewingConditions(_e,tt,nt,rt){const st=tt,it=nt,at=Math.sqrt(st*st+it*it),ot=(Math.exp(.0228*at)-1)/.0228/rt.fLRoot;let lt=Math.atan2(it,st)*(180/Math.PI);lt<0&&(lt+=360);const ct=_e/(1-.007*(_e-100));return Cam16.fromJchInViewingConditions(ct,ot,lt,rt)}toInt(){return this.viewed(ViewingConditions.DEFAULT)}viewed(_e){const tt=this.chroma===0||this.j===0?0:this.chroma/Math.sqrt(this.j/100),nt=Math.pow(tt/Math.pow(1.64-Math.pow(.29,_e.n),.73),1/.9),rt=this.hue*Math.PI/180,st=.25*(Math.cos(rt+2)+3.8),it=_e.aw*Math.pow(this.j/100,1/_e.c/_e.z),at=st*(5e4/13)*_e.nc*_e.ncb,ot=it/_e.nbb,lt=Math.sin(rt),ct=Math.cos(rt),ut=23*(ot+.305)*nt/(23*at+11*nt*ct+108*nt*lt),dt=ut*ct,ft=ut*lt,pt=(460*ot+451*dt+288*ft)/1403,ht=(460*ot-891*dt-261*ft)/1403,vt=(460*ot-220*dt-6300*ft)/1403,gt=Math.max(0,27.13*Math.abs(pt)/(400-Math.abs(pt))),mt=signum(pt)*(100/_e.fl)*Math.pow(gt,1/.42),bt=Math.max(0,27.13*Math.abs(ht)/(400-Math.abs(ht))),xt=signum(ht)*(100/_e.fl)*Math.pow(bt,1/.42),yt=Math.max(0,27.13*Math.abs(vt)/(400-Math.abs(vt))),$t=signum(vt)*(100/_e.fl)*Math.pow(yt,1/.42),wt=mt/_e.rgbD[0],Ct=xt/_e.rgbD[1],Et=$t/_e.rgbD[2];return argbFromXyz(1.86206786*wt-1.01125463*Ct+.14918677*Et,.38752654*wt+.62144744*Ct-.00897398*Et,-.0158415*wt-.03412294*Ct+1.04996444*Et)}}class HctSolver{static sanitizeRadians(_e){return(_e+8*Math.PI)%(2*Math.PI)}static trueDelinearized(_e){const tt=_e/100;let nt=0;return nt=tt<=.0031308?12.92*tt:1.055*Math.pow(tt,1/2.4)-.055,255*nt}static chromaticAdaptation(_e){const tt=Math.pow(Math.abs(_e),.42);return 400*signum(_e)*tt/(tt+27.13)}static hueOf(_e){const tt=matrixMultiply(_e,HctSolver.SCALED_DISCOUNT_FROM_LINRGB),nt=HctSolver.chromaticAdaptation(tt[0]),rt=HctSolver.chromaticAdaptation(tt[1]),st=HctSolver.chromaticAdaptation(tt[2]),it=(11*nt+-12*rt+st)/11,at=(nt+rt-2*st)/9;return Math.atan2(at,it)}static areInCyclicOrder(_e,tt,nt){return HctSolver.sanitizeRadians(tt-_e)100.01||yt[1]>100.01||yt[2]>100.01?0:argbFromLinrgb(yt);rt-=(Et-nt)*rt/(2*Et)}return 0}static solveToInt(_e,tt,nt){if(tt<1e-4||nt<1e-4||nt>99.9999)return argbFromLstar(nt);const rt=(_e=sanitizeDegreesDouble(_e))/180*Math.PI,st=yFromLstar(nt),it=HctSolver.findResultByJ(rt,tt,st);return it!==0?it:argbFromLinrgb(HctSolver.bisectToLimit(st,rt))}static solveToCam(_e,tt,nt){return Cam16.fromInt(HctSolver.solveToInt(_e,tt,nt))}}HctSolver.SCALED_DISCOUNT_FROM_LINRGB=[[.001200833568784504,.002389694492170889,.0002795742885861124],[.0005891086651375999,.0029785502573438758,.0003270666104008398],[.00010146692491640572,.0005364214359186694,.0032979401770712076]],HctSolver.LINRGB_FROM_SCALED_DISCOUNT=[[1373.2198709594231,-1100.4251190754821,-7.278681089101213],[-271.815969077903,559.6580465940733,-32.46047482791194],[1.9622899599665666,-57.173814538844006,308.7233197812385]],HctSolver.Y_FROM_LINRGB=[.2126,.7152,.0722],HctSolver.CRITICAL_PLANES=[.015176349177441876,.045529047532325624,.07588174588720938,.10623444424209313,.13658714259697685,.16693984095186062,.19729253930674434,.2276452376616281,.2579979360165119,.28835063437139563,.3188300904430532,.350925934958123,.3848314933096426,.42057480301049466,.458183274052838,.4976837250274023,.5391024159806381,.5824650784040898,.6277969426914107,.6751227633498623,.7244668422128921,.775853049866786,.829304845476233,.8848452951698498,.942497089126609,1.0022825574869039,1.0642236851973577,1.1283421258858297,1.1946592148522128,1.2631959812511864,1.3339731595349034,1.407011200216447,1.4823302800086415,1.5599503113873272,1.6398909516233677,1.7221716113234105,1.8068114625156377,1.8938294463134073,1.9832442801866852,2.075074464868551,2.1693382909216234,2.2660538449872063,2.36523901573795,2.4669114995532007,2.5710888059345764,2.6777882626779785,2.7870270208169257,2.898822059350997,3.0131901897720907,3.1301480604002863,3.2497121605402226,3.3718988244681087,3.4967242352587946,3.624204428461639,3.754355295633311,3.887192587735158,4.022731918402185,4.160988767090289,4.301978482107941,4.445716283538092,4.592217266055746,4.741496401646282,4.893568542229298,5.048448422192488,5.20615066083972,5.3666897647573375,5.5300801301023865,5.696336044816294,5.865471690767354,6.037501145825082,6.212438385869475,6.390297286737924,6.571091626112461,6.7548350853498045,6.941541251256611,7.131223617812143,7.323895587840543,7.5195704746346665,7.7182615035334345,7.919981813454504,8.124744458384042,8.332562408825165,8.543448553206703,8.757415699253682,8.974476575321063,9.194643831691977,9.417930041841839,9.644347703669503,9.873909240696694,10.106627003236781,10.342513269534024,10.58158024687427,10.8238400726681,11.069304815507364,11.317986476196008,11.569896988756009,11.825048221409341,12.083451977536606,12.345119996613247,12.610063955123938,12.878295467455942,13.149826086772048,13.42466730586372,13.702830557985108,13.984327217668513,14.269168601521828,14.55736596900856,14.848930523210871,15.143873411576273,15.44220572664832,15.743938506781891,16.04908273684337,16.35764934889634,16.66964922287304,16.985093187232053,17.30399201960269,17.62635644741625,17.95219714852476,18.281524751807332,18.614349837764564,18.95068293910138,19.290534541298456,19.633915083172692,19.98083495742689,20.331304511189067,20.685334046541502,21.042933821039977,21.404114048223256,21.76888489811322,22.137256497705877,22.50923893145328,22.884842241736916,23.264076429332462,23.6469514538663,24.033477234264016,24.42366364919083,24.817520537484558,25.21505769858089,25.61628489293138,26.021211842414342,26.429848230738664,26.842203703840827,27.258287870275353,27.678110301598522,28.10168053274597,28.529008062403893,28.96010235337422,29.39497283293396,29.83362889318845,30.276079891419332,30.722335150426627,31.172403958865512,31.62629557157785,32.08401920991837,32.54558406207592,33.010999283389665,33.4802739966603,33.953417292456834,34.430438229418264,34.911345834551085,35.39614910352207,35.88485700094671,36.37747846067349,36.87402238606382,37.37449765026789,37.87891309649659,38.38727753828926,38.89959975977785,39.41588851594697,39.93615253289054,40.460400508064545,40.98864111053629,41.520882981230194,42.05713473317016,42.597404951718396,43.141702194811224,43.6900349931913,44.24241185063697,44.798841244188324,45.35933162437017,45.92389141541209,46.49252901546552,47.065252796817916,47.64207110610409,48.22299226451468,48.808024568002054,49.3971762874833,49.9904556690408,50.587870934119984,51.189430279724725,51.79514187861014,52.40501387947288,53.0190544071392,53.637271562750364,54.259673423945976,54.88626804504493,55.517063457223934,56.15206766869424,56.79128866487574,57.43473440856916,58.08241284012621,58.734331877617365,59.39049941699807,60.05092333227251,60.715611475655585,61.38457167773311,62.057811747619894,62.7353394731159,63.417162620860914,64.10328893648692,64.79372614476921,65.48848194977529,66.18756403501224,66.89098006357258,67.59873767827808,68.31084450182222,69.02730813691093,69.74813616640164,70.47333615344107,71.20291564160104,71.93688215501312,72.67524319850172,73.41800625771542,74.16517879925733,74.9167682708136,75.67278210128072,76.43322770089146,77.1981124613393,77.96744375590167,78.74122893956174,79.51947534912904,80.30219030335869,81.08938110306934,81.88105503125999,82.67721935322541,83.4778813166706,84.28304815182372,85.09272707154808,85.90692527145302,86.72564993000343,87.54890820862819,88.3767072518277,89.2090541872801,90.04595612594655,90.88742016217518,91.73345337380438,92.58406282226491,93.43925555268066,94.29903859396902,95.16341895893969,96.03240364439274,96.9059996312159,97.78421388448044,98.6670533535366,99.55452497210776];class Hct{static from(_e,tt,nt){return new Hct(HctSolver.solveToInt(_e,tt,nt))}static fromInt(_e){return new Hct(_e)}toInt(){return this.argb}get hue(){return this.internalHue}set hue(_e){this.setInternalState(HctSolver.solveToInt(_e,this.internalChroma,this.internalTone))}get chroma(){return this.internalChroma}set chroma(_e){this.setInternalState(HctSolver.solveToInt(this.internalHue,_e,this.internalTone))}get tone(){return this.internalTone}set tone(_e){this.setInternalState(HctSolver.solveToInt(this.internalHue,this.internalChroma,_e))}constructor(_e){this.argb=_e;const tt=Cam16.fromInt(_e);this.internalHue=tt.hue,this.internalChroma=tt.chroma,this.internalTone=lstarFromArgb(_e),this.argb=_e}setInternalState(_e){const tt=Cam16.fromInt(_e);this.internalHue=tt.hue,this.internalChroma=tt.chroma,this.internalTone=lstarFromArgb(_e),this.argb=_e}}class Blend{static harmonize(_e,tt){const nt=Hct.fromInt(_e),rt=Hct.fromInt(tt),st=differenceDegrees(nt.hue,rt.hue),it=Math.min(.5*st,15),at=sanitizeDegreesDouble(nt.hue+it*rotationDirection(nt.hue,rt.hue));return Hct.from(at,nt.chroma,nt.tone).toInt()}static hctHue(_e,tt,nt){const rt=Blend.cam16Ucs(_e,tt,nt),st=Cam16.fromInt(rt),it=Cam16.fromInt(_e);return Hct.from(st.hue,it.chroma,lstarFromArgb(_e)).toInt()}static cam16Ucs(_e,tt,nt){const rt=Cam16.fromInt(_e),st=Cam16.fromInt(tt),it=rt.jstar,at=rt.astar,ot=rt.bstar,lt=it+(st.jstar-it)*nt,ct=at+(st.astar-at)*nt,ut=ot+(st.bstar-ot)*nt;return Cam16.fromUcs(lt,ct,ut).toInt()}}class TonalPalette{static fromInt(_e){const tt=Hct.fromInt(_e);return TonalPalette.fromHueAndChroma(tt.hue,tt.chroma)}static fromHueAndChroma(_e,tt){return new TonalPalette(_e,tt)}constructor(_e,tt){this.hue=_e,this.chroma=tt,this.cache=new Map}tone(_e){let tt=this.cache.get(_e);return tt===void 0&&(tt=Hct.from(this.hue,this.chroma,_e).toInt(),this.cache.set(_e,tt)),tt}}class CorePalette{static of(_e){return new CorePalette(_e,!1)}static contentOf(_e){return new CorePalette(_e,!0)}static fromColors(_e){return CorePalette.createPaletteFromColors(!1,_e)}static contentFromColors(_e){return CorePalette.createPaletteFromColors(!0,_e)}static createPaletteFromColors(_e,tt){const nt=new CorePalette(tt.primary,_e);if(tt.secondary){const rt=new CorePalette(tt.secondary,_e);nt.a2=rt.a1}if(tt.tertiary){const rt=new CorePalette(tt.tertiary,_e);nt.a3=rt.a1}if(tt.error){const rt=new CorePalette(tt.error,_e);nt.error=rt.a1}if(tt.neutral){const rt=new CorePalette(tt.neutral,_e);nt.n1=rt.n1}if(tt.neutralVariant){const rt=new CorePalette(tt.neutralVariant,_e);nt.n2=rt.n2}return nt}constructor(_e,tt){const nt=Hct.fromInt(_e),rt=nt.hue,st=nt.chroma;tt?(this.a1=TonalPalette.fromHueAndChroma(rt,st),this.a2=TonalPalette.fromHueAndChroma(rt,st/3),this.a3=TonalPalette.fromHueAndChroma(rt+60,st/2),this.n1=TonalPalette.fromHueAndChroma(rt,Math.min(st/12,4)),this.n2=TonalPalette.fromHueAndChroma(rt,Math.min(st/6,8))):(this.a1=TonalPalette.fromHueAndChroma(rt,Math.max(48,st)),this.a2=TonalPalette.fromHueAndChroma(rt,16),this.a3=TonalPalette.fromHueAndChroma(rt+60,24),this.n1=TonalPalette.fromHueAndChroma(rt,4),this.n2=TonalPalette.fromHueAndChroma(rt,8)),this.error=TonalPalette.fromHueAndChroma(25,84)}}class Scheme{get primary(){return this.props.primary}get onPrimary(){return this.props.onPrimary}get primaryContainer(){return this.props.primaryContainer}get onPrimaryContainer(){return this.props.onPrimaryContainer}get secondary(){return this.props.secondary}get onSecondary(){return this.props.onSecondary}get secondaryContainer(){return this.props.secondaryContainer}get onSecondaryContainer(){return this.props.onSecondaryContainer}get tertiary(){return this.props.tertiary}get onTertiary(){return this.props.onTertiary}get tertiaryContainer(){return this.props.tertiaryContainer}get onTertiaryContainer(){return this.props.onTertiaryContainer}get error(){return this.props.error}get onError(){return this.props.onError}get errorContainer(){return this.props.errorContainer}get onErrorContainer(){return this.props.onErrorContainer}get background(){return this.props.background}get onBackground(){return this.props.onBackground}get surface(){return this.props.surface}get onSurface(){return this.props.onSurface}get surfaceVariant(){return this.props.surfaceVariant}get onSurfaceVariant(){return this.props.onSurfaceVariant}get outline(){return this.props.outline}get outlineVariant(){return this.props.outlineVariant}get shadow(){return this.props.shadow}get scrim(){return this.props.scrim}get inverseSurface(){return this.props.inverseSurface}get inverseOnSurface(){return this.props.inverseOnSurface}get inversePrimary(){return this.props.inversePrimary}static light(_e){return Scheme.lightFromCorePalette(CorePalette.of(_e))}static dark(_e){return Scheme.darkFromCorePalette(CorePalette.of(_e))}static lightContent(_e){return Scheme.lightFromCorePalette(CorePalette.contentOf(_e))}static darkContent(_e){return Scheme.darkFromCorePalette(CorePalette.contentOf(_e))}static lightFromCorePalette(_e){return new Scheme({primary:_e.a1.tone(40),onPrimary:_e.a1.tone(100),primaryContainer:_e.a1.tone(90),onPrimaryContainer:_e.a1.tone(10),secondary:_e.a2.tone(40),onSecondary:_e.a2.tone(100),secondaryContainer:_e.a2.tone(90),onSecondaryContainer:_e.a2.tone(10),tertiary:_e.a3.tone(40),onTertiary:_e.a3.tone(100),tertiaryContainer:_e.a3.tone(90),onTertiaryContainer:_e.a3.tone(10),error:_e.error.tone(40),onError:_e.error.tone(100),errorContainer:_e.error.tone(90),onErrorContainer:_e.error.tone(10),background:_e.n1.tone(99),onBackground:_e.n1.tone(10),surface:_e.n1.tone(99),onSurface:_e.n1.tone(10),surfaceVariant:_e.n2.tone(90),onSurfaceVariant:_e.n2.tone(30),outline:_e.n2.tone(50),outlineVariant:_e.n2.tone(80),shadow:_e.n1.tone(0),scrim:_e.n1.tone(0),inverseSurface:_e.n1.tone(20),inverseOnSurface:_e.n1.tone(95),inversePrimary:_e.a1.tone(80)})}static darkFromCorePalette(_e){return new Scheme({primary:_e.a1.tone(80),onPrimary:_e.a1.tone(20),primaryContainer:_e.a1.tone(30),onPrimaryContainer:_e.a1.tone(90),secondary:_e.a2.tone(80),onSecondary:_e.a2.tone(20),secondaryContainer:_e.a2.tone(30),onSecondaryContainer:_e.a2.tone(90),tertiary:_e.a3.tone(80),onTertiary:_e.a3.tone(20),tertiaryContainer:_e.a3.tone(30),onTertiaryContainer:_e.a3.tone(90),error:_e.error.tone(80),onError:_e.error.tone(20),errorContainer:_e.error.tone(30),onErrorContainer:_e.error.tone(80),background:_e.n1.tone(10),onBackground:_e.n1.tone(90),surface:_e.n1.tone(10),onSurface:_e.n1.tone(90),surfaceVariant:_e.n2.tone(30),onSurfaceVariant:_e.n2.tone(80),outline:_e.n2.tone(60),outlineVariant:_e.n2.tone(30),shadow:_e.n1.tone(0),scrim:_e.n1.tone(0),inverseSurface:_e.n1.tone(90),inverseOnSurface:_e.n1.tone(20),inversePrimary:_e.a1.tone(40)})}constructor(_e){this.props=_e}toJSON(){return{...this.props}}}function hexFromArgb(et){const _e=redFromArgb(et),tt=greenFromArgb(et),nt=blueFromArgb(et),rt=[_e.toString(16),tt.toString(16),nt.toString(16)];for(const[st,it]of rt.entries())it.length===1&&(rt[st]="0"+it);return"#"+rt.join("")}function argbFromHex(et){const _e=(et=et.replace("#","")).length===3,tt=et.length===6,nt=et.length===8;if(!_e&&!tt&&!nt)throw new Error("unexpected hex "+et);let rt=0,st=0,it=0;return _e?(rt=parseIntHex(et.slice(0,1).repeat(2)),st=parseIntHex(et.slice(1,2).repeat(2)),it=parseIntHex(et.slice(2,3).repeat(2))):tt?(rt=parseIntHex(et.slice(0,2)),st=parseIntHex(et.slice(2,4)),it=parseIntHex(et.slice(4,6))):nt&&(rt=parseIntHex(et.slice(2,4)),st=parseIntHex(et.slice(4,6)),it=parseIntHex(et.slice(6,8))),(255<<24|(255&rt)<<16|(255&st)<<8|255&it)>>>0}function parseIntHex(et){return parseInt(et,16)}function themeFromSourceColor(et,_e){_e===void 0&&(_e=[]);const tt=CorePalette.of(et);return{source:et,schemes:{light:Scheme.light(et),dark:Scheme.dark(et)},palettes:{primary:tt.a1,secondary:tt.a2,tertiary:tt.a3,neutral:tt.n1,neutralVariant:tt.n2,error:tt.error},customColors:_e.map(nt=>customColor(et,nt))}}function customColor(et,_e){let tt=_e.value;const nt=tt,rt=et;_e.blend&&(tt=Blend.harmonize(nt,rt));const st=CorePalette.of(tt).a1;return{color:_e,value:tt,light:{color:st.tone(40),onColor:st.tone(100),colorContainer:st.tone(90),onColorContainer:st.tone(10)},dark:{color:st.tone(80),onColor:st.tone(20),colorContainer:st.tone(30),onColorContainer:st.tone(90)}}}function toRGBA(et){const _e=Math.round,tt=et.length,nt={};return et.slice(0,3).toLowerCase()==="rgb"?(et=et.replace(" ","").split(","),nt[0]=parseInt(et[0].slice(et[3].toLowerCase()==="a"?5:4),10),nt[1]=parseInt(et[1],10),nt[2]=parseInt(et[2],10),nt[3]=et[3]?parseFloat(et[3]):-1):(tt<6?et=parseInt(String(et[1])+et[1]+et[2]+et[2]+et[3]+et[3]+(tt>4?String(et[4])+et[4]:""),16):et=parseInt(et.slice(1),16),nt[0]=et>>16&255,nt[1]=et>>8&255,nt[2]=et&255,nt[3]=tt===9||tt===5?_e((et>>24&255)/255*1e4)/1e4:-1),nt}function blend(et,_e,tt){tt===void 0&&(tt=.5);const nt=Math.round;et=et.trim(),_e=_e.trim(),tt=tt<0?tt*-1:tt;const st=toRGBA(et),it=toRGBA(_e);return _e[0]==="r"?"rgb"+(_e[3]==="a"?"a(":"(")+nt((it[0]-st[0])*tt+st[0])+","+nt((it[1]-st[1])*tt+st[1])+","+nt((it[2]-st[2])*tt+st[2])+(st[3]<0&&it[3]<0?"":","+(st[3]>-1&&it[3]>-1?nt(((it[3]-st[3])*tt+st[3])*1e4)/1e4:it[3]<0?st[3]:it[3]))+")":"#"+(4294967296+(st[3]>-1&&it[3]>-1?nt(((it[3]-st[3])*tt+st[3])*255):it[3]>-1?nt(it[3]*255):st[3]>-1?nt(st[3]*255):255)*16777216+nt((it[0]-st[0])*tt+st[0])*65536+nt((it[1]-st[1])*tt+st[1])*256+nt((it[2]-st[2])*tt+st[2])).toString(16).slice(st[3]>-1||it[3]>-1?1:3)}const materialColors=function(et){et===void 0&&(et="");const _e=themeFromSourceColor(argbFromHex(`#${et.replace("#","")}`));[.05,.08,.11,.12,.14].forEach((it,at)=>{_e.schemes.light.props[`surface${at+1}`]=argbFromHex(blend(hexFromArgb(_e.schemes.light.props.surface),hexFromArgb(_e.schemes.light.props.primary),it)),_e.schemes.dark.props[`surface${at+1}`]=argbFromHex(blend(hexFromArgb(_e.schemes.dark.props.surface),hexFromArgb(_e.schemes.dark.props.primary),it))});const tt=it=>it.split("").map(at=>at.toUpperCase()===at&&at!=="-"&&at!=="7"?`-${at.toLowerCase()}`:at).join(""),nt=it=>["tertiary","shadow","scrim","error","background"].filter(ot=>it.toLowerCase().includes(ot)).length>0,rt={},st={};return Object.keys(_e.schemes.light.props).forEach(it=>{nt(it)||(rt[tt(`--f7-md-${it}`)]=hexFromArgb(_e.schemes.light.props[it]))}),Object.keys(_e.schemes.dark.props).forEach(it=>{nt(it)||(st[tt(`--f7-md-${it}`)]=hexFromArgb(_e.schemes.dark.props[it]))}),{light:rt,dark:st}};let uniqueNum=0;function uniqueNumber(){return uniqueNum+=1,uniqueNum}function id(et,_e){et===void 0&&(et="xxxxxxxxxx"),_e===void 0&&(_e="0123456789abcdef");const tt=_e.length;return et.replace(/x/g,()=>_e[Math.floor(Math.random()*tt)])}const mdPreloaderContent=` + + + + + +`.trim(),iosPreloaderContent=` + + ${[0,1,2,3,4,5,6,7].map(()=>'').join("")} + +`.trim();function eventNameToColonCase(et){let _e;return et.split("").map((tt,nt)=>tt.match(/[A-Z]/)&&nt!==0&&!_e?(_e=!0,`:${tt.toLowerCase()}`):tt.toLowerCase()).join("")}function deleteProps$1(et){const _e=et;Object.keys(_e).forEach(tt=>{try{_e[tt]=null}catch{}try{delete _e[tt]}catch{}})}function requestAnimationFrame$1(et){return getWindow$1().requestAnimationFrame(et)}function cancelAnimationFrame$1(et){return getWindow$1().cancelAnimationFrame(et)}function nextTick$2(et,_e){return _e===void 0&&(_e=0),setTimeout(et,_e)}function nextFrame(et){return requestAnimationFrame$1(()=>{requestAnimationFrame$1(et)})}function now$2(){return Date.now()}function parseUrlQuery(et){const _e=getWindow$1(),tt={};let nt=et||_e.location.href,rt,st,it,at;if(typeof nt=="string"&&nt.length)for(nt=nt.indexOf("?")>-1?nt.replace(/\S*\?/,""):"",st=nt.split("&").filter(ot=>ot!==""),at=st.length,rt=0;rt6&&(rt=rt.split(", ").map(at=>at.replace(",",".")).join(", ")),st=new tt.WebKitCSSMatrix(rt==="none"?"":rt)):(st=it.MozTransform||it.OTransform||it.MsTransform||it.msTransform||it.transform||it.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),nt=st.toString().split(",")),_e==="x"&&(tt.WebKitCSSMatrix?rt=st.m41:nt.length===16?rt=parseFloat(nt[12]):rt=parseFloat(nt[4])),_e==="y"&&(tt.WebKitCSSMatrix?rt=st.m42:nt.length===16?rt=parseFloat(nt[13]):rt=parseFloat(nt[5])),rt||0}function serializeObject(et,_e){if(_e===void 0&&(_e=[]),typeof et=="string")return et;const tt=[],nt="&";let rt;function st(at){if(_e.length>0){let ot="";for(let lt=0;lt<_e.length;lt+=1)lt===0?ot+=_e[lt]:ot+=`[${encodeURIComponent(_e[lt])}]`;return`${ot}[${encodeURIComponent(at)}]`}return encodeURIComponent(at)}function it(at){return encodeURIComponent(at)}return Object.keys(et).forEach(at=>{let ot;if(Array.isArray(et[at])){ot=[];for(let lt=0;lt0&&tt.push(ot.join(nt))}else et[at]===null||et[at]===""?tt.push(`${st(at)}=`):typeof et[at]=="object"?(rt=_e.slice(),rt.push(at),ot=serializeObject(et[at],rt),ot!==""&&tt.push(ot)):typeof et[at]<"u"&&et[at]!==""?tt.push(`${st(at)}=${it(et[at])}`):et[at]===""&&tt.push(st(at))}),tt.join(nt)}function isObject$7(et){return typeof et=="object"&&et!==null&&et.constructor&&et.constructor===Object}function merge$2(){for(var et=arguments.length,_e=new Array(et),tt=0;ttrt+rt+st+st+it+it),tt=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(_e);return tt?tt.slice(1).map(nt=>parseInt(nt,16)):null}function colorRgbToHex(et,_e,tt){return`#${[et,_e,tt].map(rt=>{const st=rt.toString(16);return st.length===1?`0${st}`:st}).join("")}`}function colorRgbToHsl(et,_e,tt){et/=255,_e/=255,tt/=255;const nt=Math.max(et,_e,tt),rt=Math.min(et,_e,tt),st=nt-rt;let it;st===0?it=0:nt===et?it=(_e-tt)/st%6:nt===_e?it=(tt-et)/st+2:nt===tt&&(it=(et-_e)/st+4);const at=(rt+nt)/2,ot=st===0?0:st/(1-Math.abs(2*at-1));return it<0&&(it=360/60+it),[it*60,ot,at]}function colorHslToRgb(et,_e,tt){const nt=(1-Math.abs(2*tt-1))*_e,rt=et/60,st=nt*(1-Math.abs(rt%2-1));let it;Number.isNaN(et)||typeof et>"u"?it=[0,0,0]:rt<=1?it=[nt,st,0]:rt<=2?it=[st,nt,0]:rt<=3?it=[0,nt,st]:rt<=4?it=[0,st,nt]:rt<=5?it=[st,0,nt]:rt<=6&&(it=[nt,0,st]);const at=tt-nt/2;return it.map(ot=>Math.max(0,Math.min(255,Math.round(255*(ot+at)))))}function colorHsbToHsl(et,_e,tt){const nt={h:et,s:0,l:0},rt={h:et,s:_e,b:tt};return nt.l=(2-rt.s)*rt.b/2,nt.s=nt.l&&nt.l<1?rt.s*rt.b/(nt.l<.5?nt.l*2:2-nt.l*2):nt.s,[nt.h,nt.s,nt.l]}function colorHslToHsb(et,_e,tt){const nt={h:et,s:0,b:0},rt={h:et,s:_e,l:tt},st=rt.s*(rt.l<.5?rt.l:1-rt.l);return nt.b=rt.l+st,nt.s=rt.l>0?2*st/nt.b:nt.s,[nt.h,nt.s,nt.b]}const getShadeTintColors=et=>{const _e=colorRgbToHsl(...et),tt=[_e[0],_e[1],Math.max(0,_e[2]-.08)],nt=[_e[0],_e[1],Math.max(0,_e[2]+.08)],rt=colorRgbToHex(...colorHslToRgb(...tt)),st=colorRgbToHex(...colorHslToRgb(...nt));return{shade:rt,tint:st}};function colorThemeCSSProperties(){let et,_e;for(var tt=arguments.length,nt=new Array(tt),rt=0;rt{ct.includes("surface-")&&(st[`${ct}-rgb`]=colorHexToRgb(st[ct]))}),Object.keys(it).forEach(ct=>{ct.includes("surface-")&&(it[`${ct}-rgb`]=colorHexToRgb(it[ct]))}),{ios:{"--f7-theme-color":"var(--f7-ios-primary)","--f7-theme-color-rgb":"var(--f7-ios-primary-rgb)","--f7-theme-color-shade":"var(--f7-ios-primary-shade)","--f7-theme-color-tint":"var(--f7-ios-primary-tint)"},md:{"--f7-theme-color":"var(--f7-md-primary)","--f7-theme-color-rgb":"var(--f7-md-primary-rgb)","--f7-theme-color-shade":"var(--f7-md-primary-shade)","--f7-theme-color-tint":"var(--f7-md-primary-tint)"},light:{"--f7-ios-primary":et,"--f7-ios-primary-shade":at.shade,"--f7-ios-primary-tint":at.tint,"--f7-ios-primary-rgb":_e.join(", "),"--f7-md-primary-shade":ot.shade,"--f7-md-primary-tint":ot.tint,"--f7-md-primary-rgb":colorHexToRgb(st["--f7-md-primary"]).join(", "),...st},dark:{"--f7-md-primary-shade":lt.shade,"--f7-md-primary-tint":lt.tint,"--f7-md-primary-rgb":colorHexToRgb(it["--f7-md-primary"]).join(", "),...it}}}function bindMethods(et,_e){Object.keys(_e).forEach(tt=>{isObject$7(_e[tt])&&Object.keys(_e[tt]).forEach(nt=>{typeof _e[tt][nt]=="function"&&(_e[tt][nt]=_e[tt][nt].bind(et))}),et[tt]=_e[tt]})}function flattenArray$1(){const et=[];for(var _e=arguments.length,tt=new Array(_e),nt=0;nt<_e;nt++)tt[nt]=arguments[nt];return tt.forEach(rt=>{Array.isArray(rt)?et.push(...flattenArray$1(...rt)):et.push(rt)}),et}function colorThemeCSSStyles(et){et===void 0&&(et={});const _e=it=>{let at="";return Object.keys(it).forEach(ot=>{at+=`${ot}:${it[ot]};`}),at},tt=colorThemeCSSProperties(et.primary),nt=[":root{",_e(tt.light),"--swiper-theme-color:var(--f7-theme-color);",...Object.keys(et).map(it=>`--f7-color-${it}: ${et[it]};`),"}",".dark{",_e(tt.dark),"}",".ios, .ios .dark{",_e(tt.ios),"}",".md, .md .dark{",_e(tt.md),"}"].join(""),rt={};Object.keys(et).forEach(it=>{const at=et[it];rt[it]=colorThemeCSSProperties(at)});let st="";return Object.keys(et).forEach(it=>{const{light:at,dark:ot,ios:lt,md:ct}=rt[it],ut=` + --f7-ios-primary: #ffffff; + --f7-ios-primary-shade: #ebebeb; + --f7-ios-primary-tint: #ffffff; + --f7-ios-primary-rgb: 255, 255, 255; + --f7-md-primary-shade: #eee; + --f7-md-primary-tint: #fff; + --f7-md-primary-rgb: 255, 255, 255; + --f7-md-primary: #fff; + --f7-md-on-primary: #000; + --f7-md-primary-container: #fff; + --f7-md-on-primary-container: #000; + --f7-md-secondary: #fff; + --f7-md-on-secondary: #000; + --f7-md-secondary-container: #555; + --f7-md-on-secondary-container: #fff; + --f7-md-surface: #fff; + --f7-md-on-surface: #000; + --f7-md-surface-variant: #333; + --f7-md-on-surface-variant: #fff; + --f7-md-outline: #fff; + --f7-md-outline-variant: #fff; + --f7-md-inverse-surface: #000; + --f7-md-inverse-on-surface: #fff; + --f7-md-inverse-primary: #000; + --f7-md-surface-1: #f8f8f8; + --f7-md-surface-2: #f1f1f1; + --f7-md-surface-3: #e7e7e7; + --f7-md-surface-4: #e1e1e1; + --f7-md-surface-5: #d7d7d7; + --f7-md-surface-variant-rgb: 51, 51, 51; + --f7-md-on-surface-variant-rgb: 255, 255, 255; + --f7-md-surface-1-rgb: 248, 248, 248; + --f7-md-surface-2-rgb: 241, 241, 241; + --f7-md-surface-3-rgb: 231, 231, 231; + --f7-md-surface-4-rgb: 225, 225, 225; + --f7-md-surface-5-rgb: 215, 215, 215; + `,dt=` + --f7-ios-primary: #000; + --f7-ios-primary-shade: #000; + --f7-ios-primary-tint: #232323; + --f7-ios-primary-rgb: 0, 0, 0; + --f7-md-primary-shade: #000; + --f7-md-primary-tint: #232323; + --f7-md-primary-rgb: 0, 0, 0; + --f7-md-primary: #000; + --f7-md-on-primary: #fff; + --f7-md-primary-container: #000; + --f7-md-on-primary-container: #fff; + --f7-md-secondary: #000; + --f7-md-on-secondary: #fff; + --f7-md-secondary-container: #aaa; + --f7-md-on-secondary-container: #000; + --f7-md-surface: #000; + --f7-md-on-surface: #fff; + --f7-md-surface-variant: #ccc; + --f7-md-on-surface-variant: #000; + --f7-md-outline: #000; + --f7-md-outline-variant: #000; + --f7-md-inverse-surface: #fff; + --f7-md-inverse-on-surface: #000; + --f7-md-inverse-primary: #fff; + --f7-md-surface-1: #070707; + --f7-md-surface-2: #161616; + --f7-md-surface-3: #232323; + --f7-md-surface-4: #303030; + --f7-md-surface-5: #373737; + --f7-md-surface-variant-rgb: 204, 204, 204; + --f7-md-on-surface-variant-rgb: 0, 0, 0; + --f7-md-surface-1-rgb: 7, 7, 7; + --f7-md-surface-2-rgb: 22, 22, 22; + --f7-md-surface-3-rgb: 35, 35, 35; + --f7-md-surface-4-rgb: 48, 48, 48; + --f7-md-surface-5-rgb: 55, 55, 55; + `,ft=it==="white"?ut:it==="black"?dt:_e(at),pt=it==="white"?ut:it==="black"?dt:_e(ot);st+=[`.color-${it} {`,ft,"--swiper-theme-color: var(--f7-theme-color);","}",`.color-${it}.dark, .color-${it} .dark, .dark .color-${it} {`,pt,"--swiper-theme-color: var(--f7-theme-color);","}",`.ios .color-${it}, .ios.color-${it}, .ios .dark .color-${it}, .ios .dark.color-${it} {`,_e(lt),"}",`.md .color-${it}, .md.color-${it}, .md .dark .color-${it}, .md .dark.color-${it} {`,_e(ct),"}",`.text-color-${it} {`,`--f7-theme-color-text-color: ${et[it]};`,"}",`.bg-color-${it} {`,`--f7-theme-color-bg-color: ${et[it]};`,"}",`.border-color-${it} {`,`--f7-theme-color-border-color: ${et[it]};`,"}",`.ripple-color-${it} {`,`--f7-theme-color-ripple-color: rgba(${at["--f7-ios-primary-rgb"]}, 0.3);`,"}"].join("")}),`${nt}${st}`}const utils$1=Object.freeze(Object.defineProperty({__proto__:null,bindMethods,cancelAnimationFrame:cancelAnimationFrame$1,colorHexToRgb,colorHsbToHsl,colorHslToHsb,colorHslToRgb,colorRgbToHex,colorRgbToHsl,colorThemeCSSProperties,colorThemeCSSStyles,deleteProps:deleteProps$1,eventNameToColonCase,extend:extend$5,flattenArray:flattenArray$1,getTranslate:getTranslate$1,id,iosPreloaderContent,isObject:isObject$7,mdPreloaderContent,merge:merge$2,nextFrame,nextTick:nextTick$2,now:now$2,parseUrlQuery,requestAnimationFrame:requestAnimationFrame$1,serializeObject,uniqueNumber},Symbol.toStringTag,{value:"Module"}));let support$1;function calcSupport$1(){const et=getWindow$1(),_e=getDocument$1();return{touch:!!("ontouchstart"in et||et.DocumentTouch&&_e instanceof et.DocumentTouch),pointerEvents:!!et.PointerEvent&&"maxTouchPoints"in et.navigator&&et.navigator.maxTouchPoints>=0,passiveListener:function(){let nt=!1;try{const rt=Object.defineProperty({},"passive",{get(){nt=!0}});et.addEventListener("testPassiveListener",null,rt)}catch{}return nt}(),intersectionObserver:function(){return"IntersectionObserver"in et}()}}function getSupport$1(){return support$1||(support$1=calcSupport$1()),support$1}let deviceCalculated;function calcDevice$1(et){let{userAgent:_e}=et===void 0?{}:et;const tt=getSupport$1(),nt=getWindow$1(),rt=nt.navigator.platform,st=_e||nt.navigator.userAgent,it={ios:!1,android:!1,androidChrome:!1,desktop:!1,iphone:!1,ipod:!1,ipad:!1,edge:!1,ie:!1,firefox:!1,macos:!1,windows:!1,cordova:!!nt.cordova,electron:!1,capacitor:!!nt.Capacitor,nwjs:!1},at=nt.screen.width,ot=nt.screen.height,lt=st.match(/(Android);?[\s\/]+([\d.]+)?/);let ct=st.match(/(iPad).*OS\s([\d_]+)/);const ut=st.match(/(iPod)(.*OS\s([\d_]+))?/),dt=!ct&&st.match(/(iPhone\sOS|iOS|iPhone;\sCPU\sOS)\s([\d_]+)/),ft=st.indexOf("MSIE ")>=0||st.indexOf("Trident/")>=0,pt=st.indexOf("Edge/")>=0,ht=st.indexOf("Gecko/")>=0&&st.indexOf("Firefox/")>=0,vt=rt==="Win32",gt=st.toLowerCase().indexOf("electron")>=0,mt=typeof nw<"u"&&typeof process<"u"&&typeof process.versions<"u"&&typeof process.versions.nw<"u";let bt=rt==="MacIntel";const xt=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];!ct&&bt&&tt.touch&&xt.indexOf(`${at}x${ot}`)>=0&&(ct=st.match(/(Version)\/([\d.]+)/),ct||(ct=[0,1,"13_0_0"]),bt=!1),it.ie=ft,it.edge=pt,it.firefox=ht,lt&&(it.os="android",it.osVersion=lt[2],it.android=!0,it.androidChrome=st.toLowerCase().indexOf("chrome")>=0),(ct||dt||ut)&&(it.os="ios",it.ios=!0),dt&&!ut&&(it.osVersion=dt[2].replace(/_/g,"."),it.iphone=!0),ct&&(it.osVersion=ct[2].replace(/_/g,"."),it.ipad=!0),ut&&(it.osVersion=ut[3]?ut[3].replace(/_/g,"."):null,it.ipod=!0),it.ios&&it.osVersion&&st.indexOf("Version/")>=0&&it.osVersion.split(".")[0]==="10"&&(it.osVersion=st.toLowerCase().split("version/")[1].split(" ")[0]),it.webView=!!((dt||ct||ut)&&(st.match(/.*AppleWebKit(?!.*Safari)/i)||nt.navigator.standalone))||nt.matchMedia&&nt.matchMedia("(display-mode: standalone)").matches,it.webview=it.webView,it.standalone=it.webView,it.desktop=!(it.ios||it.android)||gt||mt,it.desktop&&(it.electron=gt,it.nwjs=mt,it.macos=bt,it.windows=vt,it.macos&&(it.os="macos"),it.windows&&(it.os="windows")),it.pixelRatio=nt.devicePixelRatio||1;const yt="(prefers-color-scheme: dark)",$t="(prefers-color-scheme: light)";return it.prefersColorScheme=function(){let Ct;return nt.matchMedia&&nt.matchMedia($t).matches&&(Ct="light"),nt.matchMedia&&nt.matchMedia(yt).matches&&(Ct="dark"),Ct},it}function getDevice$1(et,_e){return et===void 0&&(et={}),(!deviceCalculated||_e)&&(deviceCalculated=calcDevice$1(et)),deviceCalculated}class EventsClass{constructor(_e){_e===void 0&&(_e=[]);const tt=this;tt.eventsParents=_e,tt.eventsListeners={}}on(_e,tt,nt){const rt=this;if(typeof tt!="function")return rt;const st=nt?"unshift":"push";return _e.split(" ").forEach(it=>{rt.eventsListeners[it]||(rt.eventsListeners[it]=[]),rt.eventsListeners[it][st](tt)}),rt}once(_e,tt,nt){const rt=this;if(typeof tt!="function")return rt;function st(){rt.off(_e,st),st.f7proxy&&delete st.f7proxy;for(var it=arguments.length,at=new Array(it),ot=0;ot{typeof tt>"u"?nt.eventsListeners[rt]=[]:nt.eventsListeners[rt]&&nt.eventsListeners[rt].forEach((st,it)=>{(st===tt||st.f7proxy&&st.f7proxy===tt)&&nt.eventsListeners[rt].splice(it,1)})}),nt}emit(){const _e=this;if(!_e.eventsListeners)return _e;let tt,nt,rt,st;for(var it=arguments.length,at=new Array(it),ot=0;otdt.replace("local::","")),ut=lt.filter(dt=>dt.indexOf("local::")<0);return ct.forEach(dt=>{if(_e.eventsListeners&&_e.eventsListeners[dt]){const ft=[];_e.eventsListeners[dt].forEach(pt=>{ft.push(pt)}),ft.forEach(pt=>{pt.apply(rt,nt)})}}),st&&st.length>0&&st.forEach(dt=>{dt.emit(ut,...nt)}),_e}}class Framework7Class extends EventsClass{constructor(_e,tt){_e===void 0&&(_e={}),tt===void 0&&(tt=[]),super(tt);const nt=this;nt.params=_e,nt.params&&nt.params.on&&Object.keys(nt.params.on).forEach(rt=>{nt.on(rt,nt.params.on[rt])})}useModuleParams(_e,tt){if(_e.params){const nt={};Object.keys(_e.params).forEach(rt=>{typeof tt[rt]>"u"||(nt[rt]=extend$5({},tt[rt]))}),extend$5(tt,_e.params),Object.keys(nt).forEach(rt=>{extend$5(tt[rt],nt[rt])})}}useModulesParams(_e){const tt=this;tt.modules&&Object.keys(tt.modules).forEach(nt=>{const rt=tt.modules[nt];rt.params&&extend$5(_e,rt.params)})}useModule(_e,tt){_e===void 0&&(_e=""),tt===void 0&&(tt={});const nt=this;if(!nt.modules)return;const rt=typeof _e=="string"?nt.modules[_e]:_e;rt&&(rt.instance&&Object.keys(rt.instance).forEach(st=>{const it=rt.instance[st];typeof it=="function"?nt[st]=it.bind(nt):nt[st]=it}),rt.on&&nt.on&&Object.keys(rt.on).forEach(st=>{nt.on(st,rt.on[st])}),rt.vnode&&(nt.vnodeHooks||(nt.vnodeHooks={}),Object.keys(rt.vnode).forEach(st=>{Object.keys(rt.vnode[st]).forEach(it=>{const at=rt.vnode[st][it];nt.vnodeHooks[it]||(nt.vnodeHooks[it]={}),nt.vnodeHooks[it][st]||(nt.vnodeHooks[it][st]=[]),nt.vnodeHooks[it][st].push(at.bind(nt))})})),rt.create&&rt.create.bind(nt)(tt))}useModules(_e){_e===void 0&&(_e={});const tt=this;tt.modules&&Object.keys(tt.modules).forEach(nt=>{const rt=_e[nt]||{};tt.useModule(nt,rt)})}static set components(_e){const tt=this;tt.use&&tt.use(_e)}static installModule(_e){const tt=this;tt.prototype.modules||(tt.prototype.modules={});const nt=_e.name||`${Object.keys(tt.prototype.modules).length}_${now$2()}`;if(tt.prototype.modules[nt]=_e,_e.proto&&Object.keys(_e.proto).forEach(at=>{tt.prototype[at]=_e.proto[at]}),_e.static&&Object.keys(_e.static).forEach(at=>{tt[at]=_e.static[at]}),_e.install){for(var rt=arguments.length,st=new Array(rt>1?rt-1:0),it=1;ittt.installModule(it)),tt;for(var nt=arguments.length,rt=new Array(nt>1?nt-1:0),st=1;st{it[at]=function(ot){ot===void 0&&(ot=_e);const lt=it.get(ot);for(var ct=arguments.length,ut=new Array(ct>1?ct-1:0),dt=1;dt1&&at){const ct=$$1(at).parents(".page");ct.length&&ot.each(ut=>{const dt=$$1(ut);dt.parents(ct)[0]===ct[0]&&(ot=dt)})}if(ot.length>1&&(ot=ot.eq(ot.length-1)),!ot.length)return;let lt=ot[0].f7Modal;if(!lt){const ct=ot.dataset();lt=new tt(nt,{el:ot,...ct})}return lt.open(it)},close(st,it,at){st===void 0&&(st=_e);let ot=$$1(st);if(!ot.length)return;if(ot.length>1){let ct;if(at){const ut=$$1(at);ut.length&&(ct=ut.parents(ot))}ct&&ct.length>0?ot=ct:ot=ot.eq(ot.length-1)}let lt=ot[0].f7Modal;if(!lt){const ct=ot.dataset();lt=new tt(nt,{el:ot,...ct})}return lt.close(it)}})}const fetchedModules=[];function loadModule(et){const _e=this,tt=getWindow$1(),nt=getDocument$1();return new Promise((rt,st)=>{const it=_e.instance;let at,ot,lt;if(!et){st(new Error("Framework7: Lazy module must be specified"));return}function ct(ut){_e.use(ut),it&&(it.useModuleParams(ut,it.params),it.useModule(ut))}if(typeof et=="string"){const ut=et.match(/([a-z0-9-]*)/i);if(et.indexOf(".")<0&&ut&&ut[0].length===et.length){if(!it||it&&!it.params.lazyModulesPath){st(new Error('Framework7: "lazyModulesPath" app parameter must be specified to fetch module by name'));return}at=`${it.params.lazyModulesPath}/${et}/${et}.lazy.js`}else at=et}else typeof et=="function"?lt=et:ot=et;if(lt){const ut=lt(_e,!1);if(!ut){st(new Error("Framework7: Can't find Framework7 component in specified component function"));return}if(_e.prototype.modules&&_e.prototype.modules[ut.name]){rt();return}ct(ut),rt()}if(ot){const ut=ot;if(!ut){st(new Error("Framework7: Can't find Framework7 component in specified component"));return}if(_e.prototype.modules&&_e.prototype.modules[ut.name]){rt();return}ct(ut),rt()}if(at){if(fetchedModules.indexOf(at)>=0){rt();return}fetchedModules.push(at);const ut=new Promise((ft,pt)=>{fetch(at).then(ht=>ht.text()).then(ht=>{const gt=`f7_component_loader_callback_${id()}`,mt=nt.createElement("script");mt.innerHTML=`window.${gt} = function (Framework7, Framework7AutoInstallComponent) {return ${ht.trim()}}`,$$1("head").append(mt);const bt=tt[gt];delete tt[gt],$$1(mt).remove();const xt=bt(_e,!1);if(!xt){pt(new Error(`Framework7: Can't find Framework7 component in ${at} file`));return}if(_e.prototype.modules&&_e.prototype.modules[xt.name]){ft();return}ct(xt),ft()}).catch(ht=>{pt(ht)})}),dt=new Promise(ft=>{fetch(at.replace(".lazy.js",it.rtl?".rtl.css":".css").replace(".js",it.rtl?".rtl.css":".css")).then(pt=>pt.text()).then(pt=>{const ht=nt.createElement("style");ht.innerHTML=pt,$$1("head").append(ht),ft()}).catch(()=>{ft()})});Promise.all([ut,dt]).then(()=>{rt()}).catch(ft=>{st(ft)})}})}const $jsx=function(et,_e){const tt=_e||{};for(var nt=arguments.length,rt=new Array(nt>2?nt-2:0),st=2;stlt[0]==="_"?tt[lt]?lt.replace("_",""):"":`${lt}="${tt[lt]}"`).filter(lt=>!!lt).join(" ");if(["path","img","circle","polygon","line","input"].indexOf(et)>=0)return`<${et} ${at} />`.trim();const ot=it.filter(lt=>!!lt).map(lt=>Array.isArray(lt)?lt.join(""):lt).join("");return`<${et} ${at}>${ot}`.trim()};class Framework7 extends Framework7Class{constructor(_e){if(_e===void 0&&(_e={}),super(_e),Framework7.instance&&typeof window<"u")throw new Error("Framework7 is already initialized and can't be initialized more than once");const tt=getDevice$1({userAgent:_e.userAgent||void 0}),nt=getSupport$1(),rt=extend$5({},_e),st=this;st.device=tt,st.support=nt;const it=getWindow$1(),at=getDocument$1();Framework7.instance=st;const ot={el:"body",theme:"auto",routes:[],name:"Framework7",lazyModulesPath:null,initOnDeviceReady:!0,init:!0,darkMode:void 0,iosTranslucentBars:!0,iosTranslucentModals:!0,component:void 0,componentUrl:void 0,userAgent:null,url:null,colors:{primary:"#007aff",red:"#ff3b30",green:"#4cd964",blue:"#2196f3",pink:"#ff2d55",yellow:"#ffcc00",orange:"#ff9500",purple:"#9c27b0",deeppurple:"#673ab7",lightblue:"#5ac8fa",teal:"#009688",lime:"#cddc39",deeporange:"#ff6b22",white:"#ffffff",black:"#000000"}};return st.useModulesParams(ot),st.params=extend$5(ot,_e),extend$5(st,{name:st.params.name,routes:st.params.routes,theme:function(){return st.params.theme==="auto"?tt.ios?"ios":"md":st.params.theme}(),passedParams:rt,online:it.navigator.onLine,colors:st.params.colors,darkMode:st.params.darkMode}),_e.store&&(st.params.store=_e.store),st.$el&&st.$el[0]&&(st.$el[0].f7=st),st.useModules(),st.initStore(),st.params.init&&(tt.cordova&&st.params.initOnDeviceReady?$$1(at).on("deviceready",()=>{st.init()}):st.init()),st}setColorTheme(_e){if(!_e)return;const tt=this;tt.colors.primary=_e,tt.setColors()}setColors(){const _e=this,tt=getDocument$1();_e.colorsStyleEl||(_e.colorsStyleEl=tt.createElement("style"),tt.head.appendChild(_e.colorsStyleEl)),_e.colorsStyleEl.textContent=_e.utils.colorThemeCSSStyles(_e.colors)}mount(_e){const tt=this,nt=getWindow$1(),rt=getDocument$1(),st=$$1(_e||tt.params.el).eq(0);tt.$el=st,tt.$el&&tt.$el[0]&&(tt.el=tt.$el[0],tt.el.f7=tt,tt.rtl=st.css("direction")==="rtl");const it="(prefers-color-scheme: dark)",at="(prefers-color-scheme: light)";tt.mq={},nt.matchMedia&&(tt.mq.dark=nt.matchMedia(it),tt.mq.light=nt.matchMedia(at)),tt.colorSchemeListener=function(lt){let{matches:ct,media:ut}=lt;if(!ct)return;const dt=rt.querySelector("html");ut===it?(dt.classList.add("dark"),tt.darkMode=!0,tt.emit("darkModeChange",!0)):ut===at&&(dt.classList.remove("dark"),tt.darkMode=!1,tt.emit("darkModeChange",!1))},tt.emit("mount")}initStore(){const _e=this;typeof _e.params.store<"u"&&_e.params.store.__store?_e.store=_e.params.store:_e.store=_e.createStore(_e.params.store)}enableAutoDarkMode(){const _e=getWindow$1(),tt=getDocument$1();if(!_e.matchMedia)return;const nt=this,rt=tt.querySelector("html");nt.mq.dark&&nt.mq.light&&(nt.mq.dark.addListener(nt.colorSchemeListener),nt.mq.light.addListener(nt.colorSchemeListener)),nt.mq.dark&&nt.mq.dark.matches?(rt.classList.add("dark"),nt.darkMode=!0,nt.emit("darkModeChange",!0)):nt.mq.light&&nt.mq.light.matches&&(rt.classList.remove("dark"),nt.darkMode=!1,nt.emit("darkModeChange",!1))}disableAutoDarkMode(){if(!getWindow$1().matchMedia)return;const tt=this;tt.mq.dark&&tt.mq.dark.removeListener(tt.colorSchemeListener),tt.mq.light&&tt.mq.light.removeListener(tt.colorSchemeListener)}setDarkMode(_e){const tt=this;_e==="auto"?tt.enableAutoDarkMode():(tt.disableAutoDarkMode(),$$1("html")[_e?"addClass":"removeClass"]("dark"),tt.darkMode=_e)}initAppComponent(_e){const tt=this;tt.router.componentLoader(tt.params.component,tt.params.componentUrl,{componentOptions:{el:tt.$el[0]}},nt=>{tt.$el=$$1(nt),tt.$el[0].f7=tt,tt.$elComponent=nt.f7Component,tt.el=tt.$el[0],_e&&_e()},()=>{})}init(_e){const tt=this;tt.setColors(),tt.mount(_e);const nt=()=>{if(tt.initialized)return;tt.$el.addClass("framework7-initializing"),tt.rtl&&$$1("html").attr("dir","rtl"),typeof tt.params.darkMode>"u"?tt.darkMode=$$1("html").hasClass("dark"):tt.setDarkMode(tt.params.darkMode);const rt=getWindow$1();rt.addEventListener("offline",()=>{tt.online=!1,tt.emit("offline"),tt.emit("connection",!1)}),rt.addEventListener("online",()=>{tt.online=!0,tt.emit("online"),tt.emit("connection",!0)}),tt.$el.addClass("framework7-root"),$$1("html").removeClass("ios md").addClass(tt.theme),tt.params.iosTranslucentBars&&tt.theme==="ios"&&$$1("html").addClass("ios-translucent-bars"),tt.params.iosTranslucentModals&&tt.theme==="ios"&&$$1("html").addClass("ios-translucent-modals"),nextFrame(()=>{tt.$el.removeClass("framework7-initializing")}),tt.initialized=!0,tt.emit("init")};return tt.params.component||tt.params.componentUrl?tt.initAppComponent(()=>{nt()}):nt(),tt}loadModule(){return Framework7.loadModule(...arguments)}loadModules(){return Framework7.loadModules(...arguments)}getVnodeHooks(_e,tt){const nt=this;return!nt.vnodeHooks||!nt.vnodeHooks[_e]?[]:nt.vnodeHooks[_e][tt]||[]}get $(){return $$1}static get Dom7(){return $$1}static get $(){return $$1}static get device(){return getDevice$1()}static get support(){return getSupport$1()}static get Class(){return Framework7Class}static get Events(){return EventsClass}}Framework7.$jsx=$jsx;Framework7.ModalMethods=ModalMethods;Framework7.ConstructorMethods=ConstructorMethods;Framework7.loadModule=loadModule;Framework7.loadModules=function(_e){return Promise.all(_e.map(tt=>Framework7.loadModule(tt)))};const DeviceModule={name:"device",static:{getDevice:getDevice$1},on:{init(){const et=getDocument$1(),_e=getDevice$1(),tt=[],nt=et.querySelector("html"),rt=et.querySelector('meta[name="apple-mobile-web-app-status-bar-style"]');nt&&(_e.standalone&&_e.ios&&rt&&rt.content==="black-translucent"&&tt.push("device-full-viewport"),tt.push(`device-pixel-ratio-${Math.floor(_e.pixelRatio)}`),_e.os&&!_e.desktop?tt.push(`device-${_e.os}`):_e.desktop&&(tt.push("device-desktop"),_e.os&&tt.push(`device-${_e.os}`)),_e.cordova&&tt.push("device-cordova"),_e.capacitor&&tt.push("device-capacitor"),tt.forEach(st=>{nt.classList.add(st)}))}}},SupportModule={name:"support",static:{getSupport:getSupport$1}},UtilsModule={name:"utils",proto:{utils:utils$1},static:{utils:utils$1}},ResizeModule={name:"resize",create(){const et=this;et.getSize=()=>{if(!et.el)return{width:0,height:0,left:0,top:0};const _e=et.$el.offset(),[tt,nt,rt,st]=[et.el.offsetWidth,et.el.offsetHeight,_e.left,_e.top];return et.width=tt,et.height=nt,et.left=rt,et.top=st,{width:tt,height:nt,left:rt,top:st}}},on:{init(){const et=this,_e=getWindow$1();et.getSize(),_e.addEventListener("resize",()=>{et.emit("resize")},!1),_e.addEventListener("orientationchange",()=>{et.emit("orientationchange")})},orientationchange(){const et=getDocument$1();getDevice$1().ipad&&(et.body.scrollLeft=0,setTimeout(()=>{et.body.scrollLeft=0},0))},resize(){this.getSize()}}};function initTouch(){const et=this,_e=getDevice$1(),tt=getSupport$1(),nt=getWindow$1(),rt=getDocument$1(),st=et.params.touch,it=st[`${et.theme}TouchRipple`];_e.ios&&_e.webView&&nt.addEventListener("touchstart",()=>{});let at,ot,lt,ct,ut,dt,ft,pt,ht,vt,gt,mt;function bt(Yt){const xn=$$1(Yt),$n=xn.parents(st.activeStateElements);if(xn.closest(".no-active-state").length)return null;let gn;if(xn.is(st.activeStateElements)&&(gn=xn),$n.length>0&&(gn=gn?gn.add($n):$n),gn&&gn.length>1){const wn=[];let _n;for(let Cn=0;Cn0}function yt(){pt&&pt.addClass("active-state")}function $t(){pt&&(pt.removeClass("active-state"),pt=null)}function wt(Yt){const xn=st.touchRippleElements,$n=$$1(Yt);if($n.is(xn))return $n.hasClass("no-ripple")?!1:$n;if($n.parents(xn).length>0){const gn=$n.parents(xn).eq(0);return gn.hasClass("no-ripple")?!1:gn}return!1}function Ct(Yt,xn,$n){Yt&&(vt=et.touchRipple.create(et,Yt,xn,$n))}function Et(){vt&&(vt.remove(),vt=void 0,gt=void 0)}function Mt(Yt){if(gt=wt(Yt),!gt||gt.length===0){gt=void 0;return}xt(gt)?(clearTimeout(mt),mt=setTimeout(()=>{Et(),Ct(gt,at,ot)},80)):(Et(),Ct(gt,at,ot))}function St(){clearTimeout(mt),Et()}function Rt(){!vt&>&&!ct?(clearTimeout(mt),Ct(gt,at,ot),setTimeout(Et,0)):Et()}function Pt(Yt){const xn=bt(Yt.target);xn&&(xn.addClass("active-state"),"which"in Yt&&Yt.which===3&&setTimeout(()=>{$$1(".active-state").removeClass("active-state")},0)),it&&(at=Yt.pageX,ot=Yt.pageY,Mt(Yt.target,Yt.pageX,Yt.pageY))}function kt(){st.activeStateOnMouseMove||$$1(".active-state").removeClass("active-state"),it&&St()}function _t(){$$1(".active-state").removeClass("active-state"),it&&Rt()}function Bt(){lt=null,clearTimeout(ht),clearTimeout(dt),st.activeState&&$t(),it&&Rt()}let It,At=!1,Tt=null;const Dt=".dialog-button, .actions-button";let Nt=!1,Ot=null;function Lt(Yt){return Yt.isTrusted?(ct=!1,ut=!1,ft=!1,It=void 0,Yt.targetTouches.length>1?(pt&&$t(),!0):(Yt.touches.length>1&&pt&&$t(),st.tapHold&&(dt&&clearTimeout(dt),dt=setTimeout(()=>{Yt&&Yt.touches&&Yt.touches.length>1||(ut=!0,Yt.preventDefault(),ft=!0,$$1(Yt.target).trigger("taphold",Yt),et.emit("taphold",Yt))},st.tapHoldDelay)),lt=Yt.target,at=Yt.targetTouches[0].pageX,ot=Yt.targetTouches[0].pageY,At=Yt.target.closest(".segmented-strong .button-active, .segmented-strong .tab-link-active"),Nt=et.theme==="ios"&&Yt.target.closest(Dt),At&&(Tt=At.closest(".segmented-strong")),st.activeState&&(pt=bt(lt),pt&&!xt(pt)?yt():pt&&(ht=setTimeout(yt,80))),it&&Mt(lt,at,ot),!0)):!0}function jt(Yt){if(!Yt.isTrusted)return;let xn,$n,gn=!0;Yt.type==="touchmove"&&(xn=Yt.targetTouches[0],$n=st.touchClicksDistanceThreshold);const wn=Yt.targetTouches[0].pageX,_n=Yt.targetTouches[0].pageY;if(typeof It>"u"&&(It=!!(It||Math.abs(_n-ot)>Math.abs(wn-at))),(Nt||!It&&At&&Tt)&&Yt.cancelable&&Yt.preventDefault(),!It&&At&&Tt){const Sn=rt.elementFromPoint(Yt.targetTouches[0].clientX,Yt.targetTouches[0].clientY).closest(".segmented-strong .button:not(.button-active):not(.tab-link-active)");Sn&&Tt.contains(Sn)&&($$1(Sn).trigger("click","f7Segmented"),lt=Sn)}if($n&&xn){const Cn=xn.pageX,Sn=xn.pageY;(Math.abs(Cn-at)>$n||Math.abs(Sn-ot)>$n)&&(ct=!0)}else ct=!0;ct&&(ft=!0,Nt&&(Ot=rt.elementFromPoint(Yt.targetTouches[0].clientX,Yt.targetTouches[0].clientY).closest(Dt),Ot&&pt&&pt[0]===Ot?gn=!1:Ot&&setTimeout(()=>{pt=bt(Ot),yt()})),st.tapHold&&clearTimeout(dt),st.activeState&&gn&&(clearTimeout(ht),$t()),it&&St())}function Ht(Yt){return Yt.isTrusted?(It=void 0,At=!1,Tt=null,Nt=!1,clearTimeout(ht),clearTimeout(dt),Ot&&($$1(Ot).trigger("click","f7TouchMoveActivable"),Ot=null),rt.activeElement===Yt.target?(st.activeState&&$t(),it&&Rt(),!0):(st.activeState&&(yt(),setTimeout($t,0)),it&&Rt(),st.tapHoldPreventClicks&&ut||ft?(Yt.cancelable&&Yt.preventDefault(),ft=!0,!1):!0)):!0}function Ft(Yt){const xn=Yt&&Yt.detail&&Yt.detail==="f7Overswipe",$n=Yt&&Yt.detail&&Yt.detail==="f7Segmented",gn=Yt&&Yt.detail&&Yt.detail==="f7TouchMoveActivable";let wn=ft;return lt&&Yt.target!==lt?xn||$n||gn?wn=!1:wn=!0:gn&&(wn=!1),st.tapHold&&st.tapHoldPreventClicks&&ut&&(wn=!0),wn&&(Yt.stopImmediatePropagation(),Yt.stopPropagation(),Yt.preventDefault()),st.tapHold&&(dt=setTimeout(()=>{ut=!1},_e.ios||_e.androidChrome?100:400)),ft=!1,lt=null,!wn}function Vt(Yt,xn){et.emit({events:Yt,data:[xn]})}function zt(Yt){Vt("click",Yt)}function Ut(Yt){Vt("touchstart touchstart:active",Yt)}function qt(Yt){Vt("touchmove touchmove:active",Yt)}function Wt(Yt){Vt("touchend touchend:active",Yt)}function Jt(Yt){Vt("touchstart:passive",Yt)}function Qt(Yt){Vt("touchmove:passive",Yt)}function Zt(Yt){Vt("touchend:passive",Yt)}const Gt=tt.passiveListener?{passive:!0}:!1,Kt=tt.passiveListener?{passive:!0,capture:!0}:!0,hn=tt.passiveListener?{passive:!1}:!1,mn=tt.passiveListener?{passive:!1,capture:!0}:!0;rt.addEventListener("click",zt,!0),tt.passiveListener?(rt.addEventListener(et.touchEvents.start,Ut,mn),rt.addEventListener(et.touchEvents.move,qt,hn),rt.addEventListener(et.touchEvents.end,Wt,hn),rt.addEventListener(et.touchEvents.start,Jt,Kt),rt.addEventListener(et.touchEvents.move,Qt,Gt),rt.addEventListener(et.touchEvents.end,Zt,Gt)):(rt.addEventListener(et.touchEvents.start,Yt=>{Ut(Yt),Jt(Yt)},!0),rt.addEventListener(et.touchEvents.move,Yt=>{qt(Yt),Qt(Yt)},!1),rt.addEventListener(et.touchEvents.end,Yt=>{Wt(Yt),Zt(Yt)},!1)),tt.touch?(et.on("click",Ft),et.on("touchstart",Lt),et.on("touchmove",jt),et.on("touchend",Ht),rt.addEventListener("touchcancel",Bt,{passive:!0})):st.activeState&&(et.on("touchstart",Pt),et.on("touchmove",kt),et.on("touchend",_t),rt.addEventListener("pointercancel",_t,{passive:!0})),rt.addEventListener("contextmenu",Yt=>{st.disableContextMenu&&(_e.ios||_e.android||_e.cordova||nt.Capacitor&&nt.Capacitor.isNative)&&Yt.preventDefault(),it&&(pt&&$t(),Rt())})}const TouchModule={name:"touch",params:{touch:{touchClicksDistanceThreshold:5,disableContextMenu:!1,tapHold:!1,tapHoldDelay:750,tapHoldPreventClicks:!0,activeState:!0,activeStateElements:"a, button, label, span, .actions-button, .stepper-button, .stepper-button-plus, .stepper-button-minus, .card-expandable, .link, .item-link, .accordion-item-toggle",activeStateOnMouseMove:!1,mdTouchRipple:!0,iosTouchRipple:!1,touchRippleElements:".ripple, .link, .item-link, .list label.item-content, .list-button, .links-list a, .button, button, .input-clear-button, .dialog-button, .tab-link, .item-radio, .item-checkbox, .actions-button, .searchbar-disable-button, .fab a, .checkbox, .radio, .data-table .sortable-cell:not(.input-cell), .notification-close-button, .stepper-button, .stepper-button-minus, .stepper-button-plus, .list.accordion-list .accordion-item-toggle",touchRippleInsetElements:".ripple-inset, .icon-only, .searchbar-disable-button, .input-clear-button, .notification-close-button, .md .navbar .link.back"}},create(){const et=this,_e=getSupport$1();extend$5(et,{touchEvents:{start:_e.touch?"touchstart":_e.pointerEvents?"pointerdown":"mousedown",move:_e.touch?"touchmove":_e.pointerEvents?"pointermove":"mousemove",end:_e.touch?"touchend":_e.pointerEvents?"pointerup":"mouseup"}})},on:{init:initTouch}};function lexer(et){for(var _e=[],tt=0;tt=48&&it<=57||it>=65&&it<=90||it>=97&&it<=122||it===95){rt+=et[st++];continue}break}if(!rt)throw new TypeError("Missing parameter name at ".concat(tt));_e.push({type:"NAME",index:tt,value:rt}),tt=st;continue}if(nt==="("){var at=1,ot="",st=tt+1;if(et[st]==="?")throw new TypeError('Pattern cannot start with "?" at '.concat(st));for(;st)?(?!\?)/g,nt=0,rt=tt.exec(et.source);rt;)_e.push({name:rt[1]||nt++,prefix:"",suffix:"",modifier:"",pattern:""}),rt=tt.exec(et.source);return et}function arrayToRegexp(et,_e,tt){var nt=et.map(function(rt){return pathToRegexp(rt,_e,tt).source});return new RegExp("(?:".concat(nt.join("|"),")"),flags(tt))}function stringToRegexp(et,_e,tt){return tokensToRegexp(parse$2(et,tt),_e,tt)}function tokensToRegexp(et,_e,tt){tt===void 0&&(tt={});for(var nt=tt.strict,rt=nt===void 0?!1:nt,st=tt.start,it=st===void 0?!0:st,at=tt.end,ot=at===void 0?!0:at,lt=tt.encode,ct=lt===void 0?function(Mt){return Mt}:lt,ut=tt.delimiter,dt=ut===void 0?"/#?":ut,ft=tt.endsWith,pt=ft===void 0?"":ft,ht="[".concat(escapeString(pt),"]|$"),vt="[".concat(escapeString(dt),"]"),gt=it?"^":"",mt=0,bt=et;mt-1:Ct===void 0;rt||(gt+="(?:".concat(vt,"(?=").concat(ht,"))?")),Et||(gt+="(?=".concat(vt,"|").concat(ht,")"))}return new RegExp(gt,flags(tt))}function pathToRegexp(et,_e,tt){return et instanceof RegExp?regexpToRegexp(et,_e):Array.isArray(et)?arrayToRegexp(et,_e,tt):stringToRegexp(et,_e,tt)}const History$1={queue:[],clearQueue(){if(History$1.queue.length===0)return;History$1.queue.shift()()},routerQueue:[],clearRouterQueue(){if(History$1.routerQueue.length===0)return;const et=History$1.routerQueue.pop(),{router:_e,stateUrl:tt,action:nt}=et;let rt=_e.params.animate;_e.params.browserHistoryAnimate===!1&&(rt=!1),nt==="back"&&_e.back({animate:rt,browserHistory:!1}),nt==="load"&&_e.navigate(tt,{animate:rt,browserHistory:!1})},handle(et){if(History$1.blockPopstate)return;const _e=this;let tt=et.state;History$1.previousState=History$1.state,History$1.state=tt,History$1.allowChange=!0,History$1.clearQueue(),tt=History$1.state,tt||(tt={}),_e.views.forEach(nt=>{const rt=nt.router;let st=tt[nt.id];if(!st&&nt.params.browserHistory&&(st={url:nt.router.history[0]}),!st)return;const it=st.url||void 0;let at=rt.params.animate;rt.params.browserHistoryAnimate===!1&&(at=!1),it!==rt.url&&(rt.history.indexOf(it)>=0?rt.allowPageChange?rt.back({animate:at,browserHistory:!1}):History$1.routerQueue.push({action:"back",router:rt}):rt.allowPageChange?rt.navigate(it,{animate:at,browserHistory:!1}):History$1.routerQueue.unshift({action:"load",stateUrl:it,router:rt}))})},initViewState(et,_e){const tt=getWindow$1(),nt=extend$5({},History$1.state||{},{[et]:_e});History$1.state=nt,tt.history.replaceState(nt,"")},push(et,_e,tt){const nt=getWindow$1(),rt=getDocument$1();if(tt.substr(-3)==="#!/"&&(tt=tt.replace("#!/",""),tt===""&&(tt=rt.location.href,tt.includes("#!/")&&(tt=rt.location.href.split("#!/")[0]))),!History$1.allowChange){History$1.queue.push(()=>{History$1.push(et,_e,tt)});return}History$1.previousState=History$1.state;const st=extend$5({},History$1.previousState||{},{[et]:_e});History$1.state=st,nt.history.pushState(st,"",tt)},replace(et,_e,tt){const nt=getWindow$1();if(tt.substr(-3)==="#!/"&&(tt=tt.replace("#!/","")),!History$1.allowChange){History$1.queue.push(()=>{History$1.replace(et,_e,tt)});return}History$1.previousState=History$1.state;const rt=extend$5({},History$1.previousState||{},{[et]:_e});History$1.state=rt,nt.history.replaceState(rt,"",tt)},go(et){const _e=getWindow$1();History$1.allowChange=!1,_e.history.go(et)},back(){const et=getWindow$1();History$1.allowChange=!1,et.history.back()},allowChange:!0,previousState:{},state:{},blockPopstate:!0,init(et){const _e=getWindow$1(),tt=getDocument$1();History$1.state=_e.history.state,$$1(_e).on("load",()=>{setTimeout(()=>{History$1.blockPopstate=!1},0)}),tt.readyState&&tt.readyState==="complete"&&(History$1.blockPopstate=!1),$$1(_e).on("popstate",History$1.handle.bind(et))}};function SwipeBack(et){const _e=et,{$el:tt,$navbarsEl:nt,app:rt,params:st}=_e,it=getSupport$1(),at=getDevice$1();let ot=!1,lt=!1;const ct={};let ut,dt=[],ft=[],pt,ht,vt=!0,gt,mt=[],bt=[],xt,yt,$t,wt;const Ct=st[`${rt.theme}SwipeBackAnimateShadow`],Et=st[`${rt.theme}SwipeBackAnimateOpacity`],Mt=st[`${rt.theme}SwipeBackActiveArea`],St=st[`${rt.theme}SwipeBackThreshold`],Rt=rt.rtl?"right center":"left center",Pt=rt.rtl?"calc(100% - var(--f7-navbar-large-title-padding-left) - var(--f7-safe-area-left)) center":"calc(var(--f7-navbar-large-title-padding-left) + var(--f7-safe-area-left)) center";function kt(){const Nt=[],Ot=rt.rtl?-1:1,Lt=mt.hasClass("navbar-transparent")&&!mt.hasClass("navbar-large")&&!mt.hasClass("navbar-transparent-visible"),jt=mt.hasClass("navbar-large"),Ht=mt.hasClass("navbar-large-collapsed"),Ft=mt.hasClass("navbar-large-transparent")||mt.hasClass("navbar-large")&&mt.hasClass("navbar-transparent"),Vt=bt.hasClass("navbar-transparent")&&!bt.hasClass("navbar-large")&&!bt.hasClass("navbar-transparent-visible"),zt=bt.hasClass("navbar-large"),Ut=bt.hasClass("navbar-large-collapsed"),qt=bt.hasClass("navbar-large-transparent")||bt.hasClass("navbar-large")&&bt.hasClass("navbar-transparent"),Wt=jt&&!Ht,Jt=zt&&!Ut,Qt=mt.find(".left, .title, .right, .subnavbar, .fading, .title-large, .navbar-bg"),Zt=bt.find(".left, .title, .right, .subnavbar, .fading, .title-large, .navbar-bg");let Gt,Kt;return st.iosAnimateNavbarBackIcon&&(mt.hasClass("sliding")||mt.find(".navbar-inner.sliding").length?Gt=mt.find(".left").find(".back .icon + span").eq(0):Gt=mt.find(".left.sliding").find(".back .icon + span").eq(0),bt.hasClass("sliding")||bt.find(".navbar-inner.sliding").length?Kt=bt.find(".left").find(".back .icon + span").eq(0):Kt=bt.find(".left.sliding").find(".back .icon + span").eq(0),Gt.length&&Zt.each(hn=>{$$1(hn).hasClass("title")&&(hn.f7NavbarLeftOffset+=Gt.prev(".icon")[0].offsetWidth)})),Qt.each(hn=>{const mn=$$1(hn),Yt=mn.hasClass("subnavbar"),xn=mn.hasClass("left"),$n=mn.hasClass("title"),gn=mn.hasClass("navbar-bg");if(($n||gn)&&Lt||!Wt&&mn.hasClass(".title-large"))return;const wn={el:hn};if(Wt){if($n)return;if(mn.hasClass("title-large")){Nt.indexOf(wn)<0&&Nt.push(wn),wn.overflow="visible",mn.find(".title-large-text").each(Cn=>{Nt.push({el:Cn,transform:Sn=>`translateX(${Sn*100*Ot}%)`})});return}}if(Jt&&(Wt||mn.hasClass("title-large")&&(Nt.indexOf(wn)<0&&Nt.push(wn),wn.opacity=0),xn)){Nt.indexOf(wn)<0&&Nt.push(wn),wn.opacity=Cn=>1-Cn**.33,mn.find(".back span").each(Cn=>{Nt.push({el:Cn,"transform-origin":Rt,transform:Sn=>`translateX(calc(${Sn} * (var(--f7-navbarTitleLargeOffset) - var(--f7-navbarLeftTextOffset)))) translateY(calc(${Sn} * (var(--f7-navbar-large-title-height) - var(--f7-navbar-large-title-padding-vertical) / 2))) scale(${1+1*Sn})`})});return}if(gn){Nt.indexOf(wn)<0&&Nt.push(wn),!Wt&&!Jt&&(Ht?(Ft&&(wn.className="ios-swipeback-navbar-bg-large"),wn.transform=Cn=>`translateX(${100*Cn*Ot}%) translateY(calc(-1 * var(--f7-navbar-large-title-height)))`):wn.transform=Cn=>`translateX(${100*Cn*Ot}%)`),!Wt&&Jt&&(wn.className="ios-swipeback-navbar-bg-large",wn.transform=Cn=>`translateX(${100*Cn*Ot}%) translateY(calc(-1 * ${1-Cn} * var(--f7-navbar-large-title-height)))`),Wt&&Jt&&(wn.transform=Cn=>`translateX(${100*Cn*Ot}%)`),Wt&&!Jt&&(wn.transform=Cn=>`translateX(${100*Cn*Ot}%) translateY(calc(-${Cn} * var(--f7-navbar-large-title-height)))`);return}if(mn.hasClass("title-large"))return;const _n=mn.hasClass("sliding")||mn.parents(".navbar-inner.sliding").length;if(Nt.indexOf(wn)<0&&Nt.push(wn),(!Yt||Yt&&!_n)&&(wn.opacity=Cn=>1-Cn**.33),_n){let Cn=wn;if(xn&&Gt.length&&st.iosAnimateNavbarBackIcon){const Sn={el:Gt[0]};Cn=Sn,Nt.push(Sn)}Cn.transform=Sn=>{let jn=Sn*Cn.el.f7NavbarRightOffset;return at.pixelRatio===1&&(jn=Math.round(jn)),Yt&&jt?`translate3d(${jn}px, calc(-1 * var(--f7-navbar-large-collapse-progress) * var(--f7-navbar-large-title-height)), 0)`:`translate3d(${jn}px,0,0)`}}}),Zt.each(hn=>{const mn=$$1(hn),Yt=mn.hasClass("subnavbar"),xn=mn.hasClass("left"),$n=mn.hasClass("title"),gn=mn.hasClass("navbar-bg");if(($n||gn)&&Vt)return;const wn={el:hn};if(Jt){if($n)return;if(Nt.indexOf(wn)<0&&Nt.push(wn),mn.hasClass("title-large")){wn.opacity=1,wn.overflow="visible",mn.find(".title-large-text").each(Cn=>{Nt.push({el:Cn,"transform-origin":Pt,opacity:Sn=>Sn**3,transform:Sn=>`translateX(calc(${1-Sn} * (var(--f7-navbarLeftTextOffset) - var(--f7-navbarTitleLargeOffset)))) translateY(calc(${Sn-1} * var(--f7-navbar-large-title-height) + ${1-Sn} * var(--f7-navbar-large-title-padding-vertical))) scale(${.5+Sn*.5})`})});return}}if(gn){Nt.indexOf(wn)<0&&Nt.push(wn),!Wt&&!Jt&&(Ut?(qt&&(wn.className="ios-swipeback-navbar-bg-large"),wn.transform=Cn=>`translateX(${(-100+100*Cn)*Ot}%) translateY(calc(-1 * var(--f7-navbar-large-title-height)))`):wn.transform=Cn=>`translateX(${(-100+100*Cn)*Ot}%)`),!Wt&&Jt&&(wn.transform=Cn=>`translateX(${(-100+100*Cn)*Ot}%) translateY(calc(-1 * ${1-Cn} * var(--f7-navbar-large-title-height)))`),Wt&&!Jt&&(wn.className="ios-swipeback-navbar-bg-large",wn.transform=Cn=>`translateX(${(-100+100*Cn)*Ot}%) translateY(calc(-${Cn} * var(--f7-navbar-large-title-height)))`),Wt&&Jt&&(wn.transform=Cn=>`translateX(${(-100+100*Cn)*Ot}%)`);return}if(mn.hasClass("title-large"))return;const _n=mn.hasClass("sliding")||bt.children(".navbar-inner.sliding").length;if(Nt.indexOf(wn)<0&&Nt.push(wn),(!Yt||Yt&&!_n)&&(wn.opacity=Cn=>Cn**3),_n){let Cn=wn;if(xn&&Kt.length&&st.iosAnimateNavbarBackIcon){const Sn={el:Kt[0]};Cn=Sn,Nt.push(Sn)}Cn.transform=Sn=>{let jn=Cn.el.f7NavbarLeftOffset*(1-Sn);return at.pixelRatio===1&&(jn=Math.round(jn)),Yt&&zt?`translate3d(${jn}px, calc(-1 * var(--f7-navbar-large-collapse-progress) * var(--f7-navbar-large-title-height)), 0)`:`translate3d(${jn}px,0,0)`}}}),Nt}function _t(Nt){let{progress:Ot,reset:Lt,transition:jt,reflow:Ht}=Nt===void 0?{}:Nt;const Ft=["overflow","transform","transform-origin","opacity"];if(jt===!0||jt===!1)for(let Vt=0;Vt0||$$1(Nt.target).closest(".page-master, .page-master-detail").length>0&&st.masterDetailBreakpoint>0&&rt.width>=st.masterDetailBreakpoint||(lt=!1,ot=!0,ut=void 0,ct.x=Nt.type==="touchstart"?Nt.targetTouches[0].pageX:Nt.pageX,ct.y=Nt.type==="touchstart"?Nt.targetTouches[0].pageY:Nt.pageY,gt=now$2(),xt=_e.dynamicNavbar)}function It(Nt){if(!Nt.isTrusted||!ot)return;const Ot=Nt.type==="touchmove"?Nt.targetTouches[0].pageX:Nt.pageX,Lt=Nt.type==="touchmove"?Nt.targetTouches[0].pageY:Nt.pageY;if(typeof ut>"u"&&(ut=!!(ut||Math.abs(Lt-ct.y)>Math.abs(Ot-ct.x))||Otct.x&&rt.rtl),ut||Nt.f7PreventSwipeBack||rt.preventSwipeBack){ot=!1;return}if(!lt){let Ut=!1;const qt=$$1(Nt.target),Wt=qt.closest(".swipeout");Wt.length>0&&(!rt.rtl&&Wt.find(".swipeout-actions-left").length>0&&(Ut=!0),rt.rtl&&Wt.find(".swipeout-actions-right").length>0&&(Ut=!0)),dt=qt.closest(".page"),(dt.hasClass("no-swipeback")||qt.closest(".no-swipeback, .card-opened").length>0)&&(Ut=!0),ft=tt.find(".page-previous"),ft.length>1&&(ft=ft.eq(ft.length-1));let Jt=ct.x-tt.offset().left>Mt;if(pt=tt.width(),rt.rtl?Jt=ct.xMt,Jt&&(Ut=!0),(ft.length===0||dt.length===0)&&(Ut=!0),Ut){ot=!1;return}Ct&&(yt=dt.find(".page-shadow-effect"),yt.length===0&&(yt=$$1('
'),dt.append(yt))),Et&&($t=ft.find(".page-opacity-effect"),$t.length===0&&($t=$$1('
'),ft.append($t))),xt&&(mt=nt.find(".navbar-current"),bt=nt.find(".navbar-previous"),bt.length>1&&(bt=bt.eq(bt.length-1)),wt=kt(bt,mt)),$$1(".sheet.modal-in").length>0&&rt.sheet&&rt.sheet.close($$1(".sheet.modal-in"))}Nt.f7PreventSwipePanel=!0,lt=!0,rt.preventSwipePanelBySwipeBack=!0,Nt.preventDefault();const jt=rt.rtl?-1:1;ht=(Ot-ct.x-St)*jt,ht<0&&(ht=0);const Ht=Math.min(Math.max(ht/pt,0),1),Ft={percentage:Ht,progress:Ht,currentPageEl:dt[0],previousPageEl:ft[0],currentNavbarEl:mt[0],previousNavbarEl:bt[0]};tt.trigger("swipeback:move",Ft),_e.emit("swipebackMove",Ft);let Vt=ht*jt,zt=(ht/5-pt/5)*jt;rt.rtl?(Vt=Math.max(Vt,-pt),zt=Math.max(zt,0)):(Vt=Math.min(Vt,pt),zt=Math.min(zt,0)),at.pixelRatio===1&&(Vt=Math.round(Vt),zt=Math.round(zt)),_e.swipeBackActive=!0,$$1([dt[0],ft[0]]).addClass("page-swipeback-active"),dt.transform(`translate3d(${Vt}px,0,0)`),Ct&&(yt[0].style.opacity=1-1*Ht),rt.theme==="ios"&&ft.transform(`translate3d(${zt}px,0,0)`),Et&&($t[0].style.opacity=1-1*Ht),xt&&_t({progress:Ht})}function At(Nt){if(!Nt.isTrusted)return;if(rt.preventSwipePanelBySwipeBack=!1,!ot||!lt){ot=!1,lt=!1;return}ot=!1,lt=!1,_e.swipeBackActive=!1;const Ot=$$1([dt[0],ft[0]]);if(Ot.removeClass("page-swipeback-active"),ht===0){Ot.transform(""),yt&&yt.length>0&&yt.remove(),$t&&$t.length>0&&$t.remove(),xt&&_t({reset:!0});return}const Lt=now$2()-gt;let jt=!1;(Lt<300&&ht>10||Lt>=300&&ht>pt/2)&&(dt.removeClass("page-current").addClass(`page-next${rt.theme!=="ios"?" page-next-on-right":""}`),ft.removeClass("page-previous").addClass("page-current").removeAttr("aria-hidden"),yt&&(yt[0].style.opacity=""),$t&&($t[0].style.opacity=""),xt&&(_e.setNavbarPosition(mt,"next"),_e.setNavbarPosition(bt,"current",!1)),jt=!0),Ot.addClass("page-transitioning page-transitioning-swipeback"),at.ios&&(dt[0]._clientLeft=dt[0].clientLeft),Ot.transform(""),xt&&_t({progress:jt?1:0,transition:!0,reflow:!!at.ios}),vt=!1,_e.allowPageChange=!1;const Ht={currentPageEl:dt[0],previousPageEl:ft[0],currentNavbarEl:mt[0],previousNavbarEl:bt[0]};jt?(_e.currentRoute=ft[0].f7Page.route,_e.currentPage=ft[0],_e.pageCallback("beforeOut",dt,mt,"current","next",{route:dt[0].f7Page.route,swipeBack:!0}),_e.pageCallback("beforeIn",ft,bt,"previous","current",{route:ft[0].f7Page.route,swipeBack:!0},dt[0]),tt.trigger("swipeback:beforechange",Ht),_e.emit("swipebackBeforeChange",Ht)):(tt.trigger("swipeback:beforereset",Ht),_e.emit("swipebackBeforeReset",Ht)),dt.transitionEnd(()=>{Ot.removeClass("page-transitioning page-transitioning-swipeback"),xt&&_t({reset:!0,transition:!1}),vt=!0,_e.allowPageChange=!0,jt?(_e.history.length===1&&_e.history.unshift(_e.url),_e.history.pop(),_e.saveHistory(),st.browserHistory&&History$1.back(),_e.pageCallback("afterOut",dt,mt,"current","next",{route:dt[0].f7Page.route,swipeBack:!0}),_e.pageCallback("afterIn",ft,bt,"previous","current",{route:ft[0].f7Page.route,swipeBack:!0}),_e.pageCallback("beforeRemove",dt,mt,"next",{swipeBack:!0}),_e.removePage(dt),xt&&_e.removeNavbar(mt),tt.trigger("swipeback:afterchange",Ht),_e.emit("swipebackAfterChange",Ht),_e.emit("routeChanged",_e.currentRoute,_e.previousRoute,_e),st.preloadPreviousPage&&_e.back(_e.history[_e.history.length-2],{preload:!0})):(tt.trigger("swipeback:afterreset",Ht),_e.emit("swipebackAfterReset",Ht)),yt&&yt.length>0&&yt.remove(),$t&&$t.length>0&&$t.remove()})}function Tt(){const Nt=rt.touchEvents.start==="touchstart"&&it.passiveListener?{passive:!0,capture:!1}:!1;tt.on(rt.touchEvents.start,Bt,Nt),rt.on("touchmove:active",It),rt.on("touchend:passive",At)}function Dt(){const Nt=rt.touchEvents.start==="touchstart"&&it.passiveListener?{passive:!0,capture:!1}:!1;tt.off(rt.touchEvents.start,Bt,Nt),rt.off("touchmove:active",It),rt.off("touchend:passive",At)}Tt(),_e.on("routerDestroy",Dt)}function redirect(et,_e,tt){const nt=this,rt=_e.route.redirect,st=et==="forward"?"navigate":"back";tt.initial&&nt.params.browserHistory&&(tt.replaceState=!0,tt.history=!0);function it(ot,lt){lt===void 0&&(lt={}),nt.allowPageChange=!0,nt[st](ot,extend$5({},tt,lt))}function at(){nt.allowPageChange=!0}if(typeof rt=="function"){nt.allowPageChange=!1;const ot=rt.call(nt,{router:nt,to:_e,resolve:it,reject:at,direction:et,app:nt.app});return ot&&typeof ot=="string"?(nt.allowPageChange=!0,nt[st](ot,tt)):nt}return nt[st](rt,tt)}function processQueue(et,_e,tt,nt,rt,st,it,at){const ot=[];Array.isArray(tt)?ot.push(...tt):tt&&typeof tt=="function"&&ot.push(tt),_e&&(Array.isArray(_e)?ot.push(..._e):ot.push(_e));function lt(){if(ot.length===0){st();return}ot.shift().call(et,{router:et,to:nt,from:rt,resolve(){lt()},reject(){it()},direction:at,app:et.app})}lt()}function processRouteQueue(et,_e,tt,nt,rt){const st=this;function it(){et&&et.route&&(st.params.routesBeforeEnter||et.route.beforeEnter)?(st.allowPageChange=!1,processQueue(st,st.params.routesBeforeEnter,et.route.beforeEnter,et,_e,()=>{st.allowPageChange=!0,tt()},()=>{nt()},rt)):tt()}function at(){_e&&_e.route&&(st.params.routesBeforeLeave||_e.route.beforeLeave)?(st.allowPageChange=!1,processQueue(st,st.params.routesBeforeLeave,_e.route.beforeLeave,et,_e,()=>{st.allowPageChange=!0,it()},()=>{nt()},rt)):it()}at()}function appRouterCheck(et,_e){if(!et.view)throw new Error(`Framework7: it is not allowed to use router methods on global app router. Use router methods only on related View, e.g. app.views.main.router.${_e}(...)`)}function asyncComponent(et,_e,tt,nt){function rt(it){it.then(at=>{tt({component:at.default||at._default||at})}).catch(at=>{throw nt(),new Error(at)})}if(_e instanceof Promise){rt(_e);return}const st=_e.call(et);st instanceof Promise?rt(st):tt({component:st})}function refreshPage(et){et===void 0&&(et={});const _e=this;return appRouterCheck(_e,"refreshPage"),_e.navigate(_e.currentRoute.url,{ignoreCache:!0,reloadCurrent:!0,props:et})}function forward(et,_e,tt){tt===void 0&&(tt={});const nt=getDocument$1(),rt=$$1(_e),st=et.app,it=et.view,at=extend$5(!1,{animate:et.params.animate,browserHistory:!0,replaceState:!1,history:!0,reloadCurrent:et.params.reloadPages,reloadPrevious:!1,reloadAll:!1,clearPreviousHistory:!1,reloadDetail:et.params.reloadDetail,on:{}},tt),ot=et.params.masterDetailBreakpoint>0,lt=ot&&at.route&&at.route.route&&(at.route.route.master===!0||typeof at.route.route.master=="function"&&at.route.route.master(st,et));let ct,ut,dt=0,ft=et.currentRoute.modal,pt;if(ft||"popup popover sheet loginScreen actions customModal panel".split(" ").forEach(At=>{et.currentRoute&&et.currentRoute.route&&et.currentRoute.route[At]&&(ft=!0,pt=At)}),ft){const At=et.currentRoute.modal||et.currentRoute.route.modalInstance||st[pt].get(),Tt=et.history[et.history.length-2];let Dt=et.findMatchingRoute(Tt);!Dt&&Tt&&(Dt={url:Tt,path:Tt.split("?")[0],query:parseUrlQuery(Tt),route:{path:Tt.split("?")[0],url:Tt}}),et.modalRemove(At)}const ht=et.dynamicNavbar,vt=et.$el,gt=rt,mt=at.reloadPrevious||at.reloadCurrent||at.reloadAll;let bt,xt,yt,$t;if(et.allowPageChange=!1,gt.length===0)return et.allowPageChange=!0,et;gt.length&&et.removeThemeElements(gt),ht&&(yt=gt.children(".navbar"),xt=et.$navbarsEl,yt.length===0&>[0]&>[0].f7Page&&(yt=gt[0].f7Page.$navbarEl)),at.route&&at.route.route&&at.route.route.keepAlive&&!at.route.route.keepAliveData&&(at.route.route.keepAliveData={pageEl:rt[0]});const wt=vt.children(".page").filter(At=>At!==gt[0]);let Ct;if(ht&&(Ct=xt.children(".navbar").filter(At=>At!==yt[0])),at.reloadPrevious&&wt.length<2)return et.allowPageChange=!0,et;let Et,Mt,St;if(ot&&!at.reloadAll){for(let At=0;At=et.params.masterDetailBreakpoint&&ct}Et&&(St=!ut||Mt||at.reloadAll||at.reloadCurrent);let Rt="next";if(at.reloadCurrent||at.reloadAll||Mt?Rt="current":at.reloadPrevious&&(Rt="previous"),gt.removeClass("page-previous page-current page-next").addClass(`page-${Rt}${lt?" page-master":""}${Et?" page-master-detail":""}${St?" page-master-detail-root":""}`).trigger("page:unstack").trigger("page:position",{position:Rt}),et.emit("pageUnstack",gt[0]),et.emit("pagePosition",gt[0],Rt),(lt||Et)&&(gt.trigger("page:role",{role:lt?"master":"detail",root:!!St}),et.emit("pageRole",gt[0],{role:lt?"master":"detail",detailRoot:!!St})),ht&&yt.length&&(yt.removeClass("navbar-previous navbar-current navbar-next").addClass(`navbar-${Rt}${lt?" navbar-master":""}${Et?" navbar-master-detail":""}${St?" navbar-master-detail-root":""}`),yt.trigger("navbar:position",{position:Rt}),et.emit("navbarPosition",yt[0],Rt),(lt||Et)&&et.emit("navbarRole",yt[0],{role:lt?"master":"detail",detailRoot:!!St})),at.reloadCurrent||Mt)Mt?(bt=wt.filter(At=>!At.classList.contains("page-master")),ht&&($t=$$1(bt.map(At=>st.navbar.getElByPage(At)))),bt.length>1&&ct&&(dt=bt.length-1,$$1(ct).removeClass("page-master-stacked").trigger("page:masterunstack"),et.emit("pageMasterUnstack",ct),ht&&($$1(st.navbar.getElByPage(ct)).removeClass("navbar-master-stacked"),et.emit("navbarMasterUnstack",st.navbar.getElByPage(ct))))):(bt=wt.eq(wt.length-1),ht&&($t=$$1(st.navbar.getElByPage(bt))));else if(at.reloadPrevious)bt=wt.eq(wt.length-2),ht&&($t=$$1(st.navbar.getElByPage(bt)));else if(at.reloadAll)bt=wt.filter(At=>At!==gt[0]),ht&&($t=Ct.filter(At=>At!==yt[0]));else{let At=[],Tt=[];if(wt.length>1){let Dt=0;for(Dt=0;DtDt!==gt[0]&&At.indexOf(Dt)<0),ht&&($t=xt.children(".navbar").filter(Dt=>Dt!==yt[0]&&Tt.indexOf(Tt)<0)),At=[],Tt=[]}if(Et&&!at.reloadAll&&((bt.length>1||Mt)&&(bt=bt.filter(At=>!At.classList.contains("page-master"))),$t&&($t.length>1||Mt)&&($t=$t.filter(At=>!At.classList.contains("navbar-master")))),et.params.browserHistory&&(at.browserHistory||at.replaceState)&&!at.reloadPrevious){const At=et.params.browserHistoryRoot||"";History$1[at.reloadCurrent||Mt&&ut||at.reloadAll||at.replaceState?"replace":"push"](it.id,{url:at.route.url},At+et.params.browserHistorySeparator+at.route.url)}at.reloadPrevious||(et.currentPageEl=gt[0],ht&&yt.length?et.currentNavbarEl=yt[0]:delete et.currentNavbarEl,et.currentRoute=at.route);const Pt=at.route.url;at.history&&(((at.reloadCurrent||Mt&&ut)&&et.history.length)>0||at.replaceState?(Mt&&dt>0&&(et.history=et.history.slice(0,et.history.length-dt),et.propsHistory=et.propsHistory.slice(0,et.propsHistory.length-dt)),et.history[et.history.length-(at.reloadPrevious?2:1)]=Pt,et.propsHistory[et.propsHistory.length-(at.reloadPrevious?2:1)]=at.props||{}):at.reloadPrevious?(et.history[et.history.length-2]=Pt,et.propsHistory[et.propsHistory.length-2]=at.props||{}):at.reloadAll?(et.history=[Pt],et.propsHistory=[at.props||{}]):(et.history.push(Pt),et.propsHistory.push(at.props||{}))),et.saveHistory();const kt=gt.parents(nt).length>0,_t=gt[0].f7Component;if(at.reloadPrevious?(_t&&!kt?_t.mount(At=>{$$1(At).insertBefore(bt)}):gt.insertBefore(bt),ht&&yt.length&&(yt.find(".title-large").length&&yt.addClass("navbar-large"),$t.length?yt.insertBefore($t):(et.$navbarsEl.parents(nt).length||et.$el.prepend(et.$navbarsEl),xt.append(yt)))):(bt.next(".page")[0]!==gt[0]&&(_t&&!kt?_t.mount(At=>{vt.append(At)}):vt.append(gt[0])),ht&&yt.length&&(yt.find(".title-large").length&&yt.addClass("navbar-large"),et.$navbarsEl.parents(nt).length||et.$el.prepend(et.$navbarsEl),xt.append(yt[0]))),kt?at.route&&at.route.route&&at.route.route.keepAlive&&!gt[0].f7PageMounted&&(gt[0].f7PageMounted=!0,et.pageCallback("mounted",gt,yt,Rt,mt?Rt:"current",at,bt)):et.pageCallback("mounted",gt,yt,Rt,mt?Rt:"current",at,bt),(at.reloadCurrent||Mt)&&bt.length>0?(et.pageCallback("beforeOut",bt,$t,"current",void 0,at),et.pageCallback("afterOut",bt,$t,"current",void 0,at),et.pageCallback("beforeRemove",bt,$t,"current",void 0,at),et.removePage(bt),ht&&$t&&$t.length&&et.removeNavbar($t)):at.reloadAll?bt.each((At,Tt)=>{const Dt=$$1(At),Nt=$$1(st.navbar.getElByPage(Dt));Dt.hasClass("page-current")&&(et.pageCallback("beforeOut",bt,$t,"current",void 0,at),et.pageCallback("afterOut",bt,$t,"current",void 0,at)),et.pageCallback("beforeRemove",Dt,$t&&$t.eq(Tt),"previous",void 0,at),et.removePage(Dt),ht&&Nt.length&&et.removeNavbar(Nt)}):at.reloadPrevious&&(et.pageCallback("beforeRemove",bt,$t,"previous",void 0,at),et.removePage(bt),ht&&$t&&$t.length&&et.removeNavbar($t)),at.route.route.tab&&et.tabLoad(at.route.route.tab,extend$5({},at,{history:!1,browserHistory:!1})),ot&&it.checkMasterDetailBreakpoint(),et.pageCallback("init",gt,yt,Rt,mt?Rt:"current",at,bt),at.reloadCurrent||at.reloadAll||Mt)return et.allowPageChange=!0,et.pageCallback("beforeIn",gt,yt,Rt,"current",at),gt.removeAttr("aria-hidden"),ht&&yt&&yt.removeAttr("aria-hidden"),et.pageCallback("afterIn",gt,yt,Rt,"current",at),at.reloadCurrent&&at.clearPreviousHistory&&et.clearPreviousHistory(),Mt&&(et.setPagePosition($$1(ct),"previous"),ct.f7Page&&ct.f7Page.navbarEl&&et.setNavbarPosition($$1(ct.f7Page.navbarEl),"previous")),et;if(at.reloadPrevious)return et.allowPageChange=!0,et;et.pageCallback("beforeOut",bt,$t,"current","previous",at),et.pageCallback("beforeIn",gt,yt,"next","current",at);function Bt(){et.setPagePosition(gt,"current",!1),et.setPagePosition(bt,"previous",!bt.hasClass("page-master")),ht&&(et.setNavbarPosition(yt,"current",!1),et.setNavbarPosition($t,"previous",!$t.hasClass("navbar-master"))),et.allowPageChange=!0,et.pageCallback("afterOut",bt,$t,"current","previous",at),et.pageCallback("afterIn",gt,yt,"next","current",at);let At=(et.params.preloadPreviousPage||et.params[`${st.theme}SwipeBack`])&&!lt;At||(gt.hasClass("smart-select-page")||gt.hasClass("photo-browser-page")||gt.hasClass("autocomplete-page")||gt.hasClass("color-picker-page"))&&(At=!0),At||gt.attr("data-name")&>.attr("data-name")==="smart-select-page"||(et.pageCallback("beforeRemove",bt,$t,"previous",void 0,at),et.removePage(bt),ht&&$t.length&&et.removeNavbar($t)),at.clearPreviousHistory&&et.clearPreviousHistory(),et.emit("routeChanged",et.currentRoute,et.previousRoute,et),et.params.browserHistory&&History$1.clearRouterQueue()}function It(){et.setPagePosition(bt,"current",!1),et.setPagePosition(gt,"next",!1),ht&&(et.setNavbarPosition($t,"current",!1),et.setNavbarPosition(yt,"next",!1))}if(at.animate&&!(lt&&st.width>=et.params.masterDetailBreakpoint)){const At=et.params[`${et.app.theme}PageLoadDelay`];let Tt=et.params.transition;at.transition&&(Tt=at.transition),!Tt&&et.currentRoute&&et.currentRoute.route&&(Tt=et.currentRoute.route.transition),!Tt&&et.currentRoute&&et.currentRoute.route.options&&(Tt=et.currentRoute.route.options.transition),Tt&&(gt[0].f7PageTransition=Tt),At?setTimeout(()=>{It(),et.animate(bt,gt,$t,yt,"forward",Tt,()=>{Bt()})},At):(It(),et.animate(bt,gt,$t,yt,"forward",Tt,()=>{Bt()}))}else Bt();return et}function load(et,_e,tt,nt){if(_e===void 0&&(_e={}),tt===void 0&&(tt={}),!et.allowPageChange&&!nt)return et;const rt=_e,st=tt,{url:it,content:at,el:ot,pageName:lt,component:ct,componentUrl:ut}=rt;if(!st.reloadCurrent&&st.route&&st.route.route&&st.route.route.parentPath&&et.currentRoute.route&&et.currentRoute.route.parentPath===st.route.route.parentPath){if(st.route.url===et.url)return et.allowPageChange=!0,!1;let pt=Object.keys(st.route.params).length===Object.keys(et.currentRoute.params).length;if(pt&&Object.keys(st.route.params).forEach(ht=>{(!(ht in et.currentRoute.params)||et.currentRoute.params[ht]!==st.route.params[ht])&&(pt=!1)}),pt)return st.route.route.tab?et.tabLoad(st.route.route.tab,st):!1;if(!pt&&st.route.route.tab&&et.currentRoute.route.tab&&et.currentRoute.parentPath===st.route.parentPath)return et.tabLoad(st.route.route.tab,st)}if(st.route&&st.route.url&&et.url===st.route.url&&!(st.reloadCurrent||st.reloadPrevious)&&!et.params.allowDuplicateUrls)return et.allowPageChange=!0,!1;!st.route&&it&&(st.route=et.parseRouteUrl(it),extend$5(st.route,{route:{url:it,path:it}}));function dt(pt,ht){return forward(et,pt,extend$5(st,ht))}function ft(){return et.allowPageChange=!0,et}if((it||ut||ct)&&(et.allowPageChange=!1),at)forward(et,et.getPageEl(at),st);else if(ot)forward(et,et.getPageEl(ot),st);else if(lt)forward(et,et.$el.children(`.page[data-name="${lt}"]`).eq(0),st);else if(ct||ut)try{et.pageComponentLoader({routerEl:et.el,component:ct,componentUrl:ut,options:st,resolve:dt,reject:ft})}catch(pt){throw et.allowPageChange=!0,pt}else it&&(et.xhrAbortController&&(et.xhrAbortController.abort(),et.xhrAbortController=!1),et.xhrRequest(it,st).then(pt=>{forward(et,et.getPageEl(pt),st)}).catch(()=>{et.allowPageChange=!0}));return et}function navigate(et,_e){_e===void 0&&(_e={});const tt=this;if(tt.swipeBackActive)return tt;let nt,rt,st,it,at,ot,lt;if(typeof et=="string"?nt=et:(nt=et.url,rt=et.route,st=et.name,it=et.path,at=et.query,ot=et.params),st||it)return nt=tt.generateUrl({path:it,name:st,params:ot,query:at}),nt?tt.navigate(nt,_e):tt;const ct=tt.app;if(appRouterCheck(tt,"navigate"),nt==="#"||nt==="")return tt;let ut=nt.replace("./","");if(ut[0]!=="/"&&ut.indexOf("#")!==0){const ht=tt.currentRoute.parentPath||tt.currentRoute.path;ut=((ht?`${ht}/`:"/")+ut).replace("///","/").replace("//","/")}if(rt?lt=extend$5(tt.parseRouteUrl(ut),{route:extend$5({},rt)}):lt=tt.findMatchingRoute(ut),!lt)return tt;if(lt.route&<.route.viewName){const ht=lt.route.viewName,vt=ct.views[ht];if(!vt)throw new Error(`Framework7: There is no View with "${ht}" name that was specified in this route`);if(vt!==tt.view)return vt.router.navigate(et,_e)}if(lt.route.redirect)return redirect.call(tt,"forward",lt,_e);const dt={};if(lt.route.options?extend$5(dt,lt.route.options,_e):extend$5(dt,_e),dt.openIn&&(!tt.params.ignoreOpenIn||tt.params.ignoreOpenIn&&tt.history.length>0))return tt.openIn(tt,ut,dt);dt.route=lt;function ft(){let ht=!1;if("popup popover sheet loginScreen actions customModal panel".split(" ").forEach(mt=>{lt.route[mt]&&!ht&&(ht=!0,tt.modalLoad(mt,lt,dt,"forward"))}),lt.route.keepAlive&<.route.keepAliveData&&(load(tt,{el:lt.route.keepAliveData.pageEl},dt,!1),ht=!0),"url content component pageName el componentUrl".split(" ").forEach(mt=>{lt.route[mt]&&!ht&&(ht=!0,load(tt,{[mt]:lt.route[mt]},dt,!1))}),ht)return;function vt(mt,bt){tt.allowPageChange=!1;let xt=!1;"popup popover sheet loginScreen actions customModal panel".split(" ").forEach(yt=>{if(mt[yt]){xt=!0;const $t=extend$5({},lt,{route:mt});tt.allowPageChange=!0,tt.modalLoad(yt,$t,extend$5(dt,bt),"forward")}}),!xt&&load(tt,mt,extend$5(dt,bt),!0)}function gt(){tt.allowPageChange=!0}lt.route.async&&(tt.allowPageChange=!1,lt.route.async.call(tt,{router:tt,to:dt.route,from:tt.currentRoute,resolve:vt,reject:gt,direction:"forward",app:ct})),lt.route.asyncComponent&&asyncComponent(tt,lt.route.asyncComponent,vt,gt)}function pt(){tt.allowPageChange=!0}if(tt.params.masterDetailBreakpoint>0&<.route.masterRoute){let ht=!0,vt=!1;if(tt.currentRoute&&tt.currentRoute.route&&((tt.currentRoute.route.master===!0||typeof tt.currentRoute.route.master=="function"&&tt.currentRoute.route.master(ct,tt))&&(tt.currentRoute.route===lt.route.masterRoute||tt.currentRoute.route.path===lt.route.masterRoute.path)&&(ht=!1),tt.currentRoute.route.masterRoute&&(tt.currentRoute.route.masterRoute===lt.route.masterRoute||tt.currentRoute.route.masterRoute.path===lt.route.masterRoute.path)&&(ht=!1,vt=!0)),ht||vt&&_e.reloadAll)return tt.navigate({path:lt.route.masterRoute.path,params:lt.params||{}},{animate:!1,reloadAll:_e.reloadAll,reloadCurrent:_e.reloadCurrent,reloadPrevious:_e.reloadPrevious,browserHistory:!_e.initial,history:!_e.initial,once:{pageAfterIn(){tt.navigate(et,extend$5({},_e,{animate:!1,reloadAll:!1,reloadCurrent:!1,reloadPrevious:!1,history:!_e.initial,browserHistory:!_e.initial}))}}}),tt}return processRouteQueue.call(tt,lt,tt.currentRoute,()=>{lt.route.modules?ct.loadModules(Array.isArray(lt.route.modules)?lt.route.modules:[lt.route.modules]).then(()=>{ft()}).catch(()=>{pt()}):ft()},()=>{pt()},"forward"),tt}function tabLoad(et,_e){_e===void 0&&(_e={});const tt=this,nt=extend$5({animate:tt.params.animate,browserHistory:!0,history:!0,parentPageEl:null,preload:!1,on:{}},_e);let rt,st;nt.route&&(!nt.preload&&nt.route!==tt.currentRoute&&(st=tt.previousRoute,tt.currentRoute=nt.route),nt.preload?(rt=nt.route,st=tt.currentRoute):(rt=tt.currentRoute,st||(st=tt.previousRoute)),tt.params.browserHistory&&nt.browserHistory&&!nt.reloadPrevious&&History$1[tt.params.browserHistoryTabs](tt.view.id,{url:nt.route.url},(tt.params.browserHistoryRoot||"")+tt.params.browserHistorySeparator+nt.route.url),nt.history&&(tt.history[Math.max(tt.history.length-1,0)]=nt.route.url,tt.saveHistory()));const it=$$1(nt.parentPageEl||tt.currentPageEl);let at;it.length&&it.find(`#${et.id}`).length?at=it.find(`#${et.id}`).eq(0):tt.view.selector?at=`${tt.view.selector} #${et.id}`:at=`#${et.id}`;const ot=tt.app.tab.show({tabEl:at,animate:nt.animate,tabRoute:nt.route}),{$newTabEl:lt,$oldTabEl:ct,animated:ut,onTabsChanged:dt}=ot;if(lt&<.parents(".page").length>0&&nt.route){const mt=lt.parents(".page")[0].f7Page;mt&&nt.route&&(mt.route=nt.route)}function ft(mt){tt.removeThemeElements(lt);let bt=lt;typeof mt!="string"&&(bt=$$1(mt)),bt.trigger("tab:init tab:mounted",et),tt.emit("tabInit tabMounted",lt[0],et),ct&&ct.length&&(ut?dt(()=>{tt.emit("routeChanged",tt.currentRoute,tt.previousRoute,tt),tt.params.unloadTabContent&&tt.tabRemove(ct,lt,et)}):(tt.emit("routeChanged",tt.currentRoute,tt.previousRoute,tt),tt.params.unloadTabContent&&tt.tabRemove(ct,lt,et)))}if(lt[0].f7RouterTabLoaded)return!ct||!ct.length||(ut?dt(()=>{tt.emit("routeChanged",tt.currentRoute,tt.previousRoute,tt)}):tt.emit("routeChanged",tt.currentRoute,tt.previousRoute,tt)),tt;function pt(mt,bt){const{url:xt,content:yt,el:$t,component:wt,componentUrl:Ct}=mt;function Et(St){tt.allowPageChange=!0,St&&(typeof St=="string"?lt.html(St):(lt.html(""),St.f7Component?St.f7Component.mount(Rt=>{lt.append(Rt)}):lt.append(St)),lt[0].f7RouterTabLoaded=!0,ft(St))}function Mt(){return tt.allowPageChange=!0,tt}if(yt)Et(yt);else if($t)Et($t);else if(wt||Ct)try{tt.tabComponentLoader({tabEl:lt[0],component:wt,componentUrl:Ct,options:bt,resolve:Et,reject:Mt})}catch(St){throw tt.allowPageChange=!0,St}else xt&&(tt.xhrAbortController&&(tt.xhrAbortController.abort(),tt.xhrAbortController=!1),tt.xhrRequest(xt,bt).then(St=>{Et(St)}).catch(()=>{tt.allowPageChange=!0}))}let ht;"url content component el componentUrl".split(" ").forEach(mt=>{et[mt]&&(ht=!0,pt({[mt]:et[mt]},nt))});function vt(mt,bt){pt(mt,extend$5(nt,bt))}function gt(){tt.allowPageChange=!0}return et.async?et.async.call(tt,{router:tt,to:rt,from:st,resolve:vt,reject:gt,app:tt.app}):et.asyncComponent?asyncComponent(tt,et.asyncComponent,vt,gt):ht||(tt.allowPageChange=!0),tt}function tabRemove(et,_e,tt){const nt=this;let rt;et[0]&&(et[0].f7RouterTabLoaded=!1,delete et[0].f7RouterTabLoaded),et.children().each(st=>{st.f7Component&&(rt=!0,$$1(st).trigger("tab:beforeremove",tt),st.f7Component.destroy())}),rt||et.trigger("tab:beforeremove",tt),nt.emit("tabBeforeRemove",et[0],_e[0],tt),nt.removeTabContent(et[0],tt)}function modalLoad(et,_e,tt,nt){tt===void 0&&(tt={});const rt=this,st=rt.app,it=et==="panel",at=it?"panel":"modal",ot=extend$5({animate:rt.params.animate,browserHistory:!0,history:!0,on:{},once:{}},tt),lt=extend$5({},_e.route[et]),ct=_e.route,ut=(gt,mt)=>{const{on:bt,once:xt}=ot;let yt;mt==="open"&&(yt=bt.modalOpen||xt.modalOpen||bt.panelOpen||xt.panelOpen),mt==="close"&&(yt=bt.modalClose||xt.modalClose||bt.panelClose||xt.panelClose),mt==="closed"&&(yt=bt.modalClosed||xt.modalClosed||bt.panelClosed||xt.panelClosed),yt&&yt(gt)};function dt(){const gt=st[et].create(lt);ct.modalInstance=gt;const mt=gt.el;function bt(){gt.close()}gt.on(`${at}Open`,()=>{mt||(rt.removeThemeElements(gt.el),gt.$el.trigger(`${et.toLowerCase()}:init ${et.toLowerCase()}:mounted`,_e,gt),rt.emit(`${it?"":"modalInit"} ${et}Init ${et}Mounted`,gt.el,_e,gt)),rt.once("swipeBackMove",bt),ut(gt,"open")}),gt.on(`${at}Close`,()=>{rt.off("swipeBackMove",bt),gt.closeByRouter||rt.back(),ut(gt,"close")}),gt.on(`${at}Closed`,()=>{gt.$el.trigger(`${et.toLowerCase()}:beforeremove`,_e,gt),gt.emit(`${it?"":"modalBeforeRemove "}${et}BeforeRemove`,gt.el,_e,gt);const xt=gt.el.f7Component;ut(gt,"closed"),xt&&xt.destroy(),nextTick$2(()=>{(xt||lt.component||lt.asyncComponent||lt.async)&&rt.removeModal(gt.el),gt.destroy(),delete gt.route,delete ct.modalInstance})}),ot.route&&(rt.params.browserHistory&&ot.browserHistory&&History$1.push(rt.view.id,{url:ot.route.url,modal:et},(rt.params.browserHistoryRoot||"")+rt.params.browserHistorySeparator+ot.route.url),ot.route!==rt.currentRoute&&(gt.route=extend$5(ot.route,{modal:gt}),rt.currentRoute=gt.route),ot.history&&!ot.reloadCurrent&&(rt.history.push(ot.route.url),rt.saveHistory())),mt&&(rt.removeThemeElements(gt.el),gt.$el.trigger(`${et.toLowerCase()}:init ${et.toLowerCase()}:mounted`,_e,gt),rt.emit(`${at}Init ${et}Init ${et}Mounted`,gt.el,_e,gt)),gt.open(ot.animate===!1||ot.animate===!0?ot.animate:void 0)}function ft(gt,mt){const{url:bt,content:xt,component:yt,componentUrl:$t}=gt;function wt(Et){Et&&(typeof Et=="string"?lt.content=Et:Et.f7Component?Et.f7Component.mount(Mt=>{lt.el=Mt,st.$el.append(Mt)}):lt.el=Et,dt())}function Ct(){return rt.allowPageChange=!0,rt}if(xt)wt(xt);else if(yt||$t)try{rt.modalComponentLoader({rootEl:st.el,component:yt,componentUrl:$t,options:mt,resolve:wt,reject:Ct})}catch(Et){throw rt.allowPageChange=!0,Et}else bt?(rt.xhrAbortController&&(rt.xhrAbortController.abort(),rt.xhrAbortController=!1),rt.xhrRequest(bt,mt).then(Et=>{lt.content=Et,dt()}).catch(()=>{rt.allowPageChange=!0})):dt()}let pt;"url content component el componentUrl template".split(" ").forEach(gt=>{lt[gt]&&!pt&&(pt=!0,ft({[gt]:lt[gt]},ot))}),!pt&&et==="actions"&&dt();function ht(gt,mt){ft(gt,extend$5(ot,mt))}function vt(){rt.allowPageChange=!0}return lt.async&<.async.call(rt,{router:rt,to:ot.route,from:rt.currentRoute,resolve:ht,reject:vt,direction:nt,app:st}),lt.asyncComponent&&asyncComponent(rt,lt.asyncComponent,ht,vt),rt}function modalRemove(et){extend$5(et,{closeByRouter:!0}),et.close()}function backward(et,_e,tt){const nt=getDevice$1(),rt=getDocument$1(),st=$$1(_e),it=et.app,at=et.view,ot=extend$5(!1,{animate:et.params.animate,browserHistory:!0,replaceState:!1},tt),lt=et.params.masterDetailBreakpoint>0,ct=lt&&ot.route&&ot.route.route&&(ot.route.route.master===!0||typeof ot.route.route.master=="function"&&ot.route.route.master(it,et));let ut,dt;const ft=et.dynamicNavbar,pt=st,ht=et.$el.children(".page-current"),vt=ht.length===0&&ot.preload,gt=lt&&ht.hasClass("page-master");pt.length&&et.removeThemeElements(pt);let mt,bt,xt;if(ft&&(bt=pt.children(".navbar"),mt=et.$navbarsEl,bt.length===0&&pt[0]&&pt[0].f7Page&&(bt=pt[0].f7Page.$navbarEl),xt=mt.find(".navbar-current")),et.allowPageChange=!1,pt.length===0||ht.length===0&&!ot.preload)return et.allowPageChange=!0,et;et.removeThemeElements(pt),ot.route&&ot.route.route&&ot.route.route.keepAlive&&!ot.route.route.keepAliveData&&(ot.route.route.keepAliveData={pageEl:st[0]});let yt,$t;if(lt){const Pt=et.$el.children(".page").filter(kt=>kt!==pt[0]);for(let kt=0;ktet.history.indexOf(ut.f7Page.route.url),!yt&&!ct&&ut&&ut.f7Page&&ot.route.route.masterRoute&&(yt=ot.route.route.masterRoute.path===ut.f7Page.route.route.path)}yt&&ut&&ut.f7Page&&($t=et.history.indexOf(ot.route.url)-et.history.indexOf(ut.f7Page.route.url)===1),pt.addClass(`page-${vt?"current":"previous"}${ct?" page-master":""}${yt?" page-master-detail":""}${$t?" page-master-detail-root":""}`).removeAttr("aria-hidden").trigger("page:unstack").trigger("page:position",{position:vt?"current":"previous"}),et.emit("pageUnstack",pt[0]),et.emit("pagePosition",pt[0],vt?"current":"previous"),(ct||yt)&&(pt.trigger("page:role",{role:ct?"master":"detail",root:!!$t}),et.emit("pageRole",pt[0],{role:ct?"master":"detail",detailRoot:!!$t})),ft&&bt.length>0&&(bt.addClass(`navbar-${vt?"current":"previous"}${ct?" navbar-master":""}${yt?" navbar-master-detail":""}${$t?" navbar-master-detail-root":""}`).removeAttr("aria-hidden"),bt.trigger("navbar:position",{position:vt?"current":"previous"}),et.emit("navbarPosition",bt[0],vt?"current":"previous"),(ct||$t)&&et.emit("navbarRole",bt[0],{role:ct?"master":"detail",detailRoot:!!$t}));let wt;if(ot.force&&ht.prev(".page-previous").length>=0){et.history.indexOf(ot.route.url)>=0?(wt=et.history.length-et.history.indexOf(ot.route.url)-1,et.history=et.history.slice(0,et.history.indexOf(ot.route.url)+2),et.propsHistory=et.propsHistory.slice(0,et.history.indexOf(ot.route.url)+2),at.history=et.history):et.history[[et.history.length-2]]?et.propsHistory[et.propsHistory.length-2]=ot.props||{}:(et.history.unshift(et.url),et.propsHistory.unshift(ot.props||{}));const Pt=ht.prev(".page-previous");let kt;ft&&(kt=$$1(it.navbar.getElByPage(Pt))),Pt.length>0&&(et.pageCallback("beforeRemove",Pt,kt,"previous",void 0,ot),Pt[0]===ut&&(dt=!0),et.removePage(Pt),ft&&kt.length&&et.removeNavbar(kt))}const Ct=pt.parents(rt).length>0,Et=pt[0].f7Component;function Mt(){vt&&(!Ct&&Et?Et.mount(Pt=>{et.$el.append(Pt)}):et.$el.append(pt)),pt.next(ht).length===0&&(!Ct&&Et?Et.mount(Pt=>{$$1(Pt).insertBefore(ht)}):pt.insertBefore(ht)),ft&&bt.length&&(bt.find(".title-large").length&&bt.addClass("navbar-large"),bt.insertBefore(xt),xt.length>0?bt.insertBefore(xt):(et.$navbarsEl.parents(rt).length||et.$el.prepend(et.$navbarsEl),mt.append(bt))),Ct?ot.route&&ot.route.route&&ot.route.route.keepAlive&&!pt[0].f7PageMounted&&(pt[0].f7PageMounted=!0,et.pageCallback("mounted",pt,bt,"previous","current",ot,ht)):et.pageCallback("mounted",pt,bt,"previous","current",ot,ht)}if(ot.preload){Mt(),ot.route.route.tab&&et.tabLoad(ot.route.route.tab,extend$5({},ot,{history:!1,browserHistory:!1,preload:!0})),ct&&(pt.removeClass("page-master-stacked").trigger("page:masterunstack"),et.emit("pageMasterUnstack",pt[0]),ft&&($$1(it.navbar.getElByPage(pt)).removeClass("navbar-master-stacked"),et.emit("navbarMasterUnstack",it.navbar.getElByPage(pt)))),et.pageCallback("init",pt,bt,"previous","current",ot,ht),vt&&(et.pageCallback("beforeIn",pt,bt,"current",void 0,ot),et.pageCallback("afterIn",pt,bt,"current",void 0,ot));const Pt=pt.prevAll(".page-previous:not(.page-master)");return Pt.length>0&&Pt.each(kt=>{const _t=$$1(kt);let Bt;ft&&(Bt=$$1(it.navbar.getElByPage(_t))),et.pageCallback("beforeRemove",_t,Bt,"previous",void 0),et.removePage(_t),ft&&Bt.length&&et.removeNavbar(Bt)}),et.allowPageChange=!0,et}if(!(nt.ie||nt.edge||nt.firefox&&!nt.ios)&&et.params.browserHistory&&ot.browserHistory)if(ot.replaceState){const Pt=et.params.browserHistoryRoot||"";History$1.replace(at.id,{url:ot.route.url},Pt+et.params.browserHistorySeparator+ot.route.url)}else wt?History$1.go(-wt):History$1.back();if(ot.replaceState?(et.history[et.history.length-1]=ot.route.url,et.propsHistory[et.propsHistory.length-1]=ot.props||{}):(et.history.length===1&&(et.history.unshift(et.url),et.propsHistory.unshift(ot.props||{})),et.history.pop(),et.propsHistory.pop()),et.saveHistory(),et.currentPageEl=pt[0],ft&&bt.length?et.currentNavbarEl=bt[0]:delete et.currentNavbarEl,et.currentRoute=ot.route,(nt.ie||nt.edge||nt.firefox&&!nt.ios)&&et.params.browserHistory&&ot.browserHistory)if(ot.replaceState){const Pt=et.params.browserHistoryRoot||"";History$1.replace(at.id,{url:ot.route.url},Pt+et.params.browserHistorySeparator+ot.route.url)}else wt?History$1.go(-wt):History$1.back();Mt(),ot.route.route.tab&&et.tabLoad(ot.route.route.tab,extend$5({},ot,{history:!1,browserHistory:!1})),lt&&(gt||dt)&&at.checkMasterDetailBreakpoint(!1),et.pageCallback("init",pt,bt,"previous","current",ot,ht),et.pageCallback("beforeOut",ht,xt,"current","next",ot),et.pageCallback("beforeIn",pt,bt,"previous","current",ot);function St(){et.setPagePosition(pt,"current",!1),et.setPagePosition(ht,"next",!0),ft&&(et.setNavbarPosition(bt,"current",!1),et.setNavbarPosition(xt,"next",!0)),et.pageCallback("afterOut",ht,xt,"current","next",ot),et.pageCallback("afterIn",pt,bt,"previous","current",ot),et.pageCallback("beforeRemove",ht,xt,"next",void 0,ot),et.removePage(ht),ft&&xt.length&&et.removeNavbar(xt),et.allowPageChange=!0,et.emit("routeChanged",et.currentRoute,et.previousRoute,et),(et.params.preloadPreviousPage||et.params[`${it.theme}SwipeBack`])&&et.history[et.history.length-2]&&!ct&&et.back(et.history[et.history.length-2],{preload:!0,props:et.propsHistory[et.propsHistory.length-2]||{}}),et.params.browserHistory&&History$1.clearRouterQueue()}function Rt(){et.setPagePosition(ht,"current"),et.setPagePosition(pt,"previous",!1),ft&&(et.setNavbarPosition(xt,"current"),et.setNavbarPosition(bt,"previous",!1))}if(ot.animate&&!(gt&&it.width>=et.params.masterDetailBreakpoint)){let Pt=et.params.transition;ht[0]&&ht[0].f7PageTransition&&(Pt=ht[0].f7PageTransition,delete ht[0].f7PageTransition),ot.transition&&(Pt=ot.transition),!Pt&&et.previousRoute&&et.previousRoute.route&&(Pt=et.previousRoute.route.transition),!Pt&&et.previousRoute&&et.previousRoute.route&&et.previousRoute.route.options&&(Pt=et.previousRoute.route.options.transition),Rt(),et.animate(ht,pt,xt,bt,"backward",Pt,()=>{St()})}else St();return et}function loadBack(et,_e,tt,nt){if(!et.allowPageChange&&!nt)return et;const rt=_e,st=tt,{url:it,content:at,el:ot,pageName:lt,component:ct,componentUrl:ut}=rt;if(st.route.url&&et.url===st.route.url&&!(st.reloadCurrent||st.reloadPrevious)&&!et.params.allowDuplicateUrls)return et.allowPageChange=!0,!1;!st.route&&it&&(st.route=et.parseRouteUrl(it));function dt(pt,ht){return backward(et,pt,extend$5(st,ht))}function ft(){return et.allowPageChange=!0,et}if((it||ut||ct)&&(et.allowPageChange=!1),at)backward(et,et.getPageEl(at),st);else if(ot)backward(et,et.getPageEl(ot),st);else if(lt)backward(et,et.$el.children(`.page[data-name="${lt}"]`).eq(0),st);else if(ct||ut)try{et.pageComponentLoader({routerEl:et.el,component:ct,componentUrl:ut,options:st,resolve:dt,reject:ft})}catch(pt){throw et.allowPageChange=!0,pt}else it&&(et.xhrAbortController&&(et.xhrAbortController.abort(),et.xhrAbortController=!1),et.xhrRequest(it,st).then(pt=>{backward(et,et.getPageEl(pt),st)}).catch(()=>{et.allowPageChange=!0}));return et}function back(){const et=this,_e=getDevice$1();if(et.swipeBackActive)return et;let tt,nt,rt,st;typeof(arguments.length<=0?void 0:arguments[0])=="object"?nt=(arguments.length<=0?void 0:arguments[0])||{}:(tt=arguments.length<=0?void 0:arguments[0],nt=(arguments.length<=1?void 0:arguments[1])||{});const{name:it,params:at,query:ot}=nt;if(it)return tt=et.generateUrl({name:it,params:at,query:ot}),tt?et.back(tt,extend$5({},nt,{name:null,params:null,query:null})):et;const lt=et.app;appRouterCheck(et,"back");let ct=et.currentRoute.modal,ut;if(ct||"popup popover sheet loginScreen actions customModal panel".split(" ").forEach(gt=>{et.currentRoute.route[gt]&&(ct=!0,ut=gt)}),ct&&!nt.preload){const gt=et.currentRoute.modal||et.currentRoute.route.modalInstance||lt[ut].get(),mt=et.history[et.history.length-2];let bt;if(gt&>.$el){const yt=gt.$el.prevAll(".modal-in");if(yt.length&&yt[0].f7Modal){const $t=yt[0];et.$el.parents($t).length||(bt=$t.f7Modal.route)}}if(bt||(bt=et.findMatchingRoute(mt)),!bt&&mt&&(bt={url:mt,path:mt.split("?")[0],query:parseUrlQuery(mt),route:{path:mt.split("?")[0],url:mt}}),(!tt||tt.replace(/[# ]/g,"").trim().length===0)&&(!bt||!gt))return et;const xt=nt.force&&bt&&tt;if(bt&>){const yt=_e.ie||_e.edge||_e.firefox&&!_e.ios,$t=et.params.browserHistory&&nt.browserHistory!==!1,wt=et.currentRoute&&et.currentRoute.route&&et.currentRoute.route.options&&et.currentRoute.route.options.browserHistory===!1;$t&&!yt&&!wt&&History$1.back(),et.currentRoute=bt,et.history.pop(),et.propsHistory.pop(),et.saveHistory(),$t&&yt&&!wt&&History$1.back(),et.modalRemove(gt),xt&&et.navigate(tt,{reloadCurrent:!0})}else gt&&(et.modalRemove(gt),tt&&et.navigate(tt,{reloadCurrent:!0}));return et}let dt=et.$el.children(".page-current").prevAll(".page-previous:not(.page-master)").eq(0),ft;if(et.params.masterDetailBreakpoint>0){const gt=[];et.$el.children(".page").each(bt=>{gt.push(bt.className)});const mt=et.$el.children(".page-current").prevAll(".page-master").eq(0);if(mt.length){const bt=et.history[et.history.length-2],xt=et.findMatchingRoute(bt);xt&&mt[0].f7Page&&xt.route===mt[0].f7Page.route.route&&(dt=mt,nt.preload||(ft=lt.width>=et.params.masterDetailBreakpoint))}}if(!nt.force&&dt.length&&!ft){if(et.params.browserHistory&&dt[0].f7Page&&et.history[et.history.length-2]!==dt[0].f7Page.route.url)return et.back(et.history[et.history.length-2],extend$5(nt,{force:!0,props:et.propsHistory[et.propsHistory.length-2]||{}})),et;const gt=dt[0].f7Page.route;return processRouteQueue.call(et,gt,et.currentRoute,()=>{loadBack(et,{el:dt},extend$5(nt,{route:gt}))},()=>{},"backward"),et}if(tt==="#"&&(tt=void 0),tt&&tt[0]!=="/"&&tt.indexOf("#")!==0&&(tt=((et.path||"/")+tt).replace("//","/")),!tt&&et.history.length>1&&(tt=et.history[et.history.length-2],rt=et.propsHistory[et.propsHistory.length-2]||{}),ft&&!nt.force&&et.history[et.history.length-3])return et.back(et.history[et.history.length-3],extend$5({},nt||{},{force:!0,animate:!1,props:et.propsHistory[et.propsHistory.length-3]||{}}));if(ft&&!nt.force||(st=et.findMatchingRoute(tt),st||tt&&(st={url:tt,path:tt.split("?")[0],query:parseUrlQuery(tt),route:{path:tt.split("?")[0],url:tt}}),!st))return et;if(st.route.redirect)return redirect.call(et,"backward",st,nt);const pt={};st.route.options?extend$5(pt,st.route.options,nt,{props:rt||{}}):extend$5(pt,nt,{props:rt||{}}),pt.route=st;function ht(){let gt=!1;if(st.route.keepAlive&&st.route.keepAliveData&&(loadBack(et,{el:st.route.keepAliveData.pageEl},pt),gt=!0),"url content component pageName el componentUrl".split(" ").forEach(xt=>{st.route[xt]&&!gt&&(gt=!0,loadBack(et,{[xt]:st.route[xt]},pt))}),gt)return;function mt(xt,yt){et.allowPageChange=!1,loadBack(et,xt,extend$5(pt,yt),!0)}function bt(){et.allowPageChange=!0}st.route.async&&(et.allowPageChange=!1,st.route.async.call(et,{router:et,to:st,from:et.currentRoute,resolve:mt,reject:bt,direction:"backward",app:lt})),st.route.asyncComponent&&asyncComponent(et,st.route.asyncComponent,mt,bt)}function vt(){et.allowPageChange=!0}return pt.preload?ht():processRouteQueue.call(et,st,et.currentRoute,()=>{st.route.modules?lt.loadModules(Array.isArray(st.route.modules)?st.route.modules:[st.route.modules]).then(()=>{ht()}).catch(()=>{vt()}):ht()},()=>{vt()},"backward"),et}function clearPreviousPages(et){appRouterCheck(et,"clearPreviousPages");const _e=et.app,tt=et.dynamicNavbar;et.$el.children(".page").filter(rt=>et.currentRoute&&(et.currentRoute.modal||et.currentRoute.panel)?!0:rt!==et.currentPageEl).each(rt=>{const st=$$1(rt),it=$$1(_e.navbar.getElByPage(st));et.pageCallback("beforeRemove",st,it,"previous",void 0,{}),et.removePage(st),tt&&it.length&&et.removeNavbar(it)})}function clearPreviousHistory(){const et=this;appRouterCheck(et,"clearPreviousHistory");const _e=et.history[et.history.length-1];clearPreviousPages(et),et.history=[_e],et.view.history=[_e],et.saveHistory()}class Router extends Framework7Class{constructor(_e,tt){super({},[typeof tt>"u"?_e:tt]);const nt=this;nt.isAppRouter=typeof tt>"u",nt.isAppRouter?extend$5(!1,nt,{app:_e,params:_e.params.view,routes:_e.routes||[],cache:_e.cache}):extend$5(!1,nt,{app:_e,view:tt,viewId:tt.id,id:tt.params.routerId,params:tt.params,routes:tt.routes,history:tt.history,propsHistory:[],scrollHistory:tt.scrollHistory,cache:_e.cache,dynamicNavbar:_e.theme==="ios"&&tt.params.iosDynamicNavbar,initialPages:[],initialNavbars:[]}),nt.useModules(),nt.allowPageChange=!0;let rt={},st={};return Object.defineProperty(nt,"currentRoute",{enumerable:!0,configurable:!0,set(it){it===void 0&&(it={}),st=extend$5({},rt),rt=it,rt&&(nt.url=rt.url,nt.emit("routeChange",it,st,nt))},get(){return rt}}),Object.defineProperty(nt,"previousRoute",{enumerable:!0,configurable:!0,get(){return st},set(it){st=it}}),nt}mount(){const _e=this,tt=_e.view,nt=getDocument$1();extend$5(!1,_e,{tempDom:nt.createElement("div"),$el:tt.$el,el:tt.el,$navbarsEl:tt.$navbarsEl,navbarsEl:tt.navbarsEl}),_e.emit("local::mount routerMount",_e)}animatableNavElements(_e,tt,nt,rt,st){const it=this,at=it.dynamicNavbar,ot=it.params.iosAnimateNavbarBackIcon;let lt,ct;function ut(dt,ft){const pt=dt.hasClass("sliding")||ft.hasClass("sliding"),ht=dt.hasClass("subnavbar"),vt=pt?!ht:!0,gt=dt.find(".back .icon");let mt;return pt&&ot&&dt.hasClass("left")&>.length>0&>.next("span").length&&(dt=gt.next("span"),mt=!0),{$el:dt,isIconLabel:mt,leftOffset:dt[0].f7NavbarLeftOffset,rightOffset:dt[0].f7NavbarRightOffset,isSliding:pt,isSubnavbar:ht,needsOpacityTransition:vt}}return at&&(lt=[],ct=[],_e.children(".navbar-inner").children(".left, .right, .title, .subnavbar").each(dt=>{const ft=$$1(dt);ft.hasClass("left")&&rt&&st==="forward"||ft.hasClass("title")&&nt||lt.push(ut(ft,_e.children(".navbar-inner")))}),tt.hasClass("navbar-master")&&it.params.masterDetailBreakpoint>0&&it.app.width>=it.params.masterDetailBreakpoint||tt.children(".navbar-inner").children(".left, .right, .title, .subnavbar").each(dt=>{const ft=$$1(dt);ft.hasClass("left")&&nt&&!rt&&st==="forward"||ft.hasClass("left")&&nt&&st==="backward"||ft.hasClass("title")&&rt||ct.push(ut(ft,tt.children(".navbar-inner")))}),[ct,lt].forEach(dt=>{dt.forEach(ft=>{const pt=ft,{isSliding:ht,$el:vt}=ft,gt=dt===ct?lt:ct;ht&&vt.hasClass("title")&>&>.forEach(mt=>{if(mt.isIconLabel){const bt=mt.$el[0];pt.leftOffset+=bt&&bt.offsetLeft||0}})})})),{newNavEls:lt,oldNavEls:ct}}animate(_e,tt,nt,rt,st,it,at){const ot=this;if(ot.params.animateCustom){ot.params.animateCustom.apply(ot,[_e,tt,nt,rt,st,at]);return}const lt=ot.dynamicNavbar,ct=ot.app.theme==="ios";if(it){const yt=`router-transition-custom router-transition-${it}-${st}`,$t=()=>{ot.$el.removeClass(yt),lt&&ot.$navbarsEl.length&&(rt&&ot.$navbarsEl.prepend(rt),nt&&ot.$navbarsEl.prepend(nt)),at&&at()};(st==="forward"?tt:_e).animationEnd($t),lt&&(rt&&tt&&(ot.setNavbarPosition(rt,""),rt.removeClass("navbar-next navbar-previous navbar-current"),tt.prepend(rt)),nt&&_e&&(ot.setNavbarPosition(nt,""),nt.removeClass("navbar-next navbar-previous navbar-current"),_e.prepend(nt))),ot.$el.addClass(yt);return}const ut=`router-transition-${st} router-transition`;let dt,ft,pt,ht,vt,gt,mt;if(ct&<){ot.params.masterDetailBreakpoint>0&&ot.app.width>=ot.params.masterDetailBreakpoint&&(nt.hasClass("navbar-master")&&rt.hasClass("navbar-master-detail")||nt.hasClass("navbar-master-detail")&&rt.hasClass("navbar-master"))||(gt=nt&&nt.hasClass("navbar-large"),mt=rt&&rt.hasClass("navbar-large"),pt=gt&&!nt.hasClass("navbar-large-collapsed"),ht=mt&&!rt.hasClass("navbar-large-collapsed"),vt=pt&&!ht||ht&&!pt);const $t=ot.animatableNavElements(rt,nt,ht,pt,st);dt=$t.newNavEls,ft=$t.oldNavEls}function bt(yt){ct&<&&(yt===1&&(ht&&(rt.addClass("router-navbar-transition-to-large"),nt.addClass("router-navbar-transition-to-large")),pt&&(rt.addClass("router-navbar-transition-from-large"),nt.addClass("router-navbar-transition-from-large"))),dt.forEach($t=>{const wt=$t.$el,Ct=st==="forward"?$t.rightOffset:$t.leftOffset;$t.isSliding&&($t.isSubnavbar&&mt?wt[0].style.setProperty("transform",`translate3d(${Ct*(1-yt)}px, calc(-1 * var(--f7-navbar-large-collapse-progress) * var(--f7-navbar-large-title-height)), 0)`,"important"):wt.transform(`translate3d(${Ct*(1-yt)}px,0,0)`))}),ft.forEach($t=>{const wt=$t.$el,Ct=st==="forward"?$t.leftOffset:$t.rightOffset;$t.isSliding&&($t.isSubnavbar&>?wt.transform(`translate3d(${Ct*yt}px, calc(-1 * var(--f7-navbar-large-collapse-progress) * var(--f7-navbar-large-title-height)), 0)`):wt.transform(`translate3d(${Ct*yt}px,0,0)`))}))}function xt(){ot.dynamicNavbar&&(rt&&(rt.removeClass("router-navbar-transition-to-large router-navbar-transition-from-large"),rt.addClass("navbar-no-title-large-transition"),nextFrame(()=>{rt.removeClass("navbar-no-title-large-transition")})),nt&&nt.removeClass("router-navbar-transition-to-large router-navbar-transition-from-large"),rt.hasClass("sliding")||rt.children(".navbar-inner.sliding").length?rt.find(".title, .left, .right, .left .icon, .subnavbar").transform(""):rt.find(".sliding").transform(""),nt.hasClass("sliding")||nt.children(".navbar-inner.sliding").length?nt.find(".title, .left, .right, .left .icon, .subnavbar").transform(""):nt.find(".sliding").transform("")),ot.$el.removeClass(ut),at&&at()}(st==="forward"?tt:ct?_e:tt).animationEnd(()=>{xt()}),lt?(bt(0),nextFrame(()=>{ot.$el.addClass(ut),vt&&(ot.el._clientLeft=ot.el.clientLeft),bt(1)})):ot.$el.addClass(ut)}removeModal(_e){this.removeEl(_e)}removeTabContent(_e){$$1(_e).html("")}removeNavbar(_e){this.removeEl(_e)}removePage(_e){const tt=$$1(_e),nt=tt&&tt[0]&&tt[0].f7Page,rt=this;if(nt&&nt.route&&nt.route.route&&nt.route.route.keepAlive){tt.remove();return}rt.removeEl(_e)}removeEl(_e){if(!_e)return;const tt=this,nt=$$1(_e);nt.length!==0&&(nt.find(".tab").each(rt=>{$$1(rt).children().each(st=>{st.f7Component&&($$1(st).trigger("tab:beforeremove"),st.f7Component.destroy())})}),nt[0].f7Component&&nt[0].f7Component.destroy&&nt[0].f7Component.destroy(),tt.params.removeElements&&(tt.params.removeElementsWithTimeout?setTimeout(()=>{nt.remove()},tt.params.removeElementsTimeout):nt.remove()))}getPageEl(_e){const tt=this;if(typeof _e=="string")tt.tempDom.innerHTML=_e;else{if($$1(_e).hasClass("page"))return _e;tt.tempDom.innerHTML="",$$1(tt.tempDom).append(_e)}return tt.findElement(".page",tt.tempDom)}findElement(_e,tt){const nt=this,rt=nt.view,st=nt.app,it=".popup, .dialog, .popover, .actions-modal, .sheet-modal, .login-screen, .page",at=$$1(tt),ot=_e;let lt=at.find(ot).filter(ct=>$$1(ct).parents(it).length===0);if(lt.length>1&&(typeof rt.selector=="string"&&(lt=at.find(`${rt.selector} ${ot}`)),lt.length>1&&(lt=at.find(`.${st.params.viewMainClass} ${ot}`))),lt.length===1||(lt=nt.findElement(ot,at),lt&<.length===1))return lt;if(lt&<.length>1)return $$1(lt[0])}flattenRoutes(_e){_e===void 0&&(_e=this.routes);const tt=this;let nt=[];return _e.forEach(rt=>{let st=!1;if("tabs"in rt&&rt.tabs){const it=rt.tabs.map(at=>{const ot=extend$5({},rt,{path:`${rt.path}/${at.path}`.replace("///","/").replace("//","/"),parentPath:rt.path,tab:at});return delete ot.tabs,delete ot.routes,ot});st=!0,nt=nt.concat(tt.flattenRoutes(it))}if("detailRoutes"in rt){const it=rt.detailRoutes.map(at=>{const ot=extend$5({},at);return ot.masterRoute=rt,ot.masterRoutePath=rt.path,ot});nt=nt.concat(rt,tt.flattenRoutes(it))}if("routes"in rt){const it=rt.routes.map(at=>{const ot=extend$5({},at);return ot.path=`${rt.path}/${ot.path}`.replace("///","/").replace("//","/"),ot});st?nt=nt.concat(tt.flattenRoutes(it)):nt=nt.concat(rt,tt.flattenRoutes(it))}!("routes"in rt)&&!("tabs"in rt&&rt.tabs)&&!("detailRoutes"in rt)&&nt.push(rt)}),nt}parseRouteUrl(_e){if(!_e)return{};const tt=parseUrlQuery(_e),nt=_e.split("#")[1],rt={},st=_e.split("#")[0].split("?")[0];return{query:tt,hash:nt,params:rt,url:_e,path:st}}generateUrl(_e){if(_e===void 0&&(_e={}),typeof _e=="string")return _e;const{name:tt,path:nt,params:rt,query:st}=_e;if(!tt&&!nt)throw new Error('Framework7: "name" or "path" parameter is required');const it=this,at=tt?it.findRouteByKey("name",tt):it.findRouteByKey("path",nt);if(!at)throw tt?new Error(`Framework7: route with name "${tt}" not found`):new Error(`Framework7: route with path "${nt}" not found`);const ot=it.constructRouteUrl(at,{params:rt,query:st});if(ot==="")return"/";if(!ot)throw new Error(`Framework7: can't construct URL for route with name "${tt}"`);return ot}constructRouteUrl(_e,tt){let{params:nt,query:rt}=tt===void 0?{}:tt;const{path:st}=_e,it=compile(st);let at;try{at=it(nt||{})}catch(ot){throw new Error(`Framework7: error constructing route URL from passed params: +Route: ${st} +${ot.toString()}`)}return rt&&(typeof rt=="string"?at+=`?${rt}`:Object.keys(rt).length&&(at+=`?${serializeObject(rt)}`)),at}findTabRouteUrl(_e){const tt=this,nt=$$1(_e),rt=tt.currentRoute.route.parentPath,st=nt.attr("id"),it=tt.flattenRoutes(tt.routes);let at;return it.forEach(ot=>{ot.parentPath===rt&&ot.tab&&ot.tab.id===st&&(tt.currentRoute.params&&Object.keys(tt.currentRoute.params).length>0?at=tt.constructRouteUrl(ot,{params:tt.currentRoute.params,query:tt.currentRoute.query}):at=ot.path)}),at}findRouteByKey(_e,tt){const nt=this,rt=nt.routes,st=nt.flattenRoutes(rt);let it;return st.forEach(at=>{it||at[_e]===tt&&(it=at)}),it}findMatchingRoute(_e){if(!_e)return;const tt=this,nt=tt.routes,rt=tt.flattenRoutes(nt),{path:st,query:it,hash:at,params:ot}=tt.parseRouteUrl(_e);let lt;return rt.forEach(ct=>{if(lt)return;const ut=[],dt=[ct.path||"/"];ct.alias&&(typeof ct.alias=="string"?dt.push(ct.alias):Array.isArray(ct.alias)&&ct.alias.forEach(pt=>{dt.push(pt)}));let ft;if(dt.forEach(pt=>{ft||(ft=pathToRegexp(pt,ut).exec(st||"/"))}),ft){ut.forEach((ht,vt)=>{if(typeof ht.name=="number")return;const gt=ft[vt+1];typeof gt>"u"||gt===null?ot[ht.name]=gt:ot[ht.name]=decodeURIComponent(gt)});let pt;ct.parentPath&&(pt=(st||"/").split("/").slice(0,ct.parentPath.split("/").length-1).join("/")),lt={query:it,hash:at,params:ot,url:_e,path:st||"/",parentPath:pt,route:ct,name:ct.name}}}),lt}replaceRequestUrlParams(_e,tt){_e===void 0&&(_e=""),tt===void 0&&(tt={});let nt=_e;return typeof nt=="string"&&nt.indexOf("{{")>=0&&tt&&tt.route&&tt.route.params&&Object.keys(tt.route.params).length&&Object.keys(tt.route.params).forEach(rt=>{const st=new RegExp(`{{${rt}}}`,"g");nt=nt.replace(st,tt.route.params[rt]||"")}),nt}removeFromXhrCache(_e){const nt=this.cache.xhr;let rt=!1;for(let st=0;st=0;return rt.passRouteQueryToRequest&&tt&&tt.route&&tt.route.query&&Object.keys(tt.route.query).length&&(it+=`${at?"&":"?"}${serializeObject(tt.route.query)}`,at=!0),rt.passRouteParamsToRequest&&tt&&tt.route&&tt.route.params&&Object.keys(tt.route.params).length&&(it+=`${at?"&":"?"}${serializeObject(tt.route.params)}`,at=!0),it.indexOf("{{")>=0&&(it=nt.replaceRequestUrlParams(it,tt)),rt.xhrCacheIgnoreGetParameters&&it.indexOf("?")>=0&&(it=it.split("?")[0]),new Promise((ot,lt)=>{if(rt.xhrCache&&!st&&it.indexOf("nocache")<0&&rt.xhrCacheIgnore.indexOf(it)<0)for(let ut=0;ut(ct=ut,ut.text())).then(ut=>{const{status:dt}=ct;nt.emit("routerAjaxComplete",ct),dt!=="error"&&dt!=="timeout"&&dt>=200&&dt<300||dt===0?(rt.xhrCache&&ut!==""&&(nt.removeFromXhrCache(it),nt.cache.xhr.push({url:it,time:now$2(),content:ut})),nt.emit("routerAjaxSuccess",ct,tt),ot(ut)):(nt.emit("routerAjaxError",ct,tt),lt(ct))}).catch(ut=>{lt(ut)})})}setNavbarPosition(_e,tt,nt){const rt=this;_e.removeClass("navbar-previous navbar-current navbar-next"),tt&&_e.addClass(`navbar-${tt}`),nt===!1?_e.removeAttr("aria-hidden"):nt===!0&&_e.attr("aria-hidden","true"),_e.trigger("navbar:position",{position:tt}),rt.emit("navbarPosition",_e[0],tt)}setPagePosition(_e,tt,nt){const rt=this;_e.removeClass("page-previous page-current page-next"),_e.addClass(`page-${tt}`),nt===!1?_e.removeAttr("aria-hidden"):nt===!0&&_e.attr("aria-hidden","true"),_e.trigger("page:position",{position:tt}),rt.emit("pagePosition",_e[0],tt)}removeThemeElements(_e){const nt=this.app.theme;let rt;nt==="ios"?rt=".md-only, .if-md, .if-not-ios, .not-ios":nt==="md"&&(rt=".ios-only, .if-ios, .if-not-md, .not-md"),$$1(_e).find(rt).remove()}getPageData(_e,tt,nt,rt,st,it){st===void 0&&(st={});const at=this,ot=$$1(_e).eq(0),lt=$$1(tt).eq(0),ct=ot[0].f7Page||{};let ut,dt;if((nt==="next"&&rt==="current"||nt==="current"&&rt==="previous")&&(ut="forward"),(nt==="current"&&rt==="next"||nt==="previous"&&rt==="current")&&(ut="backward"),ct&&!ct.fromPage){const pt=$$1(it);pt.length&&(dt=pt[0].f7Page)}dt=ct.pageFrom||dt,dt&&dt.pageFrom&&(dt.pageFrom=null);const ft={app:at.app,view:at.view,router:at,$el:ot,el:ot[0],$pageEl:ot,pageEl:ot[0],$navbarEl:lt,navbarEl:lt[0],name:ot.attr("data-name"),position:nt,from:nt,to:rt,direction:ut,route:ct.route?ct.route:st,pageFrom:dt};return ot[0].f7Page=ft,ft}pageCallback(_e,tt,nt,rt,st,it,at){if(it===void 0&&(it={}),!tt)return;const ot=this,lt=$$1(tt);if(!lt.length)return;const ct=$$1(nt),{route:ut}=it,dt=ot.params.restoreScrollTopOnBack&&!(ot.params.masterDetailBreakpoint>0&<.hasClass("page-master")&&ot.app.width>=ot.params.masterDetailBreakpoint),ft=lt[0].f7Page&<[0].f7Page.route&<[0].f7Page.route.route&<[0].f7Page.route.route.keepAlive;_e==="beforeRemove"&&ft&&(_e="beforeUnmount");const pt=`page${_e[0].toUpperCase()+_e.slice(1,_e.length)}`,ht=`page:${_e.toLowerCase()}`;let vt={};_e==="beforeRemove"&<[0].f7Page?vt=extend$5(lt[0].f7Page,{from:rt,to:st,position:rt}):vt=ot.getPageData(lt[0],ct[0],rt,st,ut,at),vt.swipeBack=!!it.swipeBack;const{on:gt={},once:mt={}}=it.route?it.route.route:{};it.on&&extend$5(gt,it.on),it.once&&extend$5(mt,it.once);function bt(){lt[0].f7RouteEventsAttached||(lt[0].f7RouteEventsAttached=!0,gt&&Object.keys(gt).length>0&&(lt[0].f7RouteEventsOn=gt,Object.keys(gt).forEach(yt=>{gt[yt]=gt[yt].bind(ot),lt.on(eventNameToColonCase(yt),gt[yt])})),mt&&Object.keys(mt).length>0&&(lt[0].f7RouteEventsOnce=mt,Object.keys(mt).forEach(yt=>{mt[yt]=mt[yt].bind(ot),lt.once(eventNameToColonCase(yt),mt[yt])})))}function xt(){lt[0].f7RouteEventsAttached&&(lt[0].f7RouteEventsOn&&Object.keys(lt[0].f7RouteEventsOn).forEach(yt=>{lt.off(eventNameToColonCase(yt),lt[0].f7RouteEventsOn[yt])}),lt[0].f7RouteEventsOnce&&Object.keys(lt[0].f7RouteEventsOnce).forEach(yt=>{lt.off(eventNameToColonCase(yt),lt[0].f7RouteEventsOnce[yt])}),lt[0].f7RouteEventsAttached=null,lt[0].f7RouteEventsOn=null,lt[0].f7RouteEventsOnce=null,delete lt[0].f7RouteEventsAttached,delete lt[0].f7RouteEventsOn,delete lt[0].f7RouteEventsOnce)}if(_e==="mounted"&&bt(),_e==="init"){if(dt&&(rt==="previous"||!rt)&&st==="current"&&ot.scrollHistory[vt.route.url]&&!lt.hasClass("no-restore-scroll")){let yt=lt.find(".page-content");yt.length>0&&(yt=yt.filter($t=>$$1($t).parents(".tab:not(.tab-active)").length===0&&!$$1($t).is(".tab:not(.tab-active)"))),yt.scrollTop(ot.scrollHistory[vt.route.url])}if(bt(),lt[0].f7PageInitialized){lt.trigger("page:reinit",vt),ot.emit("pageReinit",vt);return}lt[0].f7PageInitialized=!0}if(dt&&_e==="beforeOut"&&rt==="current"&&st==="previous"){let yt=lt.find(".page-content");yt.length>0&&(yt=yt.filter($t=>$$1($t).parents(".tab:not(.tab-active)").length===0&&!$$1($t).is(".tab:not(.tab-active)"))),ot.scrollHistory[vt.route.url]=yt.scrollTop()}dt&&_e==="beforeOut"&&rt==="current"&&st==="next"&&delete ot.scrollHistory[vt.route.url],lt.trigger(ht,vt),ot.emit(pt,vt),(_e==="beforeRemove"||_e==="beforeUnmount")&&(xt(),ft||(lt[0].f7Page&<[0].f7Page.navbarEl&&delete lt[0].f7Page.navbarEl.f7Page,lt[0].f7Page=null))}saveHistory(){const _e=this,tt=getWindow$1();_e.view.history=_e.history,_e.params.browserHistory&&_e.params.browserHistoryStoreHistory&&tt.localStorage&&(tt.localStorage[`f7router-${_e.view.id}-history`]=JSON.stringify(_e.history))}restoreHistory(){const _e=this,tt=getWindow$1();_e.params.browserHistory&&_e.params.browserHistoryStoreHistory&&tt.localStorage&&tt.localStorage[`f7router-${_e.view.id}-history`]&&(_e.history=JSON.parse(tt.localStorage[`f7router-${_e.view.id}-history`]),_e.view.history=_e.history)}clearHistory(){const _e=this;_e.history=[],_e.view&&(_e.view.history=[]),_e.saveHistory()}updateCurrentUrl(_e){const tt=this;appRouterCheck(tt,"updateCurrentUrl"),tt.history.length?tt.history[tt.history.length-1]=_e:tt.history.push(_e);const{query:nt,hash:rt,params:st,url:it,path:at}=tt.parseRouteUrl(_e);if(tt.currentRoute&&extend$5(tt.currentRoute,{query:nt,hash:rt,params:st,url:it,path:at}),tt.params.browserHistory){const ot=tt.params.browserHistoryRoot||"";History$1.replace(tt.view.id,{url:_e},ot+tt.params.browserHistorySeparator+_e)}tt.saveHistory(),tt.emit("routeUrlUpdate",tt.currentRoute,tt)}getInitialUrl(){const _e=this;if(_e.initialUrl)return{initialUrl:_e.initialUrl,historyRestored:_e.historyRestored};const{app:tt,view:nt}=_e,rt=getDocument$1(),st=getWindow$1(),it=tt.params.url&&typeof tt.params.url=="string"&&typeof URL<"u"?new URL(tt.params.url):rt.location;let at=_e.params.url,ot=it.href.split(it.origin)[1],lt;const{browserHistory:ct,browserHistoryOnLoad:ut,browserHistorySeparator:dt}=_e.params;let{browserHistoryRoot:ft}=_e.params;return(st.cordova||st.Capacitor&&st.Capacitor.isNative)&&ct&&!dt&&!ft&&it.pathname.indexOf("index.html")&&(console.warn("Framework7: wrong or not complete browserHistory configuration, trying to guess browserHistoryRoot"),ft=it.pathname.split("index.html")[0]),!ct||!ut?(at||(at=ot),it.search&&at.indexOf("?")<0&&(at+=it.search),it.hash&&at.indexOf("#")<0&&(at+=it.hash)):(ft&&ot.indexOf(ft)>=0&&(ot=ot.substring(ot.indexOf(ft)+ft.length),ot===""&&(ot="/")),dt.length>0&&ot.indexOf(dt)>=0?at=ot.substring(ot.indexOf(dt)+dt.length):at=ot,_e.restoreHistory(),_e.history.indexOf(at)>=0?_e.history=_e.history.slice(0,_e.history.indexOf(at)+1):_e.params.url===at?_e.history=[at]:History$1.state&&History$1.state[nt.id]&&History$1.state[nt.id].url===_e.history[_e.history.length-1]?at=_e.history[_e.history.length-1]:_e.history=[ot.split(dt)[0]||"/",at],_e.history.length>1?lt=!0:_e.history=[],_e.saveHistory()),_e.initialUrl=at,_e.historyRestored=lt,{initialUrl:at,historyRestored:lt}}init(){const _e=this,{app:tt,view:nt}=_e,rt=getDocument$1();_e.mount();const{initialUrl:st,historyRestored:it}=_e.getInitialUrl();(nt&&_e.params.iosSwipeBack&&tt.theme==="ios"||nt&&_e.params.mdSwipeBack&&tt.theme==="md")&&SwipeBack(_e);const{browserHistory:at,browserHistoryOnLoad:ot,browserHistoryAnimateOnLoad:lt,browserHistoryInitialMatch:ct}=_e.params;let ut;if(_e.history.length>1){const dt=ct?st:_e.history[0];ut=_e.findMatchingRoute(dt),ut||(ut=extend$5(_e.parseRouteUrl(dt),{route:{url:dt,path:dt.split("?")[0]}}))}else ut=_e.findMatchingRoute(st),ut||(ut=extend$5(_e.parseRouteUrl(st),{route:{url:st,path:st.split("?")[0]}}));if(_e.$el.children(".page").length===0&&st&&_e.params.loadInitialPage)_e.navigate(st,{initial:!0,reloadCurrent:!0,browserHistory:!1,animate:!1,once:{modalOpen(){if(!it)return;(_e.params.preloadPreviousPage||_e.params[`${tt.theme}SwipeBack`])&&_e.history.length>1&&_e.back({preload:!0})},pageAfterIn(){if(!it)return;(_e.params.preloadPreviousPage||_e.params[`${tt.theme}SwipeBack`])&&_e.history.length>1&&_e.back({preload:!0})}}});else if(_e.$el.children(".page").length){let dt;_e.currentRoute=ut,_e.$el.children(".page").each(ft=>{const pt=$$1(ft);let ht;_e.setPagePosition(pt,"current"),_e.dynamicNavbar&&(ht=pt.children(".navbar"),ht.length>0?(_e.$navbarsEl.parents(rt).length||_e.$el.prepend(_e.$navbarsEl),_e.setNavbarPosition(ht,"current"),_e.$navbarsEl.append(ht),ht.children(".title-large").length&&ht.addClass("navbar-large"),pt.children(".navbar").remove()):(_e.$navbarsEl.addClass("navbar-hidden"),ht.children(".title-large").length&&_e.$navbarsEl.addClass("navbar-hidden navbar-large-hidden"))),_e.currentRoute&&_e.currentRoute.route&&(_e.currentRoute.route.master===!0||typeof _e.currentRoute.route.master=="function"&&_e.currentRoute.route.master(tt,_e))&&_e.params.masterDetailBreakpoint>0&&(pt.addClass("page-master"),pt.trigger("page:role",{role:"master"}),ht&&ht.length&&ht.addClass("navbar-master"),nt.checkMasterDetailBreakpoint());const vt={route:_e.currentRoute};_e.currentRoute&&_e.currentRoute.route&&_e.currentRoute.route.options&&extend$5(vt,_e.currentRoute.route.options),_e.currentPageEl=pt[0],_e.dynamicNavbar&&ht.length&&(_e.currentNavbarEl=ht[0]),_e.removeThemeElements(pt),_e.dynamicNavbar&&ht.length&&_e.removeThemeElements(ht),vt.route.route.tab&&(dt=!0,_e.tabLoad(vt.route.route.tab,extend$5({},vt))),_e.pageCallback("init",pt,ht,"current",void 0,vt),_e.pageCallback("beforeIn",pt,ht,"current",void 0,vt),_e.pageCallback("afterIn",pt,ht,"current",void 0,vt)}),it&&(ct?(_e.params.preloadPreviousPage||_e.params[`${tt.theme}SwipeBack`])&&_e.history.length>1&&_e.back({preload:!0}):_e.navigate(st,{initial:!0,browserHistory:!1,history:!1,animate:lt,once:{pageAfterIn(){(_e.params.preloadPreviousPage||_e.params[`${tt.theme}SwipeBack`])&&_e.history.length>2&&_e.back({preload:!0})}}})),!it&&!dt&&(_e.history.push(st),_e.saveHistory())}st&&at&&ot&&(!History$1.state||!History$1.state[nt.id])&&History$1.initViewState(nt.id,{url:st}),_e.emit("local::init routerInit",_e)}destroy(){let _e=this;_e.emit("local::destroy routerDestroy",_e),Object.keys(_e).forEach(tt=>{_e[tt]=null,delete _e[tt]}),_e=null}}Router.prototype.navigate=navigate;Router.prototype.refreshPage=refreshPage;Router.prototype.tabLoad=tabLoad;Router.prototype.tabRemove=tabRemove;Router.prototype.modalLoad=modalLoad;Router.prototype.modalRemove=modalRemove;Router.prototype.back=back;Router.prototype.clearPreviousHistory=clearPreviousHistory;const RouterModule={name:"router",static:{Router},instance:{cache:{xhr:[],templates:[],components:[]}},create(){const et=this;et.app?et.params.router&&(et.router=new Router(et.app,et)):et.router=new Router(et)}};function resizableView(et){const _e=et.app,tt=getSupport$1();if(et.resizableInitialized)return;extend$5(et,{resizable:!0,resizableWidth:null,resizableInitialized:!0});const nt=$$1("html"),{$el:rt}=et;if(!rt)return;let st,it,at;const ot={};let lt,ct,ut,dt;function ft(xt){if(!xt)return null;if(xt.indexOf("%")>=0||xt.indexOf("vw")>=0)return parseInt(xt,10)/100*_e.width;const yt=parseInt(xt,10);return Number.isNaN(yt)?null:yt}function pt(){return et.resizable&&rt.hasClass("view-resizable")&&rt.hasClass("view-master-detail")}function ht(xt){if(!pt())return;ot.x=xt.type==="touchstart"?xt.targetTouches[0].pageX:xt.pageX,ot.y=xt.type==="touchstart"?xt.targetTouches[0].pageY:xt.pageY,at=!1,it=!0;const yt=rt.children(".page-master");ut=ft(yt.css("min-width")),dt=ft(yt.css("max-width"))}function vt(xt){if(!it)return;xt.f7PreventSwipePanel=!0;const yt=xt.type==="touchmove"?xt.targetTouches[0].pageX:xt.pageX;at||(ct=st[0].offsetLeft+st[0].offsetWidth,rt.addClass("view-resizing"),nt.css("cursor","col-resize")),at=!0,xt.preventDefault(),lt=yt-ot.x;let $t=ct+lt;ut&&!Number.isNaN(ut)&&($t=Math.max($t,ut)),dt&&!Number.isNaN(dt)&&($t=Math.min($t,dt)),$t=Math.min(Math.max($t,0),_e.width),et.resizableWidth=$t,nt[0].style.setProperty("--f7-page-master-width",`${$t}px`),rt.trigger("view:resize",$t),et.emit("local::resize viewResize",et,$t)}function gt(){if($$1("html").css("cursor",""),!it||!at){it=!1,at=!1;return}it=!1,at=!1,nt[0].style.setProperty("--f7-page-master-width",`${et.resizableWidth}px`),rt.removeClass("view-resizing")}function mt(){et.resizableWidth&&(ut=ft(st.css("min-width")),dt=ft(st.css("max-width")),ut&&!Number.isNaN(ut)&&et.resizableWidthdt&&(et.resizableWidth=Math.min(et.resizableWidth,dt)),et.resizableWidth=Math.min(Math.max(et.resizableWidth,0),_e.width),nt[0].style.setProperty("--f7-page-master-width",`${et.resizableWidth}px`))}st=et.$el.children(".view-resize-handler"),st.length||(et.$el.append('
'),st=et.$el.children(".view-resize-handler")),et.$resizeHandlerEl=st,rt.addClass("view-resizable");const bt=tt.passiveListener?{passive:!0}:!1;et.$el.on(_e.touchEvents.start,".view-resize-handler",ht,bt),_e.on("touchmove:active",vt),_e.on("touchend:passive",gt),_e.on("resize",mt),et.on("beforeOpen",mt),et.once("viewDestroy",()=>{rt.removeClass("view-resizable"),et.$resizeHandlerEl.remove(),et.$el.off(_e.touchEvents.start,".view-resize-handler",ht,bt),_e.off("touchmove:active",vt),_e.off("touchend:passive",gt),_e.off("resize",mt),et.off("beforeOpen",mt)})}let View$2=class extends Framework7Class{constructor(_e,tt,nt){nt===void 0&&(nt={}),super(nt,[_e]);const rt=this,st=rt.params.routerId,it={routes:[],routesAdd:[]};if(!st&&!$$1(tt).length){let lt="Framework7: can't create a View instance because ";throw lt+=typeof tt=="string"?`the selector "${tt}" didn't match any element`:"el must be an HTMLElement or Dom7 object",new Error(lt)}rt.params=extend$5({el:tt},it,_e.params.view,nt),rt.params.routes.length>0?rt.routes=rt.params.routes:rt.routes=[].concat(_e.routes,rt.params.routesAdd),extend$5(!1,rt,{app:_e,name:rt.params.name,main:rt.params.main,history:[],scrollHistory:{}}),rt.useModules(),_e.views.push(rt),rt.main&&(_e.views.main=rt),rt.name&&(_e.views[rt.name]=rt),rt.index=_e.views.indexOf(rt);let at;return rt.name?at=`view_${rt.name}`:rt.main?at="view_main":at=`view_${rt.index}`,rt.id=at,rt.params.init&&(_e.initialized?rt.init():_e.on("init",()=>{rt.init()})),rt}destroy(){let _e=this;const tt=_e.app;_e.$el.trigger("view:beforedestroy"),_e.emit("local::beforeDestroy viewBeforeDestroy",_e),tt.off("resize",_e.checkMasterDetailBreakpoint),_e.main?(tt.views.main=null,delete tt.views.main):_e.name&&(tt.views[_e.name]=null,delete tt.views[_e.name]),_e.$el[0].f7View=null,delete _e.$el[0].f7View,tt.views.splice(tt.views.indexOf(_e),1),_e.params.router&&_e.router&&_e.router.destroy(),_e.emit("local::destroy viewDestroy",_e),Object.keys(_e).forEach(nt=>{_e[nt]=null,delete _e[nt]}),_e=null}checkMasterDetailBreakpoint(_e){const tt=this,nt=tt.app,rt=tt.$el.hasClass("view-master-detail"),st=nt.width>=tt.params.masterDetailBreakpoint&&tt.$el.children(".page-master").length;typeof _e>"u"&&st||_e===!0?(tt.$el.addClass("view-master-detail"),rt||(tt.emit("local::masterDetailBreakpoint viewMasterDetailBreakpoint",tt),tt.$el.trigger("view:masterDetailBreakpoint"))):(tt.$el.removeClass("view-master-detail"),rt&&(tt.emit("local::masterDetailBreakpoint viewMasterDetailBreakpoint",tt),tt.$el.trigger("view:masterDetailBreakpoint")))}initMasterDetail(){const _e=this,tt=_e.app;_e.checkMasterDetailBreakpoint=_e.checkMasterDetailBreakpoint.bind(_e),_e.checkMasterDetailBreakpoint(),_e.params.masterDetailResizable&&resizableView(_e),tt.on("resize",_e.checkMasterDetailBreakpoint)}mount(_e){const tt=this,nt=tt.app,rt=tt.params.el||_e,st=$$1(rt);let it;typeof rt=="string"?it=rt:it=(st.attr("id")?`#${st.attr("id")}`:"")+(st.attr("class")?`.${st.attr("class").replace(/ /g,".").replace(".active","")}`:"");let at;nt.theme==="ios"&&tt.params.iosDynamicNavbar&&(at=st.children(".navbars").eq(0),at.length===0&&(at=$$1(''))),extend$5(tt,{$el:st,el:st[0],main:tt.main||st.hasClass("view-main"),$navbarsEl:at,navbarsEl:at?at[0]:void 0,selector:it}),tt.main&&(nt.views.main=tt),st&&st[0]&&(st[0].f7View=tt),tt.emit("local::mount viewMount",tt)}init(_e){const tt=this;tt.mount(_e),tt.params.router&&(tt.params.masterDetailBreakpoint>0&&tt.initMasterDetail(),tt.params.initRouterOnTabShow&&tt.$el.hasClass("tab")&&!tt.$el.hasClass("tab-active")?tt.$el.once("tab:show",()=>{tt.router.init()}):tt.router.init(),tt.$el.trigger("view:init"),tt.emit("local::init viewInit",tt))}};View$2.use(RouterModule);function initClicks(et){function _e(tt){const nt=getWindow$1(),rt=$$1(tt.target),st=rt.closest("a"),it=st.length>0,at=it&&st.attr("href");if(it&&(st.is(et.params.clicks.externalLinks)||at&&at.indexOf("javascript:")>=0)){const ct=st.attr("target");at&&nt.cordova&&nt.cordova.InAppBrowser&&(ct==="_system"||ct==="_blank")?(tt.preventDefault(),nt.cordova.InAppBrowser.open(at,ct)):at&&nt.Capacitor&&nt.Capacitor.Plugins&&nt.Capacitor.Plugins.Browser&&(ct==="_system"||ct==="_blank")&&(tt.preventDefault(),nt.Capacitor.Plugins.Browser.open({url:at}));return}Object.keys(et.modules).forEach(ct=>{const ut=et.modules[ct].clicks;ut&&(tt.preventF7Router||Object.keys(ut).forEach(dt=>{const ft=rt.closest(dt).eq(0);ft.length>0&&ut[dt].call(et,ft,ft.dataset(),tt)}))});let ot={};if(it&&(tt.preventDefault(),ot=st.dataset()),ot.clickedEl=st[0],tt.preventF7Router||st.hasClass("prevent-router")||st.hasClass("router-prevent"))return;if(at&&at.length>0&&at[0]!=="#"||st.hasClass("back")){let ct;if(ot.view&&ot.view==="current"?ct=et.views.current:ot.view?ct=$$1(ot.view)[0].f7View:(ct=rt.parents(".view")[0]&&rt.parents(".view")[0].f7View,ct&&ct.params.linksView&&(!st.hasClass("back")||st.hasClass("back")&&ct.router.history.length===1)&&(typeof ct.params.linksView=="string"?ct=$$1(ct.params.linksView)[0].f7View:ct.params.linksView instanceof View$2&&(ct=ct.params.linksView))),ct||et.views.main&&(ct=et.views.main),!ct||!ct.router)return;st[0].f7RouteProps&&(ot.props=st[0].f7RouteProps),st.hasClass("back")?ct.router.back(at,ot):ct.router.navigate(at,ot)}}et.on("click",_e)}const ClicksModule={name:"clicks",params:{clicks:{externalLinks:".external"}},on:{init(){initClicks(this)}}},HistoryModule={name:"history",static:{history:History$1},on:{init(){History$1.init(this)}}},SW={registrations:[],register(et,_e){const tt=this;return!("serviceWorker"in getWindow$1().navigator)||!tt.serviceWorker.container?new Promise((rt,st)=>{st(new Error("Service worker is not supported"))}):new Promise((rt,st)=>{tt.serviceWorker.container.register(et,_e?{scope:_e}:{}).then(it=>{SW.registrations.push(it),tt.emit("serviceWorkerRegisterSuccess",it),rt(it)}).catch(it=>{tt.emit("serviceWorkerRegisterError",it),st(it)})})},unregister(et){const _e=this;if(!("serviceWorker"in getWindow$1().navigator)||!_e.serviceWorker.container)return new Promise((rt,st)=>{st(new Error("Service worker is not supported"))});let nt;return et?Array.isArray(et)?nt=et:nt=[et]:nt=SW.registrations,Promise.all(nt.map(rt=>new Promise((st,it)=>{rt.unregister().then(()=>{SW.registrations.indexOf(rt)>=0&&SW.registrations.splice(SW.registrations.indexOf(rt),1),_e.emit("serviceWorkerUnregisterSuccess",rt),st()}).catch(at=>{_e.emit("serviceWorkerUnregisterError",rt,at),it(at)})})))}},ServiceWorkerModule={name:"sw",params:{serviceWorker:{path:void 0,scope:void 0}},create(){const et=this,_e=getWindow$1();extend$5(et,{serviceWorker:{container:"serviceWorker"in _e.navigator?_e.navigator.serviceWorker:void 0,registrations:SW.registrations,register:SW.register.bind(et),unregister:SW.unregister.bind(et)}})},on:{init(){const et=getWindow$1();if(!("serviceWorker"in et.navigator))return;const _e=this;if(_e.device.cordova||et.Capacitor&&et.Capacitor.isNative||!_e.serviceWorker.container)return;const tt=_e.params.serviceWorker.path,nt=_e.params.serviceWorker.scope;if(!tt||Array.isArray(tt)&&!tt.length)return;(Array.isArray(tt)?tt:[tt]).forEach(st=>{_e.serviceWorker.register(st,nt)})}}};function createStore$1(et){et===void 0&&(et={});const _e={__store:!0},tt={...et.state||{}},nt={...et.actions||{}},rt={...et.getters||{}},st=extend$5({},tt);let it=[];const at={},ot={};Object.keys(rt).forEach(ht=>{at[ht]=[],ot[ht]=[]});const lt=ht=>rt[ht]({state:_e.state}),ct=(ht,vt)=>{at[ht]||(at[ht]=[]),vt.forEach(gt=>{at[ht].indexOf(gt)<0&&at[ht].push(gt)})},ut=(ht,vt)=>{ot[ht]||(ot[ht]=[]),ot[ht].push(vt)},dt=ht=>{Object.keys(at).filter(gt=>at[gt].indexOf(ht)>=0).forEach(gt=>{!ot[gt]||!ot[gt].length||ot[gt].forEach(mt=>{mt(lt(gt))})})},ft=ht=>{Object.keys(ot).forEach(vt=>{const gt=ot[vt];gt.indexOf(ht)>=0&>.splice(gt.indexOf(ht),1)})};_e.__removeCallback=ht=>{ft(ht)};const pt=function(ht,vt){if(vt===void 0&&(vt=!0),ht==="constructor")return;it=[];const gt=lt(ht);ct(ht,it);const bt={value:gt,onUpdated:yt=>{ut(ht,yt)}};if(!vt)return bt;const xt=yt=>{bt.value=yt};return bt.__callback=xt,ut(ht,xt),bt};return _e.state=new Proxy(st,{set:(ht,vt,gt)=>(ht[vt]=gt,dt(vt),!0),get:(ht,vt)=>(it.push(vt),ht[vt])}),_e.getters=new Proxy(rt,{set:()=>!1,get:(ht,vt)=>{if(ht[vt])return pt(vt,!0)}}),_e._gettersPlain=new Proxy(rt,{set:()=>!1,get:(ht,vt)=>{if(ht[vt])return pt(vt,!1)}}),_e.dispatch=(ht,vt)=>new Promise((gt,mt)=>{if(!nt[ht])throw mt(),new Error(`Framework7: Store action "${ht}" is not found`);const bt=nt[ht]({state:_e.state,dispatch:_e.dispatch},vt);gt(bt)}),_e}const StoreModule={name:"store",static:{createStore:createStore$1},proto:{createStore:createStore$1}},isCapacitor=()=>{const et=getWindow$1();return et.Capacitor&&et.Capacitor.isNative&&et.Capacitor.Plugins&&et.Capacitor.Plugins.StatusBar},Statusbar={hide(){const et=getWindow$1();getDevice$1().cordova&&et.StatusBar&&et.StatusBar.hide(),isCapacitor()&&et.Capacitor.Plugins.StatusBar.hide()},show(){const et=getWindow$1();getDevice$1().cordova&&et.StatusBar&&et.StatusBar.show(),isCapacitor()&&et.Capacitor.Plugins.StatusBar.show()},onClick(){const et=this;let _e;$$1(".popup.modal-in").length>0?_e=$$1(".popup.modal-in").find(".page:not(.page-previous):not(.page-next):not(.cached)").find(".page-content"):$$1(".panel.panel-in").length>0?_e=$$1(".panel.panel-in").find(".page:not(.page-previous):not(.page-next):not(.cached)").find(".page-content"):$$1(".views > .view.tab-active").length>0?_e=$$1(".views > .view.tab-active").find(".page:not(.page-previous):not(.page-next):not(.cached)").find(".page-content"):$$1(".views").length>0?_e=$$1(".views").find(".page:not(.page-previous):not(.page-next):not(.cached)").find(".page-content"):_e=et.$el.children(".view").find(".page:not(.page-previous):not(.page-next):not(.cached)").find(".page-content"),_e&&_e.length>0&&(_e.hasClass("tab")&&(_e=_e.parent(".tabs").children(".page-content.tab-active")),_e.length>0&&_e.scrollTop(0,300))},setTextColor(et){const _e=getWindow$1();getDevice$1().cordova&&_e.StatusBar&&(et==="white"?_e.StatusBar.styleLightContent():_e.StatusBar.styleDefault()),isCapacitor()&&(et==="white"?_e.Capacitor.Plugins.StatusBar.setStyle({style:"DARK"}):_e.Capacitor.Plugins.StatusBar.setStyle({style:"LIGHT"}))},setBackgroundColor(et){const _e=getWindow$1();getDevice$1().cordova&&_e.StatusBar&&_e.StatusBar.backgroundColorByHexString(et),isCapacitor()&&_e.Capacitor.Plugins.StatusBar.setBackgroundColor({color:et})},isVisible(){const et=getWindow$1(),_e=getDevice$1();return new Promise(tt=>{_e.cordova&&et.StatusBar&&tt(et.StatusBar.isVisible),isCapacitor()&&et.Capacitor.Plugins.StatusBar.getInfo().then(nt=>{tt(nt.visible)}),tt(!1)})},overlaysWebView(et){et===void 0&&(et=!0);const _e=getWindow$1();getDevice$1().cordova&&_e.StatusBar&&_e.StatusBar.overlaysWebView(et),isCapacitor()&&_e.Capacitor.Plugins.StatusBar.setOverlaysWebView({overlay:et})},init(){const et=this,_e=getWindow$1(),tt=getDevice$1(),nt=et.params.statusbar;if(!nt.enabled)return;const rt=tt.cordova&&_e.StatusBar,st=isCapacitor();(rt||st)&&(nt.scrollTopOnClick&&$$1(_e).on("statusTap",Statusbar.onClick.bind(et)),tt.ios&&(nt.iosOverlaysWebView?Statusbar.overlaysWebView(!0):Statusbar.overlaysWebView(!1),nt.iosTextColor==="white"?Statusbar.setTextColor("white"):Statusbar.setTextColor("black")),tt.android&&(nt.androidOverlaysWebView?Statusbar.overlaysWebView(!0):Statusbar.overlaysWebView(!1),nt.androidTextColor==="white"?Statusbar.setTextColor("white"):Statusbar.setTextColor("black"))),nt.iosBackgroundColor&&tt.ios&&Statusbar.setBackgroundColor(nt.iosBackgroundColor),nt.androidBackgroundColor&&tt.android&&Statusbar.setBackgroundColor(nt.androidBackgroundColor)}},Statusbar$1={name:"statusbar",params:{statusbar:{enabled:!0,scrollTopOnClick:!0,iosOverlaysWebView:!0,iosTextColor:"black",iosBackgroundColor:null,androidOverlaysWebView:!1,androidTextColor:"black",androidBackgroundColor:null}},create(){bindMethods(this,{statusbar:Statusbar})},on:{init(){const et=this;Statusbar.init.call(et)}}};function getCurrentView(et){const _e=$$1(".popover.modal-in .view"),tt=$$1(".popup.modal-in .view"),nt=$$1(".panel.panel-in .view");let rt=$$1(".views");rt.length===0&&(rt=et.$el);let st=rt.children(".view");if(st.length===0&&(st=rt.children(".tabs").children(".view")),st.length>1&&st.hasClass("tab")&&(st=rt.children(".view.tab-active"),st.length===0&&(st=rt.children(".tabs").children(".view.tab-active"))),_e.length>0&&_e[0].f7View)return _e[0].f7View;if(tt.length>0&&tt[0].f7View)return tt[0].f7View;if(nt.length>0&&nt[0].f7View)return nt[0].f7View;if(st.length>0){if(st.length===1&&st[0].f7View)return st[0].f7View;if(st.length>1)return et.views.main}}const View$1={name:"view",params:{view:{init:!0,initRouterOnTabShow:!1,name:void 0,main:!1,router:!0,linksView:null,xhrCache:!0,xhrCacheIgnore:[],xhrCacheIgnoreGetParameters:!1,xhrCacheDuration:1e3*60*10,componentCache:!0,preloadPreviousPage:!0,allowDuplicateUrls:!1,reloadPages:!1,reloadDetail:!1,masterDetailBreakpoint:0,masterDetailResizable:!1,removeElements:!0,removeElementsWithTimeout:!1,removeElementsTimeout:0,restoreScrollTopOnBack:!0,unloadTabContent:!0,passRouteQueryToRequest:!0,passRouteParamsToRequest:!1,loadInitialPage:!0,iosSwipeBack:!0,iosSwipeBackAnimateShadow:!0,iosSwipeBackAnimateOpacity:!0,iosSwipeBackActiveArea:30,iosSwipeBackThreshold:0,mdSwipeBack:!1,mdSwipeBackAnimateShadow:!0,mdSwipeBackAnimateOpacity:!1,mdSwipeBackActiveArea:30,mdSwipeBackThreshold:0,browserHistory:!1,browserHistoryRoot:void 0,browserHistoryAnimate:!0,browserHistoryAnimateOnLoad:!1,browserHistorySeparator:"#!",browserHistoryOnLoad:!0,browserHistoryInitialMatch:!1,browserHistoryStoreHistory:!0,browserHistoryTabs:"replace",animate:!0,iosDynamicNavbar:!0,iosAnimateNavbarBackIcon:!0,iosPageLoadDelay:0,mdPageLoadDelay:0,routesBeforeEnter:null,routesBeforeLeave:null}},static:{View:View$2},create(){const et=this;extend$5(et,{views:extend$5([],{create(_e,tt){return new View$2(et,_e,tt)},get(_e){const tt=$$1(_e);if(tt.length&&tt[0].f7View)return tt[0].f7View}})}),Object.defineProperty(et.views,"current",{enumerable:!0,configurable:!0,get(){return getCurrentView(et)}}),et.view=et.views},on:{init(){const et=this;$$1(".view-init").each(_e=>{if(_e.f7View)return;const tt=$$1(_e).dataset();et.views.create(_e,tt)})},"modalOpen panelOpen":function(_e){const tt=this;_e.$el.find(".view-init").each(nt=>{if(nt.f7View)return;const rt=$$1(nt).dataset();tt.views.create(nt,rt)})},"modalBeforeDestroy panelBeforeDestroy":function(_e){!_e||!_e.$el||_e.$el.find(".view-init").each(tt=>{const nt=tt.f7View;nt&&nt.destroy()})}},vnode:{"view-init":{insert(et){const _e=this,tt=et.elm;if(tt.f7View)return;const nt=$$1(tt).dataset();_e.views.create(tt,nt)},destroy(et){const tt=et.elm.f7View;tt&&tt.destroy()}}}},Navbar$1={size(et){const _e=this;let tt=$$1(et);if(tt.hasClass("navbars")){tt=tt.children(".navbar").each(St=>{_e.navbar.size(St)});return}const nt=tt.children(".navbar-inner");if(!nt.length)return;const rt=nt.hasClass("navbar-inner-centered-title")||_e.params.navbar[`${_e.theme}CenterTitle`],st=_e.theme==="ios"&&!_e.params.navbar[`${_e.theme}CenterTitle`];if(!rt&&!st||tt.parents(".tab:not(.tab-active)").length>0||tt.parents(".popup:not(.modal-in)").length>0)return;_e.theme!=="ios"&&_e.params.navbar[`${_e.theme}CenterTitle`]&&nt.addClass("navbar-inner-centered-title"),_e.theme==="ios"&&!_e.params.navbar.iosCenterTitle&&nt.addClass("navbar-inner-left-title");const it=tt.parents(".view").eq(0),at=_e.rtl?nt.children(".right"):nt.children(".left"),ot=_e.rtl?nt.children(".left"):nt.children(".right"),lt=nt.children(".title"),ct=nt.children(".subnavbar"),ut=at.length===0,dt=ot.length===0,ft=ut?0:at.outerWidth(!0),pt=dt?0:ot.outerWidth(!0),ht=lt.outerWidth(!0),vt=nt.styles(),mt=nt[0].offsetWidth-parseInt(vt.paddingLeft,10)-parseInt(vt.paddingRight,10),bt=tt.hasClass("navbar-previous"),xt=nt.hasClass("sliding");let yt,$t;it.length>0&&it[0].f7View&&(yt=it[0].f7View.router,$t=yt&&yt.dynamicNavbar);let wt,Ct;dt&&(wt=mt-ht),ut&&(wt=0),!ut&&!dt&&(wt=(mt-pt-ht+ft)/2);let Et=(mt-ht)/2;mt-ft-pt>ht?(Etmt-pt&&(Et=mt-pt-ht),Ct=Et-wt):Ct=0;const Mt=_e.rtl?-1:1;if($t&&_e.theme==="ios"){if(lt.hasClass("sliding")||lt.length>0&&xt){let St=-(wt+Ct)*Mt;const Rt=(mt-wt-Ct-ht)*Mt;if(bt&&yt&&yt.params.iosAnimateNavbarBackIcon){const Pt=tt.parent().find(".navbar-current").children(".left.sliding").find(".back .icon ~ span");Pt.length>0&&(St+=Pt[0].offsetLeft)}lt[0].f7NavbarLeftOffset=St,lt[0].f7NavbarRightOffset=Rt}if(!ut&&(at.hasClass("sliding")||xt)){if(_e.rtl)at[0].f7NavbarLeftOffset=-(mt-at[0].offsetWidth)/2*Mt,at[0].f7NavbarRightOffset=ft*Mt;else if(at[0].f7NavbarLeftOffset=-ft,at[0].f7NavbarRightOffset=(mt-at[0].offsetWidth)/2,yt&&yt.params.iosAnimateNavbarBackIcon&&at.find(".back .icon").length>0&&at.find(".back .icon ~ span").length){const St=at[0].f7NavbarLeftOffset,Rt=at[0].f7NavbarRightOffset;at[0].f7NavbarLeftOffset=0,at[0].f7NavbarRightOffset=0,at.find(".back .icon ~ span")[0].f7NavbarLeftOffset=St,at.find(".back .icon ~ span")[0].f7NavbarRightOffset=Rt-at.find(".back .icon")[0].offsetWidth}}!dt&&(ot.hasClass("sliding")||xt)&&(_e.rtl?(ot[0].f7NavbarLeftOffset=-pt*Mt,ot[0].f7NavbarRightOffset=(mt-ot[0].offsetWidth)/2*Mt):(ot[0].f7NavbarLeftOffset=-(mt-ot[0].offsetWidth)/2,ot[0].f7NavbarRightOffset=pt)),ct.length&&(ct.hasClass("sliding")||xt)&&(ct[0].f7NavbarLeftOffset=_e.rtl?ct[0].offsetWidth:-ct[0].offsetWidth,ct[0].f7NavbarRightOffset=-ct[0].f7NavbarLeftOffset)}if(rt){let St=Ct;_e.rtl&&ut&&dt&<.length>0&&(St=-St),lt.css({left:`${St}px`})}},hide(et,_e,tt,nt){_e===void 0&&(_e=!0),tt===void 0&&(tt=!1),nt===void 0&&(nt=!1);const rt=this;let st=$$1(et);const it=st.hasClass("navbar")&&st.parent(".navbars").length&&!nt;if(it&&(st=st.parents(".navbars")),!st.length||st.hasClass("navbar-hidden"))return;let at=`navbar-hidden${_e?" navbar-transitioning":""}`;(it?st.find(".navbar-current .title-large").length:st.find(".title-large").length)&&(at+=" navbar-large-hidden"),tt&&(at+=" navbar-hidden-statusbar"),st.transitionEnd(()=>{st.removeClass("navbar-transitioning")}),st.addClass(at),it?st.children(".navbar").each(lt=>{$$1(lt).trigger("navbar:hide"),rt.emit("navbarHide",lt)}):(st.trigger("navbar:hide"),rt.emit("navbarHide",st[0]))},show(et,_e,tt){et===void 0&&(et=".navbar-hidden"),_e===void 0&&(_e=!0),tt===void 0&&(tt=!1);const nt=this;let rt=$$1(et);const st=rt.hasClass("navbar")&&rt.parent(".navbars").length&&!tt;st&&(rt=rt.parents(".navbars")),rt.length&&rt.hasClass("navbar-hidden")&&(_e&&(rt.addClass("navbar-transitioning"),rt.transitionEnd(()=>{rt.removeClass("navbar-transitioning")})),rt.removeClass("navbar-hidden navbar-large-hidden navbar-hidden-statusbar"),st?rt.children(".navbar").each(it=>{$$1(it).trigger("navbar:show"),nt.emit("navbarShow",it)}):(rt.trigger("navbar:show"),nt.emit("navbarShow",rt[0])))},getElByPage(et){let _e,tt,nt;if(et.$navbarEl||et.$el?(nt=et,_e=et.$el):(_e=$$1(et),_e.length>0&&(nt=_e[0].f7Page)),nt&&nt.$navbarEl&&nt.$navbarEl.length>0?tt=nt.$navbarEl:_e&&(tt=_e.children(".navbar")),!(!tt||tt&&tt.length===0))return tt[0]},getPageByEl(et){const _e=$$1(et);if(_e.parents(".page").length)return _e.parents(".page")[0];let tt;return _e.parents(".view").find(".page").each(nt=>{nt&&nt.f7Page&&nt.f7Page.navbarEl&&_e[0]===nt.f7Page.navbarEl&&(tt=nt)}),tt},collapseLargeTitle(et){const _e=this;let tt=$$1(et);if(tt.hasClass("navbars")&&(tt=tt.find(".navbar"),tt.length>1&&(tt=$$1(et).find(".navbar-large.navbar-current")),tt.length>1||!tt.length))return;const nt=$$1(_e.navbar.getPageByEl(tt));tt.addClass("navbar-large-collapsed"),nt.eq(0).addClass("page-with-navbar-large-collapsed").trigger("page:navbarlargecollapsed"),_e.emit("pageNavbarLargeCollapsed",nt[0]),tt.trigger("navbar:collapse"),_e.emit("navbarCollapse",tt[0])},expandLargeTitle(et){const _e=this;let tt=$$1(et);if(tt.hasClass("navbars")&&(tt=tt.find(".navbar-large"),tt.length>1&&(tt=$$1(et).find(".navbar-large.navbar-current")),tt.length>1||!tt.length))return;const nt=$$1(_e.navbar.getPageByEl(tt));tt.removeClass("navbar-large-collapsed"),nt.eq(0).removeClass("page-with-navbar-large-collapsed").trigger("page:navbarlargeexpanded"),_e.emit("pageNavbarLargeExpanded",nt[0]),tt.trigger("navbar:expand"),_e.emit("navbarExpand",tt[0])},toggleLargeTitle(et){const _e=this;let tt=$$1(et);tt.hasClass("navbars")&&(tt=tt.find(".navbar-large"),tt.length>1&&(tt=$$1(et).find(".navbar-large.navbar-current")),tt.length>1||!tt.length)||(tt.hasClass("navbar-large-collapsed")?_e.navbar.expandLargeTitle(tt):_e.navbar.collapseLargeTitle(tt))},initNavbarOnScroll(et,_e,tt,nt,rt){const st=this,it=getSupport$1(),at=$$1(et),ot=$$1(_e),lt=ot.find(".title-large"),ct=lt.length||ot.hasClass(".navbar-large");let ut=44;const dt=st.params.navbar.snapPageScrollToLargeTitle,ft=st.params.navbar.snapPageScrollToTransparentNavbar;let pt,ht,vt,gt,mt,bt,xt,yt,$t,wt;(nt||tt&&ct)&&($t=ot.css("--f7-navbar-large-title-height"),$t&&$t.indexOf("px")>=0?($t=parseInt($t,10),Number.isNaN($t)&<.length?$t=lt[0].offsetHeight:Number.isNaN($t)&&(st.theme==="ios"?$t=52:st.theme==="md"&&($t=88))):lt.length?$t=lt[0].offsetHeight:st.theme==="ios"?$t=52:st.theme==="md"&&($t=88)),tt&&ct&&(ut+=$t);let Ct,Et,Mt,St;const Rt=70,Pt=300;function kt(){at.find(".page-content").each(Ht=>{Ht.f7ScrollableDistance=Ht.scrollHeight-Ht.offsetHeight})}function _t(){ot.hasClass("with-searchbar-expandable-enabled")||!Et||ht<0||(ht>=$t/2&&ht<$t?$$1(Et).scrollTop($t,100):ht<$t&&$$1(Et).scrollTop(0,200))}function Bt(){ot.hasClass("with-searchbar-expandable-enabled")||!Et||ht<0||(ht>=wt/2&&ht{Bt(),clearTimeout(St),St=null},Rt)):(clearTimeout(Mt),Mt=setTimeout(()=>{Bt()},Pt)))}let At=null,Tt=null;function Dt(Ht){if(ot.hasClass("navbar-hidden")||ot.parent(".navbars").hasClass("navbar-hidden"))return;const Vt=ot.hasClass("navbar-large-transparent")||ot.hasClass("navbar-large")&&ot.hasClass("navbar-transparent");At=Tt;const zt=Math.min($t,Ht.f7ScrollableDistance||$t);Tt=Math.min(Math.max(ht/zt,0),1);const Ut=At>0&&At<1;if(ot.hasClass("with-searchbar-expandable-enabled"))return;yt=ot.hasClass("navbar-large-collapsed");const Wt=ot.find(".navbar-bg");Tt===0&&yt?st.navbar.expandLargeTitle(ot[0]):Tt===1&&!yt&&st.navbar.collapseLargeTitle(ot[0]),Tt===0&&yt||Tt===0&&Ut||Tt===1&&!yt||Tt===1&&Ut?(st.theme==="md"&&ot.find(".navbar-inner").css("overflow",""),ot.find(".title").css("opacity",""),ot.find(".title-large-text, .subnavbar").css("transform",""),ot.find(".title-large-text").css("opacity",""),Vt&&Wt.css("opacity",""),Wt.css("transform","")):Tt>0&&Tt<1&&(st.theme==="md"&&ot.find(".navbar-inner").css("overflow","visible"),ot.find(".title").css("opacity",-.5+Tt*1.5),ot.find(".title-large-text, .subnavbar").css("transform",`translate3d(0px, ${-1*Tt*$t}px, 0)`),ot.find(".title-large-text").css("opacity",1-Tt*2),Vt&&Wt.css("opacity",Tt),Wt.css("transform",`translate3d(0px, ${-1*Tt*$t}px, 0)`)),dt&&(it.touch?St&&(clearTimeout(St),St=null,St=setTimeout(()=>{_t(),clearTimeout(St),St=null},Rt)):(clearTimeout(Mt),Mt=setTimeout(()=>{_t()},Pt)))}function Nt(){at.hasClass("page-with-card-opened")||(vt=Et.scrollHeight,gt=Et.offsetHeight,mt=ht+gt>=vt,xt=ot.hasClass("navbar-hidden")||ot.parent(".navbars").hasClass("navbar-hidden"),mt?st.params.navbar.showOnPageScrollEnd&&(bt="show"):pt>ht?st.params.navbar.showOnPageScrollTop||ht<=ut?bt="show":bt="hide":ht>ut?bt="hide":bt="show",bt==="show"&&xt?(st.navbar.show(ot,!0,!0),xt=!1):bt==="hide"&&!xt&&(st.navbar.hide(ot,!0,!1,!0),xt=!0),pt=ht)}function Ot(Ht){Et=this,!(Ht&&Ht.target&&Ht.target!==Et)&&(ht=Et.scrollTop,Ct=ht,nt?Dt(Et):rt&&It(),!at.hasClass("page-previous")&&tt&&Nt())}function Lt(){Ct=!1}function jt(){clearTimeout(St),St=null,St=setTimeout(()=>{Ct!==!1&&(rt&&!nt?Bt():_t(),clearTimeout(St),St=null)},Rt)}at.on("scroll",".page-content",Ot,!0),it.touch&&(nt&&dt||rt&&ft)&&(st.on("touchstart:passive",Lt),st.on("touchend:passive",jt)),kt(),(nt||rt)&&at.find(".page-content").each(Ht=>{Ht.scrollTop>0&&Ot.call(Ht)}),st.on("resize",kt),at[0].f7DetachNavbarScrollHandlers=function(){st.off("resize",kt),delete at[0].f7DetachNavbarScrollHandlers,at.off("scroll",".page-content",Ot,!0),it.touch&&(nt&&dt||rt&&ft)&&(st.off("touchstart:passive",Lt),st.off("touchend:passive",jt))}}},Navbar$2={name:"navbar",create(){bindMethods(this,{navbar:Navbar$1})},params:{navbar:{scrollTopOnTitleClick:!0,iosCenterTitle:!0,mdCenterTitle:!1,hideOnPageScroll:!1,showOnPageScrollEnd:!0,showOnPageScrollTop:!0,collapseLargeTitleOnScroll:!0,snapPageScrollToLargeTitle:!0,snapPageScrollToTransparentNavbar:!0}},on:{"panelBreakpoint panelCollapsedBreakpoint panelResize viewResize resize viewMasterDetailBreakpoint":function(){const _e=this;$$1(".navbar").each(tt=>{_e.navbar.size(tt)})},pageBeforeRemove(et){et.$el[0].f7DetachNavbarScrollHandlers&&et.$el[0].f7DetachNavbarScrollHandlers()},pageBeforeIn(et){const _e=this;if(_e.theme!=="ios")return;let tt;const nt=et.$el.parents(".view")[0].f7View,rt=_e.navbar.getElByPage(et);if(rt?tt=$$1(rt).parents(".navbars"):tt=et.$el.parents(".view").children(".navbars"),et.$el.hasClass("no-navbar")||nt.router.dynamicNavbar&&!rt){const st=!!(et.pageFrom&&et.router.history.length>0);_e.navbar.hide(tt,st)}else _e.navbar.show(tt)},pageReinit(et){const _e=this,tt=$$1(_e.navbar.getElByPage(et));!tt||tt.length===0||_e.navbar.size(tt)},pageInit(et){const _e=this,tt=$$1(_e.navbar.getElByPage(et));if(!tt||tt.length===0)return;_e.navbar.size(tt);let nt;tt.find(".title-large").length>0&&tt.addClass("navbar-large"),tt.hasClass("navbar-large")&&(_e.params.navbar.collapseLargeTitleOnScroll&&(nt=!0),et.$el.addClass("page-with-navbar-large"));let rt;!nt&&tt.hasClass("navbar-transparent")&&(rt=!0);let st;(_e.params.navbar.hideOnPageScroll||et.$el.find(".hide-navbar-on-scroll").length||et.$el.hasClass("hide-navbar-on-scroll")||et.$el.find(".hide-bars-on-scroll").length||et.$el.hasClass("hide-bars-on-scroll"))&&(et.$el.find(".keep-navbar-on-scroll").length||et.$el.hasClass("keep-navbar-on-scroll")||et.$el.find(".keep-bars-on-scroll").length||et.$el.hasClass("keep-bars-on-scroll")?st=!1:st=!0),(nt||st||rt)&&_e.navbar.initNavbarOnScroll(et.el,tt[0],st,nt,rt)},"panelOpen panelSwipeOpen modalOpen":function(_e){const tt=this;_e.$el.find(".navbar:not(.navbar-previous)").each(nt=>{tt.navbar.size(nt)})},tabShow(et){const _e=this;$$1(et).find(".navbar:not(.navbar-previous)").each(tt=>{_e.navbar.size(tt)})}},clicks:{".navbar .title":function(_e,tt,nt){if(!this.params.navbar.scrollTopOnTitleClick||$$1(nt.target).closest("a, button").length>0)return;let st;const it=_e.parents(".navbar"),at=it.parents(".navbars");st=it.parents(".page-content"),st.length===0&&(it.parents(".page").length>0&&(st=it.parents(".page").find(".page-content")),st.length===0&&at.length&&at.nextAll(".page-current").length>0&&(st=at.nextAll(".page-current").find(".page-content")),st.length===0&&it.nextAll(".page-current").length>0&&(st=it.nextAll(".page-current").find(".page-content"))),st&&st.length>0&&(st.hasClass("tab")&&(st=st.parent(".tabs").children(".page-content.tab-active")),st.length>0&&st.scrollTop(0,300))}},vnode:{navbar:{postpatch(et){this.navbar.size(et.elm)}}}},Toolbar$1={setHighlight(et){const _e=this,tt=$$1(et);if(_e.theme==="ios"&&!tt.hasClass("tabbar-highlight")||tt.length===0||!(tt.hasClass("tabbar")||tt.hasClass("tabbar-icons")))return;let nt=tt.find(".tab-link-highlight");const rt=tt.find(".tab-link").length;if(rt===0){nt.remove();return}nt.length===0?(tt.children(".toolbar-inner").append(''),nt=tt.find(".tab-link-highlight")):nt.next().length&&tt.children(".toolbar-inner").append(nt);const st=tt.find(".tab-link-active");let it,at;if(tt.hasClass("tabbar-scrollable")&&st&&st[0])it=`${st[0].offsetWidth}px`,at=`${st[0].offsetLeft}px`;else{const ot=st.index();it=`${100/rt}%`,at=`${(_e.rtl?-ot:ot)*100}%`}nextFrame(()=>{nt.css("width",it).transform(`translate3d(${at},0,0)`)})},init(et){this.toolbar.setHighlight(et)},hide(et,_e){_e===void 0&&(_e=!0);const tt=this,nt=$$1(et);if(nt.hasClass("toolbar-hidden"))return;const rt=`toolbar-hidden${_e?" toolbar-transitioning":""}`;nt.transitionEnd(()=>{nt.removeClass("toolbar-transitioning")}),nt.addClass(rt),nt.trigger("toolbar:hide"),tt.emit("toolbarHide",nt[0])},show(et,_e){_e===void 0&&(_e=!0);const tt=this,nt=$$1(et);nt.hasClass("toolbar-hidden")&&(_e&&(nt.addClass("toolbar-transitioning"),nt.transitionEnd(()=>{nt.removeClass("toolbar-transitioning")})),nt.removeClass("toolbar-hidden"),nt.trigger("toolbar:show"),tt.emit("toolbarShow",nt[0]))},initToolbarOnScroll(et){const _e=this,tt=$$1(et);let nt=tt.parents(".view").children(".toolbar");if(nt.length===0&&(nt=tt.find(".toolbar")),nt.length===0&&(nt=tt.parents(".views").children(".tabbar, .tabbar-icons")),nt.length===0)return;let rt,st,it,at,ot,lt,ct;function ut(dt){if(tt.hasClass("page-with-card-opened")||tt.hasClass("page-previous"))return;const ft=this;dt&&dt.target&&dt.target!==ft||(st=ft.scrollTop,it=ft.scrollHeight,at=ft.offsetHeight,ot=st+at>=it,ct=nt.hasClass("toolbar-hidden"),ot?_e.params.toolbar.showOnPageScrollEnd&&(lt="show"):rt>st?_e.params.toolbar.showOnPageScrollTop||st<=44?lt="show":lt="hide":st>44?lt="hide":lt="show",lt==="show"&&ct?(_e.toolbar.show(nt),ct=!1):lt==="hide"&&!ct&&(_e.toolbar.hide(nt),ct=!0),rt=st)}tt.on("scroll",".page-content",ut,!0),tt[0].f7ScrollToolbarHandler=ut}},Toolbar$2={name:"toolbar",create(){bindMethods(this,{toolbar:Toolbar$1})},params:{toolbar:{hideOnPageScroll:!1,showOnPageScrollEnd:!0,showOnPageScrollTop:!0}},on:{pageBeforeRemove(et){et.$el[0].f7ScrollToolbarHandler&&et.$el.off("scroll",".page-content",et.$el[0].f7ScrollToolbarHandler,!0)},pageBeforeIn(et){const _e=this;let tt=et.$el.parents(".view").children(".toolbar");tt.length===0&&(tt=et.$el.parents(".views").children(".tabbar, .tabbar-icons")),tt.length===0&&(tt=et.$el.find(".toolbar")),tt.length!==0&&(et.$el.hasClass("no-toolbar")?_e.toolbar.hide(tt):_e.toolbar.show(tt))},pageInit(et){const _e=this;if(et.$el.find(".tabbar, .tabbar-icons").each(tt=>{_e.toolbar.init(tt)}),_e.params.toolbar.hideOnPageScroll||et.$el.find(".hide-toolbar-on-scroll").length||et.$el.hasClass("hide-toolbar-on-scroll")||et.$el.find(".hide-bars-on-scroll").length||et.$el.hasClass("hide-bars-on-scroll")){if(et.$el.find(".keep-toolbar-on-scroll").length||et.$el.hasClass("keep-toolbar-on-scroll")||et.$el.find(".keep-bars-on-scroll").length||et.$el.hasClass("keep-bars-on-scroll"))return;_e.toolbar.initToolbarOnScroll(et.el)}},init(){const et=this;et.$el.find(".tabbar, .tabbar-icons").each(_e=>{et.toolbar.init(_e)})}},vnode:{tabbar:{insert(et){this.toolbar.init(et.elm)}}}},Subnavbar$1={name:"subnavbar",on:{pageInit(et){et.$navbarEl&&et.$navbarEl.length&&et.$navbarEl.find(".subnavbar").length&&et.$el.addClass("page-with-subnavbar"),et.$el.find(".subnavbar").filter(tt=>$$1(tt).parents(".page")[0]===et.$el[0]).length&&et.$el.addClass("page-with-subnavbar")}}};let TouchRipple$1=class{constructor(_e,tt,nt,rt){const st=this;if(!tt)return;const{left:it,top:at,width:ot,height:lt}=tt[0].getBoundingClientRect(),ct={x:nt-it,y:rt-at};let ut=Math.max((lt**2+ot**2)**.5,48),dt=!1;const ft=_e.params.touch.touchRippleInsetElements||"";if(ft&&tt.is(ft)&&(dt=!0),dt&&(ut=Math.max(Math.min(ot,lt),48)),!dt&&tt.css("overflow")==="hidden"){const pt=((ct.x-ot/2)**2+(ct.y-lt/2)**2)**.5,ht=(ut/2+pt)/(ut/2);st.rippleTransform=`translate3d(0px, 0px, 0) scale(${ht*2})`}else st.rippleTransform=`translate3d(${-ct.x+ot/2}px, ${-ct.y+lt/2}px, 0) scale(1)`;return dt&&tt.addClass("ripple-inset"),st.$rippleWaveEl=$$1(`
`),tt.prepend(st.$rippleWaveEl),st.$rippleWaveEl.animationEnd(()=>{st.$rippleWaveEl&&(st.$rippleWaveEl.hasClass("ripple-wave-out")||(st.$rippleWaveEl.addClass("ripple-wave-in"),st.shouldBeRemoved&&st.out()))}),st}destroy(){let _e=this;_e.$rippleWaveEl&&_e.$rippleWaveEl.remove(),Object.keys(_e).forEach(tt=>{_e[tt]=null,delete _e[tt]}),_e=null}out(){const _e=this,{$rippleWaveEl:tt}=this;clearTimeout(_e.removeTimeout),tt.addClass("ripple-wave-out"),_e.removeTimeout=setTimeout(()=>{_e.destroy()},300),tt.animationEnd(()=>{clearTimeout(_e.removeTimeout),_e.destroy()})}remove(){const _e=this;_e.shouldBeRemoved||(_e.removeTimeout=setTimeout(()=>{_e.destroy()},400),_e.shouldBeRemoved=!0,_e.$rippleWaveEl.hasClass("ripple-wave-in")&&_e.out())}};const TouchRipple={name:"touch-ripple",static:{TouchRipple:TouchRipple$1},create(){const et=this;et.touchRipple={create(){for(var _e=arguments.length,tt=new Array(_e),nt=0;nt<_e;nt++)tt[nt]=arguments[nt];return new TouchRipple$1(...tt)}}}},openedModals=[],dialogsQueue=[];function clearDialogsQueue(){if(dialogsQueue.length===0)return;dialogsQueue.shift().open()}let Modal$1=class extends Framework7Class{constructor(_e,tt){super(tt,[_e]);const nt=this,rt={};nt.useModulesParams(rt),nt.params=extend$5(rt,tt),nt.opened=!1;let st=nt.params.containerEl?$$1(nt.params.containerEl).eq(0):_e.$el;return st.length||(st=_e.$el),nt.$containerEl=st,nt.containerEl=st[0],nt.useModules(),this}onOpen(){const _e=this;_e.opened=!0,openedModals.push(_e),$$1("html").addClass(`with-modal-${_e.type.toLowerCase()}`),_e.$el.trigger(`modal:open ${_e.type.toLowerCase()}:open`),_e.emit(`local::open modalOpen ${_e.type}Open`,_e)}onOpened(){const _e=this;_e.$el.trigger(`modal:opened ${_e.type.toLowerCase()}:opened`),_e.emit(`local::opened modalOpened ${_e.type}Opened`,_e)}onClose(){const _e=this;_e.opened=!1,!(!_e.type||!_e.$el)&&(openedModals.splice(openedModals.indexOf(_e),1),$$1("html").removeClass(`with-modal-${_e.type.toLowerCase()}`),_e.$el.trigger(`modal:close ${_e.type.toLowerCase()}:close`),_e.emit(`local::close modalClose ${_e.type}Close`,_e))}onClosed(){const _e=this;!_e.type||!_e.$el||(_e.$el.removeClass("modal-out"),_e.$el.hide(),_e.params.backdrop&&(_e.params.backdropUnique||_e.forceBackdropUnique)&&_e.$backdropEl&&_e.$backdropEl.remove(),_e.$el.trigger(`modal:closed ${_e.type.toLowerCase()}:closed`),_e.emit(`local::closed modalClosed ${_e.type}Closed`,_e))}open(_e,tt){const nt=this,rt=getDocument$1(),st=nt.app,it=nt.$el,at=nt.$backdropEl,ot=nt.type;let lt=!0;if(typeof _e<"u"?lt=_e:typeof nt.params.animate<"u"&&(lt=nt.params.animate),(!it||it.hasClass("modal-in"))&&(_e===!1&&it[0]&&ot!=="dialog"&&(it[0].style.display="block"),!tt))return nt;if(ot==="dialog"&&st.params.modal.queueDialogs){let ft;if($$1(".dialog.modal-in").length>0?ft=!0:openedModals.length>0&&openedModals.forEach(pt=>{pt.type==="dialog"&&(ft=!0)}),ft)return dialogsQueue.push(nt),nt}const ct=it.parent(),ut=it.parents(rt).length>0;ct.is(nt.$containerEl)||(nt.$containerEl.append(it),nt.once(`${ot}Closed`,()=>{ut?ct.append(it):it.remove()})),it.show(),nt.params.backdrop&&(nt.params.backdropUnique||nt.forceBackdropUnique)&&nt.$backdropEl&&nt.$backdropEl.insertBefore(it),nt._clientLeft=it[0].clientLeft;function dt(){it.hasClass("modal-out")?nt.onClosed():it.hasClass("modal-in")&&nt.onOpened()}return lt?(at&&(at.removeClass("not-animated"),at.addClass("backdrop-in")),it.animationEnd(()=>{dt()}),it.transitionEnd(()=>{dt()}),it.removeClass("modal-out not-animated").addClass("modal-in"),nt.onOpen()):(at&&at.addClass("backdrop-in not-animated"),it.removeClass("modal-out").addClass("modal-in not-animated"),nt.onOpen(),nt.onOpened()),nt}close(_e){const tt=this,nt=tt.$el,rt=tt.$backdropEl;let st=!0;if(typeof _e<"u"?st=_e:typeof tt.params.animate<"u"&&(st=tt.params.animate),!nt||!nt.hasClass("modal-in"))return dialogsQueue.indexOf(tt)>=0&&dialogsQueue.splice(dialogsQueue.indexOf(tt),1),tt;if(rt){let at=!0;tt.type==="popup"&&tt.$el.prevAll(".popup.modal-in").add(tt.$el.nextAll(".popup.modal-in")).each(ot=>{const lt=ot.f7Modal;lt&<.params.closeByBackdropClick&<.params.backdrop&<.backdropEl===tt.backdropEl&&(at=!1)}),at&&(rt[st?"removeClass":"addClass"]("not-animated"),rt.removeClass("backdrop-in"))}nt[st?"removeClass":"addClass"]("not-animated");function it(){nt.hasClass("modal-out")?tt.onClosed():nt.hasClass("modal-in")&&tt.onOpened()}return st?(nt.animationEnd(()=>{it()}),nt.transitionEnd(()=>{it()}),nt.removeClass("modal-in").addClass("modal-out"),tt.onClose()):(nt.addClass("not-animated").removeClass("modal-in").addClass("modal-out"),tt.onClose(),tt.onClosed()),tt.type==="dialog"&&clearDialogsQueue(),tt}destroy(){const _e=this;_e.destroyed||(_e.emit(`local::beforeDestroy modalBeforeDestroy ${_e.type}BeforeDestroy`,_e),_e.$el&&(_e.$el.trigger(`modal:beforedestroy ${_e.type.toLowerCase()}:beforedestroy`),_e.$el.length&&_e.$el[0].f7Modal&&delete _e.$el[0].f7Modal),deleteProps$1(_e),_e.destroyed=!0)}};class CustomModal extends Modal$1{constructor(_e,tt){const nt=extend$5({backdrop:!0,closeByBackdropClick:!0,on:{}},tt);super(_e,nt);const rt=this;rt.params=nt;let st;if(rt.params.el?st=$$1(rt.params.el):st=$$1(rt.params.content),st&&st.length>0&&st[0].f7Modal)return st[0].f7Modal;if(st.length===0)return rt.destroy();let it;rt.params.backdrop&&(it=_e.$el.children(".custom-modal-backdrop"),it.length===0&&(it=$$1('
'),_e.$el.append(it)));function at(ot){!rt||rt.destroyed||it&&ot.target===it[0]&&rt.close()}return rt.on("customModalOpened",()=>{rt.params.closeByBackdropClick&&rt.params.backdrop&&_e.on("click",at)}),rt.on("customModalClose",()=>{rt.params.closeByBackdropClick&&rt.params.backdrop&&_e.off("click",at)}),extend$5(rt,{app:_e,$el:st,el:st[0],$backdropEl:it,backdropEl:it&&it[0],type:"customModal"}),st[0].f7Modal=rt,rt}}const Modal={name:"modal",static:{Modal:Modal$1,CustomModal},create(){const et=this;et.customModal={create(_e){return new CustomModal(et,_e)}}},params:{modal:{queueDialogs:!0}}};let Dialog$1=class extends Modal$1{constructor(_e,tt){const nt=extend$5({title:_e.params.dialog.title,text:void 0,content:"",buttons:[],verticalButtons:!1,onClick:void 0,cssClass:void 0,destroyOnClose:!1,on:{}},tt);typeof nt.closeByBackdropClick>"u"&&(nt.closeByBackdropClick=_e.params.dialog.closeByBackdropClick),typeof nt.backdrop>"u"&&(nt.backdrop=_e.params.dialog.backdrop),super(_e,nt);const rt=this,st=getDevice$1(),it=getDocument$1(),{title:at,text:ot,content:lt,buttons:ct,verticalButtons:ut,cssClass:dt,backdrop:ft}=nt;rt.params=nt;let pt;if(rt.params.el)pt=$$1(rt.params.el);else{const xt=["dialog"];ct.length===0&&xt.push("dialog-no-buttons"),ct.length>0&&xt.push(`dialog-buttons-${ct.length}`),ut&&xt.push("dialog-buttons-vertical"),dt&&xt.push(dt);let yt="";ct.length>0&&(yt=$jsx("div",{class:"dialog-buttons"},ct.map(wt=>$jsx("span",{class:`dialog-button${wt.strong?" dialog-button-strong":""}${wt.color?` color-${wt.color}`:""}${wt.cssClass?` ${wt.cssClass}`:""}`},wt.text))));const $t=$jsx("div",{class:xt.join(" ")},$jsx("div",{class:"dialog-inner"},at&&$jsx("div",{class:"dialog-title"},at),ot&&$jsx("div",{class:"dialog-text"},ot),lt),yt);pt=$$1($t)}if(pt&&pt.length>0&&pt[0].f7Modal)return pt[0].f7Modal;if(pt.length===0)return rt.destroy();let ht;ft&&(ht=_e.$el.children(".dialog-backdrop"),ht.length===0&&(ht=$$1('
'),_e.$el.append(ht)));function vt(xt){const $t=$$1(this).index(),wt=ct[$t];wt.onClick&&wt.onClick(rt,xt),rt.params.onClick&&rt.params.onClick(rt,$t),wt.close!==!1&&rt.close()}let gt;function mt(xt){const yt=xt.keyCode;ct.forEach(($t,wt)=>{$t.keyCodes&&$t.keyCodes.indexOf(yt)>=0&&(it.activeElement&&it.activeElement.blur(),$t.onClick&&$t.onClick(rt,xt),rt.params.onClick&&rt.params.onClick(rt,wt),$t.close!==!1&&rt.close())})}ct&&ct.length>0&&(rt.on("open",()=>{pt.find(".dialog-button").each((xt,yt)=>{ct[yt].keyCodes&&(gt=!0),$$1(xt).on("click",vt)}),gt&&!st.ios&&!st.android&&!st.cordova&&!st.capacitor&&$$1(it).on("keydown",mt)}),rt.on("close",()=>{pt.find(".dialog-button").each(xt=>{$$1(xt).off("click",vt)}),gt&&!st.ios&&!st.android&&!st.cordova&&!st.capacitor&&$$1(it).off("keydown",mt),gt=!1})),extend$5(rt,{app:_e,$el:pt,el:pt[0],$backdropEl:ht,backdropEl:ht&&ht[0],type:"dialog",setProgress(xt,yt){return _e.progressbar.set(pt.find(".progressbar"),xt,yt),rt},setText(xt){let yt=pt.find(".dialog-text");return yt.length===0&&(yt=$$1('
'),typeof at<"u"?yt.insertAfter(pt.find(".dialog-title")):pt.find(".dialog-inner").prepend(yt)),yt.html(xt),rt.params.text=xt,rt},setTitle(xt){let yt=pt.find(".dialog-title");return yt.length===0&&(yt=$$1('
'),pt.find(".dialog-inner").prepend(yt)),yt.html(xt),rt.params.title=xt,rt}});function bt(xt){const yt=xt.target;$$1(yt).closest(rt.el).length===0&&rt.params.closeByBackdropClick&&rt.backdropEl&&rt.backdropEl===yt&&rt.close()}return rt.on("opened",()=>{rt.params.closeByBackdropClick&&_e.on("click",bt)}),rt.on("close",()=>{rt.params.closeByBackdropClick&&_e.off("click",bt)}),pt[0].f7Modal=rt,rt.params.destroyOnClose&&rt.once("closed",()=>{setTimeout(()=>{rt.destroy()},0)}),rt}};const Dialog={name:"dialog",params:{dialog:{title:void 0,buttonOk:"OK",buttonCancel:"Cancel",usernamePlaceholder:"Username",passwordPlaceholder:"Password",preloaderTitle:"Loading... ",progressTitle:"Loading... ",backdrop:!0,closeByBackdropClick:!1,destroyPredefinedDialogs:!0,keyboardActions:!0,autoFocus:!0}},static:{Dialog:Dialog$1},create(){const et=this;function _e(){return et.params.dialog.title||et.name}const tt=et.params.dialog.destroyPredefinedDialogs,nt=et.params.dialog.keyboardActions,st=et.params.dialog.autoFocus?{on:{opened(at){at.$el.find("input").eq(0).focus()}}}:{},it=et.theme==="ios";et.dialog=extend$5(ModalMethods({app:et,constructor:Dialog$1,defaultSelector:".dialog.modal-in"}),{alert(){for(var at=arguments.length,ot=new Array(at),lt=0;lt"u"?_e():ut,text:ct,buttons:[{text:et.params.dialog.buttonOk,strong:it,onClick:dt,keyCodes:nt?[13,27]:null}],destroyOnClose:tt}).open()},prompt(){for(var at=arguments.length,ot=new Array(at),lt=0;lt"u"||pt===null?"":pt,new Dialog$1(et,{title:typeof ut>"u"?_e():ut,text:ct,content:`
`,buttons:[{text:et.params.dialog.buttonCancel,keyCodes:nt?[27]:null,color:null},{text:et.params.dialog.buttonOk,strong:it,keyCodes:nt?[13]:null}],onClick(ht,vt){const gt=ht.$el.find(".dialog-input").val();vt===0&&ft&&ft(gt),vt===1&&dt&&dt(gt)},destroyOnClose:tt,...st}).open()},confirm(){for(var at=arguments.length,ot=new Array(at),lt=0;lt"u"?_e():ut,text:ct,buttons:[{text:et.params.dialog.buttonCancel,onClick:ft,keyCodes:nt?[27]:null,color:null},{text:et.params.dialog.buttonOk,strong:it,onClick:dt,keyCodes:nt?[13]:null}],destroyOnClose:tt}).open()},login(){for(var at=arguments.length,ot=new Array(at),lt=0;lt"u"?_e():ut,text:ct,content:` +
+ +
+
+ +
`,buttons:[{text:et.params.dialog.buttonCancel,keyCodes:nt?[27]:null,color:null},{text:et.params.dialog.buttonOk,strong:it,keyCodes:nt?[13]:null}],onClick(pt,ht){const vt=pt.$el.find('[name="dialog-username"]').val(),gt=pt.$el.find('[name="dialog-password"]').val();ht===0&&ft&&ft(vt,gt),ht===1&&dt&&dt(vt,gt)},destroyOnClose:tt,...st}).open()},password(){for(var at=arguments.length,ot=new Array(at),lt=0;lt"u"?_e():ut,text:ct,content:` +
+ +
`,buttons:[{text:et.params.dialog.buttonCancel,keyCodes:nt?[27]:null,color:null},{text:et.params.dialog.buttonOk,strong:it,keyCodes:nt?[13]:null}],onClick(pt,ht){const vt=pt.$el.find('[name="dialog-password"]').val();ht===0&&ft&&ft(vt),ht===1&&dt&&dt(vt)},destroyOnClose:tt,...st}).open()},preloader(at,ot){const ct={iosPreloaderContent,mdPreloaderContent}[`${et.theme}PreloaderContent`]||"";return new Dialog$1(et,{title:typeof at>"u"||at===null?et.params.dialog.preloaderTitle:at,content:`
${ct}
`,cssClass:"dialog-preloader",destroyOnClose:tt}).open()},progress(){for(var at=arguments.length,ot=new Array(at),lt=0;lt"u",pt=new Dialog$1(et,{title:typeof ct>"u"?et.params.dialog.progressTitle:ct,cssClass:"dialog-progress",content:` +
+ ${ft?"":""} +
+ `,destroyOnClose:tt});return ft||pt.setProgress(ut),pt.open()}})}};let Popup$2=class extends Modal$1{constructor(_e,tt){const nt=extend$5({on:{}},_e.params.popup,tt);super(_e,nt);const rt=this,st=getWindow$1(),it=getDocument$1(),at=getSupport$1(),ot=getDevice$1();rt.params=nt;let lt;if(rt.params.el?lt=$$1(rt.params.el).eq(0):lt=$$1(rt.params.content).filter(Nt=>Nt.nodeType===1).eq(0),lt&<.length>0&<[0].f7Modal)return lt[0].f7Modal;if(lt.length===0)return rt.destroy();let ct;rt.params.backdrop&&rt.params.backdropEl?ct=$$1(rt.params.backdropEl):rt.params.backdrop&&(rt.params.backdropUnique?(ct=$$1(''),rt.$containerEl.append(ct)):ct=rt.$containerEl.children(".popup-backdrop"),ct.length===0&&(ct=$$1(''),rt.$containerEl.append(ct))),extend$5(rt,{app:_e,push:lt.hasClass("popup-push")||rt.params.push,$el:lt,el:lt[0],$backdropEl:ct,backdropEl:ct&&ct[0],type:"popup",$htmlEl:$$1("html")}),rt.params.push&<.addClass("popup-push");function ut(Nt){const Ot=Nt.target,Lt=$$1(Ot);if(!(!ot.desktop&&ot.cordova&&(st.Keyboard&&st.Keyboard.isVisible||st.cordova.plugins&&st.cordova.plugins.Keyboard&&st.cordova.plugins.Keyboard.isVisible))&&Lt.closest(rt.el).length===0&&rt.params&&rt.params.closeByBackdropClick&&rt.params.backdrop&&rt.backdropEl&&rt.backdropEl===Ot){let Ht=!0;rt.$el.nextAll(".popup.modal-in").each(Ft=>{const Vt=Ft.f7Modal;Vt&&Vt.params.closeByBackdropClick&&Vt.params.backdrop&&Vt.backdropEl===rt.backdropEl&&(Ht=!1)}),Ht&&rt.close()}}function dt(Nt){Nt.keyCode===27&&rt.params.closeOnEscape&&rt.close()}let ft,pt;function ht(Nt){return(_e.height-Nt*2)/_e.height}let vt=!0,gt=!1,mt,bt,xt,yt,$t,wt=!1,Ct,Et,Mt,St,Rt,Pt;function kt(Nt){gt||!vt||!rt.params.swipeToClose||!Nt.isTrusted||rt.params.swipeHandler&&$$1(Nt.target).closest(rt.params.swipeHandler).length===0||$$1(Nt.target).closest(".sortable-handler").length>0||(gt=!0,wt=!1,mt={x:Nt.type==="touchstart"?Nt.targetTouches[0].pageX:Nt.pageX,y:Nt.type==="touchstart"?Nt.targetTouches[0].pageY:Nt.pageY},yt=now$2(),xt=void 0,!rt.params.swipeHandler&&Nt.type==="touchstart"&&(Ct=$$1(Nt.target).closest(".page-content")[0]))}function _t(Nt){if(!gt||!Nt.isTrusted)return;if(bt={x:Nt.type==="touchmove"?Nt.targetTouches[0].pageX:Nt.pageX,y:Nt.type==="touchmove"?Nt.targetTouches[0].pageY:Nt.pageY},typeof xt>"u"&&(xt=!!(xt||Math.abs(bt.x-mt.x)>Math.abs(bt.y-mt.y))),xt){gt=!1,wt=!1;return}$t=mt.y-bt.y,pt&&ft&&$t>0&&($t=0);const Ot=$t<0?"to-bottom":"to-top";if(lt.transition(0),typeof rt.params.swipeToClose=="string"&&Ot!==rt.params.swipeToClose){lt.transform(""),lt.transition("");return}if(wt)rt.emit("local::swipeMove popupSwipeMove",rt),rt.$el.trigger("popup:swipemove");else{if(pt&&ft&&(Rt=lt[0].offsetHeight,Pt=lt.prevAll(".popup.modal-in").eq(0),Pt.length===0&&(Pt=_e.$el.children(".view, .views"))),Ct&&(Et=Ct.scrollTop,St=Ct.scrollHeight,Mt=Ct.offsetHeight,St!==Mt&&!(Ot==="to-bottom"&&Et===0)&&!(Ot==="to-top"&&Et===St-Mt))){lt.transform(""),lt.transition(""),gt=!1,wt=!1;return}wt=!0,rt.emit("local::swipeStart popupSwipeStart",rt),rt.$el.trigger("popup:swipestart")}if(Nt.preventDefault(),pt&&ft){const Lt=1-Math.abs($t/Rt),jt=1-(1-ht(ft))*Lt;Pt.hasClass("popup")?Pt.hasClass("popup-push")?Pt.transition(0).forEach(Ht=>{Ht.style.setProperty("transform",`translate3d(0, calc(-1 * ${Lt} * (var(--f7-popup-push-offset) + 10px)) , 0px) scale(${jt})`,"important")}):Pt.transition(0).forEach(Ht=>{Ht.style.setProperty("transform",`translate3d(0, 0px , 0px) scale(${jt})`,"important")}):Pt.transition(0).forEach(Ht=>{Ht.style.setProperty("transform",`translate3d(0,0,0) scale(${jt})`,"important")})}lt.transition(0).transform(`translate3d(0,${-$t}px,0)`)}function Bt(Nt){if(!Nt.isTrusted||(gt=!1,!wt))return;rt.emit("local::swipeEnd popupSwipeEnd",rt),rt.$el.trigger("popup:swipeend"),wt=!1,vt=!1,lt.transition(""),pt&&ft&&Pt.transition("").transform("");const Ot=$t<=0?"to-bottom":"to-top";if(typeof rt.params.swipeToClose=="string"&&Ot!==rt.params.swipeToClose){lt.transform(""),vt=!0;return}const Lt=Math.abs($t),jt=new Date().getTime()-yt;if(jt<300&&Lt>20||jt>=300&&Lt>100){nextTick$2(()=>{Ot==="to-bottom"?lt.addClass("swipe-close-to-bottom"):lt.addClass("swipe-close-to-top"),lt.transform(""),rt.emit("local::swipeclose popupSwipeClose",rt),rt.$el.trigger("popup:swipeclose"),rt.close(),vt=!0});return}vt=!0,lt.transform("")}const It=at.passiveListener?{passive:!0}:!1;rt.params.swipeToClose&&(lt.on(_e.touchEvents.start,kt,It),_e.on("touchmove",_t),_e.on("touchend:passive",Bt),rt.once("popupDestroy",()=>{lt.off(_e.touchEvents.start,kt,It),_e.off("touchmove",_t),_e.off("touchend:passive",Bt)}));let At;const Tt=()=>{const Nt=pt;rt.push&&(pt=rt.push&&(_e.width<630||_e.height<630||lt.hasClass("popup-tablet-fullscreen"))),pt&&!Nt?Dt():pt&&Nt?rt.$htmlEl[0].style.setProperty("--f7-popup-push-scale",ht(ft)):!pt&&Nt&&(rt.$htmlEl.removeClass("with-modal-popup-push"),rt.$htmlEl[0].style.removeProperty("--f7-popup-push-scale"))},Dt=()=>{_e.off("resize",Tt),rt.push&&(pt=rt.push&&(_e.width<630||_e.height<630||lt.hasClass("popup-tablet-fullscreen"))),pt&&(ft=parseInt(lt.css("--f7-popup-push-offset"),10),Number.isNaN(ft)&&(ft=0),ft||(ft=_e.theme==="ios"?44:48),rt.$htmlEl[0].style.setProperty("--f7-popup-push-offset",`${ft}px`),lt.addClass("popup-push"),rt.$htmlEl.addClass("with-modal-popup-push"),rt.$htmlEl[0].style.setProperty("--f7-popup-push-scale",ht(ft))),_e.on("resize",Tt)};return rt.on("open",()=>{At=!1,rt.params.closeOnEscape&&$$1(it).on("keydown",dt),lt.prevAll(".popup.modal-in").addClass("popup-behind"),Dt()}),rt.on("opened",()=>{lt.removeClass("swipe-close-to-bottom swipe-close-to-top"),rt.params.closeByBackdropClick&&_e.on("click",ut)}),rt.on("close",()=>{At=rt.$el.prevAll(".popup-push.modal-in").length>0,rt.params.closeOnEscape&&$$1(it).off("keydown",dt),rt.params.closeByBackdropClick&&_e.off("click",ut),lt.prevAll(".popup.modal-in").eq(0).removeClass("popup-behind"),pt&&ft&&!At&&(rt.$htmlEl.removeClass("with-modal-popup-push"),rt.$htmlEl.addClass("with-modal-popup-push-closing")),_e.off("resize",Tt)}),rt.on("closed",()=>{lt.removeClass("popup-behind"),pt&&ft&&!At&&(rt.$htmlEl.removeClass("with-modal-popup-push-closing"),rt.$htmlEl[0].style.removeProperty("--f7-popup-push-scale"),rt.$htmlEl[0].style.removeProperty("--f7-popup-push-offset"))}),lt[0].f7Modal=rt,rt}};const Popup$1={name:"popup",params:{popup:{backdrop:!0,backdropEl:void 0,backdropUnique:!1,closeByBackdropClick:!0,closeOnEscape:!1,swipeToClose:!1,swipeHandler:null,push:!1,containerEl:null}},static:{Popup:Popup$2},create(){const et=this;et.popup=ModalMethods({app:et,constructor:Popup$2,defaultSelector:".popup.modal-in",parentSelector:".popup"})},clicks:{".popup-open":function(_e,tt){tt===void 0&&(tt={}),this.popup.open(tt.popup,tt.animate,_e)},".popup-close":function(_e,tt){tt===void 0&&(tt={}),this.popup.close(tt.popup,tt.animate,_e)}}};let LoginScreen$2=class extends Modal$1{constructor(_e,tt){const nt=extend$5({on:{}},tt);super(_e,nt);const rt=this;rt.params=nt;let st;return rt.params.el?st=$$1(rt.params.el).eq(0):st=$$1(rt.params.content).filter(it=>it.nodeType===1).eq(0),st&&st.length>0&&st[0].f7Modal?st[0].f7Modal:st.length===0?rt.destroy():(extend$5(rt,{app:_e,$el:st,el:st[0],type:"loginScreen"}),st[0].f7Modal=rt,rt)}};const LoginScreen$1={name:"loginScreen",static:{LoginScreen:LoginScreen$2},create(){const et=this;et.loginScreen=ModalMethods({app:et,constructor:LoginScreen$2,defaultSelector:".login-screen.modal-in"})},clicks:{".login-screen-open":function(_e,tt){tt===void 0&&(tt={}),this.loginScreen.open(tt.loginScreen,tt.animate,_e)},".login-screen-close":function(_e,tt){tt===void 0&&(tt={}),this.loginScreen.close(tt.loginScreen,tt.animate,_e)}}};let Popover$2=class extends Modal$1{constructor(_e,tt){const nt=extend$5({on:{}},_e.params.popover,tt);super(_e,nt);const rt=this,st=getDevice$1(),it=getWindow$1(),at=getDocument$1();rt.params=nt;let ot;if(rt.params.el?ot=$$1(rt.params.el).eq(0):ot=$$1(rt.params.content).filter(bt=>bt.nodeType===1).eq(0),ot&&ot.length>0&&ot[0].f7Modal)return ot[0].f7Modal;const lt=$$1(rt.params.targetEl).eq(0);if(ot.length===0)return rt.destroy();let ct;const ut=rt.params.backdrop&&_e.$el.find(".popover.modal-in").filter(bt=>bt!==ot[0]).length>0;rt.params.backdrop&&rt.params.backdropEl?ct=$$1(rt.params.backdropEl):rt.params.backdrop&&(rt.params.backdropUnique||ut?(ct=$$1('
'),ct[0].f7PopoverRef=rt,rt.$containerEl.append(ct)):ct=rt.$containerEl.children(".popover-backdrop"),ct.length===0&&(ct=$$1('
'),rt.$containerEl.append(ct)));let dt;ot.find(".popover-arrow").length===0&&rt.params.arrow?(dt=$$1('
'),ot.prepend(dt)):dt=ot.find(".popover-arrow");const ft=rt.open;extend$5(rt,{app:_e,$el:ot,el:ot[0],$targetEl:lt,targetEl:lt[0],$arrowEl:dt,arrowEl:dt[0],$backdropEl:ct,backdropEl:ct&&ct[0],type:"popover",forceBackdropUnique:ut,open(){for(var bt=arguments.length,xt=new Array(bt),yt=0;yt{rt.resize(),_e.on("resize",pt),$$1(it).on("keyboardDidShow keyboardDidHide",pt),rt.on("popoverClose popoverBeforeDestroy",()=>{_e.off("resize",pt),$$1(it).off("keyboardDidShow keyboardDidHide",pt)})});let ht=null;function vt(bt){ht=bt.target}function gt(bt){const xt=bt.target,yt=$$1(xt);if(!(!st.desktop&&st.cordova&&(it.Keyboard&&it.Keyboard.isVisible||it.cordova.plugins&&it.cordova.plugins.Keyboard&&it.cordova.plugins.Keyboard.isVisible))&&yt.closest(rt.el).length===0){if(rt.params.closeByBackdropClick&&rt.params.backdrop&&rt.backdropEl&&rt.backdropEl===xt&&ht===xt)rt.close();else if(rt.params.closeByOutsideClick&&ht===xt){const wt=yt.hasClass("popover-backdrop-unique")&&xt.f7PopoverRef!==rt||yt.hasClass("popover-backdrop")&&xt!==rt.backdropEl,Ct=xt.closest(".popover")&&xt.closest(".popover")!==rt.$el[0];!wt&&!Ct&&rt.close()}}}function mt(bt){bt.keyCode===27&&rt.params.closeOnEscape&&rt.close()}return rt.params.closeOnEscape&&(rt.on("popoverOpen",()=>{$$1(at).on("keydown",mt)}),rt.on("popoverClose",()=>{$$1(at).off("keydown",mt)})),rt.on("popoverOpened",()=>{(rt.params.closeByOutsideClick||rt.params.closeByBackdropClick)&&(_e.on("touchstart",vt),_e.on("click",gt))}),rt.on("popoverClose",()=>{(rt.params.closeByOutsideClick||rt.params.closeByBackdropClick)&&(_e.off("touchstart",vt),_e.off("click",gt))}),ot[0].f7Modal=rt,rt}resize(){const _e=this,{app:tt,$el:nt,$targetEl:rt,$arrowEl:st}=_e,{targetX:it,targetY:at,verticalPosition:ot}=_e.params;nt.css({left:"",top:""});const[lt,ct]=[nt.width(),nt.height()];let ut=0,dt,ft;const pt=st.length>0,ht=tt.theme==="ios"?13:24;pt&&(st.removeClass("on-left on-right on-top on-bottom").css({left:"",top:""}),ut=st.width()/2),nt.removeClass("popover-on-left popover-on-right popover-on-top popover-on-bottom popover-on-middle").css({left:"",top:""});let vt,gt,mt,bt,xt=parseInt($$1("html").css("--f7-safe-area-top"),10),yt=parseInt($$1("html").css("--f7-safe-area-left"),10),$t=parseInt($$1("html").css("--f7-safe-area-right"),10);if(Number.isNaN(xt)&&(xt=0),Number.isNaN(yt)&&(yt=0),Number.isNaN($t)&&($t=0),rt&&rt.length>0){vt=rt.outerWidth(),gt=rt.outerHeight();const Pt=rt.offset();mt=Pt.left-tt.left,bt=Pt.top-tt.top;const kt=rt.parents(".page");kt.length>0&&(bt-=kt[0].scrollTop)}else typeof it<"u"&&at!=="undefined"&&(mt=it,bt=at,vt=_e.params.targetWidth||0,gt=_e.params.targetHeight||0);let[wt,Ct,Et]=[0,0,0];const Mt=ot==="auto"?!1:ot;let St=Mt||"top";Mt==="top"||!Mt&&ct+uttt.width-5-$t&&(wt=tt.width-5-$t-lt),Et-=wt,pt&&(St==="top"&&st.addClass("on-bottom"),St==="bottom"&&st.addClass("on-top"),dt=lt/2-ut+Et,dt=Math.max(Math.min(dt,lt-ut*2-ht),ht),st.css({left:`${dt}px`}))):St==="middle"&&(wt=mt-lt-ut,pt&&st.addClass("on-right"),(wt<5||wt+lt+$t>tt.width||wttt.width&&(wt=tt.width-lt-5-$t),wt1){const at=$$1(tt).parents(".page");at.length&&rt.each(ot=>{const lt=$$1(ot);lt.parents(at)[0]===at[0]&&(rt=lt)})}rt.length>1&&(rt=rt.eq(rt.length-1));let st=rt[0].f7Modal;const it=rt.dataset();return st||(st=new Popover$2(et,Object.assign({el:rt,targetEl:tt},it))),st.open(tt,nt)}})},clicks:{".popover-open":function(_e,tt){tt===void 0&&(tt={}),this.popover.open(tt.popover,_e,tt.animate)},".popover-close":function(_e,tt){tt===void 0&&(tt={}),this.popover.close(tt.popover,tt.animate,_e)}}};let Actions$2=class extends Modal$1{constructor(_e,tt){const nt=extend$5({on:{}},_e.params.actions,tt);super(_e,nt);const rt=this,st=getDevice$1(),it=getWindow$1(),at=getDocument$1();rt.params=nt;let ot;rt.params.buttons&&(ot=rt.params.buttons,Array.isArray(ot[0])||(ot=[ot])),rt.groups=ot;let lt;if(rt.params.el?lt=$$1(rt.params.el).eq(0):rt.params.content?lt=$$1(rt.params.content).filter(gt=>gt.nodeType===1).eq(0):rt.params.buttons&&(rt.params.convertToPopover&&(rt.popoverHtml=rt.renderPopover()),rt.actionsHtml=rt.render()),lt&<.length>0&<[0].f7Modal)return lt[0].f7Modal;if(lt&<.length===0&&!(rt.actionsHtml||rt.popoverHtml))return rt.destroy();let ct;rt.params.backdrop&&rt.params.backdropEl?ct=$$1(rt.params.backdropEl):rt.params.backdrop&&(rt.params.backdropUnique?(ct=$$1(''),rt.$containerEl.append(ct)):ct=rt.$containerEl.children(".actions-backdrop"),ct.length===0&&(ct=$$1('
'),rt.$containerEl.append(ct)));const ut=rt.open,dt=rt.close;let ft;function pt(gt){const mt=$$1(this);let bt,xt;if(mt.hasClass("list-button")||mt.hasClass("item-link")?(bt=mt.parents("li").index(),xt=mt.parents(".list").index()):(bt=mt.index(),xt=mt.parents(".actions-group").index()),typeof ot<"u"){const yt=ot[xt][bt];yt.onClick&&yt.onClick(rt,gt),rt.params.onClick&&rt.params.onClick(rt,gt),yt.close!==!1&&rt.close()}}rt.open=function(mt){let bt=!1;const{targetEl:xt,targetX:yt,targetY:$t,targetWidth:wt,targetHeight:Ct}=rt.params;return rt.params.convertToPopover&&(xt||yt!==void 0&&$t!==void 0)&&(rt.params.forceToPopover||st.ios&&st.ipad||_e.width>=768||st.desktop)&&(bt=!0),bt&&rt.popoverHtml?(ft=_e.popover.create({containerEl:rt.params.containerEl,content:rt.popoverHtml,backdrop:rt.params.backdrop,targetEl:xt,targetX:yt,targetY:$t,targetWidth:wt,targetHeight:Ct,on:{open(){rt.$el||(rt.$el=ft.$el),rt.$el.trigger(`modal:open ${rt.type.toLowerCase()}:open`),rt.emit(`local::open modalOpen ${rt.type}Open`,rt)},opened(){rt.$el||(rt.$el=ft.$el),rt.$el.trigger(`modal:opened ${rt.type.toLowerCase()}:opened`),rt.emit(`local::opened modalOpened ${rt.type}Opened`,rt)},close(){rt.$el||(rt.$el=ft.$el),rt.$el.trigger(`modal:close ${rt.type.toLowerCase()}:close`),rt.emit(`local::close modalClose ${rt.type}Close`,rt)},closed(){rt.$el||(rt.$el=ft.$el),rt.$el.trigger(`modal:closed ${rt.type.toLowerCase()}:closed`),rt.emit(`local::closed modalClosed ${rt.type}Closed`,rt)}}}),ft.open(mt),ft.once("popoverOpened",()=>{ft.$el.find(".list-button, .item-link").each(Et=>{$$1(Et).on("click",pt)})}),ft.once("popoverClosed",()=>{ft.$el.find(".list-button, .item-link").each(Et=>{$$1(Et).off("click",pt)}),nextTick$2(()=>{ft.destroy(),ft=void 0})})):(rt.$el=rt.actionsHtml?$$1(rt.actionsHtml):rt.$el,rt.$el[0].f7Modal=rt,rt.groups&&(rt.$el.find(".actions-button").each(Et=>{$$1(Et).on("click",pt)}),rt.once("actionsClosed",()=>{rt.$el.find(".actions-button").each(Et=>{$$1(Et).off("click",pt)})})),rt.el=rt.$el[0],ut.call(rt,mt)),rt},rt.close=function(mt){return ft?ft.close(mt):dt.call(rt,mt),rt},extend$5(rt,{app:_e,$el:lt,el:lt?lt[0]:void 0,$backdropEl:ct,backdropEl:ct&&ct[0],type:"actions"});function ht(gt){const mt=gt.target,bt=$$1(mt);!st.desktop&&st.cordova&&(it.Keyboard&&it.Keyboard.isVisible||it.cordova.plugins&&it.cordova.plugins.Keyboard&&it.cordova.plugins.Keyboard.isVisible)||bt.closest(rt.el).length===0&&(rt.params.closeByBackdropClick&&rt.params.backdrop&&rt.backdropEl&&rt.backdropEl===mt||rt.params.closeByOutsideClick)&&rt.close()}function vt(gt){gt.keyCode===27&&rt.params.closeOnEscape&&rt.close()}return rt.params.closeOnEscape&&(rt.on("open",()=>{$$1(at).on("keydown",vt)}),rt.on("close",()=>{$$1(at).off("keydown",vt)})),rt.on("opened",()=>{(rt.params.closeByBackdropClick||rt.params.closeByOutsideClick)&&_e.on("click",ht)}),rt.on("close",()=>{(rt.params.closeByBackdropClick||rt.params.closeByOutsideClick)&&_e.off("click",ht)}),lt&&(lt[0].f7Modal=rt),rt}render(){const _e=this;if(_e.params.render)return _e.params.render.call(_e,_e);const{groups:tt}=_e,nt=_e.params.cssClass;return $jsx("div",{class:`actions-modal${_e.params.grid?" actions-grid":""} ${nt||""}`},tt.map(rt=>$jsx("div",{class:"actions-group"},rt.map(st=>{const it=[`actions-${st.label?"label":"button"}`],{color:at,bg:ot,strong:lt,disabled:ct,label:ut,text:dt,icon:ft}=st;return at&&it.push(`color-${at}`),ot&&it.push(`bg-color-${ot}`),lt&&it.push("actions-button-strong"),ct&&it.push("disabled"),ut?$jsx("div",{class:it.join(" ")},dt):$jsx("div",{class:it.join(" ")},ft&&$jsx("div",{class:"actions-button-media"},ft),$jsx("div",{class:"actions-button-text"},dt))}))))}renderPopover(){const _e=this;if(_e.params.renderPopover)return _e.params.renderPopover.call(_e,_e);const{groups:tt}=_e,nt=_e.params.cssClass;return $jsx("div",{class:`popover popover-from-actions ${nt||""}`},$jsx("div",{class:"popover-inner"},tt.map(rt=>$jsx("div",{class:"list"},$jsx("ul",null,rt.map(st=>{const it=[],{color:at,bg:ot,strong:lt,disabled:ct,label:ut,text:dt,icon:ft}=st;return at&&it.push(`color-${at}`),ot&&it.push(`bg-color-${ot}`),lt&&it.push("popover-from-actions-strong"),ct&&it.push("disabled"),ut?(it.push("popover-from-actions-label"),`
  • ${dt}
  • `):ft?(it.push("item-link item-content"),$jsx("li",null,$jsx("a",{class:it.join(" ")},$jsx("div",{class:"item-media"},ft),$jsx("div",{class:"item-inner"},$jsx("div",{class:"item-title"},dt))))):(it.push("list-button"),$jsx("li",null,$jsx("a",{class:it.join(" ")},dt)))}))))))}};const Actions$1={name:"actions",params:{actions:{convertToPopover:!0,forceToPopover:!1,backdrop:!0,backdropEl:void 0,backdropUnique:!1,cssClass:null,closeByBackdropClick:!0,closeOnEscape:!1,render:null,renderPopover:null,containerEl:null}},static:{Actions:Actions$2},create(){const et=this;et.actions=ModalMethods({app:et,constructor:Actions$2,defaultSelector:".actions-modal.modal-in"})},clicks:{".actions-open":function(_e,tt){tt===void 0&&(tt={}),this.actions.open(tt.actions,tt.animate,_e)},".actions-close":function(_e,tt){tt===void 0&&(tt={}),this.actions.close(tt.actions,tt.animate,_e)}}};let Sheet$2=class extends Modal$1{constructor(_e,tt){const nt=extend$5({on:{}},_e.params.sheet,tt);super(_e,nt);const rt=this,st=getWindow$1(),it=getDocument$1(),at=getSupport$1(),ot=getDevice$1();rt.params=nt,typeof rt.params.backdrop>"u"&&(rt.params.backdrop=_e.theme!=="ios");let lt;if(rt.params.el?lt=$$1(rt.params.el).eq(0):lt=$$1(rt.params.content).filter(Zt=>Zt.nodeType===1).eq(0),lt&<.length>0&<[0].f7Modal)return lt[0].f7Modal;if(lt.length===0)return rt.destroy();let ct;rt.params.backdrop&&rt.params.backdropEl?ct=$$1(rt.params.backdropEl):rt.params.backdrop&&(rt.params.backdropUnique?(ct=$$1('
    '),rt.$containerEl.append(ct)):ct=rt.$containerEl.children(".sheet-backdrop"),ct.length===0&&(ct=$$1('
    '),rt.$containerEl.append(ct))),extend$5(rt,{app:_e,push:lt.hasClass("sheet-modal-push")||rt.params.push,$el:lt,el:lt[0],$backdropEl:ct,backdropEl:ct&&ct[0],type:"sheet",$htmlEl:$$1("html")}),rt.params.push&<.addClass("sheet-modal-push");let ut;function dt(){const Zt=$$1(rt.params.scrollToEl).eq(0);if(Zt.length===0||(ut=Zt.parents(".page-content"),ut.length===0))return;const Gt=parseInt(ut.css("padding-top"),10),Kt=parseInt(ut.css("padding-bottom"),10),hn=ut[0].offsetHeight-Gt-lt.height(),mn=ut[0].scrollHeight-Gt-lt.height(),Yt=ut.scrollTop();let xn;const $n=Zt.offset().top-Gt+Zt[0].offsetHeight;if($n>hn){const gn=Yt+$n-hn;gn+hn>mn&&(xn=gn+hn-mn+Kt,hn===mn&&(xn=lt.height()),ut.css({"padding-bottom":`${xn}px`})),ut.scrollTop(gn,300)}}function ft(){ut&&ut.length>0&&ut.css({"padding-bottom":""})}function pt(Zt){const Gt=Zt.target,Kt=$$1(Gt);!ot.desktop&&ot.cordova&&(st.Keyboard&&st.Keyboard.isVisible||st.cordova.plugins&&st.cordova.plugins.Keyboard&&st.cordova.plugins.Keyboard.isVisible)||Kt.closest(rt.el).length===0&&(rt.params.closeByBackdropClick&&rt.params.backdrop&&rt.backdropEl&&rt.backdropEl===Gt||rt.params.closeByOutsideClick)&&rt.close()}function ht(Zt){Zt.keyCode===27&&rt.params.closeOnEscape&&rt.close()}let vt;function gt(Zt){return(_e.height-Zt*2)/_e.height}const mt=rt.params.breakpoints&&rt.params.breakpoints.length>0;let bt=!1,xt,yt,$t,wt,Ct,Et=!1,Mt,St,Rt,Pt,kt,_t,Bt,It,At,Tt,Dt,Nt,Ot,Lt=[],jt,Ht=!0;function Ft(Zt){bt||!(rt.params.swipeToClose||rt.params.swipeToStep)||!Zt.isTrusted||rt.params.swipeHandler&&$$1(Zt.target).closest(rt.params.swipeHandler).length===0||$$1(Zt.target).closest(".sortable-handler").length>0||(bt=!0,Et=!1,xt={x:Zt.type==="touchstart"?Zt.targetTouches[0].pageX:Zt.pageX,y:Zt.type==="touchstart"?Zt.targetTouches[0].pageY:Zt.pageY},wt=now$2(),$t=void 0,Mt=lt.hasClass("sheet-modal-top"),!rt.params.swipeHandler&&Zt.type==="touchstart"&&(Tt=$$1(Zt.target).closest(".page-content")[0]))}function Vt(Zt){if(!bt||!Zt.isTrusted)return;if(yt={x:Zt.type==="touchmove"?Zt.targetTouches[0].pageX:Zt.pageX,y:Zt.type==="touchmove"?Zt.targetTouches[0].pageY:Zt.pageY},typeof $t>"u"&&($t=!!($t||Math.abs(yt.x-xt.x)>Math.abs(yt.y-xt.y))),$t){bt=!1,Et=!1;return}Ct=xt.y-yt.y;const Gt=Ct<0?"to-bottom":"to-top";if(!Et){if(Tt&&!lt.hasClass("modal-in-swipe-step")&&(Dt=Tt.scrollTop,Nt=Tt.scrollHeight,Ot=Tt.offsetHeight,Nt!==Ot&&!(Gt==="to-bottom"&&Dt===0)&&!(Gt==="to-top"&&Dt===Nt-Ot))){lt.transform(""),bt=!1,Et=!1;return}rt.push&&vt&&(It=_e.$el.children(".view, .views")),kt=lt[0].offsetHeight,Rt=getTranslate$1(lt[0],"y"),Mt?(_t=rt.params.swipeToClose?-kt:-St,Bt=0):(_t=0,Bt=rt.params.swipeToClose?kt:mt?Lt[0]:St),Et=!0}if(Pt=Rt-Ct,Pt=Math.min(Math.max(Pt,_t),Bt),Zt.preventDefault(),mt){let Kt=Mt?1+Pt/kt:1-Pt/kt;Kt=Math.abs(Kt),Kt=Math.min(Math.max(Kt,0),1),qt(Kt),Ut(Kt)}if(rt.push&&vt&&!mt){let Kt=(Pt-Rt)/kt;rt.params.swipeToStep&&(Mt?Kt=Pt/St:Kt=1-(St-Pt)/St),Kt=Math.abs(Kt),Kt=Math.min(Math.max(Kt,0),1);const hn=1-Kt,mn=1-(1-gt(vt))*hn;It.transition(0).forEach(Yt=>{Yt.style.setProperty("transform",`translate3d(0,0,0) scale(${mn})`,"important")}),rt.params.swipeToStep&&It.css("border-radius",`${At*hn}px`)}if(lt.transition(0).transform(`translate3d(0,${Pt}px,0)`),rt.params.swipeToStep){let Kt;Mt?Kt=1-Pt/St:Kt=(St-Pt)/St,Kt=Math.min(Math.max(Kt,0),1),lt.trigger("sheet:stepprogress",Kt),rt.emit("local::stepProgress sheetStepProgress",rt,Kt)}}function zt(){if(bt=!1,!Et)return;Et=!1,lt.transform("").transition(""),rt.push&&vt&&(It.transition(""),mt||(It.transform(""),It.css("border-radius","")));const Zt=Ct<0?"to-bottom":"to-top",Gt=Math.abs(Ct);if(Gt===0||Pt===Rt)return;const Kt=new Date().getTime()-wt;if(!rt.params.swipeToStep&&!mt){if(Zt!==(Mt?"to-top":"to-bottom"))return;(Kt<300&&Gt>20||Kt>=300&&Gt>kt/2)&&rt.close();return}const hn=Mt?"to-bottom":"to-top",mn=Mt?"to-top":"to-bottom",Yt=Math.abs(Pt),xn=Math.abs(St);if(Kt<300&&Gt>10&&mt)Zt===hn&&typeof jt<"u"&&(jt===tt.breakpoints.length-1?rt.setBreakpoint(1):(jt=Math.min(Lt.length-1,jt+1),rt.setBreakpoint(tt.breakpoints[jt]))),Zt===mn&&(jt===0?rt.close():(typeof jt>"u"?jt=tt.breakpoints.length-1:jt=Math.max(0,jt-1),rt.setBreakpoint(tt.breakpoints[jt])));else if(Kt<300&&Gt>10){Zt===hn&&Ytxn&&(rt.params.swipeToClose?rt.close():(lt.addClass("modal-in-swipe-step"),lt.trigger("sheet:stepprogress",0),rt.emit("local::stepProgress sheetStepProgress",rt,0),rt.emit("local::_swipeStep",!0),lt.trigger("sheet:stepclose"),rt.emit("local::stepClose sheetStepClose",rt),rt.push&&vt&&(rt.$htmlEl[0].style.removeProperty("--f7-sheet-push-scale"),It.css("border-radius","0px")))),Zt===mn&&Yt<=xn&&(lt.addClass("modal-in-swipe-step"),lt.trigger("sheet:stepprogress",0),rt.emit("local::stepProgress sheetStepProgress",rt,0),rt.emit("local::_swipeStep",!0),lt.trigger("sheet:stepclose"),rt.emit("local::stepClose sheetStepClose",rt),rt.push&&vt&&(rt.$htmlEl[0].style.removeProperty("--f7-sheet-push-scale"),It.css("border-radius","0px")));return}if(Kt>=300&&mt){const $n=[kt,...Lt,0],gn=$n.reduce((_n,Cn)=>Math.abs(Cn-Pt)=300){const $n=!lt.hasClass("modal-in-swipe-step");$n?$n&&(Yt>xn+(kt-xn)/2?rt.params.swipeToClose&&rt.close():Yt>xn/2&&(lt.addClass("modal-in-swipe-step"),lt.trigger("sheet:stepprogress",0),rt.emit("local::stepProgress sheetStepProgress",rt,0),rt.emit("local::_swipeStep",!0),lt.trigger("sheet:stepclose"),rt.emit("local::stepClose sheetStepClose",rt),rt.push&&vt&&(rt.$htmlEl[0].style.removeProperty("--f7-sheet-push-scale"),It.css("border-radius","0px")))):Yt(kt-xn)/2&&rt.params.swipeToClose&&rt.close()}}const Ut=Zt=>{const{pushBreakpoint:Gt}=tt;if(!(Gt===null||typeof Gt>"u"||!rt.push||!vt))if(Zt>=Gt)rt.$htmlEl.addClass("with-modal-sheet-push").removeClass("with-modal-sheet-push-closing"),It.transition("").forEach(Kt=>{Kt.style.setProperty("transform",`translate3d(0,0,0) scale(${gt(vt)})`,"important")}),It.css("border-radius",`${At*1}px`);else{const Kt=[0,...tt.breakpoints,1],hn=Kt[Kt.indexOf(Gt)-1];if(Zt<=hn)It.transition("").css("transform",""),It.css("border-radius",""),rt.$htmlEl.removeClass("with-modal-sheet-push"),Zt===hn&&rt.$htmlEl.addClass("with-modal-sheet-push-closing");else{const mn=(Zt-hn)/(Gt-hn);rt.$htmlEl.addClass("with-modal-sheet-push").removeClass("with-modal-sheet-push-closing"),It.transition(0).forEach(Yt=>{Yt.style.setProperty("transform",`translate3d(0,0,0) scale(${1-(1-gt(vt))*mn})`,"important")}),It.css("border-radius",`${At*mn}px`)}}},qt=Zt=>{const{backdrop:Gt,backdropBreakpoint:Kt}=tt;if(!(!Kt||!Gt||!ct.length))if(Zt>=Kt)Ht||ct.transition("").css({opacity:"",pointerEvents:""}),Ht=!0;else{const hn=[0,...tt.breakpoints,1],mn=hn[hn.indexOf(Kt)-1];if(Zt<=mn)Ht&&ct.transition("").css({opacity:0,pointerEvents:"none"}),Ht=!1;else{const Yt=(Zt-mn)/(Kt-mn);ct.transition(0).css({opacity:Yt,pointerEvents:"auto"})}}};rt.calcBreakpoints=()=>{if(!mt)return;const Zt=lt[0].offsetHeight,Gt=lt.hasClass("sheet-modal-top");Lt=[],rt.params.breakpoints.forEach(Kt=>{Lt.push((Zt-Zt*Kt)*(Gt?-1:1))})},rt.setBreakpoint=Zt=>{if(!mt)return rt;if(Zt===1)rt.opened||rt.open(),lt.removeClass("modal-in-breakpoint"),jt=void 0,qt(Zt),Ut(Zt),lt.trigger("sheet:breakpoint",Zt),rt.emit("local::breakpoint sheetBreakpoint",rt,Zt);else if(Zt===0)lt.trigger("sheet:breakpoint",Zt),rt.emit("local::breakpoint sheetBreakpoint",rt,Zt),rt.close();else{const Gt=tt.breakpoints.indexOf(Zt);if(Gt<0)return rt;rt.opened||rt.open(),qt(Zt),Ut(Zt),lt.trigger("sheet:breakpoint",Zt),rt.emit("local::breakpoint sheetBreakpoint",rt,Zt),jt=Gt,lt[0].style.setProperty("--f7-sheet-breakpoint",`${Lt[Gt]}px`),lt.addClass("modal-in-breakpoint")}return rt};const Wt=()=>{rt.calcBreakpoints(),typeof jt<"u"&&rt.setBreakpoint(tt.breakpoints[jt])};rt.setSwipeStep=function(Gt){Gt===void 0&&(Gt=!0);const Kt=lt.find(".sheet-modal-swipe-step").eq(0);Kt.length&&(lt.hasClass("sheet-modal-top")?St=-(Kt.offset().top-lt.offset().top+Kt[0].offsetHeight):St=lt[0].offsetHeight-(Kt.offset().top-lt.offset().top+Kt[0].offsetHeight),lt[0].style.setProperty("--f7-sheet-swipe-step",`${St}px`),Gt||(lt.addClass("modal-in-swipe-step"),rt.emit("local::_swipeStep",!0)))};function Jt(){mt?Wt():rt.setSwipeStep(!0)}const Qt=at.passiveListener?{passive:!0}:!1;return(rt.params.swipeToClose||rt.params.swipeToStep||mt)&&(lt.on(_e.touchEvents.start,Ft,Qt),_e.on("touchmove",Vt),_e.on("touchend:passive",zt),rt.once("sheetDestroy",()=>{lt.off(_e.touchEvents.start,Ft,Qt),_e.off("touchmove",Vt),_e.off("touchend:passive",zt)})),rt.on("open",()=>{rt.params.closeOnEscape&&$$1(it).on("keydown",ht),lt.prevAll(".popup.modal-in").addClass("popup-behind"),_e.on("resize",Jt),rt.params.scrollToEl&&dt(),rt.push&&(vt=parseInt(lt.css("--f7-sheet-push-offset"),10),Number.isNaN(vt)&&(vt=0),vt||(vt=_e.theme==="ios"?44:48),rt.$htmlEl[0].style.setProperty("--f7-sheet-push-offset",`${vt}px`),lt.addClass("sheet-modal-push"),mt||rt.$htmlEl.addClass("with-modal-sheet-push"),!rt.params.swipeToStep&&!mt?rt.$htmlEl[0].style.setProperty("--f7-sheet-push-scale",gt(vt)):(It=_e.$el.children(".view, .views"),At=_e.theme==="ios"?10:16,It.css("border-radius","0px"))),mt?(rt.calcBreakpoints(),rt.setBreakpoint(tt.breakpoints[0])):rt.params.swipeToStep&&rt.setSwipeStep(!1)}),rt.on("opened",()=>{(rt.params.closeByOutsideClick||rt.params.closeByBackdropClick)&&_e.on("click",pt)}),rt.on("close",()=>{jt=void 0,(rt.params.swipeToStep||mt)&&(lt.removeClass("modal-in-swipe-step modal-in-breakpoint"),rt.emit("local::_swipeStep",!1),_e.off("resize",Jt)),rt.params.closeOnEscape&&$$1(it).off("keydown",ht),rt.params.scrollToEl&&ft(),(rt.params.closeByOutsideClick||rt.params.closeByBackdropClick)&&_e.off("click",pt),lt.prevAll(".popup.modal-in").eq(0).removeClass("popup-behind"),rt.push&&vt&&(rt.$htmlEl.removeClass("with-modal-sheet-push"),rt.$htmlEl.addClass("with-modal-sheet-push-closing"),It&&(It.transform(""),It.css("border-radius","")))}),rt.on("closed",()=>{rt.push&&vt&&(rt.$htmlEl.removeClass("with-modal-sheet-push-closing"),rt.$htmlEl[0].style.removeProperty("--f7-sheet-push-scale"),rt.$htmlEl[0].style.removeProperty("--f7-sheet-push-offset"))}),rt.stepOpen=function(){lt.removeClass("modal-in-swipe-step"),rt.emit("local::_swipeStep",!1),rt.push&&(vt||(vt=parseInt(lt.css("--f7-sheet-push-offset"),10),Number.isNaN(vt)&&(vt=0)),vt&&rt.$htmlEl[0].style.setProperty("--f7-sheet-push-scale",gt(vt)))},rt.stepClose=function(){lt.addClass("modal-in-swipe-step"),rt.emit("local::_swipeStep",!0),rt.push&&rt.$htmlEl[0].style.removeProperty("--f7-sheet-push-scale")},rt.stepToggle=function(){lt.toggleClass("modal-in-swipe-step"),rt.emit("local::_swipeStep",lt.hasClass("modal-in-swipe-step"))},lt[0].f7Modal=rt,rt}};const Sheet$1={name:"sheet",params:{sheet:{push:!1,backdrop:void 0,backdropEl:void 0,backdropUnique:!1,closeByBackdropClick:!0,closeByOutsideClick:!1,closeOnEscape:!1,swipeToClose:!1,swipeToStep:!1,breakpoints:[],backdropBreakpoint:0,pushBreakpoint:0,swipeHandler:null,containerEl:null}},static:{Sheet:Sheet$2},create(){const et=this;et.sheet=extend$5({},ModalMethods({app:et,constructor:Sheet$2,defaultSelector:".sheet-modal.modal-in"}),{stepOpen(_e){const tt=et.sheet.get(_e);if(tt&&tt.stepOpen)return tt.stepOpen()},stepClose(_e){const tt=et.sheet.get(_e);if(tt&&tt.stepClose)return tt.stepClose()},stepToggle(_e){const tt=et.sheet.get(_e);if(tt&&tt.stepToggle)return tt.stepToggle()},setBreakpoint(_e,tt){const nt=et.sheet.get(_e);if(nt&&nt.setBreakpoint)return nt.setBreakpoint(tt)}})},clicks:{".sheet-open":function(_e,tt){tt===void 0&&(tt={});const nt=this;$$1(".sheet-modal.modal-in").length>0&&tt.sheet&&$$1(tt.sheet)[0]!==$$1(".sheet-modal.modal-in")[0]&&nt.sheet.close(".sheet-modal.modal-in"),nt.sheet.open(tt.sheet,tt.animate,_e)},".sheet-close":function(_e,tt){tt===void 0&&(tt={}),this.sheet.close(tt.sheet,tt.animate,_e)}}};let Toast$1=class extends Modal$1{constructor(_e,tt){const nt=extend$5({on:{}},_e.params.toast,tt);super(_e,nt);const rt=this,st=getWindow$1();rt.app=_e,rt.params=nt;const{closeButton:it,closeTimeout:at}=rt.params;let ot;if(rt.params.el)ot=$$1(rt.params.el);else{const ct=rt.render();ot=$$1(ct)}if(ot&&ot.length>0&&ot[0].f7Modal)return ot[0].f7Modal;if(ot.length===0)return rt.destroy();extend$5(rt,{$el:ot,el:ot[0],type:"toast"}),ot[0].f7Modal=rt,it&&(ot.find(".toast-button").on("click",()=>{rt.emit("local::closeButtonClick toastCloseButtonClick",rt),rt.close()}),rt.on("beforeDestroy",()=>{ot.find(".toast-button").off("click")}));let lt;return rt.on("open",()=>{$$1(".toast.modal-in").each(ct=>{const ut=_e.toast.get(ct);ct!==rt.el&&ut&&ut.close()}),at&&(lt=nextTick$2(()=>{rt.close()},at))}),rt.on("close",()=>{st.clearTimeout(lt)}),rt.params.destroyOnClose&&rt.once("closed",()=>{setTimeout(()=>{rt.destroy()},0)}),rt}render(){const _e=this;if(_e.params.render)return _e.params.render.call(_e,_e);const{position:tt,horizontalPosition:nt,cssClass:rt,icon:st,text:it,closeButton:at,closeButtonColor:ot,closeButtonText:lt}=_e.params,ct=tt==="top"||tt==="bottom"?`toast-horizontal-${nt}`:"";return $jsx("div",{class:`toast toast-${tt} ${ct} ${rt||""} ${st?"toast-with-icon":""}`},$jsx("div",{class:"toast-content"},st&&$jsx("div",{class:"toast-icon"},st),$jsx("div",{class:"toast-text"},it),at&&!st&&$jsx("a",{class:`toast-button button ${ot?`color-${ot}`:""}`},lt)))}};const Toast={name:"toast",static:{Toast:Toast$1},create(){const et=this;et.toast=extend$5({},ModalMethods({app:et,constructor:Toast$1,defaultSelector:".toast.modal-in"}),{show(_e){return extend$5(_e,{destroyOnClose:!0}),new Toast$1(et,_e).open()}})},params:{toast:{icon:null,text:null,position:"bottom",horizontalPosition:"left",closeButton:!1,closeButtonColor:null,closeButtonText:"Ok",closeTimeout:null,cssClass:null,render:null,containerEl:null}}},Preloader$1={init(et){const _e=this,tt={iosPreloaderContent,mdPreloaderContent},nt=$$1(et);nt.length===0||nt.children(".preloader-inner").length>0||nt.children(".preloader-inner-line").length>0||nt.append(tt[`${_e.theme}PreloaderContent`])},visible:!1,show(et){et===void 0&&(et="white");const _e=this;if(Preloader$1.visible)return;const nt={iosPreloaderContent,mdPreloaderContent}[`${_e.theme}PreloaderContent`]||"";$$1("html").addClass("with-modal-preloader"),_e.$el.append(` +
    +
    +
    ${nt}
    +
    + `),Preloader$1.visible=!0},showIn(et,_e){_e===void 0&&(_e="white");const tt=this,rt={iosPreloaderContent,mdPreloaderContent}[`${tt.theme}PreloaderContent`]||"";$$1(et||"html").addClass("with-modal-preloader"),$$1(et||tt.$el).append(` +
    +
    +
    ${rt}
    +
    + `)},hide(){const et=this;Preloader$1.visible&&($$1("html").removeClass("with-modal-preloader"),et.$el.find(".preloader-backdrop, .preloader-modal").remove(),Preloader$1.visible=!1)},hideIn(et){const _e=this;$$1(et||"html").removeClass("with-modal-preloader"),$$1(et||_e.$el).find(".preloader-backdrop, .preloader-modal").remove()}},Preloader$2={name:"preloader",create(){bindMethods(this,{preloader:Preloader$1})},on:{photoBrowserOpen(et){const _e=this;et.$el.find(".preloader").each(tt=>{_e.preloader.init(tt)})},tabMounted(et){const _e=this;$$1(et).find(".preloader").each(tt=>{_e.preloader.init(tt)})},pageInit(et){const _e=this;et.$el.find(".preloader").each(tt=>{_e.preloader.init(tt)})}},vnode:{preloader:{insert(et){const _e=this,tt=et.elm;_e.preloader.init(tt)}}}},Progressbar$1={set(){const et=this;for(var _e=arguments.length,tt=new Array(_e),nt=0;nt<_e;nt++)tt[nt]=arguments[nt];let[rt,st,it]=tt;if(typeof tt[0]=="number"&&([st,it]=tt,rt=et.$el),typeof st>"u"||st===null)return rt;st||(st=0);const at=$$1(rt||et.$el);if(at.length===0)return rt;const ot=Math.min(Math.max(st,0),100);let lt;if(at.hasClass("progressbar")?lt=at.eq(0):lt=at.children(".progressbar"),lt.length===0||lt.hasClass("progressbar-infinite"))return lt;let ct=lt.children("span");return ct.length===0&&(ct=$$1(""),lt.append(ct)),ct.transition(typeof it<"u"?it:"").transform(`translate3d(${(-100+ot)*(et.rtl?-1:1)}%,0,0)`),lt[0]},show(){const et=this;for(var _e=arguments.length,tt=new Array(_e),nt=0;nt<_e;nt++)tt[nt]=arguments[nt];let[rt,st,it]=tt,at="determined";tt.length===2?(typeof tt[0]=="string"||typeof tt[0]=="object")&&typeof tt[1]=="string"?([rt,it,st]=tt,at="infinite"):typeof tt[0]=="number"&&typeof tt[1]=="string"&&([st,it]=tt,rt=et.$el):tt.length===1?typeof tt[0]=="number"?(rt=et.$el,st=tt[0]):typeof tt[0]=="string"&&(at="infinite",rt=et.$el,it=tt[0]):tt.length===0&&(at="infinite",rt=et.$el);const ot=$$1(rt);if(ot.length===0)return;let lt;return ot.hasClass("progressbar")||ot.hasClass("progressbar-infinite")?lt=ot:(lt=ot.children(".progressbar:not(.progressbar-out), .progressbar-infinite:not(.progressbar-out)"),lt.length===0&&(lt=$$1(` + + ${at==="infinite"?"":""} + `),ot.append(lt))),typeof st<"u"&&et.progressbar.set(lt,st),lt[0]},hide(et,_e){_e===void 0&&(_e=!0);const nt=$$1(et||this.$el);if(nt.length===0)return;let rt;return nt.hasClass("progressbar")||nt.hasClass("progressbar-infinite")?rt=nt:rt=nt.children(".progressbar, .progressbar-infinite"),rt.length===0||!rt.hasClass("progressbar-in")||rt.hasClass("progressbar-out")||rt.removeClass("progressbar-in").addClass("progressbar-out").animationEnd(()=>{_e&&rt.remove()}),rt}},Progressbar$2={name:"progressbar",create(){bindMethods(this,{progressbar:Progressbar$1})},on:{tabMounted(et){const _e=this;$$1(et).find(".progressbar").each(tt=>{const nt=$$1(tt);_e.progressbar.set(nt,nt.attr("data-progress"))})},pageInit(et){const _e=this;et.$el.find(".progressbar").each(tt=>{const nt=$$1(tt);_e.progressbar.set(nt,nt.attr("data-progress"))})}},vnode:{progressbar:{insert(et){const _e=this,tt=et.elm;_e.progressbar.set(tt,tt.getAttribute("data-progress"))},update(et){const _e=this,tt=et.elm;_e.progressbar.set(tt,tt.getAttribute("data-progress"))}}}},Sortable={init(){const et=this,_e=getDocument$1();let tt,nt,rt,st,it,at,ot,lt,ct,ut,dt,ft,pt,ht,vt,gt,mt,bt,xt,yt,$t;function wt(St,Rt){nt=!1,tt=!0,$t=!1,rt=St.type==="touchstart"?St.targetTouches[0].pageY:St.pageY,it=$$1(St.target).closest("li").eq(0),pt=it.index(),ot=it.parents(".sortable");const Pt=it.parents(".list-group");Pt.length&&Pt.parents(ot).length&&(ot=Pt),at=ot.children("ul").children("li:not(.disallow-sorting):not(.no-sorting)"),et.panel&&(et.panel.allowOpen=!1),et.swipeout&&(et.swipeout.allow=!1),Rt&&(it.addClass("sorting"),ot.addClass("sortable-sorting"),$t=!0)}function Ct(St){if(!tt||!it)return;const Rt=St.type==="touchmove"?St.targetTouches[0].pageY:St.pageY;if(!nt){ht=it.parents(".page"),vt=it.parents(".page-content");const At=parseInt(vt.css("padding-top"),10),Tt=parseInt(vt.css("padding-bottom"),10);yt=vt[0].scrollTop,mt=ht.offset().top+At,gt=ht.height()-At-Tt,it.addClass("sorting"),ot.addClass("sortable-sorting"),bt=it[0].offsetTop,ct=it[0].offsetTop,ut=it.parent().height()-bt-it.height(),lt=it[0].offsetHeight,xt=it.offset().top}nt=!0,St.preventDefault(),St.f7PreventSwipePanel=!0,st=Rt-rt;const Pt=vt[0].scrollTop-yt,kt=Math.min(Math.max(st+Pt,-ct),ut);it.transform(`translate3d(0,${kt}px,0)`);const _t=44;let Bt=!0;st+Pt+_t<-ct&&(Bt=!1),st+Pt-_t>ut&&(Bt=!1),ft=void 0,dt=void 0;let It;Bt&&(xt+st+lt+_t>mt+gt&&(It=xt+st+lt+_t-(mt+gt)),xt+st{const Tt=$$1(At);if(Tt[0]===it[0])return;const Dt=Tt[0].offsetTop,Nt=Tt.height(),Ot=bt+kt;let Lt;const jt=Tt[0].f7Translate;Ot>=Dt-Nt/2&&it.index()Tt.index()?(Lt=lt,Tt[0].f7Translate=Lt,Tt.transform(`translate3d(0, ${Lt}px,0)`),dt=void 0,ft||(ft=Tt)):(Lt=void 0,Tt.transform("translate3d(0, 0%,0)")),jt!==Lt&&(Tt.trigger("sortable:move"),et.emit("sortableMove",Tt[0],ot[0])),Tt[0].f7Translate=Lt})}function Et(){if(!tt||!nt){tt&&!nt&&(et.panel&&(et.panel.allowOpen=!0),et.swipeout&&(et.swipeout.allow=!0),$t&&(it.removeClass("sorting"),ot.removeClass("sortable-sorting"))),tt=!1,nt=!1;return}et.panel&&(et.panel.allowOpen=!0),et.swipeout&&(et.swipeout.allow=!0),at.transform(""),it.removeClass("sorting"),ot.removeClass("sortable-sorting");let St;dt?St=dt.index():ft&&(St=ft.index());let Rt=ot.dataset().sortableMoveElements;if(typeof Rt>"u"&&(Rt=et.params.sortable.moveElements),Rt&&(dt&&it.insertAfter(dt),ft&&it.insertBefore(ft)),(dt||ft)&&ot.hasClass("virtual-list")){pt=it[0].f7VirtualListIndex,typeof pt>"u"&&(pt=it.attr("data-virtual-list-index")),ft?(St=ft[0].f7VirtualListIndex,typeof St>"u"&&(St=ft.attr("data-virtual-list-index"))):(St=dt[0].f7VirtualListIndex,typeof St>"u"&&(St=dt.attr("data-virtual-list-index"))),St!==null?St=parseInt(St,10):St=void 0;const Pt=ot[0].f7VirtualList;pt&&(pt=parseInt(pt,10)),St&&(St=parseInt(St,10)),Pt&&Pt.moveItem(pt,St)}typeof St<"u"&&!Number.isNaN(St)&&St!==pt&&(it.trigger("sortable:sort",{from:pt,to:St}),et.emit("sortableSort",it[0],{from:pt,to:St,el:it[0]},ot[0])),ft=void 0,dt=void 0,tt=!1,nt=!1}const Mt=getSupport$1().passiveListener?{passive:!1,capture:!1}:!1;$$1(_e).on(et.touchEvents.start,".list.sortable .sortable-handler",wt,Mt),et.on("touchmove:active",Ct),et.on("touchend:passive",Et),$$1(_e).on("taphold",".sortable-tap-hold",(St,Rt)=>{wt(Rt,!0)})},enable(et){et===void 0&&(et=".list.sortable");const _e=this,tt=$$1(et);tt.length!==0&&(tt.addClass("sortable-enabled"),tt.trigger("sortable:enable"),_e.emit("sortableEnable",tt[0]))},disable(et){et===void 0&&(et=".list.sortable");const _e=this,tt=$$1(et);tt.length!==0&&(tt.removeClass("sortable-enabled"),tt.trigger("sortable:disable"),_e.emit("sortableDisable",tt[0]))},toggle(et){et===void 0&&(et=".list.sortable");const _e=this,tt=$$1(et);tt.length!==0&&(tt.hasClass("sortable-enabled")?_e.sortable.disable(tt):_e.sortable.enable(tt))}},Sortable$1={name:"sortable",params:{sortable:{moveElements:!0}},create(){bindMethods(this,{sortable:Sortable})},on:{init(){const et=this;et.params.sortable&&et.sortable.init()}},clicks:{".sortable-enable":function(_e,tt){tt===void 0&&(tt={}),this.sortable.enable(tt.sortable)},".sortable-disable":function(_e,tt){tt===void 0&&(tt={}),this.sortable.disable(tt.sortable)},".sortable-toggle":function(_e,tt){tt===void 0&&(tt={}),this.sortable.toggle(tt.sortable)}}},Swipeout={init(){const et=this,_e=getDocument$1(),tt={};let nt,rt,st,it,at,ot,lt,ct,ut,dt,ft,pt,ht,vt,gt,mt,bt,xt,yt,$t,wt;function Ct(Rt){et.swipeout.allow&&(rt=!1,nt=!0,st=void 0,tt.x=Rt.type==="touchstart"?Rt.targetTouches[0].pageX:Rt.pageX,tt.y=Rt.type==="touchstart"?Rt.targetTouches[0].pageY:Rt.pageY,it=new Date().getTime(),ot=$$1(this))}function Et(Rt){if(!nt)return;const Pt=Rt.type==="touchmove"?Rt.targetTouches[0].pageX:Rt.pageX,kt=Rt.type==="touchmove"?Rt.targetTouches[0].pageY:Rt.pageY;if(typeof st>"u"&&(st=!!(st||Math.abs(kt-tt.y)>Math.abs(Pt-tt.x))),st){nt=!1;return}if(!rt){if($$1(".list.sortable-opened").length>0)return;lt=ot.find(".swipeout-content"),ct=ot.find(".swipeout-actions-right"),ut=ot.find(".swipeout-actions-left"),dt=null,ft=null,gt=null,mt=null,yt=null,xt=null,ut.length>0&&(dt=ut.outerWidth(),gt=ut.children("a"),xt=ut.find(".swipeout-overswipe")),ct.length>0&&(ft=ct.outerWidth(),mt=ct.children("a"),yt=ct.find(".swipeout-overswipe")),ht=ot.hasClass("swipeout-opened"),ht&&(vt=ot.find(".swipeout-actions-left.swipeout-actions-opened").length>0?"left":"right"),ot.removeClass("swipeout-transitioning"),et.params.swipeout.noFollow||(ot.find(".swipeout-actions-opened").removeClass("swipeout-actions-opened"),ot.removeClass("swipeout-opened"))}if(rt=!0,Rt.cancelable&&Rt.preventDefault(),at=Pt-tt.x,pt=at,ht&&(vt==="right"?pt-=ft:pt+=dt),pt>0&&ut.length===0||pt<0&&ct.length===0){if(!ht){nt=!1,rt=!1,lt.transform(""),mt&&mt.length>0&&mt.transform(""),gt&>.length>0&>.transform("");return}pt=0}pt<0?bt="to-left":pt>0?bt="to-right":bt||(bt="to-left");let _t,Bt;if(Rt.f7PreventSwipePanel=!0,et.params.swipeout.noFollow){ht?(vt==="right"&&at>0&&et.swipeout.close(ot),vt==="left"&&at<0&&et.swipeout.close(ot)):(at<0&&ct.length>0&&et.swipeout.open(ot,"right"),at>0&&ut.length>0&&et.swipeout.open(ot,"left")),nt=!1,rt=!1;return}if($t=!1,wt=!1,ct.length>0){let It=pt;if(Bt=It/ft,It<-ft){const At=It/-ft;It=-ft-(-It-ft)**.8,pt=It,yt.length>0&&At>et.params.swipeout.overswipeRatio&&(wt=!0)}bt!=="to-left"&&(Bt=0,It=0),mt.each(At=>{const Tt=$$1(At);typeof At.f7SwipeoutButtonOffset>"u"&&(Tt[0].f7SwipeoutButtonOffset=At.offsetLeft),_t=At.f7SwipeoutButtonOffset,yt.length>0&&Tt.hasClass("swipeout-overswipe")&&bt==="to-left"&&(Tt.css({left:`${wt?-_t:0}px`}),wt?(Tt.hasClass("swipeout-overswipe-active")||(ot.trigger("swipeout:overswipeenter"),et.emit("swipeoutOverswipeEnter",ot[0])),Tt.addClass("swipeout-overswipe-active")):(Tt.hasClass("swipeout-overswipe-active")&&(ot.trigger("swipeout:overswipeexit"),et.emit("swipeoutOverswipeExit",ot[0])),Tt.removeClass("swipeout-overswipe-active"))),Tt.transform(`translate3d(${It-_t*(1+Math.max(Bt,-1))}px,0,0)`)})}if(ut.length>0){let It=pt;if(Bt=It/dt,It>dt){const At=It/ft;It=dt+(It-dt)**.8,pt=It,xt.length>0&&At>et.params.swipeout.overswipeRatio&&($t=!0)}bt!=="to-right"&&(It=0,Bt=0),gt.each((At,Tt)=>{const Dt=$$1(At);typeof At.f7SwipeoutButtonOffset>"u"&&(Dt[0].f7SwipeoutButtonOffset=dt-At.offsetLeft-At.offsetWidth),_t=At.f7SwipeoutButtonOffset,xt.length>0&&Dt.hasClass("swipeout-overswipe")&&bt==="to-right"&&(Dt.css({left:`${$t?_t:0}px`}),$t?(Dt.hasClass("swipeout-overswipe-active")||(ot.trigger("swipeout:overswipeenter"),et.emit("swipeoutOverswipeEnter",ot[0])),Dt.addClass("swipeout-overswipe-active")):(Dt.hasClass("swipeout-overswipe-active")&&(ot.trigger("swipeout:overswipeexit"),et.emit("swipeoutOverswipeExit",ot[0])),Dt.removeClass("swipeout-overswipe-active"))),gt.length>1&&Dt.css("z-index",gt.length-Tt),Dt.transform(`translate3d(${It+_t*(1-Math.min(Bt,1))}px,0,0)`)})}ot.trigger("swipeout",Bt),et.emit("swipeout",ot[0],Bt),lt.transform(`translate3d(${pt}px,0,0)`)}function Mt(){if(!nt||!rt){nt=!1,rt=!1;return}nt=!1,rt=!1;const Rt=new Date().getTime()-it,Pt=bt==="to-left"?ct:ut,kt=bt==="to-left"?ft:dt;let _t,Bt,It;if(Rt<300&&(at<-10&&bt==="to-left"||at>10&&bt==="to-right")||Rt>=300&&Math.abs(pt)>kt/2?_t="open":_t="close",Rt<300&&(Math.abs(pt)===0&&(_t="close"),Math.abs(pt)===kt&&(_t="open")),_t==="open"){Swipeout.el=ot[0],ot.trigger("swipeout:open"),et.emit("swipeoutOpen",ot[0]),ot.addClass("swipeout-opened swipeout-transitioning");const Tt=bt==="to-left"?-kt:kt;if(lt.transform(`translate3d(${Tt}px,0,0)`),Pt.addClass("swipeout-actions-opened"),Bt=bt==="to-left"?mt:gt,Bt)for(It=0;It0&>!==Bt&>.each(Tt=>{const Dt=$$1(Tt);At=Tt.f7SwipeoutButtonOffset,typeof At>"u"&&(Dt[0].f7SwipeoutButtonOffset=dt-Tt.offsetLeft-Tt.offsetWidth),Dt.transform(`translate3d(${At}px,0,0)`)}),mt&&mt.length>0&&mt!==Bt&&mt.each(Tt=>{const Dt=$$1(Tt);At=Tt.f7SwipeoutButtonOffset,typeof At>"u"&&(Dt[0].f7SwipeoutButtonOffset=Tt.offsetLeft),Dt.transform(`translate3d(${-At}px,0,0)`)}),lt.transitionEnd(()=>{ht&&_t==="open"||!ht&&_t==="close"||(ot.trigger(_t==="open"?"swipeout:opened":"swipeout:closed"),et.emit(_t==="open"?"swipeoutOpened":"swipeoutClosed",ot[0]),ot.removeClass("swipeout-transitioning"),ht&&_t==="close"&&(ct.length>0&&mt.transform(""),ut.length>0&>.transform("")))})}const St=getSupport$1().passiveListener?{passive:!0}:!1;et.on("touchstart",Rt=>{if(Swipeout.el){const Pt=$$1(Rt.target);$$1(Swipeout.el).is(Pt[0])||Pt.parents(".swipeout").is(Swipeout.el)||Pt.hasClass("modal-in")||(Pt.attr("class")||"").indexOf("-backdrop")>0||Pt.hasClass("actions-modal")||Pt.parents(".actions-modal.modal-in, .dialog.modal-in").length>0||et.swipeout.close(Swipeout.el)}}),$$1(_e).on(et.touchEvents.start,"li.swipeout",Ct,St),et.on("touchmove:active",Et),et.on("touchend:passive",Mt)},allow:!0,el:void 0,open(){const et=this;for(var _e=arguments.length,tt=new Array(_e),nt=0;nt<_e;nt++)tt[nt]=arguments[nt];let[rt,st,it]=tt;typeof tt[1]=="function"&&([rt,it,st]=tt);const at=$$1(rt).eq(0);if(at.length===0||!at.hasClass("swipeout")||at.hasClass("swipeout-opened"))return;st||(at.find(".swipeout-actions-right").length>0?st="right":st="left");const ot=at.find(`.swipeout-actions-${st}`),lt=at.find(".swipeout-content");if(ot.length===0)return;at.trigger("swipeout:open").addClass("swipeout-opened").removeClass("swipeout-transitioning"),et.emit("swipeoutOpen",at[0]),ot.addClass("swipeout-actions-opened");const ct=ot.children("a"),ut=ot.outerWidth(),dt=st==="right"?-ut:ut;ct.length>1&&ct.each((ft,pt)=>{const ht=$$1(ft);st==="right"?ht.transform(`translate3d(${-ft.offsetLeft}px,0,0)`):ht.css("z-index",ct.length-pt).transform(`translate3d(${ut-ft.offsetWidth-ft.offsetLeft}px,0,0)`)}),at.addClass("swipeout-transitioning"),lt.transitionEnd(()=>{at.trigger("swipeout:opened"),et.emit("swipeoutOpened",at[0]),it&&it.call(at[0])}),nextFrame(()=>{ct.transform(`translate3d(${dt}px,0,0)`),lt.transform(`translate3d(${dt}px,0,0)`)}),Swipeout.el=at[0]},close(et,_e){const tt=this,nt=$$1(et).eq(0);if(nt.length===0||!nt.hasClass("swipeout-opened"))return;const rt=nt.find(".swipeout-actions-opened").hasClass("swipeout-actions-right")?"right":"left",st=nt.find(".swipeout-actions-opened").removeClass("swipeout-actions-opened"),it=st.children("a"),at=st.outerWidth();tt.swipeout.allow=!1,nt.trigger("swipeout:close"),tt.emit("swipeoutClose",nt[0]),nt.removeClass("swipeout-opened").addClass("swipeout-transitioning");let ot;function lt(){tt.swipeout.allow=!0,!nt.hasClass("swipeout-opened")&&(nt.removeClass("swipeout-transitioning"),it.transform(""),nt.trigger("swipeout:closed"),tt.emit("swipeoutClosed",nt[0]),_e&&_e.call(nt[0]),ot&&clearTimeout(ot))}nt.find(".swipeout-content").transform("").transitionEnd(lt),ot=setTimeout(lt,500),it.each(ct=>{const ut=$$1(ct);rt==="right"?ut.transform(`translate3d(${-ct.offsetLeft}px,0,0)`):ut.transform(`translate3d(${at-ct.offsetWidth-ct.offsetLeft}px,0,0)`),ut.css({left:"0px"}).removeClass("swipeout-overswipe-active")}),Swipeout.el&&Swipeout.el===nt[0]&&(Swipeout.el=void 0)},delete(et,_e){const tt=this,nt=$$1(et).eq(0);nt.length!==0&&(Swipeout.el=void 0,nt.trigger("swipeout:delete"),tt.emit("swipeoutDelete",nt[0]),nt.css({height:`${nt.outerHeight()}px`}),nt.transitionEnd(()=>{if(nt.trigger("swipeout:deleted"),tt.emit("swipeoutDeleted",nt[0]),_e&&_e.call(nt[0]),nt.parents(".virtual-list").length>0){const rt=nt.parents(".virtual-list")[0].f7VirtualList,st=nt[0].f7VirtualListIndex;rt&&typeof st<"u"&&rt.deleteItem(st)}else tt.params.swipeout.removeElements?tt.params.swipeout.removeElementsWithTimeout?setTimeout(()=>{nt.remove()},tt.params.swipeout.removeElementsTimeout):nt.remove():nt.removeClass("swipeout-deleting swipeout-transitioning")}),nextFrame(()=>{nt.addClass("swipeout-deleting swipeout-transitioning").css({height:"0px"}).find(".swipeout-content").transform("translate3d(-100%,0,0)")}))}},Swipeout$1={name:"swipeout",params:{swipeout:{actionsNoFold:!1,noFollow:!1,removeElements:!0,removeElementsWithTimeout:!1,removeElementsTimeout:0,overswipeRatio:1.2}},create(){bindMethods(this,{swipeout:Swipeout})},clicks:{".swipeout-open":function(_e,tt){tt===void 0&&(tt={}),this.swipeout.open(tt.swipeout,tt.side)},".swipeout-close":function(_e){const tt=this,nt=_e.closest(".swipeout");nt.length!==0&&tt.swipeout.close(nt)},".swipeout-delete":function(_e,tt){tt===void 0&&(tt={});const nt=this,rt=_e.closest(".swipeout");if(rt.length===0)return;const{confirm:st,confirmTitle:it}=tt;tt.confirm?nt.dialog.confirm(st,it,()=>{nt.swipeout.delete(rt)}):nt.swipeout.delete(rt)}},on:{init(){const et=this;et.params.swipeout&&et.swipeout.init()}}},Accordion$1={toggleClicked(et){const _e=this;let tt=et.closest(".accordion-item").eq(0);tt.length||(tt=et.parents("li").eq(0));const nt=et.parents(".accordion-item-content").eq(0);nt.length&&nt.parents(tt).length||et.parents("li").length>1&&et.parents("li")[0]!==tt[0]||_e.accordion.toggle(tt)},open(et){const _e=this,tt=$$1(et);let nt=!1;function rt(){nt=!0}if(tt.trigger("accordion:beforeopen",{prevent:rt},rt),_e.emit("accordionBeforeOpen",tt[0],rt),nt)return;const st=tt.parents(".accordion-list").eq(0);let it=tt.children(".accordion-item-content");if(it.removeAttr("aria-hidden"),it.length===0&&(it=tt.find(".accordion-item-content")),it.length===0)return;const at=st.length>0&&tt.parent().children(".accordion-item-opened");at.length>0&&_e.accordion.close(at),it.transitionEnd(()=>{tt.hasClass("accordion-item-opened")?(it.transition(0),it.css("height","auto"),nextFrame(()=>{it.transition(""),tt.trigger("accordion:opened"),_e.emit("accordionOpened",tt[0])})):(it.css("height",""),tt.trigger("accordion:closed"),_e.emit("accordionClosed",tt[0]))}),it.css("height",`${it[0].scrollHeight}px`),tt.trigger("accordion:open"),tt.addClass("accordion-item-opened"),_e.emit("accordionOpen",tt[0])},close(et){const _e=this,tt=$$1(et);let nt=!1;function rt(){nt=!0}if(tt.trigger("accordion:beforeclose",{prevent:rt},rt),_e.emit("accordionBeforeClose",tt[0],rt),nt)return;let st=tt.children(".accordion-item-content");st.length===0&&(st=tt.find(".accordion-item-content")),tt.removeClass("accordion-item-opened"),st.attr("aria-hidden",!0),st.transition(0),st.css("height",`${st[0].scrollHeight}px`),st.transitionEnd(()=>{tt.hasClass("accordion-item-opened")?(st.transition(0),st.css("height","auto"),nextFrame(()=>{st.transition(""),tt.trigger("accordion:opened"),_e.emit("accordionOpened",tt[0])})):(st.css("height",""),tt.trigger("accordion:closed"),_e.emit("accordionClosed",tt[0]))}),nextFrame(()=>{st.transition(""),st.css("height",""),tt.trigger("accordion:close"),_e.emit("accordionClose",tt[0])})},toggle(et){const _e=this,tt=$$1(et);tt.length!==0&&(tt.hasClass("accordion-item-opened")?_e.accordion.close(et):_e.accordion.open(et))}},Accordion$2={name:"accordion",create(){bindMethods(this,{accordion:Accordion$1})},clicks:{".accordion-item .item-link, .accordion-item-toggle, .links-list.accordion-list > ul > li > a":function(_e){const tt=this;Accordion$1.toggleClicked.call(tt,_e)}}},ContactsList={name:"contactsList"};let VirtualList$1=class extends Framework7Class{constructor(_e,tt){tt===void 0&&(tt={}),super(tt,[_e]);const nt=this,rt=getDevice$1(),st=getDocument$1();let it;_e.theme==="md"?it=48:_e.theme==="ios"&&(it=44);const at={cols:1,height:it,cache:!0,dynamicHeightBufferSize:1,showFilteredItemsOnly:!1,renderExternal:void 0,setListHeight:!0,searchByItem:void 0,searchAll:void 0,ul:null,createUl:!0,scrollableParentEl:void 0,renderItem(vt){return` +
  • +
    +
    +
    ${vt}
    +
    +
    +
  • + `.trim()},on:{}};if(nt.useModulesParams(at),nt.params=extend$5(at,tt),(nt.params.height===void 0||!nt.params.height)&&(nt.params.height=it),nt.$el=$$1(tt.el),nt.el=nt.$el[0],nt.$el.length===0)return;nt.$el[0].f7VirtualList=nt,nt.items=nt.params.items,nt.params.showFilteredItemsOnly&&(nt.filteredItems=[]),nt.params.renderItem&&(nt.renderItem=nt.params.renderItem),nt.$pageContentEl=nt.$el.parents(".page-content"),nt.pageContentEl=nt.$pageContentEl[0],nt.$scrollableParentEl=nt.params.scrollableParentEl?$$1(nt.params.scrollableParentEl).eq(0):nt.$pageContentEl,!nt.$scrollableParentEl.length&&nt.$pageContentEl.length&&(nt.$scrollableParentEl=nt.$pageContentEl),nt.scrollableParentEl=nt.$scrollableParentEl[0],typeof nt.params.updatableScroll<"u"?nt.updatableScroll=nt.params.updatableScroll:(nt.updatableScroll=!0,rt.ios&&rt.osVersion.split(".")[0]<8&&(nt.updatableScroll=!1));const ot=nt.params.ul;nt.$ul=ot?$$1(nt.params.ul):nt.$el.children("ul"),nt.$ul.length===0&&nt.params.createUl&&(nt.$el.append("
      "),nt.$ul=nt.$el.children("ul")),nt.ul=nt.$ul[0];let lt;!nt.ul&&!nt.params.createUl?lt=nt.$el:lt=nt.$ul,extend$5(nt,{$itemsWrapEl:lt,itemsWrapEl:lt[0],domCache:{},tempDomElement:st.createElement("ul"),lastRepaintY:null,fragment:st.createDocumentFragment(),pageHeight:void 0,rowsPerScreen:void 0,rowsBefore:void 0,rowsAfter:void 0,rowsToRender:void 0,maxBufferHeight:0,listHeight:void 0,dynamicHeight:typeof nt.params.height=="function",autoHeight:nt.params.height==="auto"}),nt.useModules();const ct=nt.handleScroll.bind(nt),ut=nt.handleResize.bind(nt);let dt,ft,pt,ht;return nt.attachEvents=function(){dt=nt.$el.parents(".page").eq(0),ft=nt.$el.parents(".tab").filter(gt=>$$1(gt).parent(".tabs").parent(".tabs-animated-wrap, swiper-container.tabs").length===0).eq(0),pt=nt.$el.parents(".panel").eq(0),ht=nt.$el.parents(".popup").eq(0),nt.$scrollableParentEl.on("scroll",ct),dt.length&&dt.on("page:reinit",ut),ft.length&&ft.on("tab:show",ut),pt.length&&pt.on("panel:open",ut),ht.length&&ht.on("popup:open",ut),_e.on("resize",ut)},nt.detachEvents=function(){nt.$scrollableParentEl.off("scroll",ct),dt.length&&dt.off("page:reinit",ut),ft.length&&ft.off("tab:show",ut),pt.length&&pt.off("panel:open",ut),ht.length&&ht.off("popup:open",ut),_e.off("resize",ut)},nt.init(),nt}setListSize(_e){const tt=this,nt=tt.filteredItems||tt.items;if(_e||(tt.pageHeight=tt.$scrollableParentEl[0].offsetHeight),tt.dynamicHeight){tt.listHeight=0,tt.heights=[];for(let rt=0;rt{rt[parseInt(st.getAttribute("data-virtual-list-index"),10)]=st});for(let st=0;st"u"&&(tt.heights[it]=40),tt.listHeight+=tt.heights[it]}}else tt.listHeight=Math.ceil(nt.length/tt.params.cols)*tt.params.height,tt.rowsPerScreen=Math.ceil(tt.pageHeight/tt.params.height),tt.rowsBefore=tt.params.rowsBefore||tt.rowsPerScreen*2,tt.rowsAfter=tt.params.rowsAfter||tt.rowsPerScreen,tt.rowsToRender=tt.rowsPerScreen+tt.rowsBefore+tt.rowsAfter,tt.maxBufferHeight=tt.rowsBefore/2*tt.params.height;(tt.updatableScroll||tt.params.setListHeight)&&tt.$itemsWrapEl.css({height:`${tt.listHeight}px`})}render(_e,tt){const nt=this;_e&&(nt.lastRepaintY=null);let rt=-(nt.$el[0].getBoundingClientRect().top-nt.$scrollableParentEl[0].getBoundingClientRect().top);if(typeof tt<"u"&&(rt=tt),nt.lastRepaintY===null||Math.abs(rt-nt.lastRepaintY)>nt.maxBufferHeight||!nt.updatableScroll&&nt.$scrollableParentEl[0].scrollTop+nt.pageHeight>=nt.$scrollableParentEl[0].scrollHeight)nt.lastRepaintY=rt;else return;const st=nt.filteredItems||nt.items;let it,at,ot=0,lt=0;if(nt.dynamicHeight||nt.autoHeight){let ft=0,pt;nt.maxBufferHeight=nt.pageHeight;for(let ht=0;ht"u"&&(ft+pt>=rt-nt.pageHeight*2*nt.params.dynamicHeightBufferSize?it=ht:ot+=pt),typeof at>"u"&&((ft+pt>=rt+nt.pageHeight*2*nt.params.dynamicHeightBufferSize||ht===nt.heights.length-1)&&(at=ht+1),lt+=pt),ft+=pt;at=Math.min(at,st.length)}else it=(parseInt(rt/nt.params.height,10)-nt.rowsBefore)*nt.params.cols,it<0&&(it=0),at=Math.min(it+nt.rowsToRender*nt.params.cols,st.length);let ct;const ut=[];nt.reachEnd=!1;let dt;for(dt=it;dt{nt.setListSize(!0)})}filterItems(_e,tt){tt===void 0&&(tt=!0);const nt=this;nt.filteredItems=[];for(let rt=0;rt<_e.length;rt+=1)nt.filteredItems.push(nt.items[_e[rt]]);tt&&(nt.$scrollableParentEl[0].scrollTop=0),nt.update()}resetFilter(){const _e=this;_e.params.showFilteredItemsOnly?_e.filteredItems=[]:(_e.filteredItems=null,delete _e.filteredItems),_e.update()}scrollToItem(_e){const tt=this;if(_e>tt.items.length)return!1;let nt=0;if(tt.dynamicHeight||tt.autoHeight)for(let st=0;st<_e;st+=1)nt+=tt.heights[st];else nt=_e*tt.params.height;const rt=tt.$el[0].offsetTop;return tt.render(!0,rt+nt-parseInt(tt.$scrollableParentEl.css("padding-top"),10)),!0}handleScroll(){this.render()}isVisible(){const _e=this;return!!(_e.el.offsetWidth||_e.el.offsetHeight||_e.el.getClientRects().length)}handleResize(){const _e=this;_e.isVisible()&&(_e.heightsCalculated=[],_e.setListSize(),_e.render(!0))}appendItems(_e){const tt=this;for(let nt=0;nt<_e.length;nt+=1)tt.items.push(_e[nt]);tt.update()}appendItem(_e){this.appendItems([_e])}replaceAllItems(_e){const tt=this;tt.items=_e,delete tt.filteredItems,tt.domCache={},tt.update()}replaceItem(_e,tt){const nt=this;nt.items[_e]=tt,nt.params.cache&&delete nt.domCache[_e],nt.update()}prependItems(_e){const tt=this;for(let nt=_e.length-1;nt>=0;nt-=1)tt.items.unshift(_e[nt]);if(tt.params.cache){const nt={};Object.keys(tt.domCache).forEach(rt=>{nt[parseInt(rt,10)+_e.length]=tt.domCache[rt]}),tt.domCache=nt}tt.update()}prependItem(_e){this.prependItems([_e])}moveItem(_e,tt){const nt=this,rt=_e;let st=tt;if(rt===st)return;const it=nt.items.splice(rt,1)[0];if(st>=nt.items.length?(nt.items.push(it),st=nt.items.length-1):nt.items.splice(st,0,it),nt.params.cache){const at={};Object.keys(nt.domCache).forEach(ot=>{const lt=parseInt(ot,10),ct=rtut)&&(at[lt]=nt.domCache[lt]),lt===ct&&(at[ut]=nt.domCache[lt]),lt>ct&<<=ut&&(at[lt+dt]=nt.domCache[lt])}),nt.domCache=at}nt.update()}insertItemBefore(_e,tt){const nt=this;if(_e===0){nt.prependItem(tt);return}if(_e>=nt.items.length){nt.appendItem(tt);return}if(nt.items.splice(_e,0,tt),nt.params.cache){const rt={};Object.keys(nt.domCache).forEach(st=>{const it=parseInt(st,10);it>=_e&&(rt[it+1]=nt.domCache[it])}),nt.domCache=rt}nt.update()}deleteItems(_e){const tt=this;let nt,rt=0;for(let st=0;st<_e.length;st+=1){let it=_e[st];typeof nt<"u"&&it>nt&&(rt=-st),it+=rt,nt=_e[st];const at=tt.items.splice(it,1)[0];if(tt.filteredItems&&tt.filteredItems.indexOf(at)>=0&&tt.filteredItems.splice(tt.filteredItems.indexOf(at),1),tt.params.cache){const ot={};Object.keys(tt.domCache).forEach(lt=>{const ct=parseInt(lt,10);ct===it?delete tt.domCache[it]:parseInt(lt,10)>it?ot[ct-1]=tt.domCache[lt]:ot[ct]=tt.domCache[lt]}),tt.domCache=ot}}tt.update()}deleteAllItems(){const _e=this;_e.items=[],delete _e.filteredItems,_e.params.cache&&(_e.domCache={}),_e.update()}deleteItem(_e){this.deleteItems([_e])}clearCache(){const _e=this;_e.domCache={}}update(_e){const tt=this;_e&&tt.params.cache&&(tt.domCache={}),tt.heightsCalculated=[],tt.setListSize(),tt.render(!0)}init(){const _e=this;_e.attachEvents(),_e.setListSize(),_e.render()}destroy(){let _e=this;_e.detachEvents(),_e.$el[0].f7VirtualList=null,delete _e.$el[0].f7VirtualList,deleteProps$1(_e),_e=null}};const VirtualList={name:"virtualList",static:{VirtualList:VirtualList$1},create(){const et=this;et.virtualList=ConstructorMethods({defaultSelector:".virtual-list",constructor:VirtualList$1,app:et,domProp:"f7VirtualList"})}};let ListIndex$2=class extends Framework7Class{constructor(_e,tt){tt===void 0&&(tt={}),super(tt,[_e]);const nt=this,rt={el:null,listEl:null,indexes:"auto",iosItemHeight:14,mdItemHeight:14,scrollList:!0,label:!1,renderItem($t,wt){return` +
    • ${$t}
    • + `.trim()},renderSkipPlaceholder(){return'
    • '},on:{}};nt.useModulesParams(rt),nt.params=extend$5(rt,tt);let st,it,at,ot;if(nt.params.el)st=$$1(nt.params.el);else return nt;if(st[0].f7ListIndex)return st[0].f7ListIndex;if(ot=st.find("ul"),ot.length===0&&(ot=$$1("
        "),st.append(ot)),nt.params.listEl&&(it=$$1(nt.params.listEl)),nt.params.indexes==="auto"&&!it)return nt;it?at=it.parents(".page-content").eq(0):(at=st.siblings(".page-content").eq(0),at.length===0&&(at=st.parents(".page").eq(0).find(".page-content").eq(0))),st[0].f7ListIndex=nt,extend$5(nt,{app:_e,$el:st,el:st&&st[0],$ul:ot,ul:ot&&ot[0],$listEl:it,listEl:it&&it[0],$pageContentEl:at,pageContentEl:at&&at[0],indexes:tt.indexes,height:0,skipRate:0}),nt.useModules();function lt(){const $t={index:nt};nt.calcSize(),$t!==nt.height&&nt.render()}function ct($t){const wt=$$1($t.target).closest("li");if(!wt.length)return;let Ct=wt.index();if(nt.skipRate>0){const Mt=Ct/(wt.siblings("li").length-1);Ct=Math.round((nt.indexes.length-1)*Mt)}const Et=nt.indexes[Ct];nt.$el.trigger("listindex:click",{content:Et,index:Ct}),nt.emit("local::click listIndexClick",nt,Et,Ct),nt.$el.trigger("listindex:select",{content:Et,index:Ct}),nt.emit("local::select listIndexSelect",nt,Et,Ct),nt.$listEl&&nt.params.scrollList&&nt.scrollListToIndex(Et,Ct)}const ut={};let dt,ft,pt,ht,vt,gt=null;function mt($t){const wt=ot.children();wt.length&&(pt=wt[0].getBoundingClientRect().top,ht=wt[wt.length-1].getBoundingClientRect().top+wt[0].offsetHeight,ut.x=$t.type==="touchstart"?$t.targetTouches[0].pageX:$t.pageX,ut.y=$t.type==="touchstart"?$t.targetTouches[0].pageY:$t.pageY,dt=!0,ft=!1,gt=null)}function bt($t){if(!dt)return;!ft&&nt.params.label&&(vt=$$1(''),st.append(vt)),ft=!0;const wt=$t.type==="touchmove"?$t.targetTouches[0].pageY:$t.pageY;$t.preventDefault();let Ct=(wt-pt)/(ht-pt);Ct=Math.min(Math.max(Ct,0),1);const Et=Math.round((nt.indexes.length-1)*Ct),Mt=nt.indexes[Et],St=ht-pt,Rt=(nt.height-St)/2+(1-Ct)*St;Et!==gt&&(nt.params.label&&vt.html(Mt).transform(`translateY(-${Rt}px)`),nt.$listEl&&nt.params.scrollList&&nt.scrollListToIndex(Mt,Et)),gt=Et,nt.$el.trigger("listindex:select"),nt.emit("local::select listIndexSelect",nt,Mt,Et)}function xt(){dt&&(dt=!1,ft=!1,nt.params.label&&(vt&&vt.remove(),vt=void 0))}const yt=getSupport$1().passiveListener?{passive:!0}:!1;return nt.attachEvents=function(){st.parents(".tab").on("tab:show",lt),st.parents(".page").on("page:reinit",lt),st.parents(".panel").on("panel:open",lt),st.parents(".sheet-modal, .actions-modal, .popup, .popover, .login-screen, .dialog, .toast").on("modal:open",lt),_e.on("resize",lt),st.on("click",ct),st.on(_e.touchEvents.start,mt,yt),_e.on("touchmove:active",bt),_e.on("touchend:passive",xt)},nt.detachEvents=function(){st.parents(".tab").off("tab:show",lt),st.parents(".page").off("page:reinit",lt),st.parents(".panel").off("panel:open",lt),st.parents(".sheet-modal, .actions-modal, .popup, .popover, .login-screen, .dialog, .toast").off("modal:open",lt),_e.off("resize",lt),st.off("click",ct),st.off(_e.touchEvents.start,mt,yt),_e.off("touchmove:active",bt),_e.off("touchend:passive",xt)},nt.init(),nt}scrollListToIndex(_e,tt){const nt=this,{$listEl:rt,$pageContentEl:st,app:it}=nt;if(!rt||!st||st.length===0)return nt;let at;if(rt.find(".list-group-title").each(dt=>{if(at)return;const ft=$$1(dt);ft.text()===_e&&(at=ft)}),!at||at.length===0)return nt;const ot=at.parent().offset().top;let lt=parseInt(st.css("padding-top"),10);const ct=st[0].scrollTop,ut=at.offset().top;if(st.parents(".page-with-navbar-large").length){const dt=it.navbar.getElByPage(st.parents(".page-with-navbar-large").eq(0)),ft=$$1(dt).find(".title-large");ft.length&&(lt-=ft[0].offsetHeight||0)}return ot<=lt?st.scrollTop(ot+ct-lt):st.scrollTop(ut+ct-lt),nt}renderSkipPlaceholder(){const _e=this;return _e.params.renderSkipPlaceholder.call(_e)}renderItem(_e,tt){const nt=this;return nt.params.renderItem.call(nt,_e,tt)}render(){const _e=this,{$ul:tt,indexes:nt,skipRate:rt}=_e;let st;const it=nt.map((at,ot)=>{if(ot%rt!==0&&rt>0)return st=!0,"";let lt=_e.renderItem(at,ot);return st&&(lt=_e.renderSkipPlaceholder()+lt),st=!1,lt}).join("");return tt.html(it),_e}calcSize(){const _e=this,{app:tt,params:nt,el:rt,indexes:st}=_e,it=rt.offsetHeight,at=nt[`${tt.theme}ItemHeight`],ot=Math.floor(it/at),lt=st.length;let ct=0;return lt>ot&&(ct=Math.ceil((lt*2-1)/ot)),_e.height=it,_e.skipRate=ct,_e}calcIndexes(){const _e=this;return _e.params.indexes==="auto"?(_e.indexes=[],_e.$listEl.find(".list-group-title").each(tt=>{const nt=$$1(tt).text();_e.indexes.indexOf(nt)<0&&_e.indexes.push(nt)})):_e.indexes=_e.params.indexes,_e}update(){const _e=this;return _e.calcIndexes(),_e.calcSize(),_e.render(),_e}init(){const _e=this;_e.calcIndexes(),_e.calcSize(),_e.render(),_e.attachEvents()}destroy(){let _e=this;_e.$el.trigger("listindex:beforedestroy",_e),_e.emit("local::beforeDestroy listIndexBeforeDestroy"),_e.detachEvents(),_e.$el[0]&&(_e.$el[0].f7ListIndex=null,delete _e.$el[0].f7ListIndex),deleteProps$1(_e),_e=null}};const ListIndex$1={name:"listIndex",static:{ListIndex:ListIndex$2},create(){const et=this;et.listIndex=ConstructorMethods({defaultSelector:".list-index",constructor:ListIndex$2,app:et,domProp:"f7ListIndex"})},on:{tabMounted(et){const _e=this;$$1(et).find(".list-index-init").each(tt=>{const nt=extend$5($$1(tt).dataset(),{el:tt});_e.listIndex.create(nt)})},tabBeforeRemove(et){$$1(et).find(".list-index-init").each(_e=>{_e.f7ListIndex&&_e.f7ListIndex.destroy()})},pageInit(et){const _e=this;et.$el.find(".list-index-init").each(tt=>{const nt=extend$5($$1(tt).dataset(),{el:tt});_e.listIndex.create(nt)})},pageBeforeRemove(et){et.$el.find(".list-index-init").each(_e=>{_e.f7ListIndex&&_e.f7ListIndex.destroy()})}},vnode:{"list-index-init":{insert(et){const _e=this,tt=et.elm,nt=extend$5($$1(tt).dataset(),{el:tt});_e.listIndex.create(nt)},destroy(et){const _e=et.elm;_e.f7ListIndex&&_e.f7ListIndex.destroy()}}}},Timeline={name:"timeline"},Tab$1={show(){const et=this;let _e,tt,nt,rt,st;for(var it=arguments.length,at=new Array(it),ot=0;ot2&&tt.constructor===Object&&([_e,nt,rt,tt]=at))),typeof nt>"u"&&(nt=!0);const lt=$$1(_e);if(rt&<[0]&&(lt[0].f7TabRoute=rt),!st&&(lt.length===0||lt.hasClass("tab-active")))return{$newTabEl:lt,newTabEl:lt[0]};let ct;tt&&(ct=$$1(tt));const ut=lt.parent(".tabs");if(ut.length===0)return{$newTabEl:lt,newTabEl:lt[0]};et.swipeout&&(et.swipeout.allowOpen=!0);const dt=[];function ft(mt){dt.push(mt)}function pt(){dt.forEach(mt=>{mt()})}let ht=!1;if(ut.parent().hasClass("tabs-animated-wrap")){ut.parent()[nt?"removeClass":"addClass"]("not-animated");const mt=parseFloat(ut.css("transition-duration").replace(",","."));nt&&mt&&(ut.transitionEnd(pt),ht=!0);const bt=(et.rtl?lt.index():-lt.index())*100;ut.transform(`translate3d(${bt}%,0,0)`)}let vt;if(ut[0].nodeName.toLowerCase()==="swiper-container"&&et.swiper){vt=ut[0].swiper;const mt=vt.slides.indexOf(lt[0]);vt&&vt.activeIndex!==mt?(ht=!0,vt.once("slideChangeTransitionEnd",()=>{pt()}).slideTo(mt,nt?void 0:0)):vt&&vt.animating&&(ht=!0,vt.once("slideChangeTransitionEnd",()=>{pt()}))}const gt=ut.children(".tab-active");if(gt.removeClass("tab-active"),!st&&(!vt||vt&&!vt.animating||vt&&rt)&&(gt.hasClass("view")&>.children(".page").length&>.children(".page").each(mt=>{$$1(mt).trigger("page:tabhide"),et.emit("pageTabHide",mt)}),gt.trigger("tab:hide"),et.emit("tabHide",gt[0])),lt.addClass("tab-active"),!st&&(!vt||vt&&!vt.animating||vt&&rt)&&(lt.hasClass("view")&<.children(".page").length&<.children(".page").each(mt=>{$$1(mt).trigger("page:tabshow"),et.emit("pageTabShow",mt)}),lt.trigger("tab:show"),et.emit("tabShow",lt[0])),!ct&&(typeof _e=="string"?ct=$$1(`.tab-link[href="${_e}"]`):ct=$$1(`.tab-link[href="#${lt.attr("id")}"]`),(!ct||ct&&ct.length===0)&&$$1("[data-tab]").each(mt=>{lt.is($$1(mt).attr("data-tab"))&&(ct=$$1(mt))}),rt&&(!ct||ct&&ct.length===0)&&(ct=$$1(`[data-route-tab-id="${rt.route.tab.id}"]`),ct.length===0&&(ct=$$1(`.tab-link[href="${rt.url}"]`))),ct.length>1&<.parents(".page").length&&(ct=ct.filter(mt=>$$1(mt).parents(".page")[0]===lt.parents(".page")[0]),et.theme==="ios"&&ct.length===0&&rt))){const mt=lt.parents(".page"),bt=$$1(et.navbar.getElByPage(mt));ct=bt.find(`[data-route-tab-id="${rt.route.tab.id}"]`),ct.length===0&&(ct=bt.find(`.tab-link[href="${rt.url}"]`))}if(ct.length>0){let mt;if(gt&>.length>0){const bt=gt.attr("id");bt&&(mt=$$1(`.tab-link[href="#${bt}"]`),(!mt||mt&&mt.length===0)&&(mt=$$1(`.tab-link[data-route-tab-id="${bt}"]`))),(!mt||mt&&mt.length===0)&&$$1("[data-tab]").each(xt=>{gt.is($$1(xt).attr("data-tab"))&&(mt=$$1(xt))}),(!mt||mt&&mt.length===0)&&(mt=ct.siblings(".tab-link-active"))}else rt&&(mt=ct.siblings(".tab-link-active"));if(mt&&mt.length>1&>&>.parents(".page").length&&(mt=mt.filter(bt=>$$1(bt).parents(".page")[0]===gt.parents(".page")[0])),mt&&mt.length>0&&mt.removeClass("tab-link-active"),ct&&ct.length>0){ct.addClass("tab-link-active");const bt=ct.parents(".tabbar, .tabbar-icons");et.toolbar&&bt.length>0&&(bt.hasClass("tabbar-highlight")||et.theme!=="ios")&&et.toolbar.setHighlight(bt)}}return{$newTabEl:lt,newTabEl:lt[0],$oldTabEl:gt,oldTabEl:gt[0],onTabsChanged:ft,animated:ht}}},Tabs$1={name:"tabs",create(){const et=this;extend$5(et,{tab:{show:Tab$1.show.bind(et)}})},on:{"pageInit tabMounted":function(_e){const nt=$$1(_e.el||_e).find(".tabs-animated-wrap > .tabs > .tab-active")[0];if(!nt)return;this.tab.show({tabEl:nt,animatedInit:!0,animate:!1})}},clicks:{".tab-link":function(_e,tt){tt===void 0&&(tt={}),(_e.attr("href")&&_e.attr("href").indexOf("#")===0||_e.attr("data-tab"))&&this.tab.show({tabEl:tt.tab||_e.attr("href"),tabLinkEl:_e,animate:tt.animate})}}};function swipePanel(et){const _e=et.app;if(et.swipeInitialized)return;extend$5(et,{swipeable:!0,swipeInitialized:!0});const tt=et.params,{$el:nt,$backdropEl:rt,side:st,effect:it}=et;let at,ot,lt,ct,ut,dt;const ft={};let pt,ht,vt,gt,mt,bt,xt,yt=0;function $t(St){if(!et.swipeable||lt||!_e.panel.allowOpen||!tt.swipe&&!tt.swipeOnlyClose||ot||$$1(".modal-in:not(.toast):not(.notification), .photo-browser-in").length>0)return;at=_e.panel.get(st==="left"?"right":"left")||{};const Rt=at.opened&&at.$el&&!at.$el.hasClass("panel-in-breakpoint");!et.opened&&Rt||!tt.swipeOnlyClose&&Rt||St.target&&St.target.nodeName.toLowerCase()==="input"&&St.target.type==="range"||$$1(St.target).closest(".range-slider, swiper-container.tabs, .calendar-months, .no-swipe-panel, .card-opened").length>0||(ft.x=St.type==="touchstart"?St.targetTouches[0].pageX:St.pageX,ft.y=St.type==="touchstart"?St.targetTouches[0].pageY:St.pageY,!(tt.swipeOnlyClose&&!et.opened)&&(tt.swipeActiveArea&&!et.opened&&(st==="left"&&ft.x>tt.swipeActiveArea||st==="right"&&ft.x<_e.width-tt.swipeActiveArea)||(yt=0,xt=$$1(et.getViewEl()),ct=!1,ot=!0,ut=void 0,dt=!1,pt=now$2(),bt=void 0)))}function wt(St){if(!ot||lt||dt||(yt+=1,yt<2))return;if(St.f7PreventSwipePanel||_e.preventSwipePanelBySwipeBack||_e.preventSwipePanel){ot=!1;return}const Rt=St.type==="touchmove"?St.targetTouches[0].pageX:St.pageX,Pt=St.type==="touchmove"?St.targetTouches[0].pageY:St.pageY;if(typeof ut>"u"&&(ut=!!(ut||Math.abs(Pt-ft.y)>Math.abs(Rt-ft.x))),ut){ot=!1;return}if(!bt){if(Rt>ft.x?bt="to-right":bt="to-left",tt.swipeActiveArea>0&&!et.opened){if(st==="left"&&ft.x>tt.swipeActiveArea){ot=!1;return}if(st==="right"&&ft.x<_e.width-tt.swipeActiveArea){ot=!1;return}}if(nt.hasClass("panel-in-breakpoint")){ot=!1;return}if(st==="left"&&bt==="to-left"&&!nt.hasClass("panel-in")||st==="right"&&bt==="to-right"&&!nt.hasClass("panel-in")){ot=!1;return}}let kt=et.opened?0:-tt.swipeThreshold;st==="right"&&(kt=-kt),ct||(et.opened||(et.insertToRoot(),nt.addClass("panel-in-swipe"),rt&&rt.css("visibility","visible"),nt.trigger("panel:swipeopen"),et.emit("local::swipeOpen panelSwipeOpen",et)),mt=nt[0].offsetWidth,it==="reveal"&&nt.hasClass("panel-in-collapsed")&&(mt-=parseFloat(xt.css(`margin-${st}`))),nt.transition(0)),ct=!0,St.cancelable&&St.preventDefault(),ht=Rt-ft.x+kt;const _t=it==="floating"?8:0;st==="right"?it==="cover"||it==="push"||it==="floating"?(vt=ht+(et.opened?_t:mt),vt<0-_t&&(vt=-_t),vt>mt&&(vt=mt)):(vt=ht-(et.opened?mt:0),vt>0&&(vt=0),vt<-mt&&(vt=-mt)):(vt=ht+(et.opened?mt:_t),vt<0&&(vt=0),vt>mt+_t&&(vt=mt+_t));const Bt=Math.abs(vt/mt);if(it==="reveal")tt.swipeNoFollow||(xt.transform(`translate3d(${vt}px,0,0)`).transition(0),rt&&rt.transform(`translate3d(${vt}px,0,0)`).transition(0)),nt.trigger("panel:swipe",Math.abs(vt/mt)),et.emit("local::swipe panelSwipe",et,Math.abs(vt/mt));else{if(st==="left"&&(vt-=mt),!tt.swipeNoFollow&&(gt=1-Math.abs(vt/mt),rt&&(rt.transition(0),rt.css({opacity:gt})),nt.transform(`translate3d(${vt}px,0,0)`).transition(0),it==="push")){const It=st==="left"?vt+mt:vt-mt;xt.transform(`translate3d(${It}px,0,0)`).transition(0),rt&&rt.transform(`translate3d(${It}px,0,0)`).transition(0)}nt.trigger("panel:swipe",Math.abs(vt/mt)),et.emit("local::swipe panelSwipe",et,Math.abs(vt/mt))}tt.swipeNoFollow&&(et.opened&&Bt===0||!et.opened&&Bt===1)&&(dt=!0,Ct(St))}function Ct(St){if(!ot||!ct){ot=!1,ct=!1;return}const Rt=St.type==="gesturestart"||lt;ot=!1,ct=!1;const Pt=new Date().getTime()-pt;let kt;const _t=it==="floating"?st==="left"?8:-8:0,Bt=(vt===_t||Math.abs(vt)===mt)&&!tt.swipeNoFollow,It=tt.swipeThreshold||0;Rt?kt="reset":et.opened?it==="cover"||it==="push"||it==="floating"?vt===0?kt="reset":Pt<300&&Math.abs(vt)>0?kt="swap":Pt>=300&&Math.abs(vt)=0||Pt>=300&&Math.abs(vt)<=mt/2?st==="left"&&vt===mt?kt="reset":kt="swap":kt="reset":Math.abs(ht)0||Pt>=300&&Math.abs(vt)0||Pt>=300&&Math.abs(vt)>=mt/2?kt="swap":kt="reset",kt==="swap"&&(et.opened?et.close(!Bt):et.open(!Bt));let At=!0;if(kt==="reset"&&!et.opened)if(Bt)nt.removeClass("panel-in-swipe");else{At=!1;const Tt=it==="reveal"?xt:nt;et.setStateClasses("before-closing"),Tt.transitionEnd(()=>{nt.hasClass("panel-in")||(nt.removeClass("panel-in-swipe"),et.setStateClasses("after-closing"))})}(it==="reveal"||it==="push")&&nextFrame(()=>{xt.transition(""),xt.transform("")}),At&&nt.removeClass("panel-in-swipe"),nt.transition("").transform(""),rt&&rt.transform("").transition("").css({opacity:"",visibility:""})}function Et(St){lt=!0,Ct(St)}function Mt(){lt=!1}_e.on("touchstart:passive",$t),_e.on("touchmove:active",wt),_e.on("touchend:passive",Ct),_e.on("gesturestart",Et),_e.on("gestureend",Mt),et.on("panelDestroy",()=>{_e.off("touchstart:passive",$t),_e.off("touchmove:active",wt),_e.off("touchend:passive",Ct),_e.off("gesturestart",Et),_e.off("gestureend",Mt)})}function resizablePanel(et){const _e=et.app,tt=getSupport$1();if(et.resizableInitialized)return;extend$5(et,{resizable:!0,resizableWidth:null,resizableInitialized:!0});const nt=$$1("html"),{$el:rt,$backdropEl:st,side:it,effect:at}=et;if(!rt)return;let ot,lt;const ct={};let ut,dt,ft,pt,ht,vt;const gt=at!=="cover"&&at!=="floating";function mt(Et){if(!Et)return null;if(Et.indexOf("%")>=0||Et.indexOf("vw")>=0)return parseInt(Et,10)/100*_e.width;const Mt=parseInt(Et,10);return Number.isNaN(Mt)?null:Mt}function bt(){return et.resizable&&rt.hasClass("panel-resizable")}function xt(Et){bt()&&(ct.x=Et.type==="touchstart"?Et.targetTouches[0].pageX:Et.pageX,ct.y=Et.type==="touchstart"?Et.targetTouches[0].pageY:Et.pageY,lt=!1,ot=!0,pt=mt(rt.css("min-width")),ht=mt(rt.css("max-width")),vt=rt.hasClass("panel-in-breakpoint"))}function yt(Et){if(!ot)return;const Mt=Et.type==="touchmove"?Et.targetTouches[0].pageX:Et.pageX;lt||(dt=rt[0].offsetWidth,rt.transition(0),rt.addClass("panel-resizing"),nt.css("cursor","col-resize"),(gt||vt)&&(ft=$$1(et.getViewEl()),et.$containerEl&&et.$containerEl.hasClass("page")&&ft.add(et.$containerEl.children(".page-content, .tabs, .fab"))),gt&&!vt&&(st.transition(0),ft.transition(0))),lt=!0,Et.preventDefault(),ut=Mt-ct.x;let St=it==="left"?dt+ut:dt-ut;pt&&!Number.isNaN(pt)&&(St=Math.max(St,pt)),ht&&!Number.isNaN(ht)&&(St=Math.min(St,ht)),St=Math.min(Math.max(St,0),_e.width),et.resizableWidth=St,rt[0].style.width=`${St}px`,gt&&!vt?(ft&&ft.transform(`translate3d(${it==="left"?St:-St}px, 0, 0)`),st&&st.transform(`translate3d(${it==="left"?St:-St}px, 0, 0)`)):vt&&ft&&ft.css(`margin-${it}`,`${St}px`),rt.trigger("panel:resize",St),et.emit("local::resize panelResize",et,St)}function $t(){if($$1("html").css("cursor",""),!ot||!lt){ot=!1,lt=!1;return}ot=!1,lt=!1,nt[0].style.setProperty(`--f7-panel-${it}-width`,`${et.resizableWidth}px`),rt[0].style.width="",gt&&!vt&&(ft.transform(""),st.transform("")),rt.removeClass("panel-resizing"),nextFrame(()=>{rt.transition(""),gt&&(st.transition(""),ft&&ft.transition(""))})}function wt(){!et.opened||!et.resizableWidth||(pt=mt(rt.css("min-width")),ht=mt(rt.css("max-width")),pt&&!Number.isNaN(pt)&&et.resizableWidthht&&(et.resizableWidth=Math.min(et.resizableWidth,ht)),et.resizableWidth=Math.min(Math.max(et.resizableWidth,0),_e.width),nt[0].style.setProperty(`--f7-panel-${it}-width`,`${et.resizableWidth}px`))}et.$el.find(".panel-resize-handler").length===0&&et.$el.append('
        '),et.$resizeHandlerEl=et.$el.children(".panel-resize-handler"),rt.addClass("panel-resizable");const Ct=tt.passiveListener?{passive:!0}:!1;et.$el.on(_e.touchEvents.start,".panel-resize-handler",xt,Ct),_e.on("touchmove:active",yt),_e.on("touchend:passive",$t),_e.on("resize",wt),et.on("beforeOpen",wt),et.once("panelDestroy",()=>{rt.removeClass("panel-resizable"),et.$resizeHandlerEl.remove(),et.$el.off(_e.touchEvents.start,".panel-resize-handler",xt,Ct),_e.off("touchmove:active",yt),_e.off("touchend:passive",$t),_e.off("resize",wt),et.off("beforeOpen",wt)})}let Panel$2=class extends Framework7Class{constructor(_e,tt){tt===void 0&&(tt={});const nt=extend$5({on:{}},_e.params.panel,tt);super(nt,[_e]);const rt=this;rt.params=nt,rt.$containerEl=rt.params.containerEl?$$1(rt.params.containerEl).eq(0):_e.$el,rt.containerEl=rt.$containerEl[0],rt.containerEl||(rt.$containerEl=_e.$el,rt.containerEl=_e.$el[0]);let st;if(rt.params.el?st=$$1(rt.params.el).eq(0):rt.params.content&&(st=$$1(rt.params.content).filter(ct=>ct.nodeType===1).eq(0)),st.length===0)return rt;if(st[0].f7Panel)return st[0].f7Panel;st[0].f7Panel=rt;let{side:it,effect:at,resizable:ot}=rt.params;typeof it>"u"&&(it=st.hasClass("panel-left")?"left":"right"),typeof at>"u"&&(at=st.hasClass("panel-cover")?"cover":st.hasClass("panel-push")?"push":st.hasClass("panel-floating")?"floating":"reveal"),typeof ot>"u"&&(ot=st.hasClass("panel-resizable"));let lt;return rt.params.backdrop&&rt.params.backdropEl?lt=$$1(rt.params.backdropEl):rt.params.backdrop&&(lt=rt.$containerEl.children(".panel-backdrop"),lt.length===0&&(lt=$$1('
        '),rt.$containerEl.prepend(lt))),extend$5(rt,{app:_e,side:it,effect:at,resizable:ot,$el:st,el:st[0],opened:!1,$backdropEl:lt,backdropEl:lt&<[0]}),rt.useModules(),rt.init(),rt}getViewEl(){const _e=this;let tt;return _e.$containerEl.children(".views").length>0?tt=_e.$containerEl.children(".views")[0]:tt=_e.$containerEl.children(".view")[0],tt}setStateClasses(_e){const tt=this,{side:nt,el:rt,effect:st}=tt,it=tt.getViewEl(),at=it&&it.contains(rt),ot=!it||at?tt.$containerEl:$$1("html");_e==="open"&&ot.addClass(`with-panel with-panel-${tt.side}-${tt.effect}`),_e==="before-closing"&&ot.addClass("with-panel-closing"),_e==="closing"&&(ot.addClass("with-panel-closing"),ot.removeClass(`with-panel with-panel-${tt.side}-${tt.effect}`)),_e==="after-closing"&&ot.removeClass("with-panel-closing"),_e==="closed"&&ot.removeClass(`with-panel-${nt}-${st}`)}enableVisibleBreakpoint(){const _e=this;return _e.visibleBreakpointDisabled=!1,_e.setVisibleBreakpoint(),_e}disableVisibleBreakpoint(){const _e=this;return _e.visibleBreakpointDisabled=!0,_e.setVisibleBreakpoint(),_e}toggleVisibleBreakpoint(){const _e=this;return _e.visibleBreakpointDisabled=!_e.visibleBreakpointDisabled,_e.setVisibleBreakpoint(),_e}setVisibleBreakpoint(_e){_e===void 0&&(_e=!0);const tt=this,nt=tt.app;tt.visibleBreakpointResizeHandler||(tt.visibleBreakpointResizeHandler=function(){tt.setVisibleBreakpoint()},nt.on("resize",tt.visibleBreakpointResizeHandler));const{side:rt,$el:st,$containerEl:it,params:at,visibleBreakpointDisabled:ot}=tt,lt=at.visibleBreakpoint,ct=$$1(tt.getViewEl()),ut=st.hasClass("panel-in-breakpoint");it&&it.hasClass("page")&&ct.add(it.children(".page-content, .tabs, .fab")),nt.width>=lt&&typeof lt<"u"&<!==null&&!ot?ut?ct.css({[`margin-${rt}`]:`${st.width()}px`}):(tt.setStateClasses("closed"),st.addClass("panel-in-breakpoint").removeClass("panel-in panel-in-collapsed"),tt.onOpen(!1),tt.onOpened(),ct.css({[`margin-${rt}`]:`${st.width()}px`}),nt.allowPanelOpen=!0,_e&&(tt.emit("local::breakpoint panelBreakpoint",tt),tt.$el.trigger("panel:breakpoint"))):ut&&(st.removeClass("panel-in-breakpoint panel-in"),tt.onClose(),tt.onClosed(),ct.css({[`margin-${rt}`]:""}),_e&&(tt.emit("local::breakpoint panelBreakpoint",tt),tt.$el.trigger("panel:breakpoint")))}enableCollapsedBreakpoint(){const _e=this;return _e.collapsedBreakpointDisabled=!1,_e.setCollapsedBreakpoint(),_e}disableCollapsedBreakpoint(){const _e=this;return _e.collapsedBreakpointDisabled=!0,_e.setCollapsedBreakpoint(),_e}toggleCollapsedBreakpoint(){const _e=this;return _e.collapsedBreakpointDisabled=!_e.collapsedBreakpointDisabled,_e.setCollapsedBreakpoint(),_e}setCollapsedBreakpoint(_e){_e===void 0&&(_e=!0);const tt=this,nt=tt.app;tt.collapsedBreakpointResizeHandler||(tt.collapsedBreakpointResizeHandler=function(){tt.setCollapsedBreakpoint()},nt.on("resize",tt.collapsedBreakpointResizeHandler));const{$el:rt,params:st,collapsedBreakpointDisabled:it}=tt;if(rt.hasClass("panel-in-breakpoint"))return;const at=st.collapsedBreakpoint,ot=rt.hasClass("panel-in-collapsed");nt.width>=at&&typeof at<"u"&&at!==null&&!it?ot||(tt.setStateClasses("closed"),rt.addClass("panel-in-collapsed").removeClass("panel-in"),tt.collapsed=!0,nt.allowPanelOpen=!0,_e&&(tt.emit("local::collapsedBreakpoint panelCollapsedBreakpoint",tt),tt.$el.trigger("panel:collapsedbreakpoint"))):ot&&(rt.removeClass("panel-in-collapsed panel-in"),tt.collapsed=!1,_e&&(tt.emit("local::collapsedBreakpoint panelCollapsedBreakpoint",tt),tt.$el.trigger("panel:collapsedbreakpoint")))}enableResizable(){const _e=this;return _e.resizableInitialized?(_e.resizable=!0,_e.$el.addClass("panel-resizable")):resizablePanel(_e),_e}disableResizable(){const _e=this;return _e.resizable=!1,_e.$el.removeClass("panel-resizable"),_e}enableSwipe(){const _e=this;return _e.swipeInitialized?_e.swipeable=!0:swipePanel(_e),_e}disableSwipe(){const _e=this;return _e.swipeable=!1,_e}onOpen(_e){_e===void 0&&(_e=!0);const tt=this;tt._openTransitionStarted=!1;const nt=tt.app;tt.opened=!0,nt.panel.allowOpen=!1,tt.$el.trigger("panel:beforeopen"),tt.emit("local::beforeOpen panelBeforeOpen",tt),_e&&tt.setStateClasses("open"),tt.$el.trigger("panel:open"),tt.emit("local::open panelOpen",tt)}onOpened(){const _e=this,tt=_e.app;tt.panel.allowOpen=!0,_e.$el.trigger("panel:opened"),_e.emit("local::opened panelOpened",_e)}onClose(){const _e=this,tt=_e.app;_e.opened=!1,tt.panel.allowOpen=!1,_e.$el.trigger("panel:beforeclose"),_e.emit("local::beforeClose panelBeforeClose",_e),_e.setStateClasses("closing"),_e.$el.trigger("panel:close"),_e.emit("local::close panelClose",_e)}onClosed(){const _e=this,tt=_e.app;if(tt.panel.allowOpen=!0,_e.setStateClasses("after-closing"),_e.$el.removeClass("panel-out"),_e.$backdropEl){const nt=tt.panel.get(".panel-in");(!nt||nt&&!nt.$backdropEl)&&_e.$backdropEl.removeClass("panel-backdrop-in")}_e.$el.trigger("panel:closed"),_e.emit("local::closed panelClosed",_e)}toggle(_e){_e===void 0&&(_e=!0);const tt=this,nt=tt.params.visibleBreakpoint;return tt.app.width>=nt&&typeof nt<"u"&&nt!==null?tt.toggleVisibleBreakpoint():(tt.opened?tt.close(_e):tt.open(_e),tt)}insertToRoot(){const _e=this,tt=getDocument$1(),{$el:nt,$backdropEl:rt,$containerEl:st}=_e,it=nt.parent(),at=nt.parents(tt).length>0;if(!it.is(st)||nt.prevAll(".views, .view").length){const ot=st.children(".panel, .views, .view").eq(0),lt=st.children(".panel-backdrop").eq(0);ot.length?nt.insertBefore(ot):lt?nt.insertBefore(lt):st.prepend(nt),rt&&rt.length&&(!rt.parent().is(st)&&rt.nextAll(".panel").length===0||rt.parent().is(st)&&rt.nextAll(".panel").length===0)&&rt.insertBefore(nt),_e.once("panelClosed",()=>{at?it.append(nt):nt.remove()})}}open(_e){_e===void 0&&(_e=!0);const tt=this,nt=tt.app;if(!nt.panel.allowOpen)return!1;const{effect:rt,$el:st,$backdropEl:it,opened:at,$containerEl:ot}=tt;if(!st||st.hasClass("panel-in"))return tt;if(tt.insertToRoot(),at||st.hasClass("panel-in-breakpoint")||st.hasClass("panel-in"))return!1;const lt=nt.panel.get(".panel-in");lt&<!==tt&<.close(_e),st[_e?"removeClass":"addClass"]("not-animated"),st.addClass("panel-in"),it&&(it.addClass("panel-backdrop-in"),it[_e?"removeClass":"addClass"]("not-animated")),["cover","push","floating"].includes(tt.effect)&&(tt._clientLeft=st[0].clientLeft);const ct=$$1(tt.getViewEl());ot&&ot.hasClass("page")&&ct.add(ot.children(".page-content, .tabs"));const ut=rt==="reveal"?ct:st;function dt(){ut.transitionStart(()=>{tt._openTransitionStarted=!0})}function ft(){ut.transitionEnd(pt=>{$$1(pt.target).is(ut)?st.hasClass("panel-out")?tt.onClosed():tt.onOpened():ft()})}return _e?(it&&it.removeClass("not-animated"),dt(),ft(),st.removeClass("panel-out not-animated").addClass("panel-in"),tt.onOpen()):(it&&it.addClass("not-animated"),st.removeClass("panel-out").addClass("panel-in not-animated"),tt.onOpen(),tt.onOpened(),tt._openTransitionStarted=!0),!0}close(_e){_e===void 0&&(_e=!0);const tt=this,{effect:nt,$el:rt,$backdropEl:st,opened:it,$containerEl:at}=tt;if(!it||rt.hasClass("panel-in-breakpoint")||!rt.hasClass("panel-in"))return tt;rt[_e?"removeClass":"addClass"]("not-animated"),st&&st[_e?"removeClass":"addClass"]("not-animated");const ot=$$1(tt.getViewEl());at&&at.hasClass("page")&&ot.add(at.children(".page-content, .tabs"));const lt=nt==="reveal"?ot:rt;tt._openTransitionStarted||(_e=!1);function ct(){rt.hasClass("panel-out")?tt.onClosed():rt.hasClass("panel-in")&&tt.onOpened(),tt.setStateClasses("after-closing")}return _e?(lt.transitionEnd(()=>{ct()}),rt.removeClass("panel-in").addClass("panel-out"),tt.onClose()):(rt.addClass("not-animated").removeClass("panel-in").addClass("panel-out"),tt.onClose(),tt.onClosed()),tt}init(){const _e=this;typeof _e.params.visibleBreakpoint<"u"&&_e.setVisibleBreakpoint(),typeof _e.params.collapsedBreakpoint<"u"&&_e.setCollapsedBreakpoint(),_e.params.swipe&&_e.enableSwipe(),_e.resizable&&_e.enableResizable()}destroy(){let _e=this;const tt=_e.app,{$containerEl:nt}=_e;if(_e.$el){if(_e.emit("local::beforeDestroy panelBeforeDestroy",_e),_e.$el.trigger("panel:beforedestroy"),_e.visibleBreakpointResizeHandler&&tt.off("resize",_e.visibleBreakpointResizeHandler),_e.collapsedBreakpointResizeHandler&&tt.off("resize",_e.collapsedBreakpointResizeHandler),_e.$el.hasClass("panel-in-breakpoint")||_e.$el.hasClass("panel-in-collapsed")){const rt=$$1(_e.getViewEl());nt&&nt.hasClass("page")&&rt.add(nt.children(".page-content, .tabs")),_e.$el.removeClass("panel-in-breakpoint panel-in-collapsed panel-in"),rt.css({[`margin-${_e.side}`]:""}),_e.emit("local::breakpoint panelBreakpoint",_e),_e.$el.trigger("panel:breakpoint")}_e.$el.trigger("panel:destroy"),_e.emit("local::destroy panelDestroy",_e),_e.el&&(_e.el.f7Panel=null,delete _e.el.f7Panel),deleteProps$1(_e),_e=null}}};const Panel$1={name:"panel",params:{panel:{opened:void 0,side:void 0,effect:void 0,resizable:void 0,backdrop:!0,backdropEl:void 0,visibleBreakpoint:void 0,collapsedBreakpoint:void 0,swipe:!1,swipeNoFollow:!1,swipeOnlyClose:!1,swipeActiveArea:0,swipeThreshold:0,closeByBackdropClick:!0,containerEl:void 0}},static:{Panel:Panel$2},create(){const et=this;extend$5(et,{panel:{allowOpen:!0,create(_e){return new Panel$2(et,_e)},get(_e){if(_e===void 0&&(_e=".panel"),_e instanceof Panel$2)return _e;(_e==="left"||_e==="right")&&(_e=`.panel-${_e}`);const tt=$$1(_e);if(!(tt.length===0||tt.length>1))return tt[0].f7Panel},destroy(_e){_e===void 0&&(_e=".panel");const tt=et.panel.get(_e);if(tt&&tt.destroy)return tt.destroy()},open(_e,tt){_e===void 0&&(_e=".panel"),(_e==="left"||_e==="right")&&(_e=`.panel-${_e}`);let nt=et.panel.get(_e);if(nt&&nt.open)return nt.open(tt);if(!nt)return nt=et.panel.create({el:_e}),nt.open(tt)},close(_e,tt){_e===void 0&&(_e=".panel-in"),(_e==="left"||_e==="right")&&(_e=`.panel-${_e}`);let nt=et.panel.get(_e);if(nt&&nt.open)return nt.close(tt);if(!nt)return nt=et.panel.create({el:_e}),nt.close(tt)},toggle(_e,tt){_e===void 0&&(_e=".panel"),(_e==="left"||_e==="right")&&(_e=`.panel-${_e}`);let nt=et.panel.get(_e);if(nt&&nt.toggle)return nt.toggle(tt);if(!nt)return nt=et.panel.create({el:_e}),nt.toggle(tt)}}})},on:{init(){const et=this;$$1(".panel-init").each(_e=>{const tt=Object.assign({el:_e},$$1(_e).dataset()||{});et.panel.create(tt)})},pageInit(et){const _e=this;et.$el.find(".panel-init").each(tt=>{const nt=Object.assign({el:tt},$$1(tt).dataset()||{});_e.panel.create(nt)})},pageBeforeRemove(et){const _e=this;et.$el.find(".panel-init").each(tt=>{const nt=_e.panel.get(tt);nt&&nt.destroy&&nt.destroy()})}},vnode:{"panel-init":{insert(et){const _e=this,tt=et.elm,nt=Object.assign({el:tt},$$1(tt).dataset()||{});_e.panel.create(nt)},destroy(et){const _e=this,tt=et.elm,nt=_e.panel.get(tt);nt&&nt.destroy&&nt.destroy()}}},clicks:{".panel-open":function(_e,tt){tt===void 0&&(tt={}),this.panel.open(tt.panel,tt.animate)},".panel-close":function(_e,tt){tt===void 0&&(tt={}),this.panel.close(tt.panel,tt.animate)},".panel-toggle":function(_e,tt){tt===void 0&&(tt={}),this.panel.toggle(tt.panel,tt.animate)},".panel-backdrop":function(){const _e=this,tt=$$1(".panel-in:not(.panel-out)");if(!tt.length)return;const nt=tt[0]&&tt[0].f7Panel;tt.trigger("panel:backdrop-click"),nt&&nt.emit("backdropClick",nt),_e.emit("panelBackdropClick",nt||tt[0]),!(nt&&nt.params.closeByBackdropClick===!1)&&_e.params.panel.closeByBackdropClick&&_e.panel.close()}}},CardExpandable={open(et,_e){et===void 0&&(et=".card-expandable"),_e===void 0&&(_e=!0);const tt=this,nt=getDevice$1(),rt=getDocument$1(),st=getSupport$1(),it=$$1(et).eq(0);if(!it||!it.length||it.hasClass("card-opened")||it.hasClass("card-opening")||it.hasClass("card-closing"))return;const at=it.parents(".page").eq(0);if(!at.length||at.find(".card-opened").length)return;let ot;function lt(){ot=!0}if(it.trigger("card:beforeopen",{prevent:lt}),tt.emit("cardBeforeOpen",it[0],lt),ot)return;const ct=Object.assign({animate:_e},tt.params.card,it.dataset()),ut=it.parents(".page-content");let dt;it.attr("data-backdrop-el")&&(dt=$$1(it.attr("data-backdrop-el"))),!dt&&ct.backdrop&&(dt=ut.find(".card-backdrop"),dt.length||(dt=$$1('
        '),ut.append(dt)));let ft,pt;ct.hideNavbarOnOpen&&(ft=at.children(".navbar"),ft.length||at[0].f7Page&&(ft=at[0].f7Page.$navbarEl)),ct.hideToolbarOnOpen&&(pt=at.children(".toolbar"),pt.length||(pt=at.parents(".view").children(".toolbar")),pt.length||(pt=at.parents(".views").children(".toolbar")));const ht=it.css("transform");let vt;ht&&ht.match(/[2-9]/)&&(vt=!0);const gt=it.children(".card-content"),mt=$$1(rt.createElement("div")).addClass("card-expandable-size");it.append(mt);let bt=it[0].offsetWidth,xt=it[0].offsetHeight,yt=at[0].offsetWidth,$t=at[0].offsetHeight,wt=mt[0].offsetWidth||yt,Ct=mt[0].offsetHeight||$t,Et;ft&&!ct.hideStatusbarOnOpen&&Ct===$t&&(Et=parseInt(ft.css("--f7-safe-area-top"),10),Number.isNaN(Et)&&(Et=0)),Et&&(Ct-=Et);let Mt=wt/bt,St=Ct/xt,Rt=it.offset(),Pt=at.offset();Et&&(Pt.top+=Et/2),Rt.left-=Pt.left;let kt,_t;if(vt){const hn=ht.replace(/matrix\(|\)/g,"").split(",").map(mn=>mn.trim());if(hn&&hn.length>1){const mn=parseFloat(hn[0]);kt=Rt.left-bt*(1-mn)/2,_t=Rt.top-Pt.top-xt*(1-mn)/2,tt.rtl&&(kt-=it[0].scrollLeft)}else kt=it[0].offsetLeft,_t=it[0].offsetTop-(ut.length?ut[0].scrollTop:0)}else kt=Rt.left,_t=Rt.top-Pt.top,tt.rtl&&(kt-=it[0].scrollLeft);kt-=(yt-wt)/2,_t-=($t-Ct)/2;let Bt=wt-bt-kt;tt.rtl&&([kt,Bt]=[Bt,kt]);let It=Ct-xt-_t,At=(Bt-kt)/2,Tt=(It-_t)/2;ct.hideNavbarOnOpen&&ft&&ft.length&&(ft.closest(".navbar-hidden").length?it[0].f7KeepNavbarOnClose=!0:(delete it[0].f7KeepNavbarOnClose,tt.navbar.hide(ft,ct.animate,ct.hideStatusbarOnOpen,!0))),ct.hideToolbarOnOpen&&pt&&pt.length&&(pt.closest(".toolbar-hidden").length?it[0].f7KeepToolbarOnClose=!0:(delete it[0].f7KeepToolbarOnClose,tt.toolbar.hide(pt,ct.animate))),dt&&dt.removeClass("card-backdrop-out").addClass("card-backdrop-in"),it.removeClass("card-transitioning"),ct.animate&&it.addClass("card-opening"),it.trigger("card:open"),tt.emit("cardOpen",it[0]);function Dt(){at.addClass("page-with-card-opened"),nt.ios&&ut.length&&(ut.css("height",`${ut[0].offsetHeight+1}px`),setTimeout(()=>{ut.css("height","")})),it.addClass("card-opened"),it.removeClass("card-opening"),it.trigger("card:opened"),tt.emit("cardOpened",it[0],at[0])}gt.css({width:`${wt}px`,height:`${Ct}px`}).transform(`translate3d(${tt.rtl?kt+At:-kt-At}px, 0px, 0) scale(${1/Mt}, ${1/St})`),it.transform(`translate3d(${tt.rtl?-At:At}px, ${Tt}px, 0) scale(${Mt}, ${St})`),ct.animate?it.transitionEnd(()=>{Dt()}):Dt();function Nt(){it.removeClass("card-transitioning"),bt=it[0].offsetWidth,xt=it[0].offsetHeight,yt=at[0].offsetWidth,$t=at[0].offsetHeight,wt=mt[0].offsetWidth||yt,Ct=mt[0].offsetHeight||$t,Et=0,ft&&!ct.hideStatusbarOnOpen&&Ct===$t&&(Et=parseInt(ft.css("--f7-safe-area-top"),10),Number.isNaN(Et)&&(Et=0)),Et&&(Ct-=Et),Mt=wt/bt,St=Ct/xt,it.transform("translate3d(0px, 0px, 0) scale(1)"),Rt=it.offset(),Pt=at.offset(),Et&&(Pt.top+=Et/2),Rt.left-=Pt.left,Rt.top-=Pt.top,kt=Rt.left-(yt-wt)/2,tt.rtl&&(kt-=it[0].scrollLeft),_t=Rt.top-($t-Ct)/2,Bt=wt-bt-kt,It=Ct-xt-_t,tt.rtl&&([kt,Bt]=[Bt,kt]),At=(Bt-kt)/2,Tt=(It-_t)/2,it.transform(`translate3d(${tt.rtl?-At:At}px, ${Tt}px, 0) scale(${Mt}, ${St})`),gt.css({width:`${wt}px`,height:`${Ct}px`}).transform(`translate3d(${tt.rtl?kt+At:-kt-At}px, 0px, 0) scale(${1/Mt}, ${1/St})`)}let Ot,Lt,jt,Ht,Ft,Vt,zt,Ut,qt,Wt,Jt,Qt;function Zt(hn){!$$1(hn.target).closest(it).length||!hn.isTrusted||it.hasClass("card-opened")&&(Qt=it.find(ct.scrollableEl),Qt[0]&&Qt[0]!==gt[0]&&!Qt[0].contains(hn.target)?Ot=0:Ot=Qt.scrollTop(),Lt=!0,Ht=hn.targetTouches[0].pageX,Ft=hn.targetTouches[0].pageY,Ut=void 0,Wt=!1,Jt=!1)}function Gt(hn){if(!(!Lt||!hn.isTrusted)){if(Vt=hn.targetTouches[0].pageX,zt=hn.targetTouches[0].pageY,typeof Ut>"u"&&(Ut=!!(Ut||Math.abs(zt-Ft)>Math.abs(Vt-Ht))),!Jt&&!Wt&&(!Ut&&hn.targetTouches[0].clientX<=50?Jt=!0:Wt=!0),!(Jt||Wt)||Wt&&Ot!==0){Lt=!0,jt=!0;return}jt||it.removeClass("card-transitioning"),jt=!0,qt=Math.max(Wt?(zt-Ft)/150:(Vt-Ht)/(bt/2),0),(qt>0&&Wt||Jt)&&(Wt&&nt.ios&&Qt[0]===gt[0]&&(Qt.css("-webkit-overflow-scrolling","auto"),Qt.scrollTop(0)),hn.preventDefault()),qt>1&&(qt**=.3),qt>(Wt?1.3:1.1)?(Lt=!1,jt=!1,tt.card.close(it)):it.transform(`translate3d(${tt.rtl?-At:At}px, ${Tt}px, 0) scale(${Mt*(1-qt*.2)}, ${St*(1-qt*.2)})`)}}function Kt(hn){!Lt||!jt||!hn.isTrusted||(Lt=!1,jt=!1,nt.ios&&Qt.css("-webkit-overflow-scrolling",""),qt>=.8?tt.card.close(it):it.addClass("card-transitioning").transform(`translate3d(${tt.rtl?-At:At}px, ${Tt}px, 0) scale(${Mt}, ${St})`))}it[0].detachEventHandlers=function(){tt.off("resize",Nt),st.touch&&ct.swipeToClose&&(tt.off("touchstart:passive",Zt),tt.off("touchmove:active",Gt),tt.off("touchend:passive",Kt))},tt.on("resize",Nt),st.touch&&ct.swipeToClose&&(tt.on("touchstart:passive",Zt),tt.on("touchmove:active",Gt),tt.on("touchend:passive",Kt))},close(et,_e){et===void 0&&(et=".card-expandable.card-opened"),_e===void 0&&(_e=!0);const tt=this,nt=getDevice$1(),rt=$$1(et).eq(0);if(!rt||!rt.length||!rt.hasClass("card-opened")||rt.hasClass("card-opening")||rt.hasClass("card-closing"))return;const st=rt.children(".card-content"),it=rt.parents(".page-content"),at=rt.parents(".page").eq(0);if(!at.length)return;const ot=Object.assign({animate:_e},tt.params.card,rt.dataset()),lt=rt.find(ot.scrollableEl);let ct,ut,dt;rt.attr("data-backdrop-el")&&(dt=$$1(rt.attr("data-backdrop-el"))),ot.backdrop&&(dt=rt.parents(".page-content").find(".card-backdrop")),ot.hideNavbarOnOpen&&(ct=at.children(".navbar"),ct.length||at[0].f7Page&&(ct=at[0].f7Page.$navbarEl),ct&&ct.length&&!rt[0].f7KeepNavbarOnClose&&tt.navbar.show(ct,ot.animate,!0)),ot.hideToolbarOnOpen&&(ut=at.children(".toolbar"),ut.length||(ut=at.parents(".view").children(".toolbar")),ut.length||(ut=at.parents(".views").children(".toolbar")),ut&&ut.length&&!rt[0].f7KeepToolbarOnClose&&tt.toolbar.show(ut,ot.animate)),at.removeClass("page-with-card-opened"),nt.ios&&it.length&&(it.css("height",`${it[0].offsetHeight+1}px`),setTimeout(()=>{it.css("height","")})),dt&&dt.length&&dt.removeClass("card-backdrop-in").addClass("card-backdrop-out"),rt.removeClass("card-opened card-transitioning"),ot.animate?rt.addClass("card-closing"):rt.addClass("card-no-transition"),rt.transform(""),rt.trigger("card:close"),tt.emit("cardClose",rt[0],at[0]);const ft=rt.hasClass("card-expandable-animate-width");function pt(){ft||st.css({width:"",height:""}),dt&&dt.length&&dt.removeClass("card-backdrop-in card-backdrop-out"),rt.removeClass("card-closing card-no-transition"),rt.trigger("card:closed"),rt.find(".card-expandable-size").remove(),tt.emit("cardClosed",rt[0],at[0])}ft&&st.css({width:"",height:""}),st.transform("").scrollTop(0,_e?300:0),lt.length&<[0]!==st[0]&<.scrollTop(0,_e?300:0),_e?st.transitionEnd(()=>{pt()}):pt(),rt[0].detachEventHandlers&&(rt[0].detachEventHandlers(),delete rt[0].detachEventHandlers)},toggle(et,_e){et===void 0&&(et=".card-expandable");const tt=this,nt=$$1(et).eq(0);nt.length&&(nt.hasClass("card-opened")?tt.card.close(nt,_e):tt.card.open(nt,_e))}},Card$1={name:"card",params:{card:{hideNavbarOnOpen:!0,hideStatusbarOnOpen:!0,hideToolbarOnOpen:!0,scrollableEl:".card-content",swipeToClose:!0,closeByBackdropClick:!0,backdrop:!0}},create(){bindMethods(this,{card:CardExpandable})},on:{pageBeforeIn(et){const _e=this;if(_e.params.card.hideNavbarOnOpen&&et.navbarEl&&et.$el.find(".card-opened.card-expandable").length&&_e.navbar.hide(et.navbarEl,!0,_e.params.card.hideStatusbarOnOpen,!0),_e.params.card.hideToolbarOnOpen&&et.$el.find(".card-opened.card-expandable").length){let tt=et.$el.children(".toolbar");tt.length||(tt=et.$el.parents(".view").children(".toolbar")),tt.length||(tt=et.$el.parents(".views").children(".toolbar")),tt&&tt.length&&_e.toolbar.hide(tt)}}},clicks:{".card-close":function(_e,tt){this.card.close(tt.card,tt.animate)},".card-open":function(_e,tt){this.card.open(tt.card,tt.animate)},".card-expandable":function(_e,tt,nt){const rt=this;_e.hasClass("card-opened")||_e.hasClass("card-opening")||_e.hasClass("card-closing")||$$1(nt.target).closest(".card-prevent-open, .card-close").length||rt.card.open(_e)},".card-backdrop-in":function(){const _e=this;let tt=!1;_e.params.card.closeByBackdropClick&&(tt=!0);const nt=$$1(".card-opened");nt.length&&(nt.attr("data-close-by-backdrop-click")==="true"?tt=!0:nt.attr("data-close-by-backdrop-click")==="false"&&(tt=!1),tt&&_e.card.close(nt))}}},Chip$1={name:"chip"},FormData$2={store(et,_e){const tt=this,nt=getWindow$1();let rt=et;const st=$$1(et);st.length&&st.is("form")&&st.attr("id")&&(rt=st.attr("id")),tt.form.data[`form-${rt}`]=_e,nt.localStorage[`f7form-${rt}`]=JSON.stringify(_e)},get(et){const _e=this,tt=getWindow$1();let nt=et;const rt=$$1(et);if(rt.length&&rt.is("form")&&rt.attr("id")&&(nt=rt.attr("id")),tt.localStorage[`f7form-${nt}`])return JSON.parse(tt.localStorage[`f7form-${nt}`]);if(_e.form.data[`form-${nt}`])return _e.form.data[`form-${nt}`]},remove(et){const _e=this,tt=getWindow$1();let nt=et;const rt=$$1(et);rt.length&&rt.is("form")&&rt.attr("id")&&(nt=rt.attr("id")),_e.form.data[`form-${nt}`]&&(_e.form.data[`form-${nt}`]="",delete _e.form.data[`form-${nt}`]),tt.localStorage[`f7form-${nt}`]&&(tt.localStorage[`f7form-${nt}`]="",tt.localStorage.removeItem(`f7form-${nt}`))}},FormStorage={init(et){const _e=this,tt=$$1(et),nt=tt.attr("id");if(!nt)return;const rt=_e.form.getFormData(nt);rt&&_e.form.fillFromData(tt,rt);function st(){const it=_e.form.convertToData(tt);it&&(_e.form.storeFormData(nt,it),tt.trigger("form:storedata",it),_e.emit("formStoreData",tt[0],it))}tt.on("change submit",st)},destroy(et){$$1(et).off("change submit")}};function formToData(et){const _e=this,tt=$$1(et).eq(0);if(tt.length===0)return;const nt={},rt=["submit","image","button","file"],st=[];return tt.find("input, select, textarea").each(it=>{const at=$$1(it);if(at.hasClass("ignore-store-data")||at.hasClass("no-store-data"))return;const ot=at.attr("name"),lt=at.attr("type"),ct=it.nodeName.toLowerCase();if(!(rt.indexOf(lt)>=0)&&!(st.indexOf(ot)>=0||!ot))if(ct==="select"&&at.prop("multiple"))st.push(ot),nt[ot]=[],tt.find(`select[name="${ot}"] option`).each(ut=>{ut.selected&&nt[ot].push(ut.value)});else switch(lt){case"checkbox":st.push(ot),nt[ot]=[],tt.find(`input[name="${ot}"]`).each(ut=>{ut.checked&&nt[ot].push(ut.value)});break;case"radio":st.push(ot),tt.find(`input[name="${ot}"]`).each(ut=>{ut.checked&&(nt[ot]=ut.value)});break;default:nt[ot]=at.val();break}}),tt.trigger("form:todata",nt),_e.emit("formToData",tt[0],nt),nt}function formFromData(et,_e){const tt=this,nt=$$1(et).eq(0);if(!nt.length)return;let rt=_e;const st=nt.attr("id");if(!rt&&st&&(rt=tt.form.getFormData(st)),!rt)return;const it=["submit","image","button","file"],at=[];nt.find("input, select, textarea").each(ot=>{const lt=$$1(ot);if(lt.hasClass("ignore-store-data")||lt.hasClass("no-store-data"))return;const ct=lt.attr("name"),ut=lt.attr("type"),dt=ot.nodeName.toLowerCase();if(!(typeof rt[ct]>"u"||rt[ct]===null)&&!(it.indexOf(ut)>=0)&&!(at.indexOf(ct)>=0||!ct)){if(dt==="select"&<.prop("multiple"))at.push(ct),nt.find(`select[name="${ct}"] option`).each(ft=>{const pt=ft;rt[ct].indexOf(ft.value)>=0?pt.selected=!0:pt.selected=!1});else switch(ut){case"checkbox":at.push(ct),nt.find(`input[name="${ct}"]`).each(ft=>{const pt=ft;rt[ct].indexOf(ft.value)>=0?pt.checked=!0:pt.checked=!1});break;case"radio":at.push(ct),nt.find(`input[name="${ct}"]`).each(ft=>{const pt=ft;rt[ct]===ft.value?pt.checked=!0:pt.checked=!1});break;default:lt.val(rt[ct]);break}(dt==="select"||dt==="input"||dt==="textarea")&<.trigger("change","fromdata")}}),nt.trigger("form:fromdata",rt),tt.emit("formFromData",nt[0],rt)}function initAjaxForm(){const et=this,_e=getWindow$1(),tt=getDocument$1();function nt(rt,st){const it=$$1(this);if(rt.type==="change"&&!it.hasClass("form-ajax-submit-onchange")||(rt.type==="submit"&&rt.preventDefault(),rt.type==="change"&&st==="fromdata"))return;const at=(it.attr("method")||"GET").toUpperCase(),ot=it.attr("enctype")||it.prop("enctype");let lt=it.attr("action");if(!lt)return;let ct;at==="POST"?ot==="application/x-www-form-urlencoded"||ot==="application/json"?(ct=et.form.convertToData(it[0]),ot==="application/json"&&(ct=JSON.stringify(ct))):ct=new _e.FormData(it[0]):(ct=serializeObject(et.form.convertToData(it[0])),lt.includes("?")?lt+=`&${ct}`:lt+=`?${ct}`),it.trigger("formajax:beforesend",{data:ct}),et.emit("formAjaxBeforeSend",it[0],ct),fetch(lt,{method:at,headers:{"Content-Type":ot||"application/x-www-form-urlencoded"},...at==="POST"||at==="PUT"?{body:ct}:{}}).then(ut=>{it.trigger("formajax:complete",{data:ct,response:ut}),et.emit("formAjaxComplete",it[0],ct,ut),it.trigger("formajax:success",{data:ct,response:ut}),et.emit("formAjaxSuccess",it[0],ct,ut)}).catch(ut=>{it.trigger("formajax:error",{data:ct,error:ut}),et.emit("formAjaxError",it[0],ct,ut)})}$$1(tt).on("submit change","form.form-ajax-submit, form.form-ajax-submit-onchange",nt)}const Form={name:"form",create(){const et=this;extend$5(et,{form:{data:{},storeFormData:FormData$2.store.bind(et),getFormData:FormData$2.get.bind(et),removeFormData:FormData$2.remove.bind(et),convertToData:formToData.bind(et),fillFromData:formFromData.bind(et),storage:{init:FormStorage.init.bind(et),destroy:FormStorage.destroy.bind(et)}}})},on:{init(){const et=this;initAjaxForm.call(et)},tabBeforeRemove(et){const _e=this;$$1(et).find(".form-store-data").each(tt=>{_e.form.storage.destroy(tt)})},tabMounted(et){const _e=this;$$1(et).find(".form-store-data").each(tt=>{_e.form.storage.init(tt)})},pageBeforeRemove(et){const _e=this;et.$el.find(".form-store-data").each(tt=>{_e.form.storage.destroy(tt)})},pageInit(et){const _e=this;et.$el.find(".form-store-data").each(tt=>{_e.form.storage.init(tt)})}}},Input$1={ignoreTypes:["checkbox","button","submit","range","radio","image"],createTextareaResizableShadow(){const et=getDocument$1(),_e=$$1(et.createElement("textarea"));_e.addClass("textarea-resizable-shadow"),_e.prop({disabled:!0,readonly:!0}),Input$1.textareaResizableShadow=_e},textareaResizableShadow:void 0,resizeTextarea(et){const _e=this,tt=getWindow$1(),nt=$$1(et);Input$1.textareaResizableShadow||Input$1.createTextareaResizableShadow();const rt=Input$1.textareaResizableShadow;if(!nt.length||!nt.hasClass("resizable"))return;Input$1.textareaResizableShadow.parents().length===0&&_e.$el.append(rt);const st=tt.getComputedStyle(nt[0]);"padding-top padding-bottom padding-left padding-right margin-left margin-right margin-top margin-bottom width font-size font-family font-style font-weight line-height font-variant text-transform letter-spacing border box-sizing display".split(" ").forEach(lt=>{let ct=st[lt];"font-size line-height letter-spacing width".split(" ").indexOf(lt)>=0&&(ct=ct.replace(",",".")),rt.css(lt,ct)});const it=nt[0].clientHeight;rt.val("");const at=rt[0].scrollHeight;rt.val(nt.val()),rt.css("height",0);const ot=rt[0].scrollHeight;it!==ot&&(ot>at?nt.css("height",`${ot}px`):otat||ot`),ot.insertAfter(_e)),ot.text(at)),ot.length>0&&(tt.addClass("item-input-with-error-message"),nt.addClass("input-with-error-message")),tt.addClass("item-input-invalid"),nt.addClass("input-invalid"),_e.addClass("input-invalid"),st(),!1}return tt.removeClass("item-input-invalid item-input-with-error-message"),nt.removeClass("input-invalid input-with-error-message"),_e.removeClass("input-invalid"),st(),!0},validateInputs(et){const _e=this;return $$1(et).find("input, textarea, select").map(nt=>_e.input.validate(nt)).indexOf(!1)<0},focus(et){const _e=$$1(et),tt=_e.attr("type");Input$1.ignoreTypes.indexOf(tt)>=0||(_e.parents(".item-input").addClass("item-input-focused"),_e.parents(".input").addClass("input-focused"),_e.addClass("input-focused"))},blur(et){const _e=$$1(et);_e.parents(".item-input").removeClass("item-input-focused"),_e.parents(".input").removeClass("input-focused"),_e.removeClass("input-focused")},checkEmptyState(et){const _e=this;let tt=$$1(et);if(tt.is("input, select, textarea, .item-input [contenteditable]")||(tt=tt.find("input, select, textarea, .item-input [contenteditable]").eq(0)),!tt.length)return;const nt=tt[0].hasAttribute("contenteditable");let rt;nt?tt.find(".text-editor-placeholder").length?rt="":rt=tt.html():rt=tt.val();const st=tt.parents(".item-input"),it=tt.parents(".input");rt&&typeof rt=="string"&&rt.trim()!==""||Array.isArray(rt)&&rt.length>0?(st.addClass("item-input-with-value"),it.addClass("input-with-value"),tt.addClass("input-with-value"),tt.trigger("input:notempty"),_e.emit("inputNotEmpty",tt[0])):(st.removeClass("item-input-with-value"),it.removeClass("input-with-value"),tt.removeClass("input-with-value"),tt.trigger("input:empty"),_e.emit("inputEmpty",tt[0]))},scrollIntoView(et,_e,tt,nt){_e===void 0&&(_e=0);const rt=$$1(et),st=rt.parents(".page-content, .panel, .card-expandable .card-content").eq(0);if(!st.length)return!1;const it=st[0].offsetHeight,at=st[0].scrollTop,ot=parseInt(st.css("padding-top"),10),lt=parseInt(st.css("padding-bottom"),10),ct=st.offset().top-at,ut=rt.offset().top-ct,dt=rt[0].offsetHeight,ft=ut+at-ot,pt=ut+at-it+lt+dt,ht=ft+(pt-ft)/2;return at>ft?(st.scrollTop(tt?ht:ft,_e),!0):at{nt&&nt.activeElement===ct&&et.input.scrollIntoView(ct,et.params.input.scrollIntoViewDuration,et.params.input.scrollIntoViewCentered,et.params.input.scrollIntoViewAlways)}):et.input.scrollIntoView(ct,et.params.input.scrollIntoViewDuration,et.params.input.scrollIntoViewCentered,et.params.input.scrollIntoViewAlways)),et.input.focus(ct)}function st(){const ct=$$1(this),ut=ct[0].nodeName.toLowerCase();et.input.blur(ct),(ct.dataset().validate||ct.attr("validate")!==null||ct.attr("data-validate-on-blur")!==null)&&et.input.validate(ct),ut==="textarea"&&ct.hasClass("resizable")&&Input$1.textareaResizableShadow&&Input$1.textareaResizableShadow.remove()}function it(){const ct=$$1(this),ut=ct.attr("type"),dt=ct[0].nodeName.toLowerCase(),ft=ct[0].hasAttribute("contenteditable");Input$1.ignoreTypes.indexOf(ut)>=0||(et.input.checkEmptyState(ct),!ft&&(ct.attr("data-validate-on-blur")===null&&(ct.dataset().validate||ct.attr("validate")!==null)&&et.input.validate(ct),dt==="textarea"&&ct.hasClass("resizable")&&et.input.resizeTextarea(ct)))}function at(ct){const ut=$$1(this);ut.attr("data-validate-on-blur")===null&&(ut.dataset().validate||ut.attr("validate")!==null)&&(ct.preventDefault(),et.input.validate(ut))}function ot(){const ut=$$1(this).siblings("input, textarea").eq(0),dt=ut.val();ut.val("").trigger("input change").focus().trigger("input:clear",dt),et.emit("inputClear",dt)}function lt(ct){ct.preventDefault()}$$1(nt).on("click",".input-clear-button",ot),$$1(nt).on("mousedown",".input-clear-button",lt),$$1(nt).on("change input","input, textarea, select, .item-input [contenteditable]",it,!0),$$1(nt).on("focus","input, textarea, select, .item-input [contenteditable]",rt,!0),$$1(nt).on("blur","input, textarea, select, .item-input [contenteditable]",st,!0),$$1(nt).on("invalid","input, textarea, select",at,!0)}},Input$2={name:"input",params:{input:{scrollIntoViewOnFocus:void 0,scrollIntoViewCentered:!1,scrollIntoViewDuration:0,scrollIntoViewAlways:!1}},create(){const et=this;typeof et.params.input.scrollIntoViewOnFocus>"u"&&(et.params.input.scrollIntoViewOnFocus=getDevice$1().android),bindMethods(et,{input:Input$1})},on:{init(){this.input.init()},tabMounted(et){const _e=this,tt=$$1(et);tt.find(".item-input, .input").each(nt=>{$$1(nt).find("input, select, textarea, [contenteditable]").each(st=>{const it=$$1(st);Input$1.ignoreTypes.indexOf(it.attr("type"))>=0||_e.input.checkEmptyState(it)})}),tt.find("textarea.resizable").each(nt=>{_e.input.resizeTextarea(nt)})},pageInit(et){const _e=this,tt=et.$el;tt.find(".item-input, .input").each(nt=>{$$1(nt).find("input, select, textarea, [contenteditable]").each(st=>{const it=$$1(st);Input$1.ignoreTypes.indexOf(it.attr("type"))>=0||_e.input.checkEmptyState(it)})}),tt.find("textarea.resizable").each(nt=>{_e.input.resizeTextarea(nt)})},"panelBreakpoint panelCollapsedBreakpoint panelResize panelOpen panelSwipeOpen resize viewMasterDetailBreakpoint":function(_e){const tt=this;_e&&_e.$el?_e.$el.find("textarea.resizable").each(nt=>{tt.input.resizeTextarea(nt)}):$$1("textarea.resizable").each(nt=>{tt.input.resizeTextarea(nt)})}}},Checkbox$1={name:"checkbox"},Radio$1={name:"radio"};let Toggle$2=class extends Framework7Class{constructor(_e,tt){tt===void 0&&(tt={}),super(tt,[_e]);const nt=this,rt=getSupport$1(),st={};nt.useModulesParams(st),nt.params=extend$5(st,tt);const it=nt.params.el;if(!it)return nt;const at=$$1(it);if(at.length===0)return nt;if(at[0].f7Toggle)return at[0].f7Toggle;const ot=at.children('input[type="checkbox"]');extend$5(nt,{app:_e,$el:at,el:at[0],$inputEl:ot,inputEl:ot[0],disabled:at.hasClass("disabled")||ot.hasClass("disabled")||ot.attr("disabled")||ot[0].disabled}),Object.defineProperty(nt,"checked",{enumerable:!0,configurable:!0,set(xt){!nt||typeof nt.$inputEl>"u"||nt.checked!==xt&&(ot[0].checked=xt,nt.$inputEl.trigger("change"))},get(){return ot[0].checked}}),at[0].f7Toggle=nt;let lt;const ct={};let ut,dt,ft,pt,ht;function vt(xt){lt||nt.disabled||(ct.x=xt.type==="touchstart"?xt.targetTouches[0].pageX:xt.pageX,ct.y=xt.type==="touchstart"?xt.targetTouches[0].pageY:xt.pageY,dt=0,lt=!0,ut=void 0,pt=now$2(),ht=nt.checked,ft=at[0].offsetWidth,nextTick$2(()=>{lt&&at.addClass("toggle-active-state")}))}function gt(xt){if(!lt||nt.disabled)return;const yt=xt.type==="touchmove"?xt.targetTouches[0].pageX:xt.pageX,$t=xt.type==="touchmove"?xt.targetTouches[0].pageY:xt.pageY,wt=_e.rtl?-1:1;if(typeof ut>"u"&&(ut=!!(ut||Math.abs($t-ct.y)>Math.abs(yt-ct.x))),ut){lt=!1;return}xt.preventDefault(),dt=yt-ct.x;let Ct;dt*wt<0&&Math.abs(dt)>ft/3&&ht&&(Ct=!0),dt*wt>0&&Math.abs(dt)>ft/3&&!ht&&(Ct=!0),Ct&&(ct.x=yt,nt.checked=!ht,ht=!ht)}function mt(){if(!lt||nt.disabled){ut&&at.removeClass("toggle-active-state"),lt=!1;return}const xt=_e.rtl?-1:1;lt=!1,at.removeClass("toggle-active-state");let yt;now$2()-pt<300&&(dt*xt<0&&ht&&(yt=!0),dt*xt>0&&!ht&&(yt=!0),yt&&(nt.checked=!ht))}function bt(){nt.$el.trigger("toggle:change"),nt.emit("local::change toggleChange",nt)}nt.attachEvents=function(){const yt=rt.passiveListener?{passive:!0}:!1;at.on(_e.touchEvents.start,vt,yt),_e.on("touchmove",gt),_e.on("touchend:passive",mt),nt.$inputEl.on("change",bt)},nt.detachEvents=function(){const yt=rt.passiveListener?{passive:!0}:!1;at.off(_e.touchEvents.start,vt,yt),_e.off("touchmove",gt),_e.off("touchend:passive",mt),nt.$inputEl.off("change",bt)},nt.useModules(),nt.init()}toggle(){const _e=this;_e.checked=!_e.checked}init(){this.attachEvents()}destroy(){let _e=this;_e.$el.trigger("toggle:beforedestroy"),_e.emit("local::beforeDestroy toggleBeforeDestroy",_e),delete _e.$el[0].f7Toggle,_e.detachEvents(),deleteProps$1(_e),_e=null}};const Toggle$1={name:"toggle",create(){const et=this;et.toggle=ConstructorMethods({defaultSelector:".toggle",constructor:Toggle$2,app:et,domProp:"f7Toggle"})},static:{Toggle:Toggle$2},on:{tabMounted(et){const _e=this;$$1(et).find(".toggle-init").each(tt=>_e.toggle.create({el:tt}))},tabBeforeRemove(et){$$1(et).find(".toggle-init").each(_e=>{_e.f7Toggle&&_e.f7Toggle.destroy()})},pageInit(et){const _e=this;et.$el.find(".toggle-init").each(tt=>_e.toggle.create({el:tt}))},pageBeforeRemove(et){et.$el.find(".toggle-init").each(_e=>{_e.f7Toggle&&_e.f7Toggle.destroy()})}},vnode:{"toggle-init":{insert(et){const _e=this,tt=et.elm;_e.toggle.create({el:tt})},destroy(et){const _e=et.elm;_e.f7Toggle&&_e.f7Toggle.destroy()}}}};let Range$2=class extends Framework7Class{constructor(_e,tt){super(tt,[_e]);const nt=this,rt=getSupport$1(),st={el:null,inputEl:null,dual:!1,step:1,label:!1,min:0,max:100,value:0,draggableBar:!0,vertical:!1,verticalReversed:!1,formatLabel:null,scale:!1,scaleSteps:5,scaleSubSteps:0,formatScaleLabel:null,limitKnobPosition:_e.theme==="ios"};nt.useModulesParams(st),nt.params=extend$5(st,tt);const it=nt.params.el;if(!it)return nt;const at=$$1(it);if(at.length===0)return nt;if(at[0].f7Range)return at[0].f7Range;const ot=at.dataset();"step min max value scaleSteps scaleSubSteps".split(" ").forEach(qt=>{typeof tt[qt]>"u"&&typeof ot[qt]<"u"&&(nt.params[qt]=parseFloat(ot[qt]))}),"dual label vertical verticalReversed scale".split(" ").forEach(qt=>{typeof tt[qt]>"u"&&typeof ot[qt]<"u"&&(nt.params[qt]=ot[qt])}),nt.params.value||(typeof ot.value<"u"&&(nt.params.value=ot.value),typeof ot.valueLeft<"u"&&typeof ot.valueRight<"u"&&(nt.params.value=[parseFloat(ot.valueLeft),parseFloat(ot.valueRight)]));let lt;nt.params.dual||(nt.params.inputEl?lt=$$1(nt.params.inputEl):at.find('input[type="range"]').length&&(lt=at.find('input[type="range"]').eq(0)));const{dual:ct,step:ut,label:dt,min:ft,max:pt,value:ht,vertical:vt,verticalReversed:gt,scale:mt,scaleSteps:bt,scaleSubSteps:xt,limitKnobPosition:yt}=nt.params;extend$5(nt,{app:_e,$el:at,el:at[0],$inputEl:lt,inputEl:lt?lt[0]:void 0,dual:ct,step:ut,label:dt,min:ft,max:pt,value:ht,previousValue:ht,vertical:vt,verticalReversed:gt,scale:mt,scaleSteps:bt,scaleSubSteps:xt,limitKnobPosition:yt}),lt&&("step min max".split(" ").forEach(qt=>{!tt[qt]&<.attr(qt)&&(nt.params[qt]=parseFloat(lt.attr(qt)),nt[qt]=parseFloat(lt.attr(qt)))}),typeof lt.val()<"u"&&(nt.params.value=parseFloat(lt.val()),nt.value=parseFloat(lt.val()))),nt.dual&&at.addClass("range-slider-dual"),nt.label&&at.addClass("range-slider-label"),nt.vertical?(at.addClass("range-slider-vertical"),nt.verticalReversed&&at.addClass("range-slider-vertical-reversed")):at.addClass("range-slider-horizontal");const $t=$$1('
        '),wt=$$1('
        ');$t.append(wt);const Ct=` +
        +
        + ${nt.label?'
        ':""} +
        + `,Et=[$$1(Ct)];nt.dual&&Et.push($$1(Ct)),at.append($t),Et.forEach(qt=>{at.append(qt)});const Mt=[];nt.label&&(Mt.push(Et[0].find(".range-knob-label")),nt.dual&&Mt.push(Et[1].find(".range-knob-label")));let St;nt.scale&&nt.scaleSteps>=1&&(St=$$1(` +
        + ${nt.renderScale()} +
        + `),at.append(St)),extend$5(nt,{knobs:Et,labels:Mt,$barEl:$t,$barActiveEl:wt,$scaleEl:St}),at[0].f7Range=nt;let Rt;const Pt={};let kt,_t,Bt,It,At,Tt,Dt,Nt;function Ot(){Dt=!0}function Lt(qt){if(Rt||!nt.params.draggableBar&&$$1(qt.target).closest(".range-knob").length===0)return;Dt=!1,Pt.x=qt.type==="touchstart"?qt.targetTouches[0].pageX:qt.pageX,Pt.y=qt.type==="touchstart"?qt.targetTouches[0].pageY:qt.pageY,qt.type==="touchstart"&&(Nt=qt.targetTouches[0].identifier),Rt=!0,kt=void 0,_t=at.offset(),Bt=_t.left,It=_t.top;let Wt;nt.vertical?(Wt=(Pt.y-It)/nt.rangeHeight,nt.verticalReversed||(Wt=1-Wt)):nt.app.rtl?Wt=(Bt+nt.rangeWidth-Pt.x)/nt.rangeWidth:Wt=(Pt.x-Bt)/nt.rangeWidth;let Jt=Wt*(nt.max-nt.min)+nt.min;nt.dual?Math.abs(nt.value[0]-Jt){Rt&&At.addClass("range-knob-active-state")},70),nt.on("change",Ot),nt.setValue(Jt,!0)}function jt(qt){if(!Rt)return;let Wt,Jt;if(qt.type==="touchmove")for(let Gt=0;Gt"u"&&typeof Jt>"u")return;if(typeof kt>"u"&&!nt.vertical&&(kt=!!(kt||Math.abs(Jt-Pt.y)>Math.abs(Wt-Pt.x))),kt){Rt=!1;return}qt.preventDefault();let Qt;nt.vertical?(Qt=(Jt-It)/nt.rangeHeight,nt.verticalReversed||(Qt=1-Qt)):nt.app.rtl?Qt=(Bt+nt.rangeWidth-Wt)/nt.rangeWidth:Qt=(Wt-Bt)/nt.rangeWidth;let Zt=Qt*(nt.max-nt.min)+nt.min;if(nt.dual){let Gt,Kt;Tt===0?(Gt=Zt,Kt=nt.value[1],Gt>Kt&&(Kt=Gt)):(Gt=nt.value[0],Kt=Zt,Kt{let wt=mt*xt[$t];if(vt){const Ct=mt*xt[$t]-gt/2;Ct<0&&(wt=gt/2),Ct+gt>mt&&(wt=mt-gt/2)}yt.css(bt,`${wt}px`),dt&&ft[$t].text(_e.formatLabel(ut[$t],ft[$t][0]))})}else{const xt=(ut-at)/(ot-at);ct.css(pt?"height":"width",`${xt*100}%`);let yt=mt*xt;if(vt){const $t=mt*xt-gt/2;$t<0&&(yt=gt/2),$t+gt>mt&&(yt=mt-gt/2)}lt[0].css(bt,`${yt}px`),dt&&ft[0].text(_e.formatLabel(ut,ft[0][0]))}_e.dual&&ut.indexOf(at)>=0||!_e.dual&&ut===at?_e.$el.addClass("range-slider-min"):_e.$el.removeClass("range-slider-min"),_e.dual&&ut.indexOf(ot)>=0||!_e.dual&&ut===ot?_e.$el.addClass("range-slider-max"):_e.$el.removeClass("range-slider-max")}setValue(_e,tt){const nt=this,{step:rt,min:st,max:it}=nt;let at,ot;if(nt.dual){ot=[nt.value[0],nt.value[1]];let lt=_e;if(Array.isArray(lt)||(lt=[_e,_e]),_e[0]>_e[1]&&(lt=[lt[0],lt[0]]),lt=lt.map(ct=>Math.max(Math.min(Math.round(ct/rt)*rt,it),st)),lt[0]===nt.value[0]&<[1]===nt.value[1])return nt;lt.forEach((ct,ut)=>{nt.value[ut]=ct}),at=ot[0]!==lt[0]||ot[1]!==lt[1],nt.layout()}else{ot=nt.value;const lt=Math.max(Math.min(Math.round(_e/rt)*rt,it),st);nt.value=lt,nt.layout(),at=ot!==lt}return at&&(nt.previousValue=ot),at&&(nt.$el.trigger("range:change",nt.value),nt.$inputEl&&!nt.dual&&(nt.$inputEl.val(nt.value),tt?nt.$inputEl.trigger("input"):nt.$inputEl.trigger("input change")),tt||(nt.$el.trigger("range:changed",nt.value),nt.emit("local::changed rangeChanged",nt,nt.value)),nt.emit("local::change rangeChange",nt,nt.value)),nt}getValue(){return this.value}formatLabel(_e,tt){const nt=this;return nt.params.formatLabel?nt.params.formatLabel.call(nt,_e,tt):_e}formatScaleLabel(_e){const tt=this;return tt.params.formatScaleLabel?tt.params.formatScaleLabel.call(tt,_e):_e}renderScale(){const _e=this,{app:tt,verticalReversed:nt,vertical:rt}=_e,st=rt?nt?"top":"bottom":tt.rtl?"right":"left";let it="";return Array.from({length:_e.scaleSteps+1}).forEach((at,ot)=>{const lt=(_e.max-_e.min)/_e.scaleSteps,ct=_e.min+lt*ot,ut=(ct-_e.min)/(_e.max-_e.min);it+=`
        ${_e.formatScaleLabel(ct)}
        `,_e.scaleSubSteps&&_e.scaleSubSteps>1&&ot<_e.scaleSteps&&Array.from({length:_e.scaleSubSteps-1}).forEach((dt,ft)=>{const pt=lt/_e.scaleSubSteps,vt=(ct+pt*(ft+1)-_e.min)/(_e.max-_e.min);it+=`
        `})}),it}updateScale(){const _e=this;if(!_e.scale||_e.scaleSteps<1){_e.$scaleEl&&_e.$scaleEl.remove(),delete _e.$scaleEl;return}_e.$scaleEl||(_e.$scaleEl=$$1('
        '),_e.$el.append(_e.$scaleEl)),_e.$scaleEl.html(_e.renderScale())}init(){const _e=this;return _e.calcSize(),_e.layout(),_e.attachEvents(),_e}destroy(){let _e=this;_e.$el.trigger("range:beforedestroy"),_e.emit("local::beforeDestroy rangeBeforeDestroy",_e),delete _e.$el[0].f7Range,_e.detachEvents(),deleteProps$1(_e),_e=null}};const Range$1={name:"range",create(){const et=this;et.range=extend$5(ConstructorMethods({defaultSelector:".range-slider",constructor:Range$2,app:et,domProp:"f7Range"}),{getValue(_e){_e===void 0&&(_e=".range-slider");const tt=et.range.get(_e);if(tt)return tt.getValue()},setValue(_e,tt){_e===void 0&&(_e=".range-slider");const nt=et.range.get(_e);if(nt)return nt.setValue(tt)}})},static:{Range:Range$2},on:{tabMounted(et){const _e=this;$$1(et).find(".range-slider-init").each(tt=>new Range$2(_e,{el:tt}))},tabBeforeRemove(et){$$1(et).find(".range-slider-init").each(_e=>{_e.f7Range&&_e.f7Range.destroy()})},pageInit(et){const _e=this;et.$el.find(".range-slider-init").each(tt=>new Range$2(_e,{el:tt}))},pageBeforeRemove(et){et.$el.find(".range-slider-init").each(_e=>{_e.f7Range&&_e.f7Range.destroy()})}},vnode:{"range-slider-init":{insert(et){const _e=et.elm;this.range.create({el:_e})},destroy(et){const _e=et.elm;_e.f7Range&&_e.f7Range.destroy()}}}};let Stepper$2=class extends Framework7Class{constructor(_e,tt){super(tt,[_e]);const nt=this,rt={el:null,inputEl:null,valueEl:null,value:0,formatValue:null,step:1,min:0,max:100,watchInput:!0,autorepeat:!1,autorepeatDynamic:!1,wraps:!1,manualInputMode:!1,decimalPoint:4,buttonsEndInputMode:!0};nt.useModulesParams(rt),nt.params=extend$5(rt,tt),nt.params.valuent.params.max&&(nt.params.value=nt.params.max);const st=nt.params.el;if(!st)return nt;const it=$$1(st);if(it.length===0)return nt;if(it[0].f7Stepper)return it[0].f7Stepper;let at;if(nt.params.inputEl?at=$$1(nt.params.inputEl):it.find(".stepper-input-wrap").find("input, textarea").length&&(at=it.find(".stepper-input-wrap").find("input, textarea").eq(0)),at&&at.length){"step min max".split(" ").forEach(Nt=>{!tt[Nt]&&at.attr(Nt)&&(nt.params[Nt]=parseFloat(at.attr(Nt)))});const Tt=parseInt(nt.params.decimalPoint,10);Number.isNaN(Tt)?nt.params.decimalPoint=0:nt.params.decimalPoint=Tt;const Dt=parseFloat(at.val());typeof tt.value>"u"&&!Number.isNaN(Dt)&&(Dt||Dt===0)&&(nt.params.value=Dt)}let ot;nt.params.valueEl?ot=$$1(nt.params.valueEl):it.find(".stepper-value").length&&(ot=it.find(".stepper-value").eq(0));const lt=it.find(".stepper-button-plus"),ct=it.find(".stepper-button-minus"),{step:ut,min:dt,max:ft,value:pt,decimalPoint:ht}=nt.params;extend$5(nt,{app:_e,$el:it,el:it[0],$buttonPlusEl:lt,buttonPlusEl:lt[0],$buttonMinusEl:ct,buttonMinusEl:ct[0],$inputEl:at,inputEl:at?at[0]:void 0,$valueEl:ot,valueEl:ot?ot[0]:void 0,step:ut,min:dt,max:ft,value:pt,decimalPoint:ht,typeModeChanged:!1}),it[0].f7Stepper=nt;const vt={};let gt,mt,bt,xt,yt,$t=null,wt=!1,Ct=!1;function Et(Tt,Dt,Nt,Ot,Lt,jt){clearTimeout(yt),yt=setTimeout(()=>{Tt===1&&(bt=!0,wt=!0),clearInterval(xt),jt(),xt=setInterval(()=>{jt()},Lt),Tt{nt[$t]()})}function St(Tt){if(!gt||Ct)return;const Dt=Tt.type==="touchmove"?Tt.targetTouches[0].pageX:Tt.pageX,Nt=Tt.type==="touchmove"?Tt.targetTouches[0].pageY:Tt.pageY;typeof mt>"u"&&!wt&&(mt=!!(mt||Math.abs(Nt-vt.y)>Math.abs(Dt-vt.x)));const Ot=((Dt-vt.x)**2+(Nt-vt.y)**2)**.5;(mt||Ot>20)&&(gt=!1,clearTimeout(yt),clearInterval(xt))}function Rt(){clearTimeout(yt),clearInterval(xt),$t=null,wt=!1,gt=!1}function Pt(){if(Ct){nt.params.buttonsEndInputMode&&(Ct=!1,nt.endTypeMode(!0));return}if(bt){bt=!1;return}nt.decrement(!0)}function kt(){if(Ct){nt.params.buttonsEndInputMode&&(Ct=!1,nt.endTypeMode(!0));return}if(bt){bt=!1;return}nt.increment(!0)}function _t(Tt){!Tt.target.readOnly&&nt.params.manualInputMode&&(Ct=!0,typeof Tt.target.selectionStart=="number"&&(Tt.target.selectionStart=Tt.target.value.length,Tt.target.selectionEnd=Tt.target.value.length))}function Bt(Tt){(Tt.keyCode===13||Tt.which===13)&&(Tt.preventDefault(),Ct=!1,nt.endTypeMode())}function It(){Ct=!1,nt.endTypeMode(!0)}function At(Tt){if(Ct){nt.typeValue(Tt.target.value);return}Tt.detail&&Tt.detail.sentByF7Stepper||nt.setValue(Tt.target.value,!0)}return nt.attachEvents=function(){ct.on("click",Pt),lt.on("click",kt),nt.params.watchInput&&at&&at.length&&(at.on("input",At),at.on("click",_t),at.on("blur",It),at.on("keyup",Bt)),nt.params.autorepeat&&(_e.on("touchstart:passive",Mt),_e.on("touchmove:active",St),_e.on("touchend:passive",Rt))},nt.detachEvents=function(){ct.off("click",Pt),lt.off("click",kt),nt.params.watchInput&&at&&at.length&&(at.off("input",At),at.off("click",_t),at.off("blur",It),at.off("keyup",Bt))},nt.useModules(),nt.init(),nt}minus(){return this.decrement()}plus(){return this.increment()}decrement(){const _e=this;return _e.setValue(_e.value-_e.step,!1,!0)}increment(){const _e=this;return _e.setValue(_e.value+_e.step,!1,!0)}setValue(_e,tt,nt){const rt=this,{step:st,min:it,max:at}=rt,ot=rt.value;let lt=Math.round(_e/st)*st;if(rt.params.wraps&&nt?(lt>at&&(lt=it),lt{const nt=$$1(tt).dataset();_e.stepper.create(extend$5({el:tt},nt||{}))})},tabBeforeRemove(et){$$1(et).find(".stepper-init").each(_e=>{_e.f7Stepper&&_e.f7Stepper.destroy()})},pageInit(et){const _e=this;et.$el.find(".stepper-init").each(tt=>{const nt=$$1(tt).dataset();_e.stepper.create(extend$5({el:tt},nt||{}))})},pageBeforeRemove(et){et.$el.find(".stepper-init").each(_e=>{_e.f7Stepper&&_e.f7Stepper.destroy()})}},vnode:{"stepper-init":{insert(et){const _e=this,tt=et.elm,nt=$$1(tt).dataset();_e.stepper.create(extend$5({el:tt},nt||{}))},destroy(et){const _e=et.elm;_e.f7Stepper&&_e.f7Stepper.destroy()}}}},defaultDiacriticsRemovalap=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"OE",letters:"ŒŒ"},{base:"oe",letters:"œœ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],diacriticsMap={};for(let et=0;etdiacriticsMap[_e]||_e)}let SmartSelect$1=class extends Framework7Class{constructor(_e,tt){tt===void 0&&(tt={}),super(tt,[_e]);const nt=this,rt=extend$5({on:{}},_e.params.smartSelect);nt.useModulesParams(rt),nt.params=extend$5({},rt,tt),nt.app=_e;const st=$$1(nt.params.el).eq(0);if(st.length===0)return nt;if(st[0].f7SmartSelect)return st[0].f7SmartSelect;const it=st.find("select").eq(0);if(it.length===0)return nt;let at;nt.params.setValueText&&(at=$$1(nt.params.valueEl),at.length===0&&(at=st.find(".item-after")),at.length===0&&(at=$$1('
        '),at.insertAfter(st.find(".item-title"))));let ot=tt.url;ot||(st.attr("href")&&st.attr("href")!=="#"?ot=st.attr("href"):it.attr("name")&&(ot=`${it.attr("name").toLowerCase()}-select/`)),ot||(ot=nt.params.url);const lt=it[0].multiple,ct=lt?"checkbox":"radio",ut=id();extend$5(nt,{$el:st,el:st[0],$selectEl:it,selectEl:it[0],$valueEl:at,valueEl:at&&at[0],url:ot,multiple:lt,inputType:ct,id:ut,inputName:`${ct}-${ut}`,selectName:it.attr("name"),maxLength:it.attr("maxlength")||tt.maxLength}),st[0].f7SmartSelect=nt;function dt(){nt.open()}function ft(){const ht=nt.$selectEl.val();nt.$el.trigger("smartselect:change",ht),nt.emit("local::change smartSelectChange",nt,ht),nt.vl&&nt.vl.clearCache(),nt.setValueText()}nt.attachEvents=function(){st.on("click",dt),st.on("change","select",ft)},nt.detachEvents=function(){st.off("click",dt),st.off("change","select",ft)};function pt(){let ht,vt;const gt=this,mt=gt.value;let bt=[],xt;if(gt.type==="checkbox"){for(let yt=0;ytyt.value===mt)[0]),xt=ht.dataset?ht.dataset.displayAs:$$1(ht).data("display-as"),vt=xt&&typeof xt<"u"?xt:ht.textContent,bt=[vt],nt.selectEl.value=mt;nt.$selectEl.trigger("change"),nt.params.setValueText&&nt.formatValueTextContent(bt),nt.params.closeOnSelect&&nt.inputType==="radio"&&nt.close()}return nt.attachInputsEvents=function(){nt.$containerEl.on("change",'input[type="checkbox"], input[type="radio"]',pt)},nt.detachInputsEvents=function(){nt.$containerEl.off("change",'input[type="checkbox"], input[type="radio"]',pt)},nt.useModules(),nt.init(),nt}setValue(_e){const tt=this;let nt=_e,rt=[],st,it,at;if(tt.multiple){Array.isArray(nt)||(nt=[nt]);for(let ot=0;ot=0?st.selected=!0:st.selected=!1,st.selected&&(it=st.dataset?st.dataset.displayAs:$$1(st).data("display-value-as"),at=it&&typeof it<"u"?it:st.textContent,rt.push(at.trim()))}else st=tt.$selectEl.find(`option[value="${nt}"]`)[0],st&&(it=st.dataset?st.dataset.displayAs:$$1(st).data("display-as"),at=it&&typeof it<"u"?it:st.textContent,rt=[at]),tt.selectEl.value=nt;return tt.params.setValueText&&tt.formatValueTextContent(rt),tt.$selectEl.trigger("change"),tt}unsetValue(){const _e=this;_e.params.setValueText&&_e.formatValueTextContent([]),_e.$selectEl.find("option").each(tt=>{tt.selected=!1,tt.checked=!1}),_e.$selectEl[0].value=null,_e.$containerEl&&_e.$containerEl.find(`input[name="${_e.inputName}"][type="checkbox"], input[name="${_e.inputName}"][type="radio"]`).prop("checked",!1),_e.$selectEl.trigger("change")}getValue(){return this.$selectEl.val()}get view(){const{params:_e,$el:tt}=this;let nt;if(_e.view&&(nt=_e.view),nt||(nt=tt.parents(".view").length&&tt.parents(".view")[0].f7View),!nt&&_e.openIn==="page")throw Error("Smart Select requires initialized View");return nt}checkMaxLength(){const _e=this,tt=_e.$containerEl;_e.selectEl.selectedOptions.length>=_e.maxLength?tt.find('input[type="checkbox"]').each(nt=>{nt.checked?$$1(nt).parents("li").removeClass("disabled"):$$1(nt).parents("li").addClass("disabled")}):tt.find(".disabled").removeClass("disabled")}formatValueTextContent(_e){const tt=this,nt=tt.formatValueText(_e);nt.includes("<")&&nt.includes(">")?tt.$valueEl.html(nt):tt.$valueEl.text(nt)}formatValueText(_e){const tt=this;let nt;return tt.params.formatValueText?nt=tt.params.formatValueText.call(tt,_e,tt):nt=_e.join(", "),nt}setValueText(_e){const tt=this;let nt=[];typeof _e<"u"?Array.isArray(_e)?nt=_e:nt=[_e]:tt.$selectEl.find("option").each(rt=>{const st=$$1(rt);if(rt.selected){const it=rt.dataset?rt.dataset.displayAs:st.data("display-value-as");it&&typeof it<"u"?nt.push(it):nt.push(rt.textContent.trim())}}),tt.params.setValueText&&tt.formatValueTextContent(nt)}getItemsData(){const _e=this,tt=_e.app.theme,nt=[];let rt;return _e.$selectEl.find("option").each(st=>{const it=$$1(st),at=it.dataset(),ot=at.optionImage||_e.params.optionImage,lt=at.optionIcon||_e.params.optionIcon,ct=tt==="ios"&&(at.optionIconIos||_e.params.optionIconIos),ut=tt==="md"&&(at.optionIconMd||_e.params.optionIconMd),dt=at.inputIconPosition||_e.params.inputIconPosition||"",ft=ot||lt||ct||ut,pt=at.optionColor;let ht=at.optionClass||"";it[0].disabled&&(ht+=" disabled");const vt=it.parent("optgroup")[0],gt=vt&&vt.label;let mt=!1;vt&&vt!==rt&&(mt=!0,rt=vt,nt.push({groupLabel:gt,isLabel:mt})),nt.push({value:it[0].value,text:it[0].textContent.trim(),selected:it[0].selected,groupEl:vt,groupLabel:gt,image:ot,icon:lt,iconIos:ct,iconMd:ut,inputIconPosition:dt,color:pt,className:ht,disabled:it[0].disabled,id:_e.id,hasMedia:ft,checkbox:_e.inputType==="checkbox",radio:_e.inputType==="radio",inputName:_e.inputName,inputType:_e.inputType})}),_e.items=nt,nt}renderSearchbar(){const _e=this;return _e.params.renderSearchbar?_e.params.renderSearchbar.call(_e):$jsx("form",{class:"searchbar"},$jsx("div",{class:"searchbar-inner"},$jsx("div",{class:"searchbar-input-wrap"},$jsx("input",{type:"search",spellcheck:_e.params.searchbarSpellcheck||"false",placeholder:_e.params.searchbarPlaceholder}),$jsx("i",{class:"searchbar-icon"}),$jsx("span",{class:"input-clear-button"})),_e.params.searchbarDisableButton&&$jsx("span",{class:"searchbar-disable-button"},_e.params.searchbarDisableText)))}renderItem(_e,tt){const nt=this;if(nt.params.renderItem)return nt.params.renderItem.call(nt,_e,tt);function rt(at){return at===void 0&&(at=""),at.indexOf(":")>=0?at.split(":")[1]:""}function st(at){if(at===void 0&&(at=""),at.indexOf(":")>=0){let ot=at.split(":")[0];return ot==="f7"&&(ot="f7-icons"),ot==="material"&&(ot="material-icons"),ot}return at}let it;if(_e.isLabel)it=`
      • ${_e.groupLabel}
      • `;else{let at=_e.selected,ot;if(nt.params.virtualList){const ht=nt.getValue();at=nt.multiple?ht.indexOf(_e.value)>=0:ht===_e.value,nt.multiple&&(ot=nt.multiple&&!at&&ht.length===parseInt(nt.maxLength,10))}const{icon:lt,iconIos:ct,iconMd:ut}=_e,dt=lt||ct||ut,ft=rt(lt||ct||ut||""),pt=st(lt||ct||ut||"");it=$jsx("li",{class:`${_e.className||""}${ot?" disabled":""}`},$jsx("label",{class:`item-${_e.inputType} ${_e.inputIconPosition?`item-${_e.inputType}-icon-${_e.inputIconPosition}`:""} item-content`},$jsx("input",{type:_e.inputType,name:_e.inputName,value:_e.value,_checked:at}),$jsx("i",{class:`icon icon-${_e.inputType}`}),_e.hasMedia&&$jsx("div",{class:"item-media"},dt&&$jsx("i",{class:`icon ${pt}`},ft),_e.image&&$jsx("img",{src:_e.image})),$jsx("div",{class:"item-inner"},$jsx("div",{class:`item-title${_e.color?` text-color-${_e.color}`:""}`},_e.text))))}return it}renderItems(){const _e=this;return _e.params.renderItems?_e.params.renderItems.call(_e,_e.items):` + ${_e.items.map((nt,rt)=>`${_e.renderItem(nt,rt)}`).join("")} + `}renderPage(){const _e=this;if(_e.params.renderPage)return _e.params.renderPage.call(_e,_e.items);let tt=_e.params.pageTitle;if(typeof tt>"u"){const rt=_e.$el.find(".item-title");tt=rt.length?rt.text().trim():""}const nt=_e.params.cssClass;return $jsx("div",{class:`page smart-select-page ${nt}`,"data-name":"smart-select-page","data-select-name":_e.selectName},$jsx("div",{class:`navbar ${_e.params.navbarColorTheme?`color-${_e.params.navbarColorTheme}`:""}`},$jsx("div",{class:"navbar-bg"}),$jsx("div",{class:`navbar-inner sliding ${_e.params.navbarColorTheme?`color-${_e.params.navbarColorTheme}`:""}`},$jsx("div",{class:"left"},$jsx("a",{class:"link back"},$jsx("i",{class:"icon icon-back"}),$jsx("span",{class:"if-not-md"},_e.params.pageBackLinkText))),tt&&$jsx("div",{class:"title"},tt),_e.params.searchbar&&$jsx("div",{class:"subnavbar"},_e.renderSearchbar()))),_e.params.searchbar&&$jsx("div",{class:"searchbar-backdrop"}),$jsx("div",{class:"page-content"},$jsx("div",{class:`list list-outline-ios list-strong-ios list-dividers-ios smart-select-list-${_e.id} ${_e.params.virtualList?" virtual-list":""} ${_e.params.formColorTheme?`color-${_e.params.formColorTheme}`:""}`},$jsx("ul",null,!_e.params.virtualList&&_e.renderItems(_e.items)))))}renderPopup(){const _e=this;if(_e.params.renderPopup)return _e.params.renderPopup.call(_e,_e.items);let tt=_e.params.pageTitle;if(typeof tt>"u"){const rt=_e.$el.find(".item-title");tt=rt.length?rt.text().trim():""}const nt=_e.params.cssClass||"";return $jsx("div",{class:`popup smart-select-popup ${nt} ${_e.params.popupTabletFullscreen?"popup-tablet-fullscreen":""}`,"data-select-name":_e.selectName},$jsx("div",{class:"view"},$jsx("div",{class:`page smart-select-page ${_e.params.searchbar?"page-with-subnavbar":""}`,"data-name":"smart-select-page"},$jsx("div",{class:`navbar ${_e.params.navbarColorTheme?`color-${_e.params.navbarColorTheme}`:""}`},$jsx("div",{class:"navbar-bg"}),$jsx("div",{class:"navbar-inner sliding"},tt&&$jsx("div",{class:"title"},tt),$jsx("div",{class:"right"},$jsx("a",{class:"link popup-close","data-popup":`.smart-select-popup[data-select-name='${_e.selectName}']`},_e.params.popupCloseLinkText)),_e.params.searchbar&&$jsx("div",{class:"subnavbar"},_e.renderSearchbar()))),_e.params.searchbar&&$jsx("div",{class:"searchbar-backdrop"}),$jsx("div",{class:"page-content"},$jsx("div",{class:`list list-outline-ios list-strong-ios list-dividers-ios smart-select-list-${_e.id} ${_e.params.virtualList?" virtual-list":""} ${_e.params.formColorTheme?`color-${_e.params.formColorTheme}`:""}`},$jsx("ul",null,!_e.params.virtualList&&_e.renderItems(_e.items)))))))}renderSheet(){const _e=this;if(_e.params.renderSheet)return _e.params.renderSheet.call(_e,_e.items);const tt=_e.params.cssClass;return $jsx("div",{class:`sheet-modal smart-select-sheet ${tt}`,"data-select-name":_e.selectName},$jsx("div",{class:`toolbar toolbar-top ${_e.params.toolbarColorTheme?`color-${_e.params.toolbarColorTheme}`:""}`},$jsx("div",{class:"toolbar-inner"},$jsx("div",{class:"left"}),$jsx("div",{class:"right"},$jsx("a",{class:"link sheet-close"},_e.params.sheetCloseLinkText)))),$jsx("div",{class:"sheet-modal-inner"},$jsx("div",{class:"page-content"},$jsx("div",{class:`list list-strong-ios list-dividers-ios smart-select-list-${_e.id} ${_e.params.virtualList?" virtual-list":""} ${_e.params.formColorTheme?`color-${_e.params.formColorTheme}`:""}`},$jsx("ul",null,!_e.params.virtualList&&_e.renderItems(_e.items))))))}renderPopover(){const _e=this;if(_e.params.renderPopover)return _e.params.renderPopover.call(_e,_e.items);const tt=_e.params.cssClass;return $jsx("div",{class:`popover smart-select-popover ${tt}`,"data-select-name":_e.selectName},$jsx("div",{class:"popover-inner"},$jsx("div",{class:`list list-strong-ios list-dividers-ios smart-select-list-${_e.id} ${_e.params.virtualList?" virtual-list":""} ${_e.params.formColorTheme?`color-${_e.params.formColorTheme}`:""}`},$jsx("ul",null,!_e.params.virtualList&&_e.renderItems(_e.items)))))}scrollToSelectedItem(){const _e=this,{params:tt,$containerEl:nt}=_e;if(!_e.opened)return _e;if(tt.virtualList){let rt;_e.vl.items.forEach((st,it)=>{typeof rt>"u"&&st.selected&&(rt=it)}),typeof rt<"u"&&_e.vl.scrollToItem(rt)}else{const rt=nt.find("input:checked").parents("li");if(!rt.length)return _e;const st=nt.find(".page-content, .popover-inner");if(!st.length)return _e;st.scrollTop(rt.offset().top-st.offset().top-parseInt(st.css("padding-top"),10))}return _e}onOpen(_e,tt){const nt=this,rt=nt.app,st=$$1(tt);if(nt.$containerEl=st,nt.openedIn=_e,nt.opened=!0,nt.params.virtualList&&(nt.vl=rt.virtualList.create({el:st.find(".virtual-list"),items:nt.items,renderItem:nt.renderItem.bind(nt),height:nt.params.virtualListHeight,searchByItem(it,at){return!!(at.text&&removeDiacritics(at.text).toLowerCase().indexOf(it.trim().toLowerCase())>=0)}})),nt.params.scrollToSelectedItem&&nt.scrollToSelectedItem(),nt.params.searchbar){let it=st.find(".searchbar");if(_e==="page"&&rt.theme==="ios"&&(it=$$1(rt.navbar.getElByPage(st)).find(".searchbar")),nt.params.appendSearchbarNotFound&&(_e==="page"||_e==="popup")){let ot=null;typeof nt.params.appendSearchbarNotFound=="string"?ot=$$1(`
        ${nt.params.appendSearchbarNotFound}
        `):typeof nt.params.appendSearchbarNotFound=="boolean"?ot=$$1('
        Nothing found
        '):ot=nt.params.appendSearchbarNotFound,ot&&st.find(".page-content").append(ot[0])}const at=extend$5({el:it,backdropEl:st.find(".searchbar-backdrop"),searchContainer:`.smart-select-list-${nt.id}`,searchIn:".item-title"},typeof nt.params.searchbar=="object"?nt.params.searchbar:{});nt.searchbar=rt.searchbar.create(at)}nt.maxLength&&nt.checkMaxLength(),nt.params.closeOnSelect&&nt.$containerEl.find(`input[type="radio"][name="${nt.inputName}"]:checked`).parents("label").once("click",()=>{nt.close()}),nt.attachInputsEvents(),nt.$el.trigger("smartselect:open"),nt.emit("local::open smartSelectOpen",nt)}onOpened(){const _e=this;_e.$el.trigger("smartselect:opened"),_e.emit("local::opened smartSelectOpened",_e)}onClose(){const _e=this;_e.destroyed||(_e.vl&&_e.vl.destroy&&(_e.vl.destroy(),_e.vl=null,delete _e.vl),_e.searchbar&&_e.searchbar.destroy&&(_e.searchbar.destroy(),_e.searchbar=null,delete _e.searchbar),_e.detachInputsEvents(),_e.$el.trigger("smartselect:close"),_e.emit("local::close smartSelectClose",_e))}onClosed(){const _e=this;_e.destroyed||(_e.opened=!1,_e.$containerEl=null,delete _e.$containerEl,_e.$el.trigger("smartselect:closed"),_e.emit("local::closed smartSelectClosed",_e))}openPage(){const _e=this;if(_e.opened)return _e;_e.getItemsData();const tt=_e.renderPage(_e.items);return _e.view.router.navigate({url:_e.url,route:{content:tt,path:_e.url,on:{pageBeforeIn(nt,rt){_e.onOpen("page",rt.el)},pageAfterIn(nt,rt){_e.onOpened("page",rt.el)},pageBeforeOut(nt,rt){_e.onClose("page",rt.el)},pageAfterOut(nt,rt){_e.onClosed("page",rt.el)}}}}),_e}openPopup(){const _e=this;if(_e.opened)return _e;_e.getItemsData();const nt={content:_e.renderPopup(_e.items),push:_e.params.popupPush,swipeToClose:_e.params.popupSwipeToClose,closeByBackdropClick:_e.params.closeByBackdropClick,on:{popupOpen(rt){_e.onOpen("popup",rt.el)},popupOpened(rt){_e.onOpened("popup",rt.el)},popupClose(rt){_e.onClose("popup",rt.el)},popupClosed(rt){_e.onClosed("popup",rt.el)}}};return _e.params.routableModals&&_e.view?_e.view.router.navigate({url:_e.url,route:{path:_e.url,popup:nt}}):_e.modal=_e.app.popup.create(nt).open(),_e}openSheet(){const _e=this;if(_e.opened)return _e;_e.getItemsData();const nt={content:_e.renderSheet(_e.items),backdrop:_e.params.sheetBackdrop,scrollToEl:_e.$el,closeByOutsideClick:!0,push:_e.params.sheetPush,swipeToClose:_e.params.sheetSwipeToClose,closeByBackdropClick:_e.params.closeByBackdropClick,on:{sheetOpen(rt){_e.onOpen("sheet",rt.el)},sheetOpened(rt){_e.onOpened("sheet",rt.el)},sheetClose(rt){_e.onClose("sheet",rt.el)},sheetClosed(rt){_e.onClosed("sheet",rt.el)}}};return _e.params.routableModals&&_e.view?_e.view.router.navigate({url:_e.url,route:{path:_e.url,sheet:nt}}):_e.modal=_e.app.sheet.create(nt).open(),_e}openPopover(){const _e=this;if(_e.opened)return _e;_e.getItemsData();const nt={content:_e.renderPopover(_e.items),targetEl:_e.$el,closeByBackdropClick:_e.params.closeByBackdropClick,on:{popoverOpen(rt){_e.onOpen("popover",rt.el)},popoverOpened(rt){_e.onOpened("popover",rt.el)},popoverClose(rt){_e.onClose("popover",rt.el)},popoverClosed(rt){_e.onClosed("popover",rt.el)}}};return _e.params.routableModals&&_e.view?_e.view.router.navigate({url:_e.url,route:{path:_e.url,popover:nt}}):_e.modal=_e.app.popover.create(nt).open(),_e}open(_e){const tt=this;if(tt.opened)return tt;let nt=!1;function rt(){nt=!0}if(tt.$el&&tt.$el.trigger("smartselect:beforeopen",{prevent:rt}),tt.emit("local::beforeOpen smartSelectBeforeOpen",tt,rt),nt)return tt;const st=_e||tt.params.openIn;return tt[`open${st.split("").map((it,at)=>at===0?it.toUpperCase():it).join("")}`](),tt}close(){const _e=this;return _e.opened&&(_e.params.routableModals&&_e.view||_e.openedIn==="page"?_e.view.router.back():(_e.modal.once("modalClosed",()=>{nextTick$2(()=>{_e.destroyed||(_e.modal.destroy(),delete _e.modal)})}),_e.modal.close())),_e}init(){const _e=this;_e.attachEvents(),_e.setValueText()}destroy(){const _e=this;_e.emit("local::beforeDestroy smartSelectBeforeDestroy",_e),_e.$el.trigger("smartselect:beforedestroy"),_e.detachEvents(),delete _e.$el[0].f7SmartSelect,deleteProps$1(_e),_e.destroyed=!0}};const SmartSelect={name:"smartSelect",params:{smartSelect:{el:void 0,valueEl:void 0,setValueText:!0,formatValueText:null,openIn:"page",popupPush:!1,popupSwipeToClose:void 0,sheetPush:!1,sheetSwipeToClose:void 0,sheetBackdrop:!1,pageTitle:void 0,pageBackLinkText:"Back",popupCloseLinkText:"Close",popupTabletFullscreen:!1,closeByBackdropClick:!0,sheetCloseLinkText:"Done",searchbar:!1,searchbarPlaceholder:"Search",searchbarDisableText:"Cancel",searchbarDisableButton:!0,searchbarSpellcheck:!1,closeOnSelect:!1,virtualList:!1,virtualListHeight:void 0,scrollToSelectedItem:!1,formColorTheme:void 0,navbarColorTheme:void 0,routableModals:!1,url:"select/",inputIconPosition:"start",cssClass:"",renderPage:void 0,renderPopup:void 0,renderSheet:void 0,renderPopover:void 0,renderItems:void 0,renderItem:void 0,renderSearchbar:void 0}},static:{SmartSelect:SmartSelect$1},create(){const et=this;et.smartSelect=extend$5(ConstructorMethods({defaultSelector:".smart-select",constructor:SmartSelect$1,app:et,domProp:"f7SmartSelect"}),{open(_e){const tt=et.smartSelect.get(_e);if(tt&&tt.open)return tt.open()},close(_e){const tt=et.smartSelect.get(_e);if(tt&&tt.close)return tt.close()}})},on:{tabMounted(et){const _e=this;$$1(et).find(".smart-select-init").each(tt=>{_e.smartSelect.create(extend$5({el:tt},$$1(tt).dataset()))})},tabBeforeRemove(et){$$1(et).find(".smart-select-init").each(_e=>{_e.f7SmartSelect&&_e.f7SmartSelect.destroy&&_e.f7SmartSelect.destroy()})},pageInit(et){const _e=this;et.$el.find(".smart-select-init").each(tt=>{_e.smartSelect.create(extend$5({el:tt},$$1(tt).dataset()))})},pageBeforeRemove(et){et.$el.find(".smart-select-init").each(_e=>{_e.f7SmartSelect&&_e.f7SmartSelect.destroy&&_e.f7SmartSelect.destroy()})}},clicks:{".smart-select":function(_e,tt){const nt=this;_e[0].f7SmartSelect||nt.smartSelect.create(extend$5({el:_e},tt)).open()}},vnode:{"smart-select-init":{insert(et){const _e=this,tt=et.elm;_e.smartSelect.create(extend$5({el:tt},$$1(tt).dataset()))},destroy(et){const _e=et.elm;_e.f7SmartSelect&&_e.f7SmartSelect.destroy&&_e.f7SmartSelect.destroy()}}}},Grid$1={name:"grid"};let Calendar$1=class extends Framework7Class{constructor(_e,tt){tt===void 0&&(tt={}),super(tt,[_e]);const nt=this;nt.params=extend$5({},_e.params.calendar,tt);let rt;if(nt.params.containerEl&&(rt=$$1(nt.params.containerEl),rt.length===0))return nt;let st;nt.params.inputEl&&(st=$$1(nt.params.inputEl));const it=nt.params.direction==="horizontal";let at=1;it&&(at=_e.rtl?-1:1),extend$5(nt,{app:_e,$containerEl:rt,containerEl:rt&&rt[0],inline:rt&&rt.length>0,$inputEl:st,inputEl:st&&st[0],initialized:!1,opened:!1,url:nt.params.url,isHorizontal:it,inverter:at,animating:!1,allowTouchMove:!0,hasTimePicker:nt.params.timePicker&&!nt.params.rangePicker&&!nt.params.multiple}),nt.dayFormatter=yt=>new Intl.DateTimeFormat(nt.params.locale,{day:"numeric"}).format(yt).replace(/日/,""),nt.monthFormatter=yt=>new Intl.DateTimeFormat(nt.params.locale,{month:"long"}).format(yt),nt.yearFormatter=yt=>new Intl.DateTimeFormat(nt.params.locale,{year:"numeric"}).format(yt),nt.timeSelectorFormatter=yt=>new Intl.DateTimeFormat(nt.params.locale,nt.params.timePickerFormat).format(yt);const ot=nt.timeSelectorFormatter(new Date).toLowerCase();nt.is12HoursFormat=ot.indexOf("pm")>=0||ot.indexOf("am")>=0;let{monthNames:lt,monthNamesShort:ct,dayNames:ut,dayNamesShort:dt}=nt.params;const{monthNamesIntl:ft,monthNamesShortIntl:pt,dayNamesIntl:ht,dayNamesShortIntl:vt}=nt.getIntlNames();lt==="auto"&&(lt=ft),ct==="auto"&&(ct=pt),ut==="auto"&&(ut=ht),dt==="auto"&&(dt=vt),extend$5(nt,{monthNames:lt,monthNamesShort:ct,dayNames:ut,dayNamesShort:dt});function gt(){nt.open()}function mt(yt){yt.preventDefault()}function bt(){nt.setValue([]),nt.opened&&nt.update()}function xt(yt){const $t=$$1(yt.target);nt.destroyed||!nt.params||nt.isPopover()||!nt.opened||nt.closing||$t.closest('[class*="backdrop"]').length||nt.monthPickerPopover||nt.yearPickerPopover||nt.timePickerPopover||(st&&st.length>0?$t[0]!==st[0]&&$t.closest(".sheet-modal, .calendar-modal").length===0&&nt.close():$$1(yt.target).closest(".sheet-modal, .calendar-modal").length===0&&nt.close())}return extend$5(nt,{attachInputEvents(){nt.$inputEl.on("click",gt),nt.$inputEl.on("input:clear",bt),nt.params.inputReadOnly&&(nt.$inputEl.on("focus mousedown",mt),nt.$inputEl[0]&&(nt.$inputEl[0].f7ValidateReadonly=!0))},detachInputEvents(){nt.$inputEl.off("click",gt),nt.$inputEl.off("input:clear",bt),nt.params.inputReadOnly&&(nt.$inputEl.off("focus mousedown",mt),nt.$inputEl[0]&&delete nt.$inputEl[0].f7ValidateReadonly)},attachHtmlEvents(){_e.on("click",xt)},detachHtmlEvents(){_e.off("click",xt)}}),nt.attachCalendarEvents=function(){let $t=!0,wt,Ct,Et,Mt,St,Rt,Pt,kt,_t,Bt,It,At,Tt,Dt;const{$el:Nt,$wrapperEl:Ot}=nt;function Lt(Gt){Ct||wt||!Gt.isTrusted||(wt=!0,Et=Gt.type==="touchstart"?Gt.targetTouches[0].pageX:Gt.pageX,St=Et,Mt=Gt.type==="touchstart"?Gt.targetTouches[0].pageY:Gt.pageY,Rt=Mt,Pt=new Date().getTime(),At=0,$t=!0,Dt=void 0,_t=nt.monthsTranslate)}function jt(Gt){if(!wt||!Gt.isTrusted)return;const{isHorizontal:Kt}=nt;if(St=Gt.type==="touchmove"?Gt.targetTouches[0].pageX:Gt.pageX,Rt=Gt.type==="touchmove"?Gt.targetTouches[0].pageY:Gt.pageY,typeof Dt>"u"&&(Dt=!!(Dt||Math.abs(Rt-Mt)>Math.abs(St-Et))),Kt&&Dt||!nt.allowTouchMove){wt=!1;return}if(Gt.preventDefault(),nt.animating){wt=!1;return}$t=!1,Ct||(Ct=!0,Bt=Ot[0].offsetWidth,It=Ot[0].offsetHeight,Ot.transition(0)),Tt=Kt?St-Et:Rt-Mt,At=Tt/(Kt?Bt:It),_t=(nt.monthsTranslate*nt.inverter+At)*100,Ot.transform(`translate3d(${Kt?_t:0}%, ${Kt?0:_t}%, 0)`)}function Ht(Gt){if(!wt||!Ct||!Gt.isTrusted){wt=!1,Ct=!1;return}wt=!1,Ct=!1,kt=new Date().getTime(),kt-Pt<300?Math.abs(Tt)<10?nt.resetMonth():Tt>=10?_e.rtl?nt.nextMonth():nt.prevMonth():_e.rtl?nt.prevMonth():nt.nextMonth():At<=-.5?_e.rtl?nt.prevMonth():nt.nextMonth():At>=.5?_e.rtl?nt.nextMonth():nt.prevMonth():nt.resetMonth(),setTimeout(()=>{$t=!0},100)}function Ft(Gt){if(!$t)return;let Kt=$$1(Gt.target).parents(".calendar-day");if(Kt.length===0&&$$1(Gt.target).hasClass("calendar-day")&&(Kt=$$1(Gt.target)),Kt.length===0||Kt.hasClass("calendar-day-disabled"))return;nt.params.rangePicker||(Kt.hasClass("calendar-day-next")&&nt.nextMonth(),Kt.hasClass("calendar-day-prev")&&nt.prevMonth());const hn=parseInt(Kt.attr("data-year"),10),mn=parseInt(Kt.attr("data-month"),10),Yt=parseInt(Kt.attr("data-day"),10);if(nt.emit("local::dayClick calendarDayClick",nt,Kt[0],hn,mn,Yt),!Kt.hasClass("calendar-day-selected")||nt.params.multiple||nt.params.rangePicker){const xn=new Date(hn,mn,Yt,0,0,0);nt.hasTimePicker&&(nt.value&&nt.value[0]?xn.setHours(nt.value[0].getHours(),nt.value[0].getMinutes()):xn.setHours(new Date().getHours(),new Date().getMinutes())),nt.addValue(xn)}nt.params.closeOnSelect&&(nt.params.rangePicker&&nt.value.length===2||!nt.params.rangePicker)&&nt.close()}function Vt(){nt.nextMonth()}function zt(){nt.prevMonth()}function Ut(){nt.nextYear()}function qt(){nt.prevYear()}function Wt(){nt.openMonthPicker()}function Jt(){nt.openYearPicker()}function Qt(){nt.openTimePicker()}const Zt=_e.touchEvents.start==="touchstart"&&getSupport$1().passiveListener?{passive:!0,capture:!1}:!1;Nt.find(".calendar-prev-month-button").on("click",zt),Nt.find(".calendar-next-month-button").on("click",Vt),Nt.find(".calendar-prev-year-button").on("click",qt),Nt.find(".calendar-next-year-button").on("click",Ut),nt.params.monthPicker&&Nt.find(".current-month-value").on("click",Wt),nt.params.yearPicker&&Nt.find(".current-year-value").on("click",Jt),nt.hasTimePicker&&Nt.find(".calendar-time-selector a").on("click",Qt),Ot.on("click",Ft),nt.params.touchMove&&(Ot.on(_e.touchEvents.start,Lt,Zt),_e.on("touchmove:active",jt),_e.on("touchend:passive",Ht)),nt.detachCalendarEvents=function(){Nt.find(".calendar-prev-month-button").off("click",zt),Nt.find(".calendar-next-month-button").off("click",Vt),Nt.find(".calendar-prev-year-button").off("click",qt),Nt.find(".calendar-next-year-button").off("click",Ut),nt.params.monthPicker&&Nt.find(".current-month-value").off("click",Wt),nt.params.yearPicker&&Nt.find(".current-year-value").off("click",Jt),nt.hasTimePicker&&Nt.find(".calendar-time-selector a").off("click",Qt),Ot.off("click",Ft),nt.params.touchMove&&(Ot.off(_e.touchEvents.start,Lt,Zt),_e.off("touchmove:active",jt),_e.off("touchend:passive",Ht))}},nt.init(),nt}get view(){const{$inputEl:_e,app:tt,params:nt}=this;let rt;return nt.view?rt=nt.view:_e&&(rt=_e.parents(".view").length&&_e.parents(".view")[0].f7View),rt||(rt=tt.views.main),rt}getIntlNames(){const _e=this,tt=_e.params.locale,nt=[],rt=[],st=[],it=[],at=new Intl.DateTimeFormat(tt,{month:"long"}),ot=new Intl.DateTimeFormat(tt,{month:"short"}),lt=new Intl.DateTimeFormat(tt,{weekday:"long"}),ct=new Intl.DateTimeFormat(tt,{weekday:"short"});let ut,dt,ft;for(let ht=0;ht<24;ht+=1){const vt=new Date().setMonth(ht,1),gt=_e.yearFormatter(vt);ut&>!==ut&&(dt&&(ft=!0),dt=!0,ut=gt),ut||(ut=gt),dt&&ut===gt&&!ft&&(nt.push(at.format(vt)),rt.push(ot.format(vt)))}const pt=new Date().getDay();for(let ht=0;ht<7;ht+=1){const vt=new Date().getTime()+(ht-pt)*24*60*60*1e3;st.push(lt.format(vt)),it.push(ct.format(vt))}return{monthNamesIntl:nt,monthNamesShortIntl:rt,dayNamesIntl:st,dayNamesShortIntl:it}}normalizeDate(_e){const tt=this,nt=new Date(_e);return tt.hasTimePicker?new Date(nt.getFullYear(),nt.getMonth(),nt.getDate(),nt.getHours(),nt.getMinutes()):new Date(nt.getFullYear(),nt.getMonth(),nt.getDate())}normalizeValues(_e){const tt=this;let nt=[];return _e&&Array.isArray(_e)&&(nt=_e.map(rt=>tt.normalizeDate(rt))),nt}initInput(){const _e=this;_e.$inputEl&&_e.params.inputReadOnly&&_e.$inputEl.prop("readOnly",!0)}isPopover(){const _e=this,{app:tt,modal:nt,params:rt}=_e,st=getDevice$1();if(rt.openIn==="sheet"||nt&&nt.type!=="popover")return!1;if(!_e.inline&&_e.inputEl){if(rt.openIn==="popover")return!0;if(st.ios)return!!st.ipad;if(tt.width>=768)return!0}return!1}formatDate(_e){const tt=this,nt=new Date(_e),rt=nt.getFullYear(),st=nt.getMonth(),it=st+1,at=nt.getDate(),ot=nt.getDay(),{monthNames:lt,monthNamesShort:ct,dayNames:ut,dayNamesShort:dt}=tt,{dateFormat:ft,locale:pt}=tt.params;function ht(gt){return gt<10?`0${gt}`:gt}if(typeof ft=="string"){const gt={yyyy:rt,yy:String(rt).substring(2),mm:ht(it),m:it,MM:lt[st],M:ct[st],dd:ht(at),d:at,DD:ut[ot],D:dt[ot]};if(tt.params.timePicker){const bt=nt.getHours(),xt=nt.getMinutes(),yt=nt.getSeconds();let $t=bt;bt>12&&($t=bt-12),bt===0&&($t=12);const wt=bt>=12&&bt!==0?"pm":"am";Object.assign(gt,{HH:ht(bt),H:bt,hh:ht($t),h:$t,ss:ht(yt),s:yt,":mm":ht(xt),":m":xt,a:wt,A:wt.toUpperCase()})}const mt=new RegExp(Object.keys(gt).map(bt=>`(${bt})`).join("|"),"g");return ft.replace(mt,bt=>bt in gt?gt[bt]:bt)}return typeof ft=="function"?ft(nt):new Intl.DateTimeFormat(pt,ft).format(nt)}formatValue(){const _e=this,{value:tt}=_e;return _e.params.formatValue?_e.params.formatValue.call(_e,tt):tt.map(nt=>_e.formatDate(nt)).join(_e.params.rangePicker?" - ":", ")}addValue(_e){const tt=this,{multiple:nt,rangePicker:rt,rangePickerMinDays:st,rangePickerMaxDays:it}=tt.params;if(nt){tt.value||(tt.value=[]);let at;for(let ot=0;ot"u"?tt.value.push(_e):tt.value.splice(at,1),tt.updateValue()}else rt?(tt.value||(tt.value=[]),(tt.value.length===2||tt.value.length===0)&&(tt.value=[]),tt.value.length===0||Math.abs(tt.value[0].getTime()-_e.getTime())>=(st-1)*60*60*24*1e3&&(it===0||Math.abs(tt.value[0].getTime()-_e.getTime())<=(it-1)*60*60*24*1e3)?tt.value.push(_e):tt.value=[],tt.value.sort((at,ot)=>at-ot),tt.updateValue()):(tt.value=[_e],tt.updateValue())}setValue(_e){const tt=this,nt=tt.value;if(Array.isArray(nt)&&Array.isArray(_e)&&nt.length===_e.length){let rt=!0;if(nt.forEach((st,it)=>{st!==_e[it]&&(rt=!1)}),rt)return}tt.value=_e,tt.updateValue()}getValue(){return this.value}updateValue(_e){const tt=this,{$el:nt,$wrapperEl:rt,$inputEl:st,value:it,params:at}=tt;let ot;if(nt&&nt.length>0){rt.find(".calendar-day-selected").removeClass("calendar-day-selected calendar-day-selected-range calendar-day-selected-left calendar-day-selected-right");let lt;if(at.rangePicker&&it.length===2){const ct=new Date(it[0]).getTime(),ut=new Date(it[1]).getTime();for(ot=ct;ot<=ut;ot+=24*60*60*1e3){lt=new Date(ot);let dt="calendar-day-selected";ct!==ut&&(ot!==ct&&ot!==ut&&(dt+=" calendar-day-selected-range"),ot===ct&&(dt+=" calendar-day-selected-left"),ot===ut&&(dt+=" calendar-day-selected-right")),rt.find(`.calendar-day[data-date="${lt.getFullYear()}-${lt.getMonth()}-${lt.getDate()}"]`).addClass(dt)}lt=new Date(ct),rt.find(`.calendar-day[data-date="${lt.getFullYear()}-${lt.getMonth()}-${lt.getDate()}"]`).removeClass("calendar-day-selected-range").addClass("calendar-day-selected calendar-day-selected-left"),lt=new Date(ut),rt.find(`.calendar-day[data-date="${lt.getFullYear()}-${lt.getMonth()}-${lt.getDate()}"]`).removeClass("calendar-day-selected-range").addClass("calendar-day-selected calendar-day-selected-right")}else for(ot=0;ot0&&tt.hasTimePicker&&nt.find(".calendar-time-selector a").text(it&&it.length?tt.timeSelectorFormatter(it[0]):tt.params.timePickerPlaceholder),st&&st.length||at.header){const lt=tt.formatValue(it);at.header&&nt&&nt.length&&nt.find(".calendar-selected-date").text(lt),st&&st.length&&!_e&&(st.val(lt),st.trigger("change"))}}updateCurrentMonthYear(_e){const tt=this,{$months:nt,$el:rt,monthNames:st}=tt;let it,at;typeof _e>"u"?(tt.currentMonth=parseInt(nt.eq(1).attr("data-month"),10),tt.currentYear=parseInt(nt.eq(1).attr("data-year"),10),it=nt.eq(1).attr("data-locale-month"),at=nt.eq(1).attr("data-locale-year")):(tt.currentMonth=parseInt(nt.eq(_e==="next"?nt.length-1:0).attr("data-month"),10),tt.currentYear=parseInt(nt.eq(_e==="next"?nt.length-1:0).attr("data-year"),10),it=nt.eq(_e==="next"?nt.length-1:0).attr("data-locale-month"),at=nt.eq(_e==="next"?nt.length-1:0).attr("data-locale-year")),rt.find(".current-month-value").text(st[it]),rt.find(".current-year-value").text(at)}update(){const _e=this,{currentYear:tt,currentMonth:nt,$wrapperEl:rt}=_e,st=new Date(tt,nt),it=_e.renderMonth(st,"prev"),at=_e.renderMonth(st),ot=_e.renderMonth(st,"next");rt.transition(0).html(`${it}${at}${ot}`).transform("translate3d(0,0,0)"),_e.$months=rt.find(".calendar-month"),_e.monthsTranslate=0,_e.setMonthsTranslate(),_e.$months.each(lt=>{_e.emit("local::monthAdd calendarMonthAdd",lt)})}onMonthChangeStart(_e){const tt=this,{$months:nt,currentYear:rt,currentMonth:st}=tt;tt.updateCurrentMonthYear(_e),nt.removeClass("calendar-month-current calendar-month-prev calendar-month-next");const it=_e==="next"?nt.length-1:0;nt.eq(it).addClass("calendar-month-current"),nt.eq(_e==="next"?it-1:it+1).addClass(_e==="next"?"calendar-month-prev":"calendar-month-next"),tt.emit("local::monthYearChangeStart calendarMonthYearChangeStart",tt,rt,st)}onMonthChangeEnd(_e,tt){const nt=this,{currentYear:rt,currentMonth:st,$wrapperEl:it,monthsTranslate:at}=nt;nt.animating=!1;let ot,lt,ct;it.find(".calendar-month:not(.calendar-month-prev):not(.calendar-month-current):not(.calendar-month-next)").remove(),typeof _e>"u"&&(_e="next",tt=!0),tt?(it.find(".calendar-month-next, .calendar-month-prev").remove(),lt=nt.renderMonth(new Date(rt,st),"prev"),ot=nt.renderMonth(new Date(rt,st),"next")):ct=nt.renderMonth(new Date(rt,st),_e),(_e==="next"||tt)&&it.append(ct||ot),(_e==="prev"||tt)&&it.prepend(ct||lt);const ut=it.find(".calendar-month");nt.$months=ut,nt.setMonthsTranslate(at),nt.emit("local::monthAdd calendarMonthAdd",nt,_e==="next"?ut.eq(ut.length-1)[0]:ut.eq(0)[0]),nt.emit("local::monthYearChangeEnd calendarMonthYearChangeEnd",nt,rt,st)}setMonthsTranslate(_e){const tt=this,{$months:nt,isHorizontal:rt,inverter:st}=tt;_e=_e||tt.monthsTranslate||0,typeof tt.monthsTranslate>"u"&&(tt.monthsTranslate=_e),nt.removeClass("calendar-month-current calendar-month-prev calendar-month-next");const it=-(_e+1)*100*st,at=-_e*100*st,ot=-(_e-1)*100*st;nt.eq(0).transform(`translate3d(${rt?it:0}%, ${rt?0:it}%, 0)`).addClass("calendar-month-prev"),nt.eq(1).transform(`translate3d(${rt?at:0}%, ${rt?0:at}%, 0)`).addClass("calendar-month-current"),nt.eq(2).transform(`translate3d(${rt?ot:0}%, ${rt?0:ot}%, 0)`).addClass("calendar-month-next")}nextMonth(_e){const tt=this,{params:nt,$wrapperEl:rt,inverter:st,isHorizontal:it}=tt;(typeof _e>"u"||typeof _e=="object")&&(_e="",nt.animate||(_e=0));const at=parseInt(tt.$months.eq(tt.$months.length-1).attr("data-month"),10),ot=parseInt(tt.$months.eq(tt.$months.length-1).attr("data-year"),10),ct=new Date(ot,at).getTime(),ut=!tt.animating;if(nt.maxDate&&ct>new Date(nt.maxDate).getTime()){tt.resetMonth();return}if(tt.monthsTranslate-=1,at===tt.currentMonth){const ft=-tt.monthsTranslate*100*st,pt=$$1(tt.renderMonth(ct,"next")).transform(`translate3d(${it?ft:0}%, ${it?0:ft}%, 0)`).addClass("calendar-month-next");rt.append(pt[0]),tt.$months=rt.find(".calendar-month"),tt.emit("local::monthAdd calendarMonthAdd",tt.$months.eq(tt.$months.length-1)[0])}tt.animating=!0,tt.onMonthChangeStart("next");const dt=tt.monthsTranslate*100*st;rt.transition(_e).transform(`translate3d(${it?dt:0}%, ${it?0:dt}%, 0)`),ut&&rt.transitionEnd(()=>{tt.onMonthChangeEnd("next")}),nt.animate||tt.onMonthChangeEnd("next")}prevMonth(_e){const tt=this,{params:nt,$wrapperEl:rt,inverter:st,isHorizontal:it}=tt;(typeof _e>"u"||typeof _e=="object")&&(_e="",nt.animate||(_e=0));const at=parseInt(tt.$months.eq(0).attr("data-month"),10),ot=parseInt(tt.$months.eq(0).attr("data-year"),10),ct=new Date(ot,at+1,-1).getTime(),ut=!tt.animating;if(nt.minDate){let ft=new Date(nt.minDate);if(ft=new Date(ft.getFullYear(),ft.getMonth(),1),ct{tt.onMonthChangeEnd("prev")}),nt.animate||tt.onMonthChangeEnd("prev")}resetMonth(_e){_e===void 0&&(_e="");const tt=this,{$wrapperEl:nt,inverter:rt,isHorizontal:st,monthsTranslate:it}=tt,at=it*100*rt;nt.transition(_e).transform(`translate3d(${st?at:0}%, ${st?0:at}%, 0)`)}setYearMonth(_e,tt,nt){const rt=this,{params:st,isHorizontal:it,$wrapperEl:at,inverter:ot}=rt;typeof _e>"u"&&(_e=rt.currentYear),typeof tt>"u"&&(tt=rt.currentMonth),(typeof nt>"u"||typeof nt=="object")&&(nt="",st.animate||(nt=0));let lt;if(_enew Date(st.maxDate).getTime())return!1;if(st.minDate){let gt=new Date(st.minDate);if(gt=new Date(gt.getFullYear(),gt.getMonth(),1),ltct?"next":"prev",dt=rt.renderMonth(new Date(_e,tt));rt.monthsTranslate=rt.monthsTranslate||0;const ft=rt.monthsTranslate;let pt;const ht=!rt.animating&&nt!==0;lt>ct?(rt.monthsTranslate-=1,rt.animating||rt.$months.eq(rt.$months.length-1).remove(),at.append(dt),rt.$months=at.find(".calendar-month"),pt=-(ft-1)*100*ot,rt.$months.eq(rt.$months.length-1).transform(`translate3d(${it?pt:0}%, ${it?0:pt}%, 0)`).addClass("calendar-month-next")):(rt.monthsTranslate+=1,rt.animating||rt.$months.eq(0).remove(),at.prepend(dt),rt.$months=at.find(".calendar-month"),pt=-(ft+1)*100*ot,rt.$months.eq(0).transform(`translate3d(${it?pt:0}%, ${it?0:pt}%, 0)`).addClass("calendar-month-prev")),rt.emit("local::monthAdd calendarMonthAdd",ut==="next"?rt.$months.eq(rt.$months.length-1)[0]:rt.$months.eq(0)[0]),rt.animating=!0,rt.onMonthChangeStart(ut);const vt=rt.monthsTranslate*100*ot;at.transition(nt).transform(`translate3d(${it?vt:0}%, ${it?0:vt}%, 0)`),ht&&at.transitionEnd(()=>{rt.onMonthChangeEnd(ut,!0)}),(!st.animate||nt===0)&&rt.onMonthChangeEnd(ut,!0)}nextYear(){const _e=this;_e.setYearMonth(_e.currentYear+1)}prevYear(){const _e=this;_e.setYearMonth(_e.currentYear-1)}dateInRange(_e,tt){let nt=!1,rt;if(!tt)return!1;if(Array.isArray(tt))for(rt=0;rt=new Date(tt[rt].from).getTime()&&(nt=!0):tt[rt].from?_e>=new Date(tt[rt].from).getTime()&&(nt=!0):tt[rt].to&&_e<=new Date(tt[rt].to).getTime()&&(nt=!0):tt[rt].date?_e===new Date(tt[rt].date).getTime()&&(nt=!0):_e===new Date(tt[rt]).getTime()&&(nt=!0);else tt.from||tt.to?tt.from&&tt.to?_e<=new Date(tt.to).getTime()&&_e>=new Date(tt.from).getTime()&&(nt=!0):tt.from?_e>=new Date(tt.from).getTime()&&(nt=!0):tt.to&&_e<=new Date(tt.to).getTime()&&(nt=!0):tt.date?nt=_e===new Date(tt.date).getTime():typeof tt=="function"&&(nt=tt(new Date(_e)));return nt}daysInMonth(_e){const tt=new Date(_e);return new Date(tt.getFullYear(),tt.getMonth()+1,0).getDate()}renderMonths(_e){const tt=this;return tt.params.renderMonths?tt.params.renderMonths.call(tt,_e):$jsx("div",{class:"calendar-months-wrapper"},tt.renderMonth(_e,"prev"),tt.renderMonth(_e),tt.renderMonth(_e,"next"))}renderMonth(_e,tt){const nt=this,{params:rt,value:st}=nt;if(rt.renderMonth)return rt.renderMonth.call(nt,_e,tt);let it=new Date(_e),at=it.getFullYear(),ot=it.getMonth(),lt=nt.monthNames.indexOf(nt.monthFormatter(it));lt<0&&(lt=ot);let ct=nt.yearFormatter(it);tt==="next"&&(ot===11?it=new Date(at+1,0):it=new Date(at,ot+1,1)),tt==="prev"&&(ot===0?it=new Date(at-1,11):it=new Date(at,ot-1,1)),(tt==="next"||tt==="prev")&&(ot=it.getMonth(),at=it.getFullYear(),lt=nt.monthNames.indexOf(nt.monthFormatter(it)),lt<0&&(lt=ot),ct=nt.yearFormatter(it));const ut=[],dt=new Date().setHours(0,0,0,0),ft=rt.minDate?new Date(rt.minDate).getTime():null,pt=rt.maxDate?new Date(rt.maxDate).getTime():null,ht=6,vt=7,gt=nt.daysInMonth(new Date(it.getFullYear(),it.getMonth()).getTime()-10*24*60*60*1e3),mt=nt.daysInMonth(it),bt=rt.firstDay===6?0:1;let xt="",yt=0+(rt.firstDay-1),$t,wt,Ct=new Date(it.getFullYear(),it.getMonth()).getDay();if(Ct===0&&(Ct=7),st&&st.length)for(let Et=0;Etbt&&rt.firstDay!==1&&(yt-=7,Pt=yt-Ct);const _t=St-1+rt.firstDay>6?St-1-7+rt.firstDay:St-1+rt.firstDay;Pt<0?(Pt=gt+Pt+1,kt+=" calendar-day-prev",Rt=new Date(ot-1<0?at-1:at,ot-1<0?11:ot-1,Pt).getTime()):(Pt+=1,Pt>mt?(Pt-=mt,kt+=" calendar-day-next",Rt=new Date(ot+1>11?at+1:at,ot+1>11?0:ot+1,Pt).getTime()):Rt=new Date(at,ot,Pt).getTime()),Rt===dt&&(kt+=" calendar-day-today"),rt.rangePicker&&ut.length===2?(Rt>=ut[0]&&Rt<=ut[1]&&(kt+=" calendar-day-selected"),ut[0]!==ut[1]&&(Rt>ut[0]&&Rt=0&&(kt+=" calendar-day-selected"),rt.weekendDays.indexOf(_t)>=0&&(kt+=" calendar-day-weekend");let Bt="";if(wt=!1,rt.events&&nt.dateInRange(Rt,rt.events)&&(wt=!0),wt&&(kt+=" calendar-day-has-events",Bt=` + + + + `,Array.isArray(rt.events))){const Dt=[];rt.events.forEach(Nt=>{const Ot=Nt.color||"";Dt.indexOf(Ot)<0&&nt.dateInRange(Rt,Nt)&&Dt.push(Ot)}),Bt=` + + ${Dt.map(Nt=>` + + `.trim()).join("")} + + `}if(rt.rangesClasses)for(let Dt=0;Dtpt)&&($t=!0),rt.disabled&&nt.dateInRange(Rt,rt.disabled)&&($t=!0),$t&&(kt+=" calendar-day-disabled"),Rt=new Date(Rt);const It=Rt.getFullYear(),At=Rt.getMonth(),Tt=nt.dayFormatter(Rt);Mt+=` +
        + ${Tt}${Bt} +
        `.trim()}xt+=`
        ${Mt}
        `}return xt=`
        ${xt}
        `,xt}renderWeekHeader(){const _e=this;if(_e.params.renderWeekHeader)return _e.params.renderWeekHeader.call(_e);const{params:tt}=_e;let nt="";for(let rt=0;rt<7;rt+=1){const st=rt+tt.firstDay>6?rt-7+tt.firstDay:rt+tt.firstDay,it=_e.dayNamesShort[st];nt+=`
        ${it}
        `}return $jsx("div",{class:"calendar-week-header"},nt)}renderMonthSelector(){const _e=this;return _e.params.renderMonthSelector?_e.params.renderMonthSelector.call(_e):$jsx("div",{class:"calendar-month-selector"},$jsx("a",{class:"link icon-only calendar-prev-month-button"},$jsx("i",{class:"icon icon-prev"})),_e.params.monthPicker?$jsx("a",{class:"current-month-value link"}):$jsx("span",{class:"current-month-value"}),$jsx("a",{class:"link icon-only calendar-next-month-button"},$jsx("i",{class:"icon icon-next"})))}renderYearSelector(){const _e=this;return _e.params.renderYearSelector?_e.params.renderYearSelector.call(_e):$jsx("div",{class:"calendar-year-selector"},$jsx("a",{class:"link icon-only calendar-prev-year-button"},$jsx("i",{class:"icon icon-prev"})),_e.params.yearPicker?$jsx("a",{class:"current-year-value link"}):$jsx("span",{class:"current-year-value"}),$jsx("a",{class:"link icon-only calendar-next-year-button"},$jsx("i",{class:"icon icon-next"})))}renderTimeSelector(){const _e=this,tt=_e.value&&_e.value[0];let nt;return tt&&(nt=_e.timeSelectorFormatter(tt)),$jsx("div",{class:"calendar-time-selector"},$jsx("span",null,_e.params.timePickerLabel),$jsx("a",{class:"link"},nt||_e.params.timePickerPlaceholder))}renderHeader(){const _e=this;return _e.params.renderHeader?_e.params.renderHeader.call(_e):$jsx("div",{class:"calendar-header"},$jsx("div",{class:"calendar-selected-date"},_e.params.headerPlaceholder))}renderFooter(){const _e=this,tt=_e.app;return _e.params.renderFooter?_e.params.renderFooter.call(_e):$jsx("div",{class:"calendar-footer"},$jsx("a",{class:`${tt.theme==="md"?"button button-round":"link"} calendar-close sheet-close popover-close`},_e.params.toolbarCloseText))}renderToolbar(){const _e=this;return _e.params.renderToolbar?_e.params.renderToolbar.call(_e,_e):$jsx("div",{class:"toolbar toolbar-top"},$jsx("div",{class:"toolbar-inner"},_e.params.monthSelector?_e.renderMonthSelector():"",_e.params.yearSelector?_e.renderYearSelector():""))}renderInline(){const _e=this,{cssClass:tt,toolbar:nt,header:rt,footer:st,rangePicker:it,weekHeader:at}=_e.params,{value:ot,hasTimePicker:lt}=_e,ct=ot&&ot.length?ot[0]:new Date().setHours(0,0,0);return $jsx("div",{class:`calendar calendar-inline ${it?"calendar-range":""} ${tt||""}`},rt&&_e.renderHeader(),nt&&_e.renderToolbar(),at&&_e.renderWeekHeader(),$jsx("div",{class:"calendar-months"},_e.renderMonths(ct)),lt&&_e.renderTimeSelector(),st&&_e.renderFooter())}renderCustomModal(){const _e=this,{cssClass:tt,toolbar:nt,header:rt,footer:st,rangePicker:it,weekHeader:at}=_e.params,{value:ot,hasTimePicker:lt}=_e,ct=ot&&ot.length?ot[0]:new Date().setHours(0,0,0);return $jsx("div",{class:`calendar calendar-modal ${it?"calendar-range":""} ${tt||""}`},rt&&_e.renderHeader(),nt&&_e.renderToolbar(),at&&_e.renderWeekHeader(),$jsx("div",{class:"calendar-months"},_e.renderMonths(ct)),lt&&_e.renderTimeSelector(),st&&_e.renderFooter())}renderSheet(){const _e=this,{cssClass:tt,toolbar:nt,header:rt,footer:st,rangePicker:it,weekHeader:at}=_e.params,{value:ot,hasTimePicker:lt}=_e,ct=ot&&ot.length?ot[0]:new Date().setHours(0,0,0);return $jsx("div",{class:`sheet-modal calendar calendar-sheet ${it?"calendar-range":""} ${tt||""}`},rt&&_e.renderHeader(),nt&&_e.renderToolbar(),at&&_e.renderWeekHeader(),$jsx("div",{class:"sheet-modal-inner calendar-months"},_e.renderMonths(ct)),lt&&_e.renderTimeSelector(),st&&_e.renderFooter())}renderPopover(){const _e=this,{cssClass:tt,toolbar:nt,header:rt,footer:st,rangePicker:it,weekHeader:at}=_e.params,{value:ot,hasTimePicker:lt}=_e,ct=ot&&ot.length?ot[0]:new Date().setHours(0,0,0);return $jsx("div",{class:"popover calendar-popover"},$jsx("div",{class:"popover-inner"},$jsx("div",{class:`calendar ${it?"calendar-range":""} ${tt||""}`},rt&&_e.renderHeader(),nt&&_e.renderToolbar(),at&&_e.renderWeekHeader(),$jsx("div",{class:"calendar-months"},_e.renderMonths(ct)),lt&&_e.renderTimeSelector(),st&&_e.renderFooter())))}render(){const _e=this,{params:tt}=_e;if(tt.render)return tt.render.call(_e);if(!_e.inline){let nt=tt.openIn;return nt==="auto"&&(nt=_e.isPopover()?"popover":"sheet"),nt==="popover"?_e.renderPopover():nt==="sheet"?_e.renderSheet():_e.renderCustomModal()}return _e.renderInline()}openMonthPicker(){const _e=this,{$el:tt,app:nt}=_e;if(!tt||!tt.length)return;tt.append('
        '),_e.monthPickerPopover=nt.popover.create({el:tt.find(".calendar-month-picker-popover"),targetEl:tt.find(".calendar-month-selector"),backdrop:!0,backdropUnique:!0,on:{close(){_e.closeMonthPicker()},closed(){_e.monthPickerPopover.$el&&_e.monthPickerPopover.$el.remove(),_e.monthPickerPopover.destroy(),_e.monthPickerInstance&&(_e.monthPickerInstance.close(),_e.monthPickerInstance.destroy()),delete _e.monthPickerInstance,delete _e.monthPickerPopover}}}),_e.monthPickerPopover.open();const rt=parseInt(_e.$el.find(".calendar-month-current").attr("data-locale-month"),10),st=[],it=[];_e.monthNames.forEach((at,ot)=>{st.push(ot),it.push(at)}),_e.monthPickerInstance=nt.picker.create({containerEl:_e.monthPickerPopover.$el.find(".calendar-month-picker"),value:[rt],toolbar:_e.params.monthPickerToolbar,rotateEffect:!1,toolbarCloseText:_e.params.monthPickerCloseText,cols:[{values:st,displayValues:it}]})}closeMonthPicker(){const _e=this;_e.monthPickerPopover&&_e.monthPickerPopover.opened&&_e.monthPickerPopover.close();const tt=_e.monthPickerInstance.value[0],nt=parseInt(_e.$el.find(".calendar-month-current").attr("data-locale-month"),10),rt=_e.currentMonth,st=nt-rt,it=tt-st;_e.setYearMonth(_e.currentYear,it,0)}openYearPicker(){const _e=this,{$el:tt,app:nt}=_e;if(!tt||!tt.length)return;tt.append('
        '),_e.yearPickerPopover=nt.popover.create({el:tt.find(".calendar-year-picker-popover"),targetEl:tt.find(".calendar-year-selector"),backdrop:!0,backdropUnique:!0,on:{close(){_e.closeYearPicker()},closed(){_e.yearPickerPopover.$el&&_e.yearPickerPopover.$el.remove(),_e.yearPickerPopover.destroy(),_e.yearPickerInstance&&(_e.yearPickerInstance.close(),_e.yearPickerInstance.destroy()),delete _e.yearPickerInstance,delete _e.yearPickerPopover}}}),_e.yearPickerPopover.open();const rt=_e.currentYear;let st=_e.params.yearPickerMin||new Date().getFullYear()-100;_e.params.minDate&&(st=Math.max(st,new Date(_e.params.minDate).getFullYear()));let it=_e.params.yearPickerMax||new Date().getFullYear()+100;_e.params.maxDate&&(it=Math.min(it,new Date(_e.params.maxDate).getFullYear()));const at=[];for(let ot=st;ot<=it;ot+=1)at.push(ot);_e.yearPickerInstance=nt.picker.create({containerEl:_e.yearPickerPopover.$el.find(".calendar-year-picker"),value:[rt],toolbar:_e.params.yearPickerToolbar,rotateEffect:!1,toolbarCloseText:_e.params.yearPickerCloseText,cols:[{values:at}]})}closeYearPicker(){const _e=this;_e.yearPickerPopover&&_e.yearPickerPopover.opened&&_e.yearPickerPopover.close(),_e.setYearMonth(_e.yearPickerInstance.value[0],void 0,0)}openTimePicker(){const _e=this,{$el:tt,app:nt,is12HoursFormat:rt}=_e;if(!tt||!tt.length)return;tt.append('
        ');const st=[],it=[],at=rt?1:0,ot=rt?12:23;for(let ct=at;ct<=ot;ct+=1)st.push(ct);for(let ct=0;ct<=59;ct+=1)it.push(ct);let lt;_e.value&&_e.value.length?lt=[_e.value[0].getHours(),_e.value[0].getMinutes()]:lt=[new Date().getHours(),new Date().getMinutes()],rt&&(lt.push(lt[0]<12?"AM":"PM"),lt[0]>12&&(lt[0]-=12),lt[0]===0&&(lt[0]=12)),_e.timePickerPopover=nt.popover.create({el:tt.find(".calendar-time-picker-popover"),targetEl:tt.find(".calendar-time-selector .link"),backdrop:!0,backdropUnique:!0,on:{close(){_e.closeTimePicker()},closed(){_e.timePickerPopover.$el&&_e.timePickerPopover.$el.remove(),_e.timePickerPopover.destroy(),_e.timePickerInstance&&(_e.timePickerInstance.close(),_e.timePickerInstance.destroy()),delete _e.timePickerInstance,delete _e.timePickerPopover}}}),_e.timePickerPopover.open(),_e.timePickerInstance=nt.picker.create({containerEl:_e.timePickerPopover.$el.find(".calendar-time-picker"),value:lt,toolbar:_e.params.timePickerToolbar,rotateEffect:!1,toolbarCloseText:_e.params.timePickerCloseText,cols:[{values:st},{divider:!0,content:":"},{values:it,displayValues:it.map(ct=>ct<10?`0${ct}`:ct)},...rt?[{values:["AM","PM"]}]:[]]})}closeTimePicker(){const _e=this,{is12HoursFormat:tt}=_e;if(_e.timePickerInstance){const nt=_e.timePickerInstance.value;let rt=parseInt(nt[0],10);const st=parseInt(nt[1],10),it=_e.timePickerInstance.value[2];tt&&(it==="AM"&&rt===12?rt=0:it==="PM"&&rt!==12&&(rt+=12));let at=_e.value&&_e.value.length&&_e.value[0];at?(at=new Date(at),at.setHours(rt,st)):(at=new Date,at.setHours(rt,st,0,0)),_e.setValue([at]),_e.timePickerPopover&&_e.timePickerPopover.opened&&_e.timePickerPopover.close()}}onOpen(){const _e=this,{initialized:tt,$el:nt,app:rt,$inputEl:st,inline:it,value:at,params:ot}=_e;_e.closing=!1,_e.opened=!0,_e.opening=!0,_e.attachCalendarEvents();const lt=!at&&ot.value;tt?at&&_e.setValue(at,0):at?_e.setValue(at,0):ot.value&&_e.setValue(_e.normalizeValues(ot.value),0),_e.updateCurrentMonthYear(),_e.monthsTranslate=0,_e.setMonthsTranslate(),lt?_e.updateValue():ot.header&&at&&_e.updateValue(!0),!it&&st&&st.length&&rt.theme==="md"&&st.trigger("focus"),_e.initialized=!0,_e.$months.each(ct=>{_e.emit("local::monthAdd calendarMonthAdd",ct)}),nt&&nt.trigger("calendar:open"),st&&st.trigger("calendar:open"),_e.emit("local::open calendarOpen",_e)}onOpened(){const _e=this;_e.opening=!1,_e.$el&&_e.$el.trigger("calendar:opened"),_e.$inputEl&&_e.$inputEl.trigger("calendar:opened"),_e.emit("local::opened calendarOpened",_e)}onClose(){const _e=this,tt=_e.app;if(_e.opening=!1,_e.closing=!0,_e.$inputEl)if(tt.theme==="md")_e.$inputEl.trigger("blur");else{const nt=_e.$inputEl.attr("validate"),rt=_e.$inputEl.attr("required");nt&&rt&&tt.input.validate(_e.$inputEl)}_e.detachCalendarEvents&&_e.detachCalendarEvents(),_e.$el&&_e.$el.trigger("calendar:close"),_e.$inputEl&&_e.$inputEl.trigger("calendar:close"),_e.emit("local::close calendarClose",_e)}onClosed(){const _e=this;_e.opened=!1,_e.closing=!1,_e.inline||nextTick$2(()=>{_e.modal&&_e.modal.el&&_e.modal.destroy&&(_e.params.routableModals||_e.modal.destroy()),delete _e.modal}),_e.timePickerInstance&&(_e.timePickerInstance.destroy&&_e.timePickerInstance.destroy(),delete _e.timePickerInstance),_e.$el&&_e.$el.trigger("calendar:closed"),_e.$inputEl&&_e.$inputEl.trigger("calendar:closed"),_e.emit("local::closed calendarClosed",_e)}open(){const _e=this,{app:tt,opened:nt,inline:rt,$inputEl:st,params:it}=_e;if(nt)return;if(rt){_e.$el=$$1(_e.render()),_e.$el[0].f7Calendar=_e,_e.$wrapperEl=_e.$el.find(".calendar-months-wrapper"),_e.$months=_e.$wrapperEl.find(".calendar-month"),_e.$containerEl.append(_e.$el),_e.onOpen(),_e.onOpened();return}let at=it.openIn;at==="auto"&&(at=_e.isPopover()?"popover":"sheet");const ot=_e.render(),lt={targetEl:st,scrollToEl:it.scrollToInput?st:void 0,content:ot,backdrop:it.backdrop===!0||(at==="popover"||at==="customModal")&&tt.params.popover.backdrop!==!1&&it.backdrop!==!1,closeByBackdropClick:it.closeByBackdropClick,on:{open(){const ct=this;_e.modal=ct,_e.$el=at==="popover"?ct.$el.find(".calendar"):ct.$el,_e.$wrapperEl=_e.$el.find(".calendar-months-wrapper"),_e.$months=_e.$wrapperEl.find(".calendar-month"),_e.$el[0].f7Calendar=_e,at==="customModal"&&$$1(_e.$el).find(".calendar-close").once("click",()=>{_e.close()}),_e.onOpen()},opened(){_e.onOpened()},close(){_e.onClose()},closed(){_e.onClosed()}}};at==="sheet"&&(lt.push=it.sheetPush,lt.swipeToClose=it.sheetSwipeToClose),it.routableModals&&_e.view?_e.view.router.navigate({url:_e.url,route:{path:_e.url,[at]:lt}}):(_e.modal=tt[at].create(lt),_e.modal.open())}close(){const _e=this,{opened:tt,inline:nt}=_e;if(tt){if(nt){_e.onClose(),_e.onClosed();return}_e.params.routableModals&&_e.view?_e.view.router.back():_e.modal.close()}}init(){const _e=this;if(_e.initInput(),_e.inline){_e.open(),_e.emit("local::init calendarInit",_e);return}!_e.initialized&&_e.params.value&&_e.setValue(_e.normalizeValues(_e.params.value)),_e.$inputEl&&_e.attachInputEvents(),_e.params.closeByOutsideClick&&_e.attachHtmlEvents(),_e.emit("local::init calendarInit",_e)}destroy(){const _e=this;if(_e.destroyed)return;const{$el:tt}=_e;_e.emit("local::beforeDestroy calendarBeforeDestroy",_e),tt&&tt.trigger("calendar:beforedestroy"),_e.close(),_e.$inputEl&&_e.detachInputEvents(),_e.params.closeByOutsideClick&&_e.detachHtmlEvents(),_e.timePickerInstance&&(_e.timePickerInstance.destroy&&_e.timePickerInstance.destroy(),delete _e.timePickerInstance),tt&&tt.length&&delete _e.$el[0].f7Calendar,deleteProps$1(_e),_e.destroyed=!0}};const Calendar={name:"calendar",static:{Calendar:Calendar$1},create(){const et=this;et.calendar=ConstructorMethods({defaultSelector:".calendar",constructor:Calendar$1,app:et,domProp:"f7Calendar"}),et.calendar.close=function(tt){tt===void 0&&(tt=".calendar");const nt=$$1(tt);if(nt.length===0)return;const rt=nt[0].f7Calendar;!rt||rt&&!rt.opened||rt.close()}},params:{calendar:{dateFormat:void 0,monthNames:"auto",monthNamesShort:"auto",dayNames:"auto",dayNamesShort:"auto",locale:void 0,firstDay:1,weekendDays:[0,6],multiple:!1,rangePicker:!1,rangePickerMinDays:1,rangePickerMaxDays:0,direction:"horizontal",minDate:null,maxDate:null,disabled:null,events:null,rangesClasses:null,touchMove:!0,animate:!0,closeOnSelect:!1,monthSelector:!0,monthPicker:!0,monthPickerToolbar:!0,monthPickerCloseText:"Done",yearSelector:!0,yearPicker:!0,yearPickerToolbar:!0,yearPickerMin:void 0,yearPickerMax:void 0,yearPickerCloseText:"Done",timePicker:!1,timePickerToolbar:!0,timePickerLabel:"Time",timePickerFormat:{hour:"numeric",minute:"numeric"},timePickerPlaceholder:"Select time",timePickerCloseText:"Done",weekHeader:!0,value:null,containerEl:null,openIn:"auto",sheetPush:!1,sheetSwipeToClose:void 0,formatValue:null,inputEl:null,inputReadOnly:!0,closeByOutsideClick:!0,scrollToInput:!0,header:!1,headerPlaceholder:"Select date",toolbar:!0,toolbarCloseText:"Done",footer:!1,cssClass:null,routableModals:!1,view:null,url:"date/",backdrop:null,closeByBackdropClick:!0,renderWeekHeader:null,renderMonths:null,renderMonth:null,renderMonthSelector:null,renderYearSelector:null,renderHeader:null,renderFooter:null,renderToolbar:null,renderInline:null,renderPopover:null,renderSheet:null,render:null}}};function pickerColumn(et,_e){const tt=this,nt=$$1(et),rt=nt.index(),st=tt.cols[rt];if(st.divider)return;st.$el=nt,st.el=nt[0],st.$itemsEl=st.$el.find(".picker-items"),st.items=st.$itemsEl.find(".picker-item");let it,at;st.replaceValues=function(ut,dt){st.detachEvents(),st.values=ut,st.displayValues=dt,st.$itemsEl.html(tt.renderColumn(st,!0)),st.items=st.$itemsEl.find(".picker-item"),st.calcSize(),st.setValue(st.values[0],!0),st.attachEvents()},st.calcSize=function(){at=st.$el[0].offsetHeight,it=st.items[0].offsetHeight;const ut=st.el.style.getPropertyValue("--f7-picker-scroll-padding");st.el.style.setProperty("--f7-picker-scroll-padding",`${(at-it)/2}px`),ut||(st.$itemsEl[0].scrollTop=0)},st.setValue=function(ut,dt){const ft=st.$itemsEl.find(`.picker-item[data-picker-value="${ut}"]`).index();if(typeof ft>"u"||ft===-1)return;const pt=ft*it;st.$itemsEl[0].scrollTop=pt,st.updateItems(ft,pt,dt)},st.updateItems=function(ut,dt,ft){typeof dt>"u"&&(dt=st.$itemsEl[0].scrollTop),typeof ut>"u"&&(ut=Math.round(dt/it)),ut<0&&(ut=0),ut>=st.items.length&&(ut=st.items.length-1);const pt=st.activeIndex;st.activeIndex=ut,st.$itemsEl.find(".picker-item-selected").removeClass("picker-item-selected");const ht=st.items.eq(ut);ht.addClass("picker-item-selected").children().transform(""),tt.params.rotateEffect&&st.items.each(vt=>{const gt=$$1(vt),bt=(vt.offsetTop-(at-it)/2-dt)/it,xt=Math.ceil(st.height/it/2)+1;let yt=-24*bt;yt>180&&(yt=180),yt<-180&&(yt=-180),Math.abs(bt)>xt?gt.addClass("picker-item-far"):gt.removeClass("picker-item-far"),gt.children("span").transform(`translate3d(0, ${-bt*it}px, -100px) rotateX(${yt}deg)`)}),(ft||typeof ft>"u")&&(st.value=ht.attr("data-picker-value"),st.displayValue=st.displayValues?st.displayValues[ut]:st.value,pt!==ut&&(st.onChange&&st.onChange(tt,st.value,st.displayValue),tt.updateValue()))};function ot(){st.updateItems()}function lt(){const ct=$$1(this).attr("data-picker-value");st.setValue(ct)}st.attachEvents=function(){st.$itemsEl.on("scroll",ot),st.items.on("click",lt)},st.detachEvents=function(){st.items.off("click",lt)},st.init=function(){st.calcSize(),rt===0&&st.$el.addClass("picker-column-first"),rt===tt.cols.length-1&&st.$el.addClass("picker-column-last"),tt.params.freeMode&&st.$el.addClass("picker-column-free-mode"),_e&&st.updateItems(0),st.attachEvents()},st.destroy=function(){st.detachEvents()},st.init()}let Picker$1=class extends Framework7Class{constructor(_e,tt){tt===void 0&&(tt={}),super(tt,[_e]);const nt=this,rt=getDevice$1(),st=getWindow$1();nt.params=extend$5({},_e.params.picker,tt);let it;if(nt.params.containerEl&&(it=$$1(nt.params.containerEl),it.length===0))return nt;let at;nt.params.inputEl&&(at=$$1(nt.params.inputEl));let ot=nt.params.scrollToInput?at:void 0;if(nt.params.scrollToEl){const ht=$$1(nt.params.scrollToEl);ht.length>0&&(ot=ht)}extend$5(nt,{app:_e,$containerEl:it,containerEl:it&&it[0],inline:it&&it.length>0,needsOriginFix:rt.ios||st.navigator.userAgent.toLowerCase().indexOf("safari")>=0&&st.navigator.userAgent.toLowerCase().indexOf("chrome")<0&&!rt.android,cols:[],$inputEl:at,inputEl:at&&at[0],$scrollToEl:ot,initialized:!1,opened:!1,url:nt.params.url});function lt(){nt.resizeCols()}function ct(){nt.open()}function ut(ht){ht.preventDefault()}let dt=null;function ft(ht){dt=ht.target}function pt(ht){if(nt.destroyed||!nt.params)return;const vt=$$1(ht.target);nt.isPopover()||!nt.opened||nt.closing||vt.closest('[class*="backdrop"]').length||(at&&at.length>0?dt===ht.target&&vt[0]!==at[0]&&vt.closest(".sheet-modal").length===0&&nt.close():$$1(ht.target).closest(".sheet-modal").length===0&&nt.close())}return extend$5(nt,{attachResizeEvent(){_e.on("resize",lt)},detachResizeEvent(){_e.off("resize",lt)},attachInputEvents(){nt.$inputEl.on("click",ct),nt.params.inputReadOnly&&(nt.$inputEl.on("focus mousedown",ut),nt.$inputEl[0]&&(nt.$inputEl[0].f7ValidateReadonly=!0))},detachInputEvents(){nt.$inputEl.off("click",ct),nt.params.inputReadOnly&&(nt.$inputEl.off("focus mousedown",ut),nt.$inputEl[0]&&delete nt.$inputEl[0].f7ValidateReadonly)},attachHtmlEvents(){_e.on("click",pt),_e.on("touchstart",ft)},detachHtmlEvents(){_e.off("click",pt),_e.off("touchstart",ft)}}),nt.init(),nt}get view(){const{app:_e,params:tt,$inputEl:nt}=this;let rt;return tt.view?rt=tt.view:nt&&(rt=nt.parents(".view").length&&nt.parents(".view")[0].f7View),rt||(rt=_e.views.main),rt}initInput(){const _e=this;_e.$inputEl&&_e.params.inputReadOnly&&_e.$inputEl.prop("readOnly",!0)}resizeCols(){const _e=this;if(_e.opened)for(let tt=0;tt<_e.cols.length;tt+=1)_e.cols[tt].divider||(_e.cols[tt].calcSize(),_e.cols[tt].setValue(_e.cols[tt].value,!1))}isPopover(){const _e=this,{app:tt,modal:nt,params:rt}=_e,st=getDevice$1();if(rt.openIn==="sheet"||nt&&nt.type!=="popover")return!1;if(!_e.inline&&_e.inputEl){if(rt.openIn==="popover")return!0;if(st.ios)return!!st.ipad;if(tt.width>=768)return!0}return!1}formatValue(){const _e=this,{value:tt,displayValue:nt}=_e;return _e.params.formatValue?_e.params.formatValue.call(_e,tt,nt):tt.join(" ")}setValue(_e){const tt=this;let nt=0;if(tt.cols.length===0){tt.value=_e,tt.updateValue(_e);return}for(let rt=0;rt!at.divider);for(let at=0;at=0||(tt.value=nt,tt.displayValue=rt,tt.emit("local::change pickerChange",tt,tt.value,tt.displayValue),tt.inputEl&&(tt.$inputEl.val(tt.formatValue()),tt.$inputEl.trigger("change")))}initColumn(_e,tt){const nt=this;pickerColumn.call(nt,_e,tt)}destroyColumn(_e){const tt=this,rt=$$1(_e).index();tt.cols[rt]&&tt.cols[rt].destroy&&tt.cols[rt].destroy()}renderToolbar(){const _e=this;return _e.params.renderToolbar?_e.params.renderToolbar.call(_e,_e):$jsx("div",{class:"toolbar toolbar-top"},$jsx("div",{class:"toolbar-inner"},$jsx("div",{class:"left"}),$jsx("div",{class:"right"},$jsx("a",{class:"link sheet-close popover-close"},_e.params.toolbarCloseText))))}renderColumn(_e,tt){const nt=`picker-column ${_e.textAlign?`picker-column-${_e.textAlign}`:""} ${_e.cssClass||""}`;let rt,st;return _e.divider?rt=` +
        ${_e.content}
        + `:(st=_e.values.map((it,at)=>` +
        + ${_e.displayValues?_e.displayValues[at]:it} +
        + `).join(""),rt=` +
        +
        ${st}
        +
        + `),tt?st.trim():rt.trim()}renderInline(){const _e=this,{rotateEffect:tt,cssClass:nt,toolbar:rt}=_e.params;return $jsx("div",{class:`picker picker-inline ${tt?"picker-3d":""} ${nt||""}`},rt&&_e.renderToolbar(),$jsx("div",{class:"picker-columns"},_e.cols.map(it=>_e.renderColumn(it)),$jsx("div",{class:"picker-center-highlight"})))}renderSheet(){const _e=this,{rotateEffect:tt,cssClass:nt,toolbar:rt}=_e.params;return $jsx("div",{class:`sheet-modal picker picker-sheet ${tt?"picker-3d":""} ${nt||""}`},rt&&_e.renderToolbar(),$jsx("div",{class:"sheet-modal-inner picker-columns"},_e.cols.map(it=>_e.renderColumn(it)),$jsx("div",{class:"picker-center-highlight"})))}renderPopover(){const _e=this,{rotateEffect:tt,cssClass:nt,toolbar:rt}=_e.params;return $jsx("div",{class:"popover picker-popover"},$jsx("div",{class:"popover-inner"},$jsx("div",{class:`picker ${tt?"picker-3d":""} ${nt||""}`},rt&&_e.renderToolbar(),$jsx("div",{class:"picker-columns"},_e.cols.map(it=>_e.renderColumn(it)),$jsx("div",{class:"picker-center-highlight"})))))}render(){const _e=this;return _e.params.render?_e.params.render.call(_e):_e.inline?_e.renderInline():_e.isPopover()?_e.renderPopover():_e.renderSheet()}onOpen(){const _e=this,{initialized:tt,$el:nt,app:rt,$inputEl:st,inline:it,value:at,params:ot}=_e;_e.opened=!0,_e.closing=!1,_e.opening=!0,_e.attachResizeEvent(),nt.find(".picker-column").each(lt=>{let ct=!0;(!tt&&ot.value||tt&&at)&&(ct=!1),_e.initColumn(lt,ct)}),tt?at&&_e.setValue(at):at?_e.setValue(at):ot.value&&_e.setValue(ot.value),!it&&st&&st.length&&rt.theme==="md"&&st.trigger("focus"),_e.initialized=!0,nt&&nt.trigger("picker:open"),st&&st.trigger("picker:open"),_e.emit("local::open pickerOpen",_e)}onOpened(){const _e=this;_e.opening=!1,_e.$el&&_e.$el.trigger("picker:opened"),_e.$inputEl&&_e.$inputEl.trigger("picker:opened"),_e.emit("local::opened pickerOpened",_e)}onClose(){const _e=this,tt=_e.app;if(_e.opening=!1,_e.closing=!0,_e.detachResizeEvent(),_e.cols.forEach(nt=>{nt.destroy&&nt.destroy()}),_e.$inputEl)if(tt.theme==="md")_e.$inputEl.trigger("blur");else{const nt=_e.$inputEl.attr("validate"),rt=_e.$inputEl.attr("required");nt&&rt&&tt.input.validate(_e.$inputEl)}_e.$el&&_e.$el.trigger("picker:close"),_e.$inputEl&&_e.$inputEl.trigger("picker:close"),_e.emit("local::close pickerClose",_e)}onClosed(){const _e=this;_e.opened=!1,_e.closing=!1,_e.inline||nextTick$2(()=>{_e.modal&&_e.modal.el&&_e.modal.destroy&&(_e.params.routableModals||_e.modal.destroy()),delete _e.modal}),_e.$el&&_e.$el.trigger("picker:closed"),_e.$inputEl&&_e.$inputEl.trigger("picker:closed"),_e.emit("local::closed pickerClosed",_e)}open(){const _e=this,{app:tt,opened:nt,inline:rt,$inputEl:st,$scrollToEl:it,params:at}=_e;if(nt)return;if(_e.cols.length===0&&at.cols.length&&at.cols.forEach(ut=>{_e.cols.push(ut)}),rt){_e.$el=$$1(_e.render()),_e.$el[0].f7Picker=_e,_e.$containerEl.append(_e.$el),_e.onOpen(),_e.onOpened();return}const ot=_e.isPopover(),lt=ot?"popover":"sheet",ct={targetEl:st,scrollToEl:it,content:_e.render(),backdrop:typeof at.backdrop<"u"?at.backdrop:ot,on:{open(){const ut=this;_e.modal=ut,_e.$el=ot?ut.$el.find(".picker"):ut.$el,_e.$el[0].f7Picker=_e,_e.onOpen()},opened(){_e.onOpened()},close(){_e.onClose()},closed(){_e.onClosed()}}};lt==="sheet"&&(ct.push=at.sheetPush,ct.swipeToClose=at.sheetSwipeToClose),at.routableModals&&_e.view?_e.view.router.navigate({url:_e.url,route:{path:_e.url,[lt]:ct}}):(_e.modal=tt[lt].create(ct),_e.modal.open())}close(){const _e=this,{opened:tt,inline:nt}=_e;if(tt){if(nt){_e.onClose(),_e.onClosed();return}_e.params.routableModals&&_e.view?_e.view.router.back():_e.modal.close()}}init(){const _e=this;if(_e.initInput(),_e.inline){_e.open(),_e.emit("local::init pickerInit",_e);return}!_e.initialized&&_e.params.value&&_e.setValue(_e.params.value),_e.$inputEl&&_e.attachInputEvents(),_e.params.closeByOutsideClick&&_e.attachHtmlEvents(),_e.emit("local::init pickerInit",_e)}destroy(){const _e=this;if(_e.destroyed)return;const{$el:tt}=_e;_e.emit("local::beforeDestroy pickerBeforeDestroy",_e),tt&&tt.trigger("picker:beforedestroy"),_e.close(),_e.$inputEl&&_e.detachInputEvents(),_e.params.closeByOutsideClick&&_e.detachHtmlEvents(),tt&&tt.length&&delete _e.$el[0].f7Picker,deleteProps$1(_e),_e.destroyed=!0}};const Picker={name:"picker",static:{Picker:Picker$1},create(){const et=this;et.picker=ConstructorMethods({defaultSelector:".picker",constructor:Picker$1,app:et,domProp:"f7Picker"}),et.picker.close=function(tt){tt===void 0&&(tt=".picker");const nt=$$1(tt);if(nt.length===0)return;const rt=nt[0].f7Picker;!rt||rt&&!rt.opened||rt.close()}},params:{picker:{rotateEffect:!1,freeMode:!1,cols:[],containerEl:null,openIn:"auto",sheetPush:!1,sheetSwipeToClose:void 0,backdrop:void 0,formatValue:null,inputEl:null,inputReadOnly:!0,closeByOutsideClick:!0,scrollToInput:!0,scrollToEl:void 0,toolbar:!0,toolbarCloseText:"Done",cssClass:null,routableModals:!1,view:null,url:"select/",renderToolbar:null,render:null}}},InfiniteScroll={handle(et,_e){const tt=this,nt=$$1(et),rt=nt[0].scrollTop,st=nt[0].scrollHeight,it=nt[0].offsetHeight;let at=nt[0].getAttribute("data-infinite-distance");const ot=nt.find(".virtual-list");let lt;const ct=nt.hasClass("infinite-scroll-top");if(at||(at=50),typeof at=="string"&&at.indexOf("%")>=0&&(at=parseInt(at,10)/100*it),at>it&&(at=it),ct)rt=st-at){if(ot.length>0&&(lt=ot.eq(-1)[0].f7VirtualList,lt&&!lt.reachEnd&&!lt.params.updatableScroll))return;nt.trigger("infinite",_e),tt.emit("infinite",nt[0],_e)}},create(et){const _e=$$1(et),tt=this;function nt(rt){tt.infiniteScroll.handle(this,rt)}_e.each(rt=>{rt.f7InfiniteScrollHandler=nt,rt.addEventListener("scroll",rt.f7InfiniteScrollHandler)})},destroy(et){$$1(et).each(tt=>{tt.removeEventListener("scroll",tt.f7InfiniteScrollHandler),delete tt.f7InfiniteScrollHandler})}},InfiniteScroll$1={name:"infiniteScroll",create(){bindMethods(this,{infiniteScroll:InfiniteScroll})},on:{tabMounted(et){const _e=this,tt=$$1(et),nt=tt.find(".infinite-scroll-content");tt.is(".infinite-scroll-content")&&nt.add(tt),nt.each(rt=>{_e.infiniteScroll.create(rt)})},tabBeforeRemove(et){const _e=$$1(et),tt=this,nt=_e.find(".infinite-scroll-content");_e.is(".infinite-scroll-content")&&nt.add(_e),nt.each(rt=>{tt.infiniteScroll.destroy(rt)})},pageInit(et){const _e=this;et.$el.find(".infinite-scroll-content").each(tt=>{_e.infiniteScroll.create(tt)})},pageBeforeRemove(et){const _e=this;et.$el.find(".infinite-scroll-content").each(tt=>{_e.infiniteScroll.destroy(tt)})}}};let PullToRefresh$1=class extends Framework7Class{constructor(_e,tt){super({},[_e]);const nt=this,rt=getDevice$1(),st=getSupport$1(),it=$$1(tt),at=it.find(".ptr-preloader");nt.$el=it,nt.el=it[0],nt.app=_e,nt.bottom=nt.$el.hasClass("ptr-bottom"),nt.useModulesParams({});const ot=_e.theme==="md",lt=_e.theme==="ios";nt.done=function(){const Vt=ot?at:it,zt=Ut=>{$$1(Ut.target).closest(at).length||(it.removeClass("ptr-transitioning ptr-pull-up ptr-pull-down ptr-closing"),it.trigger("ptr:done"),nt.emit("local::done ptrDone",it[0]),Vt.off("transitionend",zt))};return Vt.on("transitionend",zt),it.removeClass("ptr-refreshing").addClass("ptr-transitioning ptr-closing"),nt},nt.refresh=function(){return it.hasClass("ptr-refreshing")||(it.addClass("ptr-transitioning ptr-refreshing"),it.trigger("ptr:refresh",nt.done),nt.emit("local::refresh ptrRefresh",it[0],nt.done)),nt},nt.mousewheel=it.attr("data-ptr-mousewheel")==="true";let ct,ut,dt;const ft={};let pt,ht,vt=!1,gt=!1,mt=!1,bt=0,xt,yt,$t,wt,Ct,Et,Mt=!1,St,Rt,Pt;const kt=it.parents(".page");if((kt.find(".navbar").length>0||kt.parents(".view").children(".navbars").length>0)&&(Mt=!0),kt.hasClass("no-navbar")&&(Mt=!1),!nt.bottom){const Ft=_e.navbar.getElByPage(kt[0]);if(Ft){const Vt=$$1(Ft),zt=Vt.hasClass("navbar-large-transparent")||Vt.hasClass("navbar-large")&&Vt.hasClass("navbar-transparent"),Ut=Vt.hasClass("navbar-transparent")&&!Vt.hasClass("navbar-large");zt?it.addClass("ptr-with-navbar-large-transparent"):Ut&&it.addClass("ptr-with-navbar-transparent")}}!Mt&&!nt.bottom&&it.addClass("ptr-no-navbar"),it.attr("data-ptr-distance")?Ct=!0:ot?wt=66:lt&&(wt=44);function _t(Ft){Ft===void 0&&(Ft=0);const Vt=at.find(".preloader-inner-line"),zt=1/Vt.length;Vt.forEach((Ut,qt)=>{const Wt=(Ft-qt*zt)/zt;Ut.style.opacity=Math.max(Math.min(Wt,1),0)*.27})}function Bt(){at.find(".preloader-inner-line").css("opacity","")}function It(Ft){if(Ft.isTrusted){if(ut)if(rt.os==="android"){if("targetTouches"in Ft&&Ft.targetTouches.length>1)return}else return;it.hasClass("ptr-refreshing")||$$1(Ft.target).closest(".sortable-handler, .ptr-ignore, .card-expandable.card-opened").length||(dt=!1,Et=!1,ut=!0,pt=void 0,$t=void 0,Ft.type==="touchstart"&&(ct=Ft.targetTouches[0].identifier),ft.x=Ft.type==="touchstart"?Ft.targetTouches[0].pageX:Ft.pageX,ft.y=Ft.type==="touchstart"?Ft.targetTouches[0].pageY:Ft.pageY)}}function At(Ft){if(!ut||!Ft.isTrusted)return;let Vt,zt,Ut;if(Ft.type==="touchmove"){if(ct&&Ft.touches)for(let Wt=0;Wt"u"&&(pt=!!(pt||Math.abs(zt-ft.y)>Math.abs(Vt-ft.x))),!pt){ut=!1;return}if(yt=it[0].scrollTop,!dt){it.removeClass("ptr-transitioning"),lt&&_t(0);let Wt;if(St=it[0].scrollHeight,Rt=it[0].offsetHeight,nt.bottom&&(Pt=St-Rt),yt>St){ut=!1;return}const Jt=$$1(Ft.target).closest(".ptr-watch-scroll");if(Jt.length&&Jt.each(Qt=>{Qt!==tt&&Qt.scrollHeight>Qt.offsetHeight&&$$1(Qt).css("overflow")==="auto"&&(!nt.bottom&&Qt.scrollTop>0||nt.bottom&&Qt.scrollTop=0&&(wt=St*parseInt(wt,10)/100)),bt=it.hasClass("ptr-refreshing")?wt:0,St===Rt||rt.os!=="ios"||ot?gt=!0:gt=!1,mt=!1}if(dt=!0,ht=zt-ft.y,typeof $t>"u"&&(nt.bottom?yt!==Pt:yt!==0)&&($t=!0),nt.bottom?ht<0&&yt>=Pt||yt>Pt:ht>0&&yt<=0||yt<0){rt.os==="ios"&&parseInt(rt.osVersion.split(".")[0],10)>7&&(!nt.bottom&&yt===0&&!$t&&(gt=!0),nt.bottom&&yt===Pt&&!$t&&(gt=!0)),!gt&&nt.bottom&&!ot&&(it.css("-webkit-overflow-scrolling","auto"),it.scrollTop(Pt),mt=!0),gt||mt?(Ft.cancelable&&Ft.preventDefault(),xt=(nt.bottom?-1*Math.abs(ht)**.85:ht**.85)+bt,ot?at.transform(`translate3d(0,${xt}px,0)`).find(".ptr-arrow").transform(`rotate(${180*(Math.abs(ht)/66)+100}deg)`):(nt.bottom||lt?it.children().transform(`translate3d(0,${xt}px,0)`):it.transform(`translate3d(0,${xt}px,0)`),lt&&at.transform("translate3d(0,0px,0)"))):lt&&!nt.bottom&&at.transform(`translate3d(0,${yt}px,0)`);let Wt;lt&&!vt&&(Wt=gt||mt?Math.abs(ht)**.85/wt:Math.abs(ht)/(wt*2),_t(Wt)),(gt||mt)&&Math.abs(ht)**.85>wt||!gt&&Math.abs(ht)>=wt*2?(vt=!0,it.addClass("ptr-pull-up").removeClass("ptr-pull-down"),Bt()):(vt=!1,it.removeClass("ptr-pull-up").addClass("ptr-pull-down")),Et||(it.trigger("ptr:pullstart"),nt.emit("local::pullStart ptrPullStart",it[0]),Et=!0),it.trigger("ptr:pullmove",{event:Ft,scrollTop:yt,translate:xt,touchesDiff:ht}),nt.emit("local::pullMove ptrPullMove",it[0],{event:Ft,scrollTop:yt,translate:xt,touchesDiff:ht})}else Et=!1,it.removeClass("ptr-pull-up ptr-pull-down"),vt=!1}function Tt(Ft){if(Ft.isTrusted){if(Ft.type==="touchend"&&Ft.changedTouches&&Ft.changedTouches.length>0&&ct&&Ft.changedTouches[0].identifier!==ct){ut=!1,pt=!1,dt=!1,ct=null;return}if(!ut||!dt){ut=!1,dt=!1;return}xt&&(it.addClass("ptr-transitioning"),xt=0),ot?at.transform("").find(".ptr-arrow").transform(""):(at.transform(""),nt.bottom||lt?it.children().transform(""):it.transform("")),!gt&&nt.bottom&&!ot&&it.css("-webkit-overflow-scrolling",""),vt?(it.addClass("ptr-refreshing"),it.trigger("ptr:refresh",nt.done),nt.emit("local::refresh ptrRefresh",it[0],nt.done)):it.removeClass("ptr-pull-down"),ut=!1,dt=!1,Et&&(it.trigger("ptr:pullend"),nt.emit("local::pullEnd ptrPullEnd",it[0]))}}let Dt,Nt,Ot=!0,Lt=0;function jt(){Ot=!0,Nt=!1,Lt=0,xt&&(it.addClass("ptr-transitioning"),xt=0),ot?at.transform("").find(".ptr-arrow").transform(""):(at.transform(""),nt.bottom?it.children().transform(""):it.transform("")),vt?(it.addClass("ptr-refreshing"),it.trigger("ptr:refresh",nt.done),nt.emit("local::refresh ptrRefresh",it[0],nt.done)):it.removeClass("ptr-pull-down"),Et&&(it.trigger("ptr:pullend"),nt.emit("local::pullEnd ptrPullEnd",it[0]))}function Ht(Ft){if(!Ot)return;const{deltaX:Vt,deltaY:zt}=Ft;if(Math.abs(Vt)>Math.abs(zt)||it.hasClass("ptr-refreshing")||$$1(Ft.target).closest(".sortable-handler, .ptr-ignore, .card-expandable.card-opened").length)return;if(clearTimeout(Dt),yt=it[0].scrollTop,!Nt){it.removeClass("ptr-transitioning"),lt&&_t(0);let qt;if(St=it[0].scrollHeight,Rt=it[0].offsetHeight,nt.bottom&&(Pt=St-Rt),yt>St){Ot=!1;return}const Wt=$$1(Ft.target).closest(".ptr-watch-scroll");if(Wt.length&&Wt.each(Jt=>{Jt!==tt&&Jt.scrollHeight>Jt.offsetHeight&&$$1(Jt).css("overflow")==="auto"&&(!nt.bottom&&Jt.scrollTop>0||nt.bottom&&Jt.scrollTop=0&&(wt=St*parseInt(wt,10)/100))}if(dt=!0,Lt-=zt,ht=Lt,typeof $t>"u"&&(nt.bottom?yt!==Pt:yt!==0)&&($t=!0),nt.bottom?ht<0&&yt>=Pt||yt>Pt:ht>0&&yt<=0||yt<0){Ft.cancelable&&Ft.preventDefault(),xt=ht,Math.abs(xt)>wt&&(xt=wt+(Math.abs(xt)-wt)**.7,nt.bottom&&(xt=-xt)),ot?at.transform(`translate3d(0,${xt}px,0)`).find(".ptr-arrow").transform(`rotate(${180*(Math.abs(ht)/66)+100}deg)`):nt.bottom?it.children().transform(`translate3d(0,${xt}px,0)`):(it.transform(`translate3d(0,${xt}px,0)`),lt&&at.transform(`translate3d(0,${-xt}px,0)`));let qt;lt&&!vt&&(qt=Math.abs(xt)/wt,_t(qt)),Math.abs(xt)>wt?(vt=!0,it.addClass("ptr-pull-up").removeClass("ptr-pull-down"),Bt()):(vt=!1,it.removeClass("ptr-pull-up").addClass("ptr-pull-down")),Et||(it.trigger("ptr:pullstart"),nt.emit("local::pullStart ptrPullStart",it[0]),Et=!0),it.trigger("ptr:pullmove",{event:Ft,scrollTop:yt,translate:xt,touchesDiff:ht}),nt.emit("local::pullMove ptrPullMove",it[0],{event:Ft,scrollTop:yt,translate:xt,touchesDiff:ht})}else Et=!1,it.removeClass("ptr-pull-up ptr-pull-down"),vt=!1;Dt=setTimeout(jt,300)}return!kt.length||!it.length||(it[0].f7PullToRefresh=nt,nt.attachEvents=function(){const Vt=st.passiveListener?{passive:!0}:!1;it.on(_e.touchEvents.start,It,Vt),_e.on("touchmove:active",At),_e.on("touchend:passive",Tt),nt.mousewheel&&!nt.bottom&&it.on("wheel",Ht)},nt.detachEvents=function(){const Vt=st.passiveListener?{passive:!0}:!1;it.off(_e.touchEvents.start,It,Vt),_e.off("touchmove:active",At),_e.off("touchend:passive",Tt),nt.mousewheel&&!nt.bottom&&it.off("wheel",Ht)},nt.useModules(),nt.init()),nt}init(){this.attachEvents()}destroy(){let _e=this;_e.emit("local::beforeDestroy ptrBeforeDestroy",_e),_e.$el.trigger("ptr:beforedestroy"),delete _e.el.f7PullToRefresh,_e.detachEvents(),deleteProps$1(_e),_e=null}};const PullToRefresh={name:"pullToRefresh",create(){const et=this;et.ptr=extend$5(ConstructorMethods({defaultSelector:".ptr-content",constructor:PullToRefresh$1,app:et,domProp:"f7PullToRefresh"}),{done(_e){const tt=et.ptr.get(_e);if(tt)return tt.done()},refresh(_e){const tt=et.ptr.get(_e);if(tt)return tt.refresh()}})},static:{PullToRefresh:PullToRefresh$1},on:{tabMounted(et){const _e=this,tt=$$1(et),nt=tt.find(".ptr-content");tt.is(".ptr-content")&&nt.add(tt),nt.each(rt=>{_e.ptr.create(rt)})},tabBeforeRemove(et){const _e=$$1(et),tt=this,nt=_e.find(".ptr-content");_e.is(".ptr-content")&&nt.add(_e),nt.each(rt=>{tt.ptr.destroy(rt)})},pageInit(et){const _e=this;et.$el.find(".ptr-content").each(tt=>{_e.ptr.create(tt)})},pageBeforeRemove(et){const _e=this;et.$el.find(".ptr-content").each(tt=>{_e.ptr.destroy(tt)})}}};let DataTable$1=class extends Framework7Class{constructor(_e,tt){tt===void 0&&(tt={}),super(tt,[_e]);const nt=this,rt={};nt.useModulesParams(rt),nt.params=extend$5(rt,tt);const st=$$1(nt.params.el);if(st.length===0)return;if(nt.$el=st,nt.el=st[0],nt.$el[0].f7DataTable){const ot=nt.$el[0].f7DataTable;return nt.destroy(),ot}nt.$el[0].f7DataTable=nt,extend$5(nt,{collapsible:st.hasClass("data-table-collapsible"),$headerEl:st.find(".data-table-header"),$headerSelectedEl:st.find(".data-table-header-selected")});function it(ot){if(ot.detail&&ot.detail.sentByF7DataTable)return;const lt=$$1(this),ct=lt[0].checked,ut=lt.parents("td,th").index();if(lt.parents("thead").length>0)ut===0&&st.find("tbody tr")[ct?"addClass":"removeClass"]("data-table-row-selected"),st.find(`tbody tr td:nth-child(${ut+1}) input`).prop("checked",ct).trigger("change",{sentByF7DataTable:!0}),lt.prop("indeterminate",!1);else{ut===0&<.parents("tr")[ct?"addClass":"removeClass"]("data-table-row-selected");const dt=st.find(`tbody .checkbox-cell:nth-child(${ut+1}) input[type="checkbox"]:checked`).length,ft=st.find("tbody tr").length,pt=st.find(`thead .checkbox-cell:nth-child(${ut+1}) input[type="checkbox"]`);ct?dt===ft&&pt.prop("checked",!0).trigger("change",{sentByF7DataTable:!0}):pt.prop("checked",!1),pt.prop("indeterminate",dt>0&&dt{const nt=$$1(tt),rt=nt.index(),st=nt.attr("data-collapsible-title");!st&&st!==""&&nt.attr("data-collapsible-title",_e.$el.find("thead th").eq(rt).text())})}checkSelectedHeader(){const _e=this;if(_e.$headerEl.length>0&&_e.$headerSelectedEl.length>0){const tt=_e.$el.find("tbody .checkbox-cell input:checked").length;_e.$el[tt>0?"addClass":"removeClass"]("data-table-has-checked"),_e.$headerSelectedEl.find(".data-table-selected-count").text(tt)}}init(){const _e=this;_e.attachEvents(),_e.setCollapsibleLabels(),_e.checkSelectedHeader()}destroy(){let _e=this;_e.$el.trigger("datatable:beforedestroy"),_e.emit("local::beforeDestroy dataTableBeforeDestroy",_e),_e.detachEvents(),_e.$el[0]&&(_e.$el[0].f7DataTable=null,delete _e.$el[0].f7DataTable),deleteProps$1(_e),_e=null}};const DataTable={name:"dataTable",static:{DataTable:DataTable$1},create(){const et=this;et.dataTable=ConstructorMethods({defaultSelector:".data-table",constructor:DataTable$1,app:et,domProp:"f7DataTable"})},on:{tabBeforeRemove(et){const _e=this;$$1(et).find(".data-table-init").each(tt=>{_e.dataTable.destroy(tt)})},tabMounted(et){const _e=this;$$1(et).find(".data-table-init").each(tt=>{_e.dataTable.create({el:tt})})},pageBeforeRemove(et){const _e=this;et.$el.find(".data-table-init").each(tt=>{_e.dataTable.destroy(tt)})},pageInit(et){const _e=this;et.$el.find(".data-table-init").each(tt=>{_e.dataTable.create({el:tt})})}},vnode:{"data-table-init":{insert(et){const _e=this,tt=et.elm;_e.dataTable.create({el:tt})},destroy(et){const _e=this,tt=et.elm;_e.dataTable.destroy(tt)}}}},Fab$1={morphOpen(et,_e){const tt=this,nt=$$1(et),rt=$$1(_e);if(rt.length===0)return;rt.transition(0).addClass("fab-morph-target-visible");const st={width:rt[0].offsetWidth,height:rt[0].offsetHeight,offset:rt.offset(),borderRadius:rt.css("border-radius"),zIndex:rt.css("z-index")},it={width:nt[0].offsetWidth,height:nt[0].offsetHeight,offset:nt.offset(),translateX:getTranslate$1(nt[0],"x"),translateY:getTranslate$1(nt[0],"y")};nt[0].f7FabMorphData={$targetEl:rt,target:st,fab:it};const at=it.offset.left+it.width/2-(st.offset.left+st.width/2)-it.translateX,ot=it.offset.top+it.height/2-(st.offset.top+st.height/2)-it.translateY,lt=st.width/it.width,ct=st.height/it.height;let ut=Math.ceil(parseInt(st.borderRadius,10)/Math.max(lt,ct));ut>0&&(ut+=2),nt[0].f7FabMorphResizeHandler=function(){nt.transition(0).transform(""),rt.transition(0),st.width=rt[0].offsetWidth,st.height=rt[0].offsetHeight,st.offset=rt.offset(),it.offset=nt.offset();const ft=it.offset.left+it.width/2-(st.offset.left+st.width/2)-it.translateX,pt=it.offset.top+it.height/2-(st.offset.top+st.height/2)-it.translateY,ht=st.width/it.width,vt=st.height/it.height;nt.transform(`translate3d(${-ft}px, ${-pt}px, 0) scale(${ht}, ${vt})`)},rt.css("opacity",0).transform(`scale(${1/lt}, ${1/ct})`),nt.addClass("fab-opened").css("z-index",st.zIndex-1).transform(`translate3d(${-at}px, ${-ot}px, 0)`),nt.transitionEnd(()=>{rt.transition(""),nextFrame(()=>{rt.css("opacity",1).transform("scale(1,1)"),nt.transform(`translate3d(${-at}px, ${-ot}px, 0) scale(${lt}, ${ct})`).css("border-radius",`${ut}px`).css("box-shadow","none").css("opacity","0")}),tt.on("resize",nt[0].f7FabMorphResizeHandler),rt.parents(".page-content").length>0&&rt.parents(".page-content").on("scroll",nt[0].f7FabMorphResizeHandler)})},morphClose(et){const _e=this,tt=$$1(et),nt=tt[0].f7FabMorphData;if(!nt)return;const{$targetEl:rt,target:st,fab:it}=nt;if(rt.length===0)return;const at=it.offset.left+it.width/2-(st.offset.left+st.width/2)-it.translateX,ot=it.offset.top+it.height/2-(st.offset.top+st.height/2)-it.translateY,lt=st.width/it.width,ct=st.height/it.height;_e.off("resize",tt[0].f7FabMorphResizeHandler),rt.parents(".page-content").length>0&&rt.parents(".page-content").off("scroll",tt[0].f7FabMorphResizeHandler),rt.css("opacity",0).transform(`scale(${1/lt}, ${1/ct})`),tt.transition("").css("box-shadow","").css("border-radius","").css("opacity","1").transform(`translate3d(${-at}px, ${-ot}px, 0)`),tt.transitionEnd(()=>{tt.css("z-index","").removeClass("fab-opened").transform(""),nextFrame(()=>{tt.transitionEnd(()=>{rt.removeClass("fab-morph-target-visible").css("opacity","").transform("").transition("")})})})},open(et,_e){const tt=this,nt=$$1(et).eq(0),rt=nt.find(".fab-buttons");if(nt.length&&!nt.hasClass("fab-opened")&&!(!rt.length&&!nt.hasClass("fab-morph"))){if(tt.fab.openedEl){if(tt.fab.openedEl===nt[0])return;tt.fab.close(tt.fab.openedEl)}tt.fab.openedEl=nt[0],nt.hasClass("fab-morph")?tt.fab.morphOpen(nt,_e||nt.attr("data-morph-to")):nt.addClass("fab-opened"),nt.siblings(".fab-backdrop").addClass("backdrop-in"),nt.trigger("fab:open")}},close(et){et===void 0&&(et=".fab-opened");const _e=this,tt=$$1(et).eq(0),nt=tt.find(".fab-buttons");tt.length&&tt.hasClass("fab-opened")&&(!nt.length&&!tt.hasClass("fab-morph")||(_e.fab.openedEl=null,tt.hasClass("fab-morph")?_e.fab.morphClose(tt):tt.removeClass("fab-opened"),tt.siblings(".fab-backdrop").removeClass("backdrop-in"),tt.trigger("fab:close")))},toggle(et){const _e=this;$$1(et).hasClass("fab-opened")?_e.fab.close(et):_e.fab.open(et)}},Fab$2={name:"fab",create(){bindMethods(this,{fab:{openedEl:null,...Fab$1}})},clicks:{".fab > a":function(_e){this.fab.toggle(_e.parents(".fab"))},".fab-open":function(_e,tt){tt===void 0&&(tt={}),this.fab.open(tt.fab)},".fab-close":function(_e,tt){tt===void 0&&(tt={}),this.fab.close(tt.fab)},".fab-backdrop":function(){this.fab.close()}}};let Searchbar$2=class extends Framework7Class{constructor(_e,tt){tt===void 0&&(tt={}),super(tt,[_e]);const nt=this,rt={el:void 0,inputEl:void 0,inputEvents:"change input compositionend",disableButton:!0,disableButtonEl:void 0,backdropEl:void 0,searchContainer:void 0,searchItem:"li",searchIn:void 0,searchGroup:".list-group",searchGroupTitle:".list-group-title",ignore:".searchbar-ignore",foundEl:".searchbar-found",notFoundEl:".searchbar-not-found",hideOnEnableEl:".searchbar-hide-on-enable",hideOnSearchEl:".searchbar-hide-on-search",backdrop:!0,removeDiacritics:!0,customSearch:!1,hideGroupTitles:!0,hideGroups:!0,disableOnBackdropClick:!0,expandable:!1,inline:!1};nt.useModulesParams(rt),nt.params=extend$5(rt,tt);const st=$$1(nt.params.el);if(st.length===0)return nt;if(st[0].f7Searchbar)return st[0].f7Searchbar;st[0].f7Searchbar=nt;let it;const at=st.parents(".navbar");if(st.parents(".page").length>0)it=st.parents(".page");else if(at.length>0&&(it=$$1(_e.navbar.getPageByEl(at[0])),!it.length)){const Mt=st.parents(".view").find(".page-current");Mt[0]&&Mt[0].f7Page&&Mt[0].f7Page.navbarEl===at[0]&&(it=Mt)}let ot;tt.foundEl?ot=$$1(tt.foundEl):typeof nt.params.foundEl=="string"&&it&&(ot=it.find(nt.params.foundEl));let lt;tt.notFoundEl?lt=$$1(tt.notFoundEl):typeof nt.params.notFoundEl=="string"&&it&&(lt=it.find(nt.params.notFoundEl));let ct;tt.hideOnEnableEl?ct=$$1(tt.hideOnEnableEl):typeof nt.params.hideOnEnableEl=="string"&&it&&(ct=it.find(nt.params.hideOnEnableEl));let ut;tt.hideOnSearchEl?ut=$$1(tt.hideOnSearchEl):typeof nt.params.hideOnSearchEl=="string"&&it&&(ut=it.find(nt.params.hideOnSearchEl));const dt=nt.params.expandable||st.hasClass("searchbar-expandable"),ft=nt.params.inline||st.hasClass("searchbar-inline");typeof nt.params.backdrop>"u"&&(nt.params.backdrop=!ft);let pt;nt.params.backdrop&&(nt.params.backdropEl?pt=$$1(nt.params.backdropEl):it&&it.length>0?pt=it.find(".searchbar-backdrop"):pt=st.siblings(".searchbar-backdrop"),pt.length===0&&(pt=$$1('
        '),it&&it.length?st.parents(it).length>0&&at&&st.parents(at).length===0?pt.insertBefore(st):pt.insertBefore(it.find(".page-content").eq(0)):pt.insertBefore(st)));let ht;nt.params.searchContainer&&(ht=$$1(nt.params.searchContainer));let vt;nt.params.inputEl?vt=$$1(nt.params.inputEl):vt=st.find('input[type="search"]').eq(0);let gt;nt.params.disableButton&&(nt.params.disableButtonEl?gt=$$1(nt.params.disableButtonEl):gt=st.find(".searchbar-disable-button")),extend$5(nt,{app:_e,view:_e.views.get(st.parents(".view")),$el:st,el:st[0],$backdropEl:pt,backdropEl:pt&&pt[0],$searchContainer:ht,searchContainer:ht&&ht[0],$inputEl:vt,inputEl:vt[0],$disableButtonEl:gt,disableButtonEl:gt&>[0],disableButtonHasMargin:!1,$pageEl:it,pageEl:it&&it[0],$navbarEl:at,navbarEl:at&&at[0],$foundEl:ot,foundEl:ot&&ot[0],$notFoundEl:lt,notFoundEl:lt&<[0],$hideOnEnableEl:ct,hideOnEnableEl:ct&&ct[0],$hideOnSearchEl:ut,hideOnSearchEl:ut&&ut[0],previousQuery:"",query:"",isVirtualList:ht&&ht.hasClass("virtual-list"),virtualList:void 0,enabled:!1,expandable:dt,inline:ft});function mt(Mt){Mt.preventDefault()}function bt(Mt){nt.enable(Mt),nt.$el.addClass("searchbar-focused")}function xt(){nt.$el.removeClass("searchbar-focused")}function yt(){const Mt=nt.$inputEl.val().trim();(nt.$searchContainer&&nt.$searchContainer.length>0&&(nt.params.searchIn||nt.isVirtualList||nt.params.searchIn===nt.params.searchItem)||nt.params.customSearch)&&nt.search(Mt,!0)}function $t(Mt,St){nt.$el.trigger("searchbar:clear",St),nt.emit("local::clear searchbarClear",nt,St)}function wt(Mt){nt.disable(Mt)}function Ct(){!nt||nt&&!nt.$el||nt.enabled&&(nt.$el.removeClass("searchbar-enabled"),nt.expandable&&nt.$el.parents(".navbar").removeClass("with-searchbar-expandable-enabled with-searchbar-expandable-enabled-no-transition"))}function Et(){!nt||nt&&!nt.$el||nt.enabled&&(nt.$el.addClass("searchbar-enabled"),nt.expandable&&nt.$el.parents(".navbar").addClass("with-searchbar-expandable-enabled-no-transition"))}return nt.attachEvents=function(){st.on("submit",mt),nt.params.disableButton&&nt.$disableButtonEl.on("click",wt),nt.params.disableOnBackdropClick&&nt.$backdropEl&&nt.$backdropEl.on("click",wt),nt.expandable&&_e.theme==="ios"&&nt.view&&at.length&&nt.$pageEl&&(nt.$pageEl.on("page:beforeout",Ct),nt.$pageEl.on("page:beforein",Et)),nt.$inputEl.on("focus",bt),nt.$inputEl.on("blur",xt),nt.$inputEl.on(nt.params.inputEvents,yt),nt.$inputEl.on("input:clear",$t)},nt.detachEvents=function(){st.off("submit",mt),nt.params.disableButton&&nt.$disableButtonEl.off("click",wt),nt.params.disableOnBackdropClick&&nt.$backdropEl&&nt.$backdropEl.off("click",wt),nt.expandable&&_e.theme==="ios"&&nt.view&&at.length&&nt.$pageEl&&(nt.$pageEl.off("page:beforeout",Ct),nt.$pageEl.off("page:beforein",Et)),nt.$inputEl.off("focus",bt),nt.$inputEl.off("blur",xt),nt.$inputEl.off(nt.params.inputEvents,yt),nt.$inputEl.off("input:clear",$t)},nt.useModules(),nt.init(),nt}clear(_e){const tt=this;if(!tt.query&&_e&&$$1(_e.target).hasClass("searchbar-clear"))return tt.disable(),tt;const nt=tt.value;return tt.$inputEl.val("").trigger("change").focus(),tt.$el.trigger("searchbar:clear",nt),tt.emit("local::clear searchbarClear",tt,nt),tt}setDisableButtonMargin(){const _e=this;if(_e.expandable)return;const tt=_e.app;_e.$disableButtonEl.transition(0).show(),_e.$disableButtonEl.css(`margin-${tt.rtl?"left":"right"}`,`${-_e.disableButtonEl.offsetWidth}px`),_e._clientLeft=_e.$disableButtonEl[0].clientLeft,_e.$disableButtonEl.transition(""),_e.disableButtonHasMargin=!0}enable(_e){const tt=this;if(tt.enabled)return tt;const nt=tt.app,rt=getDocument$1(),st=getDevice$1();tt.enabled=!0;function it(){if(tt.$backdropEl&&(tt.$searchContainer&&tt.$searchContainer.length||tt.params.customSearch)&&!tt.$el.hasClass("searchbar-enabled")&&!tt.query&&tt.backdropShow(),tt.$el.addClass("searchbar-enabled"),(!tt.$disableButtonEl||tt.$disableButtonEl&&tt.$disableButtonEl.length===0)&&tt.$el.addClass("searchbar-enabled-no-disable-button"),!tt.expandable&&tt.$disableButtonEl&&tt.$disableButtonEl.length>0&&nt.theme!=="md"&&(tt.disableButtonHasMargin||tt.setDisableButtonMargin(),tt.$disableButtonEl.css(`margin-${nt.rtl?"left":"right"}`,"0px")),tt.expandable){const lt=tt.$el.parents(".navbar");if(lt.hasClass("navbar-large")&&tt.$pageEl){const ct=tt.$pageEl.find(".page-content"),ut=lt.find(".title-large");ct.addClass("with-searchbar-expandable-enabled"),lt.hasClass("navbar-large")&<.hasClass("navbar-large-collapsed")&&ut.length&&ct.length&&(ct.transition(0),ct[0].scrollTop-=ut[0].offsetHeight,setTimeout(()=>{ct.transition("")},200))}nt.theme==="md"&<.length?lt.addClass("with-searchbar-expandable-enabled"):(lt.addClass("with-searchbar-expandable-enabled"),lt.hasClass("navbar-large")&<.addClass("navbar-large-collapsed"))}tt.$hideOnEnableEl&&tt.$hideOnEnableEl.addClass("hidden-by-searchbar"),tt.$el.trigger("searchbar:enable"),tt.emit("local::enable searchbarEnable",tt)}let at=!1;return _e===!0&&rt.activeElement!==tt.inputEl&&(at=!0),st.ios&&nt.theme==="ios"?tt.expandable?(at&&tt.$inputEl.focus(),it()):(at&&tt.$inputEl.focus(),_e&&(_e.type==="focus"||_e===!0)?nextTick$2(()=>{it()},400):it()):(at&&tt.$inputEl.focus(),nt.theme==="md"&&tt.expandable&&tt.$el.parents(".page, .view, .navbar-inner, .navbar").scrollLeft(nt.rtl?100:0),it()),tt}disable(){const _e=this;if(!_e.enabled)return _e;const tt=_e.app;if(_e.$inputEl.val("").trigger("change"),_e.$el.removeClass("searchbar-enabled searchbar-focused searchbar-enabled-no-disable-button"),_e.expandable){const nt=_e.$el.parents(".navbar"),rt=_e.$pageEl&&_e.$pageEl.find(".page-content");if(nt.hasClass("navbar-large")&&rt.length){const st=nt.find(".title-large");if(_e.$el.transitionEnd(()=>{rt.removeClass("with-searchbar-expandable-closing")}),nt.hasClass("navbar-large")&&nt.hasClass("navbar-large-collapsed")&&st.length){const it=rt[0].scrollTop,at=st[0].offsetHeight;it>at&&(rt.transition(0),rt[0].scrollTop=it+at,setTimeout(()=>{rt.transition("")},200))}rt.removeClass("with-searchbar-expandable-enabled").addClass("with-searchbar-expandable-closing")}tt.theme==="md"&&nt.length?(nt.removeClass("with-searchbar-expandable-enabled with-searchbar-expandable-enabled-no-transition").addClass("with-searchbar-expandable-closing"),_e.$el.transitionEnd(()=>{nt.removeClass("with-searchbar-expandable-closing")})):(nt.removeClass("with-searchbar-expandable-enabled with-searchbar-expandable-enabled-no-transition").addClass("with-searchbar-expandable-closing"),_e.$el.transitionEnd(()=>{nt.removeClass("with-searchbar-expandable-closing")}),_e.$pageEl&&_e.$pageEl.find(".page-content").trigger("scroll"))}return!_e.expandable&&_e.$disableButtonEl&&_e.$disableButtonEl.length>0&&tt.theme!=="md"&&_e.$disableButtonEl.css(`margin-${tt.rtl?"left":"right"}`,`${-_e.disableButtonEl.offsetWidth}px`),_e.$backdropEl&&(_e.$searchContainer&&_e.$searchContainer.length||_e.params.customSearch)&&_e.backdropHide(),_e.enabled=!1,_e.$inputEl.blur(),_e.$hideOnEnableEl&&_e.$hideOnEnableEl.removeClass("hidden-by-searchbar"),_e.$el.trigger("searchbar:disable"),_e.emit("local::disable searchbarDisable",_e),_e}toggle(){const _e=this;return _e.enabled?_e.disable():_e.enable(!0),_e}backdropShow(){const _e=this;return _e.$backdropEl&&_e.$backdropEl.addClass("searchbar-backdrop-in"),_e}backdropHide(){const _e=this;return _e.$backdropEl&&_e.$backdropEl.removeClass("searchbar-backdrop-in"),_e}search(_e,tt){const nt=this;if(nt.previousQuery=nt.query||"",_e===nt.previousQuery)return nt;tt||(nt.enabled||nt.enable(),nt.$inputEl.val(_e),nt.$inputEl.trigger("input")),nt.query=_e,nt.value=_e;const{$searchContainer:rt,$el:st,$foundEl:it,$notFoundEl:at,$hideOnSearchEl:ot,isVirtualList:lt}=nt;if(_e.length>0&&ot?ot.addClass("hidden-by-searchbar"):ot&&ot.removeClass("hidden-by-searchbar"),(rt&&rt.length&&st.hasClass("searchbar-enabled")||nt.params.customSearch&&st.hasClass("searchbar-enabled"))&&(_e.length===0?nt.backdropShow():nt.backdropHide()),nt.params.customSearch)return st.trigger("searchbar:search",{query:_e,previousQuery:nt.previousQuery}),nt.emit("local::search searchbarSearch",nt,_e,nt.previousQuery),nt;let ct=[],ut;if(lt){if(nt.virtualList=rt[0].f7VirtualList,_e.trim()==="")return nt.virtualList.resetFilter(),at&&at.hide(),it&&it.show(),st.trigger("searchbar:search",{query:_e,previousQuery:nt.previousQuery}),nt.emit("local::search searchbarSearch",nt,_e,nt.previousQuery),nt;if(ut=nt.params.removeDiacritics?removeDiacritics(_e):_e,nt.virtualList.params.searchAll)ct=nt.virtualList.params.searchAll(ut,nt.virtualList.items)||[];else if(nt.virtualList.params.searchByItem)for(let dt=0;dt{const pt=$$1(ft);let ht=[],vt=nt.params.searchIn?pt.find(nt.params.searchIn):pt;nt.params.searchIn===nt.params.searchItem&&(vt=pt),vt.each(mt=>{let bt=$$1(mt).text().trim().toLowerCase();nt.params.removeDiacritics&&(bt=removeDiacritics(bt)),ht.push(bt)}),ht=ht.join(" ");let gt=0;for(let mt=0;mt=0&&(gt+=1);gt!==dt.length&&!(nt.params.ignore&&pt.is(nt.params.ignore))?pt.addClass("hidden-by-searchbar"):ct.push(pt[0])}),nt.params.hideGroupTitles&&rt.find(nt.params.searchGroupTitle).each(ft=>{const pt=$$1(ft),ht=pt.nextAll(nt.params.searchItem);let vt=!0;for(let mt=0;mt{const pt=$$1(ft),ht=nt.params.ignore&&pt.is(nt.params.ignore);pt.find(nt.params.searchItem).filter(gt=>!$$1(gt).hasClass("hidden-by-searchbar")).length===0&&!ht?pt.addClass("hidden-by-searchbar"):pt.removeClass("hidden-by-searchbar")})}return ct.length===0?(at&&at.show(),it&&it.hide()):(at&&at.hide(),it&&it.show()),lt&&nt.virtualList&&nt.virtualList.filterItems(ct),st.trigger("searchbar:search",{query:_e,previousQuery:nt.previousQuery,foundItems:ct}),nt.emit("local::search searchbarSearch",nt,_e,nt.previousQuery,ct),nt}init(){const _e=this;_e.expandable&&_e.$el&&_e.$el.addClass("searchbar-expandable"),_e.inline&&_e.$el&&_e.$el.addClass("searchbar-inline"),_e.attachEvents()}destroy(){const _e=this;_e.emit("local::beforeDestroy searchbarBeforeDestroy",_e),_e.$el.trigger("searchbar:beforedestroy"),_e.detachEvents(),_e.$el[0]&&(_e.$el[0].f7Searchbar=null,delete _e.$el[0].f7Searchbar),deleteProps$1(_e)}};const Searchbar$1={name:"searchbar",static:{Searchbar:Searchbar$2},create(){const et=this;et.searchbar=ConstructorMethods({defaultSelector:".searchbar",constructor:Searchbar$2,app:et,domProp:"f7Searchbar",addMethods:"clear enable disable toggle search".split(" ")})},on:{tabMounted(et){const _e=this;$$1(et).find(".searchbar-init").each(tt=>{const nt=$$1(tt);_e.searchbar.create(extend$5(nt.dataset(),{el:tt}))})},tabBeforeRemove(et){$$1(et).find(".searchbar-init").each(_e=>{_e.f7Searchbar&&_e.f7Searchbar.destroy&&_e.f7Searchbar.destroy()})},pageInit(et){const _e=this;et.$el.find(".searchbar-init").each(tt=>{const nt=$$1(tt);_e.searchbar.create(extend$5(nt.dataset(),{el:tt}))}),_e.theme==="ios"&&et.view&&et.view.router.dynamicNavbar&&et.$navbarEl&&et.$navbarEl.length>0&&et.$navbarEl.find(".searchbar-init").each(tt=>{const nt=$$1(tt);_e.searchbar.create(extend$5(nt.dataset(),{el:tt}))})},pageBeforeRemove(et){const _e=this;et.$el.find(".searchbar-init").each(tt=>{tt.f7Searchbar&&tt.f7Searchbar.destroy&&tt.f7Searchbar.destroy()}),_e.theme==="ios"&&et.view&&et.view.router.dynamicNavbar&&et.$navbarEl&&et.$navbarEl.length>0&&et.$navbarEl.find(".searchbar-init").each(tt=>{tt.f7Searchbar&&tt.f7Searchbar.destroy&&tt.f7Searchbar.destroy()})}},clicks:{".searchbar-clear":function(_e,tt){tt===void 0&&(tt={});const rt=this.searchbar.get(tt.searchbar);rt&&rt.clear()},".searchbar-enable":function(_e,tt){tt===void 0&&(tt={});const rt=this.searchbar.get(tt.searchbar);rt&&rt.enable(!0)},".searchbar-disable":function(_e,tt){tt===void 0&&(tt={});const rt=this.searchbar.get(tt.searchbar);rt&&rt.disable()},".searchbar-toggle":function(_e,tt){tt===void 0&&(tt={});const rt=this.searchbar.get(tt.searchbar);rt&&rt.toggle()}},vnode:{"searchbar-init":{insert(et){const _e=this,tt=et.elm,nt=$$1(tt);_e.searchbar.create(extend$5(nt.dataset(),{el:tt}))},destroy(et){const _e=et.elm;_e.f7Searchbar&&_e.f7Searchbar.destroy&&_e.f7Searchbar.destroy()}}}};function _extends$1o(){return _extends$1o=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e${nt.textHeader}`,"")),nt.text&&nt.textFooter&&(nt.text=nt.text.replace(``,""));let rt=tt.find(".message-avatar").css("background-image");return(rt==="none"||rt==="")&&(rt=void 0),rt&&typeof rt=="string"?rt=rt.replace("url(","").replace(")","").replace(/"/g,"").replace(/'/g,""):rt=void 0,nt.avatar=rt,nt}getMessagesData(){const _e=this,tt=[];return _e.$el.find(".message, .messages-title").each(nt=>{tt.push(_e.getMessageData(nt))}),tt}renderMessage(_e){const tt=this,nt=extend$5({type:"sent",attrs:{}},_e);return tt.params.renderMessage?tt.params.renderMessage.call(tt,nt):nt.isTitle?`
        ${nt.text}
        `:$jsx("div",_extends$1o({class:`message message-${nt.type} ${nt.isTyping?"message-typing":""} ${nt.cssClass||""}`},nt.attrs),nt.avatar&&$jsx("div",{class:"message-avatar",style:`background-image:url(${nt.avatar})`}),$jsx("div",{class:"message-content"},nt.name&&$jsx("div",{class:"message-name"},nt.name),nt.header&&$jsx("div",{class:"message-header"},nt.header),$jsx("div",{class:"message-bubble"},nt.textHeader&&$jsx("div",{class:"message-text-header"},nt.textHeader),nt.image&&$jsx("div",{class:"message-image"},nt.image),nt.imageSrc&&!nt.image&&$jsx("div",{class:"message-image"},$jsx("img",{src:nt.imageSrc})),(nt.text||nt.isTyping)&&$jsx("div",{class:"message-text"},nt.text||"",nt.isTyping&&$jsx("div",{class:"message-typing-indicator"},$jsx("div",null),$jsx("div",null),$jsx("div",null))),nt.textFooter&&$jsx("div",{class:"message-text-footer"},nt.textFooter)),nt.footer&&$jsx("div",{class:"message-footer"},nt.footer)))}renderMessages(_e,tt){_e===void 0&&(_e=this.messages),tt===void 0&&(tt=this.params.newMessagesFirst?"prepend":"append");const nt=this,rt=_e.map(st=>nt.renderMessage(st)).join("");nt.$el[tt](rt)}isFirstMessage(){const _e=this;return _e.params.firstMessageRule?_e.params.firstMessageRule(...arguments):!1}isLastMessage(){const _e=this;return _e.params.lastMessageRule?_e.params.lastMessageRule(...arguments):!1}isTailMessage(){const _e=this;return _e.params.tailMessageRule?_e.params.tailMessageRule(...arguments):!1}isSameNameMessage(){const _e=this;return _e.params.sameNameMessageRule?_e.params.sameNameMessageRule(...arguments):!1}isSameHeaderMessage(){const _e=this;return _e.params.sameHeaderMessageRule?_e.params.sameHeaderMessageRule(...arguments):!1}isSameFooterMessage(){const _e=this;return _e.params.sameFooterMessageRule?_e.params.sameFooterMessageRule(...arguments):!1}isSameAvatarMessage(){const _e=this;return _e.params.sameAvatarMessageRule?_e.params.sameAvatarMessageRule(...arguments):!1}isCustomClassMessage(){const _e=this;if(_e.params.customClassMessageRule)return _e.params.customClassMessageRule(...arguments)}layout(){const _e=this;_e.$el.find(".message, .messages-title").each((tt,nt)=>{const rt=$$1(tt);_e.messages||(_e.messages=_e.getMessagesData());const st=[],it=_e.messages[nt],at=_e.messages[nt-1],ot=_e.messages[nt+1];_e.isFirstMessage(it,at,ot)&&st.push("message-first"),_e.isLastMessage(it,at,ot)&&st.push("message-last"),_e.isTailMessage(it,at,ot)&&st.push("message-tail"),_e.isSameNameMessage(it,at,ot)&&st.push("message-same-name"),_e.isSameHeaderMessage(it,at,ot)&&st.push("message-same-header"),_e.isSameFooterMessage(it,at,ot)&&st.push("message-same-footer"),_e.isSameAvatarMessage(it,at,ot)&&st.push("message-same-avatar");let lt=_e.isCustomClassMessage(it,at,ot);lt&<.length&&(typeof lt=="string"&&(lt=lt.split(" ")),lt.forEach(ct=>{st.push(ct)})),rt.removeClass("message-first message-last message-tail message-same-name message-same-header message-same-footer message-same-avatar"),st.forEach(ct=>{rt.addClass(ct)})})}clear(){const _e=this;_e.messages=[],_e.$el.html("")}removeMessage(_e,tt){tt===void 0&&(tt=!0);const nt=this;let rt,st;return typeof _e=="number"?(rt=_e,st=nt.$el.find(".message, .messages-title").eq(rt)):nt.messages&&nt.messages.indexOf(_e)>=0?(rt=nt.messages.indexOf(_e),st=nt.$el.children().eq(rt)):(st=$$1(_e),rt=st.index()),st.length===0||(st.remove(),nt.messages.splice(rt,1),nt.params.autoLayout&&tt&&nt.layout()),nt}removeMessages(_e,tt){tt===void 0&&(tt=!0);const nt=this;if(Array.isArray(_e)){const rt=[];_e.forEach(st=>{rt.push(nt.$el.find(".message, .messages-title").eq(st))}),rt.forEach(st=>{nt.removeMessage(st,!1)})}else $$1(_e).each(rt=>{nt.removeMessage(rt,!1)});return nt.params.autoLayout&&tt&&nt.layout(),nt}addMessage(){const _e=this;let tt,nt,rt;for(var st=arguments.length,it=new Array(st),at=0;at"u"&&(nt=!0),typeof rt>"u"&&(rt=_e.params.newMessagesFirst?"prepend":"append"),_e.addMessages([tt],nt,rt)}setScrollData(){const _e=this,tt=_e.pageContentEl.scrollHeight,nt=_e.pageContentEl.offsetHeight,rt=_e.pageContentEl.scrollTop;return _e.scrollData={scrollHeightBefore:tt,heightBefore:nt,scrollBefore:rt},{scrollHeightBefore:tt,heightBefore:nt,scrollBefore:rt}}addMessages(){const _e=this;let tt,nt,rt;for(var st=arguments.length,it=new Array(st),at=0;at"u"&&(nt=!0),typeof rt>"u"&&(rt=_e.params.newMessagesFirst?"prepend":"append");const{scrollHeightBefore:ot,scrollBefore:lt}=_e.setScrollData();let ct="";const ut=_e.messages.filter(ft=>ft.isTyping)[0];tt.forEach(ft=>{ut?rt==="append"?_e.messages.splice(_e.messages.indexOf(ut),0,ft):_e.messages.splice(_e.messages.indexOf(ut)+1,0,ft):_e.messages[rt==="append"?"push":"unshift"](ft),ct+=_e.renderMessage(ft)});const dt=$$1(ct);return nt&&(rt==="append"&&!_e.params.newMessagesFirst&&dt.addClass("message-appear-from-bottom"),rt==="prepend"&&_e.params.newMessagesFirst&&dt.addClass("message-appear-from-top")),ut?rt==="append"?dt.insertBefore(_e.$el.find(".message-typing")):dt.insertAfter(_e.$el.find(".message-typing")):_e.$el[rt](dt),_e.params.autoLayout&&_e.layout(),rt==="prepend"&&!ut&&(_e.pageContentEl.scrollTop=lt+(_e.pageContentEl.scrollHeight-ot)),_e.params.scrollMessages&&(rt==="append"&&!_e.params.newMessagesFirst||rt==="prepend"&&_e.params.newMessagesFirst&&!ut)&&_e.scrollWithEdgeCheck(nt),_e}showTyping(_e){_e===void 0&&(_e={});const tt=this,nt=tt.messages.filter(rt=>rt.isTyping)[0];return nt&&tt.removeMessage(tt.messages.indexOf(nt)),tt.addMessage(extend$5({type:"received",isTyping:!0},_e)),tt}hideTyping(){const _e=this;let tt,nt;if(_e.messages.forEach((rt,st)=>{rt.isTyping&&(tt=st)}),typeof tt<"u"&&_e.$el.find(".message").eq(tt).hasClass("message-typing")&&(nt=!0,_e.removeMessage(tt)),!nt){const rt=_e.$el.find(".message-typing");rt.length&&_e.removeMessage(rt)}return _e}scrollWithEdgeCheck(_e){const tt=this,{scrollBefore:nt,scrollHeightBefore:rt,heightBefore:st}=tt.scrollData;if(tt.params.scrollMessagesOnEdge){let it=!1;tt.params.newMessagesFirst&&nt===0&&(it=!0),!tt.params.newMessagesFirst&&nt-(rt-st)>=-10&&(it=!0),it&&tt.scroll(_e?void 0:0)}else tt.scroll(_e?void 0:0)}scroll(_e,tt){_e===void 0&&(_e=300);const nt=this,rt=nt.pageContentEl.scrollTop;let st;if(typeof tt<"u")st=tt;else if(st=nt.params.newMessagesFirst?0:nt.pageContentEl.scrollHeight-nt.pageContentEl.offsetHeight,st===rt)return nt;return nt.$pageContentEl.scrollTop(st,_e),nt}init(){const _e=this;(!_e.messages||_e.messages.length===0)&&(_e.messages=_e.getMessagesData()),_e.params.messages&&_e.params.messages.length&&_e.renderMessages(),_e.params.autoLayout&&_e.layout(),_e.params.scrollMessages&&_e.scroll(0)}destroy(){const _e=this;_e.emit("local::beforeDestroy messagesBeforeDestroy",_e),_e.$el.trigger("messages:beforedestroy"),_e.$el[0]&&(_e.$el[0].f7Messages=null,delete _e.$el[0].f7Messages),deleteProps$1(_e)}};const Messages$1={name:"messages",static:{Messages:Messages$2},create(){const et=this;et.messages=ConstructorMethods({defaultSelector:".messages",constructor:Messages$2,app:et,domProp:"f7Messages",addMethods:"renderMessages layout scroll clear removeMessage removeMessages addMessage addMessages".split(" ")})},on:{tabBeforeRemove(et){const _e=this;$$1(et).find(".messages-init").each(tt=>{_e.messages.destroy(tt)})},tabMounted(et){const _e=this;$$1(et).find(".messages-init").each(tt=>{_e.messages.create({el:tt})})},pageBeforeRemove(et){const _e=this;et.$el.find(".messages-init").each(tt=>{_e.messages.destroy(tt)})},pageInit(et){const _e=this;et.$el.find(".messages-init").each(tt=>{_e.messages.create({el:tt})})}},vnode:{"messages-init":{insert(et){const _e=this,tt=et.elm;_e.messages.create({el:tt})},destroy(et){const _e=this,tt=et.elm;_e.messages.destroy(tt)}}}};let Messagebar$2=class extends Framework7Class{constructor(_e,tt){tt===void 0&&(tt={}),super(tt,[_e]);const nt=this,rt={top:!1,topOffset:0,bottomOffset:0,attachments:[],renderAttachments:void 0,renderAttachment:void 0,maxHeight:null,resizePage:!0};nt.useModulesParams(rt),nt.params=extend$5(rt,tt);const st=$$1(nt.params.el);if(st.length===0)return nt;if(st[0].f7Messagebar)return st[0].f7Messagebar;st[0].f7Messagebar=nt;const it=st.parents(".page").eq(0),at=it.find(".page-content").eq(0),ot=st.find(".messagebar-area");let lt;nt.params.textareaEl?lt=$$1(nt.params.textareaEl):lt=st.find("textarea");const ct=st.find(".messagebar-attachments"),ut=st.find(".messagebar-sheet");nt.params.top&&st.addClass("messagebar-top"),extend$5(nt,{$el:st,el:st[0],$areaEl:ot,areaEl:ot[0],$textareaEl:lt,textareaEl:lt[0],$attachmentsEl:ct,attachmentsEl:ct[0],attachmentsVisible:ct.hasClass("messagebar-attachments-visible"),$sheetEl:ut,sheetEl:ut[0],sheetVisible:ut.hasClass("messagebar-sheet-visible"),$pageEl:it,pageEl:it[0],$pageContentEl:at,pageContentEl:at,top:st.hasClass("messagebar-top")||nt.params.top,attachments:[]});function dt(){nt.params.resizePage&&nt.resizePage()}function ft(mt){mt.preventDefault()}function pt(mt){const bt=$$1(this).index();$$1(mt.target).closest(".messagebar-attachment-delete").length?($$1(this).trigger("messagebar:attachmentdelete",bt),nt.emit("local::attachmentDelete messagebarAttachmentDelete",nt,this,bt)):($$1(this).trigger("messagebar:attachmentclick",bt),nt.emit("local::attachmentClick messagebarAttachmentClick",nt,this,bt))}function ht(){nt.checkEmptyState(),nt.$el.trigger("messagebar:change"),nt.emit("local::change messagebarChange",nt)}function vt(){nt.sheetHide(),nt.$el.addClass("messagebar-focused"),nt.$el.trigger("messagebar:focus"),nt.emit("local::focus messagebarFocus",nt)}function gt(){nt.$el.removeClass("messagebar-focused"),nt.$el.trigger("messagebar:blur"),nt.emit("local::blur messagebarBlur",nt)}return nt.attachEvents=function(){st.on("textarea:resize",dt),st.on("submit",ft),st.on("click",".messagebar-attachment",pt),lt.on("change input",ht),lt.on("focus",vt),lt.on("blur",gt),_e.on("resize",dt)},nt.detachEvents=function(){st.off("textarea:resize",dt),st.off("submit",ft),st.off("click",".messagebar-attachment",pt),lt.off("change input",ht),lt.off("focus",vt),lt.off("blur",gt),_e.off("resize",dt)},nt.useModules(),nt.init(),nt}focus(){const _e=this;return _e.$textareaEl.focus(),_e}blur(){const _e=this;return _e.$textareaEl.blur(),_e}clear(){const _e=this;return _e.$textareaEl.val("").trigger("change"),_e}getValue(){return this.$textareaEl.val().trim()}setValue(_e){const tt=this;return tt.$textareaEl.val(_e).trigger("change"),tt}setPlaceholder(_e){const tt=this;return tt.$textareaEl.attr("placeholder",_e),tt}resizePage(){const _e=this,{params:tt,$el:nt,top:rt,$pageEl:st,$pageContentEl:it,$areaEl:at,$textareaEl:ot,$sheetEl:lt,$attachmentsEl:ct}=_e,ut=nt[0].offsetHeight;let dt=tt.maxHeight;if(!rt){const ft=parseInt(it.css("padding-bottom"),10),pt=ut+tt.bottomOffset;if(pt!==ft&&it.length){const ht=parseInt(it.css("padding-top"),10),vt=it[0].scrollHeight,gt=it[0].offsetHeight,bt=it[0].scrollTop===vt-gt;dt||(dt=st[0].offsetHeight-ht-lt.outerHeight()-ct.outerHeight()-parseInt(at.css("margin-top"),10)-parseInt(at.css("margin-bottom"),10)),ot.css("max-height",`${dt}px`),it.css("padding-bottom",`${pt}px`),bt&&it.scrollTop(it[0].scrollHeight-gt),nt.trigger("messagebar:resizepage"),_e.emit("local::resizePage messagebarResizePage",_e)}}}checkEmptyState(){const _e=this,{$el:tt,$textareaEl:nt}=_e,rt=nt.val().trim();rt&&rt.length?tt.addClass("messagebar-with-value"):tt.removeClass("messagebar-with-value")}attachmentsCreate(_e){_e===void 0&&(_e="");const tt=this,nt=$$1(`
        ${_e}
        `);return nt.insertBefore(tt.$textareaEl),extend$5(tt,{$attachmentsEl:nt,attachmentsEl:nt[0]}),tt}attachmentsShow(_e){_e===void 0&&(_e="");const tt=this;return tt.$attachmentsEl=tt.$el.find(".messagebar-attachments"),tt.$attachmentsEl.length===0&&tt.attachmentsCreate(_e),tt.$el.addClass("messagebar-attachments-visible"),tt.attachmentsVisible=!0,tt.params.resizePage&&tt.resizePage(),tt}attachmentsHide(){const _e=this;return _e.$el.removeClass("messagebar-attachments-visible"),_e.attachmentsVisible=!1,_e.params.resizePage&&_e.resizePage(),_e}attachmentsToggle(){const _e=this;return _e.attachmentsVisible?_e.attachmentsHide():_e.attachmentsShow(),_e}renderAttachment(_e){const tt=this;return tt.params.renderAttachment?tt.params.renderAttachment.call(tt,_e):` +
        + + +
        + `}renderAttachments(){const _e=this;let tt;_e.params.renderAttachments?tt=_e.params.renderAttachments.call(_e,_e.attachments):tt=`${_e.attachments.map(nt=>_e.renderAttachment(nt)).join("")}`,_e.$attachmentsEl.length===0?_e.attachmentsCreate(tt):_e.$attachmentsEl.html(tt)}sheetCreate(_e){_e===void 0&&(_e="");const tt=this,nt=$$1(`
        ${_e}
        `);return tt.$el.append(nt),extend$5(tt,{$sheetEl:nt,sheetEl:nt[0]}),tt}sheetShow(_e){_e===void 0&&(_e="");const tt=this;return tt.$sheetEl=tt.$el.find(".messagebar-sheet"),tt.$sheetEl.length===0&&tt.sheetCreate(_e),tt.$el.addClass("messagebar-sheet-visible"),tt.sheetVisible=!0,tt.params.resizePage&&tt.resizePage(),tt}sheetHide(){const _e=this;return _e.$el.removeClass("messagebar-sheet-visible"),_e.sheetVisible=!1,_e.params.resizePage&&_e.resizePage(),_e}sheetToggle(){const _e=this;return _e.sheetVisible?_e.sheetHide():_e.sheetShow(),_e}init(){const _e=this;return _e.attachEvents(),_e.checkEmptyState(),_e}destroy(){const _e=this;_e.emit("local::beforeDestroy messagebarBeforeDestroy",_e),_e.$el.trigger("messagebar:beforedestroy"),_e.detachEvents(),_e.$el[0]&&(_e.$el[0].f7Messagebar=null,delete _e.$el[0].f7Messagebar),deleteProps$1(_e)}};const Messagebar$1={name:"messagebar",static:{Messagebar:Messagebar$2},create(){const et=this;et.messagebar=ConstructorMethods({defaultSelector:".messagebar",constructor:Messagebar$2,app:et,domProp:"f7Messagebar",addMethods:"clear getValue setValue setPlaceholder resizePage focus blur attachmentsCreate attachmentsShow attachmentsHide attachmentsToggle renderAttachments sheetCreate sheetShow sheetHide sheetToggle".split(" ")})},on:{tabBeforeRemove(et){const _e=this;$$1(et).find(".messagebar-init").each(tt=>{_e.messagebar.destroy(tt)})},tabMounted(et){const _e=this;$$1(et).find(".messagebar-init").each(tt=>{_e.messagebar.create(extend$5({el:tt},$$1(tt).dataset()))})},pageBeforeRemove(et){const _e=this;et.$el.find(".messagebar-init").each(tt=>{_e.messagebar.destroy(tt)})},pageInit(et){const _e=this;et.$el.find(".messagebar-init").each(tt=>{_e.messagebar.create(extend$5({el:tt},$$1(tt).dataset()))})}},vnode:{"messagebar-init":{insert(et){const _e=this,tt=et.elm;_e.messagebar.create(extend$5({el:tt},$$1(tt).dataset()))},destroy(et){const _e=this,tt=et.elm;_e.messagebar.destroy(tt)}}}};function isObject$6(et){return et!==null&&typeof et=="object"&&"constructor"in et&&et.constructor===Object}function extend$4(et,_e){et===void 0&&(et={}),_e===void 0&&(_e={}),Object.keys(_e).forEach(tt=>{typeof et[tt]>"u"?et[tt]=_e[tt]:isObject$6(_e[tt])&&isObject$6(et[tt])&&Object.keys(_e[tt]).length>0&&extend$4(et[tt],_e[tt])})}const ssrDocument={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function getDocument(){const et=typeof document<"u"?document:{};return extend$4(et,ssrDocument),et}const ssrWindow={document:ssrDocument,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(et){return typeof setTimeout>"u"?(et(),null):setTimeout(et,0)},cancelAnimationFrame(et){typeof setTimeout>"u"||clearTimeout(et)}};function getWindow(){const et=typeof window<"u"?window:{};return extend$4(et,ssrWindow),et}function deleteProps(et){const _e=et;Object.keys(_e).forEach(tt=>{try{_e[tt]=null}catch{}try{delete _e[tt]}catch{}})}function nextTick$1(et,_e){return _e===void 0&&(_e=0),setTimeout(et,_e)}function now$1(){return Date.now()}function getComputedStyle$2(et){const _e=getWindow();let tt;return _e.getComputedStyle&&(tt=_e.getComputedStyle(et,null)),!tt&&et.currentStyle&&(tt=et.currentStyle),tt||(tt=et.style),tt}function getTranslate(et,_e){_e===void 0&&(_e="x");const tt=getWindow();let nt,rt,st;const it=getComputedStyle$2(et);return tt.WebKitCSSMatrix?(rt=it.transform||it.webkitTransform,rt.split(",").length>6&&(rt=rt.split(", ").map(at=>at.replace(",",".")).join(", ")),st=new tt.WebKitCSSMatrix(rt==="none"?"":rt)):(st=it.MozTransform||it.OTransform||it.MsTransform||it.msTransform||it.transform||it.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),nt=st.toString().split(",")),_e==="x"&&(tt.WebKitCSSMatrix?rt=st.m41:nt.length===16?rt=parseFloat(nt[12]):rt=parseFloat(nt[4])),_e==="y"&&(tt.WebKitCSSMatrix?rt=st.m42:nt.length===16?rt=parseFloat(nt[13]):rt=parseFloat(nt[5])),rt||0}function isObject$5(et){return typeof et=="object"&&et!==null&&et.constructor&&Object.prototype.toString.call(et).slice(8,-1)==="Object"}function isNode(et){return typeof window<"u"&&typeof window.HTMLElement<"u"?et instanceof HTMLElement:et&&(et.nodeType===1||et.nodeType===11)}function extend$3(){const et=Object(arguments.length<=0?void 0:arguments[0]),_e=["__proto__","constructor","prototype"];for(let tt=1;tt_e.indexOf(st)<0);for(let st=0,it=rt.length;stst?"next":"prev",ct=(dt,ft)=>lt==="next"&&dt>=ft||lt==="prev"&&dt<=ft,ut=()=>{at=new Date().getTime(),it===null&&(it=at);const dt=Math.max(Math.min((at-it)/ot,1),0),ft=.5-Math.cos(dt*Math.PI)/2;let pt=st+ft*(tt-st);if(ct(pt,tt)&&(pt=tt),_e.wrapperEl.scrollTo({[nt]:pt}),ct(pt,tt)){_e.wrapperEl.style.overflow="hidden",_e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{_e.wrapperEl.style.overflow="",_e.wrapperEl.scrollTo({[nt]:pt})}),rt.cancelAnimationFrame(_e.cssModeFrameID);return}_e.cssModeFrameID=rt.requestAnimationFrame(ut)};ut()}function getSlideTransformEl(et){return et.querySelector(".swiper-slide-transform")||et.shadowRoot&&et.shadowRoot.querySelector(".swiper-slide-transform")||et}function elementChildren(et,_e){return _e===void 0&&(_e=""),[...et.children].filter(tt=>tt.matches(_e))}function createElement(et,_e){_e===void 0&&(_e=[]);const tt=document.createElement(et);return tt.classList.add(...Array.isArray(_e)?_e:[_e]),tt}function elementOffset(et){const _e=getWindow(),tt=getDocument(),nt=et.getBoundingClientRect(),rt=tt.body,st=et.clientTop||rt.clientTop||0,it=et.clientLeft||rt.clientLeft||0,at=et===_e?_e.scrollY:et.scrollTop,ot=et===_e?_e.scrollX:et.scrollLeft;return{top:nt.top+at-st,left:nt.left+ot-it}}function elementPrevAll(et,_e){const tt=[];for(;et.previousElementSibling;){const nt=et.previousElementSibling;_e?nt.matches(_e)&&tt.push(nt):tt.push(nt),et=nt}return tt}function elementNextAll(et,_e){const tt=[];for(;et.nextElementSibling;){const nt=et.nextElementSibling;_e?nt.matches(_e)&&tt.push(nt):tt.push(nt),et=nt}return tt}function elementStyle(et,_e){return getWindow().getComputedStyle(et,null).getPropertyValue(_e)}function elementIndex(et){let _e=et,tt;if(_e){for(tt=0;(_e=_e.previousSibling)!==null;)_e.nodeType===1&&(tt+=1);return tt}}function elementParents(et,_e){const tt=[];let nt=et.parentElement;for(;nt;)_e?nt.matches(_e)&&tt.push(nt):tt.push(nt),nt=nt.parentElement;return tt}function elementTransitionEnd(et,_e){function tt(nt){nt.target===et&&(_e.call(et,nt),et.removeEventListener("transitionend",tt))}_e&&et.addEventListener("transitionend",tt)}function elementOuterSize(et,_e,tt){const nt=getWindow();return tt?et[_e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(nt.getComputedStyle(et,null).getPropertyValue(_e==="width"?"margin-right":"margin-top"))+parseFloat(nt.getComputedStyle(et,null).getPropertyValue(_e==="width"?"margin-left":"margin-bottom")):et.offsetWidth}let support;function calcSupport(){const et=getWindow(),_e=getDocument();return{smoothScroll:_e.documentElement&&_e.documentElement.style&&"scrollBehavior"in _e.documentElement.style,touch:!!("ontouchstart"in et||et.DocumentTouch&&_e instanceof et.DocumentTouch)}}function getSupport(){return support||(support=calcSupport()),support}let deviceCached;function calcDevice(et){let{userAgent:_e}=et===void 0?{}:et;const tt=getSupport(),nt=getWindow(),rt=nt.navigator.platform,st=_e||nt.navigator.userAgent,it={ios:!1,android:!1},at=nt.screen.width,ot=nt.screen.height,lt=st.match(/(Android);?[\s\/]+([\d.]+)?/);let ct=st.match(/(iPad).*OS\s([\d_]+)/);const ut=st.match(/(iPod)(.*OS\s([\d_]+))?/),dt=!ct&&st.match(/(iPhone\sOS|iOS)\s([\d_]+)/),ft=rt==="Win32";let pt=rt==="MacIntel";const ht=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!ct&&pt&&tt.touch&&ht.indexOf(`${at}x${ot}`)>=0&&(ct=st.match(/(Version)\/([\d.]+)/),ct||(ct=[0,1,"13_0_0"]),pt=!1),lt&&!ft&&(it.os="android",it.android=!0),(ct||dt||ut)&&(it.os="ios",it.ios=!0),it}function getDevice(et){return et===void 0&&(et={}),deviceCached||(deviceCached=calcDevice(et)),deviceCached}let browser;function calcBrowser(){const et=getWindow();let _e=!1;function tt(){const nt=et.navigator.userAgent.toLowerCase();return nt.indexOf("safari")>=0&&nt.indexOf("chrome")<0&&nt.indexOf("android")<0}if(tt()){const nt=String(et.navigator.userAgent);if(nt.includes("Version/")){const[rt,st]=nt.split("Version/")[1].split(" ")[0].split(".").map(it=>Number(it));_e=rt<16||rt===16&&st<2}}return{isSafari:_e||tt(),needPerspectiveFix:_e,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(et.navigator.userAgent)}}function getBrowser(){return browser||(browser=calcBrowser()),browser}function Resize(et){let{swiper:_e,on:tt,emit:nt}=et;const rt=getWindow();let st=null,it=null;const at=()=>{!_e||_e.destroyed||!_e.initialized||(nt("beforeResize"),nt("resize"))},ot=()=>{!_e||_e.destroyed||!_e.initialized||(st=new ResizeObserver(ut=>{it=rt.requestAnimationFrame(()=>{const{width:dt,height:ft}=_e;let pt=dt,ht=ft;ut.forEach(vt=>{let{contentBoxSize:gt,contentRect:mt,target:bt}=vt;bt&&bt!==_e.el||(pt=mt?mt.width:(gt[0]||gt).inlineSize,ht=mt?mt.height:(gt[0]||gt).blockSize)}),(pt!==dt||ht!==ft)&&at()})}),st.observe(_e.el))},lt=()=>{it&&rt.cancelAnimationFrame(it),st&&st.unobserve&&_e.el&&(st.unobserve(_e.el),st=null)},ct=()=>{!_e||_e.destroyed||!_e.initialized||nt("orientationchange")};tt("init",()=>{if(_e.params.resizeObserver&&typeof rt.ResizeObserver<"u"){ot();return}rt.addEventListener("resize",at),rt.addEventListener("orientationchange",ct)}),tt("destroy",()=>{lt(),rt.removeEventListener("resize",at),rt.removeEventListener("orientationchange",ct)})}function Observer(et){let{swiper:_e,extendParams:tt,on:nt,emit:rt}=et;const st=[],it=getWindow(),at=function(ct,ut){ut===void 0&&(ut={});const dt=it.MutationObserver||it.WebkitMutationObserver,ft=new dt(pt=>{if(_e.__preventObserver__)return;if(pt.length===1){rt("observerUpdate",pt[0]);return}const ht=function(){rt("observerUpdate",pt[0])};it.requestAnimationFrame?it.requestAnimationFrame(ht):it.setTimeout(ht,0)});ft.observe(ct,{attributes:typeof ut.attributes>"u"?!0:ut.attributes,childList:typeof ut.childList>"u"?!0:ut.childList,characterData:typeof ut.characterData>"u"?!0:ut.characterData}),st.push(ft)},ot=()=>{if(_e.params.observer){if(_e.params.observeParents){const ct=elementParents(_e.hostEl);for(let ut=0;ut{st.forEach(ct=>{ct.disconnect()}),st.splice(0,st.length)};tt({observer:!1,observeParents:!1,observeSlideChildren:!1}),nt("init",ot),nt("destroy",lt)}var eventsEmitter={on(et,_e,tt){const nt=this;if(!nt.eventsListeners||nt.destroyed||typeof _e!="function")return nt;const rt=tt?"unshift":"push";return et.split(" ").forEach(st=>{nt.eventsListeners[st]||(nt.eventsListeners[st]=[]),nt.eventsListeners[st][rt](_e)}),nt},once(et,_e,tt){const nt=this;if(!nt.eventsListeners||nt.destroyed||typeof _e!="function")return nt;function rt(){nt.off(et,rt),rt.__emitterProxy&&delete rt.__emitterProxy;for(var st=arguments.length,it=new Array(st),at=0;at=0&&_e.eventsAnyListeners.splice(tt,1),_e},off(et,_e){const tt=this;return!tt.eventsListeners||tt.destroyed||!tt.eventsListeners||et.split(" ").forEach(nt=>{typeof _e>"u"?tt.eventsListeners[nt]=[]:tt.eventsListeners[nt]&&tt.eventsListeners[nt].forEach((rt,st)=>{(rt===_e||rt.__emitterProxy&&rt.__emitterProxy===_e)&&tt.eventsListeners[nt].splice(st,1)})}),tt},emit(){const et=this;if(!et.eventsListeners||et.destroyed||!et.eventsListeners)return et;let _e,tt,nt;for(var rt=arguments.length,st=new Array(rt),it=0;it{et.eventsAnyListeners&&et.eventsAnyListeners.length&&et.eventsAnyListeners.forEach(lt=>{lt.apply(nt,[ot,...tt])}),et.eventsListeners&&et.eventsListeners[ot]&&et.eventsListeners[ot].forEach(lt=>{lt.apply(nt,tt)})}),et}};function updateSize(){const et=this;let _e,tt;const nt=et.el;typeof et.params.width<"u"&&et.params.width!==null?_e=et.params.width:_e=nt.clientWidth,typeof et.params.height<"u"&&et.params.height!==null?tt=et.params.height:tt=nt.clientHeight,!(_e===0&&et.isHorizontal()||tt===0&&et.isVertical())&&(_e=_e-parseInt(elementStyle(nt,"padding-left")||0,10)-parseInt(elementStyle(nt,"padding-right")||0,10),tt=tt-parseInt(elementStyle(nt,"padding-top")||0,10)-parseInt(elementStyle(nt,"padding-bottom")||0,10),Number.isNaN(_e)&&(_e=0),Number.isNaN(tt)&&(tt=0),Object.assign(et,{width:_e,height:tt,size:et.isHorizontal()?_e:tt}))}function updateSlides(){const et=this;function _e(St){return et.isHorizontal()?St:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[St]}function tt(St,Rt){return parseFloat(St.getPropertyValue(_e(Rt))||0)}const nt=et.params,{wrapperEl:rt,slidesEl:st,size:it,rtlTranslate:at,wrongRTL:ot}=et,lt=et.virtual&&nt.virtual.enabled,ct=lt?et.virtual.slides.length:et.slides.length,ut=elementChildren(st,`.${et.params.slideClass}, swiper-slide`),dt=lt?et.virtual.slides.length:ut.length;let ft=[];const pt=[],ht=[];let vt=nt.slidesOffsetBefore;typeof vt=="function"&&(vt=nt.slidesOffsetBefore.call(et));let gt=nt.slidesOffsetAfter;typeof gt=="function"&&(gt=nt.slidesOffsetAfter.call(et));const mt=et.snapGrid.length,bt=et.slidesGrid.length;let xt=nt.spaceBetween,yt=-vt,$t=0,wt=0;if(typeof it>"u")return;typeof xt=="string"&&xt.indexOf("%")>=0?xt=parseFloat(xt.replace("%",""))/100*it:typeof xt=="string"&&(xt=parseFloat(xt)),et.virtualSize=-xt,ut.forEach(St=>{at?St.style.marginLeft="":St.style.marginRight="",St.style.marginBottom="",St.style.marginTop=""}),nt.centeredSlides&&nt.cssMode&&(setCSSProperty(rt,"--swiper-centered-offset-before",""),setCSSProperty(rt,"--swiper-centered-offset-after",""));const Ct=nt.grid&&nt.grid.rows>1&&et.grid;Ct&&et.grid.initSlides(dt);let Et;const Mt=nt.slidesPerView==="auto"&&nt.breakpoints&&Object.keys(nt.breakpoints).filter(St=>typeof nt.breakpoints[St].slidesPerView<"u").length>0;for(let St=0;St1&&ft.push(et.virtualSize-it)}if(lt&&nt.loop){const St=ht[0]+xt;if(nt.slidesPerGroup>1){const Rt=Math.ceil((et.virtual.slidesBefore+et.virtual.slidesAfter)/nt.slidesPerGroup),Pt=St*nt.slidesPerGroup;for(let kt=0;kt!nt.cssMode||nt.loop?!0:Pt!==ut.length-1).forEach(Rt=>{Rt.style[St]=`${xt}px`})}if(nt.centeredSlides&&nt.centeredSlidesBounds){let St=0;ht.forEach(Pt=>{St+=Pt+(xt||0)}),St-=xt;const Rt=St-it;ft=ft.map(Pt=>Pt<=0?-vt:Pt>Rt?Rt+gt:Pt)}if(nt.centerInsufficientSlides){let St=0;if(ht.forEach(Rt=>{St+=Rt+(xt||0)}),St-=xt,St{ft[kt]=Pt-Rt}),pt.forEach((Pt,kt)=>{pt[kt]=Pt+Rt})}}if(Object.assign(et,{slides:ut,snapGrid:ft,slidesGrid:pt,slidesSizesGrid:ht}),nt.centeredSlides&&nt.cssMode&&!nt.centeredSlidesBounds){setCSSProperty(rt,"--swiper-centered-offset-before",`${-ft[0]}px`),setCSSProperty(rt,"--swiper-centered-offset-after",`${et.size/2-ht[ht.length-1]/2}px`);const St=-et.snapGrid[0],Rt=-et.slidesGrid[0];et.snapGrid=et.snapGrid.map(Pt=>Pt+St),et.slidesGrid=et.slidesGrid.map(Pt=>Pt+Rt)}if(dt!==ct&&et.emit("slidesLengthChange"),ft.length!==mt&&(et.params.watchOverflow&&et.checkOverflow(),et.emit("snapGridLengthChange")),pt.length!==bt&&et.emit("slidesGridLengthChange"),nt.watchSlidesProgress&&et.updateSlidesOffset(),!lt&&!nt.cssMode&&(nt.effect==="slide"||nt.effect==="fade")){const St=`${nt.containerModifierClass}backface-hidden`,Rt=et.el.classList.contains(St);dt<=nt.maxBackfaceHiddenSlides?Rt||et.el.classList.add(St):Rt&&et.el.classList.remove(St)}}function updateAutoHeight(et){const _e=this,tt=[],nt=_e.virtual&&_e.params.virtual.enabled;let rt=0,st;typeof et=="number"?_e.setTransition(et):et===!0&&_e.setTransition(_e.params.speed);const it=at=>nt?_e.slides[_e.getSlideIndexByData(at)]:_e.slides[at];if(_e.params.slidesPerView!=="auto"&&_e.params.slidesPerView>1)if(_e.params.centeredSlides)(_e.visibleSlides||[]).forEach(at=>{tt.push(at)});else for(st=0;st_e.slides.length&&!nt)break;tt.push(it(at))}else tt.push(it(_e.activeIndex));for(st=0;strt?at:rt}(rt||rt===0)&&(_e.wrapperEl.style.height=`${rt}px`)}function updateSlidesOffset(){const et=this,_e=et.slides,tt=et.isElement?et.isHorizontal()?et.wrapperEl.offsetLeft:et.wrapperEl.offsetTop:0;for(let nt=0;nt<_e.length;nt+=1)_e[nt].swiperSlideOffset=(et.isHorizontal()?_e[nt].offsetLeft:_e[nt].offsetTop)-tt-et.cssOverflowAdjustment()}function updateSlidesProgress(et){et===void 0&&(et=this&&this.translate||0);const _e=this,tt=_e.params,{slides:nt,rtlTranslate:rt,snapGrid:st}=_e;if(nt.length===0)return;typeof nt[0].swiperSlideOffset>"u"&&_e.updateSlidesOffset();let it=-et;rt&&(it=et),nt.forEach(ot=>{ot.classList.remove(tt.slideVisibleClass)}),_e.visibleSlidesIndexes=[],_e.visibleSlides=[];let at=tt.spaceBetween;typeof at=="string"&&at.indexOf("%")>=0?at=parseFloat(at.replace("%",""))/100*_e.size:typeof at=="string"&&(at=parseFloat(at));for(let ot=0;ot=0&&ft<_e.size-1||pt>1&&pt<=_e.size||ft<=0&&pt>=_e.size)&&(_e.visibleSlides.push(lt),_e.visibleSlidesIndexes.push(ot),nt[ot].classList.add(tt.slideVisibleClass)),lt.progress=rt?-ut:ut,lt.originalProgress=rt?-dt:dt}}function updateProgress(et){const _e=this;if(typeof et>"u"){const ct=_e.rtlTranslate?-1:1;et=_e&&_e.translate&&_e.translate*ct||0}const tt=_e.params,nt=_e.maxTranslate()-_e.minTranslate();let{progress:rt,isBeginning:st,isEnd:it,progressLoop:at}=_e;const ot=st,lt=it;if(nt===0)rt=0,st=!0,it=!0;else{rt=(et-_e.minTranslate())/nt;const ct=Math.abs(et-_e.minTranslate())<1,ut=Math.abs(et-_e.maxTranslate())<1;st=ct||rt<=0,it=ut||rt>=1,ct&&(rt=0),ut&&(rt=1)}if(tt.loop){const ct=_e.getSlideIndexByData(0),ut=_e.getSlideIndexByData(_e.slides.length-1),dt=_e.slidesGrid[ct],ft=_e.slidesGrid[ut],pt=_e.slidesGrid[_e.slidesGrid.length-1],ht=Math.abs(et);ht>=dt?at=(ht-dt)/pt:at=(ht+pt-ft)/pt,at>1&&(at-=1)}Object.assign(_e,{progress:rt,progressLoop:at,isBeginning:st,isEnd:it}),(tt.watchSlidesProgress||tt.centeredSlides&&tt.autoHeight)&&_e.updateSlidesProgress(et),st&&!ot&&_e.emit("reachBeginning toEdge"),it&&!lt&&_e.emit("reachEnd toEdge"),(ot&&!st||lt&&!it)&&_e.emit("fromEdge"),_e.emit("progress",rt)}function updateSlidesClasses(){const et=this,{slides:_e,params:tt,slidesEl:nt,activeIndex:rt}=et,st=et.virtual&&tt.virtual.enabled,it=ot=>elementChildren(nt,`.${tt.slideClass}${ot}, swiper-slide${ot}`)[0];_e.forEach(ot=>{ot.classList.remove(tt.slideActiveClass,tt.slideNextClass,tt.slidePrevClass)});let at;if(st)if(tt.loop){let ot=rt-et.virtual.slidesBefore;ot<0&&(ot=et.virtual.slides.length+ot),ot>=et.virtual.slides.length&&(ot-=et.virtual.slides.length),at=it(`[data-swiper-slide-index="${ot}"]`)}else at=it(`[data-swiper-slide-index="${rt}"]`);else at=_e[rt];if(at){at.classList.add(tt.slideActiveClass);let ot=elementNextAll(at,`.${tt.slideClass}, swiper-slide`)[0];tt.loop&&!ot&&(ot=_e[0]),ot&&ot.classList.add(tt.slideNextClass);let lt=elementPrevAll(at,`.${tt.slideClass}, swiper-slide`)[0];tt.loop&&!lt===0&&(lt=_e[_e.length-1]),lt&<.classList.add(tt.slidePrevClass)}et.emitSlidesClasses()}const processLazyPreloader=(et,_e)=>{if(!et||et.destroyed||!et.params)return;const tt=()=>et.isElement?"swiper-slide":`.${et.params.slideClass}`,nt=_e.closest(tt());if(nt){let rt=nt.querySelector(`.${et.params.lazyPreloaderClass}`);!rt&&et.isElement&&(nt.shadowRoot?rt=nt.shadowRoot.querySelector(`.${et.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{nt.shadowRoot&&(rt=nt.shadowRoot.querySelector(`.${et.params.lazyPreloaderClass}`),rt&&rt.remove())})),rt&&rt.remove()}},unlazy=(et,_e)=>{if(!et.slides[_e])return;const tt=et.slides[_e].querySelector('[loading="lazy"]');tt&&tt.removeAttribute("loading")},preload=et=>{if(!et||et.destroyed||!et.params)return;let _e=et.params.lazyPreloadPrevNext;const tt=et.slides.length;if(!tt||!_e||_e<0)return;_e=Math.min(_e,tt);const nt=et.params.slidesPerView==="auto"?et.slidesPerViewDynamic():Math.ceil(et.params.slidesPerView),rt=et.activeIndex;if(et.params.grid&&et.params.grid.rows>1){const it=rt,at=[it-_e];at.push(...Array.from({length:_e}).map((ot,lt)=>it+nt+lt)),et.slides.forEach((ot,lt)=>{at.includes(ot.column)&&unlazy(et,lt)});return}const st=rt+nt-1;if(et.params.rewind||et.params.loop)for(let it=rt-_e;it<=st+_e;it+=1){const at=(it%tt+tt)%tt;(atst)&&unlazy(et,at)}else for(let it=Math.max(rt-_e,0);it<=Math.min(st+_e,tt-1);it+=1)it!==rt&&(it>st||it=_e[st]&&nt<_e[st+1]-(_e[st+1]-_e[st])/2?rt=st:nt>=_e[st]&&nt<_e[st+1]&&(rt=st+1):nt>=_e[st]&&(rt=st);return tt.normalizeSlideIndex&&(rt<0||typeof rt>"u")&&(rt=0),rt}function updateActiveIndex(et){const _e=this,tt=_e.rtlTranslate?_e.translate:-_e.translate,{snapGrid:nt,params:rt,activeIndex:st,realIndex:it,snapIndex:at}=_e;let ot=et,lt;const ct=dt=>{let ft=dt-_e.virtual.slidesBefore;return ft<0&&(ft=_e.virtual.slides.length+ft),ft>=_e.virtual.slides.length&&(ft-=_e.virtual.slides.length),ft};if(typeof ot>"u"&&(ot=getActiveIndexByTranslate(_e)),nt.indexOf(tt)>=0)lt=nt.indexOf(tt);else{const dt=Math.min(rt.slidesPerGroupSkip,ot);lt=dt+Math.floor((ot-dt)/rt.slidesPerGroup)}if(lt>=nt.length&&(lt=nt.length-1),ot===st){lt!==at&&(_e.snapIndex=lt,_e.emit("snapIndexChange")),_e.params.loop&&_e.virtual&&_e.params.virtual.enabled&&(_e.realIndex=ct(ot));return}let ut;_e.virtual&&rt.virtual.enabled&&rt.loop?ut=ct(ot):_e.slides[ot]?ut=parseInt(_e.slides[ot].getAttribute("data-swiper-slide-index")||ot,10):ut=ot,Object.assign(_e,{previousSnapIndex:at,snapIndex:lt,previousRealIndex:it,realIndex:ut,previousIndex:st,activeIndex:ot}),_e.initialized&&preload(_e),_e.emit("activeIndexChange"),_e.emit("snapIndexChange"),(_e.initialized||_e.params.runCallbacksOnInit)&&(it!==ut&&_e.emit("realIndexChange"),_e.emit("slideChange"))}function updateClickedSlide(et,_e){const tt=this,nt=tt.params;let rt=et.closest(`.${nt.slideClass}, swiper-slide`);!rt&&tt.isElement&&_e&&_e.length>1&&_e.includes(et)&&[..._e.slice(_e.indexOf(et)+1,_e.length)].forEach(at=>{!rt&&at.matches&&at.matches(`.${nt.slideClass}, swiper-slide`)&&(rt=at)});let st=!1,it;if(rt){for(let at=0;atot?ct=ot:nt&&etit?at="next":st=ot.length&&(vt=ot.length-1);const gt=-ot[vt];if(at.normalizeSlideIndex)for(let bt=0;bt=yt&&xt<$t-($t-yt)/2?it=bt:xt>=yt&&xt<$t&&(it=bt+1):xt>=yt&&(it=bt)}if(st.initialized&&it!==ut&&(!st.allowSlideNext&&(dt?gt>st.translate&>>st.minTranslate():gtst.translate&>>st.maxTranslate()&&(ut||0)!==it))return!1;it!==(ct||0)&&tt&&st.emit("beforeSlideChangeStart"),st.updateProgress(gt);let mt;if(it>ut?mt="next":it0?(st._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{ft[bt?"scrollLeft":"scrollTop"]=xt})):ft[bt?"scrollLeft":"scrollTop"]=xt,yt&&requestAnimationFrame(()=>{st.wrapperEl.style.scrollSnapType="",st._immediateVirtual=!1})}else{if(!st.support.smoothScroll)return animateCSSModeScroll({swiper:st,targetPosition:xt,side:bt?"left":"top"}),!0;ft.scrollTo({[bt?"left":"top"]:xt,behavior:"smooth"})}return!0}return st.setTransition(_e),st.setTranslate(gt),st.updateActiveIndex(it),st.updateSlidesClasses(),st.emit("beforeTransitionStart",_e,nt),st.transitionStart(tt,mt),_e===0?st.transitionEnd(tt,mt):st.animating||(st.animating=!0,st.onSlideToWrapperTransitionEnd||(st.onSlideToWrapperTransitionEnd=function(xt){!st||st.destroyed||xt.target===this&&(st.wrapperEl.removeEventListener("transitionend",st.onSlideToWrapperTransitionEnd),st.onSlideToWrapperTransitionEnd=null,delete st.onSlideToWrapperTransitionEnd,st.transitionEnd(tt,mt))}),st.wrapperEl.addEventListener("transitionend",st.onSlideToWrapperTransitionEnd)),!0}function slideToLoop(et,_e,tt,nt){et===void 0&&(et=0),_e===void 0&&(_e=this.params.speed),tt===void 0&&(tt=!0),typeof et=="string"&&(et=parseInt(et,10));const rt=this;let st=et;return rt.params.loop&&(rt.virtual&&rt.params.virtual.enabled?st=st+rt.virtual.slidesBefore:st=rt.getSlideIndexByData(st)),rt.slideTo(st,_e,tt,nt)}function slideNext(et,_e,tt){et===void 0&&(et=this.params.speed),_e===void 0&&(_e=!0);const nt=this,{enabled:rt,params:st,animating:it}=nt;if(!rt)return nt;let at=st.slidesPerGroup;st.slidesPerView==="auto"&&st.slidesPerGroup===1&&st.slidesPerGroupAuto&&(at=Math.max(nt.slidesPerViewDynamic("current",!0),1));const ot=nt.activeIndex{nt.slideTo(nt.activeIndex+ot,et,_e,tt)}),!0}return st.rewind&&nt.isEnd?nt.slideTo(0,et,_e,tt):nt.slideTo(nt.activeIndex+ot,et,_e,tt)}function slidePrev(et,_e,tt){et===void 0&&(et=this.params.speed),_e===void 0&&(_e=!0);const nt=this,{params:rt,snapGrid:st,slidesGrid:it,rtlTranslate:at,enabled:ot,animating:lt}=nt;if(!ot)return nt;const ct=nt.virtual&&rt.virtual.enabled;if(rt.loop){if(lt&&!ct&&rt.loopPreventsSliding)return!1;nt.loopFix({direction:"prev"}),nt._clientLeft=nt.wrapperEl.clientLeft}const ut=at?nt.translate:-nt.translate;function dt(gt){return gt<0?-Math.floor(Math.abs(gt)):Math.floor(gt)}const ft=dt(ut),pt=st.map(gt=>dt(gt));let ht=st[pt.indexOf(ft)-1];if(typeof ht>"u"&&rt.cssMode){let gt;st.forEach((mt,bt)=>{ft>=mt&&(gt=bt)}),typeof gt<"u"&&(ht=st[gt>0?gt-1:gt])}let vt=0;if(typeof ht<"u"&&(vt=it.indexOf(ht),vt<0&&(vt=nt.activeIndex-1),rt.slidesPerView==="auto"&&rt.slidesPerGroup===1&&rt.slidesPerGroupAuto&&(vt=vt-nt.slidesPerViewDynamic("previous",!0)+1,vt=Math.max(vt,0))),rt.rewind&&nt.isBeginning){const gt=nt.params.virtual&&nt.params.virtual.enabled&&nt.virtual?nt.virtual.slides.length-1:nt.slides.length-1;return nt.slideTo(gt,et,_e,tt)}else if(rt.loop&&nt.activeIndex===0&&rt.cssMode)return requestAnimationFrame(()=>{nt.slideTo(vt,et,_e,tt)}),!0;return nt.slideTo(vt,et,_e,tt)}function slideReset(et,_e,tt){et===void 0&&(et=this.params.speed),_e===void 0&&(_e=!0);const nt=this;return nt.slideTo(nt.activeIndex,et,_e,tt)}function slideToClosest(et,_e,tt,nt){et===void 0&&(et=this.params.speed),_e===void 0&&(_e=!0),nt===void 0&&(nt=.5);const rt=this;let st=rt.activeIndex;const it=Math.min(rt.params.slidesPerGroupSkip,st),at=it+Math.floor((st-it)/rt.params.slidesPerGroup),ot=rt.rtlTranslate?rt.translate:-rt.translate;if(ot>=rt.snapGrid[at]){const lt=rt.snapGrid[at],ct=rt.snapGrid[at+1];ot-lt>(ct-lt)*nt&&(st+=rt.params.slidesPerGroup)}else{const lt=rt.snapGrid[at-1],ct=rt.snapGrid[at];ot-lt<=(ct-lt)*nt&&(st-=rt.params.slidesPerGroup)}return st=Math.max(st,0),st=Math.min(st,rt.slidesGrid.length-1),rt.slideTo(st,et,_e,tt)}function slideToClickedSlide(){const et=this,{params:_e,slidesEl:tt}=et,nt=_e.slidesPerView==="auto"?et.slidesPerViewDynamic():_e.slidesPerView;let rt=et.clickedIndex,st;const it=et.isElement?"swiper-slide":`.${_e.slideClass}`;if(_e.loop){if(et.animating)return;st=parseInt(et.clickedSlide.getAttribute("data-swiper-slide-index"),10),_e.centeredSlides?rtet.slides.length-et.loopedSlides+nt/2?(et.loopFix(),rt=et.getSlideIndex(elementChildren(tt,`${it}[data-swiper-slide-index="${st}"]`)[0]),nextTick$1(()=>{et.slideTo(rt)})):et.slideTo(rt):rt>et.slides.length-nt?(et.loopFix(),rt=et.getSlideIndex(elementChildren(tt,`${it}[data-swiper-slide-index="${st}"]`)[0]),nextTick$1(()=>{et.slideTo(rt)})):et.slideTo(rt)}else et.slideTo(rt)}var slide={slideTo,slideToLoop,slideNext,slidePrev,slideReset,slideToClosest,slideToClickedSlide};function loopCreate(et){const _e=this,{params:tt,slidesEl:nt}=_e;if(!tt.loop||_e.virtual&&_e.params.virtual.enabled)return;elementChildren(nt,`.${tt.slideClass}, swiper-slide`).forEach((st,it)=>{st.setAttribute("data-swiper-slide-index",it)}),_e.loopFix({slideRealIndex:et,direction:tt.centeredSlides?void 0:"next"})}function loopFix(et){let{slideRealIndex:_e,slideTo:tt=!0,direction:nt,setTranslate:rt,activeSlideIndex:st,byController:it,byMousewheel:at}=et===void 0?{}:et;const ot=this;if(!ot.params.loop)return;ot.emit("beforeLoopFix");const{slides:lt,allowSlidePrev:ct,allowSlideNext:ut,slidesEl:dt,params:ft}=ot;if(ot.allowSlidePrev=!0,ot.allowSlideNext=!0,ot.virtual&&ft.virtual.enabled){tt&&(!ft.centeredSlides&&ot.snapIndex===0?ot.slideTo(ot.virtual.slides.length,0,!1,!0):ft.centeredSlides&&ot.snapIndex"u"?st=ot.getSlideIndex(ot.slides.filter(wt=>wt.classList.contains(ft.slideActiveClass))[0]):mt=st;const bt=nt==="next"||!nt,xt=nt==="prev"||!nt;let yt=0,$t=0;if(stot.slides.length-ht*2){$t=Math.max(st-(ot.slides.length-ht*2),ft.slidesPerGroup);for(let wt=0;wt<$t;wt+=1){const Ct=wt-Math.floor(wt/lt.length)*lt.length;gt.push(Ct)}}if(xt&&vt.forEach(wt=>{ot.slides[wt].swiperLoopMoveDOM=!0,dt.prepend(ot.slides[wt]),ot.slides[wt].swiperLoopMoveDOM=!1}),bt&>.forEach(wt=>{ot.slides[wt].swiperLoopMoveDOM=!0,dt.append(ot.slides[wt]),ot.slides[wt].swiperLoopMoveDOM=!1}),ot.recalcSlides(),ft.slidesPerView==="auto"&&ot.updateSlides(),ft.watchSlidesProgress&&ot.updateSlidesOffset(),tt){if(vt.length>0&&xt)if(typeof _e>"u"){const wt=ot.slidesGrid[mt],Et=ot.slidesGrid[mt+yt]-wt;at?ot.setTranslate(ot.translate-Et):(ot.slideTo(mt+yt,0,!1,!0),rt&&(ot.touches[ot.isHorizontal()?"startX":"startY"]+=Et,ot.touchEventsData.currentTranslate=ot.translate))}else rt&&(ot.slideToLoop(_e,0,!1,!0),ot.touchEventsData.currentTranslate=ot.translate);else if(gt.length>0&&bt)if(typeof _e>"u"){const wt=ot.slidesGrid[mt],Et=ot.slidesGrid[mt-$t]-wt;at?ot.setTranslate(ot.translate-Et):(ot.slideTo(mt-$t,0,!1,!0),rt&&(ot.touches[ot.isHorizontal()?"startX":"startY"]+=Et,ot.touchEventsData.currentTranslate=ot.translate))}else ot.slideToLoop(_e,0,!1,!0)}if(ot.allowSlidePrev=ct,ot.allowSlideNext=ut,ot.controller&&ot.controller.control&&!it){const wt={slideRealIndex:_e,direction:nt,setTranslate:rt,activeSlideIndex:st,byController:!0};Array.isArray(ot.controller.control)?ot.controller.control.forEach(Ct=>{!Ct.destroyed&&Ct.params.loop&&Ct.loopFix({...wt,slideTo:Ct.params.slidesPerView===ft.slidesPerView?tt:!1})}):ot.controller.control instanceof ot.constructor&&ot.controller.control.params.loop&&ot.controller.control.loopFix({...wt,slideTo:ot.controller.control.params.slidesPerView===ft.slidesPerView?tt:!1})}ot.emit("loopFix")}function loopDestroy(){const et=this,{params:_e,slidesEl:tt}=et;if(!_e.loop||et.virtual&&et.params.virtual.enabled)return;et.recalcSlides();const nt=[];et.slides.forEach(rt=>{const st=typeof rt.swiperSlideIndex>"u"?rt.getAttribute("data-swiper-slide-index")*1:rt.swiperSlideIndex;nt[st]=rt}),et.slides.forEach(rt=>{rt.removeAttribute("data-swiper-slide-index")}),nt.forEach(rt=>{tt.append(rt)}),et.recalcSlides(),et.slideTo(et.realIndex,0)}var loop={loopCreate,loopFix,loopDestroy};function setGrabCursor(et){const _e=this;if(!_e.params.simulateTouch||_e.params.watchOverflow&&_e.isLocked||_e.params.cssMode)return;const tt=_e.params.touchEventsTarget==="container"?_e.el:_e.wrapperEl;_e.isElement&&(_e.__preventObserver__=!0),tt.style.cursor="move",tt.style.cursor=et?"grabbing":"grab",_e.isElement&&requestAnimationFrame(()=>{_e.__preventObserver__=!1})}function unsetGrabCursor(){const et=this;et.params.watchOverflow&&et.isLocked||et.params.cssMode||(et.isElement&&(et.__preventObserver__=!0),et[et.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",et.isElement&&requestAnimationFrame(()=>{et.__preventObserver__=!1}))}var grabCursor={setGrabCursor,unsetGrabCursor};function closestElement(et,_e){_e===void 0&&(_e=this);function tt(nt){if(!nt||nt===getDocument()||nt===getWindow())return null;nt.assignedSlot&&(nt=nt.assignedSlot);const rt=nt.closest(et);return!rt&&!nt.getRootNode?null:rt||tt(nt.getRootNode().host)}return tt(_e)}function onTouchStart(et){const _e=this,tt=getDocument(),nt=getWindow(),rt=_e.touchEventsData;rt.evCache.push(et);const{params:st,touches:it,enabled:at}=_e;if(!at||!st.simulateTouch&&et.pointerType==="mouse"||_e.animating&&st.preventInteractionOnTransition)return;!_e.animating&&st.cssMode&&st.loop&&_e.loopFix();let ot=et;ot.originalEvent&&(ot=ot.originalEvent);let lt=ot.target;if(st.touchEventsTarget==="wrapper"&&!_e.wrapperEl.contains(lt)||"which"in ot&&ot.which===3||"button"in ot&&ot.button>0||rt.isTouched&&rt.isMoved)return;const ct=!!st.noSwipingClass&&st.noSwipingClass!=="",ut=et.composedPath?et.composedPath():et.path;ct&&ot.target&&ot.target.shadowRoot&&ut&&(lt=ut[0]);const dt=st.noSwipingSelector?st.noSwipingSelector:`.${st.noSwipingClass}`,ft=!!(ot.target&&ot.target.shadowRoot);if(st.noSwiping&&(ft?closestElement(dt,lt):lt.closest(dt))){_e.allowClick=!0;return}if(st.swipeHandler&&!lt.closest(st.swipeHandler))return;it.currentX=ot.pageX,it.currentY=ot.pageY;const pt=it.currentX,ht=it.currentY,vt=st.edgeSwipeDetection||st.iOSEdgeSwipeDetection,gt=st.edgeSwipeThreshold||st.iOSEdgeSwipeThreshold;if(vt&&(pt<=gt||pt>=nt.innerWidth-gt))if(vt==="prevent")et.preventDefault();else return;Object.assign(rt,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),it.startX=pt,it.startY=ht,rt.touchStartTime=now$1(),_e.allowClick=!0,_e.updateSize(),_e.swipeDirection=void 0,st.threshold>0&&(rt.allowThresholdMove=!1);let mt=!0;lt.matches(rt.focusableElements)&&(mt=!1,lt.nodeName==="SELECT"&&(rt.isTouched=!1)),tt.activeElement&&tt.activeElement.matches(rt.focusableElements)&&tt.activeElement!==lt&&tt.activeElement.blur();const bt=mt&&_e.allowTouchMove&&st.touchStartPreventDefault;(st.touchStartForcePreventDefault||bt)&&!lt.isContentEditable&&ot.preventDefault(),st.freeMode&&st.freeMode.enabled&&_e.freeMode&&_e.animating&&!st.cssMode&&_e.freeMode.onTouchStart(),_e.emit("touchStart",ot)}function onTouchMove(et){const _e=getDocument(),tt=this,nt=tt.touchEventsData,{params:rt,touches:st,rtlTranslate:it,enabled:at}=tt;if(!at||!rt.simulateTouch&&et.pointerType==="mouse")return;let ot=et;if(ot.originalEvent&&(ot=ot.originalEvent),!nt.isTouched){nt.startMoving&&nt.isScrolling&&tt.emit("touchMoveOpposite",ot);return}const lt=nt.evCache.findIndex(wt=>wt.pointerId===ot.pointerId);lt>=0&&(nt.evCache[lt]=ot);const ct=nt.evCache.length>1?nt.evCache[0]:ot,ut=ct.pageX,dt=ct.pageY;if(ot.preventedByNestedSwiper){st.startX=ut,st.startY=dt;return}if(!tt.allowTouchMove){ot.target.matches(nt.focusableElements)||(tt.allowClick=!1),nt.isTouched&&(Object.assign(st,{startX:ut,startY:dt,prevX:tt.touches.currentX,prevY:tt.touches.currentY,currentX:ut,currentY:dt}),nt.touchStartTime=now$1());return}if(rt.touchReleaseOnEdges&&!rt.loop){if(tt.isVertical()){if(dtst.startY&&tt.translate>=tt.minTranslate()){nt.isTouched=!1,nt.isMoved=!1;return}}else if(utst.startX&&tt.translate>=tt.minTranslate())return}if(_e.activeElement&&ot.target===_e.activeElement&&ot.target.matches(nt.focusableElements)){nt.isMoved=!0,tt.allowClick=!1;return}if(nt.allowTouchCallbacks&&tt.emit("touchMove",ot),ot.targetTouches&&ot.targetTouches.length>1)return;st.currentX=ut,st.currentY=dt;const ft=st.currentX-st.startX,pt=st.currentY-st.startY;if(tt.params.threshold&&Math.sqrt(ft**2+pt**2)"u"){let wt;tt.isHorizontal()&&st.currentY===st.startY||tt.isVertical()&&st.currentX===st.startX?nt.isScrolling=!1:ft*ft+pt*pt>=25&&(wt=Math.atan2(Math.abs(pt),Math.abs(ft))*180/Math.PI,nt.isScrolling=tt.isHorizontal()?wt>rt.touchAngle:90-wt>rt.touchAngle)}if(nt.isScrolling&&tt.emit("touchMoveOpposite",ot),typeof nt.startMoving>"u"&&(st.currentX!==st.startX||st.currentY!==st.startY)&&(nt.startMoving=!0),nt.isScrolling||tt.zoom&&tt.params.zoom&&tt.params.zoom.enabled&&nt.evCache.length>1){nt.isTouched=!1;return}if(!nt.startMoving)return;tt.allowClick=!1,!rt.cssMode&&ot.cancelable&&ot.preventDefault(),rt.touchMoveStopPropagation&&!rt.nested&&ot.stopPropagation();let ht=tt.isHorizontal()?ft:pt,vt=tt.isHorizontal()?st.currentX-st.previousX:st.currentY-st.previousY;rt.oneWayMovement&&(ht=Math.abs(ht)*(it?1:-1),vt=Math.abs(vt)*(it?1:-1)),st.diff=ht,ht*=rt.touchRatio,it&&(ht=-ht,vt=-vt);const gt=tt.touchesDirection;tt.swipeDirection=ht>0?"prev":"next",tt.touchesDirection=vt>0?"prev":"next";const mt=tt.params.loop&&!rt.cssMode,bt=tt.swipeDirection==="next"&&tt.allowSlideNext||tt.swipeDirection==="prev"&&tt.allowSlidePrev;if(!nt.isMoved){if(mt&&bt&&tt.loopFix({direction:tt.swipeDirection}),nt.startTranslate=tt.getTranslate(),tt.setTransition(0),tt.animating){const wt=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});tt.wrapperEl.dispatchEvent(wt)}nt.allowMomentumBounce=!1,rt.grabCursor&&(tt.allowSlideNext===!0||tt.allowSlidePrev===!0)&&tt.setGrabCursor(!0),tt.emit("sliderFirstMove",ot)}let xt;nt.isMoved&>!==tt.touchesDirection&&mt&&bt&&Math.abs(ht)>=1&&(tt.loopFix({direction:tt.swipeDirection,setTranslate:!0}),xt=!0),tt.emit("sliderMove",ot),nt.isMoved=!0,nt.currentTranslate=ht+nt.startTranslate;let yt=!0,$t=rt.resistanceRatio;if(rt.touchReleaseOnEdges&&($t=0),ht>0?(mt&&bt&&!xt&&nt.currentTranslate>(rt.centeredSlides?tt.minTranslate()-tt.size/2:tt.minTranslate())&&tt.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),nt.currentTranslate>tt.minTranslate()&&(yt=!1,rt.resistance&&(nt.currentTranslate=tt.minTranslate()-1+(-tt.minTranslate()+nt.startTranslate+ht)**$t))):ht<0&&(mt&&bt&&!xt&&nt.currentTranslate<(rt.centeredSlides?tt.maxTranslate()+tt.size/2:tt.maxTranslate())&&tt.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:tt.slides.length-(rt.slidesPerView==="auto"?tt.slidesPerViewDynamic():Math.ceil(parseFloat(rt.slidesPerView,10)))}),nt.currentTranslatent.startTranslate&&(nt.currentTranslate=nt.startTranslate),!tt.allowSlidePrev&&!tt.allowSlideNext&&(nt.currentTranslate=nt.startTranslate),rt.threshold>0)if(Math.abs(ht)>rt.threshold||nt.allowThresholdMove){if(!nt.allowThresholdMove){nt.allowThresholdMove=!0,st.startX=st.currentX,st.startY=st.currentY,nt.currentTranslate=nt.startTranslate,st.diff=tt.isHorizontal()?st.currentX-st.startX:st.currentY-st.startY;return}}else{nt.currentTranslate=nt.startTranslate;return}!rt.followFinger||rt.cssMode||((rt.freeMode&&rt.freeMode.enabled&&tt.freeMode||rt.watchSlidesProgress)&&(tt.updateActiveIndex(),tt.updateSlidesClasses()),rt.freeMode&&rt.freeMode.enabled&&tt.freeMode&&tt.freeMode.onTouchMove(),tt.updateProgress(nt.currentTranslate),tt.setTranslate(nt.currentTranslate))}function onTouchEnd(et){const _e=this,tt=_e.touchEventsData,nt=tt.evCache.findIndex(bt=>bt.pointerId===et.pointerId);if(nt>=0&&tt.evCache.splice(nt,1),["pointercancel","pointerout","pointerleave","contextmenu"].includes(et.type)&&!(["pointercancel","contextmenu"].includes(et.type)&&(_e.browser.isSafari||_e.browser.isWebView)))return;const{params:rt,touches:st,rtlTranslate:it,slidesGrid:at,enabled:ot}=_e;if(!ot||!rt.simulateTouch&&et.pointerType==="mouse")return;let lt=et;if(lt.originalEvent&&(lt=lt.originalEvent),tt.allowTouchCallbacks&&_e.emit("touchEnd",lt),tt.allowTouchCallbacks=!1,!tt.isTouched){tt.isMoved&&rt.grabCursor&&_e.setGrabCursor(!1),tt.isMoved=!1,tt.startMoving=!1;return}rt.grabCursor&&tt.isMoved&&tt.isTouched&&(_e.allowSlideNext===!0||_e.allowSlidePrev===!0)&&_e.setGrabCursor(!1);const ct=now$1(),ut=ct-tt.touchStartTime;if(_e.allowClick){const bt=lt.path||lt.composedPath&<.composedPath();_e.updateClickedSlide(bt&&bt[0]||lt.target,bt),_e.emit("tap click",lt),ut<300&&ct-tt.lastClickTime<300&&_e.emit("doubleTap doubleClick",lt)}if(tt.lastClickTime=now$1(),nextTick$1(()=>{_e.destroyed||(_e.allowClick=!0)}),!tt.isTouched||!tt.isMoved||!_e.swipeDirection||st.diff===0||tt.currentTranslate===tt.startTranslate){tt.isTouched=!1,tt.isMoved=!1,tt.startMoving=!1;return}tt.isTouched=!1,tt.isMoved=!1,tt.startMoving=!1;let dt;if(rt.followFinger?dt=it?_e.translate:-_e.translate:dt=-tt.currentTranslate,rt.cssMode)return;if(rt.freeMode&&rt.freeMode.enabled){_e.freeMode.onTouchEnd({currentPos:dt});return}let ft=0,pt=_e.slidesSizesGrid[0];for(let bt=0;bt=at[bt]&&dt=at[bt]&&(ft=bt,pt=at[at.length-1]-at[at.length-2])}let ht=null,vt=null;rt.rewind&&(_e.isBeginning?vt=rt.virtual&&rt.virtual.enabled&&_e.virtual?_e.virtual.slides.length-1:_e.slides.length-1:_e.isEnd&&(ht=0));const gt=(dt-at[ft])/pt,mt=ftrt.longSwipesMs){if(!rt.longSwipes){_e.slideTo(_e.activeIndex);return}_e.swipeDirection==="next"&&(gt>=rt.longSwipesRatio?_e.slideTo(rt.rewind&&_e.isEnd?ht:ft+mt):_e.slideTo(ft)),_e.swipeDirection==="prev"&&(gt>1-rt.longSwipesRatio?_e.slideTo(ft+mt):vt!==null&><0&&Math.abs(gt)>rt.longSwipesRatio?_e.slideTo(vt):_e.slideTo(ft))}else{if(!rt.shortSwipes){_e.slideTo(_e.activeIndex);return}_e.navigation&&(lt.target===_e.navigation.nextEl||lt.target===_e.navigation.prevEl)?lt.target===_e.navigation.nextEl?_e.slideTo(ft+mt):_e.slideTo(ft):(_e.swipeDirection==="next"&&_e.slideTo(ht!==null?ht:ft+mt),_e.swipeDirection==="prev"&&_e.slideTo(vt!==null?vt:ft))}}function onResize(){const et=this,{params:_e,el:tt}=et;if(tt&&tt.offsetWidth===0)return;_e.breakpoints&&et.setBreakpoint();const{allowSlideNext:nt,allowSlidePrev:rt,snapGrid:st}=et,it=et.virtual&&et.params.virtual.enabled;et.allowSlideNext=!0,et.allowSlidePrev=!0,et.updateSize(),et.updateSlides(),et.updateSlidesClasses();const at=it&&_e.loop;(_e.slidesPerView==="auto"||_e.slidesPerView>1)&&et.isEnd&&!et.isBeginning&&!et.params.centeredSlides&&!at?et.slideTo(et.slides.length-1,0,!1,!0):et.params.loop&&!it?et.slideToLoop(et.realIndex,0,!1,!0):et.slideTo(et.activeIndex,0,!1,!0),et.autoplay&&et.autoplay.running&&et.autoplay.paused&&(clearTimeout(et.autoplay.resizeTimeout),et.autoplay.resizeTimeout=setTimeout(()=>{et.autoplay&&et.autoplay.running&&et.autoplay.paused&&et.autoplay.resume()},500)),et.allowSlidePrev=rt,et.allowSlideNext=nt,et.params.watchOverflow&&st!==et.snapGrid&&et.checkOverflow()}function onClick(et){const _e=this;_e.enabled&&(_e.allowClick||(_e.params.preventClicks&&et.preventDefault(),_e.params.preventClicksPropagation&&_e.animating&&(et.stopPropagation(),et.stopImmediatePropagation())))}function onScroll(){const et=this,{wrapperEl:_e,rtlTranslate:tt,enabled:nt}=et;if(!nt)return;et.previousTranslate=et.translate,et.isHorizontal()?et.translate=-_e.scrollLeft:et.translate=-_e.scrollTop,et.translate===0&&(et.translate=0),et.updateActiveIndex(),et.updateSlidesClasses();let rt;const st=et.maxTranslate()-et.minTranslate();st===0?rt=0:rt=(et.translate-et.minTranslate())/st,rt!==et.progress&&et.updateProgress(tt?-et.translate:et.translate),et.emit("setTranslate",et.translate,!1)}function onLoad(et){const _e=this;processLazyPreloader(_e,et.target),!(_e.params.cssMode||_e.params.slidesPerView!=="auto"&&!_e.params.autoHeight)&&_e.update()}let dummyEventAttached=!1;function dummyEventListener(){}const events=(et,_e)=>{const tt=getDocument(),{params:nt,el:rt,wrapperEl:st,device:it}=et,at=!!nt.nested,ot=_e==="on"?"addEventListener":"removeEventListener",lt=_e;rt[ot]("pointerdown",et.onTouchStart,{passive:!1}),tt[ot]("pointermove",et.onTouchMove,{passive:!1,capture:at}),tt[ot]("pointerup",et.onTouchEnd,{passive:!0}),tt[ot]("pointercancel",et.onTouchEnd,{passive:!0}),tt[ot]("pointerout",et.onTouchEnd,{passive:!0}),tt[ot]("pointerleave",et.onTouchEnd,{passive:!0}),tt[ot]("contextmenu",et.onTouchEnd,{passive:!0}),(nt.preventClicks||nt.preventClicksPropagation)&&rt[ot]("click",et.onClick,!0),nt.cssMode&&st[ot]("scroll",et.onScroll),nt.updateOnWindowResize?et[lt](it.ios||it.android?"resize orientationchange observerUpdate":"resize observerUpdate",onResize,!0):et[lt]("observerUpdate",onResize,!0),rt[ot]("load",et.onLoad,{capture:!0})};function attachEvents(){const et=this,_e=getDocument(),{params:tt}=et;et.onTouchStart=onTouchStart.bind(et),et.onTouchMove=onTouchMove.bind(et),et.onTouchEnd=onTouchEnd.bind(et),tt.cssMode&&(et.onScroll=onScroll.bind(et)),et.onClick=onClick.bind(et),et.onLoad=onLoad.bind(et),dummyEventAttached||(_e.addEventListener("touchstart",dummyEventListener),dummyEventAttached=!0),events(et,"on")}function detachEvents(){events(this,"off")}var events$1={attachEvents,detachEvents};const isGridEnabled=(et,_e)=>et.grid&&_e.grid&&_e.grid.rows>1;function setBreakpoint(){const et=this,{realIndex:_e,initialized:tt,params:nt,el:rt}=et,st=nt.breakpoints;if(!st||st&&Object.keys(st).length===0)return;const it=et.getBreakpoint(st,et.params.breakpointsBase,et.el);if(!it||et.currentBreakpoint===it)return;const ot=(it in st?st[it]:void 0)||et.originalParams,lt=isGridEnabled(et,nt),ct=isGridEnabled(et,ot),ut=nt.enabled;lt&&!ct?(rt.classList.remove(`${nt.containerModifierClass}grid`,`${nt.containerModifierClass}grid-column`),et.emitContainerClasses()):!lt&&ct&&(rt.classList.add(`${nt.containerModifierClass}grid`),(ot.grid.fill&&ot.grid.fill==="column"||!ot.grid.fill&&nt.grid.fill==="column")&&rt.classList.add(`${nt.containerModifierClass}grid-column`),et.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(gt=>{if(typeof ot[gt]>"u")return;const mt=nt[gt]&&nt[gt].enabled,bt=ot[gt]&&ot[gt].enabled;mt&&!bt&&et[gt].disable(),!mt&&bt&&et[gt].enable()});const dt=ot.direction&&ot.direction!==nt.direction,ft=nt.loop&&(ot.slidesPerView!==nt.slidesPerView||dt),pt=nt.loop;dt&&tt&&et.changeDirection(),extend$3(et.params,ot);const ht=et.params.enabled,vt=et.params.loop;Object.assign(et,{allowTouchMove:et.params.allowTouchMove,allowSlideNext:et.params.allowSlideNext,allowSlidePrev:et.params.allowSlidePrev}),ut&&!ht?et.disable():!ut&&ht&&et.enable(),et.currentBreakpoint=it,et.emit("_beforeBreakpoint",ot),tt&&(ft?(et.loopDestroy(),et.loopCreate(_e),et.updateSlides()):!pt&&vt?(et.loopCreate(_e),et.updateSlides()):pt&&!vt&&et.loopDestroy()),et.emit("breakpoint",ot)}function getBreakpoint(et,_e,tt){if(_e===void 0&&(_e="window"),!et||_e==="container"&&!tt)return;let nt=!1;const rt=getWindow(),st=_e==="window"?rt.innerHeight:tt.clientHeight,it=Object.keys(et).map(at=>{if(typeof at=="string"&&at.indexOf("@")===0){const ot=parseFloat(at.substr(1));return{value:st*ot,point:at}}return{value:at,point:at}});it.sort((at,ot)=>parseInt(at.value,10)-parseInt(ot.value,10));for(let at=0;at{typeof nt=="object"?Object.keys(nt).forEach(rt=>{nt[rt]&&tt.push(_e+rt)}):typeof nt=="string"&&tt.push(_e+nt)}),tt}function addClasses(){const et=this,{classNames:_e,params:tt,rtl:nt,el:rt,device:st}=et,it=prepareClasses(["initialized",tt.direction,{"free-mode":et.params.freeMode&&tt.freeMode.enabled},{autoheight:tt.autoHeight},{rtl:nt},{grid:tt.grid&&tt.grid.rows>1},{"grid-column":tt.grid&&tt.grid.rows>1&&tt.grid.fill==="column"},{android:st.android},{ios:st.ios},{"css-mode":tt.cssMode},{centered:tt.cssMode&&tt.centeredSlides},{"watch-progress":tt.watchSlidesProgress}],tt.containerModifierClass);_e.push(...it),rt.classList.add(..._e),et.emitContainerClasses()}function removeClasses(){const et=this,{el:_e,classNames:tt}=et;_e.classList.remove(...tt),et.emitContainerClasses()}var classes={addClasses,removeClasses};function checkOverflow(){const et=this,{isLocked:_e,params:tt}=et,{slidesOffsetBefore:nt}=tt;if(nt){const rt=et.slides.length-1,st=et.slidesGrid[rt]+et.slidesSizesGrid[rt]+nt*2;et.isLocked=et.size>st}else et.isLocked=et.snapGrid.length===1;tt.allowSlideNext===!0&&(et.allowSlideNext=!et.isLocked),tt.allowSlidePrev===!0&&(et.allowSlidePrev=!et.isLocked),_e&&_e!==et.isLocked&&(et.isEnd=!1),_e!==et.isLocked&&et.emit(et.isLocked?"lock":"unlock")}var checkOverflow$1={checkOverflow},defaults$2={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopedSlides:null,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function moduleExtendParams(et,_e){return function(nt){nt===void 0&&(nt={});const rt=Object.keys(nt)[0],st=nt[rt];if(typeof st!="object"||st===null){extend$3(_e,nt);return}if(et[rt]===!0&&(et[rt]={enabled:!0}),rt==="navigation"&&et[rt]&&et[rt].enabled&&!et[rt].prevEl&&!et[rt].nextEl&&(et[rt].auto=!0),["pagination","scrollbar"].indexOf(rt)>=0&&et[rt]&&et[rt].enabled&&!et[rt].el&&(et[rt].auto=!0),!(rt in et&&"enabled"in st)){extend$3(_e,nt);return}typeof et[rt]=="object"&&!("enabled"in et[rt])&&(et[rt].enabled=!0),et[rt]||(et[rt]={enabled:!1}),extend$3(_e,nt)}}const prototypes={eventsEmitter,update,translate,transition,slide,loop,grabCursor,events:events$1,breakpoints,checkOverflow:checkOverflow$1,classes},extendedDefaults={};let Swiper$1=class or{constructor(){let _e,tt;for(var nt=arguments.length,rt=new Array(nt),st=0;st1){const ct=[];return it.querySelectorAll(tt.el).forEach(ut=>{const dt=extend$3({},tt,{el:ut});ct.push(new or(dt))}),ct}const at=this;at.__swiper__=!0,at.support=getSupport(),at.device=getDevice({userAgent:tt.userAgent}),at.browser=getBrowser(),at.eventsListeners={},at.eventsAnyListeners=[],at.modules=[...at.__modules__],tt.modules&&Array.isArray(tt.modules)&&at.modules.push(...tt.modules);const ot={};at.modules.forEach(ct=>{ct({params:tt,swiper:at,extendParams:moduleExtendParams(tt,ot),on:at.on.bind(at),once:at.once.bind(at),off:at.off.bind(at),emit:at.emit.bind(at)})});const lt=extend$3({},defaults$2,ot);return at.params=extend$3({},lt,extendedDefaults,tt),at.originalParams=extend$3({},at.params),at.passedParams=extend$3({},tt),at.params&&at.params.on&&Object.keys(at.params.on).forEach(ct=>{at.on(ct,at.params.on[ct])}),at.params&&at.params.onAny&&at.onAny(at.params.onAny),Object.assign(at,{enabled:at.params.enabled,el:_e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return at.params.direction==="horizontal"},isVertical(){return at.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:at.params.allowSlideNext,allowSlidePrev:at.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:at.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,evCache:[]},allowClick:!0,allowTouchMove:at.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),at.emit("_swiper"),at.params.init&&at.init(),at}getSlideIndex(_e){const{slidesEl:tt,params:nt}=this,rt=elementChildren(tt,`.${nt.slideClass}, swiper-slide`),st=elementIndex(rt[0]);return elementIndex(_e)-st}getSlideIndexByData(_e){return this.getSlideIndex(this.slides.filter(tt=>tt.getAttribute("data-swiper-slide-index")*1===_e)[0])}recalcSlides(){const _e=this,{slidesEl:tt,params:nt}=_e;_e.slides=elementChildren(tt,`.${nt.slideClass}, swiper-slide`)}enable(){const _e=this;_e.enabled||(_e.enabled=!0,_e.params.grabCursor&&_e.setGrabCursor(),_e.emit("enable"))}disable(){const _e=this;_e.enabled&&(_e.enabled=!1,_e.params.grabCursor&&_e.unsetGrabCursor(),_e.emit("disable"))}setProgress(_e,tt){const nt=this;_e=Math.min(Math.max(_e,0),1);const rt=nt.minTranslate(),it=(nt.maxTranslate()-rt)*_e+rt;nt.translateTo(it,typeof tt>"u"?0:tt),nt.updateActiveIndex(),nt.updateSlidesClasses()}emitContainerClasses(){const _e=this;if(!_e.params._emitClasses||!_e.el)return;const tt=_e.el.className.split(" ").filter(nt=>nt.indexOf("swiper")===0||nt.indexOf(_e.params.containerModifierClass)===0);_e.emit("_containerClasses",tt.join(" "))}getSlideClasses(_e){const tt=this;return tt.destroyed?"":_e.className.split(" ").filter(nt=>nt.indexOf("swiper-slide")===0||nt.indexOf(tt.params.slideClass)===0).join(" ")}emitSlidesClasses(){const _e=this;if(!_e.params._emitClasses||!_e.el)return;const tt=[];_e.slides.forEach(nt=>{const rt=_e.getSlideClasses(nt);tt.push({slideEl:nt,classNames:rt}),_e.emit("_slideClass",nt,rt)}),_e.emit("_slideClasses",tt)}slidesPerViewDynamic(_e,tt){_e===void 0&&(_e="current"),tt===void 0&&(tt=!1);const nt=this,{params:rt,slides:st,slidesGrid:it,slidesSizesGrid:at,size:ot,activeIndex:lt}=nt;let ct=1;if(typeof rt.slidesPerView=="number")return rt.slidesPerView;if(rt.centeredSlides){let ut=st[lt]?st[lt].swiperSlideSize:0,dt;for(let ft=lt+1;ftot&&(dt=!0));for(let ft=lt-1;ft>=0;ft-=1)st[ft]&&!dt&&(ut+=st[ft].swiperSlideSize,ct+=1,ut>ot&&(dt=!0))}else if(_e==="current")for(let ut=lt+1;ut=0;ut-=1)it[lt]-it[ut]{it.complete&&processLazyPreloader(_e,it)}),_e.updateSize(),_e.updateSlides(),_e.updateProgress(),_e.updateSlidesClasses();function rt(){const it=_e.rtlTranslate?_e.translate*-1:_e.translate,at=Math.min(Math.max(it,_e.maxTranslate()),_e.minTranslate());_e.setTranslate(at),_e.updateActiveIndex(),_e.updateSlidesClasses()}let st;if(nt.freeMode&&nt.freeMode.enabled&&!nt.cssMode)rt(),nt.autoHeight&&_e.updateAutoHeight();else{if((nt.slidesPerView==="auto"||nt.slidesPerView>1)&&_e.isEnd&&!nt.centeredSlides){const it=_e.virtual&&nt.virtual.enabled?_e.virtual.slides:_e.slides;st=_e.slideTo(it.length-1,0,!1,!0)}else st=_e.slideTo(_e.activeIndex,0,!1,!0);st||rt()}nt.watchOverflow&&tt!==_e.snapGrid&&_e.checkOverflow(),_e.emit("update")}changeDirection(_e,tt){tt===void 0&&(tt=!0);const nt=this,rt=nt.params.direction;return _e||(_e=rt==="horizontal"?"vertical":"horizontal"),_e===rt||_e!=="horizontal"&&_e!=="vertical"||(nt.el.classList.remove(`${nt.params.containerModifierClass}${rt}`),nt.el.classList.add(`${nt.params.containerModifierClass}${_e}`),nt.emitContainerClasses(),nt.params.direction=_e,nt.slides.forEach(st=>{_e==="vertical"?st.style.width="":st.style.height=""}),nt.emit("changeDirection"),tt&&nt.update()),nt}changeLanguageDirection(_e){const tt=this;tt.rtl&&_e==="rtl"||!tt.rtl&&_e==="ltr"||(tt.rtl=_e==="rtl",tt.rtlTranslate=tt.params.direction==="horizontal"&&tt.rtl,tt.rtl?(tt.el.classList.add(`${tt.params.containerModifierClass}rtl`),tt.el.dir="rtl"):(tt.el.classList.remove(`${tt.params.containerModifierClass}rtl`),tt.el.dir="ltr"),tt.update())}mount(_e){const tt=this;if(tt.mounted)return!0;let nt=_e||tt.params.el;if(typeof nt=="string"&&(nt=document.querySelector(nt)),!nt)return!1;nt.swiper=tt,nt.parentNode&&nt.parentNode.host&&nt.parentNode.host.nodeName==="SWIPER-CONTAINER"&&(tt.isElement=!0);const rt=()=>`.${(tt.params.wrapperClass||"").trim().split(" ").join(".")}`;let it=(()=>nt&&nt.shadowRoot&&nt.shadowRoot.querySelector?nt.shadowRoot.querySelector(rt()):elementChildren(nt,rt())[0])();return!it&&tt.params.createElements&&(it=createElement("div",tt.params.wrapperClass),nt.append(it),elementChildren(nt,`.${tt.params.slideClass}`).forEach(at=>{it.append(at)})),Object.assign(tt,{el:nt,wrapperEl:it,slidesEl:tt.isElement&&!nt.parentNode.host.slideSlots?nt.parentNode.host:it,hostEl:tt.isElement?nt.parentNode.host:nt,mounted:!0,rtl:nt.dir.toLowerCase()==="rtl"||elementStyle(nt,"direction")==="rtl",rtlTranslate:tt.params.direction==="horizontal"&&(nt.dir.toLowerCase()==="rtl"||elementStyle(nt,"direction")==="rtl"),wrongRTL:elementStyle(it,"display")==="-webkit-box"}),!0}init(_e){const tt=this;if(tt.initialized||tt.mount(_e)===!1)return tt;tt.emit("beforeInit"),tt.params.breakpoints&&tt.setBreakpoint(),tt.addClasses(),tt.updateSize(),tt.updateSlides(),tt.params.watchOverflow&&tt.checkOverflow(),tt.params.grabCursor&&tt.enabled&&tt.setGrabCursor(),tt.params.loop&&tt.virtual&&tt.params.virtual.enabled?tt.slideTo(tt.params.initialSlide+tt.virtual.slidesBefore,0,tt.params.runCallbacksOnInit,!1,!0):tt.slideTo(tt.params.initialSlide,0,tt.params.runCallbacksOnInit,!1,!0),tt.params.loop&&tt.loopCreate(),tt.attachEvents();const rt=[...tt.el.querySelectorAll('[loading="lazy"]')];return tt.isElement&&rt.push(...tt.hostEl.querySelectorAll('[loading="lazy"]')),rt.forEach(st=>{st.complete?processLazyPreloader(tt,st):st.addEventListener("load",it=>{processLazyPreloader(tt,it.target)})}),preload(tt),tt.initialized=!0,preload(tt),tt.emit("init"),tt.emit("afterInit"),tt}destroy(_e,tt){_e===void 0&&(_e=!0),tt===void 0&&(tt=!0);const nt=this,{params:rt,el:st,wrapperEl:it,slides:at}=nt;return typeof nt.params>"u"||nt.destroyed||(nt.emit("beforeDestroy"),nt.initialized=!1,nt.detachEvents(),rt.loop&&nt.loopDestroy(),tt&&(nt.removeClasses(),st.removeAttribute("style"),it.removeAttribute("style"),at&&at.length&&at.forEach(ot=>{ot.classList.remove(rt.slideVisibleClass,rt.slideActiveClass,rt.slideNextClass,rt.slidePrevClass),ot.removeAttribute("style"),ot.removeAttribute("data-swiper-slide-index")})),nt.emit("destroy"),Object.keys(nt.eventsListeners).forEach(ot=>{nt.off(ot)}),_e!==!1&&(nt.el.swiper=null,deleteProps(nt)),nt.destroyed=!0),null}static extendDefaults(_e){extend$3(extendedDefaults,_e)}static get extendedDefaults(){return extendedDefaults}static get defaults(){return defaults$2}static installModule(_e){or.prototype.__modules__||(or.prototype.__modules__=[]);const tt=or.prototype.__modules__;typeof _e=="function"&&tt.indexOf(_e)<0&&tt.push(_e)}static use(_e){return Array.isArray(_e)?(_e.forEach(tt=>or.installModule(tt)),or):(or.installModule(_e),or)}};Object.keys(prototypes).forEach(et=>{Object.keys(prototypes[et]).forEach(_e=>{Swiper$1.prototype[_e]=prototypes[et][_e]})});Swiper$1.use([Resize,Observer]);function Virtual(et){let{swiper:_e,extendParams:tt,on:nt,emit:rt}=et;tt({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});let st;const it=getDocument();_e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const at=it.createElement("div");function ot(pt,ht){const vt=_e.params.virtual;if(vt.cache&&_e.virtual.cache[ht])return _e.virtual.cache[ht];let gt;return vt.renderSlide?(gt=vt.renderSlide.call(_e,pt,ht),typeof gt=="string"&&(at.innerHTML=gt,gt=at.children[0])):_e.isElement?gt=createElement("swiper-slide"):gt=createElement("div",_e.params.slideClass),gt.setAttribute("data-swiper-slide-index",ht),vt.renderSlide||(gt.innerHTML=pt),vt.cache&&(_e.virtual.cache[ht]=gt),gt}function lt(pt){const{slidesPerView:ht,slidesPerGroup:vt,centeredSlides:gt,loop:mt}=_e.params,{addSlidesBefore:bt,addSlidesAfter:xt}=_e.params.virtual,{from:yt,to:$t,slides:wt,slidesGrid:Ct,offset:Et}=_e.virtual;_e.params.cssMode||_e.updateActiveIndex();const Mt=_e.activeIndex||0;let St;_e.rtlTranslate?St="right":St=_e.isHorizontal()?"left":"top";let Rt,Pt;gt?(Rt=Math.floor(ht/2)+vt+xt,Pt=Math.floor(ht/2)+vt+bt):(Rt=ht+(vt-1)+xt,Pt=(mt?ht:vt)+bt);let kt=Mt-Pt,_t=Mt+Rt;mt||(kt=Math.max(kt,0),_t=Math.min(_t,wt.length-1));let Bt=(_e.slidesGrid[kt]||0)-(_e.slidesGrid[0]||0);mt&&Mt>=Pt?(kt-=Pt,gt||(Bt+=_e.slidesGrid[0])):mt&&Mt{Lt.style[St]=`${Bt-Math.abs(_e.cssOverflowAdjustment())}px`}),_e.updateProgress(),rt("virtualUpdate");return}if(_e.params.virtual.renderExternal){_e.params.virtual.renderExternal.call(_e,{offset:Bt,from:kt,to:_t,slides:function(){const jt=[];for(let Ht=kt;Ht<=_t;Ht+=1)jt.push(wt[Ht]);return jt}()}),_e.params.virtual.renderExternalUpdate?It():rt("virtualUpdate");return}const At=[],Tt=[],Dt=Lt=>{let jt=Lt;return Lt<0?jt=wt.length+Lt:jt>=wt.length&&(jt=jt-wt.length),jt};if(pt)_e.slides.filter(Lt=>Lt.matches(`.${_e.params.slideClass}, swiper-slide`)).forEach(Lt=>{Lt.remove()});else for(let Lt=yt;Lt<=$t;Lt+=1)if(Lt_t){const jt=Dt(Lt);_e.slides.filter(Ht=>Ht.matches(`.${_e.params.slideClass}[data-swiper-slide-index="${jt}"], swiper-slide[data-swiper-slide-index="${jt}"]`)).forEach(Ht=>{Ht.remove()})}const Nt=mt?-wt.length:0,Ot=mt?wt.length*2:wt.length;for(let Lt=Nt;Lt=kt&&Lt<=_t){const jt=Dt(Lt);typeof $t>"u"||pt?Tt.push(jt):(Lt>$t&&Tt.push(jt),Lt{_e.slidesEl.append(ot(wt[Lt],Lt))}),mt)for(let Lt=At.length-1;Lt>=0;Lt-=1){const jt=At[Lt];_e.slidesEl.prepend(ot(wt[jt],jt))}else At.sort((Lt,jt)=>jt-Lt),At.forEach(Lt=>{_e.slidesEl.prepend(ot(wt[Lt],Lt))});elementChildren(_e.slidesEl,".swiper-slide, swiper-slide").forEach(Lt=>{Lt.style[St]=`${Bt-Math.abs(_e.cssOverflowAdjustment())}px`}),It()}function ct(pt){if(typeof pt=="object"&&"length"in pt)for(let ht=0;ht{const yt=mt[xt],$t=yt.getAttribute("data-swiper-slide-index");$t&&yt.setAttribute("data-swiper-slide-index",parseInt($t,10)+gt),bt[parseInt(xt,10)+gt]=yt}),_e.virtual.cache=bt}lt(!0),_e.slideTo(vt,0)}function dt(pt){if(typeof pt>"u"||pt===null)return;let ht=_e.activeIndex;if(Array.isArray(pt))for(let vt=pt.length-1;vt>=0;vt-=1)_e.params.virtual.cache&&(delete _e.virtual.cache[pt[vt]],Object.keys(_e.virtual.cache).forEach(gt=>{gt>pt&&(_e.virtual.cache[gt-1]=_e.virtual.cache[gt],_e.virtual.cache[gt-1].setAttribute("data-swiper-slide-index",gt-1),delete _e.virtual.cache[gt])})),_e.virtual.slides.splice(pt[vt],1),pt[vt]{vt>pt&&(_e.virtual.cache[vt-1]=_e.virtual.cache[vt],_e.virtual.cache[vt-1].setAttribute("data-swiper-slide-index",vt-1),delete _e.virtual.cache[vt])})),_e.virtual.slides.splice(pt,1),pt{if(!_e.params.virtual.enabled)return;let pt;if(typeof _e.passedParams.virtual.slides>"u"){const ht=[..._e.slidesEl.children].filter(vt=>vt.matches(`.${_e.params.slideClass}, swiper-slide`));ht&&ht.length&&(_e.virtual.slides=[...ht],pt=!0,ht.forEach((vt,gt)=>{vt.setAttribute("data-swiper-slide-index",gt),_e.virtual.cache[gt]=vt,vt.remove()}))}pt||(_e.virtual.slides=_e.params.virtual.slides),_e.classNames.push(`${_e.params.containerModifierClass}virtual`),_e.params.watchSlidesProgress=!0,_e.originalParams.watchSlidesProgress=!0,lt()}),nt("setTranslate",()=>{_e.params.virtual.enabled&&(_e.params.cssMode&&!_e._immediateVirtual?(clearTimeout(st),st=setTimeout(()=>{lt()},100)):lt())}),nt("init update resize",()=>{_e.params.virtual.enabled&&_e.params.cssMode&&setCSSProperty(_e.wrapperEl,"--swiper-virtual-size",`${_e.virtualSize}px`)}),Object.assign(_e.virtual,{appendSlide:ct,prependSlide:ut,removeSlide:dt,removeAllSlides:ft,update:lt})}function Keyboard(et){let{swiper:_e,extendParams:tt,on:nt,emit:rt}=et;const st=getDocument(),it=getWindow();_e.keyboard={enabled:!1},tt({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}});function at(ct){if(!_e.enabled)return;const{rtlTranslate:ut}=_e;let dt=ct;dt.originalEvent&&(dt=dt.originalEvent);const ft=dt.keyCode||dt.charCode,pt=_e.params.keyboard.pageUpDown,ht=pt&&ft===33,vt=pt&&ft===34,gt=ft===37,mt=ft===39,bt=ft===38,xt=ft===40;if(!_e.allowSlideNext&&(_e.isHorizontal()&&mt||_e.isVertical()&&xt||vt)||!_e.allowSlidePrev&&(_e.isHorizontal()&>||_e.isVertical()&&bt||ht))return!1;if(!(dt.shiftKey||dt.altKey||dt.ctrlKey||dt.metaKey)&&!(st.activeElement&&st.activeElement.nodeName&&(st.activeElement.nodeName.toLowerCase()==="input"||st.activeElement.nodeName.toLowerCase()==="textarea"))){if(_e.params.keyboard.onlyInViewport&&(ht||vt||gt||mt||bt||xt)){let yt=!1;if(elementParents(_e.el,`.${_e.params.slideClass}, swiper-slide`).length>0&&elementParents(_e.el,`.${_e.params.slideActiveClass}`).length===0)return;const $t=_e.el,wt=$t.clientWidth,Ct=$t.clientHeight,Et=it.innerWidth,Mt=it.innerHeight,St=elementOffset($t);ut&&(St.left-=$t.scrollLeft);const Rt=[[St.left,St.top],[St.left+wt,St.top],[St.left,St.top+Ct],[St.left+wt,St.top+Ct]];for(let Pt=0;Pt=0&&kt[0]<=Et&&kt[1]>=0&&kt[1]<=Mt){if(kt[0]===0&&kt[1]===0)continue;yt=!0}}if(!yt)return}_e.isHorizontal()?((ht||vt||gt||mt)&&(dt.preventDefault?dt.preventDefault():dt.returnValue=!1),((vt||mt)&&!ut||(ht||gt)&&ut)&&_e.slideNext(),((ht||gt)&&!ut||(vt||mt)&&ut)&&_e.slidePrev()):((ht||vt||bt||xt)&&(dt.preventDefault?dt.preventDefault():dt.returnValue=!1),(vt||xt)&&_e.slideNext(),(ht||bt)&&_e.slidePrev()),rt("keyPress",ft)}}function ot(){_e.keyboard.enabled||(st.addEventListener("keydown",at),_e.keyboard.enabled=!0)}function lt(){_e.keyboard.enabled&&(st.removeEventListener("keydown",at),_e.keyboard.enabled=!1)}nt("init",()=>{_e.params.keyboard.enabled&&ot()}),nt("destroy",()=>{_e.keyboard.enabled&<()}),Object.assign(_e.keyboard,{enable:ot,disable:lt})}function Mousewheel(et){let{swiper:_e,extendParams:tt,on:nt,emit:rt}=et;const st=getWindow();tt({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),_e.mousewheel={enabled:!1};let it,at=now$1(),ot;const lt=[];function ct(bt){let wt=0,Ct=0,Et=0,Mt=0;return"detail"in bt&&(Ct=bt.detail),"wheelDelta"in bt&&(Ct=-bt.wheelDelta/120),"wheelDeltaY"in bt&&(Ct=-bt.wheelDeltaY/120),"wheelDeltaX"in bt&&(wt=-bt.wheelDeltaX/120),"axis"in bt&&bt.axis===bt.HORIZONTAL_AXIS&&(wt=Ct,Ct=0),Et=wt*10,Mt=Ct*10,"deltaY"in bt&&(Mt=bt.deltaY),"deltaX"in bt&&(Et=bt.deltaX),bt.shiftKey&&!Et&&(Et=Mt,Mt=0),(Et||Mt)&&bt.deltaMode&&(bt.deltaMode===1?(Et*=40,Mt*=40):(Et*=800,Mt*=800)),Et&&!wt&&(wt=Et<1?-1:1),Mt&&!Ct&&(Ct=Mt<1?-1:1),{spinX:wt,spinY:Ct,pixelX:Et,pixelY:Mt}}function ut(){_e.enabled&&(_e.mouseEntered=!0)}function dt(){_e.enabled&&(_e.mouseEntered=!1)}function ft(bt){return _e.params.mousewheel.thresholdDelta&&bt.delta<_e.params.mousewheel.thresholdDelta||_e.params.mousewheel.thresholdTime&&now$1()-at<_e.params.mousewheel.thresholdTime?!1:bt.delta>=6&&now$1()-at<60?!0:(bt.direction<0?(!_e.isEnd||_e.params.loop)&&!_e.animating&&(_e.slideNext(),rt("scroll",bt.raw)):(!_e.isBeginning||_e.params.loop)&&!_e.animating&&(_e.slidePrev(),rt("scroll",bt.raw)),at=new st.Date().getTime(),!1)}function pt(bt){const xt=_e.params.mousewheel;if(bt.direction<0){if(_e.isEnd&&!_e.params.loop&&xt.releaseOnEdges)return!0}else if(_e.isBeginning&&!_e.params.loop&&xt.releaseOnEdges)return!0;return!1}function ht(bt){let xt=bt,yt=!0;if(!_e.enabled||bt.target.closest(`.${_e.params.mousewheel.noMousewheelClass}`))return;const $t=_e.params.mousewheel;_e.params.cssMode&&xt.preventDefault();let wt=_e.el;_e.params.mousewheel.eventsTarget!=="container"&&(wt=document.querySelector(_e.params.mousewheel.eventsTarget));const Ct=wt&&wt.contains(xt.target);if(!_e.mouseEntered&&!Ct&&!$t.releaseOnEdges)return!0;xt.originalEvent&&(xt=xt.originalEvent);let Et=0;const Mt=_e.rtlTranslate?-1:1,St=ct(xt);if($t.forceToAxis)if(_e.isHorizontal())if(Math.abs(St.pixelX)>Math.abs(St.pixelY))Et=-St.pixelX*Mt;else return!0;else if(Math.abs(St.pixelY)>Math.abs(St.pixelX))Et=-St.pixelY;else return!0;else Et=Math.abs(St.pixelX)>Math.abs(St.pixelY)?-St.pixelX*Mt:-St.pixelY;if(Et===0)return!0;$t.invert&&(Et=-Et);let Rt=_e.getTranslate()+Et*$t.sensitivity;if(Rt>=_e.minTranslate()&&(Rt=_e.minTranslate()),Rt<=_e.maxTranslate()&&(Rt=_e.maxTranslate()),yt=_e.params.loop?!0:!(Rt===_e.minTranslate()||Rt===_e.maxTranslate()),yt&&_e.params.nested&&xt.stopPropagation(),!_e.params.freeMode||!_e.params.freeMode.enabled){const Pt={time:now$1(),delta:Math.abs(Et),direction:Math.sign(Et),raw:bt};lt.length>=2&<.shift();const kt=lt.length?lt[lt.length-1]:void 0;if(lt.push(Pt),kt?(Pt.direction!==kt.direction||Pt.delta>kt.delta||Pt.time>kt.time+150)&&ft(Pt):ft(Pt),pt(Pt))return!0}else{const Pt={time:now$1(),delta:Math.abs(Et),direction:Math.sign(Et)},kt=ot&&Pt.time=_e.minTranslate()&&(_t=_e.minTranslate()),_t<=_e.maxTranslate()&&(_t=_e.maxTranslate()),_e.setTransition(0),_e.setTranslate(_t),_e.updateProgress(),_e.updateActiveIndex(),_e.updateSlidesClasses(),(!Bt&&_e.isBeginning||!It&&_e.isEnd)&&_e.updateSlidesClasses(),_e.params.loop&&_e.loopFix({direction:Pt.direction<0?"next":"prev",byMousewheel:!0}),_e.params.freeMode.sticky){clearTimeout(it),it=void 0,lt.length>=15&<.shift();const At=lt.length?lt[lt.length-1]:void 0,Tt=lt[0];if(lt.push(Pt),At&&(Pt.delta>At.delta||Pt.direction!==At.direction))lt.splice(0);else if(lt.length>=15&&Pt.time-Tt.time<500&&Tt.delta-Pt.delta>=1&&Pt.delta<=6){const Dt=Et>0?.8:.2;ot=Pt,lt.splice(0),it=nextTick$1(()=>{_e.slideToClosest(_e.params.speed,!0,void 0,Dt)},0)}it||(it=nextTick$1(()=>{ot=Pt,lt.splice(0),_e.slideToClosest(_e.params.speed,!0,void 0,.5)},500))}if(kt||rt("scroll",xt),_e.params.autoplay&&_e.params.autoplayDisableOnInteraction&&_e.autoplay.stop(),$t.releaseOnEdges&&(_t===_e.minTranslate()||_t===_e.maxTranslate()))return!0}}return xt.preventDefault?xt.preventDefault():xt.returnValue=!1,!1}function vt(bt){let xt=_e.el;_e.params.mousewheel.eventsTarget!=="container"&&(xt=document.querySelector(_e.params.mousewheel.eventsTarget)),xt[bt]("mouseenter",ut),xt[bt]("mouseleave",dt),xt[bt]("wheel",ht)}function gt(){return _e.params.cssMode?(_e.wrapperEl.removeEventListener("wheel",ht),!0):_e.mousewheel.enabled?!1:(vt("addEventListener"),_e.mousewheel.enabled=!0,!0)}function mt(){return _e.params.cssMode?(_e.wrapperEl.addEventListener(event,ht),!0):_e.mousewheel.enabled?(vt("removeEventListener"),_e.mousewheel.enabled=!1,!0):!1}nt("init",()=>{!_e.params.mousewheel.enabled&&_e.params.cssMode&&mt(),_e.params.mousewheel.enabled&>()}),nt("destroy",()=>{_e.params.cssMode&>(),_e.mousewheel.enabled&&mt()}),Object.assign(_e.mousewheel,{enable:gt,disable:mt})}function createElementIfNotDefined(et,_e,tt,nt){return et.params.createElements&&Object.keys(nt).forEach(rt=>{if(!tt[rt]&&tt.auto===!0){let st=elementChildren(et.el,`.${nt[rt]}`)[0];st||(st=createElement("div",nt[rt]),st.className=nt[rt],et.el.append(st)),tt[rt]=st,_e[rt]=st}}),tt}function Navigation(et){let{swiper:_e,extendParams:tt,on:nt,emit:rt}=et;tt({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),_e.navigation={nextEl:null,prevEl:null};const st=ht=>(Array.isArray(ht)?ht:[ht]).filter(vt=>!!vt);function it(ht){let vt;return ht&&typeof ht=="string"&&_e.isElement&&(vt=_e.el.querySelector(ht),vt)?vt:(ht&&(typeof ht=="string"&&(vt=[...document.querySelectorAll(ht)]),_e.params.uniqueNavElements&&typeof ht=="string"&&vt.length>1&&_e.el.querySelectorAll(ht).length===1&&(vt=_e.el.querySelector(ht))),ht&&!vt?ht:vt)}function at(ht,vt){const gt=_e.params.navigation;ht=st(ht),ht.forEach(mt=>{mt&&(mt.classList[vt?"add":"remove"](...gt.disabledClass.split(" ")),mt.tagName==="BUTTON"&&(mt.disabled=vt),_e.params.watchOverflow&&_e.enabled&&mt.classList[_e.isLocked?"add":"remove"](gt.lockClass))})}function ot(){const{nextEl:ht,prevEl:vt}=_e.navigation;if(_e.params.loop){at(vt,!1),at(ht,!1);return}at(vt,_e.isBeginning&&!_e.params.rewind),at(ht,_e.isEnd&&!_e.params.rewind)}function lt(ht){ht.preventDefault(),!(_e.isBeginning&&!_e.params.loop&&!_e.params.rewind)&&(_e.slidePrev(),rt("navigationPrev"))}function ct(ht){ht.preventDefault(),!(_e.isEnd&&!_e.params.loop&&!_e.params.rewind)&&(_e.slideNext(),rt("navigationNext"))}function ut(){const ht=_e.params.navigation;if(_e.params.navigation=createElementIfNotDefined(_e,_e.originalParams.navigation,_e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(ht.nextEl||ht.prevEl))return;let vt=it(ht.nextEl),gt=it(ht.prevEl);Object.assign(_e.navigation,{nextEl:vt,prevEl:gt}),vt=st(vt),gt=st(gt);const mt=(bt,xt)=>{bt&&bt.addEventListener("click",xt==="next"?ct:lt),!_e.enabled&&bt&&bt.classList.add(...ht.lockClass.split(" "))};vt.forEach(bt=>mt(bt,"next")),gt.forEach(bt=>mt(bt,"prev"))}function dt(){let{nextEl:ht,prevEl:vt}=_e.navigation;ht=st(ht),vt=st(vt);const gt=(mt,bt)=>{mt.removeEventListener("click",bt==="next"?ct:lt),mt.classList.remove(..._e.params.navigation.disabledClass.split(" "))};ht.forEach(mt=>gt(mt,"next")),vt.forEach(mt=>gt(mt,"prev"))}nt("init",()=>{_e.params.navigation.enabled===!1?pt():(ut(),ot())}),nt("toEdge fromEdge lock unlock",()=>{ot()}),nt("destroy",()=>{dt()}),nt("enable disable",()=>{let{nextEl:ht,prevEl:vt}=_e.navigation;if(ht=st(ht),vt=st(vt),_e.enabled){ot();return}[...ht,...vt].filter(gt=>!!gt).forEach(gt=>gt.classList.add(_e.params.navigation.lockClass))}),nt("click",(ht,vt)=>{let{nextEl:gt,prevEl:mt}=_e.navigation;gt=st(gt),mt=st(mt);const bt=vt.target;if(_e.params.navigation.hideOnClick&&!mt.includes(bt)&&!gt.includes(bt)){if(_e.pagination&&_e.params.pagination&&_e.params.pagination.clickable&&(_e.pagination.el===bt||_e.pagination.el.contains(bt)))return;let xt;gt.length?xt=gt[0].classList.contains(_e.params.navigation.hiddenClass):mt.length&&(xt=mt[0].classList.contains(_e.params.navigation.hiddenClass)),rt(xt===!0?"navigationShow":"navigationHide"),[...gt,...mt].filter(yt=>!!yt).forEach(yt=>yt.classList.toggle(_e.params.navigation.hiddenClass))}});const ft=()=>{_e.el.classList.remove(..._e.params.navigation.navigationDisabledClass.split(" ")),ut(),ot()},pt=()=>{_e.el.classList.add(..._e.params.navigation.navigationDisabledClass.split(" ")),dt()};Object.assign(_e.navigation,{enable:ft,disable:pt,update:ot,init:ut,destroy:dt})}function classesToSelector(et){return et===void 0&&(et=""),`.${et.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Pagination(et){let{swiper:_e,extendParams:tt,on:nt,emit:rt}=et;const st="swiper-pagination";tt({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:mt=>mt,formatFractionTotal:mt=>mt,bulletClass:`${st}-bullet`,bulletActiveClass:`${st}-bullet-active`,modifierClass:`${st}-`,currentClass:`${st}-current`,totalClass:`${st}-total`,hiddenClass:`${st}-hidden`,progressbarFillClass:`${st}-progressbar-fill`,progressbarOppositeClass:`${st}-progressbar-opposite`,clickableClass:`${st}-clickable`,lockClass:`${st}-lock`,horizontalClass:`${st}-horizontal`,verticalClass:`${st}-vertical`,paginationDisabledClass:`${st}-disabled`}}),_e.pagination={el:null,bullets:[]};let it,at=0;const ot=mt=>(Array.isArray(mt)?mt:[mt]).filter(bt=>!!bt);function lt(){return!_e.params.pagination.el||!_e.pagination.el||Array.isArray(_e.pagination.el)&&_e.pagination.el.length===0}function ct(mt,bt){const{bulletActiveClass:xt}=_e.params.pagination;mt&&(mt=mt[`${bt==="prev"?"previous":"next"}ElementSibling`],mt&&(mt.classList.add(`${xt}-${bt}`),mt=mt[`${bt==="prev"?"previous":"next"}ElementSibling`],mt&&mt.classList.add(`${xt}-${bt}-${bt}`)))}function ut(mt){const bt=mt.target.closest(classesToSelector(_e.params.pagination.bulletClass));if(!bt)return;mt.preventDefault();const xt=elementIndex(bt)*_e.params.slidesPerGroup;if(_e.params.loop){if(_e.realIndex===xt)return;const yt=_e.realIndex,$t=_e.getSlideIndexByData(xt),wt=_e.getSlideIndexByData(_e.realIndex),Ct=Et=>{const Mt=_e.activeIndex;_e.loopFix({direction:Et,activeSlideIndex:$t,slideTo:!1});const St=_e.activeIndex;Mt===St&&_e.slideToLoop(yt,0,!1,!0)};if($t>_e.slides.length-_e.loopedSlides)Ct($t>wt?"next":"prev");else if(_e.params.centeredSlides){const Et=_e.params.slidesPerView==="auto"?_e.slidesPerViewDynamic():Math.ceil(parseFloat(_e.params.slidesPerView,10));$t1?Math.floor(_e.realIndex/_e.params.slidesPerGroup):_e.realIndex):typeof _e.snapIndex<"u"?(yt=_e.snapIndex,$t=_e.previousSnapIndex):($t=_e.previousIndex||0,yt=_e.activeIndex||0),bt.type==="bullets"&&_e.pagination.bullets&&_e.pagination.bullets.length>0){const Et=_e.pagination.bullets;let Mt,St,Rt;if(bt.dynamicBullets&&(it=elementOuterSize(Et[0],_e.isHorizontal()?"width":"height",!0),xt.forEach(Pt=>{Pt.style[_e.isHorizontal()?"width":"height"]=`${it*(bt.dynamicMainBullets+4)}px`}),bt.dynamicMainBullets>1&&$t!==void 0&&(at+=yt-($t||0),at>bt.dynamicMainBullets-1?at=bt.dynamicMainBullets-1:at<0&&(at=0)),Mt=Math.max(yt-at,0),St=Mt+(Math.min(Et.length,bt.dynamicMainBullets)-1),Rt=(St+Mt)/2),Et.forEach(Pt=>{const kt=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(_t=>`${bt.bulletActiveClass}${_t}`)].map(_t=>typeof _t=="string"&&_t.includes(" ")?_t.split(" "):_t).flat();Pt.classList.remove(...kt)}),xt.length>1)Et.forEach(Pt=>{const kt=elementIndex(Pt);kt===yt?Pt.classList.add(...bt.bulletActiveClass.split(" ")):_e.isElement&&Pt.setAttribute("part","bullet"),bt.dynamicBullets&&(kt>=Mt&&kt<=St&&Pt.classList.add(...`${bt.bulletActiveClass}-main`.split(" ")),kt===Mt&&ct(Pt,"prev"),kt===St&&ct(Pt,"next"))});else{const Pt=Et[yt];if(Pt&&Pt.classList.add(...bt.bulletActiveClass.split(" ")),_e.isElement&&Et.forEach((kt,_t)=>{kt.setAttribute("part",_t===yt?"bullet-active":"bullet")}),bt.dynamicBullets){const kt=Et[Mt],_t=Et[St];for(let Bt=Mt;Bt<=St;Bt+=1)Et[Bt]&&Et[Bt].classList.add(...`${bt.bulletActiveClass}-main`.split(" "));ct(kt,"prev"),ct(_t,"next")}}if(bt.dynamicBullets){const Pt=Math.min(Et.length,bt.dynamicMainBullets+4),kt=(it*Pt-it)/2-Rt*it,_t=mt?"right":"left";Et.forEach(Bt=>{Bt.style[_e.isHorizontal()?_t:"top"]=`${kt}px`})}}xt.forEach((Et,Mt)=>{if(bt.type==="fraction"&&(Et.querySelectorAll(classesToSelector(bt.currentClass)).forEach(St=>{St.textContent=bt.formatFractionCurrent(yt+1)}),Et.querySelectorAll(classesToSelector(bt.totalClass)).forEach(St=>{St.textContent=bt.formatFractionTotal(Ct)})),bt.type==="progressbar"){let St;bt.progressbarOpposite?St=_e.isHorizontal()?"vertical":"horizontal":St=_e.isHorizontal()?"horizontal":"vertical";const Rt=(yt+1)/Ct;let Pt=1,kt=1;St==="horizontal"?Pt=Rt:kt=Rt,Et.querySelectorAll(classesToSelector(bt.progressbarFillClass)).forEach(_t=>{_t.style.transform=`translate3d(0,0,0) scaleX(${Pt}) scaleY(${kt})`,_t.style.transitionDuration=`${_e.params.speed}ms`})}bt.type==="custom"&&bt.renderCustom?(Et.innerHTML=bt.renderCustom(_e,yt+1,Ct),Mt===0&&rt("paginationRender",Et)):(Mt===0&&rt("paginationRender",Et),rt("paginationUpdate",Et)),_e.params.watchOverflow&&_e.enabled&&Et.classList[_e.isLocked?"add":"remove"](bt.lockClass)})}function ft(){const mt=_e.params.pagination;if(lt())return;const bt=_e.virtual&&_e.params.virtual.enabled?_e.virtual.slides.length:_e.slides.length;let xt=_e.pagination.el;xt=ot(xt);let yt="";if(mt.type==="bullets"){let $t=_e.params.loop?Math.ceil(bt/_e.params.slidesPerGroup):_e.snapGrid.length;_e.params.freeMode&&_e.params.freeMode.enabled&&$t>bt&&($t=bt);for(let wt=0;wt<$t;wt+=1)mt.renderBullet?yt+=mt.renderBullet.call(_e,wt,mt.bulletClass):yt+=`<${mt.bulletElement} ${_e.isElement?'part="bullet"':""} class="${mt.bulletClass}">`}mt.type==="fraction"&&(mt.renderFraction?yt=mt.renderFraction.call(_e,mt.currentClass,mt.totalClass):yt=` / `),mt.type==="progressbar"&&(mt.renderProgressbar?yt=mt.renderProgressbar.call(_e,mt.progressbarFillClass):yt=``),_e.pagination.bullets=[],xt.forEach($t=>{mt.type!=="custom"&&($t.innerHTML=yt||""),mt.type==="bullets"&&_e.pagination.bullets.push(...$t.querySelectorAll(classesToSelector(mt.bulletClass)))}),mt.type!=="custom"&&rt("paginationRender",xt[0])}function pt(){_e.params.pagination=createElementIfNotDefined(_e,_e.originalParams.pagination,_e.params.pagination,{el:"swiper-pagination"});const mt=_e.params.pagination;if(!mt.el)return;let bt;typeof mt.el=="string"&&_e.isElement&&(bt=_e.el.querySelector(mt.el)),!bt&&typeof mt.el=="string"&&(bt=[...document.querySelectorAll(mt.el)]),bt||(bt=mt.el),!(!bt||bt.length===0)&&(_e.params.uniqueNavElements&&typeof mt.el=="string"&&Array.isArray(bt)&&bt.length>1&&(bt=[..._e.el.querySelectorAll(mt.el)],bt.length>1&&(bt=bt.filter(xt=>elementParents(xt,".swiper")[0]===_e.el)[0])),Array.isArray(bt)&&bt.length===1&&(bt=bt[0]),Object.assign(_e.pagination,{el:bt}),bt=ot(bt),bt.forEach(xt=>{mt.type==="bullets"&&mt.clickable&&xt.classList.add(...(mt.clickableClass||"").split(" ")),xt.classList.add(mt.modifierClass+mt.type),xt.classList.add(_e.isHorizontal()?mt.horizontalClass:mt.verticalClass),mt.type==="bullets"&&mt.dynamicBullets&&(xt.classList.add(`${mt.modifierClass}${mt.type}-dynamic`),at=0,mt.dynamicMainBullets<1&&(mt.dynamicMainBullets=1)),mt.type==="progressbar"&&mt.progressbarOpposite&&xt.classList.add(mt.progressbarOppositeClass),mt.clickable&&xt.addEventListener("click",ut),_e.enabled||xt.classList.add(mt.lockClass)}))}function ht(){const mt=_e.params.pagination;if(lt())return;let bt=_e.pagination.el;bt&&(bt=ot(bt),bt.forEach(xt=>{xt.classList.remove(mt.hiddenClass),xt.classList.remove(mt.modifierClass+mt.type),xt.classList.remove(_e.isHorizontal()?mt.horizontalClass:mt.verticalClass),mt.clickable&&(xt.classList.remove(...(mt.clickableClass||"").split(" ")),xt.removeEventListener("click",ut))})),_e.pagination.bullets&&_e.pagination.bullets.forEach(xt=>xt.classList.remove(...mt.bulletActiveClass.split(" ")))}nt("changeDirection",()=>{if(!_e.pagination||!_e.pagination.el)return;const mt=_e.params.pagination;let{el:bt}=_e.pagination;bt=ot(bt),bt.forEach(xt=>{xt.classList.remove(mt.horizontalClass,mt.verticalClass),xt.classList.add(_e.isHorizontal()?mt.horizontalClass:mt.verticalClass)})}),nt("init",()=>{_e.params.pagination.enabled===!1?gt():(pt(),ft(),dt())}),nt("activeIndexChange",()=>{typeof _e.snapIndex>"u"&&dt()}),nt("snapIndexChange",()=>{dt()}),nt("snapGridLengthChange",()=>{ft(),dt()}),nt("destroy",()=>{ht()}),nt("enable disable",()=>{let{el:mt}=_e.pagination;mt&&(mt=ot(mt),mt.forEach(bt=>bt.classList[_e.enabled?"remove":"add"](_e.params.pagination.lockClass)))}),nt("lock unlock",()=>{dt()}),nt("click",(mt,bt)=>{const xt=bt.target,yt=ot(_e.pagination.el);if(_e.params.pagination.el&&_e.params.pagination.hideOnClick&&yt&&yt.length>0&&!xt.classList.contains(_e.params.pagination.bulletClass)){if(_e.navigation&&(_e.navigation.nextEl&&xt===_e.navigation.nextEl||_e.navigation.prevEl&&xt===_e.navigation.prevEl))return;const $t=yt[0].classList.contains(_e.params.pagination.hiddenClass);rt($t===!0?"paginationShow":"paginationHide"),yt.forEach(wt=>wt.classList.toggle(_e.params.pagination.hiddenClass))}});const vt=()=>{_e.el.classList.remove(_e.params.pagination.paginationDisabledClass);let{el:mt}=_e.pagination;mt&&(mt=ot(mt),mt.forEach(bt=>bt.classList.remove(_e.params.pagination.paginationDisabledClass))),pt(),ft(),dt()},gt=()=>{_e.el.classList.add(_e.params.pagination.paginationDisabledClass);let{el:mt}=_e.pagination;mt&&(mt=ot(mt),mt.forEach(bt=>bt.classList.add(_e.params.pagination.paginationDisabledClass))),ht()};Object.assign(_e.pagination,{enable:vt,disable:gt,render:ft,update:dt,init:pt,destroy:ht})}function Scrollbar(et){let{swiper:_e,extendParams:tt,on:nt,emit:rt}=et;const st=getDocument();let it=!1,at=null,ot=null,lt,ct,ut,dt;tt({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),_e.scrollbar={el:null,dragEl:null};function ft(){if(!_e.params.scrollbar.el||!_e.scrollbar.el)return;const{scrollbar:Rt,rtlTranslate:Pt}=_e,{dragEl:kt,el:_t}=Rt,Bt=_e.params.scrollbar,It=_e.params.loop?_e.progressLoop:_e.progress;let At=ct,Tt=(ut-ct)*It;Pt?(Tt=-Tt,Tt>0?(At=ct-Tt,Tt=0):-Tt+ct>ut&&(At=ut+Tt)):Tt<0?(At=ct+Tt,Tt=0):Tt+ct>ut&&(At=ut-Tt),_e.isHorizontal()?(kt.style.transform=`translate3d(${Tt}px, 0, 0)`,kt.style.width=`${At}px`):(kt.style.transform=`translate3d(0px, ${Tt}px, 0)`,kt.style.height=`${At}px`),Bt.hide&&(clearTimeout(at),_t.style.opacity=1,at=setTimeout(()=>{_t.style.opacity=0,_t.style.transitionDuration="400ms"},1e3))}function pt(Rt){!_e.params.scrollbar.el||!_e.scrollbar.el||(_e.scrollbar.dragEl.style.transitionDuration=`${Rt}ms`)}function ht(){if(!_e.params.scrollbar.el||!_e.scrollbar.el)return;const{scrollbar:Rt}=_e,{dragEl:Pt,el:kt}=Rt;Pt.style.width="",Pt.style.height="",ut=_e.isHorizontal()?kt.offsetWidth:kt.offsetHeight,dt=_e.size/(_e.virtualSize+_e.params.slidesOffsetBefore-(_e.params.centeredSlides?_e.snapGrid[0]:0)),_e.params.scrollbar.dragSize==="auto"?ct=ut*dt:ct=parseInt(_e.params.scrollbar.dragSize,10),_e.isHorizontal()?Pt.style.width=`${ct}px`:Pt.style.height=`${ct}px`,dt>=1?kt.style.display="none":kt.style.display="",_e.params.scrollbar.hide&&(kt.style.opacity=0),_e.params.watchOverflow&&_e.enabled&&Rt.el.classList[_e.isLocked?"add":"remove"](_e.params.scrollbar.lockClass)}function vt(Rt){return _e.isHorizontal()?Rt.clientX:Rt.clientY}function gt(Rt){const{scrollbar:Pt,rtlTranslate:kt}=_e,{el:_t}=Pt;let Bt;Bt=(vt(Rt)-elementOffset(_t)[_e.isHorizontal()?"left":"top"]-(lt!==null?lt:ct/2))/(ut-ct),Bt=Math.max(Math.min(Bt,1),0),kt&&(Bt=1-Bt);const It=_e.minTranslate()+(_e.maxTranslate()-_e.minTranslate())*Bt;_e.updateProgress(It),_e.setTranslate(It),_e.updateActiveIndex(),_e.updateSlidesClasses()}function mt(Rt){const Pt=_e.params.scrollbar,{scrollbar:kt,wrapperEl:_t}=_e,{el:Bt,dragEl:It}=kt;it=!0,lt=Rt.target===It?vt(Rt)-Rt.target.getBoundingClientRect()[_e.isHorizontal()?"left":"top"]:null,Rt.preventDefault(),Rt.stopPropagation(),_t.style.transitionDuration="100ms",It.style.transitionDuration="100ms",gt(Rt),clearTimeout(ot),Bt.style.transitionDuration="0ms",Pt.hide&&(Bt.style.opacity=1),_e.params.cssMode&&(_e.wrapperEl.style["scroll-snap-type"]="none"),rt("scrollbarDragStart",Rt)}function bt(Rt){const{scrollbar:Pt,wrapperEl:kt}=_e,{el:_t,dragEl:Bt}=Pt;it&&(Rt.preventDefault?Rt.preventDefault():Rt.returnValue=!1,gt(Rt),kt.style.transitionDuration="0ms",_t.style.transitionDuration="0ms",Bt.style.transitionDuration="0ms",rt("scrollbarDragMove",Rt))}function xt(Rt){const Pt=_e.params.scrollbar,{scrollbar:kt,wrapperEl:_t}=_e,{el:Bt}=kt;it&&(it=!1,_e.params.cssMode&&(_e.wrapperEl.style["scroll-snap-type"]="",_t.style.transitionDuration=""),Pt.hide&&(clearTimeout(ot),ot=nextTick$1(()=>{Bt.style.opacity=0,Bt.style.transitionDuration="400ms"},1e3)),rt("scrollbarDragEnd",Rt),Pt.snapOnRelease&&_e.slideToClosest())}function yt(Rt){const{scrollbar:Pt,params:kt}=_e,_t=Pt.el;if(!_t)return;const Bt=_t,It=kt.passiveListeners?{passive:!1,capture:!1}:!1,At=kt.passiveListeners?{passive:!0,capture:!1}:!1;if(!Bt)return;const Tt=Rt==="on"?"addEventListener":"removeEventListener";Bt[Tt]("pointerdown",mt,It),st[Tt]("pointermove",bt,It),st[Tt]("pointerup",xt,At)}function $t(){!_e.params.scrollbar.el||!_e.scrollbar.el||yt("on")}function wt(){!_e.params.scrollbar.el||!_e.scrollbar.el||yt("off")}function Ct(){const{scrollbar:Rt,el:Pt}=_e;_e.params.scrollbar=createElementIfNotDefined(_e,_e.originalParams.scrollbar,_e.params.scrollbar,{el:"swiper-scrollbar"});const kt=_e.params.scrollbar;if(!kt.el)return;let _t;typeof kt.el=="string"&&_e.isElement&&(_t=_e.el.querySelector(kt.el)),!_t&&typeof kt.el=="string"?_t=st.querySelectorAll(kt.el):_t||(_t=kt.el),_e.params.uniqueNavElements&&typeof kt.el=="string"&&_t.length>1&&Pt.querySelectorAll(kt.el).length===1&&(_t=Pt.querySelector(kt.el)),_t.length>0&&(_t=_t[0]),_t.classList.add(_e.isHorizontal()?kt.horizontalClass:kt.verticalClass);let Bt;_t&&(Bt=_t.querySelector(`.${_e.params.scrollbar.dragClass}`),Bt||(Bt=createElement("div",_e.params.scrollbar.dragClass),_t.append(Bt))),Object.assign(Rt,{el:_t,dragEl:Bt}),kt.draggable&&$t(),_t&&_t.classList[_e.enabled?"remove":"add"](_e.params.scrollbar.lockClass)}function Et(){const Rt=_e.params.scrollbar,Pt=_e.scrollbar.el;Pt&&Pt.classList.remove(_e.isHorizontal()?Rt.horizontalClass:Rt.verticalClass),wt()}nt("init",()=>{_e.params.scrollbar.enabled===!1?St():(Ct(),ht(),ft())}),nt("update resize observerUpdate lock unlock",()=>{ht()}),nt("setTranslate",()=>{ft()}),nt("setTransition",(Rt,Pt)=>{pt(Pt)}),nt("enable disable",()=>{const{el:Rt}=_e.scrollbar;Rt&&Rt.classList[_e.enabled?"remove":"add"](_e.params.scrollbar.lockClass)}),nt("destroy",()=>{Et()});const Mt=()=>{_e.el.classList.remove(_e.params.scrollbar.scrollbarDisabledClass),_e.scrollbar.el&&_e.scrollbar.el.classList.remove(_e.params.scrollbar.scrollbarDisabledClass),Ct(),ht(),ft()},St=()=>{_e.el.classList.add(_e.params.scrollbar.scrollbarDisabledClass),_e.scrollbar.el&&_e.scrollbar.el.classList.add(_e.params.scrollbar.scrollbarDisabledClass),Et()};Object.assign(_e.scrollbar,{enable:Mt,disable:St,updateSize:ht,setTranslate:ft,init:Ct,destroy:Et})}function Parallax(et){let{swiper:_e,extendParams:tt,on:nt}=et;tt({parallax:{enabled:!1}});const rt="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",st=(ot,lt)=>{const{rtl:ct}=_e,ut=ct?-1:1,dt=ot.getAttribute("data-swiper-parallax")||"0";let ft=ot.getAttribute("data-swiper-parallax-x"),pt=ot.getAttribute("data-swiper-parallax-y");const ht=ot.getAttribute("data-swiper-parallax-scale"),vt=ot.getAttribute("data-swiper-parallax-opacity"),gt=ot.getAttribute("data-swiper-parallax-rotate");if(ft||pt?(ft=ft||"0",pt=pt||"0"):_e.isHorizontal()?(ft=dt,pt="0"):(pt=dt,ft="0"),ft.indexOf("%")>=0?ft=`${parseInt(ft,10)*lt*ut}%`:ft=`${ft*lt*ut}px`,pt.indexOf("%")>=0?pt=`${parseInt(pt,10)*lt}%`:pt=`${pt*lt}px`,typeof vt<"u"&&vt!==null){const bt=vt-(vt-1)*(1-Math.abs(lt));ot.style.opacity=bt}let mt=`translate3d(${ft}, ${pt}, 0px)`;if(typeof ht<"u"&&ht!==null){const bt=ht-(ht-1)*(1-Math.abs(lt));mt+=` scale(${bt})`}if(gt&&typeof gt<"u"&>!==null){const bt=gt*lt*-1;mt+=` rotate(${bt}deg)`}ot.style.transform=mt},it=()=>{const{el:ot,slides:lt,progress:ct,snapGrid:ut,isElement:dt}=_e,ft=elementChildren(ot,rt);_e.isElement&&ft.push(...elementChildren(_e.hostEl,rt)),ft.forEach(pt=>{st(pt,ct)}),lt.forEach((pt,ht)=>{let vt=pt.progress;_e.params.slidesPerGroup>1&&_e.params.slidesPerView!=="auto"&&(vt+=Math.ceil(ht/2)-ct*(ut.length-1)),vt=Math.min(Math.max(vt,-1),1),pt.querySelectorAll(`${rt}, [data-swiper-parallax-rotate]`).forEach(gt=>{st(gt,vt)})})},at=function(ot){ot===void 0&&(ot=_e.params.speed);const{el:lt,hostEl:ct}=_e,ut=[...lt.querySelectorAll(rt)];_e.isElement&&ut.push(...ct.querySelectorAll(rt)),ut.forEach(dt=>{let ft=parseInt(dt.getAttribute("data-swiper-parallax-duration"),10)||ot;ot===0&&(ft=0),dt.style.transitionDuration=`${ft}ms`})};nt("beforeInit",()=>{_e.params.parallax.enabled&&(_e.params.watchSlidesProgress=!0,_e.originalParams.watchSlidesProgress=!0)}),nt("init",()=>{_e.params.parallax.enabled&&it()}),nt("setTranslate",()=>{_e.params.parallax.enabled&&it()}),nt("setTransition",(ot,lt)=>{_e.params.parallax.enabled&&at(lt)})}function Zoom(et){let{swiper:_e,extendParams:tt,on:nt,emit:rt}=et;const st=getWindow();tt({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),_e.zoom={enabled:!1};let it=1,at=!1,ot,lt;const ct=[],ut={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},dt={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},ft={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let pt=1;Object.defineProperty(_e.zoom,"scale",{get(){return pt},set(It){if(pt!==It){const At=ut.imageEl,Tt=ut.slideEl;rt("zoomChange",It,At,Tt)}pt=It}});function ht(){if(ct.length<2)return 1;const It=ct[0].pageX,At=ct[0].pageY,Tt=ct[1].pageX,Dt=ct[1].pageY;return Math.sqrt((Tt-It)**2+(Dt-At)**2)}function vt(){if(ct.length<2)return{x:null,y:null};const It=ut.imageEl.getBoundingClientRect();return[(ct[0].pageX+(ct[1].pageX-ct[0].pageX)/2-It.x-st.scrollX)/it,(ct[0].pageY+(ct[1].pageY-ct[0].pageY)/2-It.y-st.scrollY)/it]}function gt(){return _e.isElement?"swiper-slide":`.${_e.params.slideClass}`}function mt(It){const At=gt();return!!(It.target.matches(At)||_e.slides.filter(Tt=>Tt.contains(It.target)).length>0)}function bt(It){const At=`.${_e.params.zoom.containerClass}`;return!!(It.target.matches(At)||[..._e.hostEl.querySelectorAll(At)].filter(Tt=>Tt.contains(It.target)).length>0)}function xt(It){if(It.pointerType==="mouse"&&ct.splice(0,ct.length),!mt(It))return;const At=_e.params.zoom;if(ot=!1,lt=!1,ct.push(It),!(ct.length<2)){if(ot=!0,ut.scaleStart=ht(),!ut.slideEl){ut.slideEl=It.target.closest(`.${_e.params.slideClass}, swiper-slide`),ut.slideEl||(ut.slideEl=_e.slides[_e.activeIndex]);let Tt=ut.slideEl.querySelector(`.${At.containerClass}`);if(Tt&&(Tt=Tt.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),ut.imageEl=Tt,Tt?ut.imageWrapEl=elementParents(ut.imageEl,`.${At.containerClass}`)[0]:ut.imageWrapEl=void 0,!ut.imageWrapEl){ut.imageEl=void 0;return}ut.maxRatio=ut.imageWrapEl.getAttribute("data-swiper-zoom")||At.maxRatio}if(ut.imageEl){const[Tt,Dt]=vt();ut.originX=Tt,ut.originY=Dt,ut.imageEl.style.transitionDuration="0ms"}at=!0}}function yt(It){if(!mt(It))return;const At=_e.params.zoom,Tt=_e.zoom,Dt=ct.findIndex(Nt=>Nt.pointerId===It.pointerId);Dt>=0&&(ct[Dt]=It),!(ct.length<2)&&(lt=!0,ut.scaleMove=ht(),ut.imageEl&&(Tt.scale=ut.scaleMove/ut.scaleStart*it,Tt.scale>ut.maxRatio&&(Tt.scale=ut.maxRatio-1+(Tt.scale-ut.maxRatio+1)**.5),Tt.scaleNt.pointerId===It.pointerId);Dt>=0&&ct.splice(Dt,1),!(!ot||!lt)&&(ot=!1,lt=!1,ut.imageEl&&(Tt.scale=Math.max(Math.min(Tt.scale,ut.maxRatio),At.minRatio),ut.imageEl.style.transitionDuration=`${_e.params.speed}ms`,ut.imageEl.style.transform=`translate3d(0,0,0) scale(${Tt.scale})`,it=Tt.scale,at=!1,Tt.scale>1&&ut.slideEl?ut.slideEl.classList.add(`${At.zoomedSlideClass}`):Tt.scale<=1&&ut.slideEl&&ut.slideEl.classList.remove(`${At.zoomedSlideClass}`),Tt.scale===1&&(ut.originX=0,ut.originY=0,ut.slideEl=void 0)))}function wt(It){const At=_e.device;if(!ut.imageEl||dt.isTouched)return;At.android&&It.cancelable&&It.preventDefault(),dt.isTouched=!0;const Tt=ct.length>0?ct[0]:It;dt.touchesStart.x=Tt.pageX,dt.touchesStart.y=Tt.pageY}function Ct(It){if(!mt(It)||!bt(It))return;const At=_e.zoom;if(!ut.imageEl||!dt.isTouched||!ut.slideEl)return;dt.isMoved||(dt.width=ut.imageEl.offsetWidth,dt.height=ut.imageEl.offsetHeight,dt.startX=getTranslate(ut.imageWrapEl,"x")||0,dt.startY=getTranslate(ut.imageWrapEl,"y")||0,ut.slideWidth=ut.slideEl.offsetWidth,ut.slideHeight=ut.slideEl.offsetHeight,ut.imageWrapEl.style.transitionDuration="0ms");const Tt=dt.width*At.scale,Dt=dt.height*At.scale;if(Tt0?ct[0].pageX:It.pageX,dt.touchesCurrent.y=ct.length>0?ct[0].pageY:It.pageY,Math.max(Math.abs(dt.touchesCurrent.x-dt.touchesStart.x),Math.abs(dt.touchesCurrent.y-dt.touchesStart.y))>5&&(_e.allowClick=!1),!dt.isMoved&&!at){if(_e.isHorizontal()&&(Math.floor(dt.minX)===Math.floor(dt.startX)&&dt.touchesCurrent.xdt.touchesStart.x)){dt.isTouched=!1;return}if(!_e.isHorizontal()&&(Math.floor(dt.minY)===Math.floor(dt.startY)&&dt.touchesCurrent.ydt.touchesStart.y)){dt.isTouched=!1;return}}It.cancelable&&It.preventDefault(),It.stopPropagation(),dt.isMoved=!0;const Ot=(At.scale-it)/(ut.maxRatio-_e.params.zoom.minRatio),{originX:Lt,originY:jt}=ut;dt.currentX=dt.touchesCurrent.x-dt.touchesStart.x+dt.startX+Ot*(dt.width-Lt*2),dt.currentY=dt.touchesCurrent.y-dt.touchesStart.y+dt.startY+Ot*(dt.height-jt*2),dt.currentXdt.maxX&&(dt.currentX=dt.maxX-1+(dt.currentX-dt.maxX+1)**.8),dt.currentYdt.maxY&&(dt.currentY=dt.maxY-1+(dt.currentY-dt.maxY+1)**.8),ft.prevPositionX||(ft.prevPositionX=dt.touchesCurrent.x),ft.prevPositionY||(ft.prevPositionY=dt.touchesCurrent.y),ft.prevTime||(ft.prevTime=Date.now()),ft.x=(dt.touchesCurrent.x-ft.prevPositionX)/(Date.now()-ft.prevTime)/2,ft.y=(dt.touchesCurrent.y-ft.prevPositionY)/(Date.now()-ft.prevTime)/2,Math.abs(dt.touchesCurrent.x-ft.prevPositionX)<2&&(ft.x=0),Math.abs(dt.touchesCurrent.y-ft.prevPositionY)<2&&(ft.y=0),ft.prevPositionX=dt.touchesCurrent.x,ft.prevPositionY=dt.touchesCurrent.y,ft.prevTime=Date.now(),ut.imageWrapEl.style.transform=`translate3d(${dt.currentX}px, ${dt.currentY}px,0)`}function Et(){const It=_e.zoom;if(!ut.imageEl)return;if(!dt.isTouched||!dt.isMoved){dt.isTouched=!1,dt.isMoved=!1;return}dt.isTouched=!1,dt.isMoved=!1;let At=300,Tt=300;const Dt=ft.x*At,Nt=dt.currentX+Dt,Ot=ft.y*Tt,Lt=dt.currentY+Ot;ft.x!==0&&(At=Math.abs((Nt-dt.currentX)/ft.x)),ft.y!==0&&(Tt=Math.abs((Lt-dt.currentY)/ft.y));const jt=Math.max(At,Tt);dt.currentX=Nt,dt.currentY=Lt;const Ht=dt.width*It.scale,Ft=dt.height*It.scale;dt.minX=Math.min(ut.slideWidth/2-Ht/2,0),dt.maxX=-dt.minX,dt.minY=Math.min(ut.slideHeight/2-Ft/2,0),dt.maxY=-dt.minY,dt.currentX=Math.max(Math.min(dt.currentX,dt.maxX),dt.minX),dt.currentY=Math.max(Math.min(dt.currentY,dt.maxY),dt.minY),ut.imageWrapEl.style.transitionDuration=`${jt}ms`,ut.imageWrapEl.style.transform=`translate3d(${dt.currentX}px, ${dt.currentY}px,0)`}function Mt(){const It=_e.zoom;ut.slideEl&&_e.activeIndex!==_e.slides.indexOf(ut.slideEl)&&(ut.imageEl&&(ut.imageEl.style.transform="translate3d(0,0,0) scale(1)"),ut.imageWrapEl&&(ut.imageWrapEl.style.transform="translate3d(0,0,0)"),ut.slideEl.classList.remove(`${_e.params.zoom.zoomedSlideClass}`),It.scale=1,it=1,ut.slideEl=void 0,ut.imageEl=void 0,ut.imageWrapEl=void 0,ut.originX=0,ut.originY=0)}function St(It){const At=_e.zoom,Tt=_e.params.zoom;if(!ut.slideEl){It&&It.target&&(ut.slideEl=It.target.closest(`.${_e.params.slideClass}, swiper-slide`)),ut.slideEl||(_e.params.virtual&&_e.params.virtual.enabled&&_e.virtual?ut.slideEl=elementChildren(_e.slidesEl,`.${_e.params.slideActiveClass}`)[0]:ut.slideEl=_e.slides[_e.activeIndex]);let Yt=ut.slideEl.querySelector(`.${Tt.containerClass}`);Yt&&(Yt=Yt.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),ut.imageEl=Yt,Yt?ut.imageWrapEl=elementParents(ut.imageEl,`.${Tt.containerClass}`)[0]:ut.imageWrapEl=void 0}if(!ut.imageEl||!ut.imageWrapEl)return;_e.params.cssMode&&(_e.wrapperEl.style.overflow="hidden",_e.wrapperEl.style.touchAction="none"),ut.slideEl.classList.add(`${Tt.zoomedSlideClass}`);let Dt,Nt,Ot,Lt,jt,Ht,Ft,Vt,zt,Ut,qt,Wt,Jt,Qt,Zt,Gt,Kt,hn;typeof dt.touchesStart.x>"u"&&It?(Dt=It.pageX,Nt=It.pageY):(Dt=dt.touchesStart.x,Nt=dt.touchesStart.y);const mn=typeof It=="number"?It:null;it===1&&mn&&(Dt=void 0,Nt=void 0),At.scale=mn||ut.imageWrapEl.getAttribute("data-swiper-zoom")||Tt.maxRatio,it=mn||ut.imageWrapEl.getAttribute("data-swiper-zoom")||Tt.maxRatio,It&&!(it===1&&mn)?(Kt=ut.slideEl.offsetWidth,hn=ut.slideEl.offsetHeight,Ot=elementOffset(ut.slideEl).left+st.scrollX,Lt=elementOffset(ut.slideEl).top+st.scrollY,jt=Ot+Kt/2-Dt,Ht=Lt+hn/2-Nt,zt=ut.imageEl.offsetWidth,Ut=ut.imageEl.offsetHeight,qt=zt*At.scale,Wt=Ut*At.scale,Jt=Math.min(Kt/2-qt/2,0),Qt=Math.min(hn/2-Wt/2,0),Zt=-Jt,Gt=-Qt,Ft=jt*At.scale,Vt=Ht*At.scale,FtZt&&(Ft=Zt),VtGt&&(Vt=Gt)):(Ft=0,Vt=0),mn&&At.scale===1&&(ut.originX=0,ut.originY=0),ut.imageWrapEl.style.transitionDuration="300ms",ut.imageWrapEl.style.transform=`translate3d(${Ft}px, ${Vt}px,0)`,ut.imageEl.style.transitionDuration="300ms",ut.imageEl.style.transform=`translate3d(0,0,0) scale(${At.scale})`}function Rt(){const It=_e.zoom,At=_e.params.zoom;if(!ut.slideEl){_e.params.virtual&&_e.params.virtual.enabled&&_e.virtual?ut.slideEl=elementChildren(_e.slidesEl,`.${_e.params.slideActiveClass}`)[0]:ut.slideEl=_e.slides[_e.activeIndex];let Tt=ut.slideEl.querySelector(`.${At.containerClass}`);Tt&&(Tt=Tt.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),ut.imageEl=Tt,Tt?ut.imageWrapEl=elementParents(ut.imageEl,`.${At.containerClass}`)[0]:ut.imageWrapEl=void 0}!ut.imageEl||!ut.imageWrapEl||(_e.params.cssMode&&(_e.wrapperEl.style.overflow="",_e.wrapperEl.style.touchAction=""),It.scale=1,it=1,ut.imageWrapEl.style.transitionDuration="300ms",ut.imageWrapEl.style.transform="translate3d(0,0,0)",ut.imageEl.style.transitionDuration="300ms",ut.imageEl.style.transform="translate3d(0,0,0) scale(1)",ut.slideEl.classList.remove(`${At.zoomedSlideClass}`),ut.slideEl=void 0,ut.originX=0,ut.originY=0)}function Pt(It){const At=_e.zoom;At.scale&&At.scale!==1?Rt():St(It)}function kt(){const It=_e.params.passiveListeners?{passive:!0,capture:!1}:!1,At=_e.params.passiveListeners?{passive:!1,capture:!0}:!0;return{passiveListener:It,activeListenerWithCapture:At}}function _t(){const It=_e.zoom;if(It.enabled)return;It.enabled=!0;const{passiveListener:At,activeListenerWithCapture:Tt}=kt();_e.wrapperEl.addEventListener("pointerdown",xt,At),_e.wrapperEl.addEventListener("pointermove",yt,Tt),["pointerup","pointercancel","pointerout"].forEach(Dt=>{_e.wrapperEl.addEventListener(Dt,$t,At)}),_e.wrapperEl.addEventListener("pointermove",Ct,Tt)}function Bt(){const It=_e.zoom;if(!It.enabled)return;It.enabled=!1;const{passiveListener:At,activeListenerWithCapture:Tt}=kt();_e.wrapperEl.removeEventListener("pointerdown",xt,At),_e.wrapperEl.removeEventListener("pointermove",yt,Tt),["pointerup","pointercancel","pointerout"].forEach(Dt=>{_e.wrapperEl.removeEventListener(Dt,$t,At)}),_e.wrapperEl.removeEventListener("pointermove",Ct,Tt)}nt("init",()=>{_e.params.zoom.enabled&&_t()}),nt("destroy",()=>{Bt()}),nt("touchStart",(It,At)=>{_e.zoom.enabled&&wt(At)}),nt("touchEnd",(It,At)=>{_e.zoom.enabled&&Et()}),nt("doubleTap",(It,At)=>{!_e.animating&&_e.params.zoom.enabled&&_e.zoom.enabled&&_e.params.zoom.toggle&&Pt(At)}),nt("transitionEnd",()=>{_e.zoom.enabled&&_e.params.zoom.enabled&&Mt()}),nt("slideChange",()=>{_e.zoom.enabled&&_e.params.zoom.enabled&&_e.params.cssMode&&Mt()}),Object.assign(_e.zoom,{enable:_t,disable:Bt,in:St,out:Rt,toggle:Pt})}function Controller(et){let{swiper:_e,extendParams:tt,on:nt}=et;tt({controller:{control:void 0,inverse:!1,by:"slide"}}),_e.controller={control:void 0};function rt(lt,ct){const ut=function(){let ht,vt,gt;return(mt,bt)=>{for(vt=-1,ht=mt.length;ht-vt>1;)gt=ht+vt>>1,mt[gt]<=bt?vt=gt:ht=gt;return ht}}();this.x=lt,this.y=ct,this.lastIndex=lt.length-1;let dt,ft;return this.interpolate=function(ht){return ht?(ft=ut(this.x,ht),dt=ft-1,(ht-this.x[dt])*(this.y[ft]-this.y[dt])/(this.x[ft]-this.x[dt])+this.y[dt]):0},this}function st(lt){_e.controller.spline=_e.params.loop?new rt(_e.slidesGrid,lt.slidesGrid):new rt(_e.snapGrid,lt.snapGrid)}function it(lt,ct){const ut=_e.controller.control;let dt,ft;const pt=_e.constructor;function ht(vt){if(vt.destroyed)return;const gt=_e.rtlTranslate?-_e.translate:_e.translate;_e.params.controller.by==="slide"&&(st(vt),ft=-_e.controller.spline.interpolate(-gt)),(!ft||_e.params.controller.by==="container")&&(dt=(vt.maxTranslate()-vt.minTranslate())/(_e.maxTranslate()-_e.minTranslate()),(Number.isNaN(dt)||!Number.isFinite(dt))&&(dt=1),ft=(gt-_e.minTranslate())*dt+vt.minTranslate()),_e.params.controller.inverse&&(ft=vt.maxTranslate()-ft),vt.updateProgress(ft),vt.setTranslate(ft,_e),vt.updateActiveIndex(),vt.updateSlidesClasses()}if(Array.isArray(ut))for(let vt=0;vt{ht.updateAutoHeight()}),elementTransitionEnd(ht.wrapperEl,()=>{dt&&ht.transitionEnd()})))}if(Array.isArray(dt))for(ft=0;ft{if(typeof window<"u"&&(typeof _e.params.controller.control=="string"||_e.params.controller.control instanceof HTMLElement)){const lt=document.querySelector(_e.params.controller.control);if(lt&<.swiper)_e.controller.control=lt.swiper;else if(lt){const ct=ut=>{_e.controller.control=ut.detail[0],_e.update(),lt.removeEventListener("init",ct)};lt.addEventListener("init",ct)}return}_e.controller.control=_e.params.controller.control}),nt("update",()=>{ot()}),nt("resize",()=>{ot()}),nt("observerUpdate",()=>{ot()}),nt("setTranslate",(lt,ct,ut)=>{!_e.controller.control||_e.controller.control.destroyed||_e.controller.setTranslate(ct,ut)}),nt("setTransition",(lt,ct,ut)=>{!_e.controller.control||_e.controller.control.destroyed||_e.controller.setTransition(ct,ut)}),Object.assign(_e.controller,{setTranslate:it,setTransition:at})}function A11y(et){let{swiper:_e,extendParams:tt,on:nt}=et;tt({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),_e.a11y={clicked:!1};let rt=null;function st(kt){const _t=rt;_t.length!==0&&(_t.innerHTML="",_t.innerHTML=kt)}const it=kt=>(Array.isArray(kt)?kt:[kt]).filter(_t=>!!_t);function at(kt){kt===void 0&&(kt=16);const _t=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(kt).replace(/x/g,_t)}function ot(kt){kt=it(kt),kt.forEach(_t=>{_t.setAttribute("tabIndex","0")})}function lt(kt){kt=it(kt),kt.forEach(_t=>{_t.setAttribute("tabIndex","-1")})}function ct(kt,_t){kt=it(kt),kt.forEach(Bt=>{Bt.setAttribute("role",_t)})}function ut(kt,_t){kt=it(kt),kt.forEach(Bt=>{Bt.setAttribute("aria-roledescription",_t)})}function dt(kt,_t){kt=it(kt),kt.forEach(Bt=>{Bt.setAttribute("aria-controls",_t)})}function ft(kt,_t){kt=it(kt),kt.forEach(Bt=>{Bt.setAttribute("aria-label",_t)})}function pt(kt,_t){kt=it(kt),kt.forEach(Bt=>{Bt.setAttribute("id",_t)})}function ht(kt,_t){kt=it(kt),kt.forEach(Bt=>{Bt.setAttribute("aria-live",_t)})}function vt(kt){kt=it(kt),kt.forEach(_t=>{_t.setAttribute("aria-disabled",!0)})}function gt(kt){kt=it(kt),kt.forEach(_t=>{_t.setAttribute("aria-disabled",!1)})}function mt(kt){if(kt.keyCode!==13&&kt.keyCode!==32)return;const _t=_e.params.a11y,Bt=kt.target;_e.pagination&&_e.pagination.el&&(Bt===_e.pagination.el||_e.pagination.el.contains(kt.target))&&!kt.target.matches(classesToSelector(_e.params.pagination.bulletClass))||(_e.navigation&&_e.navigation.nextEl&&Bt===_e.navigation.nextEl&&(_e.isEnd&&!_e.params.loop||_e.slideNext(),_e.isEnd?st(_t.lastSlideMessage):st(_t.nextSlideMessage)),_e.navigation&&_e.navigation.prevEl&&Bt===_e.navigation.prevEl&&(_e.isBeginning&&!_e.params.loop||_e.slidePrev(),_e.isBeginning?st(_t.firstSlideMessage):st(_t.prevSlideMessage)),_e.pagination&&Bt.matches(classesToSelector(_e.params.pagination.bulletClass))&&Bt.click())}function bt(){if(_e.params.loop||_e.params.rewind||!_e.navigation)return;const{nextEl:kt,prevEl:_t}=_e.navigation;_t&&(_e.isBeginning?(vt(_t),lt(_t)):(gt(_t),ot(_t))),kt&&(_e.isEnd?(vt(kt),lt(kt)):(gt(kt),ot(kt)))}function xt(){return _e.pagination&&_e.pagination.bullets&&_e.pagination.bullets.length}function yt(){return xt()&&_e.params.pagination.clickable}function $t(){const kt=_e.params.a11y;xt()&&_e.pagination.bullets.forEach(_t=>{_e.params.pagination.clickable&&(ot(_t),_e.params.pagination.renderBullet||(ct(_t,"button"),ft(_t,kt.paginationBulletMessage.replace(/\{\{index\}\}/,elementIndex(_t)+1)))),_t.matches(classesToSelector(_e.params.pagination.bulletActiveClass))?_t.setAttribute("aria-current","true"):_t.removeAttribute("aria-current")})}const wt=(kt,_t,Bt)=>{ot(kt),kt.tagName!=="BUTTON"&&(ct(kt,"button"),kt.addEventListener("keydown",mt)),ft(kt,Bt),dt(kt,_t)},Ct=()=>{_e.a11y.clicked=!0},Et=()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{_e.destroyed||(_e.a11y.clicked=!1)})})},Mt=kt=>{if(_e.a11y.clicked)return;const _t=kt.target.closest(`.${_e.params.slideClass}, swiper-slide`);if(!_t||!_e.slides.includes(_t))return;const Bt=_e.slides.indexOf(_t)===_e.activeIndex,It=_e.params.watchSlidesProgress&&_e.visibleSlides&&_e.visibleSlides.includes(_t);Bt||It||kt.sourceCapabilities&&kt.sourceCapabilities.firesTouchEvents||(_e.isHorizontal()?_e.el.scrollLeft=0:_e.el.scrollTop=0,_e.slideTo(_e.slides.indexOf(_t),0))},St=()=>{const kt=_e.params.a11y;kt.itemRoleDescriptionMessage&&ut(_e.slides,kt.itemRoleDescriptionMessage),kt.slideRole&&ct(_e.slides,kt.slideRole);const _t=_e.slides.length;kt.slideLabelMessage&&_e.slides.forEach((Bt,It)=>{const At=_e.params.loop?parseInt(Bt.getAttribute("data-swiper-slide-index"),10):It,Tt=kt.slideLabelMessage.replace(/\{\{index\}\}/,At+1).replace(/\{\{slidesLength\}\}/,_t);ft(Bt,Tt)})},Rt=()=>{const kt=_e.params.a11y;_e.el.append(rt);const _t=_e.el;kt.containerRoleDescriptionMessage&&ut(_t,kt.containerRoleDescriptionMessage),kt.containerMessage&&ft(_t,kt.containerMessage);const Bt=_e.wrapperEl,It=kt.id||Bt.getAttribute("id")||`swiper-wrapper-${at(16)}`,At=_e.params.autoplay&&_e.params.autoplay.enabled?"off":"polite";pt(Bt,It),ht(Bt,At),St();let{nextEl:Tt,prevEl:Dt}=_e.navigation?_e.navigation:{};Tt=it(Tt),Dt=it(Dt),Tt&&Tt.forEach(Nt=>wt(Nt,It,kt.nextSlideMessage)),Dt&&Dt.forEach(Nt=>wt(Nt,It,kt.prevSlideMessage)),yt()&&(Array.isArray(_e.pagination.el)?_e.pagination.el:[_e.pagination.el]).forEach(Ot=>{Ot.addEventListener("keydown",mt)}),_e.el.addEventListener("focus",Mt,!0),_e.el.addEventListener("pointerdown",Ct,!0),_e.el.addEventListener("pointerup",Et,!0)};function Pt(){rt&&rt.remove();let{nextEl:kt,prevEl:_t}=_e.navigation?_e.navigation:{};kt=it(kt),_t=it(_t),kt&&kt.forEach(Bt=>Bt.removeEventListener("keydown",mt)),_t&&_t.forEach(Bt=>Bt.removeEventListener("keydown",mt)),yt()&&(Array.isArray(_e.pagination.el)?_e.pagination.el:[_e.pagination.el]).forEach(It=>{It.removeEventListener("keydown",mt)}),_e.el.removeEventListener("focus",Mt,!0),_e.el.removeEventListener("pointerdown",Ct,!0),_e.el.removeEventListener("pointerup",Et,!0)}nt("beforeInit",()=>{rt=createElement("span",_e.params.a11y.notificationClass),rt.setAttribute("aria-live","assertive"),rt.setAttribute("aria-atomic","true")}),nt("afterInit",()=>{_e.params.a11y.enabled&&Rt()}),nt("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{_e.params.a11y.enabled&&St()}),nt("fromEdge toEdge afterInit lock unlock",()=>{_e.params.a11y.enabled&&bt()}),nt("paginationUpdate",()=>{_e.params.a11y.enabled&&$t()}),nt("destroy",()=>{_e.params.a11y.enabled&&Pt()})}function History(et){let{swiper:_e,extendParams:tt,on:nt}=et;tt({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let rt=!1,st={};const it=ft=>ft.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),at=ft=>{const pt=getWindow();let ht;ft?ht=new URL(ft):ht=pt.location;const vt=ht.pathname.slice(1).split("/").filter(xt=>xt!==""),gt=vt.length,mt=vt[gt-2],bt=vt[gt-1];return{key:mt,value:bt}},ot=(ft,pt)=>{const ht=getWindow();if(!rt||!_e.params.history.enabled)return;let vt;_e.params.url?vt=new URL(_e.params.url):vt=ht.location;const gt=_e.slides[pt];let mt=it(gt.getAttribute("data-history"));if(_e.params.history.root.length>0){let xt=_e.params.history.root;xt[xt.length-1]==="/"&&(xt=xt.slice(0,xt.length-1)),mt=`${xt}/${ft?`${ft}/`:""}${mt}`}else vt.pathname.includes(ft)||(mt=`${ft?`${ft}/`:""}${mt}`);_e.params.history.keepQuery&&(mt+=vt.search);const bt=ht.history.state;bt&&bt.value===mt||(_e.params.history.replaceState?ht.history.replaceState({value:mt},null,mt):ht.history.pushState({value:mt},null,mt))},lt=(ft,pt,ht)=>{if(pt)for(let vt=0,gt=_e.slides.length;vt{st=at(_e.params.url),lt(_e.params.speed,st.value,!1)},ut=()=>{const ft=getWindow();if(_e.params.history){if(!ft.history||!ft.history.pushState){_e.params.history.enabled=!1,_e.params.hashNavigation.enabled=!0;return}if(rt=!0,st=at(_e.params.url),!st.key&&!st.value){_e.params.history.replaceState||ft.addEventListener("popstate",ct);return}lt(0,st.value,_e.params.runCallbacksOnInit),_e.params.history.replaceState||ft.addEventListener("popstate",ct)}},dt=()=>{const ft=getWindow();_e.params.history.replaceState||ft.removeEventListener("popstate",ct)};nt("init",()=>{_e.params.history.enabled&&ut()}),nt("destroy",()=>{_e.params.history.enabled&&dt()}),nt("transitionEnd _freeModeNoMomentumRelease",()=>{rt&&ot(_e.params.history.key,_e.activeIndex)}),nt("slideChange",()=>{rt&&_e.params.cssMode&&ot(_e.params.history.key,_e.activeIndex)})}function HashNavigation(et){let{swiper:_e,extendParams:tt,emit:nt,on:rt}=et,st=!1;const it=getDocument(),at=getWindow();tt({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(dt,ft){if(_e.virtual&&_e.params.virtual.enabled){const pt=_e.slides.filter(vt=>vt.getAttribute("data-hash")===ft)[0];return pt?parseInt(pt.getAttribute("data-swiper-slide-index"),10):0}return _e.getSlideIndex(elementChildren(_e.slidesEl,`.${_e.params.slideClass}[data-hash="${ft}"], swiper-slide[data-hash="${ft}"]`)[0])}}});const ot=()=>{nt("hashChange");const dt=it.location.hash.replace("#",""),ft=_e.virtual&&_e.params.virtual.enabled?_e.slidesEl.querySelector(`[data-swiper-slide-index="${_e.activeIndex}"]`):_e.slides[_e.activeIndex],pt=ft?ft.getAttribute("data-hash"):"";if(dt!==pt){const ht=_e.params.hashNavigation.getSlideIndex(_e,dt);if(typeof ht>"u"||Number.isNaN(ht))return;_e.slideTo(ht)}},lt=()=>{if(!st||!_e.params.hashNavigation.enabled)return;const dt=_e.virtual&&_e.params.virtual.enabled?_e.slidesEl.querySelector(`[data-swiper-slide-index="${_e.activeIndex}"]`):_e.slides[_e.activeIndex],ft=dt?dt.getAttribute("data-hash")||dt.getAttribute("data-history"):"";_e.params.hashNavigation.replaceState&&at.history&&at.history.replaceState?(at.history.replaceState(null,null,`#${ft}`||""),nt("hashSet")):(it.location.hash=ft||"",nt("hashSet"))},ct=()=>{if(!_e.params.hashNavigation.enabled||_e.params.history&&_e.params.history.enabled)return;st=!0;const dt=it.location.hash.replace("#","");if(dt){const pt=_e.params.hashNavigation.getSlideIndex(_e,dt);_e.slideTo(pt||0,0,_e.params.runCallbacksOnInit,!0)}_e.params.hashNavigation.watchState&&at.addEventListener("hashchange",ot)},ut=()=>{_e.params.hashNavigation.watchState&&at.removeEventListener("hashchange",ot)};rt("init",()=>{_e.params.hashNavigation.enabled&&ct()}),rt("destroy",()=>{_e.params.hashNavigation.enabled&&ut()}),rt("transitionEnd _freeModeNoMomentumRelease",()=>{st&<()}),rt("slideChange",()=>{st&&_e.params.cssMode&<()})}function Autoplay(et){let{swiper:_e,extendParams:tt,on:nt,emit:rt,params:st}=et;_e.autoplay={running:!1,paused:!1,timeLeft:0},tt({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let it,at,ot=st&&st.autoplay?st.autoplay.delay:3e3,lt=st&&st.autoplay?st.autoplay.delay:3e3,ct,ut=new Date().getTime,dt,ft,pt,ht,vt,gt;function mt(It){!_e||_e.destroyed||!_e.wrapperEl||It.target===_e.wrapperEl&&(_e.wrapperEl.removeEventListener("transitionend",mt),Et())}const bt=()=>{if(_e.destroyed||!_e.autoplay.running)return;_e.autoplay.paused?dt=!0:dt&&(lt=ct,dt=!1);const It=_e.autoplay.paused?ct:ut+lt-new Date().getTime();_e.autoplay.timeLeft=It,rt("autoplayTimeLeft",It,It/ot),at=requestAnimationFrame(()=>{bt()})},xt=()=>{let It;return _e.virtual&&_e.params.virtual.enabled?It=_e.slides.filter(Tt=>Tt.classList.contains("swiper-slide-active"))[0]:It=_e.slides[_e.activeIndex],It?parseInt(It.getAttribute("data-swiper-autoplay"),10):void 0},yt=It=>{if(_e.destroyed||!_e.autoplay.running)return;cancelAnimationFrame(at),bt();let At=typeof It>"u"?_e.params.autoplay.delay:It;ot=_e.params.autoplay.delay,lt=_e.params.autoplay.delay;const Tt=xt();!Number.isNaN(Tt)&&Tt>0&&typeof It>"u"&&(At=Tt,ot=Tt,lt=Tt),ct=At;const Dt=_e.params.speed,Nt=()=>{!_e||_e.destroyed||(_e.params.autoplay.reverseDirection?!_e.isBeginning||_e.params.loop||_e.params.rewind?(_e.slidePrev(Dt,!0,!0),rt("autoplay")):_e.params.autoplay.stopOnLastSlide||(_e.slideTo(_e.slides.length-1,Dt,!0,!0),rt("autoplay")):!_e.isEnd||_e.params.loop||_e.params.rewind?(_e.slideNext(Dt,!0,!0),rt("autoplay")):_e.params.autoplay.stopOnLastSlide||(_e.slideTo(0,Dt,!0,!0),rt("autoplay")),_e.params.cssMode&&(ut=new Date().getTime(),requestAnimationFrame(()=>{yt()})))};return At>0?(clearTimeout(it),it=setTimeout(()=>{Nt()},At)):requestAnimationFrame(()=>{Nt()}),At},$t=()=>{_e.autoplay.running=!0,yt(),rt("autoplayStart")},wt=()=>{_e.autoplay.running=!1,clearTimeout(it),cancelAnimationFrame(at),rt("autoplayStop")},Ct=(It,At)=>{if(_e.destroyed||!_e.autoplay.running)return;clearTimeout(it),It||(gt=!0);const Tt=()=>{rt("autoplayPause"),_e.params.autoplay.waitForTransition?_e.wrapperEl.addEventListener("transitionend",mt):Et()};if(_e.autoplay.paused=!0,At){vt&&(ct=_e.params.autoplay.delay),vt=!1,Tt();return}ct=(ct||_e.params.autoplay.delay)-(new Date().getTime()-ut),!(_e.isEnd&&ct<0&&!_e.params.loop)&&(ct<0&&(ct=0),Tt())},Et=()=>{_e.isEnd&&ct<0&&!_e.params.loop||_e.destroyed||!_e.autoplay.running||(ut=new Date().getTime(),gt?(gt=!1,yt(ct)):yt(),_e.autoplay.paused=!1,rt("autoplayResume"))},Mt=()=>{if(_e.destroyed||!_e.autoplay.running)return;const It=getDocument();It.visibilityState==="hidden"&&(gt=!0,Ct(!0)),It.visibilityState==="visible"&&Et()},St=It=>{It.pointerType==="mouse"&&(gt=!0,!(_e.animating||_e.autoplay.paused)&&Ct(!0))},Rt=It=>{It.pointerType==="mouse"&&_e.autoplay.paused&&Et()},Pt=()=>{_e.params.autoplay.pauseOnMouseEnter&&(_e.el.addEventListener("pointerenter",St),_e.el.addEventListener("pointerleave",Rt))},kt=()=>{_e.el.removeEventListener("pointerenter",St),_e.el.removeEventListener("pointerleave",Rt)},_t=()=>{getDocument().addEventListener("visibilitychange",Mt)},Bt=()=>{getDocument().removeEventListener("visibilitychange",Mt)};nt("init",()=>{_e.params.autoplay.enabled&&(Pt(),_t(),ut=new Date().getTime(),$t())}),nt("destroy",()=>{kt(),Bt(),_e.autoplay.running&&wt()}),nt("beforeTransitionStart",(It,At,Tt)=>{_e.destroyed||!_e.autoplay.running||(Tt||!_e.params.autoplay.disableOnInteraction?Ct(!0,!0):wt())}),nt("sliderFirstMove",()=>{if(!(_e.destroyed||!_e.autoplay.running)){if(_e.params.autoplay.disableOnInteraction){wt();return}ft=!0,pt=!1,gt=!1,ht=setTimeout(()=>{gt=!0,pt=!0,Ct(!0)},200)}}),nt("touchEnd",()=>{if(!(_e.destroyed||!_e.autoplay.running||!ft)){if(clearTimeout(ht),clearTimeout(it),_e.params.autoplay.disableOnInteraction){pt=!1,ft=!1;return}pt&&_e.params.cssMode&&Et(),pt=!1,ft=!1}}),nt("slideChange",()=>{_e.destroyed||!_e.autoplay.running||(vt=!0)}),Object.assign(_e.autoplay,{start:$t,stop:wt,pause:Ct,resume:Et})}function Thumb(et){let{swiper:_e,extendParams:tt,on:nt}=et;tt({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let rt=!1,st=!1;_e.thumbs={swiper:null};function it(){const lt=_e.thumbs.swiper;if(!lt||lt.destroyed)return;const ct=lt.clickedIndex,ut=lt.clickedSlide;if(ut&&ut.classList.contains(_e.params.thumbs.slideThumbActiveClass)||typeof ct>"u"||ct===null)return;let dt;lt.params.loop?dt=parseInt(lt.clickedSlide.getAttribute("data-swiper-slide-index"),10):dt=ct,_e.params.loop?_e.slideToLoop(dt):_e.slideTo(dt)}function at(){const{thumbs:lt}=_e.params;if(rt)return!1;rt=!0;const ct=_e.constructor;if(lt.swiper instanceof ct)_e.thumbs.swiper=lt.swiper,Object.assign(_e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(_e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),_e.thumbs.swiper.update();else if(isObject$5(lt.swiper)){const ut=Object.assign({},lt.swiper);Object.assign(ut,{watchSlidesProgress:!0,slideToClickedSlide:!1}),_e.thumbs.swiper=new ct(ut),st=!0}return _e.thumbs.swiper.el.classList.add(_e.params.thumbs.thumbsContainerClass),_e.thumbs.swiper.on("tap",it),!0}function ot(lt){const ct=_e.thumbs.swiper;if(!ct||ct.destroyed)return;const ut=ct.params.slidesPerView==="auto"?ct.slidesPerViewDynamic():ct.params.slidesPerView;let dt=1;const ft=_e.params.thumbs.slideThumbActiveClass;if(_e.params.slidesPerView>1&&!_e.params.centeredSlides&&(dt=_e.params.slidesPerView),_e.params.thumbs.multipleActiveThumbs||(dt=1),dt=Math.floor(dt),ct.slides.forEach(vt=>vt.classList.remove(ft)),ct.params.loop||ct.params.virtual&&ct.params.virtual.enabled)for(let vt=0;vt{gt.classList.add(ft)});else for(let vt=0;vtxt.getAttribute("data-swiper-slide-index")===`${_e.realIndex}`)[0];gt=ct.slides.indexOf(bt),mt=_e.activeIndex>_e.previousIndex?"next":"prev"}else gt=_e.realIndex,mt=gt>_e.previousIndex?"next":"prev";ht&&(gt+=mt==="next"?pt:-1*pt),ct.visibleSlidesIndexes&&ct.visibleSlidesIndexes.indexOf(gt)<0&&(ct.params.centeredSlides?gt>vt?gt=gt-Math.floor(ut/2)+1:gt=gt+Math.floor(ut/2)-1:gt>vt&&ct.params.slidesPerGroup,ct.slideTo(gt,lt?0:void 0))}}nt("beforeInit",()=>{const{thumbs:lt}=_e.params;if(!(!lt||!lt.swiper))if(typeof lt.swiper=="string"||lt.swiper instanceof HTMLElement){const ct=getDocument(),ut=()=>{const ft=typeof lt.swiper=="string"?ct.querySelector(lt.swiper):lt.swiper;if(ft&&ft.swiper)lt.swiper=ft.swiper,at(),ot(!0);else if(ft){const pt=ht=>{lt.swiper=ht.detail[0],ft.removeEventListener("init",pt),at(),ot(!0),lt.swiper.update(),_e.update()};ft.addEventListener("init",pt)}return ft},dt=()=>{if(_e.destroyed)return;ut()||requestAnimationFrame(dt)};requestAnimationFrame(dt)}else at(),ot(!0)}),nt("slideChange update resize observerUpdate",()=>{ot()}),nt("setTransition",(lt,ct)=>{const ut=_e.thumbs.swiper;!ut||ut.destroyed||ut.setTransition(ct)}),nt("beforeDestroy",()=>{const lt=_e.thumbs.swiper;!lt||lt.destroyed||st&<.destroy()}),Object.assign(_e.thumbs,{init:at,update:ot})}function freeMode(et){let{swiper:_e,extendParams:tt,emit:nt,once:rt}=et;tt({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function st(){if(_e.params.cssMode)return;const ot=_e.getTranslate();_e.setTranslate(ot),_e.setTransition(0),_e.touchEventsData.velocities.length=0,_e.freeMode.onTouchEnd({currentPos:_e.rtl?_e.translate:-_e.translate})}function it(){if(_e.params.cssMode)return;const{touchEventsData:ot,touches:lt}=_e;ot.velocities.length===0&&ot.velocities.push({position:lt[_e.isHorizontal()?"startX":"startY"],time:ot.touchStartTime}),ot.velocities.push({position:lt[_e.isHorizontal()?"currentX":"currentY"],time:now$1()})}function at(ot){let{currentPos:lt}=ot;if(_e.params.cssMode)return;const{params:ct,wrapperEl:ut,rtlTranslate:dt,snapGrid:ft,touchEventsData:pt}=_e,vt=now$1()-pt.touchStartTime;if(lt<-_e.minTranslate()){_e.slideTo(_e.activeIndex);return}if(lt>-_e.maxTranslate()){_e.slides.length1){const Ct=pt.velocities.pop(),Et=pt.velocities.pop(),Mt=Ct.position-Et.position,St=Ct.time-Et.time;_e.velocity=Mt/St,_e.velocity/=2,Math.abs(_e.velocity)150||now$1()-Ct.time>300)&&(_e.velocity=0)}else _e.velocity=0;_e.velocity*=ct.freeMode.momentumVelocityRatio,pt.velocities.length=0;let gt=1e3*ct.freeMode.momentumRatio;const mt=_e.velocity*gt;let bt=_e.translate+mt;dt&&(bt=-bt);let xt=!1,yt;const $t=Math.abs(_e.velocity)*20*ct.freeMode.momentumBounceRatio;let wt;if(bt<_e.maxTranslate())ct.freeMode.momentumBounce?(bt+_e.maxTranslate()<-$t&&(bt=_e.maxTranslate()-$t),yt=_e.maxTranslate(),xt=!0,pt.allowMomentumBounce=!0):bt=_e.maxTranslate(),ct.loop&&ct.centeredSlides&&(wt=!0);else if(bt>_e.minTranslate())ct.freeMode.momentumBounce?(bt-_e.minTranslate()>$t&&(bt=_e.minTranslate()+$t),yt=_e.minTranslate(),xt=!0,pt.allowMomentumBounce=!0):bt=_e.minTranslate(),ct.loop&&ct.centeredSlides&&(wt=!0);else if(ct.freeMode.sticky){let Ct;for(let Et=0;Et-bt){Ct=Et;break}Math.abs(ft[Ct]-bt){_e.loopFix()}),_e.velocity!==0){if(dt?gt=Math.abs((-bt-_e.translate)/_e.velocity):gt=Math.abs((bt-_e.translate)/_e.velocity),ct.freeMode.sticky){const Ct=Math.abs((dt?-bt:bt)-_e.translate),Et=_e.slidesSizesGrid[_e.activeIndex];Ct{!_e||_e.destroyed||!pt.allowMomentumBounce||(nt("momentumBounce"),_e.setTransition(ct.speed),setTimeout(()=>{_e.setTranslate(yt),elementTransitionEnd(ut,()=>{!_e||_e.destroyed||_e.transitionEnd()})},0))})):_e.velocity?(nt("_freeModeNoMomentumRelease"),_e.updateProgress(bt),_e.setTransition(gt),_e.setTranslate(bt),_e.transitionStart(!0,_e.swipeDirection),_e.animating||(_e.animating=!0,elementTransitionEnd(ut,()=>{!_e||_e.destroyed||_e.transitionEnd()}))):_e.updateProgress(bt),_e.updateActiveIndex(),_e.updateSlidesClasses()}else if(ct.freeMode.sticky){_e.slideToClosest();return}else ct.freeMode&&nt("_freeModeNoMomentumRelease");(!ct.freeMode.momentum||vt>=ct.longSwipesMs)&&(_e.updateProgress(),_e.updateActiveIndex(),_e.updateSlidesClasses())}Object.assign(_e,{freeMode:{onTouchStart:st,onTouchMove:it,onTouchEnd:at}})}function Grid(et){let{swiper:_e,extendParams:tt,on:nt}=et;tt({grid:{rows:1,fill:"column"}});let rt,st,it,at;const ot=()=>{let pt=_e.params.spaceBetween;return typeof pt=="string"&&pt.indexOf("%")>=0?pt=parseFloat(pt.replace("%",""))/100*_e.size:typeof pt=="string"&&(pt=parseFloat(pt)),pt},lt=pt=>{const{slidesPerView:ht}=_e.params,{rows:vt,fill:gt}=_e.params.grid;it=Math.floor(pt/vt),Math.floor(pt/vt)===pt/vt?rt=pt:rt=Math.ceil(pt/vt)*vt,ht!=="auto"&>==="row"&&(rt=Math.max(rt,ht*vt)),st=rt/vt},ct=(pt,ht,vt,gt)=>{const{slidesPerGroup:mt}=_e.params,bt=ot(),{rows:xt,fill:yt}=_e.params.grid;let $t,wt,Ct;if(yt==="row"&&mt>1){const Et=Math.floor(pt/(mt*xt)),Mt=pt-xt*mt*Et,St=Et===0?mt:Math.min(Math.ceil((vt-Et*xt*mt)/xt),mt);Ct=Math.floor(Mt/St),wt=Mt-Ct*St+Et*mt,$t=wt+Ct*rt/xt,ht.style.order=$t}else yt==="column"?(wt=Math.floor(pt/xt),Ct=pt-wt*xt,(wt>it||wt===it&&Ct===xt-1)&&(Ct+=1,Ct>=xt&&(Ct=0,wt+=1))):(Ct=Math.floor(pt/st),wt=pt-Ct*st);ht.row=Ct,ht.column=wt,ht.style[gt("margin-top")]=Ct!==0?bt&&`${bt}px`:""},ut=(pt,ht,vt)=>{const{centeredSlides:gt,roundLengths:mt}=_e.params,bt=ot(),{rows:xt}=_e.params.grid;if(_e.virtualSize=(pt+bt)*rt,_e.virtualSize=Math.ceil(_e.virtualSize/xt)-bt,_e.wrapperEl.style[vt("width")]=`${_e.virtualSize+bt}px`,gt){const yt=[];for(let $t=0;$t{at=_e.params.grid&&_e.params.grid.rows>1},ft=()=>{const{params:pt,el:ht}=_e,vt=pt.grid&&pt.grid.rows>1;at&&!vt?(ht.classList.remove(`${pt.containerModifierClass}grid`,`${pt.containerModifierClass}grid-column`),it=1,_e.emitContainerClasses()):!at&&vt&&(ht.classList.add(`${pt.containerModifierClass}grid`),pt.grid.fill==="column"&&ht.classList.add(`${pt.containerModifierClass}grid-column`),_e.emitContainerClasses()),at=vt};nt("init",dt),nt("update",ft),_e.grid={initSlides:lt,updateSlide:ct,updateWrapperSize:ut}}function appendSlide(et){const _e=this,{params:tt,slidesEl:nt}=_e;tt.loop&&_e.loopDestroy();const rt=st=>{if(typeof st=="string"){const it=document.createElement("div");it.innerHTML=st,nt.append(it.children[0]),it.innerHTML=""}else nt.append(st)};if(typeof et=="object"&&"length"in et)for(let st=0;st{if(typeof at=="string"){const ot=document.createElement("div");ot.innerHTML=at,rt.prepend(ot.children[0]),ot.innerHTML=""}else rt.prepend(at)};if(typeof et=="object"&&"length"in et){for(let at=0;at=at){tt.appendSlide(_e);return}let ot=it>et?it+1:it;const lt=[];for(let ct=at-1;ct>=et;ct-=1){const ut=tt.slides[ct];ut.remove(),lt.unshift(ut)}if(typeof _e=="object"&&"length"in _e){for(let ct=0;ct<_e.length;ct+=1)_e[ct]&&st.append(_e[ct]);ot=it>et?it+_e.length:it}else st.append(_e);for(let ct=0;ct{if(tt.params.effect!==_e)return;tt.classNames.push(`${tt.params.containerModifierClass}${_e}`),at&&at()&&tt.classNames.push(`${tt.params.containerModifierClass}3d`);const ut=it?it():{};Object.assign(tt.params,ut),Object.assign(tt.originalParams,ut)}),nt("setTranslate",()=>{tt.params.effect===_e&&rt()}),nt("setTransition",(ut,dt)=>{tt.params.effect===_e&&st(dt)}),nt("transitionEnd",()=>{if(tt.params.effect===_e&&ot){if(!lt||!lt().slideShadows)return;tt.slides.forEach(ut=>{ut.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(dt=>dt.remove())}),ot()}});let ct;nt("virtualUpdate",()=>{tt.params.effect===_e&&(tt.slides.length||(ct=!0),requestAnimationFrame(()=>{ct&&tt.slides&&tt.slides.length&&(rt(),ct=!1)}))})}function effectTarget(et,_e){const tt=getSlideTransformEl(_e);return tt!==_e&&(tt.style.backfaceVisibility="hidden",tt.style["-webkit-backface-visibility"]="hidden"),tt}function effectVirtualTransitionEnd(et){let{swiper:_e,duration:tt,transformElements:nt,allSlides:rt}=et;const{activeIndex:st}=_e,it=at=>at.parentElement?at.parentElement:_e.slides.filter(lt=>lt.shadowRoot&<.shadowRoot===at.parentNode)[0];if(_e.params.virtualTranslate&&tt!==0){let at=!1,ot;rt?ot=nt:ot=nt.filter(lt=>{const ct=lt.classList.contains("swiper-slide-transform")?it(lt):lt;return _e.getSlideIndex(ct)===st}),ot.forEach(lt=>{elementTransitionEnd(lt,()=>{if(at||!_e||_e.destroyed)return;at=!0,_e.animating=!1;const ct=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});_e.wrapperEl.dispatchEvent(ct)})})}}function EffectFade(et){let{swiper:_e,extendParams:tt,on:nt}=et;tt({fadeEffect:{crossFade:!1}}),effectInit({effect:"fade",swiper:_e,on:nt,setTranslate:()=>{const{slides:it}=_e,at=_e.params.fadeEffect;for(let ot=0;ot{const at=_e.slides.map(ot=>getSlideTransformEl(ot));at.forEach(ot=>{ot.style.transitionDuration=`${it}ms`}),effectVirtualTransitionEnd({swiper:_e,duration:it,transformElements:at,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!_e.params.cssMode})})}function EffectCube(et){let{swiper:_e,extendParams:tt,on:nt}=et;tt({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const rt=(ot,lt,ct)=>{let ut=ct?ot.querySelector(".swiper-slide-shadow-left"):ot.querySelector(".swiper-slide-shadow-top"),dt=ct?ot.querySelector(".swiper-slide-shadow-right"):ot.querySelector(".swiper-slide-shadow-bottom");ut||(ut=createElement("div",`swiper-slide-shadow-cube swiper-slide-shadow-${ct?"left":"top"}`.split(" ")),ot.append(ut)),dt||(dt=createElement("div",`swiper-slide-shadow-cube swiper-slide-shadow-${ct?"right":"bottom"}`.split(" ")),ot.append(dt)),ut&&(ut.style.opacity=Math.max(-lt,0)),dt&&(dt.style.opacity=Math.max(lt,0))};effectInit({effect:"cube",swiper:_e,on:nt,setTranslate:()=>{const{el:ot,wrapperEl:lt,slides:ct,width:ut,height:dt,rtlTranslate:ft,size:pt,browser:ht}=_e,vt=_e.params.cubeEffect,gt=_e.isHorizontal(),mt=_e.virtual&&_e.params.virtual.enabled;let bt=0,xt;vt.shadow&&(gt?(xt=_e.wrapperEl.querySelector(".swiper-cube-shadow"),xt||(xt=createElement("div","swiper-cube-shadow"),_e.wrapperEl.append(xt)),xt.style.height=`${ut}px`):(xt=ot.querySelector(".swiper-cube-shadow"),xt||(xt=createElement("div","swiper-cube-shadow"),ot.append(xt))));for(let $t=0;$t-1&&(bt=Ct*90+St*90,ft&&(bt=-Ct*90-St*90)),wt.style.transform=_t,vt.slideShadows&&rt(wt,St,gt)}if(lt.style.transformOrigin=`50% 50% -${pt/2}px`,lt.style["-webkit-transform-origin"]=`50% 50% -${pt/2}px`,vt.shadow)if(gt)xt.style.transform=`translate3d(0px, ${ut/2+vt.shadowOffset}px, ${-ut/2}px) rotateX(90deg) rotateZ(0deg) scale(${vt.shadowScale})`;else{const $t=Math.abs(bt)-Math.floor(Math.abs(bt)/90)*90,wt=1.5-(Math.sin($t*2*Math.PI/360)/2+Math.cos($t*2*Math.PI/360)/2),Ct=vt.shadowScale,Et=vt.shadowScale/wt,Mt=vt.shadowOffset;xt.style.transform=`scale3d(${Ct}, 1, ${Et}) translate3d(0px, ${dt/2+Mt}px, ${-dt/2/Et}px) rotateX(-90deg)`}const yt=(ht.isSafari||ht.isWebView)&&ht.needPerspectiveFix?-pt/2:0;lt.style.transform=`translate3d(0px,0,${yt}px) rotateX(${_e.isHorizontal()?0:bt}deg) rotateY(${_e.isHorizontal()?-bt:0}deg)`,lt.style.setProperty("--swiper-cube-translate-z",`${yt}px`)},setTransition:ot=>{const{el:lt,slides:ct}=_e;if(ct.forEach(ut=>{ut.style.transitionDuration=`${ot}ms`,ut.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(dt=>{dt.style.transitionDuration=`${ot}ms`})}),_e.params.cubeEffect.shadow&&!_e.isHorizontal()){const ut=lt.querySelector(".swiper-cube-shadow");ut&&(ut.style.transitionDuration=`${ot}ms`)}},recreateShadows:()=>{const ot=_e.isHorizontal();_e.slides.forEach(lt=>{const ct=Math.max(Math.min(lt.progress,1),-1);rt(lt,ct,ot)})},getEffectParams:()=>_e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function createShadow(et,_e,tt){const nt=`swiper-slide-shadow${tt?`-${tt}`:""}${et?` swiper-slide-shadow-${et}`:""}`,rt=getSlideTransformEl(_e);let st=rt.querySelector(`.${nt.split(" ").join(".")}`);return st||(st=createElement("div",nt.split(" ")),rt.append(st)),st}function EffectFlip(et){let{swiper:_e,extendParams:tt,on:nt}=et;tt({flipEffect:{slideShadows:!0,limitRotation:!0}});const rt=(ot,lt)=>{let ct=_e.isHorizontal()?ot.querySelector(".swiper-slide-shadow-left"):ot.querySelector(".swiper-slide-shadow-top"),ut=_e.isHorizontal()?ot.querySelector(".swiper-slide-shadow-right"):ot.querySelector(".swiper-slide-shadow-bottom");ct||(ct=createShadow("flip",ot,_e.isHorizontal()?"left":"top")),ut||(ut=createShadow("flip",ot,_e.isHorizontal()?"right":"bottom")),ct&&(ct.style.opacity=Math.max(-lt,0)),ut&&(ut.style.opacity=Math.max(lt,0))};effectInit({effect:"flip",swiper:_e,on:nt,setTranslate:()=>{const{slides:ot,rtlTranslate:lt}=_e,ct=_e.params.flipEffect;for(let ut=0;ut{const lt=_e.slides.map(ct=>getSlideTransformEl(ct));lt.forEach(ct=>{ct.style.transitionDuration=`${ot}ms`,ct.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(ut=>{ut.style.transitionDuration=`${ot}ms`})}),effectVirtualTransitionEnd({swiper:_e,duration:ot,transformElements:lt})},recreateShadows:()=>{_e.params.flipEffect,_e.slides.forEach(ot=>{let lt=ot.progress;_e.params.flipEffect.limitRotation&&(lt=Math.max(Math.min(ot.progress,1),-1)),rt(ot,lt)})},getEffectParams:()=>_e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!_e.params.cssMode})})}function EffectCoverflow(et){let{swiper:_e,extendParams:tt,on:nt}=et;tt({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),effectInit({effect:"coverflow",swiper:_e,on:nt,setTranslate:()=>{const{width:it,height:at,slides:ot,slidesSizesGrid:lt}=_e,ct=_e.params.coverflowEffect,ut=_e.isHorizontal(),dt=_e.translate,ft=ut?-dt+it/2:-dt+at/2,pt=ut?ct.rotate:-ct.rotate,ht=ct.depth;for(let vt=0,gt=ot.length;vt0?$t:0),It&&(It.style.opacity=-$t>0?-$t:0)}}},setTransition:it=>{_e.slides.map(ot=>getSlideTransformEl(ot)).forEach(ot=>{ot.style.transitionDuration=`${it}ms`,ot.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(lt=>{lt.style.transitionDuration=`${it}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function EffectCreative(et){let{swiper:_e,extendParams:tt,on:nt}=et;tt({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const rt=at=>typeof at=="string"?at:`${at}px`;effectInit({effect:"creative",swiper:_e,on:nt,setTranslate:()=>{const{slides:at,wrapperEl:ot,slidesSizesGrid:lt}=_e,ct=_e.params.creativeEffect,{progressMultiplier:ut}=ct,dt=_e.params.centeredSlides;if(dt){const ft=lt[0]/2-_e.params.slidesOffsetBefore||0;ot.style.transform=`translateX(calc(50% - ${ft}px))`}for(let ft=0;ft0&&($t=ct.prev,yt=!0),bt.forEach((Pt,kt)=>{bt[kt]=`calc(${Pt}px + (${rt($t.translate[kt])} * ${Math.abs(vt*ut)}))`}),xt.forEach((Pt,kt)=>{xt[kt]=$t.rotate[kt]*Math.abs(vt*ut)}),pt.style.zIndex=-Math.abs(Math.round(ht))+at.length;const wt=bt.join(", "),Ct=`rotateX(${xt[0]}deg) rotateY(${xt[1]}deg) rotateZ(${xt[2]}deg)`,Et=gt<0?`scale(${1+(1-$t.scale)*gt*ut})`:`scale(${1-(1-$t.scale)*gt*ut})`,Mt=gt<0?1+(1-$t.opacity)*gt*ut:1-(1-$t.opacity)*gt*ut,St=`translate3d(${wt}) ${Ct} ${Et}`;if(yt&&$t.shadow||!yt){let Pt=pt.querySelector(".swiper-slide-shadow");if(!Pt&&$t.shadow&&(Pt=createShadow("creative",pt)),Pt){const kt=ct.shadowPerProgress?vt*(1/ct.limitProgress):vt;Pt.style.opacity=Math.min(Math.max(Math.abs(kt),0),1)}}const Rt=effectTarget(ct,pt);Rt.style.transform=St,Rt.style.opacity=Mt,$t.origin&&(Rt.style.transformOrigin=$t.origin)}},setTransition:at=>{const ot=_e.slides.map(lt=>getSlideTransformEl(lt));ot.forEach(lt=>{lt.style.transitionDuration=`${at}ms`,lt.querySelectorAll(".swiper-slide-shadow").forEach(ct=>{ct.style.transitionDuration=`${at}ms`})}),effectVirtualTransitionEnd({swiper:_e,duration:at,transformElements:ot,allSlides:!0})},perspective:()=>_e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!_e.params.cssMode})})}function EffectCards(et){let{swiper:_e,extendParams:tt,on:nt}=et;tt({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),effectInit({effect:"cards",swiper:_e,on:nt,setTranslate:()=>{const{slides:it,activeIndex:at,rtlTranslate:ot}=_e,lt=_e.params.cardsEffect,{startTranslate:ct,isTouched:ut}=_e.touchEventsData,dt=ot?-_e.translate:_e.translate;for(let ft=0;ft0&&vt<1&&(ut||_e.params.cssMode)&&dt-1&&(ut||_e.params.cssMode)&&dt>ct;if(Et||Mt){const kt=(1-Math.abs((Math.abs(vt)-.5)/.5))**.5;$t+=-28*vt*kt,yt+=-.5*kt,wt+=96*kt,bt=`${-25*kt*Math.abs(vt)}%`}if(vt<0?mt=`calc(${mt}px ${ot?"-":"+"} (${wt*Math.abs(vt)}%))`:vt>0?mt=`calc(${mt}px ${ot?"-":"+"} (-${wt*Math.abs(vt)}%))`:mt=`${mt}px`,!_e.isHorizontal()){const kt=bt;bt=mt,mt=kt}const St=vt<0?`${1+(1-yt)*vt}`:`${1-(1-yt)*vt}`,Rt=` + translate3d(${mt}, ${bt}, ${xt}px) + rotateZ(${lt.rotate?ot?-$t:$t:0}deg) + scale(${St}) + `;if(lt.slideShadows){let kt=pt.querySelector(".swiper-slide-shadow");kt||(kt=createShadow("cards",pt)),kt&&(kt.style.opacity=Math.min(Math.max((Math.abs(vt)-.5)/.5,0),1))}pt.style.zIndex=-Math.abs(Math.round(ht))+it.length;const Pt=effectTarget(lt,pt);Pt.style.transform=Rt}},setTransition:it=>{const at=_e.slides.map(ot=>getSlideTransformEl(ot));at.forEach(ot=>{ot.style.transitionDuration=`${it}ms`,ot.querySelectorAll(".swiper-slide-shadow").forEach(lt=>{lt.style.transitionDuration=`${it}ms`})}),effectVirtualTransitionEnd({swiper:_e,duration:it,transformElements:at})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!_e.params.cssMode})})}const modules=[Virtual,Keyboard,Mousewheel,Navigation,Pagination,Scrollbar,Parallax,Zoom,Controller,A11y,History,HashNavigation,Autoplay,Thumb,freeMode,Grid,Manipulation,EffectFade,EffectCube,EffectFlip,EffectCoverflow,EffectCreative,EffectCards];Swiper$1.use(modules);const paramsList=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopedSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideNextClass","slidePrevClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function isObject$4(et){return typeof et=="object"&&et!==null&&et.constructor&&Object.prototype.toString.call(et).slice(8,-1)==="Object"&&!et.__swiper__}function extend$2(et,_e){const tt=["__proto__","constructor","prototype"];Object.keys(_e).filter(nt=>tt.indexOf(nt)<0).forEach(nt=>{typeof et[nt]>"u"?et[nt]=_e[nt]:isObject$4(_e[nt])&&isObject$4(et[nt])&&Object.keys(_e[nt]).length>0?_e[nt].__swiper__?et[nt]=_e[nt]:extend$2(et[nt],_e[nt]):et[nt]=_e[nt]})}function needsNavigation(et){return et===void 0&&(et={}),et.navigation&&typeof et.navigation.nextEl>"u"&&typeof et.navigation.prevEl>"u"}function needsPagination(et){return et===void 0&&(et={}),et.pagination&&typeof et.pagination.el>"u"}function needsScrollbar(et){return et===void 0&&(et={}),et.scrollbar&&typeof et.scrollbar.el>"u"}function uniqueClasses(et){et===void 0&&(et="");const _e=et.split(" ").map(nt=>nt.trim()).filter(nt=>!!nt),tt=[];return _e.forEach(nt=>{tt.indexOf(nt)<0&&tt.push(nt)}),tt.join(" ")}function attrToProp(et){return et===void 0&&(et=""),et.replace(/-[a-z]/g,_e=>_e.toUpperCase().replace("-",""))}function wrapperClass(et){return et===void 0&&(et=""),et?et.includes("swiper-wrapper")?et:`swiper-wrapper ${et}`:"swiper-wrapper"}function updateSwiper(et){let{swiper:_e,slides:tt,passedParams:nt,changedParams:rt,nextEl:st,prevEl:it,scrollbarEl:at,paginationEl:ot}=et;const lt=rt.filter(Et=>Et!=="children"&&Et!=="direction"&&Et!=="wrapperClass"),{params:ct,pagination:ut,navigation:dt,scrollbar:ft,virtual:pt,thumbs:ht}=_e;let vt,gt,mt,bt,xt,yt,$t,wt;rt.includes("thumbs")&&nt.thumbs&&nt.thumbs.swiper&&ct.thumbs&&!ct.thumbs.swiper&&(vt=!0),rt.includes("controller")&&nt.controller&&nt.controller.control&&ct.controller&&!ct.controller.control&&(gt=!0),rt.includes("pagination")&&nt.pagination&&(nt.pagination.el||ot)&&(ct.pagination||ct.pagination===!1)&&ut&&!ut.el&&(mt=!0),rt.includes("scrollbar")&&nt.scrollbar&&(nt.scrollbar.el||at)&&(ct.scrollbar||ct.scrollbar===!1)&&ft&&!ft.el&&(bt=!0),rt.includes("navigation")&&nt.navigation&&(nt.navigation.prevEl||it)&&(nt.navigation.nextEl||st)&&(ct.navigation||ct.navigation===!1)&&dt&&!dt.prevEl&&!dt.nextEl&&(xt=!0);const Ct=Et=>{_e[Et]&&(_e[Et].destroy(),Et==="navigation"?(_e.isElement&&(_e[Et].prevEl.remove(),_e[Et].nextEl.remove()),ct[Et].prevEl=void 0,ct[Et].nextEl=void 0,_e[Et].prevEl=void 0,_e[Et].nextEl=void 0):(_e.isElement&&_e[Et].el.remove(),ct[Et].el=void 0,_e[Et].el=void 0))};rt.includes("loop")&&_e.isElement&&(ct.loop&&!nt.loop?yt=!0:!ct.loop&&nt.loop?$t=!0:wt=!0),lt.forEach(Et=>{if(isObject$4(ct[Et])&&isObject$4(nt[Et]))extend$2(ct[Et],nt[Et]),(Et==="navigation"||Et==="pagination"||Et==="scrollbar")&&"enabled"in nt[Et]&&!nt[Et].enabled&&Ct(Et);else{const Mt=nt[Et];(Mt===!0||Mt===!1)&&(Et==="navigation"||Et==="pagination"||Et==="scrollbar")?Mt===!1&&Ct(Et):ct[Et]=nt[Et]}}),lt.includes("controller")&&!gt&&_e.controller&&_e.controller.control&&ct.controller&&ct.controller.control&&(_e.controller.control=ct.controller.control),rt.includes("children")&&tt&&pt&&ct.virtual.enabled&&(pt.slides=tt,pt.update(!0)),rt.includes("children")&&tt&&ct.loop&&(wt=!0),vt&&ht.init()&&ht.update(!0),gt&&(_e.controller.control=ct.controller.control),mt&&(_e.isElement&&(!ot||typeof ot=="string")&&(ot=document.createElement("div"),ot.classList.add("swiper-pagination"),ot.part.add("pagination"),_e.el.appendChild(ot)),ot&&(ct.pagination.el=ot),ut.init(),ut.render(),ut.update()),bt&&(_e.isElement&&(!at||typeof at=="string")&&(at=document.createElement("div"),at.classList.add("swiper-scrollbar"),at.part.add("scrollbar"),_e.el.appendChild(at)),at&&(ct.scrollbar.el=at),ft.init(),ft.updateSize(),ft.setTranslate()),xt&&(_e.isElement&&((!st||typeof st=="string")&&(st=document.createElement("div"),st.classList.add("swiper-button-next"),st.innerHTML=_e.hostEl.constructor.nextButtonSvg,st.part.add("button-next"),_e.el.appendChild(st)),(!it||typeof it=="string")&&(it=document.createElement("div"),it.classList.add("swiper-button-prev"),it.innerHTML=_e.hostEl.constructor.prevButtonSvg,it.part.add("button-prev"),_e.el.appendChild(it))),st&&(ct.navigation.nextEl=st),it&&(ct.navigation.prevEl=it),dt.init(),dt.update()),rt.includes("allowSlideNext")&&(_e.allowSlideNext=nt.allowSlideNext),rt.includes("allowSlidePrev")&&(_e.allowSlidePrev=nt.allowSlidePrev),rt.includes("direction")&&_e.changeDirection(nt.direction,!1),(yt||wt)&&_e.loopDestroy(),($t||wt)&&_e.loopCreate(),_e.update()}const formatValue=et=>{if(parseFloat(et)===Number(et))return Number(et);if(et==="true"||et==="")return!0;if(et==="false")return!1;if(et==="null")return null;if(et!=="undefined"){if(typeof et=="string"&&et.includes("{")&&et.includes("}")&&et.includes('"')){let _e;try{_e=JSON.parse(et)}catch{_e=et}return _e}return et}},modulesParamsList=["a11y","autoplay","controller","cards-effect","coverflow-effect","creative-effect","cube-effect","fade-effect","flip-effect","free-mode","grid","hash-navigation","history","keyboard","mousewheel","navigation","pagination","parallax","scrollbar","thumbs","virtual","zoom"];function getParams(et,_e,tt){const nt={},rt={};extend$2(nt,defaults$2);const st=[...paramsList,"on"],it=st.map(ot=>ot.replace(/_/,""));st.forEach(ot=>{ot=ot.replace("_",""),typeof et[ot]<"u"&&(rt[ot]=et[ot])});const at=[...et.attributes];return typeof _e=="string"&&typeof tt<"u"&&at.push({name:_e,value:isObject$4(tt)?{...tt}:tt}),at.forEach(ot=>{const lt=modulesParamsList.filter(ct=>ot.name.indexOf(`${ct}-`)===0)[0];if(lt){const ct=attrToProp(lt),ut=attrToProp(ot.name.split(`${lt}-`)[1]);typeof rt[ct]>"u"&&(rt[ct]={}),rt[ct]===!0&&(rt[ct]={enabled:!0}),rt[ct][ut]=formatValue(ot.value)}else{const ct=attrToProp(ot.name);if(!it.includes(ct))return;const ut=formatValue(ot.value);rt[ct]&&modulesParamsList.includes(ot.name)&&!isObject$4(ut)?(rt[ct].constructor!==Object&&(rt[ct]={}),rt[ct].enabled=!!ut):rt[ct]=ut}}),extend$2(nt,rt),nt.navigation?nt.navigation={prevEl:".swiper-button-prev",nextEl:".swiper-button-next",...nt.navigation!==!0?nt.navigation:{}}:nt.navigation===!1&&delete nt.navigation,nt.scrollbar?nt.scrollbar={el:".swiper-scrollbar",...nt.scrollbar!==!0?nt.scrollbar:{}}:nt.scrollbar===!1&&delete nt.scrollbar,nt.pagination?nt.pagination={el:".swiper-pagination",...nt.pagination!==!0?nt.pagination:{}}:nt.pagination===!1&&delete nt.pagination,{params:nt,passedParams:rt}}const SwiperCSS=":host{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{width:100%;height:100%;margin-left:auto;margin-right:auto;position:relative;overflow:hidden;overflow:clip;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android ::slotted(swiper-slide),.swiper-ios ::slotted(swiper-slide),.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}::slotted(swiper-slide){flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}::slotted(.swiper-slide-invisible-blank){visibility:hidden}.swiper-autoheight,.swiper-autoheight ::slotted(swiper-slide){height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden ::slotted(swiper-slide){transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d ::slotted(swiper-slide){transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode ::slotted(swiper-slide){scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode ::slotted(swiper-slide){scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered ::slotted(swiper-slide){scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal ::slotted(swiper-slide):first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical ::slotted(swiper-slide):first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-virtual ::slotted(swiper-slide){-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:'';position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:host{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:var(--swiper-navigation-top-offset,50%);width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next svg,.swiper-button-prev svg{width:100%;height:100%;object-fit:contain;transform-origin:center}.swiper-rtl .swiper-button-next svg,.swiper-rtl .swiper-button-prev svg{transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px);right:auto}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);top:var(--swiper-pagination-top,auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius,50%);background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:var(--swiper-pagination-right,8px);left:var(--swiper-pagination-left,auto);top:50%;transform:translate3d(0px,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,rgba(0,0,0,.25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:var(--swiper-pagination-progressbar-size,4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;touch-action:none;background:var(--swiper-scrollbar-bg-color,rgba(0,0,0,.1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset,1%);bottom:var(--swiper-scrollbar-bottom,4px);top:var(--swiper-scrollbar-top,auto);z-index:50;height:var(--swiper-scrollbar-size,4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{position:absolute;left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);z-index:50;width:var(--swiper-scrollbar-size,4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color,rgba(0,0,0,.5));border-radius:var(--swiper-scrollbar-border-radius,10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}::slotted(.swiper-slide-zoomed){cursor:move;touch-action:none}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode ::slotted(swiper-slide){transition-timing-function:ease-out}.swiper-fade ::slotted(swiper-slide){pointer-events:none;transition-property:opacity}.swiper-fade ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-fade ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-fade ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-cube{overflow:visible}.swiper-cube ::slotted(swiper-slide){pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-cube.swiper-rtl ::slotted(swiper-slide){transform-origin:100% 0}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-next),.swiper-cube ::slotted(.swiper-slide-prev){pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-cube ::slotted(.swiper-slide-next)+::slotted(swiper-slide){pointer-events:auto;visibility:visible}.swiper-flip{overflow:visible}.swiper-flip ::slotted(swiper-slide){pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-flip ::slotted(.swiper-slide-active),.swiper-flip ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-creative ::slotted(swiper-slide){-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper-cards{overflow:visible}.swiper-cards ::slotted(swiper-slide){transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}",SwiperSlideCSS="::slotted(.swiper-slide-shadow),::slotted(.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-top){position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}::slotted(.swiper-slide-shadow){background:rgba(0,0,0,.15)}::slotted(.swiper-slide-shadow-left){background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-right){background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-top){background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-bottom){background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear;width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-top){z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-top){z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}::slotted(.swiper-zoom-container){width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}::slotted(.swiper-zoom-container)>canvas,::slotted(.swiper-zoom-container)>img,::slotted(.swiper-zoom-container)>svg{max-width:100%;max-height:100%;object-fit:contain}";class DummyHTMLElement{}const ClassToExtend=typeof window>"u"||typeof HTMLElement>"u"?DummyHTMLElement:HTMLElement,arrowSvg=` + `,addStyle=(et,_e)=>{if(typeof CSSStyleSheet<"u"&&et.adoptedStyleSheets){const tt=new CSSStyleSheet;tt.replaceSync(_e),et.adoptedStyleSheets=[tt]}else{const tt=document.createElement("style");tt.rel="stylesheet",tt.textContent=_e,et.appendChild(tt)}};class SwiperContainer extends ClassToExtend{constructor(){super(),this.attachShadow({mode:"open"})}static get nextButtonSvg(){return arrowSvg}static get prevButtonSvg(){return arrowSvg.replace("/>",' transform-origin="center" transform="rotate(180)"/>')}cssStyles(){return[SwiperCSS,...this.injectStyles&&Array.isArray(this.injectStyles)?this.injectStyles:[]].join(` +`)}cssLinks(){return this.injectStylesUrls||[]}calcSlideSlots(){const _e=this.slideSlots||0,tt=[...this.querySelectorAll("[slot^=slide-]")].map(nt=>parseInt(nt.getAttribute("slot").split("slide-")[1],10));if(this.slideSlots=tt.length?Math.max(...tt)+1:0,!!this.rendered){if(this.slideSlots>_e)for(let nt=_e;nt=0;rt-=1)rt>this.slideSlots&&nt[rt].remove()}}}render(){if(this.rendered)return;this.calcSlideSlots();let _e=this.cssStyles();this.slideSlots>0&&(_e=_e.replace(/::slotted\(([a-z-0-9.]*)\)/g,"$1")),_e.length&&addStyle(this.shadowRoot,_e),this.cssLinks().forEach(nt=>{if(this.shadowRoot.querySelector(`link[href="${nt}"]`))return;const st=document.createElement("link");st.rel="stylesheet",st.href=nt,this.shadowRoot.appendChild(st)});const tt=document.createElement("div");tt.classList.add("swiper"),tt.part="container",tt.innerHTML=` + +
        + + ${Array.from({length:this.slideSlots}).map((nt,rt)=>` + + + + `).join("")} +
        + + ${needsNavigation(this.passedParams)?` +
        ${this.constructor.prevButtonSvg}
        +
        ${this.constructor.nextButtonSvg}
        + `:""} + ${needsPagination(this.passedParams)?` +
        + `:""} + ${needsScrollbar(this.passedParams)?` +
        + `:""} + `,this.shadowRoot.appendChild(tt),this.rendered=!0}initialize(){var _e=this;if(this.initialized)return;this.initialized=!0;const{params:tt,passedParams:nt}=getParams(this);this.swiperParams=tt,this.passedParams=nt,delete this.swiperParams.init,this.render(),this.swiper=new Swiper$1(this.shadowRoot.querySelector(".swiper"),{...tt.virtual?{}:{observer:!0,observeSlideChildren:this.slideSlots>0},...tt,touchEventsTarget:"container",onAny:function(rt){rt==="observerUpdate"&&_e.calcSlideSlots();const st=tt.eventsPrefix?`${tt.eventsPrefix}${rt.toLowerCase()}`:rt.toLowerCase();for(var it=arguments.length,at=new Array(it>1?it-1:0),ot=1;ottt.includes("_")).map(tt=>tt.replace(/[A-Z]/g,nt=>`-${nt}`).replace("_","").toLowerCase())}}paramsList.forEach(et=>{et!=="init"&&(et=et.replace("_",""),Object.defineProperty(SwiperContainer.prototype,et,{configurable:!0,get(){return(this.passedParams||{})[et]},set(_e){this.passedParams||(this.passedParams={}),this.passedParams[et]=_e,this.initialized&&this.updateSwiperOnPropChange(et,_e)}}))});class SwiperSlide extends ClassToExtend{constructor(){super(),this.attachShadow({mode:"open"})}render(){const _e=this.lazy||this.getAttribute("lazy")===""||this.getAttribute("lazy")==="true";if(addStyle(this.shadowRoot,SwiperSlideCSS),this.shadowRoot.appendChild(document.createElement("slot")),_e){const tt=document.createElement("div");tt.classList.add("swiper-lazy-preloader"),tt.part.add("preloader"),this.shadowRoot.appendChild(tt)}}initialize(){this.render()}connectedCallback(){this.initialize()}}const register$1=()=>{typeof window>"u"||(window.customElements.get("swiper-container")||window.customElements.define("swiper-container",SwiperContainer),window.customElements.get("swiper-slide")||window.customElements.define("swiper-slide",SwiperSlide))};typeof window<"u"&&(window.SwiperElementRegisterParams=et=>{paramsList.push(...et)});register$1();function initSwiper(et){const _e=this,tt=$$1(et);if(tt.length===0)return;const nt=tt[0].swiper&&tt[0].swiper.isElement;if(tt[0].swiper&&!tt[0].swiper.isElement)return;let rt,st={},it,at;tt.hasClass("tabs")&&(rt=tt.children("swiper-slide").indexOf(tt.children(".tab-active")[0]),it=!0,at=tt.find(".tabs-routable").length>0),tt.attr("data-swiper")?st=JSON.parse(tt.attr("data-swiper")):tt[0].f7SwiperParams?st=tt[0].f7SwiperParams:(st=tt.dataset(),Object.keys(st).forEach(ut=>{const dt=st[ut];if(typeof dt=="string"&&dt.indexOf("{")===0&&dt.indexOf("}")>0)try{st[ut]=JSON.parse(dt)}catch{}})),typeof st.initialSlide>"u"&&typeof rt<"u"&&(st.initialSlide=rt);const ot=nt?tt[0].swiper:_e.swiper.create(tt[0],st);nt&&ot.slideTo(rt,0);function lt(){ot.update()}const ct=tt.parents(".tab").filter(ut=>$$1(ut).parent(".tabs").parent(".tabs-animated-wrap, swiper-container.tabs").length===0).eq(0);tt.parents(".popup, .login-screen, .sheet-modal, .popover").on("modal:open",lt),tt.parents(".panel").on("panel:open",lt),ct&&ct.length&&ct.on("tab:show",lt),ot.on("beforeDestroy",()=>{tt.parents(".popup, .login-screen, .sheet-modal, .popover").off("modal:open",lt),tt.parents(".panel").off("panel:open",lt),ct&&ct.length&&ct.off("tab:show",lt)}),it&&ot.on("slideChange",()=>{if(at){let ut=_e.views.get(tt.parents(".view"));ut||(ut=_e.views.main);const dt=ut.router,ft=dt.findTabRouteUrl($$1(ot.slides).eq(ot.activeIndex)[0]);ft&&setTimeout(()=>{dt.navigate(ft)},0)}else _e.tab.show({tabEl:$$1(ot.slides).eq(ot.activeIndex)})})}const Swiper={name:"swiper",static:{Swiper:Swiper$1},create(){const et=this;et.swiper=ConstructorMethods({defaultSelector:".swiper",constructor:Swiper$1,domProp:"swiper"})},on:{pageMounted(et){const _e=this;et.$el.find("swiper-container.tabs").each(tt=>{initSwiper.call(_e,tt)})},pageInit(et){const _e=this;et.$el.find("swiper-container.tabs").each(tt=>{initSwiper.call(_e,tt)})},pageReinit(et){const _e=this;et.$el.find("swiper-container.tabs").each(tt=>{const nt=_e.swiper.get(tt);nt&&nt.update&&nt.update()})},tabMounted(et){const _e=this;$$1(et).find("swiper-container.tabs").each(tt=>{initSwiper.call(_e,tt)})},tabShow(et){const _e=this;$$1(et).find("swiper-container.tabs").each(tt=>{const nt=_e.swiper.get(tt);nt&&nt.update&&nt.update()})},tabBeforeRemove(et){const _e=this;$$1(et).find("swiper-container.tabs").each(tt=>{_e.swiper.destroy(tt)})}}};let PhotoBrowser$2=class extends Framework7Class{constructor(_e,tt){tt===void 0&&(tt={}),super(tt,[_e]);const nt=this;nt.app=_e;const rt=extend$5({on:{}},_e.params.photoBrowser);nt.useModulesParams(rt),nt.params=extend$5(rt,tt),extend$5(nt,{exposed:!1,opened:!1,activeIndex:nt.params.swiper.initialSlide,url:nt.params.url,swipeToClose:{allow:!0,isTouched:!1,diff:void 0,start:void 0,current:void 0,started:!1,activeSlide:void 0,timeStart:void 0}}),nt.useModules(),nt.init()}get view(){const{params:_e,app:tt}=this;return _e.view||tt.views.main}onSlideChange(_e){const tt=this;tt.activeIndex=_e.activeIndex;let nt=_e.activeIndex+1,rt=tt.params.virtualSlides?tt.params.photos.length:_e.slides.length;_e.params.loop&&(rt-=2,nt-=_e.loopedSlides,nt<1&&(nt=rt+nt),nt>rt&&(nt-=rt));const st=tt.params.virtualSlides?$$1(_e.wrapperEl).find(`.swiper-slide[data-swiper-slide-index="${_e.activeIndex}"]`):$$1(_e.slides).eq(_e.activeIndex),it=tt.params.virtualSlides?$$1(_e.wrapperEl).find(`.swiper-slide[data-swiper-slide-index="${_e.previousIndex}"]`):$$1(_e.slides).eq(_e.previousIndex);let at=tt.$el.find(".photo-browser-current"),ot=tt.$el.find(".photo-browser-total"),lt;if(tt.params.type==="page"&&tt.params.navbar&&at.length===0&&tt.app.theme==="ios"&&(lt=tt.app.navbar.getElByPage(tt.$el),lt&&(at=$$1(lt).find(".photo-browser-current"),ot=$$1(lt).find(".photo-browser-total"))),at.length&&ot.length&&(at.text(nt),ot.text(rt),lt||(lt=at.parents(".navbar")[0]),lt&&tt.app.navbar.size(lt)),tt.captions.length>0){const ut=_e.params.loop?st.attr("data-swiper-slide-index"):tt.activeIndex;tt.$captionsContainerEl.find(".photo-browser-caption-active").removeClass("photo-browser-caption-active"),tt.$captionsContainerEl.find(`[data-caption-index="${ut}"]`).addClass("photo-browser-caption-active")}const ct=it.find("video");ct.length>0&&"pause"in ct[0]&&ct[0].pause()}onTouchStart(){const tt=this.swipeToClose;tt.allow&&(tt.isTouched=!0)}onTouchMove(_e){const tt=this,nt=tt.swipeToClose;nt.isTouched&&(nt.started||(nt.started=!0,nt.start=_e.type==="touchmove"?_e.targetTouches[0].pageY:_e.pageY,tt.params.virtualSlides?nt.activeSlide=$$1(tt.swiper.wrapperEl).children(".swiper-slide-active"):nt.activeSlide=$$1(tt.swiper.slides).eq(tt.swiper.activeIndex),nt.timeStart=now$2()),_e.preventDefault(),nt.current=_e.type==="touchmove"?_e.targetTouches[0].pageY:_e.pageY,nt.diff=nt.start-nt.current,tt.$el.transition(0).transform(`translate3d(0,${-nt.diff}px,0)`))}onTouchEnd(){const _e=this,tt=_e.swipeToClose;if(tt.isTouched=!1,!tt.started){tt.started=!1;return}tt.started=!1,tt.allow=!1;const nt=Math.abs(tt.diff),rt=new Date().getTime()-tt.timeStart;if(rt<300&&nt>20||rt>=300&&nt>100){nextTick$2(()=>{_e.$el&&(tt.diff<0?_e.$el.addClass("swipe-close-to-bottom"):_e.$el.addClass("swipe-close-to-top")),_e.emit("local::swipeToClose",_e),_e.$el.transform("").transition(""),_e.close(),tt.allow=!0});return}nt!==0?_e.$el.addClass("photo-browser-transitioning").transitionEnd(()=>{tt.allow=!0,_e.$el.removeClass("photo-browser-transitioning")}):tt.allow=!0,nextTick$2(()=>{_e.$el.transform("").transition("")})}renderNavbar(){const _e=this;if(_e.params.renderNavbar)return _e.params.renderNavbar.call(_e);const tt=_e.params.iconsColor,nt=_e.app.theme==="ios"&&_e.params.pageBackLinkText?_e.params.pageBackLinkText:"",rt=typeof _e.params.navbarShowCount>"u"?_e.params.photos.length>1:_e.params.navbarShowCount,st=_e.params.type!=="page";return $jsx("div",{class:`navbar navbar-photo-browser ${_e.params.theme==="dark"?"navbar-photo-browser-dark":""}`},$jsx("div",{class:"navbar-bg"}),$jsx("div",{class:"navbar-inner navbar-inner-centered-title sliding"},!st&&$jsx("div",{class:"left"},$jsx("a",{class:`link ${nt?"":"icon-only"} back`},$jsx("i",{class:`icon icon-back ${tt?`color-${tt}`:""}`}),nt&&$jsx("span",null,nt))),rt&&$jsx("div",{class:"title"},$jsx("span",{class:"photo-browser-current"}),$jsx("span",{class:"photo-browser-of"},_e.params.navbarOfText),$jsx("span",{class:"photo-browser-total"})),st&&(_e.params.popupCloseLinkText||_e.params.popupCloseLinkIcon)&&$jsx("div",{class:"right"},$jsx("a",{class:"link popup-close","data-popup":".photo-browser-popup"},_e.params.popupCloseLinkIcon&&_e.app.theme==="ios"&&$jsx("i",null,$jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"56",height:"56",viewBox:"0 0 56 56"},$jsx("path",{fill:"currentColor",d:"M 10.0234 43.0234 C 9.2266 43.8203 9.2031 45.1797 10.0234 45.9766 C 10.8438 46.7734 12.1797 46.7734 13.0000 45.9766 L 28.0000 30.9766 L 43.0000 45.9766 C 43.7969 46.7734 45.1563 46.7969 45.9766 45.9766 C 46.7734 45.1562 46.7734 43.8203 45.9766 43.0234 L 30.9531 28.0000 L 45.9766 13.0000 C 46.7734 12.2031 46.7969 10.8437 45.9766 10.0469 C 45.1328 9.2266 43.7969 9.2266 43.0000 10.0469 L 28.0000 25.0469 L 13.0000 10.0469 C 12.1797 9.2266 10.8203 9.2031 10.0234 10.0469 C 9.2266 10.8672 9.2266 12.2031 10.0234 13.0000 L 25.0234 28.0000 Z"}))),_e.params.popupCloseLinkIcon&&_e.app.theme==="md"&&$jsx("i",null,$jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 0 24 24",width:"24px",fill:"currentColor"},$jsx("path",{d:"M0 0h24v24H0V0z",fill:"none"}),$jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"}))),_e.params.popupCloseLinkText&&$jsx("span",null,_e.params.popupCloseLinkText)))))}renderToolbar(){const _e=this;if(_e.params.renderToolbar)return _e.params.renderToolbar.call(_e);const tt=_e.params.iconsColor;return $jsx("div",{class:"toolbar toolbar-bottom tabbar"},$jsx("div",{class:"toolbar-inner"},$jsx("a",{class:"link photo-browser-prev"},$jsx("i",{class:`icon icon-back ${tt?`color-${tt}`:""}`})),$jsx("a",{class:"link photo-browser-next"},$jsx("i",{class:`icon icon-forward ${tt?`color-${tt}`:""}`}))))}renderThumbs(){const _e=this;return $jsx("div",{class:"toolbar toolbar-bottom photo-browser-thumbs"},$jsx("div",{class:"swiper"},$jsx("div",{class:"swiper-wrapper"},_e.params.thumbs.map((tt,nt)=>_e.renderThumb(tt,nt)))))}renderCaption(_e,tt){const nt=this;return nt.params.renderCaption?nt.params.renderCaption.call(nt,_e,tt):$jsx("div",{class:"photo-browser-caption","data-caption-index":tt},_e)}renderObject(_e,tt){const nt=this;return nt.params.renderObject?nt.params.renderObject.call(nt,_e,tt):$jsx("div",{class:"photo-browser-slide photo-browser-object-slide swiper-slide","data-swiper-slide-index":tt},_e.html?_e.html:_e)}renderLazyPhoto(_e,tt){const nt=this;return nt.params.renderLazyPhoto?nt.params.renderLazyPhoto.call(nt,_e,tt):$jsx("div",{class:"photo-browser-slide photo-browser-slide-lazy swiper-slide","data-swiper-slide-index":tt},$jsx("div",{class:"swiper-lazy-preloader"}),$jsx("span",{class:"swiper-zoom-container"},$jsx("img",{loading:"lazy",src:_e.url?_e.url:_e})))}renderPhoto(_e,tt){const nt=this;return nt.params.renderPhoto?nt.params.renderPhoto.call(nt,_e,tt):$jsx("div",{class:"photo-browser-slide swiper-slide","data-swiper-slide-index":tt},$jsx("span",{class:"swiper-zoom-container"},$jsx("img",{src:_e.url?_e.url:_e})))}renderThumb(_e,tt){const nt=this,rt=typeof _e=="string"?_e:_e.url;return nt.params.renderThumb?nt.params.renderThumb.call(nt,_e,tt):$jsx("div",{class:"photo-browser-thumbs-slide swiper-slide","data-swiper-slide-index":tt},rt&&$jsx("img",{src:rt,loading:"lazy"}))}render(){const _e=this;return _e.params.render?_e.params.render.call(_e,_e.params):$jsx("div",{class:`photo-browser photo-browser-${_e.params.theme}`},$jsx("div",{class:"view"},$jsx("div",{class:`page photo-browser-page photo-browser-page-${_e.params.theme} no-toolbar ${_e.params.navbar?"":"no-navbar"}`,"data-name":"photo-browser-page"},_e.params.navbar&&_e.renderNavbar(),_e.params.toolbar&&_e.renderToolbar(),_e.params.thumbs&&_e.params.thumbs.length&&_e.renderThumbs(),$jsx("div",{class:`photo-browser-captions photo-browser-captions-${_e.params.captionsTheme||_e.params.theme}`},_e.params.photos.map((tt,nt)=>tt.caption?_e.renderCaption(tt.caption,nt):"")),$jsx("div",{class:"photo-browser-swiper-container swiper"},$jsx("div",{class:"photo-browser-swiper-wrapper swiper-wrapper"},!_e.params.virtualSlides&&_e.params.photos.map((tt,nt)=>tt.html||(typeof tt=="string"||tt instanceof String)&&tt.indexOf("<")>=0&&tt.indexOf(">")>=0?_e.renderObject(tt,nt):_e.params.lazy===!0?_e.renderLazyPhoto(tt,nt):_e.renderPhoto(tt,nt)))))))}renderStandalone(){const _e=this;return _e.params.renderStandalone?_e.params.renderStandalone.call(_e):``}renderPage(){const _e=this;return _e.params.renderPage?_e.params.renderPage.call(_e):_e.render()}renderPopup(){const _e=this;return _e.params.renderPopup?_e.params.renderPopup.call(_e):``}onOpen(_e,tt){const nt=this,rt=nt.app,st=$$1(tt);st[0].f7PhotoBrowser=nt,nt.$el=st,nt.el=st[0],nt.openedIn=_e,nt.opened=!0,nt.$swiperContainerEl=nt.$el.find(".photo-browser-swiper-container"),nt.$swiperWrapperEl=nt.$el.find(".photo-browser-swiper-wrapper"),nt.slides=nt.$el.find(".photo-browser-slide"),nt.$captionsContainerEl=nt.$el.find(".photo-browser-captions"),nt.captions=nt.$el.find(".photo-browser-caption");const it=nt.params.thumbs&&nt.params.thumbs.length>0;let at,ot,lt;const ct=nt.activeIndex,ut=extend$5({},nt.params.swiper,{initialSlide:ct,on:{click(ft){clearTimeout(at),nt.params.exposition&&(at=setTimeout(()=>{nt.expositionToggle()},350)),nt.emit("local::tap",ft),nt.emit("local::click",ft)},doubleClick(ft){clearTimeout(at),nt.emit("local::doubleTap",ft),nt.emit("local::doubleClick",ft)},slideChange(){const ft=this;it&&nt.thumbsSwiper&&!lt&&(ot=!0,nt.thumbsSwiper.slideTo(nt.swiper.activeIndex),setTimeout(()=>{ot=!1})),nt.onSlideChange(ft);for(var pt=arguments.length,ht=new Array(pt),vt=0;vt=0&&ft.indexOf(">")>=0?nt.renderObject(ft,pt):nt.params.lazy===!0?nt.renderLazyPhoto(ft,pt):nt.renderPhoto(ft,pt)}}});const dt=getWindow$1();if(nt.swiper=rt.swiper?rt.swiper.create(nt.$swiperContainerEl[0],ut):new dt.Swiper(nt.$swiperContainerEl[0],ut),(nt.activeIndex===0||nt.params.virtualSlides)&&nt.onSlideChange(nt.swiper),it){const ft={el:nt.$el.find(".photo-browser-thumbs .swiper")[0],slidesPerView:"auto",centeredSlides:!0,spaceBetween:4,watchSlidesProgress:!0,initialSlide:ct,on:{touchMove(){lt=!0},touchEnd(){lt=!1},slideChange(pt){ot||nt.swiper.slideTo(pt.activeIndex,0)},click(pt){if(!pt.clickedSlide)return;const ht=parseInt($$1(pt.clickedSlide).attr("data-swiper-slide-index"),10);pt.slideTo(ht,0)}}};nt.thumbsSwiper=rt.swiper?rt.swiper.create(ft):new dt.Swiper(ft)}nt.$el&&nt.$el.trigger("photobrowser:open"),nt.emit("local::open photoBrowserOpen",nt)}onOpened(){const _e=this;_e.$el&&_e.params.type==="standalone"&&_e.$el.css("animation","none"),_e.$el&&_e.$el.trigger("photobrowser:opened"),_e.emit("local::opened photoBrowserOpened",_e)}onClose(){const _e=this;_e.destroyed||(_e.swiper&&_e.swiper.destroy&&(_e.swiper.destroy(!0,!1),_e.swiper=null,delete _e.swiper),_e.thumbsSwiper&&_e.thumbsSwiper.destroy&&(_e.thumbsSwiper.destroy(!0,!1),_e.thumbsSwiper=null,delete _e.thumbsSwiper),_e.$el&&_e.$el.trigger("photobrowser:close"),_e.emit("local::close photoBrowserClose",_e))}onClosed(){const _e=this;_e.destroyed||(_e.opened=!1,_e.$el=null,_e.el=null,delete _e.$el,delete _e.el,_e.$el&&_e.$el.trigger("photobrowser:closed"),_e.emit("local::closed photoBrowserClosed",_e))}openPage(){const _e=this;if(_e.opened)return _e;const tt=_e.renderPage();return _e.view.router.navigate({url:_e.url,route:{content:tt,path:_e.url,on:{pageBeforeIn(nt,rt){_e.view.$el.addClass(`with-photo-browser-page with-photo-browser-page-${_e.params.theme}`),_e.onOpen("page",rt.el)},pageAfterIn(nt,rt){_e.onOpened("page",rt.el)},pageBeforeOut(nt,rt){_e.view.$el.removeClass(`with-photo-browser-page with-photo-browser-page-exposed with-photo-browser-page-${_e.params.theme}`),_e.onClose("page",rt.el)},pageAfterOut(nt,rt){_e.onClosed("page",rt.el)}}}}),_e}openStandalone(){const _e=this;if(_e.opened)return _e;const nt={backdrop:!1,content:_e.renderStandalone(),on:{popupOpen(rt){_e.onOpen("popup",rt.el)},popupOpened(rt){_e.onOpened("popup",rt.el)},popupClose(rt){_e.onClose("popup",rt.el)},popupClosed(rt){_e.onClosed("popup",rt.el)}}};return _e.params.routableModals&&_e.view?_e.view.router.navigate({url:_e.url,route:{path:_e.url,popup:nt}}):_e.modal=_e.app.popup.create(nt).open(),_e}openPopup(){const _e=this;if(_e.opened)return _e;const nt={content:_e.renderPopup(),push:_e.params.popupPush,closeByBackdropClick:_e.params.closeByBackdropClick,on:{popupOpen(rt){_e.onOpen("popup",rt.el)},popupOpened(rt){_e.onOpened("popup",rt.el)},popupClose(rt){_e.onClose("popup",rt.el)},popupClosed(rt){_e.onClosed("popup",rt.el)}}};return _e.params.routableModals&&_e.view?_e.view.router.navigate({url:_e.url,route:{path:_e.url,popup:nt}}):_e.modal=_e.app.popup.create(nt).open(),_e}expositionEnable(){const _e=this;return _e.params.type==="page"&&_e.view.$el.addClass("with-photo-browser-page-exposed"),_e.$el&&_e.$el.addClass("photo-browser-exposed"),_e.params.expositionHideCaptions&&_e.$captionsContainerEl.addClass("photo-browser-captions-exposed"),_e.exposed=!0,_e}expositionDisable(){const _e=this;return _e.params.type==="page"&&_e.view.$el.removeClass("with-photo-browser-page-exposed"),_e.$el&&_e.$el.removeClass("photo-browser-exposed"),_e.params.expositionHideCaptions&&_e.$captionsContainerEl.removeClass("photo-browser-captions-exposed"),_e.exposed=!1,_e}expositionToggle(){const _e=this;return _e.params.type==="page"&&_e.view.$el.toggleClass("with-photo-browser-page-exposed"),_e.$el&&_e.$el.toggleClass("photo-browser-exposed"),_e.params.expositionHideCaptions&&_e.$captionsContainerEl.toggleClass("photo-browser-captions-exposed"),_e.exposed=!_e.exposed,_e}open(_e){const tt=this,nt=tt.params.type;return tt.opened?(tt.swiper&&typeof _e<"u"&&tt.swiper.slideTo(parseInt(_e,10)),tt):(typeof _e<"u"&&(tt.activeIndex=_e),nt==="standalone"&&tt.openStandalone(),nt==="page"&&tt.openPage(),nt==="popup"&&tt.openPopup(),tt)}close(){const _e=this;return _e.opened&&(_e.params.routableModals&&_e.view||_e.openedIn==="page"?_e.view.router.back():(_e.modal.once("modalClosed",()=>{nextTick$2(()=>{_e.destroyed||(_e.modal.destroy(),delete _e.modal)})}),_e.modal.close())),_e}init(){}destroy(){let _e=this;_e.emit("local::beforeDestroy photoBrowserBeforeDestroy",_e),_e.$el&&(_e.$el.trigger("photobrowser:beforedestroy"),_e.$el[0].f7PhotoBrowser=null,delete _e.$el[0].f7PhotoBrowser),deleteProps$1(_e),_e.destroyed=!0,_e=null}};const PhotoBrowser$1={name:"photoBrowser",params:{photoBrowser:{photos:[],thumbs:[],exposition:!0,expositionHideCaptions:!1,type:"standalone",navbar:!0,toolbar:!0,theme:"light",captionsTheme:void 0,iconsColor:void 0,popupPush:!1,swipeToClose:!0,pageBackLinkText:"Back",popupCloseLinkText:void 0,popupCloseLinkIcon:!0,navbarOfText:"of",navbarShowCount:void 0,view:void 0,url:"photos/",routableModals:!1,virtualSlides:!0,lazy:!0,closeByBackdropClick:!0,renderNavbar:void 0,renderToolbar:void 0,renderCaption:void 0,renderObject:void 0,renderLazyPhoto:void 0,renderPhoto:void 0,renderThumb:void 0,renderPage:void 0,renderPopup:void 0,renderStandalone:void 0,swiper:{cssMode:!1,initialSlide:0,spaceBetween:20,speed:300,loop:!1,keyboard:{enabled:!0},navigation:{nextEl:".photo-browser-next",prevEl:".photo-browser-prev"},zoom:{enabled:!0,maxRatio:3,minRatio:1}}}},create(){const et=this;et.photoBrowser=ConstructorMethods({defaultSelector:".photo-browser-popup, .photo-browser-page",constructor:PhotoBrowser$2,app:et,domProp:"f7PhotoBrowser"})},static:{PhotoBrowser:PhotoBrowser$2}};let Notification$1=class extends Modal$1{constructor(_e,tt){const nt=extend$5({on:{}},_e.params.notification,tt);super(_e,nt);const rt=this;rt.app=_e,rt.params=nt;const{icon:st,title:it,titleRightText:at,subtitle:ot,text:lt,closeButton:ct,closeTimeout:ut,cssClass:dt,closeOnClick:ft}=rt.params;let pt;if(rt.params.el)pt=$$1(rt.params.el);else{const Pt=rt.render({icon:st,title:it,titleRightText:at,subtitle:ot,text:lt,closeButton:ct,cssClass:dt});pt=$$1(Pt)}if(pt&&pt.length>0&&pt[0].f7Modal)return pt[0].f7Modal;if(pt.length===0)return rt.destroy();extend$5(rt,{$el:pt,el:pt[0],type:"notification"}),pt[0].f7Modal=rt,ct&&pt.find(".notification-close-button").on("click",()=>{rt.close()}),pt.on("click",Pt=>{ct&&$$1(Pt.target).closest(".notification-close-button").length||(rt.emit("local::click notificationClick",rt),ft&&rt.close())}),rt.on("beforeDestroy",()=>{pt.off("click")});let ht,vt,gt,mt,bt,xt;const yt={};function $t(Pt){ht||(ht=!0,vt=!1,gt=void 0,bt=now$2(),yt.x=Pt.type==="touchstart"?Pt.targetTouches[0].pageX:Pt.pageX,yt.y=Pt.type==="touchstart"?Pt.targetTouches[0].pageY:Pt.pageY)}function wt(Pt){if(!ht)return;const kt=Pt.type==="touchmove"?Pt.targetTouches[0].pageX:Pt.pageX,_t=Pt.type==="touchmove"?Pt.targetTouches[0].pageY:Pt.pageY;if(typeof gt>"u"&&(gt=!!(gt||Math.abs(_t-yt.y)0&&(Bt=mt**.8),rt.$el.transform(`translate3d(0, ${Bt}px, 0)`)}function Ct(){if(!ht||!vt){ht=!1,vt=!1;return}if(ht=!1,vt=!1,mt===0)return;const Pt=now$2()-bt;rt.$el.transition(""),rt.$el.addClass("notification-transitioning"),rt.$el.transform(""),(mt<-10&&Pt<300||-mt>=xt/1)&&rt.close()}function Et(){rt.$el.on(_e.touchEvents.start,$t,{passive:!0}),_e.on("touchmove:active",wt),_e.on("touchend:passive",Ct)}function Mt(){rt.$el.off(_e.touchEvents.start,$t,{passive:!0}),_e.off("touchmove:active",wt),_e.off("touchend:passive",Ct)}let St;function Rt(){St=nextTick$2(()=>{if(ht&&vt){Rt();return}rt.close()},ut)}return rt.on("open",()=>{rt.params.swipeToClose&&Et(),$$1(".notification.modal-in").each(Pt=>{const kt=_e.notification.get(Pt);Pt!==rt.el&&kt&&kt.close()}),ut&&Rt()}),rt.on("close beforeDestroy",()=>{rt.params.swipeToClose&&Mt(),clearTimeout(St)}),rt}render(){const _e=this;if(_e.params.render)return _e.params.render.call(_e,_e);const{icon:tt,title:nt,titleRightText:rt,subtitle:st,text:it,closeButton:at,cssClass:ot}=_e.params;return $jsx("div",{class:`notification ${tt?"notification-with-icon":""} ${ot||""}`},$jsx("div",{class:"notification-header"},tt&&$jsx("div",{class:"notification-icon"},tt),nt&&$jsx("div",{class:"notification-title"},nt),rt&&$jsx("div",{class:"notification-title-right-text"},rt),at&&$jsx("span",{class:"notification-close-button"})),$jsx("div",{class:"notification-content"},st&&$jsx("div",{class:"notification-subtitle"},st),it&&$jsx("div",{class:"notification-text"},it)))}};const Notification={name:"notification",static:{Notification:Notification$1},create(){const et=this;et.notification=extend$5({},ModalMethods({app:et,constructor:Notification$1,defaultSelector:".notification.modal-in"}))},params:{notification:{icon:null,title:null,titleRightText:null,subtitle:null,text:null,closeButton:!1,closeTimeout:null,closeOnClick:!1,swipeToClose:!0,cssClass:null,render:null,containerEl:null}}};let Autocomplete$1=class extends Framework7Class{constructor(_e,tt){tt===void 0&&(tt={}),super(tt,[_e]);const nt=this;nt.app=_e;const rt=getDevice$1(),st=extend$5({on:{}},_e.params.autocomplete);nt.useModulesParams(st),nt.params=extend$5(st,tt);let it;nt.params.openerEl&&(it=$$1(nt.params.openerEl),it.length&&(it[0].f7Autocomplete=nt));let at;nt.params.inputEl&&(at=$$1(nt.params.inputEl),at.length&&(at[0].f7Autocomplete=nt));const ot=id();let lt=tt.url;!lt&&it&&it.length&&(it.attr("href")?lt=it.attr("href"):it.find("a").length>0&&(lt=it.find("a").attr("href"))),(!lt||lt==="#"||lt==="")&&(lt=nt.params.url);const ct=nt.params.multiple?"checkbox":"radio";extend$5(nt,{$openerEl:it,openerEl:it&&it[0],$inputEl:at,inputEl:at&&at[0],id:ot,url:lt,value:nt.params.value||[],inputType:ct,inputName:`${ct}-${ot}`,$modalEl:void 0,$dropdownEl:void 0});let ut="";function dt(){let yt=nt.$inputEl.val().trim();nt.params.source&&nt.params.source.call(nt,yt,$t=>{let wt="";const Ct=nt.params.limit?Math.min(nt.params.limit,$t.length):$t.length;nt.items=$t;let Et;nt.params.highlightMatches&&(yt=yt.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),Et=new RegExp(`(${yt})`,"i"));let Mt,St;for(let Rt=0;Rt$1"):kt},Rt)}if(wt===""&&yt===""&&nt.params.dropdownPlaceholderText&&(wt+=nt.renderItem({placeholder:!0,text:nt.params.dropdownPlaceholderText})),nt.$dropdownEl.find("ul").html(wt),nt.params.typeahead){if(!Mt||!St||Mt.toLowerCase().indexOf(yt.toLowerCase())!==0)return;if(ut.toLowerCase()===yt.toLowerCase()){nt.value=[];return}if(ut.toLowerCase().indexOf(yt.toLowerCase())===0){ut=yt,nt.value=[];return}at.val(Mt),at[0].setSelectionRange(yt.length,Mt.length);const Rt=typeof nt.value[0]=="object"?nt.value[0][nt.params.valueProperty]:nt.value[0];(!Rt||Mt.toLowerCase()!==Rt.toLowerCase())&&(nt.value=[St],nt.emit("local::change autocompleteChange",[St]))}ut=yt})}function ft(){const yt=this,$t=yt.value,wt=$$1(yt).parents(".autocomplete-values").length>0;let Ct,Et,Mt;if(wt){if(nt.inputType==="checkbox"&&!yt.checked){for(let St=0;St0||setTimeout(()=>{nt.close()},0)}function mt(){nt.positionDropdown()}function bt(yt){if(!nt.opened)return;if(yt.keyCode===27){yt.preventDefault(),nt.$inputEl.blur();return}if(yt.keyCode===13){const Ct=nt.$dropdownEl.find(".autocomplete-dropdown-selected label");if(Ct.length){yt.preventDefault(),Ct.trigger("click"),nt.$inputEl.blur();return}nt.params.typeahead&&(yt.preventDefault(),nt.$inputEl.blur());return}if(yt.keyCode!==40&&yt.keyCode!==38)return;yt.preventDefault();const $t=nt.$dropdownEl.find(".autocomplete-dropdown-selected");let wt;$t.length?(wt=$t[yt.keyCode===40?"next":"prev"]("li"),wt.length||(wt=nt.$dropdownEl.find("li").eq(yt.keyCode===40?0:nt.$dropdownEl.find("li").length-1))):wt=nt.$dropdownEl.find("li").eq(yt.keyCode===40?0:nt.$dropdownEl.find("li").length-1),!wt.hasClass("autocomplete-dropdown-placeholder")&&($t.removeClass("autocomplete-dropdown-selected"),wt.addClass("autocomplete-dropdown-selected"))}function xt(){const yt=$$1(this);let $t;for(let wt=0;wt{nextTick$2(()=>{nt.close()})})},nt.detachPageEvents=function(){nt.$el.off("change",'input[type="radio"], input[type="checkbox"]',ft)},nt.useModules(),nt.init(),nt}get view(){const _e=this,{$openerEl:tt,$inputEl:nt,app:rt}=_e;let st;if(_e.params.view)st=_e.params.view;else if(tt||nt){const it=tt||nt;st=it.closest(".view").length&&it.closest(".view")[0].f7View}return st||(st=rt.views.main),st}positionDropdown(){const _e=this,{$inputEl:tt,app:nt,$dropdownEl:rt}=_e,st=tt.parents(".page-content");if(st.length===0)return;const it=tt.offset(),at=tt[0].offsetWidth,ot=tt[0].offsetHeight,lt=tt.parents(".list");let ct;lt.parents().each(bt=>{if(ct)return;const xt=$$1(bt);xt.parent(st).length&&(ct=xt)});const ut=lt.offset(),dt=parseInt(st.css("padding-bottom"),10),ft=lt.length>0?ut.left-st.offset().left:0,pt=it.left-(lt.length>0?ut.left:0)-(nt.rtl,0),ht=it.top-(st.offset().top-st[0].scrollTop),vt=st[0].scrollHeight-dt-(ht+st[0].scrollTop)-tt[0].offsetHeight,gt=nt.rtl?"padding-right":"padding-left";let mt;lt.length&&(mt=(nt.rtl?lt[0].offsetWidth-pt-at:pt)-(nt.theme==="md"?16:15)),rt.css({left:`${lt.length>0?ft:pt}px`,top:`${ht+st[0].scrollTop+ot}px`,width:`${lt.length>0?lt[0].offsetWidth:at}px`}),rt.children(".autocomplete-dropdown-inner").css({maxHeight:`${vt}px`,[gt]:lt.length>0?`${mt}px`:""})}focus(){this.$el.find("input[type=search]").focus()}source(_e){const tt=this;if(!tt.params.source)return;const{$el:nt}=tt;tt.params.source.call(tt,_e,rt=>{let st="";const it=tt.params.limit?Math.min(tt.params.limit,rt.length):rt.length;tt.items=rt;for(let at=0;at"u"&&_e.$openerEl&&_e.$openerEl.length&&(tt=_e.$openerEl.find(".item-title").text().trim());const nt=_e.params.openIn==="popup",rt=nt?_e.params.preloader&&$jsx("div",{class:"left"},_e.renderPreloader()):$jsx("div",{class:"left sliding"},$jsx("a",{class:"link back"},$jsx("i",{class:"icon icon-back"}),$jsx("span",{class:"if-not-md"},_e.params.pageBackLinkText))),st=nt?$jsx("div",{class:"right"},$jsx("a",{class:"link popup-close","data-popup":".autocomplete-popup"},_e.params.popupCloseLinkText)):_e.params.preloader&&$jsx("div",{class:"right"},_e.renderPreloader());return $jsx("div",{class:`navbar ${_e.params.navbarColorTheme?`color-${_e.params.navbarColorTheme}`:""}`},$jsx("div",{class:"navbar-bg"}),$jsx("div",{class:`navbar-inner ${_e.params.navbarColorTheme?`color-${_e.params.navbarColorTheme}`:""}`},rt,tt&&$jsx("div",{class:"title sliding"},tt),st,$jsx("div",{class:"subnavbar sliding"},_e.renderSearchbar())))}renderDropdown(){const _e=this;return _e.params.renderDropdown?_e.params.renderDropdown.call(_e,_e.items):$jsx("div",{class:"autocomplete-dropdown"},$jsx("div",{class:"autocomplete-dropdown-inner"},$jsx("div",{class:"list no-safe-areas"},$jsx("ul",null))),_e.params.preloader&&_e.renderPreloader())}renderPage(_e){const tt=this;return tt.params.renderPage?tt.params.renderPage.call(tt,tt.items):$jsx("div",{class:"page page-with-subnavbar autocomplete-page","data-name":"autocomplete-page"},tt.renderNavbar(_e),$jsx("div",{class:"searchbar-backdrop"}),$jsx("div",{class:"page-content"},$jsx("div",{class:`list autocomplete-list autocomplete-found autocomplete-list-${tt.id} ${tt.params.formColorTheme?`color-${tt.params.formColorTheme}`:""}`},$jsx("ul",null)),$jsx("div",{class:"list autocomplete-not-found"},$jsx("ul",null,$jsx("li",{class:"item-content"},$jsx("div",{class:"item-inner"},$jsx("div",{class:"item-title"},tt.params.notFoundText))))),$jsx("div",{class:"list autocomplete-values"},$jsx("ul",null))))}renderPopup(){const _e=this;return _e.params.renderPopup?_e.params.renderPopup.call(_e,_e.items):$jsx("div",{class:"popup autocomplete-popup"},$jsx("div",{class:"view"},_e.renderPage(!0),";"))}onOpen(_e,tt){const nt=this,rt=nt.app,st=$$1(tt);if(nt.$el=st,nt.el=st[0],nt.openedIn=_e,nt.opened=!0,nt.params.openIn==="dropdown")nt.attachDropdownEvents(),nt.$dropdownEl.addClass("autocomplete-dropdown-in"),nt.$inputEl.trigger("input");else{let it=st.find(".searchbar");nt.params.openIn==="page"&&rt.theme==="ios"&&it.length===0&&(it=$$1(rt.navbar.getElByPage(st)).find(".searchbar")),nt.searchbar=rt.searchbar.create({el:it,backdropEl:st.find(".searchbar-backdrop"),customSearch:!0,on:{search(at,ot){ot.length===0&&nt.searchbar.enabled?nt.searchbar.backdropShow():nt.searchbar.backdropHide(),nt.source(ot)}}}),nt.attachPageEvents(),nt.updateValues(),nt.params.requestSourceOnOpen&&nt.source("")}nt.emit("local::open autocompleteOpen",nt)}autoFocus(){const _e=this;return _e.searchbar&&_e.searchbar.$inputEl&&_e.searchbar.$inputEl.focus(),_e}onOpened(){const _e=this;_e.params.openIn!=="dropdown"&&_e.params.autoFocus&&_e.autoFocus(),_e.emit("local::opened autocompleteOpened",_e)}onClose(){const _e=this;_e.destroyed||(_e.searchbar&&_e.searchbar.destroy&&(_e.searchbar.destroy(),_e.searchbar=null,delete _e.searchbar),_e.params.openIn==="dropdown"?(_e.detachDropdownEvents(),_e.$dropdownEl.removeClass("autocomplete-dropdown-in").remove()):_e.detachPageEvents(),_e.emit("local::close autocompleteClose",_e))}onClosed(){const _e=this;_e.destroyed||(_e.opened=!1,_e.$el=null,_e.el=null,delete _e.$el,delete _e.el,_e.emit("local::closed autocompleteClosed",_e))}openPage(){const _e=this;if(_e.opened)return _e;const tt=_e.renderPage();return _e.view.router.navigate({url:_e.url,route:{content:tt,path:_e.url,on:{pageBeforeIn(nt,rt){_e.onOpen("page",rt.el)},pageAfterIn(nt,rt){_e.onOpened("page",rt.el)},pageBeforeOut(nt,rt){_e.onClose("page",rt.el)},pageAfterOut(nt,rt){_e.onClosed("page",rt.el)}},options:{animate:_e.params.animate}}}),_e}openPopup(){const _e=this;if(_e.opened)return _e;const nt={content:_e.renderPopup(),animate:_e.params.animate,push:_e.params.popupPush,swipeToClose:_e.params.popupSwipeToClose,on:{popupOpen(rt){_e.onOpen("popup",rt.el)},popupOpened(rt){_e.onOpened("popup",rt.el)},popupClose(rt){_e.onClose("popup",rt.el)},popupClosed(rt){_e.onClosed("popup",rt.el)}}};return _e.params.routableModals&&_e.view?_e.view.router.navigate({url:_e.url,route:{path:_e.url,popup:nt}}):_e.modal=_e.app.popup.create(nt).open(_e.params.animate),_e}openDropdown(){const _e=this;_e.$dropdownEl||(_e.$dropdownEl=$$1(_e.renderDropdown()));const tt=_e.$inputEl.parents(".page-content");_e.params.dropdownContainerEl?$$1(_e.params.dropdownContainerEl).append(_e.$dropdownEl):tt.length===0?_e.$dropdownEl.insertAfter(_e.$inputEl):(_e.positionDropdown(),tt.append(_e.$dropdownEl)),_e.onOpen("dropdown",_e.$dropdownEl),_e.onOpened("dropdown",_e.$dropdownEl)}open(){const _e=this;if(_e.opened)return _e;const tt=_e.params.openIn;return _e[`open${tt.split("").map((nt,rt)=>rt===0?nt.toUpperCase():nt).join("")}`](),_e}close(){const _e=this;return _e.opened&&(_e.params.openIn==="dropdown"?(_e.onClose(),_e.onClosed()):_e.params.routableModals&&_e.view||_e.openedIn==="page"?_e.view.router.back({animate:_e.params.animate}):(_e.modal.once("modalClosed",()=>{nextTick$2(()=>{_e.destroyed||(_e.modal.destroy(),delete _e.modal)})}),_e.modal.close())),_e}init(){this.attachEvents()}destroy(){const _e=this;_e.emit("local::beforeDestroy autocompleteBeforeDestroy",_e),_e.detachEvents(),_e.$inputEl&&_e.$inputEl[0]&&delete _e.$inputEl[0].f7Autocomplete,_e.$openerEl&&_e.$openerEl[0]&&delete _e.$openerEl[0].f7Autocomplete,deleteProps$1(_e),_e.destroyed=!0}};const Autocomplete={name:"autocomplete",params:{autocomplete:{openerEl:void 0,inputEl:void 0,view:void 0,dropdownContainerEl:void 0,dropdownPlaceholderText:void 0,typeahead:!1,highlightMatches:!0,updateInputValueOnSelect:!0,inputEvents:"input",value:void 0,multiple:!1,source:void 0,limit:void 0,valueProperty:"id",textProperty:"text",openIn:"page",pageBackLinkText:"Back",popupCloseLinkText:"Close",pageTitle:void 0,searchbarPlaceholder:"Search...",searchbarDisableText:"Cancel",searchbarDisableButton:!0,searchbarSpellcheck:!1,popupPush:!1,popupSwipeToClose:void 0,animate:!0,autoFocus:!1,closeOnSelect:!1,notFoundText:"Nothing found",requestSourceOnOpen:!1,preloaderColor:void 0,preloader:!1,formColorTheme:void 0,navbarColorTheme:void 0,routableModals:!1,url:"select/",renderDropdown:void 0,renderPage:void 0,renderPopup:void 0,renderItem:void 0,renderSearchbar:void 0,renderNavbar:void 0}},static:{Autocomplete:Autocomplete$1},create(){const et=this;et.autocomplete=extend$5(ConstructorMethods({defaultSelector:void 0,constructor:Autocomplete$1,app:et,domProp:"f7Autocomplete"}),{open(_e){const tt=et.autocomplete.get(_e);if(tt&&tt.open)return tt.open()},close(_e){const tt=et.autocomplete.get(_e);if(tt&&tt.close)return tt.close()}})}};let Tooltip$2=class extends Framework7Class{constructor(_e,tt){tt===void 0&&(tt={}),super(tt,[_e]);const nt=this,rt=getSupport$1(),st=extend$5({},_e.params.tooltip),it=getDocument$1();nt.useModulesParams(st),nt.params=extend$5(st,tt),typeof tt.offset>"u"&&rt.touch&&nt.params.trigger==="hover"&&(nt.params.offset=10);const{targetEl:at,containerEl:ot}=nt.params;if(!at&&!nt.params.delegated)return nt;const lt=$$1(at);if(lt.length===0&&!nt.params.delegated)return nt;if(lt[0]&<[0].f7Tooltip&&!nt.params.delegated)return lt[0].f7Tooltip;let ct=$$1(ot||_e.$el).eq(0);ct.length===0&&(ct=_e.$el);const ut=$$1(nt.render()).eq(0);extend$5(nt,{app:_e,$targetEl:lt,targetEl:lt&<[0],$containerEl:ct,containerEl:ct&&ct[0],$el:ut,el:ut&&ut[0],text:nt.params.text||"",visible:!1,opened:!1}),lt[0]&&(lt[0].f7Tooltip=nt);const dt={};let ft;function pt(){nt.opened?nt.hide():nt.show(this)}function ht($t){nt.opened&&($$1($t.target).closest(lt).length||$$1($t.target).closest(nt.$el).length)||nt.hide()}function vt($t){ft||(ft=!0,dt.x=$t.type==="touchstart"?$t.targetTouches[0].pageX:$t.pageX,dt.y=$t.type==="touchstart"?$t.targetTouches[0].pageY:$t.pageY,nt.show(this))}function gt($t){if(!ft)return;const wt=$t.type==="touchmove"?$t.targetTouches[0].pageX:$t.pageX,Ct=$t.type==="touchmove"?$t.targetTouches[0].pageY:$t.pageY;((wt-dt.x)**2+(Ct-dt.y)**2)**.5>50&&(ft=!1,nt.hide())}function mt(){ft&&(ft=!1,nt.hide())}function bt(){nt.show(this)}function xt(){nt.hide()}function yt(){ut.hasClass("tooltip-in")||ut.removeClass("tooltip-out").remove()}return nt.attachEvents=function(){if(ut.on("transitionend",yt),nt.params.trigger==="click"){nt.params.delegated?$$1(it).on("click",nt.params.targetEl,pt):nt.$targetEl.on("click",pt),$$1("html").on("click",ht);return}if(nt.params.trigger!=="manual")if(rt.touch){const wt=rt.passiveListener?{passive:!0}:!1;nt.params.delegated?$$1(it).on(_e.touchEvents.start,nt.params.targetEl,vt,wt):nt.$targetEl.on(_e.touchEvents.start,vt,wt),_e.on("touchmove",gt),_e.on("touchend:passive",mt)}else nt.params.delegated?($$1(it).on(rt.pointerEvents?"pointerenter":"mouseenter",nt.params.targetEl,bt,!0),$$1(it).on(rt.pointerEvents?"pointerleave":"mouseleave",nt.params.targetEl,xt,!0)):(nt.$targetEl.on(rt.pointerEvents?"pointerenter":"mouseenter",bt),nt.$targetEl.on(rt.pointerEvents?"pointerleave":"mouseleave",xt))},nt.detachEvents=function(){if(ut.off("transitionend",yt),nt.params.trigger==="click"){nt.params.delegated?$$1(it).on("click",nt.params.targetEl,pt):nt.$targetEl.off("click",pt),$$1("html").off("click",ht);return}if(nt.params.trigger!=="manual")if(rt.touch){const wt=rt.passiveListener?{passive:!0}:!1;nt.params.delegated?$$1(it).off(_e.touchEvents.start,nt.params.targetEl,vt,wt):nt.$targetEl.off(_e.touchEvents.start,vt,wt),_e.off("touchmove",gt),_e.off("touchend:passive",mt)}else nt.params.delegated?($$1(it).off(rt.pointerEvents?"pointerenter":"mouseenter",nt.params.targetEl,bt,!0),$$1(it).off(rt.pointerEvents?"pointerleave":"mouseleave",nt.params.targetEl,xt,!0)):(nt.$targetEl.off(rt.pointerEvents?"pointerenter":"mouseenter",bt),nt.$targetEl.off(rt.pointerEvents?"pointerleave":"mouseleave",xt))},nt.useModules(),nt.init(),nt}setTargetEl(_e){const tt=this;return tt.detachEvents(),tt.$targetEl=$$1(_e),tt.targetEl=tt.$targetEl[0],tt.attachEvents(),tt}position(_e){const tt=this,{$el:nt,app:rt,$containerEl:st}=tt,it=!!tt.params.containerEl,at=tt.params.offset||0;nt.css({left:"",top:""});const ot=$$1(_e||tt.targetEl),[lt,ct]=[nt.width(),nt.height()];nt.css({left:"",top:""});let ut,dt,ft,pt;const ht=it&&st.length?st[0].getBoundingClientRect():rt;if(ot&&ot.length>0){if(ut=ot.outerWidth(),dt=ot.outerHeight(),typeof ut>"u"&&typeof dt>"u"){const yt=ot[0].getBoundingClientRect();ut=yt.width,dt=yt.height}const bt=ot.offset();ft=bt.left-ht.left,pt=bt.top-ht.top;const xt=ot.parents(".page");xt.length>0&&(pt-=xt[0].scrollTop)}let[vt,gt]=[0,0,0],mt="top";ct+at=ht.height&&(gt=ht.height-ct-8)),mt==="top"||mt==="bottom"?(vt=ut/2+ft-lt/2,vt<8&&(vt=8),vt+lt>ht.width&&(vt=ht.width-lt-8),vt<0&&(vt=0)):mt==="middle"&&(vt=ft-lt,(vt<8||vt+lt>ht.width)&&(vt<8&&(vt=ft+ut),vt+lt>ht.width&&(vt=ht.width-lt-8))),nt.css({top:`${gt}px`,left:`${vt}px`})}show(_e){const tt=this,{$el:nt,$targetEl:rt,$containerEl:st}=tt;st[0]&&nt[0]&&!st[0].contains(nt[0])&&st.append(nt),tt.position(_e);const it=$$1(_e);return tt.visible=!0,tt.opened=!0,rt.trigger("tooltip:show"),nt.trigger("tooltip:show"),it.length&&it[0]!==rt[0]&&it.trigger("tooltip:show"),tt.emit("local::show tooltipShow",tt),nt.removeClass("tooltip-out").addClass("tooltip-in"),tt}hide(){const _e=this,{$el:tt,$targetEl:nt}=_e;return _e.visible=!1,_e.opened=!1,nt.trigger("tooltip:hide"),tt.trigger("tooltip:hide"),_e.emit("local::hide tooltipHide",_e),tt.addClass("tooltip-out").removeClass("tooltip-in"),_e}render(){const _e=this;if(_e.params.render)return _e.params.render.call(_e,_e);const{cssClass:tt,text:nt}=_e.params;return` +
        +
        ${nt||""}
        +
        + `.trim()}setText(_e){const tt=this;return typeof _e>"u"||(tt.params.text=_e,tt.text=_e,tt.$el&&tt.$el.children(".tooltip-content").html(_e),tt.opened&&tt.position()),tt}init(){this.attachEvents()}destroy(){const _e=this;!_e.$targetEl||_e.destroyed||(_e.$targetEl.trigger("tooltip:beforedestroy"),_e.emit("local::beforeDestroy tooltipBeforeDestroy",_e),_e.$el.remove(),_e.$targetEl[0]&&delete _e.$targetEl[0].f7Tooltip,_e.detachEvents(),deleteProps$1(_e),_e.destroyed=!0)}};const Tooltip$1={name:"tooltip",static:{Tooltip:Tooltip$2},create(){const et=this;et.tooltip=ConstructorMethods({defaultSelector:".tooltip",constructor:Tooltip$2,app:et,domProp:"f7Tooltip"}),et.tooltip.show=function(tt){const nt=$$1(tt);if(nt.length===0)return;const rt=nt[0].f7Tooltip;if(rt)return rt.show(nt[0]),rt},et.tooltip.hide=function(tt){const nt=$$1(tt);if(nt.length===0)return;const rt=nt[0].f7Tooltip;if(rt)return rt.hide(),rt},et.tooltip.setText=function(tt,nt){const rt=$$1(tt);if(rt.length===0)return;const st=rt[0].f7Tooltip;if(st)return st.setText(nt),st}},params:{tooltip:{targetEl:null,delegated:!1,text:null,cssClass:null,render:null,offset:0,trigger:"hover",containerEl:void 0}},on:{tabMounted(et){const _e=this;$$1(et).find(".tooltip-init").each(tt=>{const nt=$$1(tt).attr("data-tooltip");nt&&_e.tooltip.create({targetEl:tt,text:nt})})},tabBeforeRemove(et){$$1(et).find(".tooltip-init").each(_e=>{_e.f7Tooltip&&_e.f7Tooltip.destroy()})},pageInit(et){const _e=this;et.$el.find(".tooltip-init").each(tt=>{const nt=$$1(tt).attr("data-tooltip");nt&&_e.tooltip.create({targetEl:tt,text:nt})}),_e.theme==="ios"&&et.view&&et.view.router.dynamicNavbar&&et.$navbarEl&&et.$navbarEl.length>0&&et.$navbarEl.find(".tooltip-init").each(tt=>{const nt=$$1(tt).attr("data-tooltip");nt&&_e.tooltip.create({targetEl:tt,text:nt})})},pageBeforeRemove(et){const _e=this;et.$el.find(".tooltip-init").each(tt=>{tt.f7Tooltip&&tt.f7Tooltip.destroy()}),_e.theme==="ios"&&et.view&&et.view.router.dynamicNavbar&&et.$navbarEl&&et.$navbarEl.length>0&&et.$navbarEl.find(".tooltip-init").each(tt=>{tt.f7Tooltip&&tt.f7Tooltip.destroy()})}},vnode:{"tooltip-init":{insert(et){const _e=this,tt=et.elm,nt=$$1(tt).attr("data-tooltip");nt&&_e.tooltip.create({targetEl:tt,text:nt})},update(et){const _e=et.elm;_e.f7Tooltip&&et&&et.data&&et.data.attrs&&et.data.attrs["data-tooltip"]&&_e.f7Tooltip.setText(et.data.attrs["data-tooltip"])},destroy(et){const _e=et.elm;_e.f7Tooltip&&_e.f7Tooltip.destroy()}}}},Skeleton={name:"skeleton"},moduleAlphaSlider={render(et){const{sliderLabel:_e,sliderValue:tt,sliderValueEditable:nt,alphaLabelText:rt}=et.params;return $jsx("div",{class:"color-picker-module color-picker-module-alpha-slider"},$jsx("div",{class:"color-picker-slider-wrap"},_e&&$jsx("div",{class:"color-picker-slider-label"},rt),$jsx("div",{class:"range-slider color-picker-slider color-picker-slider-alpha"}),tt&&$jsx("div",{class:"color-picker-slider-value"},nt?$jsx("input",{type:"number",step:"0.01",min:"0",max:"1",class:"color-picker-value-alpha"}):$jsx("span",{class:"color-picker-value-alpha"}))))},init(et){et.alphaRangeSlider=et.app.range.create({el:et.$el.find(".color-picker-slider-alpha"),min:0,max:1,step:.01,value:1,on:{change(tt,nt){const rt=Math.floor(nt*100)/100;et.setValue({alpha:rt})}}});function _e(tt){const nt=et.value.alpha;let rt=parseFloat(tt.target.value);if(Number.isNaN(rt)){tt.target.value=nt;return}rt=Math.max(0,Math.min(1,rt)),et.setValue({alpha:rt})}et.$el.on("change",".color-picker-module-alpha-slider input",_e),et.destroyAlphaSliderEvents=function(){et.$el.off("change",".color-picker-module-alpha-slider input",_e)}},update(et){const{value:_e}=et,{sliderValue:tt,sliderValueEditable:nt}=et.params,{alpha:rt}=_e;et.alphaRangeSlider.value=rt,et.alphaRangeSlider.layout(),tt&&nt?et.$el.find("input.color-picker-value-alpha").val(rt):et.$el.find("span.color-picker-value-alpha").text(rt)},destroy(et){et.alphaRangeSlider&&et.alphaRangeSlider.destroy&&et.alphaRangeSlider.destroy(),delete et.alphaRangeSlider,et.destroyAlphaSliderEvents&&et.destroyAlphaSliderEvents(),delete et.destroyAlphaSliderEvents}},moduleCurrentColor={render(){return $jsx("div",{class:"color-picker-module color-picker-module-current-color"},$jsx("div",{class:"color-picker-current-color"}))},update(et){et.$el.find(".color-picker-module-current-color .color-picker-current-color").css("background-color",et.value.hex)}},moduleHex={render(et){const{hexLabel:_e,hexLabelText:tt,hexValueEditable:nt}=et.params;return $jsx("div",{class:"color-picker-module color-picker-module-hex"},$jsx("div",{class:"color-picker-hex-wrap"},_e&&$jsx("div",{class:"color-picker-hex-label"},tt),$jsx("div",{class:"color-picker-hex-value"},nt?$jsx("input",{type:"text",class:"color-picker-value-hex"}):$jsx("span",{class:"color-picker-value-hex"}))))},init(et){function _e(tt){const nt=et.value.hex;let rt=tt.target.value.replace(/#/g,"");if(Number.isNaN(rt)||!rt||rt.length!==3&&rt.length!==6){tt.target.value=nt;return}const st=0,it=parseInt(rt,16),at=parseInt("ffffff",16);it>at&&(rt="fff"),it{if(Array.isArray(_e)){let tt='
        ';return tt+=_e.map(nt=>` +
        + `).join(""),tt+="
        ",tt}return $jsx("div",{class:"color-picker-palette-value","data-palette-color":_e,style:`background-color: ${_e}`})})))},init(et){function _e(tt){const nt=$$1(tt.target).attr("data-palette-color");et.setValue({hex:nt})}et.$el.on("click",".color-picker-module-palette .color-picker-palette-value",_e),et.destroyPaletteEvents=function(){et.$el.off("click",".color-picker-module-hex input",_e)}},destroy(et){et.destroyPaletteEvents&&et.destroyPaletteEvents(),delete et.destroyPaletteEvents}},moduleInitialCurrentColors={render(){return $jsx("div",{class:"color-picker-module color-picker-module-initial-current-colors"},$jsx("div",{class:"color-picker-initial-current-colors"},$jsx("div",{class:"color-picker-initial-color"}),$jsx("div",{class:"color-picker-current-color"})))},init(et){function _e(){if(et.initialValue){const{hex:tt,alpha:nt}=et.initialValue;et.setValue({hex:tt,alpha:nt})}}et.$el.on("click",".color-picker-initial-color",_e),et.destroyInitialCurrentEvents=function(){et.$el.off("click",".color-picker-initial-color",_e)}},update(et){et.$el.find(".color-picker-module-initial-current-colors .color-picker-initial-color").css("background-color",et.initialValue.hex),et.$el.find(".color-picker-module-initial-current-colors .color-picker-current-color").css("background-color",et.value.hex)},destroy(et){et.destroyInitialCurrentEvents&&et.destroyInitialCurrentEvents(),delete et.destroyInitialCurrentEvents}},moduleRgbBars={render(et){const{barLabel:_e,barValue:tt,barValueEditable:nt,redLabelText:rt,greenLabelText:st,blueLabelText:it}=et.params;return $jsx("div",{class:"color-picker-module color-picker-module-rgb-bars"},$jsx("div",{class:"color-picker-bar-wrap"},_e&&$jsx("div",{class:"color-picker-bar-label"},rt),$jsx("div",{class:"range-slider color-picker-bar color-picker-bar-red"}),tt&&$jsx("div",{class:"color-picker-bar-value"},nt?$jsx("input",{type:"number",step:"1",min:"0",max:"255",class:"color-picker-value-bar-red","data-color-index":"0"}):$jsx("span",{class:"color-picker-value-bar-red"}))),$jsx("div",{class:"color-picker-bar-wrap"},_e&&$jsx("div",{class:"color-picker-bar-label"},st),$jsx("div",{class:"range-slider color-picker-bar color-picker-bar-green"}),tt&&$jsx("div",{class:"color-picker-bar-value"},nt?$jsx("input",{type:"number",step:"1",min:"0",max:"255",class:"color-picker-value-bar-green","data-color-index":"1"}):$jsx("span",{class:"color-picker-value-bar-green"}))),$jsx("div",{class:"color-picker-bar-wrap"},_e&&$jsx("div",{class:"color-picker-bar-label"},it),$jsx("div",{class:"range-slider color-picker-bar color-picker-bar-blue"}),tt&&$jsx("div",{class:"color-picker-bar-value"},nt?$jsx("input",{type:"number",step:"1",min:"0",max:"255",class:"color-picker-value-bar-blue","data-color-index":"2"}):$jsx("span",{class:"color-picker-value-bar-blue"}))))},init(et){et.redBar=et.app.range.create({el:et.$el.find(".color-picker-bar-red"),min:0,max:255,step:1,value:0,vertical:!0,on:{change(tt,nt){et.setValue({rgb:[nt,et.value.rgb[1],et.value.rgb[2]]})}}}),et.greenBar=et.app.range.create({el:et.$el.find(".color-picker-bar-green"),min:0,max:255,step:1,value:0,vertical:!0,on:{change(tt,nt){et.setValue({rgb:[et.value.rgb[0],nt,et.value.rgb[2]]})}}}),et.blueBar=et.app.range.create({el:et.$el.find(".color-picker-bar-blue"),min:0,max:255,step:1,value:0,vertical:!0,on:{change(tt,nt){et.setValue({rgb:[et.value.rgb[0],et.value.rgb[1],nt]})}}});function _e(tt){const nt=[...et.value.rgb],rt=parseInt($$1(tt.target).attr("data-color-index"),10);let st=parseInt(tt.target.value,10);if(Number.isNaN(st)){tt.target.value=nt[rt];return}st=Math.max(0,Math.min(255,st)),nt[rt]=st,et.setValue({rgb:nt})}et.$el.on("change",".color-picker-module-rgb-bars input",_e),et.destroyRgbBarsEvents=function(){et.$el.off("change",".color-picker-module-rgb-bars input",_e)}},update(et){const{value:_e,redBar:tt,greenBar:nt,blueBar:rt}=et,{barValue:st,barValueEditable:it}=et.params,{rgb:at}=_e;tt.value=at[0],nt.value=at[1],rt.value=at[2],tt.layout(),nt.layout(),rt.layout(),tt.$el.find(".range-bar").css("background-image",`linear-gradient(to top, rgb(0, ${at[1]}, ${at[2]}), rgb(255, ${at[1]}, ${at[2]}))`),nt.$el.find(".range-bar").css("background-image",`linear-gradient(to top, rgb(${at[0]}, 0, ${at[2]}), rgb(${at[0]}, 255, ${at[2]}))`),rt.$el.find(".range-bar").css("background-image",`linear-gradient(to top, rgb(${at[0]}, ${at[1]}, 0), rgb(${at[0]}, ${at[1]}, 255))`),st&&it?(et.$el.find("input.color-picker-value-bar-red").val(at[0]),et.$el.find("input.color-picker-value-bar-green").val(at[1]),et.$el.find("input.color-picker-value-bar-blue").val(at[2])):st&&(et.$el.find("span.color-picker-value-bar-red").text(at[0]),et.$el.find("span.color-picker-value-bar-green").text(at[1]),et.$el.find("span.color-picker-value-bar-blue").text(at[2]))},destroy(et){et.redBar&&et.redBar.destroy&&et.redBar.destroy(),et.greenBar&&et.greenBar.destroy&&et.greenBar.destroy(),et.blueBar&&et.blueBar.destroy&&et.blueBar.destroy(),delete et.redBar,delete et.greenBar,delete et.blueBar,et.destroyRgbBarsEvents&&et.destroyRgbBarsEvents(),delete et.destroyRgbBarsEvents}},moduleRgbSliders={render(et){const{sliderLabel:_e,sliderValue:tt,sliderValueEditable:nt,redLabelText:rt,greenLabelText:st,blueLabelText:it}=et.params;return $jsx("div",{class:"color-picker-module color-picker-module-rgb-sliders"},$jsx("div",{class:"color-picker-slider-wrap"},_e&&$jsx("div",{class:"color-picker-slider-label"},rt),$jsx("div",{class:"range-slider color-picker-slider color-picker-slider-red"}),tt&&$jsx("div",{class:"color-picker-slider-value"},nt?$jsx("input",{type:"number",step:"1",min:"0",max:"255",class:"color-picker-value-red","data-color-index":"0"}):$jsx("span",{class:"color-picker-value-red"}))),$jsx("div",{class:"color-picker-slider-wrap"},_e&&$jsx("div",{class:"color-picker-slider-label"},st),$jsx("div",{class:"range-slider color-picker-slider color-picker-slider-green"}),tt&&$jsx("div",{class:"color-picker-slider-value"},nt?$jsx("input",{type:"number",step:"1",min:"0",max:"255",class:"color-picker-value-green","data-color-index":"1"}):$jsx("span",{class:"color-picker-value-green"}))),$jsx("div",{class:"color-picker-slider-wrap"},_e&&$jsx("div",{class:"color-picker-slider-label"},it),$jsx("div",{class:"range-slider color-picker-slider color-picker-slider-blue"}),tt&&$jsx("div",{class:"color-picker-slider-value"},nt?$jsx("input",{type:"number",step:"1",min:"0",max:"255",class:"color-picker-value-blue","data-color-index":"2"}):$jsx("span",{class:"color-picker-value-blue"}))))},init(et){et.redRangeSlider=et.app.range.create({el:et.$el.find(".color-picker-slider-red"),min:0,max:255,step:1,value:0,on:{change(tt,nt){et.setValue({rgb:[nt,et.value.rgb[1],et.value.rgb[2]]})}}}),et.greenRangeSlider=et.app.range.create({el:et.$el.find(".color-picker-slider-green"),min:0,max:255,step:1,value:0,on:{change(tt,nt){et.setValue({rgb:[et.value.rgb[0],nt,et.value.rgb[2]]})}}}),et.blueRangeSlider=et.app.range.create({el:et.$el.find(".color-picker-slider-blue"),min:0,max:255,step:1,value:0,on:{change(tt,nt){et.setValue({rgb:[et.value.rgb[0],et.value.rgb[1],nt]})}}});function _e(tt){const nt=[...et.value.rgb],rt=parseInt($$1(tt.target).attr("data-color-index"),10);let st=parseInt(tt.target.value,10);if(Number.isNaN(st)){tt.target.value=nt[rt];return}st=Math.max(0,Math.min(255,st)),nt[rt]=st,et.setValue({rgb:nt})}et.$el.on("change",".color-picker-module-rgb-sliders input",_e),et.destroyRgbSlidersEvents=function(){et.$el.off("change",".color-picker-module-rgb-sliders input",_e)}},update(et){const{app:_e,value:tt,redRangeSlider:nt,greenRangeSlider:rt,blueRangeSlider:st}=et,{sliderValue:it,sliderValueEditable:at}=et.params,{rgb:ot}=tt;nt.value=ot[0],rt.value=ot[1],st.value=ot[2],nt.layout(),rt.layout(),st.layout(),nt.$el[0].style.setProperty("--f7-range-knob-color",`rgb(${ot[0]}, ${ot[1]}, ${ot[2]})`),rt.$el[0].style.setProperty("--f7-range-knob-color",`rgb(${ot[0]}, ${ot[1]}, ${ot[2]})`),st.$el[0].style.setProperty("--f7-range-knob-color",`rgb(${ot[0]}, ${ot[1]}, ${ot[2]})`);const lt=_e.rtl?"to left":"to right";nt.$el.find(".range-bar").css("background-image",`linear-gradient(${lt}, rgb(0, ${ot[1]}, ${ot[2]}), rgb(255, ${ot[1]}, ${ot[2]}))`),rt.$el.find(".range-bar").css("background-image",`linear-gradient(${lt}, rgb(${ot[0]}, 0, ${ot[2]}), rgb(${ot[0]}, 255, ${ot[2]}))`),st.$el.find(".range-bar").css("background-image",`linear-gradient(${lt}, rgb(${ot[0]}, ${ot[1]}, 0), rgb(${ot[0]}, ${ot[1]}, 255))`),it&&at?(et.$el.find("input.color-picker-value-red").val(ot[0]),et.$el.find("input.color-picker-value-green").val(ot[1]),et.$el.find("input.color-picker-value-blue").val(ot[2])):it&&(et.$el.find("span.color-picker-value-red").text(ot[0]),et.$el.find("span.color-picker-value-green").text(ot[1]),et.$el.find("span.color-picker-value-blue").text(ot[2]))},destroy(et){et.redRangeSlider&&et.redRangeSlider.destroy&&et.redRangeSlider.destroy(),et.greenRangeSlider&&et.greenRangeSlider.destroy&&et.greenRangeSlider.destroy(),et.blueRangeSlider&&et.blueRangeSlider.destroy&&et.blueRangeSlider.destroy(),delete et.redRangeSlider,delete et.greenRangeSlider,delete et.blueRangeSlider,et.destroyRgbSlidersEvents&&et.destroyRgbSlidersEvents(),delete et.destroyRgbSlidersEvents}},moduleSbSpectrum={render(){return $jsx("div",{class:"color-picker-module color-picker-module-sb-spectrum"},$jsx("div",{class:"color-picker-sb-spectrum",style:"background-color: hsl(0, 100%, 50%)"},$jsx("div",{class:"color-picker-sb-spectrum-handle"})))},init(et){const{app:_e}=et;let tt,nt,rt,st,it,at,ot,lt,ct;const{$el:ut}=et;function dt(mt,bt){let xt=(mt-ot.left)/ot.width,yt=(bt-ot.top)/ot.height;xt=Math.max(0,Math.min(1,xt)),yt=1-Math.max(0,Math.min(1,yt)),et.setValue({hsb:[et.value.hue,xt,yt]})}function ft(mt){if(nt||tt)return;rt=mt.type==="touchstart"?mt.targetTouches[0].pageX:mt.pageX,it=rt,st=mt.type==="touchstart"?mt.targetTouches[0].pageY:mt.pageY,at=st;const bt=$$1(mt.target);ct=bt.closest(".color-picker-sb-spectrum-handle").length>0,ct||(lt=bt.closest(".color-picker-sb-spectrum").length>0),lt&&(ot=ut.find(".color-picker-sb-spectrum")[0].getBoundingClientRect(),dt(rt,st)),(ct||lt)&&ut.find(".color-picker-sb-spectrum-handle").addClass("color-picker-sb-spectrum-handle-pressed")}function pt(mt){(lt||ct)&&(it=mt.type==="touchmove"?mt.targetTouches[0].pageX:mt.pageX,at=mt.type==="touchmove"?mt.targetTouches[0].pageY:mt.pageY,mt.preventDefault(),nt||(nt=!0,ct&&(ot=ut.find(".color-picker-sb-spectrum")[0].getBoundingClientRect())),(lt||ct)&&dt(it,at))}function ht(){nt=!1,(lt||ct)&&ut.find(".color-picker-sb-spectrum-handle").removeClass("color-picker-sb-spectrum-handle-pressed"),lt=!1,ct=!1}function vt(){et.modules["sb-spectrum"].update(et)}const gt=_e.touchEvents.start==="touchstart"&&getSupport$1().passiveListener?{passive:!0,capture:!1}:!1;et.$el.on(_e.touchEvents.start,ft,gt),_e.on("touchmove:active",pt),_e.on("touchend:passive",ht),_e.on("resize",vt),et.destroySpectrumEvents=function(){et.$el.off(_e.touchEvents.start,ft,gt),_e.off("touchmove:active",pt),_e.off("touchend:passive",ht),_e.off("resize",vt)}},update(et){const{value:_e}=et,{hsl:tt,hsb:nt}=_e,rt=et.$el.find(".color-picker-sb-spectrum")[0].offsetWidth,st=et.$el.find(".color-picker-sb-spectrum")[0].offsetHeight;et.$el.find(".color-picker-sb-spectrum").css("background-color",`hsl(${tt[0]}, 100%, 50%)`),et.$el.find(".color-picker-sb-spectrum-handle").css("background-color",`hsl(${tt[0]}, ${tt[1]*100}%, ${tt[2]*100}%)`).transform(`translate(${rt*nt[1]}px, ${st*(1-nt[2])}px)`)},destroy(et){et.destroySpectrumEvents&&et.destroySpectrumEvents(),delete et.destroySpectrumEvents}},moduleHsSpectrum={render(){return $jsx("div",{class:"color-picker-module color-picker-module-hs-spectrum"},$jsx("div",{class:"color-picker-hs-spectrum"},$jsx("div",{class:"color-picker-hs-spectrum-handle"})))},init(et){const{app:_e}=et;let tt,nt,rt,st,it,at,ot,lt,ct;const{$el:ut}=et;function dt(mt,bt){let xt=(mt-ot.left)/ot.width*360,yt=(bt-ot.top)/ot.height;xt=Math.max(0,Math.min(360,xt)),yt=1-Math.max(0,Math.min(1,yt)),et.setValue({hsb:[xt,yt,et.value.hsb[2]]})}function ft(mt){if(nt||tt)return;rt=mt.type==="touchstart"?mt.targetTouches[0].pageX:mt.pageX,it=rt,st=mt.type==="touchstart"?mt.targetTouches[0].pageY:mt.pageY,at=st;const bt=$$1(mt.target);ct=bt.closest(".color-picker-hs-spectrum-handle").length>0,ct||(lt=bt.closest(".color-picker-hs-spectrum").length>0),lt&&(ot=ut.find(".color-picker-hs-spectrum")[0].getBoundingClientRect(),dt(rt,st)),(ct||lt)&&ut.find(".color-picker-hs-spectrum-handle").addClass("color-picker-hs-spectrum-handle-pressed")}function pt(mt){(lt||ct)&&(it=mt.type==="touchmove"?mt.targetTouches[0].pageX:mt.pageX,at=mt.type==="touchmove"?mt.targetTouches[0].pageY:mt.pageY,mt.preventDefault(),nt||(nt=!0,ct&&(ot=ut.find(".color-picker-hs-spectrum")[0].getBoundingClientRect())),(lt||ct)&&dt(it,at))}function ht(){nt=!1,(lt||ct)&&ut.find(".color-picker-hs-spectrum-handle").removeClass("color-picker-hs-spectrum-handle-pressed"),lt=!1,ct=!1}function vt(){et.modules["hs-spectrum"].update(et)}const gt=_e.touchEvents.start==="touchstart"&&getSupport$1().passiveListener?{passive:!0,capture:!1}:!1;et.$el.on(_e.touchEvents.start,ft,gt),_e.on("touchmove:active",pt),_e.on("touchend:passive",ht),_e.on("resize",vt),et.destroySpectrumEvents=function(){et.$el.off(_e.touchEvents.start,ft,gt),_e.off("touchmove:active",pt),_e.off("touchend:passive",ht),_e.off("resize",vt)}},update(et){const{value:_e}=et,{hsb:tt}=_e,nt=et.$el.find(".color-picker-hs-spectrum")[0].offsetWidth,rt=et.$el.find(".color-picker-hs-spectrum")[0].offsetHeight,st=colorHsbToHsl(tt[0],tt[1],1);et.$el.find(".color-picker-hs-spectrum-handle").css("background-color",`hsl(${st[0]}, ${st[1]*100}%, ${st[2]*100}%)`).transform(`translate(${nt*(tt[0]/360)}px, ${rt*(1-tt[1])}px)`)},destroy(et){et.destroySpectrumEvents&&et.destroySpectrumEvents(),delete et.destroySpectrumEvents}};function svgWheelCircles(){let _e="";for(let tt=256;tt>0;tt-=1){const nt=tt*Math.PI/128,rt=360/256*tt;_e+=``}return _e}const moduleWheel={render(){return $jsx("div",{class:"color-picker-module color-picker-module-wheel"},$jsx("div",{class:"color-picker-wheel"},$jsx("svg",{viewBox:"0 0 300 300",width:"300",height:"300"},svgWheelCircles()),$jsx("div",{class:"color-picker-wheel-handle"}),$jsx("div",{class:"color-picker-sb-spectrum",style:"background-color: hsl(0, 100%, 50%)"},$jsx("div",{class:"color-picker-sb-spectrum-handle"}))))},init(et){const{app:_e}=et;let tt,nt,rt,st,it,at,ot,lt,ct,ut,dt,ft;const{$el:pt}=et;function ht($t,wt){const Ct=ot.left+ot.width/2,Et=ot.top+ot.height/2;let St=Math.atan2(wt-Et,$t-Ct)*180/Math.PI+90;St<0&&(St+=360),St=360-St,et.setValue({hue:St})}function vt($t,wt){let Ct=($t-ut.left)/ut.width,Et=(wt-ut.top)/ut.height;Ct=Math.max(0,Math.min(1,Ct)),Et=1-Math.max(0,Math.min(1,Et)),et.setValue({hsb:[et.value.hue,Ct,Et]})}function gt($t){if(nt||tt)return;rt=$t.type==="touchstart"?$t.targetTouches[0].pageX:$t.pageX,it=rt,st=$t.type==="touchstart"?$t.targetTouches[0].pageY:$t.pageY,at=st;const wt=$$1($t.target);ct=wt.closest(".color-picker-wheel-handle").length>0,lt=wt.closest("circle").length>0,ft=wt.closest(".color-picker-sb-spectrum-handle").length>0,ft||(dt=wt.closest(".color-picker-sb-spectrum").length>0),lt&&(ot=pt.find(".color-picker-wheel")[0].getBoundingClientRect(),ht(rt,st)),dt&&(ut=pt.find(".color-picker-sb-spectrum")[0].getBoundingClientRect(),vt(rt,st)),(ft||dt)&&pt.find(".color-picker-sb-spectrum-handle").addClass("color-picker-sb-spectrum-handle-pressed")}function mt($t){!(lt||ct)&&!(dt||ft)||(it=$t.type==="touchmove"?$t.targetTouches[0].pageX:$t.pageX,at=$t.type==="touchmove"?$t.targetTouches[0].pageY:$t.pageY,$t.preventDefault(),nt||(nt=!0,ct&&(ot=pt.find(".color-picker-wheel")[0].getBoundingClientRect()),ft&&(ut=pt.find(".color-picker-sb-spectrum")[0].getBoundingClientRect())),(lt||ct)&&ht(it,at),(dt||ft)&&vt(it,at))}function bt(){nt=!1,(dt||ft)&&pt.find(".color-picker-sb-spectrum-handle").removeClass("color-picker-sb-spectrum-handle-pressed"),lt=!1,ct=!1,dt=!1,ft=!1}function xt(){et.modules.wheel.update(et)}const yt=_e.touchEvents.start==="touchstart"&&getSupport$1().passiveListener?{passive:!0,capture:!1}:!1;et.$el.on(_e.touchEvents.start,gt,yt),_e.on("touchmove:active",mt),_e.on("touchend:passive",bt),_e.on("resize",xt),et.destroyWheelEvents=function(){et.$el.off(_e.touchEvents.start,gt,yt),_e.off("touchmove:active",mt),_e.off("touchend:passive",bt),_e.off("resize",xt)}},update(et){const{value:_e}=et,{hsl:tt,hsb:nt}=_e,rt=et.$el.find(".color-picker-sb-spectrum")[0].offsetWidth,st=et.$el.find(".color-picker-sb-spectrum")[0].offsetHeight,it=et.$el.find(".color-picker-wheel")[0].offsetWidth,at=it/2,ot=_e.hue*Math.PI/180,ct=it/6/2,ut=at-Math.sin(ot)*(at-ct)-ct,dt=at-Math.cos(ot)*(at-ct)-ct;et.$el.find(".color-picker-wheel-handle").css("background-color",`hsl(${tt[0]}, 100%, 50%)`).transform(`translate(${ut}px, ${dt}px)`),et.$el.find(".color-picker-sb-spectrum").css("background-color",`hsl(${tt[0]}, 100%, 50%)`),et.$el.find(".color-picker-sb-spectrum-handle").css("background-color",`hsl(${tt[0]}, ${tt[1]*100}%, ${tt[2]*100}%)`).transform(`translate(${rt*nt[1]}px, ${st*(1-nt[2])}px)`)},destroy(et){et.destroyWheelEvents&&et.destroyWheelEvents(),delete et.destroyWheelEvents}};let ColorPicker$1=class extends Framework7Class{constructor(_e,tt){tt===void 0&&(tt={}),super(tt,[_e]);const nt=this;nt.params=extend$5({},_e.params.colorPicker,tt);let rt;if(nt.params.containerEl&&(rt=$$1(nt.params.containerEl),rt.length===0))return nt;let st;nt.params.inputEl&&(st=$$1(nt.params.inputEl));let it;nt.params.targetEl&&(it=$$1(nt.params.targetEl)),extend$5(nt,{app:_e,$containerEl:rt,containerEl:rt&&rt[0],inline:rt&&rt.length>0,$inputEl:st,inputEl:st&&st[0],$targetEl:it,targetEl:it&&it[0],initialized:!1,opened:!1,url:nt.params.url,modules:{"alpha-slider":moduleAlphaSlider,"current-color":moduleCurrentColor,hex:moduleHex,"hsb-sliders":moduleHsbSliders,"hue-slider":moduleHueSlider,"brightness-slider":moduleBrightnessSlider,palette:modulePalette,"initial-current-colors":moduleInitialCurrentColors,"rgb-bars":moduleRgbBars,"rgb-sliders":moduleRgbSliders,"sb-spectrum":moduleSbSpectrum,"hs-spectrum":moduleHsSpectrum,wheel:moduleWheel}});function at(){nt.open()}function ot(ut){ut.preventDefault()}function lt(){nt.open()}function ct(ut){if(nt.destroyed||!nt.params||nt.params.openIn==="page")return;const dt=$$1(ut.target);!nt.opened||nt.closing||dt.closest('[class*="backdrop"]').length||dt.closest(".color-picker-popup, .color-picker-popover").length||(st&&st.length>0?dt[0]!==st[0]&&dt.closest(".sheet-modal").length===0&&nt.close():$$1(ut.target).closest(".sheet-modal").length===0&&nt.close())}return extend$5(nt,{attachInputEvents(){nt.$inputEl.on("click",at),nt.params.inputReadOnly&&(nt.$inputEl.on("focus mousedown",ot),nt.$inputEl[0]&&(nt.$inputEl[0].f7ValidateReadonly=!0))},detachInputEvents(){nt.$inputEl.off("click",at),nt.params.inputReadOnly&&(nt.$inputEl.off("focus mousedown",ot),nt.$inputEl[0]&&delete nt.$inputEl[0].f7ValidateReadonly)},attachTargetEvents(){nt.$targetEl.on("click",lt)},detachTargetEvents(){nt.$targetEl.off("click",lt)},attachHtmlEvents(){_e.on("click",ct)},detachHtmlEvents(){_e.off("click",ct)}}),nt.init(),nt}get view(){const{$inputEl:_e,$targetEl:tt,app:nt,params:rt}=this;let st;return rt.view?st=rt.view:(_e&&(st=_e.parents(".view").length&&_e.parents(".view")[0].f7View),!st&&tt&&(st=tt.parents(".view").length&&tt.parents(".view")[0].f7View)),st||(st=nt.views.main),st}attachEvents(){const _e=this;_e.centerModules=_e.centerModules.bind(_e),_e.params.centerModules&&_e.app.on("resize",_e.centerModules)}detachEvents(){const _e=this;_e.params.centerModules&&_e.app.off("resize",_e.centerModules)}centerModules(){const _e=this;if(!_e.opened||!_e.$el||_e.inline)return;const tt=_e.$el.find(".page-content");if(!tt.length)return;const{scrollHeight:nt,offsetHeight:rt}=tt[0];nt<=rt?tt.addClass("justify-content-center"):tt.removeClass("justify-content-center")}initInput(){const _e=this;_e.$inputEl&&_e.params.inputReadOnly&&_e.$inputEl.prop("readOnly",!0)}getModalType(){const _e=this,{app:tt,modal:nt,params:rt}=_e,{openIn:st,openInPhone:it}=rt,at=getDevice$1();return nt&&nt.type?nt.type:st!=="auto"?st:_e.inline?null:at.ios?at.ipad?"popover":it:tt.width>=768?"popover":it}formatValue(){const _e=this,{value:tt}=_e;return _e.params.formatValue?_e.params.formatValue.call(_e,tt):tt.hex}normalizeHsValues(_e){return[Math.floor(_e[0]*10)/10,Math.floor(_e[1]*1e3)/1e3,Math.floor(_e[2]*1e3)/1e3]}setValue(_e,tt){_e===void 0&&(_e={}),tt===void 0&&(tt=!0);const nt=this;if(typeof _e>"u")return;let{hex:rt,rgb:st,hsl:it,hsb:at,alpha:ot=1,hue:lt,rgba:ct,hsla:ut}=nt.value||{};const dt=nt.value||!nt.value&&!nt.params.value;let ft;if(Object.keys(_e).forEach(pt=>{if(!nt.value||typeof nt.value[pt]>"u"){ft=!0;return}const ht=_e[pt];Array.isArray(ht)?ht.forEach((vt,gt)=>{vt!==nt.value[pt][gt]&&(ft=!0)}):ht!==nt.value[pt]&&(ft=!0)}),!!ft){if(_e.rgb||_e.rgba){const[pt,ht,vt,gt=ot]=_e.rgb||_e.rgba;st=[pt,ht,vt],rt=colorRgbToHex(...st),it=colorRgbToHsl(...st),at=colorHslToHsb(...it),it=nt.normalizeHsValues(it),at=nt.normalizeHsValues(at),lt=at[0],ot=gt,ct=[st[0],st[1],st[2],gt],ut=[it[0],it[1],it[2],gt]}if(_e.hsl||_e.hsla){const[pt,ht,vt,gt=ot]=_e.hsl||_e.hsla;it=[pt,ht,vt],st=colorHslToRgb(...it),rt=colorRgbToHex(...st),at=colorHslToHsb(...it),it=nt.normalizeHsValues(it),at=nt.normalizeHsValues(at),lt=at[0],ot=gt,ct=[st[0],st[1],st[2],gt],ut=[it[0],it[1],it[2],gt]}if(_e.hsb){const[pt,ht,vt,gt=ot]=_e.hsb;at=[pt,ht,vt],it=colorHsbToHsl(...at),st=colorHslToRgb(...it),rt=colorRgbToHex(...st),it=nt.normalizeHsValues(it),at=nt.normalizeHsValues(at),lt=at[0],ot=gt,ct=[st[0],st[1],st[2],gt],ut=[it[0],it[1],it[2],gt]}if(_e.hex&&(st=colorHexToRgb(_e.hex),rt=colorRgbToHex(...st),it=colorRgbToHsl(...st),at=colorHslToHsb(...it),it=nt.normalizeHsValues(it),at=nt.normalizeHsValues(at),lt=at[0],ct=[st[0],st[1],st[2],ot],ut=[it[0],it[1],it[2],ot]),typeof _e.alpha<"u"&&(ot=_e.alpha,typeof st<"u"&&(ct=[st[0],st[1],st[2],ot]),typeof it<"u"&&(ut=[it[0],it[1],it[2],ot])),typeof _e.hue<"u"){const[pt,ht,vt]=it;it=[_e.hue,ht,vt],at=colorHslToHsb(...it),st=colorHslToRgb(...it),rt=colorRgbToHex(...st),it=nt.normalizeHsValues(it),at=nt.normalizeHsValues(at),lt=at[0],ct=[st[0],st[1],st[2],ot],ut=[it[0],it[1],it[2],ot]}nt.value={hex:rt,alpha:ot,hue:lt,rgb:st,hsl:it,hsb:at,rgba:ct,hsla:ut},nt.initialValue||(nt.initialValue=extend$5({},nt.value)),nt.updateValue(dt),nt.opened&&tt&&nt.updateModules()}}getValue(){return this.value}updateValue(_e){_e===void 0&&(_e=!0);const tt=this,{$inputEl:nt,value:rt,$targetEl:st}=tt;if(st&&tt.params.targetElSetBackgroundColor){const{rgba:it}=rt;st.css("background-color",`rgba(${it.join(", ")})`)}if(_e&&tt.emit("local::change colorPickerChange",tt,rt),nt&&nt.length){const it=tt.formatValue(rt);nt&&nt.length&&(nt.val(it),_e&&nt.trigger("change"))}}updateModules(){const _e=this,{modules:tt}=_e;_e.params.modules.forEach(nt=>{typeof nt=="string"&&tt[nt]&&tt[nt].update?tt[nt].update(_e):nt&&nt.update&&nt.update(_e)})}update(){this.updateModules()}renderPicker(){const _e=this,{params:tt,modules:nt}=_e;let rt="";return tt.modules.forEach(st=>{typeof st=="string"&&nt[st]&&nt[st].render?rt+=nt[st].render(_e):st&&st.render&&(rt+=st.render(_e))}),rt}renderNavbar(){const _e=this;if(_e.params.renderNavbar)return _e.params.renderNavbar.call(_e,_e);const{openIn:tt,navbarTitleText:nt,navbarBackLinkText:rt,navbarCloseText:st}=_e.params;return $jsx("div",{class:"navbar"},$jsx("div",{class:"navbar-bg"}),$jsx("div",{class:"navbar-inner sliding"},tt==="page"&&$jsx("div",{class:"left"},$jsx("a",{class:"link back"},$jsx("i",{class:"icon icon-back"}),$jsx("span",{class:"if-not-md"},rt))),$jsx("div",{class:"title"},nt),tt!=="page"&&$jsx("div",{class:"right"},$jsx("a",{class:"link popup-close","data-popup":".color-picker-popup"},st))))}renderToolbar(){const _e=this;return _e.params.renderToolbar?_e.params.renderToolbar.call(_e,_e):$jsx("div",{class:"toolbar toolbar-top"},$jsx("div",{class:"toolbar-inner"},$jsx("div",{class:"left"}),$jsx("div",{class:"right"},$jsx("a",{class:"link sheet-close popover-close","data-sheet":".color-picker-sheet-modal","data-popover":".color-picker-popover"},_e.params.toolbarCloseText))))}renderInline(){const _e=this,{cssClass:tt,groupedModules:nt}=_e.params;return $jsx("div",{class:`color-picker color-picker-inline ${nt?"color-picker-grouped-modules":""} ${tt||""}`},_e.renderPicker())}renderSheet(){const _e=this,{cssClass:tt,toolbarSheet:nt,groupedModules:rt}=_e.params;return $jsx("div",{class:`sheet-modal color-picker color-picker-sheet-modal ${rt?"color-picker-grouped-modules":""} ${tt||""}`},nt&&_e.renderToolbar(),$jsx("div",{class:"sheet-modal-inner"},$jsx("div",{class:"page-content"},_e.renderPicker())))}renderPopover(){const _e=this,{cssClass:tt,toolbarPopover:nt,groupedModules:rt}=_e.params;return $jsx("div",{class:`popover color-picker-popover ${tt||""}`},$jsx("div",{class:"popover-inner"},$jsx("div",{class:`color-picker ${rt?"color-picker-grouped-modules":""}`},nt&&_e.renderToolbar(),$jsx("div",{class:"page-content"},_e.renderPicker()))))}renderPopup(){const _e=this,{cssClass:tt,navbarPopup:nt,groupedModules:rt}=_e.params;return $jsx("div",{class:`popup color-picker-popup ${tt||""}`},$jsx("div",{class:"page"},nt&&_e.renderNavbar(),$jsx("div",{class:`color-picker ${rt?"color-picker-grouped-modules":""}`},$jsx("div",{class:"page-content"},_e.renderPicker()))))}renderPage(){const _e=this,{cssClass:tt,groupedModules:nt}=_e.params;return $jsx("div",{class:`page color-picker-page ${tt||""}`,"data-name":"color-picker-page"},_e.renderNavbar(),$jsx("div",{class:`color-picker ${nt?"color-picker-grouped-modules":""}`},$jsx("div",{class:"page-content"},_e.renderPicker())))}render(){const _e=this,{params:tt}=_e;if(tt.render)return tt.render.call(_e);if(_e.inline)return _e.renderInline();if(tt.openIn==="page")return _e.renderPage();const nt=_e.getModalType();if(nt==="popover")return _e.renderPopover();if(nt==="sheet")return _e.renderSheet();if(nt==="popup")return _e.renderPopup()}onOpen(){const _e=this,{initialized:tt,$el:nt,app:rt,$inputEl:st,inline:it,value:at,params:ot,modules:lt}=_e;_e.closing=!1,_e.opened=!0,_e.opening=!0,_e.attachEvents(),ot.modules.forEach(ut=>{typeof ut=="string"&<[ut]&<[ut].init?lt[ut].init(_e):ut&&ut.init&&ut.init(_e)});const ct=!at&&ot.value;tt?at&&(_e.initialValue=extend$5({},at),_e.setValue(at,!1)):at?_e.setValue(at):ot.value?_e.setValue(ot.value,!1):ot.value||_e.setValue({hex:"#ff0000"},!1),ct&&_e.updateValue(),_e.updateModules(),ot.centerModules&&_e.centerModules(),!it&&st&&st.length&&rt.theme==="md"&&st.trigger("focus"),_e.initialized=!0,nt&&nt.trigger("colorpicker:open"),st&&st.trigger("colorpicker:open"),_e.emit("local::open colorPickerOpen",_e)}onOpened(){const _e=this;_e.opening=!1,_e.$el&&_e.$el.trigger("colorpicker:opened"),_e.$inputEl&&_e.$inputEl.trigger("colorpicker:opened"),_e.emit("local::opened colorPickerOpened",_e)}onClose(){const _e=this,{app:tt,params:nt,modules:rt}=_e;if(_e.opening=!1,_e.closing=!0,_e.detachEvents(),_e.$inputEl)if(tt.theme==="md")_e.$inputEl.trigger("blur");else{const st=_e.$inputEl.attr("validate"),it=_e.$inputEl.attr("required");st&&it&&tt.input.validate(_e.$inputEl)}nt.modules.forEach(st=>{typeof st=="string"&&rt[st]&&rt[st].destroy?rt[st].destroy(_e):st&&st.destroy&&st.destroy(_e)}),_e.$el&&_e.$el.trigger("colorpicker:close"),_e.$inputEl&&_e.$inputEl.trigger("colorpicker:close"),_e.emit("local::close colorPickerClose",_e)}onClosed(){const _e=this;_e.opened=!1,_e.closing=!1,_e.inline||nextTick$2(()=>{_e.modal&&_e.modal.el&&_e.modal.destroy&&(_e.params.routableModals||_e.modal.destroy()),delete _e.modal}),_e.$el&&_e.$el.trigger("colorpicker:closed"),_e.$inputEl&&_e.$inputEl.trigger("colorpicker:closed"),_e.emit("local::closed colorPickerClosed",_e)}open(){const _e=this,{app:tt,opened:nt,inline:rt,$inputEl:st,$targetEl:it,params:at}=_e;if(nt)return;if(rt){_e.$el=$$1(_e.render()),_e.$el[0].f7ColorPicker=_e,_e.$containerEl.append(_e.$el),_e.onOpen(),_e.onOpened();return}const ot=_e.render();if(at.openIn==="page")_e.view.router.navigate({url:_e.url,route:{content:ot,path:_e.url,on:{pageBeforeIn(lt,ct){_e.$el=ct.$el.find(".color-picker"),_e.$el[0].f7ColorPicker=_e,_e.onOpen()},pageAfterIn(){_e.onOpened()},pageBeforeOut(){_e.onClose()},pageAfterOut(){_e.onClosed(),_e.$el&&_e.$el[0]&&(_e.$el[0].f7ColorPicker=null,delete _e.$el[0].f7ColorPicker)}}}});else{const lt=_e.getModalType();let ct=at.backdrop;(ct===null||typeof ct>"u")&&(lt==="popover"&&tt.params.popover.backdrop!==!1&&(ct=!0),lt==="popup"&&(ct=!0));const ut={targetEl:it||st,scrollToEl:at.scrollToInput?it||st:void 0,content:ot,backdrop:ct,closeByBackdropClick:at.closeByBackdropClick,on:{open(){const dt=this;_e.modal=dt,_e.$el=lt==="popover"||lt==="popup"?dt.$el.find(".color-picker"):dt.$el,_e.$el[0].f7ColorPicker=_e,_e.onOpen()},opened(){_e.onOpened()},close(){_e.onClose()},closed(){_e.onClosed(),_e.$el&&_e.$el[0]&&(_e.$el[0].f7ColorPicker=null,delete _e.$el[0].f7ColorPicker)}}};lt==="popup"&&(ut.push=at.popupPush,ut.swipeToClose=at.popupSwipeToClose),lt==="sheet"&&(ut.push=at.sheetPush,ut.swipeToClose=at.sheetSwipeToClose),at.routableModals&&_e.view?_e.view.router.navigate({url:_e.url,route:{path:_e.url,[lt]:ut}}):(_e.modal=tt[lt].create(ut),_e.modal.open())}}close(){const _e=this,{opened:tt,inline:nt}=_e;if(tt){if(nt){_e.onClose(),_e.onClosed();return}_e.params.routableModals&&_e.view||_e.params.openIn==="page"?_e.view.router.back():_e.modal.close()}}init(){const _e=this;if(_e.initInput(),_e.inline){_e.open(),_e.emit("local::init colorPickerInit",_e);return}!_e.initialized&&_e.params.value&&_e.setValue(_e.params.value),_e.$inputEl&&_e.attachInputEvents(),_e.$targetEl&&_e.attachTargetEvents(),_e.params.closeByOutsideClick&&_e.attachHtmlEvents(),_e.emit("local::init colorPickerInit",_e)}destroy(){const _e=this;if(_e.destroyed)return;const{$el:tt}=_e;_e.emit("local::beforeDestroy colorPickerBeforeDestroy",_e),tt&&tt.trigger("colorpicker:beforedestroy"),_e.close(),_e.detachEvents(),_e.$inputEl&&_e.detachInputEvents(),_e.$targetEl&&_e.detachTargetEvents(),_e.params.closeByOutsideClick&&_e.detachHtmlEvents(),tt&&tt.length&&delete _e.$el[0].f7ColorPicker,deleteProps$1(_e),_e.destroyed=!0}};const ColorPicker={name:"colorPicker",static:{ColorPicker:ColorPicker$1},create(){const et=this;et.colorPicker=ConstructorMethods({defaultSelector:".color-picker",constructor:ColorPicker$1,app:et,domProp:"f7ColorPicker"}),et.colorPicker.close=function(tt){tt===void 0&&(tt=".color-picker");const nt=$$1(tt);if(nt.length===0)return;const rt=nt[0].f7ColorPicker;!rt||rt&&!rt.opened||rt.close()}},params:{colorPicker:{value:null,modules:["wheel"],palette:[["#FFEBEE","#FFCDD2","#EF9A9A","#E57373","#EF5350","#F44336","#E53935","#D32F2F","#C62828","#B71C1C"],["#F3E5F5","#E1BEE7","#CE93D8","#BA68C8","#AB47BC","#9C27B0","#8E24AA","#7B1FA2","#6A1B9A","#4A148C"],["#E8EAF6","#C5CAE9","#9FA8DA","#7986CB","#5C6BC0","#3F51B5","#3949AB","#303F9F","#283593","#1A237E"],["#E1F5FE","#B3E5FC","#81D4FA","#4FC3F7","#29B6F6","#03A9F4","#039BE5","#0288D1","#0277BD","#01579B"],["#E0F2F1","#B2DFDB","#80CBC4","#4DB6AC","#26A69A","#009688","#00897B","#00796B","#00695C","#004D40"],["#F1F8E9","#DCEDC8","#C5E1A5","#AED581","#9CCC65","#8BC34A","#7CB342","#689F38","#558B2F","#33691E"],["#FFFDE7","#FFF9C4","#FFF59D","#FFF176","#FFEE58","#FFEB3B","#FDD835","#FBC02D","#F9A825","#F57F17"],["#FFF3E0","#FFE0B2","#FFCC80","#FFB74D","#FFA726","#FF9800","#FB8C00","#F57C00","#EF6C00","#E65100"]],groupedModules:!1,centerModules:!0,sliderLabel:!1,sliderValue:!1,sliderValueEdiable:!1,barLabel:!1,barValue:!1,barValueEdiable:!1,hexLabel:!1,hexValueEditable:!1,redLabelText:"R",greenLabelText:"G",blueLabelText:"B",hueLabelText:"H",saturationLabelText:"S",brightnessLabelText:"B",hexLabelText:"HEX",alphaLabelText:"A",containerEl:null,openIn:"popover",openInPhone:"popup",popupPush:!1,popupSwipeToClose:void 0,sheetPush:!1,sheetSwipeToClose:void 0,formatValue:null,targetEl:null,targetElSetBackgroundColor:!1,inputEl:null,inputReadOnly:!0,closeByOutsideClick:!0,scrollToInput:!0,toolbarSheet:!0,toolbarPopover:!1,toolbarCloseText:"Done",navbarPopup:!0,navbarCloseText:"Done",navbarTitleText:"Color",navbarBackLinkText:"Back",cssClass:null,routableModals:!1,view:null,url:"color/",backdrop:null,closeByBackdropClick:!0,renderToolbar:null,renderNavbar:null,renderInline:null,renderPopover:null,renderSheet:null,renderPopup:null,render:null}}},Treeview$1={open(et){const _e=this,tt=$$1(et).eq(0);if(!tt.length)return;tt.addClass("treeview-item-opened"),tt.trigger("treeview:open"),_e.emit("treeviewOpen",tt[0]);function nt(rt){rt?(tt.removeClass("treeview-item-opened"),tt.trigger("treeview:close"),_e.emit("treeviewClose",tt[0])):tt[0].f7TreeviewChildrenLoaded=!0,tt.find(".treeview-toggle").removeClass("treeview-toggle-hidden"),tt.find(".treeview-preloader").remove()}if(tt.hasClass("treeview-load-children")&&!tt[0].f7TreeviewChildrenLoaded){const rt={iosPreloaderContent,mdPreloaderContent};tt.trigger("treeview:loadchildren",nt),_e.emit("treeviewLoadChildren",tt[0],nt),tt.find(".treeview-toggle").addClass("treeview-toggle-hidden"),tt.find(".treeview-item-root").prepend(`
        ${rt[`${_e.theme}PreloaderContent`]}
        `)}},close(et){const _e=this,tt=$$1(et).eq(0);tt.length&&(tt.removeClass("treeview-item-opened"),tt.trigger("treeview:close"),_e.emit("treeviewClose",tt[0]))},toggle(et){const _e=this,tt=$$1(et).eq(0);if(!tt.length)return;const nt=tt.hasClass("treeview-item-opened");_e.treeview[nt?"close":"open"](tt)}},Treeview$2={name:"treeview",create(){bindMethods(this,{treeview:Treeview$1})},clicks:{".treeview-toggle":function(_e,tt,nt){const rt=this;if(_e.parents(".treeview-item-toggle").length)return;const st=_e.parents(".treeview-item").eq(0);st.length&&(nt.preventF7Router=!0,rt.treeview.toggle(st[0]))},".treeview-item-toggle":function(_e,tt,nt){const rt=this,st=_e.closest(".treeview-item").eq(0);st.length&&(nt.preventF7Router=!0,rt.treeview.toggle(st[0]))}}},textEditorButtonsMap={bold:["bold","format_bold","bold"],italic:["italic","format_italic","italic"],underline:["underline","format_underlined","underline"],strikeThrough:["strikethrough","strikethrough_s","strikeThrough"],orderedList:["list_number","format_list_numbered","insertOrderedList"],unorderedList:["list_bullet","format_list_bulleted","insertUnorderedList"],link:["link","link","createLink"],image:["photo","image","insertImage"],paragraph:["paragraph",'',"formatBlock.P"],h1:['H1','H1',"formatBlock.H1"],h2:['H2','H2',"formatBlock.H2"],h3:['H3','H3',"formatBlock.H3"],alignLeft:["text_alignleft","format_align_left","justifyLeft"],alignCenter:["text_aligncenter","format_align_center","justifyCenter"],alignRight:["text_alignright","format_align_right","justifyRight"],alignJustify:["text_justify","format_align_justify","justifyFull"],subscript:["textformat_subscript",'A1',"subscript"],superscript:["textformat_superscript",'A1',"superscript"],indent:["increase_indent","format_indent_increase","indent"],outdent:["decrease_indent","format_indent_decrease","outdent"]};let TextEditor$2=class extends Framework7Class{constructor(_e,tt){super(tt,[_e]);const nt=this,rt=getDocument$1(),st=getDevice$1(),it=extend$5({},_e.params.textEditor);nt.useModulesParams(it),nt.params=extend$5(it,tt);const at=nt.params.el;if(!at)return nt;const ot=$$1(at);if(ot.length===0)return nt;if(ot[0].f7TextEditor)return ot[0].f7TextEditor;let lt=ot.children(".text-editor-content");if(lt.length||(ot.append('
        '),lt=ot.children(".text-editor-content")),extend$5(nt,{app:_e,$el:ot,el:ot[0],$contentEl:lt,contentEl:lt[0]}),"value"in tt&&(nt.value=nt.params.value),nt.params.mode==="keyboard-toolbar"&&!(st.cordova||st.capacitor)&&!st.android&&(nt.params.mode="popover"),typeof nt.params.buttons=="string")try{nt.params.buttons=JSON.parse(nt.params.buttons)}catch{throw new Error('Framework7: TextEditor: wrong "buttons" parameter format')}return ot[0].f7TextEditor=nt,nt.onButtonClick=nt.onButtonClick.bind(nt),nt.onFocus=nt.onFocus.bind(nt),nt.onBlur=nt.onBlur.bind(nt),nt.onInput=nt.onInput.bind(nt),nt.onPaste=nt.onPaste.bind(nt),nt.onSelectionChange=nt.onSelectionChange.bind(nt),nt.closeKeyboardToolbar=nt.closeKeyboardToolbar.bind(nt),nt.attachEvents=function(){nt.params.mode==="toolbar"&&nt.$el.find(".text-editor-toolbar").on("click","button",nt.onButtonClick),nt.params.mode==="keyboard-toolbar"&&(nt.$keyboardToolbarEl.on("click","button",nt.onButtonClick),nt.$el.parents(".page").on("page:beforeout",nt.closeKeyboardToolbar)),nt.params.mode==="popover"&&nt.popover&&nt.popover.$el.on("click","button",nt.onButtonClick),nt.$contentEl.on("paste",nt.onPaste),nt.$contentEl.on("focus",nt.onFocus),nt.$contentEl.on("blur",nt.onBlur),nt.$contentEl.on("input",nt.onInput,!0),$$1(rt).on("selectionchange",nt.onSelectionChange)},nt.detachEvents=function(){nt.params.mode==="toolbar"&&nt.$el.find(".text-editor-toolbar").off("click","button",nt.onButtonClick),nt.params.mode==="keyboard-toolbar"&&(nt.$keyboardToolbarEl.off("click","button",nt.onButtonClick),nt.$el.parents(".page").off("page:beforeout",nt.closeKeyboardToolbar)),nt.params.mode==="popover"&&nt.popover&&nt.popover.$el.off("click","button",nt.onButtonClick),nt.$contentEl.off("paste",nt.onPaste),nt.$contentEl.off("focus",nt.onFocus),nt.$contentEl.off("blur",nt.onBlur),nt.$contentEl.off("input",nt.onInput,!0),$$1(rt).off("selectionchange",nt.onSelectionChange)},nt.useModules(),nt.init(),nt}setValue(_e){const tt=this;return tt.value===_e||(tt.value=_e,tt.$contentEl.html(_e),tt.$el.trigger("texteditor:change",tt.value),tt.emit("local::change textEditorChange",tt,tt.value)),tt}getValue(){return this.value}clearValue(){const _e=this;return _e.setValue(""),_e.params.placeholder&&!_e.$contentEl.html()&&_e.insertPlaceholder(),_e}createLink(){const _e=this,tt=getWindow$1(),nt=getDocument$1(),rt=tt.getSelection(),st=[];let it;if(rt&&rt.anchorNode&&$$1(rt.anchorNode).parents(_e.$el).length){let lt=rt.anchorNode;for(;lt;)st.push(lt),(!lt.nextSibling||lt===rt.focusNode)&&(lt=null),lt&&(lt=lt.nextSibling);const ct=[],ut=$$1(st);for(let dt=0;dt{const ct=tt.getSelection(),ut=nt.createRange();ut.selectNodeContents(lt),ct.removeAllRanges(),ct.addRange(ut),nt.execCommand("unlink",!1),ct.removeAllRanges()}),_e;const at=_e.getSelectionRange();return at&&_e.app.dialog.prompt("",_e.params.linkUrlText,lt=>{lt&<.trim().length&&(_e.setSelectionRange(at),nt.execCommand("createLink",!1,lt.trim()),_e.$el.trigger("texteditor:insertlink",{url:lt.trim()}),_e.emit("local:insertLink textEditorInsertLink",_e,lt.trim()))}).$el.find("input").focus(),_e}insertImage(){const _e=this,tt=getDocument$1(),nt=_e.getSelectionRange();return nt&&_e.app.dialog.prompt("",_e.params.imageUrlText,st=>{st&&st.trim().length&&(_e.setSelectionRange(nt),tt.execCommand("insertImage",!1,st.trim()),_e.$el.trigger("texteditor:insertimage",{url:st.trim()}),_e.emit("local:insertImage textEditorInsertImage",_e,st.trim()))}).$el.find("input").focus(),_e}removePlaceholder(){this.$contentEl.find(".text-editor-placeholder").remove()}insertPlaceholder(){const _e=this;_e.$contentEl.append(`
        ${_e.params.placeholder}
        `)}onSelectionChange(){const _e=this,tt=getWindow$1(),nt=getDocument$1();if(_e.params.mode==="toolbar")return;const rt=tt.getSelection(),st=$$1(rt.anchorNode).parents(_e.contentEl).length||rt.anchorNode===_e.contentEl;if(_e.params.mode==="keyboard-toolbar"){st?_e.openKeyboardToolbar():_e.closeKeyboardToolbar();return}if(_e.params.mode==="popover"){const it=$$1(rt.anchorNode).parents(_e.popover.el).length||rt.anchorNode===_e.popover.el;if(!st&&!it){_e.closePopover();return}if(!rt.isCollapsed&&rt.rangeCount){const ot=rt.getRangeAt(0).getBoundingClientRect(),lt=_e.app.$el[0]||nt.body;_e.openPopover(ot.x+(tt.scrollX||0)-lt.offsetLeft,ot.y+(tt.scrollY||0)-lt.offsetTop,ot.width,ot.height)}else rt.isCollapsed&&_e.closePopover()}}onPaste(_e){const tt=this,nt=getDocument$1();if(tt.params.clearFormattingOnPaste&&_e.clipboardData&&_e.clipboardData.getData){const rt=_e.clipboardData.getData("text/plain");_e.preventDefault(),nt.execCommand("insertText",!1,rt)}}onInput(){const _e=this,tt=_e.$contentEl.html();_e.value=tt,_e.$el.trigger("texteditor:input"),_e.emit("local:input textEditorInput",_e,_e.value),_e.$el.trigger("texteditor:change",_e.value),_e.emit("local::change textEditorChange",_e,_e.value)}onFocus(){const _e=this;_e.removePlaceholder(),_e.$contentEl.focus(),_e.$el.trigger("texteditor:focus"),_e.emit("local::focus textEditorFocus",_e)}onBlur(){const _e=this,tt=getWindow$1(),nt=getDocument$1();if(_e.params.placeholder&&_e.$contentEl.html()===""&&_e.insertPlaceholder(),_e.params.mode==="popover"){const rt=tt.getSelection(),st=$$1(rt.anchorNode).parents(_e.contentEl).length||rt.anchorNode===_e.contentEl;!(nt.activeElement&&_e.popover&&$$1(nt.activeElement).closest(_e.popover.$el).length)&&!st&&_e.closePopover()}if(_e.params.mode==="keyboard-toolbar"){const rt=tt.getSelection();$$1(rt.anchorNode).parents(_e.contentEl).length||rt.anchorNode===_e.contentEl||_e.closeKeyboardToolbar()}_e.$el.trigger("texteditor:blur"),_e.emit("local::blur textEditorBlur",_e)}onButtonClick(_e){const tt=this,nt=getWindow$1(),rt=getDocument$1(),st=nt.getSelection();if(!($$1(st.anchorNode).parents(tt.contentEl).length||st.anchorNode===tt.contentEl))return;const at=$$1(_e.target).closest("button");at.parents("form").length&&_e.preventDefault();const ot=at.attr("data-button"),lt=tt.params.customButtons&&tt.params.customButtons[ot];if(!ot||!(textEditorButtonsMap[ot]||lt))return;if(at.trigger("texteditor:buttonclick",ot),tt.emit("local::buttonClick textEditorButtonClick",tt,ot),lt){lt.onClick&<.onClick(tt,at[0]);return}const ct=textEditorButtonsMap[ot][2];if(ct==="createLink"){tt.createLink();return}if(ct==="insertImage"){tt.insertImage();return}if(ct.indexOf("formatBlock")===0){const ut=ct.split(".")[1],dt=$$1(st.anchorNode);dt.parents(ut.toLowerCase()).length||dt.is(ut)?rt.execCommand("formatBlock",!1,"div"):rt.execCommand("formatBlock",!1,ut);return}rt.execCommand(ct,!1)}getSelectionRange(){const _e=getWindow$1(),tt=getDocument$1();if(_e.getSelection){const nt=_e.getSelection();if(nt.getRangeAt&&nt.rangeCount)return nt.getRangeAt(0)}else if(tt.selection&&tt.selection.createRange)return tt.selection.createRange();return null}setSelectionRange(_e){const tt=getWindow$1(),nt=getDocument$1();if(_e)if(tt.getSelection){const rt=tt.getSelection();rt.removeAllRanges(),rt.addRange(_e)}else nt.selection&&_e.select&&_e.select()}renderButtons(){const _e=this;let tt="";function nt(rt){const st=_e.app.theme==="md"?"material-icons":"f7-icons";if(_e.params.customButtons&&_e.params.customButtons[rt]){const at=_e.params.customButtons[rt];return``}if(!textEditorButtonsMap[rt])return"";const it=textEditorButtonsMap[rt][_e.app.theme==="md"?1:0];return``.trim()}return _e.params.buttons.forEach((rt,st)=>{Array.isArray(rt)?(rt.forEach(it=>{tt+=nt(it)}),st<_e.params.buttons.length-1&&_e.params.dividers&&(tt+='
        ')):tt+=nt(rt)}),tt}createToolbar(){const _e=this;_e.$el.prepend(`
        ${_e.renderButtons()}
        `)}createKeyboardToolbar(){const _e=this;_e.$keyboardToolbarEl=$$1(`
        ${_e.renderButtons()}
        `)}createPopover(){const _e=this;_e.popover=_e.app.popover.create({content:` +
        +
        ${_e.renderButtons()}
        +
        + `,closeByOutsideClick:!1,backdrop:!1})}openKeyboardToolbar(){const _e=this;_e.$keyboardToolbarEl.parent(_e.app.$el).length||(_e.$el.trigger("texteditor:keyboardopen"),_e.emit("local::keyboardOpen textEditorKeyboardOpen",_e),_e.app.$el.append(_e.$keyboardToolbarEl))}closeKeyboardToolbar(){const _e=this;_e.$keyboardToolbarEl.remove(),_e.$el.trigger("texteditor:keyboardclose"),_e.emit("local::keyboardClose textEditorKeyboardClose",_e)}openPopover(_e,tt,nt,rt){const st=this;st.popover&&(Object.assign(st.popover.params,{targetX:_e,targetY:tt,targetWidth:nt,targetHeight:rt}),clearTimeout(st.popoverTimeout),st.popoverTimeout=setTimeout(()=>{st.popover&&(st.popover.opened?st.popover.resize():(st.$el.trigger("texteditor:popoveropen"),st.emit("local::popoverOpen textEditorPopoverOpen",st),st.popover.open()))},400))}closePopover(){const _e=this;clearTimeout(_e.popoverTimeout),!(!_e.popover||!_e.popover.opened)&&(_e.popoverTimeout=setTimeout(()=>{_e.popover&&(_e.$el.trigger("texteditor:popoverclose"),_e.emit("local::popoverClose textEditorPopoverClose",_e),_e.popover.close())},400))}init(){const _e=this;return _e.value?_e.$contentEl.html(_e.value):_e.value=_e.$contentEl.html(),_e.params.placeholder&&_e.value===""&&_e.insertPlaceholder(),_e.params.mode==="toolbar"?_e.createToolbar():_e.params.mode==="popover"?_e.createPopover():_e.params.mode==="keyboard-toolbar"&&_e.createKeyboardToolbar(),_e.attachEvents(),_e.$el.trigger("texteditor:init"),_e.emit("local::init textEditorInit",_e),_e}destroy(){let _e=this;_e.$el.trigger("texteditor:beforedestroy"),_e.emit("local::beforeDestroy textEditorBeforeDestroy",_e),_e.detachEvents(),_e.params.mode==="keyboard-toolbar"&&_e.$keyboardToolbarEl&&_e.$keyboardToolbarEl.remove(),_e.popover&&(_e.popover.close(!1),_e.popover.destroy()),delete _e.$el[0].f7TextEditor,deleteProps$1(_e),_e=null}};const TextEditor$1={name:"textEditor",params:{textEditor:{el:null,mode:"toolbar",value:void 0,customButtons:null,buttons:[["bold","italic","underline","strikeThrough"],["orderedList","unorderedList"],["link","image"],["paragraph","h1","h2","h3"],["alignLeft","alignCenter","alignRight","alignJustify"],["subscript","superscript"],["indent","outdent"]],dividers:!0,imageUrlText:"Insert image URL",linkUrlText:"Insert link URL",placeholder:null,clearFormattingOnPaste:!0}},create(){const et=this;et.textEditor=extend$5(ConstructorMethods({defaultSelector:".text-editor",constructor:TextEditor$2,app:et,domProp:"f7TextEditor"}))},static:{TextEditor:TextEditor$2},on:{tabMounted(et){const _e=this;$$1(et).find(".text-editor-init").each(tt=>{const nt=$$1(tt).dataset();_e.textEditor.create(extend$5({el:tt},nt||{}))})},tabBeforeRemove(et){$$1(et).find(".text-editor-init").each(_e=>{_e.f7TextEditor&&_e.f7TextEditor.destroy()})},pageInit(et){const _e=this;et.$el.find(".text-editor-init").each(tt=>{const nt=$$1(tt).dataset();_e.textEditor.create(extend$5({el:tt},nt||{}))})},pageBeforeRemove(et){et.$el.find(".text-editor-init").each(_e=>{_e.f7TextEditor&&_e.f7TextEditor.destroy()})}},vnode:{"text-editor-init":{insert(et){const _e=this,tt=et.elm,nt=$$1(tt).dataset();_e.textEditor.create(extend$5({el:tt},nt||{}))},destroy(et){const _e=et.elm;_e.f7TextEditor&&_e.f7TextEditor.destroy()}}}},Breadcrumbs$1={},Breadcrumbs$2={name:"breadrumbs",create(){bindMethods(this,{breadrumbs:Breadcrumbs$1})}},Typography={name:"typography"};Framework7.use([DeviceModule,SupportModule,UtilsModule,ResizeModule,TouchModule,ClicksModule,RouterModule,HistoryModule,ServiceWorkerModule,StoreModule,Statusbar$1,View$1,Navbar$2,Toolbar$2,Subnavbar$1,TouchRipple,Modal,Dialog,Popup$1,LoginScreen$1,Popover$1,Actions$1,Sheet$1,Toast,Preloader$2,Progressbar$2,Sortable$1,Swipeout$1,Accordion$2,ContactsList,VirtualList,ListIndex$1,Timeline,Tabs$1,Panel$1,Card$1,Chip$1,Form,Input$2,Checkbox$1,Radio$1,Toggle$1,Range$1,Stepper$1,SmartSelect,Grid$1,Calendar,Picker,InfiniteScroll$1,PullToRefresh,DataTable,Fab$2,Searchbar$1,Messages$1,Messagebar$1,Swiper,PhotoBrowser$1,Notification,Autocomplete,Tooltip$1,Skeleton,ColorPicker,Treeview$2,TextEditor$1,Breadcrumbs$2,Typography]);Framework7.use([DeviceModule,SupportModule,UtilsModule,ResizeModule,TouchModule,ClicksModule,RouterModule,HistoryModule,ServiceWorkerModule,StoreModule,Statusbar$1,View$1,Navbar$2,Toolbar$2,Subnavbar$1,TouchRipple,Modal]);function noUndefinedProps(et){const _e={};return Object.keys(et).forEach(tt=>{typeof et[tt]<"u"&&(_e[tt]=et[tt])}),_e}function isStringProp(et){return typeof et=="string"&&et!==""}function isObject$3(et){return typeof et=="object"&&et!==null&&et.constructor&&et.constructor===Object}function now(){return Date.now()}function extend$1(){let et=!0,_e,tt;for(var nt=arguments.length,rt=new Array(nt),st=0;st{Array.isArray(rt)?et.push(...flattenArray(...rt)):et.push(rt)}),et}function classNames(){const et=[];for(var _e=arguments.length,tt=new Array(_e),nt=0;nt<_e;nt++)tt[nt]=arguments[nt];tt.forEach(st=>{typeof st=="object"&&st.constructor===Object?Object.keys(st).forEach(it=>{st[it]&&et.push(it)}):st&&et.push(st)});const rt=[];return et.forEach(st=>{rt.indexOf(st)<0&&rt.push(st)}),rt.join(" ")}function getSlots(et){et===void 0&&(et={});const _e={};if(!et)return _e;const tt=et.children;if(!tt||tt.length===0)return _e;function nt(rt,st){_e[rt]||(_e[rt]=[]),_e[rt].push(st)}if(Array.isArray(tt))tt.forEach(rt=>{if(!rt)return;const st=rt.props&&rt.props.slot||"default";nt(st,rt)});else{let rt="default";tt.props&&tt.props.slot&&(rt=tt.props.slot),nt(rt,tt)}return _e}function emit(et,_e){for(var tt=arguments.length,nt=new Array(tt>2?tt-2:0),rt=2;rt{let it=(st||"").trim();if(!it)return;it=it.charAt(0).toUpperCase()+it.slice(1);const at=`on${it}`;et[at]&&et[at](...nt)})}function getExtraAttrs(et){et===void 0&&(et={});const _e={};return Object.keys(et).forEach(tt=>{(tt.indexOf("data-")===0||tt.indexOf("aria-")===0||tt==="role")&&(_e[tt]=et[tt])}),_e}let routerIdCounter=0,routerComponentIdCounter=0;function unsetRouterIds(){routerIdCounter=0,routerComponentIdCounter=0}function getRouterId(){return routerIdCounter+=1,`${now()}_${routerIdCounter}`}function getComponentId(){return routerComponentIdCounter+=1,`${now()}_${routerComponentIdCounter}`}let f7,f7events;const theme={},f7routers={views:[],tabs:[],modals:null},setTheme=()=>{f7&&(theme.ios=f7.theme==="ios",theme.md=f7.theme==="md")},cleanup=()=>{unsetRouterIds(),delete theme.ios,delete theme.md,f7routers.views=[],f7routers.tabs=[],f7routers.modals=null},f7initEvents=()=>{f7events=new Framework7.Events},f7init=function(et,_e,tt){_e===void 0&&(_e={}),tt===void 0&&(tt=!0);const nt=extend$1({},_e,{el:et,init:tt});if(typeof _e.store<"u"&&(nt.store=_e.store),nt.routes||(nt.routes=[]),nt.userAgent&&(nt.theme==="auto"||!nt.theme)){const st=Framework7.getDevice({userAgent:nt.userAgent},!0);theme.ios=!!st.ios,theme.md=!theme.ios}if(f7&&typeof window<"u")return;typeof window>"u"&&cleanup();const rt=new Framework7(nt);f7=rt,setTheme(),rt.initialized?(f7=rt,f7events.emit("ready",f7)):rt.on("init",()=>{f7=rt,f7events.emit("ready",f7)})},f7ready=et=>{et&&(f7&&f7.initialized?et(f7):f7events.once("ready",et))};function colorClasses(et){const{color:_e,textColor:tt,bgColor:nt,borderColor:rt,rippleColor:st,dark:it}=et;return{dark:it,[`color-${_e}`]:_e,[`text-color-${tt}`]:tt,[`bg-color-${nt}`]:nt,[`border-color-${rt}`]:rt,[`ripple-color-${st}`]:st}}function routerAttrs(et){const{force:_e,reloadCurrent:tt,reloadPrevious:nt,reloadAll:rt,reloadDetail:st,animate:it,ignoreCache:at,routeTabId:ot,view:lt,transition:ct,openIn:ut}=et;let dt;"animate"in et&&typeof it<"u"&&(dt=it.toString());let ft;return"reloadDetail"in et&&typeof st<"u"&&(ft=st.toString()),{"data-force":_e||void 0,"data-reload-current":tt||void 0,"data-reload-all":rt||void 0,"data-reload-previous":nt||void 0,"data-reload-detail":ft,"data-animate":dt,"data-ignore-cache":at||void 0,"data-route-tab-id":ot||void 0,"data-view":isStringProp(lt)?lt:void 0,"data-transition":isStringProp(ct)?ct:void 0,"data-open-in":isStringProp(ut)?ut:void 0}}function routerClasses(et){const{back:_e,linkBack:tt,external:nt,preventRouter:rt}=et;return{back:_e||tt,external:nt,"prevent-router":rt}}function actionsAttrs(et){const{searchbarEnable:_e,searchbarDisable:tt,searchbarClear:nt,searchbarToggle:rt,panelOpen:st,panelClose:it,panelToggle:at,popupOpen:ot,popupClose:lt,actionsOpen:ct,actionsClose:ut,popoverOpen:dt,popoverClose:ft,loginScreenOpen:pt,loginScreenClose:ht,sheetOpen:vt,sheetClose:gt,sortableEnable:mt,sortableDisable:bt,sortableToggle:xt,cardOpen:yt,cardClose:$t}=et;return{"data-searchbar":isStringProp(_e)&&_e||isStringProp(tt)&&tt||isStringProp(nt)&&nt||isStringProp(rt)&&rt||void 0,"data-panel":isStringProp(st)&&st||isStringProp(it)&&it||isStringProp(at)&&at||void 0,"data-popup":isStringProp(ot)&&ot||isStringProp(lt)&<||void 0,"data-actions":isStringProp(ct)&&ct||isStringProp(ut)&&ut||void 0,"data-popover":isStringProp(dt)&&dt||isStringProp(ft)&&ft||void 0,"data-sheet":isStringProp(vt)&&vt||isStringProp(gt)&>||void 0,"data-login-screen":isStringProp(pt)&&pt||isStringProp(ht)&&ht||void 0,"data-sortable":isStringProp(mt)&&mt||isStringProp(bt)&&bt||isStringProp(xt)&&xt||void 0,"data-card":isStringProp(yt)&&yt||isStringProp($t)&&$t||void 0}}function actionsClasses(et){const{searchbarEnable:_e,searchbarDisable:tt,searchbarClear:nt,searchbarToggle:rt,panelOpen:st,panelClose:it,panelToggle:at,popupOpen:ot,popupClose:lt,actionsClose:ct,actionsOpen:ut,popoverOpen:dt,popoverClose:ft,loginScreenOpen:pt,loginScreenClose:ht,sheetOpen:vt,sheetClose:gt,sortableEnable:mt,sortableDisable:bt,sortableToggle:xt,cardOpen:yt,cardPreventOpen:$t,cardClose:wt}=et;return{"searchbar-enable":_e||_e==="","searchbar-disable":tt||tt==="","searchbar-clear":nt||nt==="","searchbar-toggle":rt||rt==="","panel-close":it||it==="","panel-open":st||st==="","panel-toggle":at||at==="","popup-close":lt||lt==="","popup-open":ot||ot==="","actions-close":ct||ct==="","actions-open":ut||ut==="","popover-close":ft||ft==="","popover-open":dt||dt==="","sheet-close":gt||gt==="","sheet-open":vt||vt==="","login-screen-close":ht||ht==="","login-screen-open":pt||pt==="","sortable-enable":mt||mt==="","sortable-disable":bt||bt==="","sortable-toggle":xt||xt==="","card-close":wt||wt==="","card-open":yt||yt==="","card-prevent-open":$t||$t===""}}const modalStateClasses=function(et){let{isOpened:_e,isClosing:tt}=et===void 0?{}:et;return{"modal-in":_e.current&&!tt.current,"modal-out":tt.current}};function useIsomorphicLayoutEffect$1(et,_e){return typeof window>"u"?reactExports.useEffect(et,_e):reactExports.useLayoutEffect(et,_e)}const watchProp=(et,_e)=>{const tt=reactExports.useRef(et);useIsomorphicLayoutEffect$1(()=>{et!==tt.current&&_e&&_e(et,tt.current),tt.current=et},[et])};function _extends$1n(){return _extends$1n=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const tt=reactExports.useRef(null),{className:nt,id:rt,style:st,children:it,tabletFullscreen:at,push:ot,opened:lt,closeByBackdropClick:ct,backdrop:ut,backdropEl:dt,animate:ft,closeOnEscape:pt,swipeToClose:ht=!1,swipeHandler:vt,containerEl:gt}=et,mt=getExtraAttrs(et),bt=reactExports.useRef(null),xt=reactExports.useRef(lt),yt=reactExports.useRef(!1),$t=At=>{emit(et,"popupSwipeStart",At)},wt=At=>{emit(et,"popupSwipeMove",At)},Ct=At=>{emit(et,"popupSwipeEnd",At)},Et=At=>{emit(et,"popupSwipeClose",At)},Mt=At=>{xt.current=!0,yt.current=!1,emit(et,"popupOpen",At)},St=At=>{emit(et,"popupOpened",At)},Rt=At=>{xt.current=!1,yt.current=!0,emit(et,"popupClose",At)},Pt=At=>{yt.current=!1,emit(et,"popupClosed",At)};reactExports.useImperativeHandle(_e,()=>({el:bt.current,f7Popup:()=>tt.current})),watchProp(lt,At=>{tt.current&&(At?tt.current.open():tt.current.close())});const kt=At=>{tt.current&&(tt.current[At]("swipeStart",$t),tt.current[At]("swipeMove",wt),tt.current[At]("swipeEnd",Ct),tt.current[At]("swipeClose",Et),tt.current[At]("open",Mt),tt.current[At]("opened",St),tt.current[At]("close",Rt),tt.current[At]("closed",Pt))},_t=()=>{if(!bt.current)return;const At={el:bt.current};"closeByBackdropClick"in et&&(At.closeByBackdropClick=ct),"closeOnEscape"in et&&(At.closeOnEscape=pt),"animate"in et&&(At.animate=ft),"backdrop"in et&&(At.backdrop=ut),"backdropEl"in et&&(At.backdropEl=dt),"swipeToClose"in et&&(At.swipeToClose=ht),"swipeHandler"in et&&(At.swipeHandler=vt),"containerEl"in et&&(At.containerEl=gt),f7ready(()=>{tt.current=f7.popup.create(At),kt("on"),lt&&tt.current.open(!1,!0)})},Bt=()=>{tt.current&&tt.current.destroy(),tt.current=null};useIsomorphicLayoutEffect$1(()=>(kt("on"),()=>{kt("off")})),useIsomorphicLayoutEffect$1(()=>(_t(),Bt),[]);const It=classNames(nt,"popup",{"popup-tablet-fullscreen":at,"popup-push":ot},modalStateClasses({isOpened:xt,isClosing:yt}),colorClasses(et));return React.createElement("div",_extends$1n({id:rt,style:st,className:It,ref:bt},mt),it)});Popup.displayName="f7-popup";const useTab=(et,_e)=>{const tt=it=>{et.current===it&&emit(_e,"tabShow",it)},nt=it=>{et.current===it&&emit(_e,"tabHide",it)},rt=()=>{et.current&&f7ready(()=>{f7.on("tabShow",tt),f7.on("tabHide",nt)})},st=()=>{f7&&(f7.off("tabShow",tt),f7.off("tabHide",nt))};useIsomorphicLayoutEffect$1(()=>(rt(),st))},useAsyncComponent=(et,_e,tt)=>{const nt=reactExports.lazy(et);return React.createElement(reactExports.Suspense,{fallback:null,key:tt},React.createElement(nt,_e))},getRouterInitialComponent=(et,_e)=>{let tt;const{initialUrl:nt}=et.getInitialUrl(),rt=et.findMatchingRoute(nt);let st={};rt&&rt.route&&rt.route.options&&(st=rt.route.options.props);const it=at=>at.master===!0?!0:typeof at.master=="function"?at.master(et.app):!1;return rt&&rt.route&&(rt.route.component||rt.route.asyncComponent)&&!it(rt.route)&&(tt={component:rt.route.component||rt.route.asyncComponent,initialComponent:_e,id:getComponentId(),isAsync:!!rt.route.asyncComponent,props:{f7route:rt,f7router:et,...st,...rt.params}}),{initialPage:tt,initialRoute:rt}},RouterContext=React.createContext({route:null,router:null});function _extends$1m(){return _extends$1m=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st,init:it=!0,main:at,tab:ot,tabActive:lt,url:ct,initRouterOnTabShow:ut,browserHistoryInitialMatch:dt=!0}=et,ft=React.Children.toArray(st),pt=ft.filter(Tt=>Tt.props&&Tt.props.initialPage)[0],ht=ft.filter(Tt=>!Tt.props||!Tt.props.initialPage),vt=!(ut&&ot&&!lt),gt=getExtraAttrs(et),mt=reactExports.useRef(null),bt=reactExports.useRef(null),xt=reactExports.useRef(null);let yt,$t;const wt=Tt=>{emit(et,"viewInit",Tt),it||(xt.current.instance=Tt,mt.current=xt.current.instance)};if(f7&&!mt.current&&it){const Tt=getRouterId();if(mt.current=f7.views.create(bt.current,{routerId:Tt,init:!1,...noUndefinedProps(et),browserHistoryInitialMatch:dt,on:{init:wt}}),xt.current={routerId:Tt,instance:mt.current},f7routers.views.push(xt.current),vt&&mt.current&&mt.current.router&&(ct||at)){const Dt=getRouterInitialComponent(mt.current.router,pt);yt=Dt.initialPage,$t=Dt.initialRoute,$t&&$t.route&&$t.route.masterRoute&&(yt=void 0,$t=void 0)}}const[Ct,Et]=reactExports.useState(yt?[yt]:[]),Mt=(Tt,Dt)=>{emit(et,"viewResize",Dt)},St=Tt=>{emit(et,"swipeBackMove",Tt)},Rt=Tt=>{emit(et,"swipeBackBeforeChange",Tt)},Pt=Tt=>{emit(et,"swipeBackAfterChange",Tt)},kt=Tt=>{emit(et,"swipeBackBeforeReset",Tt)},_t=Tt=>{emit(et,"swipeBackAfterReset",Tt)};reactExports.useImperativeHandle(_e,()=>({el:bt.current,f7View:()=>mt.current}));const Bt=()=>{f7ready(()=>{if(mt.current)xt.current.el=bt.current,xt.current.pages=Ct,xt.current.setPages=Tt=>{Et([...Tt])},yt&&yt.isAsync&&!yt.initialComponent?yt.component().then(()=>{setTimeout(()=>{mt.current.init(bt.current),yt&&(yt.el=mt.current.router.currentPageEl,$t&&$t.route&&$t.route.keepAlive&&($t.route.keepAliveData={pageEl:yt.el}))},100)}):(mt.current.init(bt.current),yt&&(yt.el=mt.current.router.currentPageEl,$t&&$t.route&&$t.route.keepAlive&&($t.route.keepAliveData={pageEl:yt.el})));else{const Tt=getRouterId();xt.current={el:bt.current,routerId:Tt,pages:Ct,instance:mt.current,setPages(Dt){Et([...Dt])}},f7routers.views.push(xt.current),xt.current.instance=f7.views.create(bt.current,{routerId:Tt,...noUndefinedProps(et),browserHistoryInitialMatch:dt,on:{init:wt}}),mt.current=xt.current.instance}it&&(mt.current.on("resize",Mt),mt.current.on("swipebackMove",St),mt.current.on("swipebackBeforeChange",Rt),mt.current.on("swipebackAfterChange",Pt),mt.current.on("swipebackBeforeReset",kt),mt.current.on("swipebackAfterReset",_t))})},It=()=>{mt.current&&(mt.current.off("resize",Mt),mt.current.off("swipebackMove",St),mt.current.off("swipebackBeforeChange",Rt),mt.current.off("swipebackAfterChange",Pt),mt.current.off("swipebackBeforeReset",kt),mt.current.off("swipebackAfterReset",_t),mt.current.destroy&&mt.current.destroy(),mt.current=null),f7routers.views.splice(f7routers.views.indexOf(xt.current),1),xt.current=null};useIsomorphicLayoutEffect$1(()=>(Bt(),It),[]),useIsomorphicLayoutEffect$1(()=>{xt.current&&f7&&f7events.emit("viewRouterDidUpdate",xt.current)}),useTab(bt,et);const At=classNames(tt,"view",{"view-main":at,"tab-active":lt,tab:ot},colorClasses(et));return React.createElement("div",_extends$1m({id:nt,style:rt,className:At,ref:bt},gt),ht,Ct.map(Tt=>{let{component:Dt,id:Nt,props:Ot,isAsync:Lt,initialComponent:jt}=Tt;return React.createElement(RouterContext.Provider,{key:Nt,value:{router:Ot.f7router,route:Ot.f7route}},jt?React.cloneElement(jt,{...Ot}):Lt?useAsyncComponent(Dt,Ot):React.createElement(Dt,Ot))}))});View.displayName="f7-view";function _extends$1l(){return _extends$1l=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const tt=reactExports.useRef(null),{className:nt,id:rt,style:st,children:it,opened:at,animate:ot,containerEl:lt}=et,ct=getExtraAttrs(et),ut=reactExports.useRef(at),dt=reactExports.useRef(!1),ft=reactExports.useRef(null),pt=$t=>{ut.current=!0,dt.current=!1,emit(et,"loginScreenOpen",$t)},ht=$t=>{emit(et,"loginScreenOpened",$t)},vt=$t=>{ut.current=!1,dt.current=!0,emit(et,"loginScreenClose",$t)},gt=$t=>{dt.current=!1,emit(et,"loginScreenClosed",$t)};reactExports.useImperativeHandle(_e,()=>({el:ft.current,f7LoginScreen:()=>tt.current})),watchProp(at,$t=>{tt.current&&($t?tt.current.open():tt.current.close())});const mt=$t=>{tt.current&&(tt.current[$t]("open",pt),tt.current[$t]("opened",ht),tt.current[$t]("close",vt),tt.current[$t]("closed",gt))},bt=()=>{ft.current&&f7ready(()=>{const $t={el:ft.current};"animate"in et&&($t.animate=ot),"containerEl"in et&&($t.containerEl=lt),tt.current=f7.loginScreen.create($t),mt("on"),at&&tt.current.open(!1)})},xt=()=>{tt.current&&tt.current.destroy(),tt.current=null};useIsomorphicLayoutEffect$1(()=>(mt("on"),()=>{mt("off")})),useIsomorphicLayoutEffect$1(()=>(bt(),xt),[]);const yt=classNames(nt,"login-screen",modalStateClasses({isOpened:ut,isClosing:dt}),colorClasses(et));return React.createElement("div",_extends$1l({id:rt,style:st,className:yt,ref:ft},ct),it)});LoginScreen.displayName="f7-login-screen";function _extends$1k(){return _extends$1k=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const tt=reactExports.useRef(null),{className:nt,id:rt,style:st,top:it,bottom:at,position:ot,push:lt,opened:ct,animate:ut,backdrop:dt,backdropEl:ft,closeByBackdropClick:pt,closeByOutsideClick:ht,closeOnEscape:vt,swipeToClose:gt,swipeToStep:mt,swipeHandler:bt,containerEl:xt,breakpoints:yt,backdropBreakpoint:$t,pushBreakpoint:wt}=et,Ct=getExtraAttrs(et),Et=reactExports.useRef(null),Mt=reactExports.useRef(ct),St=reactExports.useRef(!1),Rt=(Wt,Jt)=>{emit(et,"sheetBreakpoint",Wt,Jt)},Pt=(Wt,Jt)=>{emit(et,"sheetStepProgress",Wt,Jt)},kt=Wt=>{emit(et,"sheetStepOpen",Wt)},_t=Wt=>{emit(et,"sheetStepClose",Wt)},Bt=Wt=>{Mt.current=!0,St.current=!1,emit(et,"sheetOpen",Wt)},It=Wt=>{emit(et,"sheetOpened",Wt)},At=Wt=>{Mt.current=!1,St.current=!0,emit(et,"sheetClose",Wt)},Tt=Wt=>{St.current=!1,emit(et,"sheetClosed",Wt)};reactExports.useImperativeHandle(_e,()=>({el:Et.current,f7Sheet:()=>tt.current}));const Dt=Wt=>{tt.current&&(tt.current[Wt]("open",Bt),tt.current[Wt]("opened",It),tt.current[Wt]("close",At),tt.current[Wt]("closed",Tt),tt.current[Wt]("stepOpen",kt),tt.current[Wt]("stepClose",_t),tt.current[Wt]("stepProgress",Pt),tt.current[Wt]("breakpoint",Rt))},Nt=()=>{if(!Et.current)return;const Wt={el:Et.current,breakpoints:yt,backdropBreakpoint:$t,pushBreakpoint:wt};"animate"in et&&typeof ut<"u"&&(Wt.animate=ut),"backdrop"in et&&typeof dt<"u"&&(Wt.backdrop=dt),"backdropEl"in et&&(Wt.backdropEl=ft),"closeByBackdropClick"in et&&(Wt.closeByBackdropClick=pt),"closeByOutsideClick"in et&&(Wt.closeByOutsideClick=ht),"closeOnEscape"in et&&(Wt.closeOnEscape=vt),"swipeToClose"in et&&(Wt.swipeToClose=gt),"swipeToStep"in et&&(Wt.swipeToStep=mt),"swipeHandler"in et&&(Wt.swipeHandler=bt),"containerEl"in et&&(Wt.containerEl=xt),"breakpoints"in et&&(Wt.breakpoints=yt),"backdropBreakpoint"in et&&(Wt.backdropBreakpoint=$t),"pushBreakpoint"in et&&(Wt.pushBreakpoint=wt),f7ready(()=>{tt.current=f7.sheet.create(Wt),Dt("on"),ct&&tt.current.open(!1)})},Ot=()=>{tt.current&&tt.current.destroy(),tt.current=null};useIsomorphicLayoutEffect$1(()=>(Dt("on"),()=>{Dt("off")})),useIsomorphicLayoutEffect$1(()=>(Nt(),Ot),[]),watchProp(ct,Wt=>{tt.current&&(Wt?tt.current.open():tt.current.close())});const Lt=getSlots(et),jt=[],Ht=[],Ft="navbar toolbar tabbar subnavbar searchbar messagebar fab list-index panel".split(" ").map(Wt=>`f7-${Wt}`),Vt=Lt.default;Vt&&Vt.length&&Vt.forEach(Wt=>{if(typeof Wt>"u")return;let Jt=!1;const Qt=Wt.type&&(Wt.type.displayName||Wt.type.name);if(!Qt){Ht.push(Wt);return}Ft.indexOf(Qt)>=0&&(Jt=!0),Jt?jt.push(Wt):Ht.push(Wt)});const zt=React.createElement("div",{className:"sheet-modal-inner"},Ht,Lt.static);let Ut="bottom";ot?Ut=ot:it?Ut="top":at&&(Ut="bottom");const qt=classNames(nt,"sheet-modal",`sheet-modal-${Ut}`,{"sheet-modal-push":lt},modalStateClasses({isOpened:Mt,isClosing:St}),colorClasses(et));return React.createElement("div",_extends$1k({id:rt,style:st,className:qt,ref:Et},Ct),jt,Lt.fixed,zt)});Sheet.displayName="f7-sheet";function _extends$1j(){return _extends$1j=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const tt=reactExports.useRef(null),{className:nt,id:rt,style:st,children:it,opened:at,animate:ot,targetEl:lt,arrow:ct,backdrop:ut,backdropEl:dt,closeByBackdropClick:ft,closeByOutsideClick:pt,closeOnEscape:ht,containerEl:vt,verticalPosition:gt}=et,mt=getExtraAttrs(et),bt=reactExports.useRef(null),xt=reactExports.useRef(at),yt=reactExports.useRef(!1),$t=kt=>{xt.current=!0,yt.current=!1,emit(et,"popoverOpen",kt)},wt=kt=>{emit(et,"popoverOpened",kt)},Ct=kt=>{xt.current=!1,yt.current=!0,emit(et,"popoverClose",kt)},Et=kt=>{yt.current=!1,emit(et,"popoverClosed",kt)};reactExports.useImperativeHandle(_e,()=>({el:bt.current,f7Popover:()=>tt.current})),watchProp(at,kt=>{tt.current&&(kt?tt.current.open():tt.current.close())});const Mt=kt=>{tt.current&&(tt.current[kt]("open",$t),tt.current[kt]("opened",wt),tt.current[kt]("close",Ct),tt.current[kt]("closed",Et))},St=()=>{if(!bt.current)return;const kt={el:bt.current};lt&&(kt.targetEl=lt),"closeByBackdropClick"in et&&(kt.closeByBackdropClick=ft),"closeByOutsideClick"in et&&(kt.closeByOutsideClick=pt),"closeOnEscape"in et&&(kt.closeOnEscape=ht),"arrow"in et&&(kt.arrow=ct),"backdrop"in et&&(kt.backdrop=ut),"backdropEl"in et&&(kt.backdropEl=dt),"animate"in et&&(kt.animate=ot),"containerEl"in et&&(kt.containerEl=vt),"verticalPosition"in et&&(kt.verticalPosition=gt),f7ready(()=>{tt.current=f7.popover.create(kt),Mt("on"),at&<&&tt.current.open(lt,!1)})},Rt=()=>{tt.current&&tt.current.destroy(),tt.current=null};useIsomorphicLayoutEffect$1(()=>(Mt("on"),()=>{Mt("off")})),useIsomorphicLayoutEffect$1(()=>(St(),Rt),[]);const Pt=classNames(nt,"popover",modalStateClasses({isOpened:xt,isClosing:yt}),colorClasses(et));return React.createElement("div",_extends$1j({id:rt,style:st,className:Pt,ref:bt},mt),ct!==!1&&React.createElement("div",{className:"popover-arrow"}),React.createElement("div",{className:"popover-inner"},it))});Popover.displayName="f7-popover";function _extends$1i(){return _extends$1i=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const tt=reactExports.useRef(null),{className:nt,id:rt,style:st,children:it,side:at,effect:ot,cover:lt,reveal:ct,push:ut,floating:dt,left:ft,opened:pt,resizable:ht,backdrop:vt=!0,backdropEl:gt,containerEl:mt,closeByBackdropClick:bt,visibleBreakpoint:xt,collapsedBreakpoint:yt,swipe:$t,swipeNoFollow:wt,swipeOnlyClose:Ct,swipeActiveArea:Et=0,swipeThreshold:Mt=0}=et,St=getExtraAttrs(et),Rt=reactExports.useRef(null),Pt=reactExports.useRef(!1),kt=reactExports.useRef(!1),_t=reactExports.useRef(!1),Bt=reactExports.useRef(!1),It=Qt=>{Pt.current=!0,kt.current=!1,emit(et,"panelOpen",Qt)},At=Qt=>{emit(et,"panelOpened",Qt)},Tt=Qt=>{Pt.current=!1,kt.current=!0,emit(et,"panelClose",Qt)},Dt=Qt=>{kt.current=!1,emit(et,"panelClosed",Qt)},Nt=Qt=>{emit(et,"click panelBackdropClick",Qt)},Ot=Qt=>{emit(et,"panelSwipe",Qt)},Lt=Qt=>{emit(et,"panelSwipeOpen",Qt)},jt=Qt=>{Bt.current=!0,_t.current=!1,emit(et,"panelBreakpoint",Qt)},Ht=Qt=>{Bt.current=!1,_t.current=!0,emit(et,"panelCollapsedBreakpoint",Qt)},Ft=function(){for(var Qt=arguments.length,Zt=new Array(Qt),Gt=0;Gt({el:Rt.current,f7Panel:()=>tt.current})),watchProp(ht,Qt=>{tt.current&&(Qt?tt.current.enableResizable():tt.current.disableResizable())}),watchProp(pt,Qt=>{tt.current&&(Qt?tt.current.open():tt.current.close())});const Vt=Qt=>{tt.current&&(tt.current[Qt]("open",It),tt.current[Qt]("opened",At),tt.current[Qt]("close",Tt),tt.current[Qt]("closed",Dt),tt.current[Qt]("backdropClick",Nt),tt.current[Qt]("swipe",Ot),tt.current[Qt]("swipeOpen",Lt),tt.current[Qt]("collapsedBreakpoint",Ht),tt.current[Qt]("breakpoint",jt),tt.current[Qt]("resize",Ft))},zt=()=>{f7ready(()=>{const Qt=f7.$;if(!Qt)return;Qt(".panel-backdrop").length===0&&Qt('
        ').insertBefore(Rt.current);const Zt=noUndefinedProps({el:Rt.current,resizable:ht,backdrop:vt,backdropEl:gt,containerEl:mt,visibleBreakpoint:xt,collapsedBreakpoint:yt,swipe:$t,swipeNoFollow:wt,swipeOnlyClose:Ct,swipeActiveArea:Et,swipeThreshold:Mt,closeByBackdropClick:bt});tt.current=f7.panel.create(Zt),Vt("on"),pt&&tt.current.open(!1)})},Ut=()=>{tt.current&&tt.current.destroy&&tt.current.destroy(),tt.current=null};useIsomorphicLayoutEffect$1(()=>(Vt("on"),()=>{Vt("off")})),useIsomorphicLayoutEffect$1(()=>(zt(),Ut),[]);const qt=at||(ft?"left":"right"),Wt=ot||(ct?"reveal":ut?"push":dt?"floating":"cover"),Jt=classNames(nt,"panel",{"panel-in":Pt.current&&!kt.current&&!Bt.current,"panel-in-breakpoint":Bt.current,"panel-in-collapsed":_t.current,"panel-resizable":ht,[`panel-${qt}`]:qt,[`panel-${Wt}`]:Wt},colorClasses(et));return React.createElement("div",_extends$1i({id:rt,style:st,className:Jt,ref:Rt},St),it,ht&&React.createElement("div",{className:"panel-resize-handler"}))});Panel.displayName="f7-panel";const routerOpenIn=(et,_e,tt)=>{const nt={url:_e,route:{path:_e,options:{...tt,openIn:void 0}}},rt={...tt};if(tt.openIn==="popup"&&(rt.component=function(){return React.createElement(Popup,{className:"popup-router-open-in","data-url":_e},React.createElement(View,{linksView:et.view.selector,url:_e,ignoreOpenIn:!0}))},nt.route.popup=rt),tt.openIn==="loginScreen"&&(rt.component=function(){return React.createElement(LoginScreen,{className:"login-screen-router-open-in","data-url":_e},React.createElement(View,{linksView:et.view.selector,url:_e,ignoreOpenIn:!0}))},nt.route.loginScreen=rt),tt.openIn==="sheet"&&(rt.component=function(){return React.createElement(Sheet,{className:"sheet-modal-router-open-in","data-url":_e},React.createElement(View,{linksView:et.view.selector,url:_e,ignoreOpenIn:!0}))},nt.route.sheet=rt),tt.openIn==="popover"&&(rt.targetEl=tt.clickedEl||tt.targetEl,rt.component=function(){return React.createElement(Popover,{className:"popover-router-open-in",targetEl:tt.clickedEl||tt.targetEl,"data-url":_e},React.createElement(View,{linksView:et.view.selector,url:_e,ignoreOpenIn:!0}))},nt.route.popover=rt),tt.openIn.indexOf("panel")>=0){const st=tt.openIn.split(":"),it=st[1]||"left",at=st[2]||"cover";rt.component=function(){return React.createElement(Panel,{side:it,effect:at,className:"panel-router-open-in","data-url":_e},React.createElement(View,{linksView:et.view.selector,url:_e,ignoreOpenIn:!0}))},nt.route.panel=rt}return et.navigate(nt)},getChildrenArray=et=>{const _e=[];for(let tt=0;ttet.length!==_e.length?!1:new Set([...et,..._e]).size===et.length,componentsRouter={proto:{openIn(et,_e,tt){return routerOpenIn(et,_e,tt)},pageComponentLoader(et){let{routerEl:_e,component:tt,options:nt,resolve:rt,reject:st}=et;const it=this,at=it.id,ot=_e;let lt;if(f7routers.views.forEach(pt=>{(pt.el&&pt.el===_e||pt.routerId&&pt.routerId===at)&&(lt=pt)}),!lt){st();return}const ct={component:tt,id:getComponentId(),props:extend$1({f7route:nt.route,f7router:it},nt.route.params,nt.props||{})};let ut;const dt=getChildrenArray(ot);function ft(pt){if(pt!==lt||ut)return;const ht=getChildrenArray(ot);if(hasSameChildren(dt,ht))return;f7events.off("viewRouterDidUpdate",ft);const vt=ot.children[ot.children.length-1];ct.el=vt,rt(vt),ut=!0}f7events.on("viewRouterDidUpdate",ft),lt.pages.push(ct),lt.setPages(lt.pages)},removePage(et){if(!et)return;const _e=this;let tt;if("length"in et&&et[0]?tt=et[0].f7Page:tt=et.f7Page,tt&&tt.route&&tt.route.route&&tt.route.route.keepAlive){_e.app.$(et).remove();return}let nt;f7routers.views.forEach(it=>{it.el&&it.el===_e.el&&(nt=it)});let rt;if("length"in et){if(et.length===0)return;rt=et[0]}else rt=et;if(!rt)return;let st;nt.pages.forEach((it,at)=>{it.el===rt&&(st=!0,nt.pages.splice(at,1),nt.setPages(nt.pages))}),st||rt.parentNode.removeChild(rt)},tabComponentLoader(et){let{tabEl:_e,component:tt,options:nt,resolve:rt,reject:st}=et===void 0?{}:et;const it=this;_e||st();let at;if(f7routers.tabs.forEach(dt=>{dt.el&&dt.el===_e&&(at=dt)}),!at){st();return}const lt={id:getComponentId(),component:tt,props:extend$1({f7route:nt.route,f7router:it},nt.route.route&&nt.route.route.tab&&nt.route.route.tab.options&&nt.route.route.tab.options.props||{},nt.route.params,nt.props||{})};let ct;function ut(dt){if(dt!==at||ct)return;f7events.off("tabRouterDidUpdate",ut);const ft=_e.children[0];rt(ft),ct=!0}f7events.on("tabRouterDidUpdate",ut),at.setTabContent(lt)},removeTabContent(et){if(!et)return;let _e;if(f7routers.tabs.forEach(tt=>{tt.el&&tt.el===et&&(_e=tt)}),!_e){et.innerHTML="";return}_e.setTabContent(null)},modalComponentLoader(et){let{component:_e,options:tt,resolve:nt,reject:rt}=et===void 0?{}:et;const st=this,it=f7routers.modals;if(!it){rt();return}const at={component:_e,id:getComponentId(),props:extend$1({f7route:tt.route,f7router:st},tt.route.params,tt.props||{})};let ot;function lt(){if(ot)return;f7events.off("modalsRouterDidUpdate",lt);const ct=it.el.children[it.el.children.length-1];at.el=ct,nt(ct),ot=!0}f7events.on("modalsRouterDidUpdate",lt),it.modals.push(at),it.setModals(it.modals)},removeModal(et){const _e=f7routers.modals;if(!_e)return;let tt;_e.modals.forEach(nt=>{nt.el===et&&(tt=nt)}),_e.modals.splice(_e.modals.indexOf(tt),1),_e.setModals(_e.modals)}}},Framework7React={name:"reactPlugin",installed:!1,install(et){if(et===void 0&&(et={}),Framework7React.installed)return;Framework7React.installed=!0,f7initEvents();const{theme:_e,userAgent:tt}=et;if(_e==="md"&&(theme.md=!0),_e==="ios"&&(theme.ios=!0),(typeof window>"u"?!!tt:!0)&&(!_e||_e==="auto")){const rt=Framework7.getDevice({userAgent:tt},!0);theme.ios=!!rt.ios,theme.md=!theme.ios}f7ready(()=>{setTheme()}),Framework7.Router.use(componentsRouter)}},useStore$1=function(){const et=reactExports.useRef({});let _e=arguments.length<=0?void 0:arguments[0],tt=arguments.length<=1?void 0:arguments[1];arguments.length===1&&(_e=f7.store,tt=arguments.length<=0?void 0:arguments[0]);const nt=_e._gettersPlain[tt],[rt,st]=reactExports.useState(nt.value);function it(at){st(at)}return et.current[tt]||(nt.onUpdated(it),et.current[tt]=!0),reactExports.useEffect(()=>()=>{_e.__removeCallback(it)},[]),rt};function _extends$1h(){return _extends$1h=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st}=et,it=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:it.current}));const at=getExtraAttrs(et),ot=classNames(tt,"accordion-item-content",colorClasses(et));return React.createElement("div",_extends$1h({id:nt,style:rt,className:ot,ref:it},at),st)});AccordionContent.displayName="f7-accordion-content";function _extends$1g(){return _extends$1g=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st,opened:it}=et,at=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:at.current}));const ot=(mt,bt)=>{at.current===mt&&emit(et,"accordionBeforeOpen",bt)},lt=mt=>{at.current===mt&&emit(et,"accordionOpen")},ct=mt=>{at.current===mt&&emit(et,"accordionOpened")},ut=(mt,bt)=>{at.current===mt&&emit(et,"accordionBeforeClose",bt)},dt=mt=>{at.current===mt&&emit(et,"accordionClose")},ft=mt=>{at.current===mt&&emit(et,"accordionClosed")},pt=()=>{f7ready(()=>{f7.on("accordionBeforeOpen",ot),f7.on("accordionOpen",lt),f7.on("accordionOpened",ct),f7.on("accordionBeforeClose",ut),f7.on("accordionClose",dt),f7.on("accordionClosed",ft)})},ht=()=>{f7.off("accordionBeforeOpen",ot),f7.off("accordionOpen",lt),f7.off("accordionOpened",ct),f7.off("accordionBeforeClose",ut),f7.off("accordionClose",dt),f7.off("accordionClosed",ft)};useIsomorphicLayoutEffect$1(()=>(pt(),ht));const vt=getExtraAttrs(et),gt=classNames(tt,"accordion-item",{"accordion-item-opened":it},colorClasses(et));return React.createElement("div",_extends$1g({id:nt,style:rt,className:gt,ref:at},vt),st)});AccordionItem.displayName="f7-accordion-item";function _extends$1f(){return _extends$1f=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st}=et,it=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:it.current}));const at=getExtraAttrs(et),ot=classNames(tt,"accordion-item-toggle",colorClasses(et));return React.createElement("div",_extends$1f({id:nt,style:rt,className:ot},at,{ref:it}),st)});AccordionToggle.displayName="f7-accordion-toggle";function _extends$1e(){return _extends$1e=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,accordionOpposite:st,children:it}=et,at=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:at.current}));const ot=getExtraAttrs(et),lt=classNames(tt,"accordion-list",st&&"accordion-opposite",colorClasses(et));return React.createElement("div",_extends$1e({id:nt,style:rt,className:lt,ref:at},ot),it)});Accordion.displayName="f7-accordion";function _extends$1d(){return _extends$1d=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,strong:st,close:it=!0}=et,at=getExtraAttrs(et),ot=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:ot.current}));const lt=classNames(tt,{"actions-button":!0,"actions-button-strong":st},colorClasses(et));let ct;const ut=getSlots(et);ut.media&&ut.media.length&&(ct=React.createElement("div",{className:"actions-button-media"},ut.media));const dt=ft=>{ot.current&&it&&f7&&f7.actions.close(f7.$(ot.current).parents(".actions-modal")),emit(et,"click",ft)};return React.createElement("div",_extends$1d({id:nt,style:rt,className:lt,ref:ot},at,{onClick:dt}),ct,React.createElement("div",{className:"actions-button-text"},ut.default))});ComponentName.displayName="f7-actions-button";function _extends$1c(){return _extends$1c=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st}=et,it=getExtraAttrs(et),at=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:at.current}));const ot=classNames(tt,"actions-group",colorClasses(et));return React.createElement("div",_extends$1c({id:nt,style:rt,className:ot,ref:at},it),st)});ActionsGroup.displayName="f7-actions-group";function _extends$1b(){return _extends$1b=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st,strong:it}=et,at=getExtraAttrs(et),ot=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:ot.current}));const lt=classNames(tt,"actions-label",{"actions-button-strong":it},colorClasses(et)),ct=ut=>{emit(et,"click",ut)};return React.createElement("div",_extends$1b({id:nt,style:rt,className:lt,ref:ot},at,{onClick:ct}),st)});ActionsLabel.displayName="f7-actions-label";function _extends$1a(){return _extends$1a=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st,grid:it,opened:at=!1,animate:ot}=et,lt=getExtraAttrs(et),ct=reactExports.useRef(null),ut=reactExports.useRef(at),dt=reactExports.useRef(!1),ft=reactExports.useRef(null),pt=$t=>{ut.current=!0,dt.current=!1,emit(et,"actionsOpen",$t)},ht=$t=>{emit(et,"actionsOpened",$t)},vt=$t=>{ut.current=!1,dt.current=!0,emit(et,"actionsClose",$t)},gt=$t=>{dt.current=!1,emit(et,"actionsClosed",$t)};reactExports.useImperativeHandle(_e,()=>({el:ct.current,f7Actions:()=>ft.current})),watchProp(at,$t=>{ft.current&&($t?ft.current.open():ft.current.close())});const mt=$t=>{ft.current&&(ft.current[$t]("open",pt),ft.current[$t]("opened",ht),ft.current[$t]("close",vt),ft.current[$t]("closed",gt))},bt=()=>{if(!ct.current)return;const{target:$t,convertToPopover:wt,forceToPopover:Ct,closeByBackdropClick:Et,closeByOutsideClick:Mt,closeOnEscape:St,backdrop:Rt,backdropEl:Pt,containerEl:kt}=et,_t={el:ct.current,grid:it};$t&&(_t.targetEl=$t),"convertToPopover"in et&&(_t.convertToPopover=wt),"forceToPopover"in et&&(_t.forceToPopover=Ct),"backdrop"in et&&(_t.backdrop=Rt),"backdropEl"in et&&(_t.backdropEl=Pt),"closeByBackdropClick"in et&&(_t.closeByBackdropClick=Et),"closeByOutsideClick"in et&&(_t.closeByOutsideClick=Mt),"closeOnEscape"in et&&(_t.closeOnEscape=St),"animate"in et&&(_t.animate=ot),"containerEl"in et&&(_t.containerEl=kt),f7ready(()=>{ft.current=f7.actions.create(_t),mt("on"),at&&ft.current.open(!1)})},xt=()=>{ft.current&&ft.current.destroy(),ft.current=null};useIsomorphicLayoutEffect$1(()=>(mt("on"),()=>{mt("off")})),useIsomorphicLayoutEffect$1(()=>(bt(),xt),[]);const yt=classNames(tt,"actions-modal",{"actions-grid":it},modalStateClasses({isOpened:ut,isClosing:dt}),colorClasses(et));return React.createElement("div",_extends$1a({id:nt,style:rt,className:yt,ref:ct},lt),st)});Actions.displayName="f7-actions";function _extends$19(){return _extends$19=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const[tt,nt]=reactExports.useState([]),rt=reactExports.useRef(null),st=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:rt.current}));const it=()=>{st.current={modals:tt,el:rt.current,setModals(ot){nt([...ot])}},f7routers.modals=st.current},at=()=>{st.current&&(f7routers.modals=null,st.current=null)};return useIsomorphicLayoutEffect$1(()=>(it(),at),[]),useIsomorphicLayoutEffect$1(()=>{!st.current||!f7||f7events.emit("modalsRouterDidUpdate",st.current)}),React.createElement("div",{ref:rt,className:"framework7-modals"},tt.map(ot=>{let{component:lt,id:ct,props:ut}=ot;return React.createElement(lt,_extends$19({key:ct},ut))}))});RoutableModals.displayName="f7-routable-modals";function _extends$18(){return _extends$18=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,style:nt,children:rt,...st}=et,it=getExtraAttrs(et),at=st,ot=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:ot.current}));const lt=classNames(tt,"framework7-root",colorClasses(et));return(!f7||typeof window>"u")&&f7init(ot.current,at,!1),useIsomorphicLayoutEffect$1(()=>{const ct=ot.current&&ot.current.parentNode;if(typeof document<"u"&&ct&&ct!==document.body&&ct.parentNode===document.body&&(ct.style.height="100%"),f7){f7.init(ot.current);return}f7init(ot.current,at,!0)},[]),React.createElement("div",_extends$18({id:"framework7-root",style:nt,className:lt,ref:ot},it),rt,React.createElement(RoutableModals,null))});App.displayName="f7-app";function _extends$17(){return _extends$17=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,lineChart:st=!1,datasets:it=[],axis:at=!1,axisLabels:ot=[],tooltip:lt=!1,legend:ct=!1,toggleDatasets:ut=!1,width:dt=640,height:ft=320,maxAxisLabels:pt=8,formatAxisLabel:ht,formatLegendLabel:vt,formatTooltip:gt,formatTooltipAxisLabel:mt,formatTooltipTotal:bt,formatTooltipDataset:xt,children:yt}=et,[$t,wt]=reactExports.useState(null),Ct=reactExports.useRef(null),[Et,Mt]=reactExports.useState([]),St=getExtraAttrs(et),Rt=reactExports.useRef(null),Pt=reactExports.useRef(null),kt=reactExports.useRef(null),_t=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:Rt.current}));const Bt=()=>{if(!pt||ot.length<=pt)return ot;const hn=Math.ceil(ot.length/pt);return ot.filter((Yt,xn)=>xn%hn===0)},It=()=>{const hn=[];return it.filter((mn,Yt)=>!Et.includes(Yt)).forEach(mn=>{let{values:Yt}=mn;Yt.forEach((xn,$n)=>{hn[$n]||(hn[$n]=0),hn[$n]+=xn})}),hn},At=()=>{const hn=[];if(!it.length)return hn;const mn=it[0].values.map(()=>0);let Yt=0;return st?it.forEach(xn=>{let{values:$n}=xn;const gn=Math.max(...$n);gn>Yt&&(Yt=gn)}):Yt=Math.max(...It()),it.filter((xn,$n)=>!Et.includes($n)).forEach(xn=>{let{label:$n,values:gn,color:wn}=xn;const _n=gn.map((Cn,Sn)=>{mn[Sn]+=Cn;const jn=st?Cn:mn[Sn],On=Sn/(gn.length-1)*dt,zn=ft-jn/Yt*ft;return st?`${Sn===0?"M":"L"}${On},${zn}`:`${On} ${zn}`});st||_n.push(`${dt} ${ft} 0 ${ft}`),hn.push({label:$n,points:_n.join(" "),color:wn})}),hn.reverse()},Tt=()=>{const hn=[];if(!it.length)return hn;const mn=it[0].values;return mn.forEach((Yt,xn)=>{const $n=xn/(mn.length-1)*dt;hn.push($n)}),hn},Dt=hn=>{ut&&(Et.includes(hn)?Et.splice(Et.indexOf(hn),1):Et.push(hn),Mt([...Et]))},Nt=hn=>ht?ht(hn):hn,Ot=hn=>vt?vt(hn):hn,Lt=()=>{const hn=Pt.current.querySelectorAll("line");_t.current=[];for(let mn=0;mn{if($t===null)return"";let hn=0;const mn=it.filter((gn,wn)=>!Et.includes(wn)).map(gn=>({color:gn.color,label:gn.label,value:gn.values[$t]}));if(mn.forEach(gn=>{hn+=gn.value}),gt)return gt({index:$t,total:hn,datasets:mn});let Yt=mt?mt(ot[$t]):Nt(ot[$t]);Yt||(Yt="");const xn=bt?bt(hn):hn,$n=mn.length>0?` +
          + ${mn.map(gn=>{let{label:wn,color:_n,value:Cn}=gn;const Sn=xt?xt(wn,Cn,_n):`${wn}: ${Cn}`;return` +
        • ${Sn}
        • + `}).join("")} +
        `:"";return` +
        ${Yt}
        +
        ${xn}
        + ${$n} + `},Ht=()=>{if(!lt)return;if(!(it.filter((mn,Yt)=>!Et.includes(Yt)).length>0)){kt.current&&kt.current.hide&&kt.current.hide();return}if($t!==null&&!kt.current){kt.current=f7.tooltip.create({trigger:"manual",containerEl:Rt.current,targetEl:Pt.current.querySelector(`line[data-index="${$t}"]`),text:jt(),cssClass:"area-chart-tooltip"}),kt.current&&kt.current.show&&kt.current.show();return}!kt.current||!kt.current.hide||!kt.current.show||($t!==null?(kt.current.setText(jt()),kt.current.setTargetEl(Pt.current.querySelector(`line[data-index="${$t}"]`)),kt.current.show()):kt.current.hide())},Ft=()=>{Lt()},Vt=hn=>{_t.current||Lt();let mn=hn.pageX;typeof mn>"u"&&(mn=0);const Yt=_t.current.map(gn=>Math.abs(mn-gn)),xn=Math.min(...Yt),$n=Yt.indexOf(xn);wt($n)},zt=()=>{wt(null)},Ut=()=>{Pt.current&&(Pt.current.addEventListener("mouseenter",Ft),Pt.current.addEventListener("mousemove",Vt),Pt.current.addEventListener("mouseleave",zt))},qt=()=>{Pt.current&&(Pt.current.removeEventListener("mouseenter",Ft),Pt.current.removeEventListener("mousemove",Vt),Pt.current.removeEventListener("mouseleave",zt))};reactExports.useEffect(()=>{Ct.current!==$t&&(Ct.current=$t,emit(et,"select",$t),Ht())},[$t]),reactExports.useEffect(()=>(Ut(),qt)),reactExports.useEffect(()=>()=>{kt.current&&kt.current.destroy&&kt.current.destroy(),kt.current=null},[]);const Wt=classNames("area-chart",tt),Jt=At(),Qt=Tt(),Zt=Bt(),Gt=ut?"button":"span",Kt=st?"path":"polygon";return React.createElement("div",_extends$17({id:nt,style:rt,className:Wt,ref:Rt},St),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:dt,height:ft,viewBox:`0 0 ${dt} ${ft}`,preserveAspectRatio:"none",ref:Pt},Jt.map((hn,mn)=>React.createElement(Kt,{key:`${Kt}-${mn}`,fill:st?void 0:hn.color,stroke:st?hn.color:void 0,fillRule:"evenodd",points:st?void 0:hn.points,d:st?hn.points:void 0})),Qt.map((hn,mn)=>React.createElement("line",{key:`line-${mn}`,"data-index":mn,fill:"#000",x1:hn,y1:0,x2:hn,y2:ft,className:classNames({"area-chart-current-line":$t===mn})}))),at&&React.createElement("div",{className:"area-chart-axis"},ot.map((hn,mn)=>React.createElement("span",{key:mn},Zt.includes(hn)&&React.createElement("span",null,Nt(hn))))),ct&&React.createElement("div",{className:"area-chart-legend"},it.map((hn,mn)=>React.createElement(Gt,{key:mn,className:classNames("area-chart-legend-item",{"area-chart-legend-item-hidden":Et.includes(mn),"area-chart-legend-button":ut}),type:ut?"button":void 0,onClick:()=>Dt(mn)},React.createElement("span",{style:{backgroundColor:hn.color}}),Ot(hn.label)))),yt)});AreaChart.displayName="f7-area-chart";const useTooltip=(et,_e)=>{const tt=reactExports.useRef(null),{tooltip:nt,tooltipTrigger:rt}=_e,st=()=>{et.current&&nt&&f7ready(()=>{tt.current=f7.tooltip.create({targetEl:et.current,text:nt,trigger:rt})})},it=()=>{tt.current&&tt.current.destroy&&(tt.current.destroy(),tt.current=null)};reactExports.useEffect(()=>(st(),it),[]),watchProp(nt,at=>{if(!at&&tt.current){tt.current.destroy(),tt.current=null;return}if(at&&!tt.current&&f7){tt.current=f7.tooltip.create({targetEl:et.current,text:at,trigger:rt});return}!at||!tt.current||tt.current.setText(at)})};function _extends$16(){return _extends$16=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st}=et,it=getExtraAttrs(et),at=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:at.current})),useTooltip(at,et);const ot=classNames(tt,"badge",colorClasses(et));return React.createElement("span",_extends$16({id:nt,style:rt,className:ot,ref:at},it),st)});Badge.displayName="f7-badge";function _extends$15(){return _extends$15=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st}=et,it=getExtraAttrs(et),at=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:at.current}));const ot=classNames(tt,"block-footer",colorClasses(et));return React.createElement("div",_extends$15({id:nt,style:rt,className:ot,ref:at},it),st)});BlockFooter.displayName="f7-block-footer";function _extends$14(){return _extends$14=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st}=et,it=getExtraAttrs(et),at=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:at.current}));const ot=classNames(tt,"block-header",colorClasses(et));return React.createElement("div",_extends$14({id:nt,style:rt,className:ot,ref:at},it),st)});BlockHeader.displayName="f7-block-header";function _extends$13(){return _extends$13=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st,large:it,medium:at}=et,ot=getExtraAttrs(et),lt=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:lt.current}));const ct=classNames(tt,"block-title",{"block-title-large":it,"block-title-medium":at},colorClasses(et));return React.createElement("div",_extends$13({id:nt,style:rt,className:ct,ref:lt},ot),st)});BlockTitle.displayName="f7-block-title";function _extends$12(){return _extends$12=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,inset:nt,insetIos:rt,insetMd:st,xsmallInset:it,xsmallInsetIos:at,xsmallInsetMd:ot,smallInset:lt,smallInsetIos:ct,smallInsetMd:ut,mediumInset:dt,mediumInsetIos:ft,mediumInsetMd:pt,largeInset:ht,largeInsetIos:vt,largeInsetMd:gt,xlargeInset:mt,xlargeInsetIos:bt,xlargeInsetMd:xt,strong:yt,strongIos:$t,strongMd:wt,outline:Ct,outlineIos:Et,outlineMd:Mt,accordionList:St,accordionOpposite:Rt,tabs:Pt,tab:kt,tabActive:_t,id:Bt,style:It,children:At}=et,Tt=getExtraAttrs(et),Dt=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:Dt.current})),useTab(Dt,et);const Nt=classNames(tt,"block",{inset:nt,"inset-ios":rt,"inset-md":st,"xsmall-inset":it,"xsmall-inset-ios":at,"xsmall-inset-md":ot,"small-inset":lt,"small-inset-ios":ct,"small-inset-md":ut,"medium-inset":dt,"medium-inset-ios":ft,"medium-inset-md":pt,"large-inset":ht,"large-inset-ios":vt,"large-inset-md":gt,"xlarge-inset":mt,"xlarge-inset-ios":bt,"xlarge-inset-md":xt,"block-strong":yt,"block-strong-ios":$t,"block-strong-md":wt,"block-outline":Ct,"block-outline-ios":Et,"block-outline-md":Mt,"accordion-list":St,"accordion-opposite":Rt,tabs:Pt,tab:kt,"tab-active":_t},colorClasses(et));return React.createElement("div",_extends$12({id:Bt,style:It,className:Nt,ref:Dt},Tt),At)});Block.displayName="f7-block";function _extends$11(){return _extends$11=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st}=et,it=getExtraAttrs(et),at=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:at.current}));const ot=lt=>{emit(et,"click",lt)};return React.createElement("div",_extends$11({className:classNames("breadcrumbs-collapsed",tt),ref:at,id:nt,style:rt,onClick:ot},it),React.createElement("span",null),st)});BreadcrumbsCollapsed.displayName="f7-breadcrumbs-collapsed";function _extends$10(){return _extends$10=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,active:st,children:it}=et,at=getExtraAttrs(et),ot=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:ot.current}));const lt=ct=>{emit(et,"click",ct)};return React.createElement("div",_extends$10({className:classNames("breadcrumbs-item",tt,st&&"breadcrumbs-item-active"),ref:ot,id:nt,style:rt,onClick:lt},at),it)});BreadcrumbsItem.displayName="f7-breadcrumbs-item";function _extends$$(){return _extends$$=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt}=et,st=getExtraAttrs(et),it=reactExports.useRef(null);return reactExports.useImperativeHandle(_e,()=>({el:it.current})),React.createElement("div",_extends$$({className:classNames("breadcrumbs-separator",tt),ref:it,id:nt,style:rt},st))});BreadcrumbsSeparator.displayName="f7-breadcrumbs-separator";function _extends$_(){return _extends$_=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st}=et,it=getExtraAttrs(et),at=reactExports.useRef(null);return reactExports.useImperativeHandle(_e,()=>({el:at.current})),React.createElement("div",_extends$_({className:classNames("breadcrumbs",tt),ref:at,id:nt,style:rt},it),st)});Breadcrumbs.displayName="f7-breadcrumbs";const useTheme=()=>{const[et,_e]=reactExports.useState(f7?theme:null);return f7||f7ready(()=>{_e(theme)}),et};function _extends$Z(){return _extends$Z=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const tt=useTheme(),{className:nt,id:rt,style:st,children:it,material:at,f7:ot,icon:lt,md:ct,ios:ut,size:dt}=et,ft=getExtraAttrs(et),pt=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:pt.current})),useTooltip(pt,et);const ht=()=>{let mt={icon:!0},bt;if(tt&&tt.ios?bt=ut:tt&&tt.md&&(bt=ct),bt){const xt=bt.split(":"),yt=xt[0],$t=xt[1];(yt==="material"||yt==="f7")&&(mt["material-icons"]=yt==="material",mt["f7-icons"]=yt==="f7"),yt==="icon"&&(mt[$t]=!0),lt&&(mt[lt]=!0)}else mt={icon:!0,"material-icons":at,"f7-icons":ot},lt&&(mt[lt]=!0);return classNames(nt,mt,colorClasses(et))},vt=()=>{let mt=at||ot;return ct&&tt&&tt.md&&(ct.indexOf("material:")>=0||ct.indexOf("f7:")>=0)?mt=ct.split(":")[1]:ut&&tt&&tt.ios&&(ut.indexOf("material:")>=0||ut.indexOf("f7:")>=0)&&(mt=ut.split(":")[1]),mt};let gt=dt;return(typeof dt=="number"||parseFloat(dt)===dt*1)&&(gt=`${dt}px`),React.createElement("i",_extends$Z({id:rt,style:extend$1({fontSize:gt,width:gt,height:gt},st),className:ht(),ref:pt},ft),vt(),it)});Icon.displayName="f7-icon";const useIcon=function(et){et===void 0&&(et={});const{icon:_e,iconMaterial:tt,iconF7:nt,iconMd:rt,iconIos:st,iconColor:it,iconSize:at,iconBadge:ot,badgeColor:lt,iconBadgeColor:ct}=et;return _e||tt||nt||rt||st?React.createElement(Icon,{material:tt,f7:nt,icon:_e,md:rt,ios:st,color:it,size:at},(ot||ot===0)&&React.createElement(Badge,{color:lt||ct},ot)):null},useRouteProps=function(et,_e){let{routeProps:tt}=_e===void 0?{}:_e;reactExports.useEffect(()=>(et.current&&(et.current.f7RouteProps=tt),()=>{et.current&&et.current.f7RouteProps&&delete et.current.f7RouteProps}),[tt])};function _extends$Y(){return _extends$Y=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const tt=useTheme(),{className:nt,id:rt,style:st,size:it}=et,at=getExtraAttrs(et),ot=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:ot.current}));const lt={};let ct=it;ct&&typeof ct=="string"&&ct.indexOf("px")>=0&&(ct=ct.replace("px","")),ct&&(lt.width=`${ct}px`,lt.height=`${ct}px`,lt["--f7-preloader-size"]=`${ct}px`),st&&extend$1(lt,st||{});let ut;tt&&tt.md?ut=React.createElement("span",{className:"preloader-inner"},React.createElement("svg",{viewBox:"0 0 36 36"},React.createElement("circle",{cx:"18",cy:"18",r:"16"}))):tt&&tt.ios?ut=React.createElement("span",{className:"preloader-inner"},React.createElement("span",{className:"preloader-inner-line"}),React.createElement("span",{className:"preloader-inner-line"}),React.createElement("span",{className:"preloader-inner-line"}),React.createElement("span",{className:"preloader-inner-line"}),React.createElement("span",{className:"preloader-inner-line"}),React.createElement("span",{className:"preloader-inner-line"}),React.createElement("span",{className:"preloader-inner-line"}),React.createElement("span",{className:"preloader-inner-line"})):tt||(ut=React.createElement("span",{className:"preloader-inner"}));const dt=classNames(nt,{preloader:!0},colorClasses(et));return React.createElement("span",_extends$Y({id:rt,style:lt,className:dt,ref:ot},at),ut)});Preloader.displayName="f7-preloader";function _extends$X(){return _extends$X=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st,text:it,type:at,href:ot="#",target:lt,tabLink:ct,tabLinkActive:ut,round:dt,roundIos:ft,roundMd:pt,fill:ht,fillIos:vt,fillMd:gt,tonal:mt,tonalIos:bt,tonalMd:xt,large:yt,largeIos:$t,largeMd:wt,small:Ct,smallIos:Et,smallMd:Mt,raised:St,raisedIos:Rt,raisedMd:Pt,active:kt,outline:_t,outlineIos:Bt,outlineMd:It,disabled:At,preloader:Tt,preloaderSize:Dt,preloaderColor:Nt,loading:Ot}=et,Lt=getExtraAttrs(et),jt=reactExports.useRef(null),Ht=Wt=>{emit(et,"click",Wt)};reactExports.useImperativeHandle(_e,()=>({el:jt.current})),useTooltip(jt,et),useRouteProps(jt,et);const Ft=()=>classNames(tt,"button",{"tab-link":ct||ct==="","tab-link-active":ut,"button-round":dt,"button-round-ios":ft,"button-round-md":pt,"button-fill":ht,"button-fill-ios":vt,"button-fill-md":gt,"button-tonal":mt,"button-tonal-ios":bt,"button-tonal-md":xt,"button-large":yt,"button-large-ios":$t,"button-large-md":wt,"button-small":Ct,"button-small-ios":Et,"button-small-md":Mt,"button-raised":St,"button-raised-ios":Rt,"button-raised-md":Pt,"button-active":kt,"button-outline":_t,"button-outline-ios":Bt,"button-outline-md":It,"button-preloader":Tt,"button-loading":Ot,disabled:At},colorClasses(et),routerClasses(et),actionsClasses(et)),Vt=at==="submit"||at==="reset"||at==="button"?"button":"a",zt=()=>{let Wt=ot;return ot===!0&&(Wt="#"),(ot===!1||Vt==="button")&&(Wt=void 0),extend$1({href:Wt,target:lt,type:at,"data-tab":isStringProp(ct)&&ct||void 0},routerAttrs(et),actionsAttrs(et))},Ut=useIcon(et);let qt;return it&&(qt=React.createElement("span",null,it)),Tt?React.createElement(Vt,_extends$X({ref:jt,id:nt,style:rt,className:Ft()},zt(),Lt,{onClick:Ht}),React.createElement(Preloader,{size:Dt,color:Nt}),React.createElement("span",null,Ut,qt,st)):React.createElement(Vt,_extends$X({ref:jt,id:nt,style:rt,className:Ft()},zt(),Lt,{onClick:Ht}),Ut,qt,st)});Button.displayName="f7-button";function _extends$W(){return _extends$W=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st,padding:it=!0}=et,at=getExtraAttrs(et),ot=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:ot.current}));const lt=classNames(tt,"card-content",{"card-content-padding":it},colorClasses(et));return React.createElement("div",_extends$W({id:nt,style:rt,className:lt,ref:ot},at),st)});CardContent.displayName="f7-card-content";function _extends$V(){return _extends$V=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st}=et,it=getExtraAttrs(et),at=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:at.current}));const ot=classNames(tt,"card-footer",colorClasses(et));return React.createElement("div",_extends$V({id:nt,style:rt,className:ot,ref:at},it),st)});CardFooter.displayName="f7-card-footer";function _extends$U(){return _extends$U=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st}=et,it=getExtraAttrs(et),at=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:at.current}));const ot=classNames(tt,"card-header",colorClasses(et));return React.createElement("div",_extends$U({id:nt,style:rt,className:ot,ref:at},it),st)});CardHeader.displayName="f7-card-header";function _extends$T(){return _extends$T=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,title:st,content:it,footer:at,padding:ot,raised:lt,outline:ct,outlineIos:ut,outlineMd:dt,headerDivider:ft,footerDivider:pt,expandable:ht,expandableAnimateWidth:vt,expandableOpened:gt,animate:mt,hideNavbarOnOpen:bt,hideToolbarOnOpen:xt,hideStatusbarOnOpen:yt,scrollableEl:$t,swipeToClose:wt,closeByBackdropClick:Ct,backdrop:Et,backdropEl:Mt}=et,St=getExtraAttrs(et),Rt=reactExports.useRef(null),Pt=()=>{Rt.current&&f7.card.open(Rt.current)},kt=()=>{Rt.current&&f7.card.close(Rt.current)},_t=(zt,Ut)=>{Rt.current===zt&&emit(et,"cardBeforeOpen",zt,Ut)},Bt=zt=>{Rt.current===zt&&emit(et,"cardOpen",zt)},It=(zt,Ut)=>{Rt.current===zt&&emit(et,"cardOpened",zt,Ut)},At=zt=>{Rt.current===zt&&emit(et,"cardClose",zt)},Tt=(zt,Ut)=>{Rt.current===zt&&emit(et,"cardClosed",zt,Ut)},Dt=()=>{!ht||!Rt.current||f7ready(()=>{f7.on("cardBeforeOpen",_t),f7.on("cardOpen",Bt),f7.on("cardOpened",It),f7.on("cardClose",At),f7.on("cardClosed",Tt)})},Nt=()=>{f7.off("cardBeforeOpen",_t),f7.off("cardOpen",Bt),f7.off("cardOpened",It),f7.off("cardClose",At),f7.off("cardClosed",Tt)},Ot=()=>{!ht||!Rt.current||f7ready(()=>{ht&>&&f7.card.open(Rt.current,!1)})};useIsomorphicLayoutEffect$1(()=>{Ot()},[]),useIsomorphicLayoutEffect$1(()=>(Dt(),Nt)),watchProp(gt,zt=>{zt?Pt():kt()}),reactExports.useImperativeHandle(_e,()=>({el:Rt.current,open:Pt,close:kt}));let Lt,jt,Ht;const Ft=classNames(tt,"card",{"card-raised":lt,"card-header-divider":ft,"card-footer-divider":pt,"card-outline":ct,"card-outline-ios":ut,"card-outline-md":dt,"card-expandable":ht,"card-expandable-animate-width":vt},colorClasses(et)),Vt=getSlots(et);return(st||Vt.header)&&(Lt=React.createElement(CardHeader,null,st,Vt.header)),(it||Vt.content)&&(jt=React.createElement(CardContent,{padding:ot},it,Vt.content)),(at||Vt.footer)&&(Ht=React.createElement(CardFooter,null,at,Vt.footer)),React.createElement("div",_extends$T({id:nt,style:rt,className:Ft,"data-animate":typeof mt>"u"?mt:mt.toString(),"data-hide-navbar-on-open":typeof bt>"u"?bt:bt.toString(),"data-hide-toolbar-on-open":typeof xt>"u"?xt:xt.toString(),"data-hide-statusbar-on-open":typeof yt>"u"?yt:yt.toString(),"data-scrollable-el":$t,"data-swipe-to-close":typeof wt>"u"?wt:wt.toString(),"data-close-by-backdrop-click":typeof Ct>"u"?Ct:Ct.toString(),"data-backdrop":typeof Et>"u"?Et:Et.toString(),"data-backdrop-el":Mt,ref:Rt},St),Lt,jt,Ht,Vt.default)});Card.displayName="f7-card";function _extends$S(){return _extends$S=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st,name:it,value:at,disabled:ot,readonly:lt,checked:ct,defaultChecked:ut,indeterminate:dt}=et,ft=getExtraAttrs(et),pt=reactExports.useRef(null),ht=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:pt.current,inputEl:ht.current}));const vt=xt=>{emit(et,"change",xt)};reactExports.useEffect(()=>{ht.current&&(ht.current.indeterminate=!!dt)},[dt]);const gt=React.createElement("input",{ref:ht,type:"checkbox",name:it,value:at,disabled:ot,readOnly:lt,checked:ct,defaultChecked:ut,onChange:vt}),mt=React.createElement("i",{className:"icon-checkbox"}),bt=classNames(tt,{checkbox:!0,disabled:ot},colorClasses(et));return React.createElement("label",_extends$S({id:nt,style:rt,className:bt,ref:pt},ft),gt,mt,st)});Checkbox.displayName="f7-checkbox";function _extends$R(){return _extends$R=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,media:st,text:it,deleteable:at,mediaTextColor:ot,mediaBgColor:lt,outline:ct}=et,ut=getExtraAttrs(et),dt=yt=>{emit(et,"click",yt)},ft=yt=>{emit(et,"delete",yt)},pt=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:pt.current})),useTooltip(pt,et);const ht=getSlots(et),vt=useIcon(et);let gt,mt,bt;if(st||vt||ht&&ht.media){const yt=classNames("chip-media",ot&&`text-color-${ot}`,lt&&`bg-color-${lt}`);gt=React.createElement("div",{className:yt},vt,st,ht.media)}(it||ht&&(ht.text||ht.default&&ht.default.length))&&(mt=React.createElement("div",{className:"chip-label"},it,ht.text,ht.default)),at&&(bt=React.createElement("a",{className:"chip-delete",onClick:ft}));const xt=classNames(tt,"chip",{"chip-outline":ct},colorClasses(et));return React.createElement("div",_extends$R({id:nt,style:rt,className:xt,ref:pt},ut,{onClick:dt}),gt,mt,bt)});Chip.displayName="f7-chip";function _extends$Q(){return _extends$Q=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st}=et,it=getExtraAttrs(et),at=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:at.current}));const ot=classNames(tt,"fab-backdrop");return React.createElement("div",_extends$Q({id:nt,style:rt,className:ot,ref:at},it),st)});FabBackdrop.displayName="f7-fab-backdrop";function _extends$P(){return _extends$P=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st,fabClose:it,label:at,target:ot}=et,lt=getExtraAttrs(et),ct=reactExports.useRef(null),ut=pt=>{emit(et,"click",pt)};reactExports.useImperativeHandle(_e,()=>({el:ct.current})),useTooltip(ct,et);const dt=classNames(tt,{"fab-close":it,"fab-label-button":at},colorClasses(et));let ft;return at&&(ft=React.createElement("span",{className:"fab-label"},at)),React.createElement("a",_extends$P({id:nt,style:rt,target:ot,className:dt,ref:ct},lt,{onClick:ut}),st,ft)});FabButton.displayName="f7-fab-button";function _extends$O(){return _extends$O=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st,position:it}=et,at=getExtraAttrs(et),ot=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:ot.current}));const lt=classNames(tt,"fab-buttons",`fab-buttons-${it}`,colorClasses(et));return React.createElement("div",_extends$O({id:nt,style:rt,className:lt,ref:ot},at),st)});FabButtons.displayName="f7-fab-buttons";function _extends$N(){return _extends$N=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,morphTo:st,href:it,target:at,text:ot,position:lt="right-bottom"}=et,ct=getExtraAttrs(et),ut=reactExports.useRef(null),dt=wt=>{emit(et,"click",wt)};reactExports.useImperativeHandle(_e,()=>({el:ut.current})),useTooltip(ut,et);let ft=it;ft===!0&&(ft="#"),ft===!1&&(ft=void 0);const pt=[],ht=[],{link:vt,default:gt,root:mt,text:bt}=getSlots(et);if(gt)for(let wt=0;wt{const{className:tt,id:nt,style:rt,type:st="circle",value:it=0,size:at=200,bgColor:ot="transparent",borderBgColor:lt="#eeeeee",borderColor:ct="#000000",borderWidth:ut=10,valueText:dt,valueTextColor:ft="#000000",valueFontSize:pt=31,valueFontWeight:ht=500,labelText:vt,labelTextColor:gt="#888888",labelFontSize:mt=14,labelFontWeight:bt=400}=et,xt=getExtraAttrs(et),yt=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:yt.current}));const $t=classNames(tt,"gauge"),wt=st==="semicircle",Ct=at/2-ut/2,Et=2*Math.PI*Ct,Mt=Math.max(Math.min(it,1),0);return React.createElement("div",_extends$M({id:nt,style:rt,className:$t,ref:yt},xt),React.createElement("svg",{className:"gauge-svg",width:`${at}px`,height:`${wt?at/2:at}px`,viewBox:`0 0 ${at} ${wt?at/2:at}`},wt&&React.createElement("path",{className:"gauge-back-semi",d:`M${at-ut/2},${at/2} a1,1 0 0,0 -${at-ut},0`,stroke:lt,strokeWidth:ut,fill:ot||"none"}),wt&&React.createElement("path",{className:"gauge-front-semi",d:`M${at-ut/2},${at/2} a1,1 0 0,0 -${at-ut},0`,stroke:ct,strokeWidth:ut,strokeDasharray:Et/2,strokeDashoffset:Et/2*(1+Mt),fill:lt?"none":ot||"none"}),!wt&<&&React.createElement("circle",{className:"gauge-back-circle",stroke:lt,strokeWidth:ut,fill:ot||"none",cx:at/2,cy:at/2,r:Ct}),!wt&&React.createElement("circle",{className:"gauge-front-circle",transform:`rotate(-90 ${at/2} ${at/2})`,stroke:ct,strokeWidth:ut,strokeDasharray:Et,strokeDashoffset:Et*(1-Mt),fill:lt?"none":ot||"none",cx:at/2,cy:at/2,r:Ct}),dt&&React.createElement("text",{className:"gauge-value-text",x:"50%",y:wt?"100%":"50%",fontWeight:ht,fontSize:pt,fill:ft,dy:wt?vt?-mt-15:-5:0,textAnchor:"middle",dominantBaseline:wt?null:"middle"},dt),vt&&React.createElement("text",{className:"gauge-label-text",x:"50%",y:wt?"100%":"50%",fontWeight:bt,fontSize:mt,fill:gt,dy:wt?-5:dt?pt/2+10:0,textAnchor:"middle",dominantBaseline:wt?null:"middle"},vt)))});Gauge.displayName="f7-gauge";function _extends$L(){return _extends$L=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const tt=reactExports.useRef(null),{className:nt,id:rt,style:st,init:it=!0,checked:at,defaultChecked:ot,disabled:lt,readonly:ct,name:ut,value:dt}=et,ft=getExtraAttrs(et),pt=reactExports.useRef(null),ht=reactExports.useRef(null),vt=wt=>{emit(et,"change",wt)};reactExports.useImperativeHandle(_e,()=>({el:pt.current,f7Toggle:()=>tt.current})),useTooltip(pt,et),watchProp(at,wt=>{tt.current&&(tt.current.checked=wt)});const gt=wt=>{emit(et,"toggleChange",wt.checked)},mt=wt=>{tt.current&&tt.current[wt]("toggleChange",gt)},bt=()=>{f7ready(()=>{!it||!pt.current||(tt.current=f7.toggle.create({el:pt.current}),mt("on"))})},xt=()=>{tt.current&&tt.current.destroy&&tt.current.$el&&tt.current.destroy(),tt.current=null};useIsomorphicLayoutEffect$1(()=>(mt("on"),ht.current&&ht.current.addEventListener("change",vt),()=>{mt("off"),ht.current&&ht.current.removeEventListener("change",vt)})),useIsomorphicLayoutEffect$1(()=>(bt(),xt),[]);const yt=classNames("toggle",nt,{disabled:lt},colorClasses(et)),$t=React.createElement("input",{ref:ht,type:"checkbox",name:ut,disabled:lt,readOnly:ct,checked:at,defaultChecked:ot,value:dt,onChange:()=>{}});return React.createElement("label",_extends$L({id:rt,style:st,className:yt,ref:pt},ft),$t,React.createElement("span",{className:"toggle-icon"}))});Toggle.displayName="f7-toggle";function _extends$K(){return _extends$K=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const tt=reactExports.useRef(null),{className:nt,id:rt,style:st,children:it,init:at=!0,value:ot=0,min:lt=0,max:ct=100,step:ut=1,label:dt=!1,dual:ft=!1,vertical:pt=!1,verticalReversed:ht=!1,draggableBar:vt=!0,formatLabel:gt,scale:mt=!1,scaleSteps:bt=5,scaleSubSteps:xt=0,formatScaleLabel:yt,limitKnobPosition:$t=void 0,name:wt,input:Ct,inputId:Et,disabled:Mt}=et,St=getExtraAttrs(et),Rt=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:Rt.current,f7Range:()=>tt.current})),watchProp(ot,Tt=>{if(!tt.current)return;const Dt=tt.current.value;Array.isArray(Tt)&&Array.isArray(Dt)?(Dt[0]!==Tt[0]||Dt[1]!==Tt[1])&&tt.current.setValue(Tt):tt.current.setValue(Tt)});const Pt=(Tt,Dt)=>{emit(et,"rangeChange",Dt)},kt=(Tt,Dt)=>{emit(et,"rangeChanged",Dt)},_t=Tt=>{tt.current&&(tt.current[Tt]("change",Pt),tt.current[Tt]("changed",kt))},Bt=()=>{f7ready(()=>{!at||!Rt.current||(tt.current=f7.range.create(noUndefinedProps({el:Rt.current,value:ot,min:lt,max:ct,step:ut,label:dt,dual:ft,draggableBar:vt,vertical:pt,verticalReversed:ht,formatLabel:gt,scale:mt,scaleSteps:bt,scaleSubSteps:xt,formatScaleLabel:yt,limitKnobPosition:$t})),_t("on"))})},It=()=>{tt.current&&tt.current.destroy&&tt.current.destroy(),tt.current=null};useIsomorphicLayoutEffect$1(()=>(_t("on"),()=>{_t("off")})),useIsomorphicLayoutEffect$1(()=>(Bt(),It),[]);const At=classNames(nt,"range-slider",{"range-slider-horizontal":!pt,"range-slider-vertical":pt,"range-slider-vertical-reversed":pt&&ht,disabled:Mt},colorClasses(et));return React.createElement("div",_extends$K({ref:Rt,id:rt,style:st,className:At},St),Ct&&React.createElement("input",{type:"range",name:wt,id:Et}),it)});Range.displayName="f7-range";function _extends$J(){return _extends$J=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const tt=reactExports.useRef(null),{className:nt,id:rt,style:st,mode:it,value:at,buttons:ot,customButtons:lt,dividers:ct,imageUrlText:ut,linkUrlText:dt,placeholder:ft,clearFormattingOnPaste:pt,resizable:ht=!1}=et,vt=getExtraAttrs(et),gt=reactExports.useRef(null),mt=(It,At)=>{emit(et,"textEditorChange",At)},bt=(It,At)=>{emit(et,"textEditorInput",At)},xt=()=>{emit(et,"textEditorFocus")},yt=()=>{emit(et,"textEditorBlur")},$t=(It,At)=>{emit(et,"textEditorButtonClick",At)},wt=()=>{emit(et,"textEditorKeyboardOpen")},Ct=()=>{emit(et,"textEditorKeyboardClose")},Et=()=>{emit(et,"textEditorPopoverOpen")},Mt=()=>{emit(et,"textEditorPopoverClose")},St=(It,At)=>{emit(et,"textEditorInsertLink",At)},Rt=(It,At)=>{emit(et,"textEditorInsertImage",At)};reactExports.useImperativeHandle(_e,()=>({el:gt.current,f7TextEditor:()=>tt.current})),watchProp(at,It=>{tt.current&&tt.current.setValue(It)});const Pt=()=>{const It=noUndefinedProps({el:gt.current,mode:it,value:at,buttons:ot,customButtons:lt,dividers:ct,imageUrlText:ut,linkUrlText:dt,placeholder:ft,clearFormattingOnPaste:pt,on:{change:mt,input:bt,focus:xt,blur:yt,buttonClick:$t,keyboardOpen:wt,keyboardClose:Ct,popoverOpen:Et,popoverClose:Mt,insertLink:St,insertImage:Rt}});f7ready(()=>{tt.current=f7.textEditor.create(It)})},kt=()=>{tt.current&&tt.current.destroy&&tt.current.destroy(),tt.current=null};useIsomorphicLayoutEffect$1(()=>(Pt(),kt),[]);const _t=getSlots(et),Bt=classNames(nt,"text-editor",ht&&"text-editor-resizable",colorClasses(et));return React.createElement("div",_extends$J({ref:gt,id:rt,style:st,className:Bt},vt),_t["root-start"],React.createElement("div",{className:"text-editor-content",contentEditable:!0},_t.default),_t["root-end"],_t.root)});TextEditor.displayName="f7-text-editor";function _extends$I(){return _extends$I=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,type:st,name:it,value:at,defaultValue:ot,inputmode:lt,placeholder:ct,inputId:ut,size:dt,accept:ft,autocomplete:pt,autocorrect:ht,autocapitalize:vt,spellcheck:gt,autofocus:mt,autosave:bt,checked:xt,disabled:yt,max:$t,min:wt,step:Ct,maxlength:Et,minlength:Mt,multiple:St,readonly:Rt,required:Pt,inputStyle:kt,pattern:_t,validate:Bt,validateOnBlur:It,onValidate:At,tabindex:Tt,resizable:Dt,clearButton:Nt,noFormStoreData:Ot,noStoreData:Lt,ignoreStoreData:jt,errorMessage:Ht,errorMessageForce:Ft,info:Vt,outline:zt,wrap:Ut=!0,dropdown:qt="auto",calendarParams:Wt,colorPickerParams:Jt,textEditorParams:Qt}=et,[Zt,Gt]=reactExports.useState(!1),[Kt,hn]=reactExports.useState(!1),mn=getExtraAttrs(et),Yt=reactExports.useRef(null),xn=reactExports.useRef(null),$n=reactExports.useRef(null),gn=reactExports.useRef(null),wn=reactExports.useRef(!1),_n=()=>{if(gn.current)return gn.current.value},Cn=()=>{if(st==="datepicker"&&Array.isArray(at)&&at.length===0)return!1;const An=_n();return typeof at>"u"?An||An===0:at||at===0},Sn=()=>{if(!f7||!gn.current)return;const An=gn.current.validity;An&&(An.valid?(At&&At(!0),Zt!==!1&&Gt(!1)):(At&&At(!1),Zt!==!0&&Gt(!0)))},jn=An=>{emit(et,"textareaResize",An)},On=An=>{emit(et,"inputNotEmpty",An)},zn=An=>{emit(et,"inputEmpty",An)},Pn=An=>{emit(et,"inputClear",An)},Ln=function(){for(var An=arguments.length,Nn=new Array(An),bn=0;bn({el:$n.current}));const tr=()=>{f7ready(()=>{st==="range"||st==="toggle"||gn.current&&(gn.current.addEventListener("input:notempty",On,!1),st==="textarea"&&Dt&&gn.current.addEventListener("textarea:resize",jn,!1),Nt&&(gn.current.addEventListener("input:empty",zn,!1),gn.current.addEventListener("input:clear",Pn,!1)),st==="datepicker"&&(Yt.current=f7.calendar.create({inputEl:gn.current,value:at,on:{change(An,Nn){emit(et,"calendarChange",Nn)}},...Wt||{}})),st==="colorpicker"&&(xn.current=f7.colorPicker.create({inputEl:gn.current,value:at,on:{change(An,Nn){emit(et,"colorPickerChange",Nn)}},...Jt||{}})),f7.input.checkEmptyState(gn.current),!(It||It==="")&&(Bt||Bt==="")&&(typeof at<"u"&&at!==null&&at!==""||typeof ot<"u"&&ot!==null&&ot!=="")&&setTimeout(()=>{Sn()},0),Dt&&f7.input.resizeTextarea(gn.current))})},Yn=()=>{st==="range"||st==="toggle"||gn.current&&(gn.current.removeEventListener("input:notempty",On,!1),st==="textarea"&&Dt&&gn.current.removeEventListener("textarea:resize",jn,!1),Nt&&(gn.current.removeEventListener("input:empty",zn,!1),gn.current.removeEventListener("input:clear",Pn,!1)),Yt.current&&Yt.current.destroy&&(Yt.current.destroy(),Yt.current=null),xn.current&&xn.current.destroy&&(xn.current.destroy(),xn.current=null))};useIsomorphicLayoutEffect$1(()=>(tr(),Yn),[]),useIsomorphicLayoutEffect$1(()=>{if(f7&&wn.current){if(!gn.current)return;wn.current=!1,f7.input.checkEmptyState(gn.current),Bt&&!It&&Sn(),Dt&&f7.input.resizeTextarea(gn.current)}}),watchProp(Jt,An=>{!f7||!xn.current||extend$1(xn.current.params,An||{})}),watchProp(Wt,An=>{!f7||!Yt.current||extend$1(Yt.current.params,An||{})}),watchProp(at,An=>{st==="range"||st==="toggle"||f7&&(wn.current=!0,Yt.current&&Yt.current.setValue(An),xn.current&&xn.current.setValue(An))});const sr=_n(),In=Cn(),Tn=getSlots(et);let Dn;const nr=(An,Nn)=>{const bn=st!=="file"&&st!=="datepicker"&&st!=="colorpicker",Un=An==="input";let Xn=st;(Xn==="datepicker"||Xn==="colorpicker")&&(Xn="text");const lr=classNames(!Ut&&tt,{resizable:Xn==="textarea"&&Dt,"no-store-data":Ot||Lt||jt,"input-invalid":Ht&&Ft||Zt,"input-with-value":In,"input-focused":Kt});let Jn;bn&&(typeof at<"u"?Jn=at:Jn=sr);const ar={};return st!=="datepicker"&&st!=="colorpicker"&&("value"in et&&(ar.value=Jn),"defaultValue"in et&&(ar.defaultValue=ot)),React.createElement(An,_extends$I({ref:gn,style:kt,name:it,type:Un?Xn:void 0,placeholder:ct,inputMode:lt,id:ut,size:dt,accept:ft,autoComplete:pt,autoCorrect:ht,autoCapitalize:vt,spellCheck:gt,autoFocus:mt,autoSave:bt,checked:xt,disabled:yt,max:$t,maxLength:Et,min:wt,minLength:Mt,step:Ct,multiple:St,readOnly:Rt,required:Pt,pattern:_t,validate:typeof Bt=="string"&&Bt.length?Bt:void 0,"data-validate":Bt===!0||Bt===""||It===!0||It===""?!0:void 0,"data-validate-on-blur":It===!0||It===""?!0:void 0,tabIndex:Tt,"data-error-message":Ft?void 0:Ht,className:lr,onFocus:Vn,onBlur:Wn,onInput:Ln,onChange:qn},ar),Nn)};if(st==="select"||st==="textarea"||st==="file"?st==="select"?Dn=nr("select",Tn.default):st==="file"?Dn=nr("input"):Dn=nr("textarea"):Tn.default&&Tn.default.length>0||!st?Dn=Tn.default:st==="toggle"?Dn=React.createElement(Toggle,{checked:xt,readonly:Rt,name:it,value:at,disabled:yt,id:ut,onChange:qn}):st==="range"?Dn=React.createElement(Range,{value:at,disabled:yt,min:wt,max:$t,step:Ct,name:it,id:ut,input:!0,onRangeChange:qn}):st==="texteditor"?Dn=React.createElement(TextEditor,_extends$I({value:at,resizable:Dt,placeholder:ct,onTextEditorFocus:Vn,onTextEditorBlur:Wn,onTextEditorInput:Ln,onTextEditorChange:qn},Qt)):Dn=nr("input"),Ut){const An=classNames(tt,"input",{"input-outline":zt,"input-dropdown":qt==="auto"?st==="select":qt,"input-invalid":Ht&&Ft||Zt},colorClasses(et));return React.createElement("div",_extends$I({id:nt,className:An,style:rt,ref:$n},mn),Dn,(Ht||Tn["error-message"]&&Tn["error-message"].length)&&Ft&&React.createElement("div",{className:"input-error-message"},Ht,Tn["error-message"]),Nt&&React.createElement("span",{className:"input-clear-button"}),(Vt||Tn.info&&Tn.info.length)&&React.createElement("div",{className:"input-info"},Vt,Tn.info))}return Dn});Input.displayName="f7-input";const TabbarContext=React.createContext({tabbarHasIcons:!1}),useSmartSelect=(et,_e,tt,nt)=>{const rt=()=>{f7ready(()=>{if(et){const it=extend$1({el:nt()},_e||{});tt.current=f7.smartSelect.create(it)}})},st=()=>{tt.current&&tt.current.destroy&&tt.current.destroy(),tt.current=null};reactExports.useEffect(()=>(rt(),st),[])};function _extends$H(){return _extends$H=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const tt=reactExports.useRef(null),{className:nt,id:rt,style:st,children:it,noLinkClass:at,text:ot,tabLink:lt,tabLinkActive:ct,tabbarLabel:ut,iconOnly:dt,badge:ft,badgeColor:pt,href:ht="#",target:vt,smartSelect:gt,smartSelectParams:mt}=et,bt=reactExports.useContext(TabbarContext),xt=ut||bt.tabbarHasIcons,yt=getExtraAttrs(et),$t=reactExports.useRef(null),wt=_t=>{emit(et,"click",_t)};reactExports.useImperativeHandle(_e,()=>({el:$t.current,f7SmartSelect:()=>tt.current})),useTooltip($t,et),useRouteProps($t,et),useSmartSelect(gt,mt,tt,()=>$t.current);let Ct,Et;ot&&(ft&&(Et=React.createElement(Badge,{color:pt},ft)),Ct=React.createElement("span",{className:xt?"tabbar-label":""},ot,Et));const Mt=useIcon(et);let St;dt||!ot&&it&&it.length===0||!ot&&!it?St=!0:St=!1;const Rt=classNames(nt,{link:!(at||xt),"icon-only":St,"tab-link":lt||lt==="","tab-link-active":ct,"smart-select":gt},colorClasses(et),routerClasses(et),actionsClasses(et));let Pt=ht;ht===!0&&(Pt="#"),ht===!1&&(Pt=void 0);const kt={href:Pt,target:vt,"data-tab":isStringProp(lt)&<||void 0,...routerAttrs(et),...actionsAttrs(et)};return React.createElement("a",_extends$H({ref:$t,id:rt,style:st,className:Rt},kt,yt,{onClick:wt}),Mt,Ct,it)});Link.displayName="f7-link";function _extends$G(){return _extends$G=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st,title:it,text:at,tabLink:ot,tabLinkActive:lt,link:ct,href:ut,target:dt}=et,ft=getExtraAttrs(et),pt=reactExports.useRef(null),ht=reactExports.useRef(null),vt=bt=>{emit(et,"click",bt)};reactExports.useImperativeHandle(_e,()=>({el:pt.current})),useTooltip(ht,et),useRouteProps(ht,et);const gt={href:typeof ct=="boolean"&&typeof ut=="boolean"?"#":ct||ut,target:dt,"data-tab":isStringProp(ot)&&ot,...routerAttrs(et),...actionsAttrs(et)},mt=classNames({"list-button":!0,"tab-link":ot||ot==="","tab-link-active":lt,...colorClasses(et),...routerClasses(et),...actionsClasses(et)});return React.createElement("li",_extends$G({id:nt,style:rt,className:tt,ref:pt},ft),React.createElement("a",_extends$G({className:mt},gt,{onClick:vt,ref:ht}),it,at,st))});ListButton.displayName="f7-list-button";const ListContext=React.createContext({listIsMedia:!1,listIsSimple:!1,listIsSortable:!1,listIsSortableOpposite:!1});function _extends$F(){return _extends$F=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st,simpleList:it,mediaList:at,sortable:ot,sortableOpposite:lt,sortableTapHold:ct,sortableMoveElements:ut}=et,dt=getExtraAttrs(et),ft=reactExports.useContext(ListContext),pt=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:pt.current}));const ht=classNames(tt,"list-group",{"media-list":at,sortable:ot,"sortable-tap-hold":ct,"sortable-opposite":lt},colorClasses(et));return React.createElement("div",_extends$F({id:nt,style:rt,className:ht,"data-sortable-move-elements":typeof ut<"u"?ut.toString():void 0,ref:pt},dt),React.createElement("ul",null,React.createElement(ListContext.Provider,{value:{listIsMedia:at||ft.listIsMedia,listIsSimple:it||ft.listIsSimple,listIsSortable:ot||ft.listIsSortable,listIsSortableOpposite:lt||ft.listIsSortableOpposite}},st)))});ListGroup.displayName="f7-list-group";function _extends$E(){return _extends$E=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const tt=reactExports.useRef(null),{className:nt,id:rt,style:st,children:it,init:at=!0,listEl:ot,indexes:lt="auto",scrollList:ct=!0,label:ut=!1,iosItemHeight:dt=14,mdItemHeight:ft=14}=et,pt=getExtraAttrs(et),ht=reactExports.useRef(null),vt=()=>{tt.current&&tt.current.update()},gt=yt=>{tt.current&&tt.current.scrollListToIndex(yt)};reactExports.useImperativeHandle(_e,()=>({el:ht.current,f7ListIndex:()=>tt.current,update:vt,scrollListToIndex:gt})),watchProp(lt,yt=>{tt.current&&(tt.current.params.indexes=yt,vt())});const mt=()=>{at&&f7ready(()=>{tt.current=f7.listIndex.create({el:ht.current,listEl:ot,indexes:lt,iosItemHeight:dt,mdItemHeight:ft,scrollList:ct,label:ut,on:{select(yt,$t,wt){emit(et,"listIndexSelect",$t,wt)}}})})},bt=()=>{tt.current&&tt.current.destroy&&tt.current.destroy(),tt.current=null};useIsomorphicLayoutEffect$1(()=>(mt(),bt),[]);const xt=classNames(nt,"list-index",colorClasses(et));return React.createElement("div",_extends$E({id:rt,style:st,className:xt,ref:ht},pt),it)});ListIndex.displayName="f7-list-index";function _extends$D(){return _extends$D=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,sortable:st,media:it,dropdown:at="auto",wrap:ot=!0,input:lt=!0,type:ct="text",name:ut,value:dt,defaultValue:ft,inputmode:pt,readonly:ht,required:vt,disabled:gt,placeholder:mt,inputId:bt,size:xt,accept:yt,autocomplete:$t,autocorrect:wt,autocapitalize:Ct,spellcheck:Et,autofocus:Mt,autosave:St,max:Rt,min:Pt,step:kt,maxlength:_t,minlength:Bt,multiple:It,inputStyle:At,pattern:Tt,validate:Dt,validateOnBlur:Nt,onValidate:Ot,tabindex:Lt,resizable:jt,clearButton:Ht,noFormStoreData:Ft,noStoreData:Vt,ignoreStoreData:zt,errorMessage:Ut,errorMessageForce:qt,info:Wt,outline:Jt,label:Qt,floatingLabel:Zt,calendarParams:Gt,colorPickerParams:Kt,textEditorParams:hn}=et,[mn,Yt]=reactExports.useState(!1),[xn,$n]=reactExports.useState(!1),gn=reactExports.useContext(ListContext),{listIsSortable:wn=!1}=gn||{},_n=getExtraAttrs(et),Cn=reactExports.useRef(null),Sn=reactExports.useRef(null),jn=reactExports.useRef(null),On=reactExports.useRef(null),zn=reactExports.useRef(null),Pn=reactExports.useRef(!1),Ln=()=>{if(On.current)return On.current.value},Vn=()=>{if(ct==="datepicker"&&Array.isArray(dt)&&dt.length===0)return!1;const Mn=Ln();return typeof dt>"u"?Mn||Mn===0:dt||dt===0},Wn=()=>{if(!f7||!On.current)return;const Mn=On.current.validity;Mn&&(Mn.valid?(Ot&&Ot(!0),mn!==!1&&Yt(!1)):(Ot&&Ot(!1),mn!==!0&&Yt(!0)))},qn=Mn=>{emit(et,"textareaResize",Mn)},tr=Mn=>{emit(et,"inputNotEmpty",Mn)},Yn=Mn=>{emit(et,"inputEmpty",Mn)},sr=Mn=>{emit(et,"inputClear",Mn)},In=function(){for(var Mn=arguments.length,Hn=new Array(Mn),Fn=0;Fn({el:jn.current}));const An=()=>{!jn.current&&!zn.current||f7ready(()=>{On.current&&(On.current.addEventListener("input:notempty",tr,!1),On.current.addEventListener("textarea:resize",qn,!1),On.current.addEventListener("input:empty",Yn,!1),On.current.addEventListener("input:clear",sr,!1),ct==="datepicker"&&(Cn.current=f7.calendar.create({inputEl:On.current,value:dt,on:{change(Mn,Hn){emit(et,"calendarChange",Hn)}},...Gt||{}})),ct==="colorpicker"&&(Sn.current=f7.colorPicker.create({inputEl:On.current,value:dt,on:{change(Mn,Hn){emit(et,"colorpicker:change colorPickerChange",Hn)}},...Kt||{}})),!(Nt||Nt==="")&&(Dt||Dt==="")&&(typeof dt<"u"&&dt!==null&&dt!==""||typeof ft<"u"&&ft!==null&&ft!=="")&&setTimeout(()=>{Wn()},0),ct==="textarea"&&jt&&f7.input.resizeTextarea(On.current))})},Nn=()=>{On.current&&(On.current.removeEventListener("input:notempty",tr,!1),On.current.removeEventListener("textarea:resize",qn,!1),On.current.removeEventListener("input:empty",Yn,!1),On.current.removeEventListener("input:clear",sr,!1)),Cn.current&&Cn.current.destroy&&(Cn.current.destroy(),Cn.current=null),Sn.current&&Sn.current.destroy&&(Sn.current.destroy(),Sn.current=null)};useIsomorphicLayoutEffect$1(()=>(An(),Nn),[]),useIsomorphicLayoutEffect$1(()=>{if(f7&&Pn.current){if(!On.current)return;Pn.current=!1,Dt&&!Nt&&Wn(),ct==="textarea"&&jt&&f7.input.resizeTextarea(On.current)}}),watchProp(Kt,Mn=>{!f7||!Sn.current||extend$1(Sn.current.params,Mn||{})}),watchProp(Gt,Mn=>{!f7||!Cn.current||extend$1(Cn.current.params,Mn||{})}),watchProp(dt,Mn=>{f7&&(Pn.current=!0,Cn.current&&Cn.current.setValue(Mn),Sn.current&&Sn.current.setValue(Mn))});const bn=getSlots(et),Un=Ln(),Xn=Vn(),lr=st===!0||st===!1?st:wn;let Jn;const ar=(Mn,Hn)=>{const Fn=ct!=="file"&&ct!=="datepicker"&&ct!=="colorpicker",mr=Mn==="input";let Kn=ct;(Kn==="datepicker"||Kn==="colorpicker")&&(Kn="text");const gr=classNames({resizable:Kn==="textarea"&&jt,"no-store-data":Ft||Vt||zt,"input-invalid":Ut&&qt||mn,"input-with-value":Xn,"input-focused":xn});let dr;Fn&&(typeof dt<"u"?dr=dt:dr=Un);const fr={};return ct!=="datepicker"&&ct!=="colorpicker"&&("value"in et&&(fr.value=dr),"defaultValue"in et&&(fr.defaultValue=ft)),React.createElement(Mn,_extends$D({ref:On,style:At,name:ut,type:mr?Kn:void 0,placeholder:mt,inputMode:pt,id:bt,size:xt,accept:yt,autoComplete:$t,autoCorrect:wt,autoCapitalize:Ct,spellCheck:Et,autoFocus:Mt,autoSave:St,disabled:gt,max:Rt,maxLength:_t,min:Pt,minLength:Bt,step:kt,multiple:It,readOnly:ht,required:vt,pattern:Tt,validate:typeof Dt=="string"&&Dt.length?Dt:void 0,"data-validate":Dt===!0||Dt===""||Nt===!0||Nt===""?!0:void 0,"data-validate-on-blur":Nt===!0||Nt===""?!0:void 0,tabIndex:Lt,"data-error-message":qt?void 0:Ut,className:gr,onFocus:Tn,onBlur:Dn,onInput:In,onChange:nr},fr),Hn)};lt&&(ct==="select"||ct==="textarea"||ct==="file"?ct==="select"?Jn=ar("select",bn.default):ct==="file"?Jn=ar("input"):Jn=ar("textarea"):ct==="texteditor"?Jn=React.createElement(TextEditor,_extends$D({value:dt,resizable:jt,placeholder:mt,onTextEditorFocus:Tn,onTextEditorBlur:Dn,onTextEditorInput:In,onTextEditorChange:nr},hn||{})):Jn=ar("input"));const ir=!!Ut||bn["error-message"]&&bn["error-message"].length,ur=React.createElement("div",{ref:zn,className:classNames("item-content item-input",!ot&&tt,!ot&&{disabled:gt},!ot&&colorClasses(et),{"item-input-outline":Jt,"item-input-focused":xn,"item-input-with-info":!!Wt||bn.info&&bn.info.length,"item-input-with-value":Xn,"item-input-with-error-message":ir&&qt||mn,"item-input-invalid":ir&&qt||mn})},bn["content-start"],(it||bn.media)&&React.createElement("div",{className:"item-media"},it&&React.createElement("img",{src:it}),bn.media),React.createElement("div",{className:"item-inner"},bn["inner-start"],(Qt||bn.label)&&React.createElement("div",{className:classNames("item-title item-label",{"item-floating-label":Zt})},Qt,bn.label),React.createElement("div",{className:classNames("item-input-wrap",{"input-dropdown":at==="auto"?ct==="select":at})},Jn,bn.input,ir&&qt&&React.createElement("div",{className:"item-input-error-message"},Ut,bn["error-message"]),Ht&&React.createElement("span",{className:"input-clear-button"}),(Wt||bn.info)&&React.createElement("div",{className:"item-input-info"},Wt,bn.info)),bn.inner,bn["inner-end"]),bn.content,bn["content-end"]);return ot?React.createElement("li",_extends$D({ref:jn,id:nt,style:rt,className:classNames(tt,{disabled:gt},colorClasses(et))},_n),bn["root-start"],ur,lr&&React.createElement("div",{className:"sortable-handler"}),bn.root,bn["root-end"]):ur});ListInput.displayName="f7-list-input";const ListItemContent=et=>{const{indeterminate:_e,radio:tt,checkbox:nt,value:rt,name:st,readonly:it,disabled:at,checked:ot,defaultChecked:lt,required:ct,media:ut,header:dt,footer:ft,title:pt,subtitle:ht,text:vt,after:gt,badge:mt,badgeColor:bt,checkboxIcon:xt,radioIcon:yt,swipeout:$t,sortable:wt,accordionItem:Ct,onChange:Et,onClick:Mt,isMediaComputed:St,isSortableComputed:Rt,isSortableOppositeComputed:Pt,slots:kt}=et,_t=reactExports.useRef(null);reactExports.useEffect(()=>{_t.current&&(_t.current.indeterminate=!!_e)},[_e]);let Bt,It,At,Tt,Dt,Nt,Ot,Lt,jt,Ht,Ft,Vt,zt;if((tt||nt)&&(Ht=React.createElement("input",{ref:_t,value:rt,name:st,checked:ot,defaultChecked:lt,readOnly:it,disabled:at,required:ct,type:tt?"radio":"checkbox",onChange:Et}),Ft=React.createElement("i",{className:`icon icon-${tt?"radio":"checkbox"}`})),ut||kt.media){let Wt;ut&&(Wt=React.createElement("img",{src:ut})),jt=React.createElement("div",{className:"item-media"},Wt,kt.media)}(dt||kt.header)&&(Vt=React.createElement("div",{className:"item-header"},dt,kt.header)),(ft||kt.footer)&&(zt=React.createElement("div",{className:"item-footer"},ft,kt.footer)),(pt||kt.title||!St&&Vt||!St&&zt)&&(Bt=React.createElement("div",{className:"item-title"},!St&&Vt,pt,kt.title,!St&&zt)),(ht||kt.subtitle)&&(Ot=React.createElement("div",{className:"item-subtitle"},ht,kt.subtitle)),(vt||kt.text)&&(Lt=React.createElement("div",{className:"item-text"},vt,kt.text)),(gt||mt||kt.after)&&(gt&&(At=React.createElement("span",null,gt)),mt&&(Tt=React.createElement(Badge,{color:bt},mt)),It=React.createElement("div",{className:"item-after"},kt["after-start"],At,Tt,kt.after,kt["after-end"])),St?(Nt=React.createElement("div",{className:"item-title-row"},kt["before-title"],Bt,kt["after-title"],It),Dt=React.createElement("div",{className:"item-inner"},kt["inner-start"],Vt,Nt,Ot,Lt,$t||Ct?null:kt.default,kt.inner,zt,kt["inner-end"])):Dt=React.createElement("div",{className:"item-inner"},kt["inner-start"],kt["before-title"],Bt,kt["after-title"],It,$t||Ct?null:kt.default,kt.inner,kt["inner-end"]);const Ut=nt||tt?"label":"div",qt=classNames("item-content",{"item-checkbox":nt,"item-radio":tt,"item-checkbox-icon-start":nt&&xt==="start","item-checkbox-icon-end":nt&&xt==="end","item-radio-icon-start":tt&&yt==="start","item-radio-icon-end":tt&&yt==="end"},colorClasses(et));return React.createElement(Ut,{className:qt,onClick:Mt},Rt&&wt!==!1&&Pt&&React.createElement("div",{className:"sortable-handler"}),kt["content-start"],Ht,Ft,jt,Dt,kt.content,kt["content-end"])};ListItemContent.displayName="f7-list-item-content";function _extends$C(){return _extends$C=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st,title:it,link:at,target:ot,tabLink:lt,tabLinkActive:ct,selected:ut,mediaItem:dt,mediaList:ft,groupTitle:pt,swipeout:ht,swipeoutOpened:vt,sortable:gt,sortableOpposite:mt,accordionItem:bt,accordionItemOpened:xt,smartSelect:yt,smartSelectParams:$t,noChevron:wt,chevronCenter:Ct,checkbox:Et,radio:Mt,disabled:St,virtualListIndex:Rt,href:Pt}=et,kt=reactExports.useContext(ListContext),{listIsMedia:_t=!1,listIsSortable:Bt=!1,listIsSortableOpposite:It=!1,listIsSimple:At=!1}=kt||{},Tt=getExtraAttrs(et),Dt=reactExports.useRef(null),Nt=reactExports.useRef(null),Ot=reactExports.useRef(null),Lt=Pn=>{Pn.target.tagName.toLowerCase()!=="input"&&emit(et,"click",Pn)},jt=Pn=>{Dt.current===Pn&&emit(et,"swipeoutOverswipeEnter")},Ht=Pn=>{Dt.current===Pn&&emit(et,"swipeoutOverswipeExit")},Ft=Pn=>{Dt.current===Pn&&emit(et,"swipeoutDeleted")},Vt=Pn=>{Dt.current===Pn&&emit(et,"swipeoutDelete")},zt=Pn=>{Dt.current===Pn&&emit(et,"swipeoutClose")},Ut=Pn=>{Dt.current===Pn&&emit(et,"swipeoutClosed")},qt=Pn=>{Dt.current===Pn&&emit(et,"swipeoutOpen")},Wt=Pn=>{Dt.current===Pn&&emit(et,"swipeoutOpened")},Jt=(Pn,Ln)=>{Dt.current===Pn&&emit(et,"swipeout",Ln)},Qt=(Pn,Ln)=>{Dt.current===Pn&&emit(et,"accordionBeforeClose",Ln)},Zt=Pn=>{Dt.current===Pn&&emit(et,"accordionClose")},Gt=Pn=>{Dt.current===Pn&&emit(et,"accordionClosed")},Kt=(Pn,Ln)=>{Dt.current===Pn&&emit(et,"accordionBeforeOpen",Ln)},hn=Pn=>{Dt.current===Pn&&emit(et,"accordionOpen")},mn=Pn=>{Dt.current===Pn&&emit(et,"accordionOpened")},Yt=Pn=>{emit(et,"change",Pn)};reactExports.useImperativeHandle(_e,()=>({el:Dt.current,f7SmartSelect:()=>Ot.current})),useTooltip(Dt,et),useRouteProps(Nt,et),watchProp(vt,Pn=>{!ht||!Dt.current||!f7||(Pn?f7.swipeout.open(Dt.current):f7.swipeout.close(Dt.current))});const xn=()=>{f7ready(()=>{ht&&(f7.on("swipeoutOpen",qt),f7.on("swipeoutOpened",Wt),f7.on("swipeoutClose",zt),f7.on("swipeoutClosed",Ut),f7.on("swipeoutDelete",Vt),f7.on("swipeoutDeleted",Ft),f7.on("swipeoutOverswipeEnter",jt),f7.on("swipeoutOverswipeExit",Ht),f7.on("swipeout",Jt)),bt&&(f7.on("accordionBeforeOpen",Kt),f7.on("accordionOpen",hn),f7.on("accordionOpened",mn),f7.on("accordionBeforeClose",Qt),f7.on("accordionClose",Zt),f7.on("accordionClosed",Gt))})},$n=()=>{f7&&(f7.off("swipeoutOpen",qt),f7.off("swipeoutOpened",Wt),f7.off("swipeoutClose",zt),f7.off("swipeoutClosed",Ut),f7.off("swipeoutDelete",Vt),f7.off("swipeoutDeleted",Ft),f7.off("swipeoutOverswipeEnter",jt),f7.off("swipeoutOverswipeExit",Ht),f7.off("swipeout",Jt),f7.off("accordionBeforeOpen",Kt),f7.off("accordionOpen",hn),f7.off("accordionOpened",mn),f7.off("accordionBeforeClose",Qt),f7.off("accordionClose",Zt),f7.off("accordionClosed",Gt))};useSmartSelect(yt,$t,Ot,()=>Dt.current.querySelector("a.smart-select")),useIsomorphicLayoutEffect$1(()=>{f7ready(()=>{ht&&vt&&f7.swipeout.open(Dt.current)})},[]),useIsomorphicLayoutEffect$1(()=>(xn(),$n));const gn=getSlots(et);let wn,_n;const Cn=dt||ft||_t,Sn=gt===!0||gt===!1?gt:Bt,jn=Sn&&(mt||It);if(!At&&(_n=React.createElement(ListItemContent,_extends$C({},et,{slots:gn,onChange:Yt,onClick:at||Pt||bt||yt?void 0:Lt,isMediaComputed:Cn,isSortableComputed:Sn,isSortableOppositeComputed:jn})),at||Pt||bt||yt)){const Pn={href:at===!0?"":at||Pt,target:ot,"data-tab":isStringProp(lt)&<||void 0,...routerAttrs(et),...actionsAttrs(et)},Ln=classNames({"item-link":!0,"smart-select":yt,"tab-link":lt||lt==="","tab-link-active":ct,"item-selected":ut},routerClasses(et),actionsClasses(et));wn=React.createElement("a",_extends$C({ref:Nt,className:Ln},Pn,{onClick:Lt}),_n)}const On=classNames(tt,{"list-group-title":pt,"media-item":Cn,swipeout:ht,"accordion-item":bt,"accordion-item-opened":xt,disabled:St&&!(Mt||Et),"no-chevron":wt,"chevron-center":Ct,"disallow-sorting":gt===!1},colorClasses(et));if(pt)return React.createElement("li",{ref:Dt,id:nt,style:rt,className:On,"data-virtual-list-index":Rt,onClick:Lt},React.createElement("span",null,it,st));if(At)return React.createElement("li",{ref:Dt,id:nt,style:rt,className:On,"data-virtual-list-index":Rt,onClick:Lt},it,st);const zn=at||Pt||yt||bt?wn:_n;return React.createElement("li",_extends$C({ref:Dt,id:nt,style:rt,className:On,"data-virtual-list-index":Rt},Tt),gn["root-start"],ht?React.createElement("div",{className:"swipeout-content"},zn):zn,Sn&>!==!1&&!jn&&React.createElement("div",{className:"sortable-handler"}),(ht||bt)&&gn.default,gn.root,gn["root-end"])});ListItem.displayName="f7-list-item";function _extends$B(){return _extends$B=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const tt=reactExports.useRef(null),{className:nt,id:rt,style:st,inset:it,insetIos:at,insetMd:ot,xsmallInset:lt,xsmallInsetIos:ct,xsmallInsetMd:ut,smallInset:dt,smallInsetIos:ft,smallInsetMd:pt,mediumInset:ht,mediumInsetIos:vt,mediumInsetMd:gt,largeInset:mt,largeInsetIos:bt,largeInsetMd:xt,xlargeInset:yt,xlargeInsetIos:$t,xlargeInsetMd:wt,strong:Ct,strongIos:Et,strongMd:Mt,outline:St,outlineIos:Rt,outlineMd:Pt,dividers:kt,dividersIos:_t,dividersMd:Bt,mediaList:It,sortable:At,sortableTapHold:Tt,sortableEnabled:Dt,sortableMoveElements:Nt,sortableOpposite:Ot,accordionList:Lt,accordionOpposite:jt,contactsList:Ht,simpleList:Ft,linksList:Vt,menuList:zt,noChevron:Ut,chevronCenter:qt,tab:Wt,tabActive:Jt,form:Qt,formStoreData:Zt,virtualList:Gt,virtualListParams:Kt}=et,hn=getExtraAttrs(et),mn=reactExports.useRef(null),Yt=In=>{emit(et,"submit",In)},xn=In=>{mn.current===In&&emit(et,"sortableEnable")},$n=In=>{mn.current===In&&emit(et,"sortableDisable")},gn=(In,Tn,Dn)=>{mn.current===Dn&&emit(et,"sortableSort",Tn)},wn=(In,Tn)=>{mn.current===Tn&&emit(et,"sortableMove",In,Tn)};reactExports.useImperativeHandle(_e,()=>({el:mn.current,f7VirtualList:()=>tt.current})),useTab(mn,et);const _n=()=>{f7ready(()=>{f7.on("sortableEnable",xn),f7.on("sortableDisable",$n),f7.on("sortableSort",gn),f7.on("sortableMove",wn)})},Cn=()=>{f7&&(f7.off("sortableEnable",xn),f7.off("sortableDisable",$n),f7.off("sortableSort",gn),f7.off("sortableMove",wn))},Sn=()=>{f7ready(()=>{if(!Gt)return;const In=Kt||{};!In.renderItem&&!In.renderExternal||(tt.current=f7.virtualList.create(extend$1({el:mn.current,on:{itemBeforeInsert(Tn,Dn){emit(et,"virtualItemBeforeInsert",this,Tn,Dn)},beforeClear(Tn){emit(et,"virtualBeforeClear",this,Tn)},itemsBeforeInsert(Tn){emit(et,"virtualItemsBeforeInsert",this,Tn)},itemsAfterInsert(Tn){emit(et,"virtualItemsAfterInsert",this,Tn)}}},In)))})},jn=()=>{f7&&Gt&&tt.current&&(tt.current.destroy&&tt.current.destroy(),tt.current=null)};useIsomorphicLayoutEffect$1(()=>(Sn(),jn),[]),useIsomorphicLayoutEffect$1(()=>(_n(),Cn));const On=getSlots(et),{list:zn,default:Pn}=On,Ln=[],Vn=[],Wn=zn||[],qn=flattenArray(Pn);let tr=!1;qn.forEach(In=>{if(typeof In>"u")return;let Tn=In.type&&(In.type.displayName||In.type.name);!Tn&&typeof In.type=="string"&&(Tn=In.type),!Tn||Tn&&!(Tn==="li"||Tn.indexOf("f7-list-item")>=0||Tn.indexOf("f7-list-button")>=0||Tn.indexOf("f7-list-input")>=0)?tr?Vn.push(In):Ln.push(In):Tn&&(tr=!0,Wn.push(In))});const Yn=Qt?"form":"div",sr=classNames(nt,"list",{inset:it,"inset-ios":at,"inset-md":ot,"xsmall-inset":lt,"xsmall-inset-ios":ct,"xsmall-inset-md":ut,"small-inset":dt,"small-inset-ios":ft,"small-inset-md":pt,"medium-inset":ht,"medium-inset-ios":vt,"medium-inset-md":gt,"large-inset":mt,"large-inset-ios":bt,"large-inset-md":xt,"xlarge-inset":yt,"xlarge-inset-ios":$t,"xlarge-inset-md":wt,"list-strong":Ct,"list-strong-ios":Et,"list-strong-md":Mt,"list-outline":St,"list-outline-ios":Rt,"list-outline-md":Pt,"list-dividers":kt,"list-dividers-ios":_t,"list-dividers-md":Bt,"media-list":It,"simple-list":Ft,"links-list":Vt,"menu-list":zt,sortable:At,"sortable-tap-hold":Tt,"sortable-enabled":Dt,"sortable-opposite":Ot,"accordion-list":Lt,"accordion-opposite":jt,"contacts-list":Ht,"virtual-list":Gt,tab:Wt,"tab-active":Jt,"form-store-data":Zt,"no-chevron":Ut,"chevron-center":qt},colorClasses(et));return React.createElement(Yn,_extends$B({id:rt,ref:mn,style:st,className:sr},hn,{"data-sortable-move-elements":typeof Nt<"u"?Nt.toString():void 0,onSubmit:Yt}),React.createElement(ListContext.Provider,{value:{listIsMedia:It,listIsSimple:Ft,listIsSortable:At,listIsSortableOpposite:Ot}},On["before-list"],Ln,Wn.length>0&&React.createElement("ul",null,Wn),On["after-list"],Vn))});List.displayName="f7-list";function _extends$A(){return _extends$A=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st}=et,it=getExtraAttrs(et),at=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:at.current}));const ot=classNames(tt,"login-screen-title",colorClasses(et));return React.createElement("div",_extends$A({id:nt,style:rt,className:ot,ref:at},it),st)});LoginScreenTitle.displayName="f7-login-screen-title";function _extends$z(){return _extends$z=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,text:st,name:it,avatar:at,type:ot="sent",image:lt,header:ct,footer:ut,textHeader:dt,textFooter:ft,first:pt,last:ht,tail:vt,sameName:gt,sameHeader:mt,sameFooter:bt,sameAvatar:xt,typing:yt}=et,$t=getExtraAttrs(et),wt=reactExports.useRef(null),Ct=It=>{emit(et,"click",It)},Et=It=>{emit(et,"clickName",It)},Mt=It=>{emit(et,"clickText",It)},St=It=>{emit(et,"clickAvatar",It)},Rt=It=>{emit(et,"clickHeader",It)},Pt=It=>{emit(et,"clickFooter",It)},kt=It=>{emit(et,"clickBubble",It)};reactExports.useImperativeHandle(_e,()=>({el:wt.current}));const _t=getSlots(et),Bt=classNames(tt,"message",{"message-sent":ot==="sent","message-received":ot==="received","message-typing":yt,"message-first":pt,"message-last":ht,"message-tail":vt,"message-same-name":gt,"message-same-header":mt,"message-same-footer":bt,"message-same-avatar":xt},colorClasses(et));return React.createElement("div",_extends$z({id:nt,style:rt,className:Bt,ref:wt},$t,{onClick:Ct}),_t.start,(at||_t.avatar)&&React.createElement("div",{className:"message-avatar",style:{backgroundImage:at&&`url(${at})`},onClick:St},_t.avatar),React.createElement("div",{className:"message-content"},_t["content-start"],(_t.name||it)&&React.createElement("div",{className:"message-name",onClick:Et},it,_t.name),(_t.header||ct)&&React.createElement("div",{className:"message-header",onClick:Rt},ct,_t.header),React.createElement("div",{className:"message-bubble",onClick:kt},_t["bubble-start"],(_t.image||lt)&&React.createElement("div",{className:"message-image"},_t.image||React.createElement("img",{src:lt})),(_t["text-header"]||dt)&&React.createElement("div",{className:"message-text-header"},dt,_t["text-header"]),(_t.text||st||yt)&&React.createElement("div",{className:"message-text",onClick:Mt},st,_t.text,yt&&React.createElement("div",{className:"message-typing-indicator"},React.createElement("div",null),React.createElement("div",null),React.createElement("div",null))),(_t["text-footer"]||ft)&&React.createElement("div",{className:"message-text-footer"},ft,_t["text-footer"]),_t["bubble-end"],_t.default),(_t.footer||ut)&&React.createElement("div",{className:"message-footer",onClick:Pt},ut,_t.footer),_t["content-end"]),_t.end)});Message.displayName="f7-message";function _extends$y(){return _extends$y=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st,image:it,deletable:at=!0}=et,ot=getExtraAttrs(et),lt=reactExports.useRef(null),ct=ft=>{emit(et,"attachmentClick",ft)},ut=ft=>{emit(et,"attachmentDelete",ft)};reactExports.useImperativeHandle(_e,()=>({el:lt.current}));const dt=classNames(tt,"messagebar-attachment",colorClasses(et));return React.createElement("div",_extends$y({id:nt,style:rt,className:dt,ref:lt},ot,{onClick:ct}),it&&React.createElement("img",{src:it}),at&&React.createElement("span",{className:"messagebar-attachment-delete",onClick:ut}),st)});MessagebarAttachment.displayName="f7-messagebar-attachment";function _extends$x(){return _extends$x=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st}=et,it=getExtraAttrs(et),at=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:at.current}));const ot=classNames(tt,"messagebar-attachments",colorClasses(et));return React.createElement("div",_extends$x({id:nt,style:rt,className:ot,ref:at},it),st)});MessagebarAttachments.displayName="f7-messagebar-attachments";function _extends$w(){return _extends$w=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st,image:it,checked:at}=et,ot=getExtraAttrs(et),lt=reactExports.useRef(null),ct=ft=>{ft.target.checked?emit(et,"checked",ft):emit(et,"unchecked",ft),emit(et,"change",ft)};reactExports.useImperativeHandle(_e,()=>({el:lt.current}));const ut=classNames(tt,"messagebar-sheet-image","checkbox",colorClasses(et)),dt={...rt||{}};return React.createElement("label",_extends$w({id:nt,className:ut,style:dt,ref:lt},ot),React.createElement("input",{type:"checkbox",checked:at,onChange:ct}),React.createElement("i",{className:"icon icon-checkbox"}),it&&React.createElement("img",{src:it}),st)});MessagebarSheetImage.displayName="f7-messagebar-sheet-image";function _extends$v(){return _extends$v=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st}=et,it=getExtraAttrs(et),at=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:at.current}));const ot=classNames(tt,"messagebar-sheet-item",colorClasses(et));return React.createElement("div",_extends$v({id:nt,style:rt,className:ot,ref:at},it),st)});MessagebarSheetItem.displayName="f7-messagebar-sheet-item";function _extends$u(){return _extends$u=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st}=et,it=getExtraAttrs(et),at=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:at.current}));const ot=classNames(tt,"messagebar-sheet",colorClasses(et));return React.createElement("div",_extends$u({id:nt,style:rt,className:ot,ref:at},it),st)});MessagebarSheet.displayName="f7-messagebar-sheet";function _extends$t(){return _extends$t=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const tt=reactExports.useRef(null),nt=reactExports.useRef(!1),rt=reactExports.useRef(!1),{className:st,id:it,style:at,sheetVisible:ot,attachmentsVisible:lt,top:ct,resizable:ut=!0,bottomOffset:dt=0,topOffset:ft=0,maxHeight:pt,resizePage:ht=!0,sendLink:vt,value:gt,disabled:mt,readonly:bt,textareaId:xt,name:yt,placeholder:$t="Message",init:wt=!0}=et,Ct=getExtraAttrs(et),Et=reactExports.useRef(null),Mt=reactExports.useRef(null),St=Gt=>{emit(et,"change",Gt)},Rt=Gt=>{emit(et,"input",Gt)},Pt=Gt=>{emit(et,"focus",Gt)},kt=Gt=>{emit(et,"blur",Gt)},_t=Gt=>{const Kt=Mt.current.el.value,hn=tt.current?()=>{tt.current.clear()}:()=>{};emit(et,"submit",Kt,hn),emit(et,"send",Kt,hn),emit(et,"click",Gt)},Bt=(Gt,Kt,hn)=>{emit(et,"messagebarAttachmentDelete",Gt,Kt,hn)},It=(Gt,Kt,hn)=>{emit(et,"messagebarAttachmentClick",Gt,Kt,hn)},At=Gt=>{emit(et,"messagebarResizePage",Gt)};reactExports.useImperativeHandle(_e,()=>({el:Et.current,f7Messagebar:()=>tt.current})),watchProp(ot,()=>{!ut||!tt.current||(nt.current=!0)}),watchProp(lt,()=>{!ut||!tt.current||(rt.current=!0)}),useIsomorphicLayoutEffect$1(()=>{tt.current&&(nt.current&&(nt.current=!1,tt.current.sheetVisible=ot,tt.current.resizePage()),rt.current&&(rt.current=!1,tt.current.attachmentsVisible=lt,tt.current.resizePage()))});const Tt=()=>{if(!wt||!Et.current)return;const Gt=noUndefinedProps({el:Et.current,top:ct,resizePage:ht,bottomOffset:dt,topOffset:ft,maxHeight:pt,on:{attachmentDelete:Bt,attachmentClick:It,resizePage:At}});f7ready(()=>{tt.current=f7.messagebar.create(Gt)})},Dt=()=>{tt.current&&tt.current.destroy&&tt.current.destroy(),tt.current=null};useIsomorphicLayoutEffect$1(()=>(Tt(),Dt),[]);const Nt=getSlots(et),{default:Ot,"before-inner":Lt,"after-inner":jt,"send-link":Ht,"inner-start":Ft,"inner-end":Vt,"before-area":zt,"after-area":Ut}=Nt,qt=[];let Wt,Jt;Ot&&Ot.forEach(Gt=>{if(typeof Gt>"u")return;const Kt=Gt.type&&(Gt.type.displayName||Gt.type.name);Kt&&(Kt.indexOf("messagebar-attachments")>=0||Kt==="F7MessagebarAttachments"||Kt==="f7-messagebar-attachments")?Wt=Gt:Kt&&(Kt.indexOf("messagebar-sheet")>=0||Kt==="F7MessagebarSheet"||Kt==="f7-messagebar-sheet")?Jt=Gt:qt.push(Gt)});const Qt={};"value"in et&&(Qt.value=gt);const Zt=classNames(st,"toolbar","messagebar",{"messagebar-attachments-visible":lt,"messagebar-sheet-visible":ot},colorClasses(et));return React.createElement("div",_extends$t({id:it,style:at,className:Zt,ref:Et},Ct),Lt,React.createElement("div",{className:"toolbar-inner"},Ft,React.createElement("div",{className:"messagebar-area"},zt,Wt,React.createElement(Input,_extends$t({inputId:xt,ref:Mt,type:"textarea",wrap:!1,placeholder:$t,disabled:mt,name:yt,readonly:bt,resizable:ut,onInput:Rt,onChange:St,onFocus:Pt,onBlur:kt},Qt)),Ut),(vt&&vt.length>0||Ht)&&React.createElement(Link,{onClick:_t},Ht||vt),Vt,qt),jt,Jt)});Messagebar.displayName="f7-messagebar";function _extends$s(){return _extends$s=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st}=et,it=getExtraAttrs(et),at=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:at.current}));const ot=classNames(tt,"messages-title",colorClasses(et));return React.createElement("div",_extends$s({id:nt,style:rt,className:ot,ref:at},it),st)});MessagesTitle.displayName="f7-messages-title";function _extends$r(){return _extends$r=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const tt=reactExports.useRef(null),nt=reactExports.useRef(!1),{className:rt,id:st,style:it,children:at,autoLayout:ot=!1,messages:lt=[],newMessagesFirst:ct=!1,scrollMessages:ut=!0,scrollMessagesOnEdge:dt=!0,firstMessageRule:ft,lastMessageRule:pt,tailMessageRule:ht,sameNameMessageRule:vt,sameHeaderMessageRule:gt,sameFooterMessageRule:mt,sameAvatarMessageRule:bt,customClassMessageRule:xt,renderMessage:yt,typing:$t=!1,init:wt=!0}=et,Ct=getExtraAttrs(et),Et=reactExports.useRef(null),Mt=reactExports.useRef(null),St=reactExports.useRef(at?React.Children.count(at):0);reactExports.useImperativeHandle(_e,()=>({el:Et.current,f7Messages:()=>tt.current}));const Rt=()=>{wt&&f7ready(()=>{tt.current=f7.messages.create(noUndefinedProps({el:Et.current,autoLayout:ot,messages:lt,newMessagesFirst:ct,scrollMessages:ut,scrollMessagesOnEdge:dt,firstMessageRule:ft,lastMessageRule:pt,tailMessageRule:ht,sameNameMessageRule:vt,sameHeaderMessageRule:gt,sameFooterMessageRule:mt,sameAvatarMessageRule:bt,customClassMessageRule:xt,renderMessage:yt})),$t&&tt.current.showTyping()})},Pt=()=>{tt.current&&tt.current.destroy&&tt.current.destroy(),tt.current=null};useIsomorphicLayoutEffect$1(()=>(Rt(),Pt),[]);const kt=at?React.Children.count(at):0;if(tt.current&&ut){const Bt=St.current||0;kt!==Bt&&tt.current.setScrollData()}St.current=kt,useIsomorphicLayoutEffect$1(()=>{const Bt=nt.current;if(nt.current=!0,!wt||!Et.current)return;const It=Et.current.children;if(!It)return;const At=It.length;if(!Bt){for(let Tt=0;Tt{tt.current&&(Bt?tt.current.showTyping():tt.current.hideTyping())});const _t=classNames(rt,"messages",colorClasses(et));return React.createElement("div",_extends$r({id:st,style:it,className:_t,ref:Et},Ct),at)});Messages.displayName="f7-messages";function _extends$q(){return _extends$q=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st,backLink:it,backLinkUrl:at,backLinkForce:ot,backLinkShowText:lt,sliding:ct}=et,ut=getExtraAttrs(et),dt=reactExports.useRef(null),ft=mt=>{emit(et,"backClick clickBack",mt)};reactExports.useImperativeHandle(_e,()=>({el:dt.current}));const pt=useTheme();let ht,vt=lt;if(typeof vt>"u"&&(vt=!pt.md),it){const mt=it!==!0&&vt?it:void 0;ht=React.createElement(Link,{href:at||"#",back:!0,icon:"icon-back",force:ot||void 0,className:mt?void 0:"icon-only",text:mt,onClick:ft})}const gt=classNames(tt,"left",{sliding:ct},colorClasses(et));return React.createElement("div",_extends$q({id:nt,style:rt,className:gt,ref:dt},ut),ht,st)});NavLeft.displayName="f7-nav-left";function _extends$p(){return _extends$p=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st,sliding:it}=et,at=getExtraAttrs(et),ot=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:ot.current}));const lt=classNames(tt,"right",{sliding:it},colorClasses(et));return React.createElement("div",_extends$p({id:nt,style:rt,className:lt,ref:ot},at),st)});NavRight.displayName="f7-nav-right";function _extends$o(){return _extends$o=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st}=et,it=getExtraAttrs(et),at=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:at.current}));const ot=classNames(tt,"title-large",colorClasses(et));return React.createElement("div",_extends$o({id:nt,style:rt,className:ot,ref:at},it),React.createElement("div",{className:"title-large-text"},st))});NavTitleLarge.displayName="f7-nav-title-large";function _extends$n(){return _extends$n=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st,title:it,subtitle:at,sliding:ot}=et,lt=getExtraAttrs(et),ct=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:ct.current}));let ut;at&&(ut=React.createElement("span",{className:"subtitle"},at));const dt=classNames(tt,"title",{sliding:ot},colorClasses(et));return React.createElement("div",_extends$n({id:nt,style:rt,className:dt,ref:ct},lt),st,it,ut)});NavTitle.displayName="f7-nav-title";function _extends$m(){return _extends$m=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,sliding:st=!0,large:it,largeTransparent:at,transparent:ot,hidden:lt,outline:ct=!0,backLink:ut,backLinkForce:dt,backLinkUrl:ft,backLinkShowText:pt,title:ht,subtitle:vt,titleLarge:gt,innerClass:mt,innerClassName:bt}=et,xt=reactExports.useRef(""),yt=reactExports.useRef(!1),$t=reactExports.useRef(null),wt=reactExports.useRef(!1),Ct=reactExports.useRef(!1),Et=reactExports.useRef(!1),Mt=getExtraAttrs(et),St=reactExports.useRef(null),Rt=useTheme(),Pt=gn=>{St.current===gn&&emit(et,"navbarHide")},kt=gn=>{St.current===gn&&emit(et,"navbarShow")},_t=gn=>{St.current===gn&&(yt.current=!1,emit(et,"navbarExpand"))},Bt=gn=>{St.current===gn&&(yt.current=!0,emit(et,"navbarCollapse"))},It=gn=>{St.current===gn&&(Et.current=!0,emit(et,"navbarTransparentShow"))},At=gn=>{St.current===gn&&(Et.current=!1,emit(et,"navbarTransparentHide"))},Tt=(gn,wn)=>{St.current===gn&&(xt.current=wn?`navbar-${wn}`:"")},Dt=(gn,wn)=>{St.current===gn&&($t.current=wn.role,wt.current=wn.detailRoot)},Nt=gn=>{St.current===gn&&(Ct.current=!0)},Ot=gn=>{St.current===gn&&(Ct.current=!1)},Lt=gn=>{f7&&f7.navbar.hide(St.current,gn)},jt=gn=>{f7&&f7.navbar.show(St.current,gn)},Ht=()=>{f7&&f7.navbar.size(St.current)},Ft=gn=>{emit(et,"backClick clickBack",gn)};reactExports.useImperativeHandle(_e,()=>({el:St.current,hide:Lt,show:jt,size:Ht}));const Vt=()=>{St.current&&f7ready(()=>{f7.navbar.size(St.current),f7.on("navbarShow",kt),f7.on("navbarHide",Pt),f7.on("navbarCollapse",Bt),f7.on("navbarExpand",_t),f7.on("navbarPosition",Tt),f7.on("navbarRole",Dt),f7.on("navbarMasterStack",Nt),f7.on("navbarMasterUnstack",Ot),f7.on("navbarTransparentShow",It),f7.on("navbarTransparentHide",At)})},zt=()=>{f7&&(f7.off("navbarShow",kt),f7.off("navbarHide",Pt),f7.off("navbarCollapse",Bt),f7.off("navbarExpand",_t),f7.off("navbarPosition",Tt),f7.off("navbarRole",Dt),f7.off("navbarMasterStack",Nt),f7.off("navbarMasterUnstack",Ot),f7.off("navbarTransparentShow",It),f7.off("navbarTransparentHide",At))};useIsomorphicLayoutEffect$1(()=>(Vt(),zt));const Ut=getSlots(et);let qt,Wt,Jt,Qt;const Zt=Rt&&Rt.ios&&f7&&!f7.params.navbar.iosCenterTitle,Gt=Rt&&Rt.md&&f7&&f7.params.navbar.mdCenterTitle,Kt=it||at,hn=ot||Kt&&at,mn=hn&&Et.current,Yt=classNames(tt,"navbar",xt.current,{"navbar-hidden":lt,"navbar-large":Kt,"navbar-large-collapsed":Kt&&yt.current,"navbar-transparent":hn,"navbar-transparent-visible":mn,"navbar-master":$t.current==="master","navbar-master-detail":$t.current==="detail","navbar-master-detail-root":wt.current===!0,"navbar-master-stacked":Ct.current===!0,"no-outline":!ct},colorClasses(et));(ut||Ut["nav-left"]||Ut.left)&&(qt=React.createElement(NavLeft,{backLink:ut,backLinkUrl:ft,backLinkForce:dt,backLinkShowText:pt,onBackClick:Ft},Ut["nav-left"],Ut.left)),(ht||vt||Ut.title)&&(Wt=React.createElement(NavTitle,{title:ht,subtitle:vt},Ut.title)),(Ut["nav-right"]||Ut.right)&&(Jt=React.createElement(NavRight,null,Ut["nav-right"],Ut.right));let xn=gt;!xn&&it&&ht&&(xn=ht),(xn||Ut["title-large"])&&(Qt=React.createElement("div",{className:"title-large"},React.createElement("div",{className:"title-large-text"},xn||"",Ut["title-large"])));const $n=React.createElement("div",{className:classNames("navbar-inner",mt,bt,{sliding:st,"navbar-inner-left-title":Zt,"navbar-inner-centered-title":Gt})},qt,Wt,Jt,Qt,Ut.default);return React.createElement("div",_extends$m({id:nt,style:rt,className:Yt,ref:St},Mt),React.createElement("div",{className:"navbar-bg"}),Ut["before-inner"],$n,Ut["after-inner"])});Navbar.displayName="f7-navbar";function _extends$l(){return _extends$l=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st,tab:it,tabActive:at,ptr:ot,ptrDistance:lt,ptrPreloader:ct=!0,ptrBottom:ut,ptrMousewheel:dt,infinite:ft,infiniteTop:pt,infiniteDistance:ht,infinitePreloader:vt=!0,hideBarsOnScroll:gt,hideNavbarOnScroll:mt,hideToolbarOnScroll:bt,messagesContent:xt,loginScreen:yt}=et,$t=getExtraAttrs(et),wt=reactExports.useRef(null),Ct=Tt=>{wt.current===Tt&&emit(et,"ptrPullStart")},Et=Tt=>{wt.current===Tt&&emit(et,"ptrPullMove")},Mt=Tt=>{wt.current===Tt&&emit(et,"ptrPullEnd")},St=(Tt,Dt)=>{wt.current===Tt&&emit(et,"ptrRefresh",Dt)},Rt=Tt=>{wt.current===Tt&&emit(et,"ptrDone")},Pt=Tt=>{wt.current===Tt&&emit(et,"infinite")};reactExports.useImperativeHandle(_e,()=>({el:wt.current})),useTab(wt,et);const kt=()=>{f7ready(()=>{ot&&(f7.on("ptrPullStart",Ct),f7.on("ptrPullMove",Et),f7.on("ptrPullEnd",Mt),f7.on("ptrRefresh",St),f7.on("ptrDone",Rt)),ft&&f7.on("infinite",Pt)})},_t=()=>{f7&&(f7.off("ptrPullStart",Ct),f7.off("ptrPullMove",Et),f7.off("ptrPullEnd",Mt),f7.off("ptrRefresh",St),f7.off("ptrDone",Rt),f7.off("infinite",Pt))};useIsomorphicLayoutEffect$1(()=>(kt(),_t));let Bt,It;ot&&ct&&(Bt=React.createElement("div",{className:"ptr-preloader"},React.createElement(Preloader,null),React.createElement("div",{className:"ptr-arrow"}))),ft&&vt&&(It=React.createElement(Preloader,{className:"infinite-scroll-preloader"}));const At=classNames(tt,"page-content",{tab:it,"tab-active":at,"ptr-content":ot,"ptr-bottom":ut,"infinite-scroll-content":ft,"infinite-scroll-top":pt,"hide-bars-on-scroll":gt,"hide-navbar-on-scroll":mt,"hide-toolbar-on-scroll":bt,"messages-content":xt,"login-screen-content":yt},colorClasses(et));return React.createElement("div",_extends$l({id:nt,style:rt,className:At,"data-ptr-distance":lt||void 0,"data-ptr-mousewheel":dt||void 0,"data-infinite-distance":ht||void 0,ref:wt},$t),ut?null:Bt,pt?It:null,st,pt?null:It,ut?Bt:null)});PageContent.displayName="f7-page-content";function _extends$k(){return _extends$k=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,name:st,withSubnavbar:it,subnavbar:at,withNavbarLarge:ot,navbarLarge:lt,noNavbar:ct,noToolbar:ut,tabs:dt,pageContent:ft=!0,noSwipeback:pt,ptr:ht,ptrDistance:vt,ptrPreloader:gt=!0,ptrBottom:mt,ptrMousewheel:bt,infinite:xt,infiniteTop:yt,infiniteDistance:$t,infinitePreloader:wt=!0,hideBarsOnScroll:Ct,hideNavbarOnScroll:Et,hideToolbarOnScroll:Mt,messagesContent:St,loginScreen:Rt,onPtrPullStart:Pt,onPtrPullMove:kt,onPtrPullEnd:_t,onPtrRefresh:Bt,onPtrDone:It,onInfinite:At}=et,Tt=reactExports.useRef(!1),Dt=reactExports.useRef(!1),Nt=reactExports.useRef(!1),Ot=reactExports.useRef(!1),Lt=reactExports.useRef(""),jt=reactExports.useRef(null),Ht=reactExports.useRef(!1),Ft=reactExports.useRef(!1),Vt=getExtraAttrs(et),zt=reactExports.useRef(null),Ut=bn=>{zt.current===bn.el&&emit(et,"pageMounted",bn)},qt=bn=>{zt.current===bn.el&&(typeof it>"u"&&typeof at>"u"&&(bn.$navbarEl&&bn.$navbarEl.length&&bn.$navbarEl.find(".subnavbar").length||bn.$el.children(".navbar").find(".subnavbar").length)&&(Tt.current=!0),typeof ot>"u"&&typeof lt>"u"&&bn.$navbarEl&&bn.$navbarEl.hasClass("navbar-large")&&(Dt.current=!0),emit(et,"pageInit",bn))},Wt=bn=>{zt.current===bn.el&&emit(et,"pageReinit",bn)},Jt=bn=>{zt.current===bn.el&&(bn.swipeBack||(bn.from==="next"&&(Lt.current="page-next"),bn.from==="previous"&&(Lt.current="page-previous")),emit(et,"pageBeforeIn",bn))},Qt=bn=>{zt.current===bn.el&&emit(et,"pageBeforeOut",bn)},Zt=bn=>{zt.current===bn.el&&(bn.to==="next"&&(Lt.current="page-next"),bn.to==="previous"&&(Lt.current="page-previous"),emit(et,"pageAfterOut",bn))},Gt=bn=>{zt.current===bn.el&&(Lt.current="page-current",emit(et,"pageAfterIn",bn))},Kt=bn=>{zt.current===bn.el&&emit(et,"pageBeforeRemove",bn)},hn=bn=>{zt.current===bn.el&&emit(et,"pageBeforeUnmount",bn)},mn=(bn,Un)=>{zt.current===bn&&(Lt.current=`page-${Un}`)},Yt=(bn,Un)=>{zt.current===bn&&(jt.current=Un.role,Ht.current=Un.detailRoot)},xn=bn=>{zt.current===bn&&(Ft.current=!0)},$n=bn=>{zt.current===bn&&(Ft.current=!1)},gn=bn=>{zt.current===bn&&(Nt.current=!0)},wn=bn=>{zt.current===bn&&(Nt.current=!1)},_n=(bn,Un)=>{zt.current===Un&&(Ot.current=!0)},Cn=(bn,Un)=>{zt.current===Un&&(Ot.current=!1)},Sn=bn=>{zt.current===bn&&emit(et,"pageTabShow")},jn=bn=>{zt.current===bn&&emit(et,"pageTabHide")};reactExports.useImperativeHandle(_e,()=>({el:zt.current}));const On=()=>{f7ready(()=>{f7.on("pageMounted",Ut),f7.on("pageInit",qt),f7.on("pageReinit",Wt),f7.on("pageBeforeIn",Jt),f7.on("pageBeforeOut",Qt),f7.on("pageAfterOut",Zt),f7.on("pageAfterIn",Gt),f7.on("pageBeforeRemove",Kt),f7.on("pageBeforeUnmount",hn),f7.on("pagePosition",mn),f7.on("pageRole",Yt),f7.on("pageMasterStack",xn),f7.on("pageMasterUnstack",$n),f7.on("pageNavbarLargeCollapsed",gn),f7.on("pageNavbarLargeExpanded",wn),f7.on("cardOpened",_n),f7.on("cardClose",Cn),f7.on("pageTabShow",Sn),f7.on("pageTabHide",jn)})},zn=()=>{f7&&(f7.off("pageMounted",Ut),f7.off("pageInit",qt),f7.off("pageReinit",Wt),f7.off("pageBeforeIn",Jt),f7.off("pageBeforeOut",Qt),f7.off("pageAfterOut",Zt),f7.off("pageAfterIn",Gt),f7.off("pageBeforeRemove",Kt),f7.off("pageBeforeUnmount",hn),f7.off("pagePosition",mn),f7.off("pageRole",Yt),f7.off("pageMasterStack",xn),f7.off("pageMasterUnstack",$n),f7.off("pageNavbarLargeCollapsed",gn),f7.off("pageNavbarLargeExpanded",wn),f7.off("cardOpened",_n),f7.off("cardClose",Cn),f7.off("pageTabShow",Sn),f7.off("pageTabHide",jn))};useIsomorphicLayoutEffect$1(()=>(On(),zn));const Pn=getSlots(et),Ln=[],Vn=[],{static:Wn,fixed:qn,default:tr}=Pn,Yn="navbar toolbar tabbar subnavbar searchbar messagebar fab list-index panel".split(" ").map(bn=>`f7-${bn}`);let sr,In,Tn=St;tr&&tr.forEach(bn=>{if(typeof bn>"u")return;let Un=!1;const Xn=bn.type&&(bn.type.displayName||bn.type.name);if(!Xn){ft&&Vn.push(bn);return}Xn==="f7-subnavbar"&&(sr=!0),Xn==="f7-navbar"&&bn.props&&bn.props.large&&(In=!0),typeof Tn>"u"&&Xn==="f7-messages"&&(Tn=!0),Yn.indexOf(Xn)>=0&&(Un=!0),ft&&(Un?Ln.push(bn):Vn.push(bn))});const Dn=typeof at>"u"&&typeof it>"u"?sr||Tt.current:!1,nr=typeof lt>"u"&&typeof ot>"u"?In||Dt.current:!1,An=classNames(tt,"page",Lt.current,{tabs:dt,"page-with-subnavbar":at||it||Dn,"page-with-navbar-large":lt||ot||nr,"no-navbar":ct,"no-toolbar":ut,"no-swipeback":pt,"page-master":jt.current==="master","page-master-detail":jt.current==="detail","page-master-detail-root":Ht.current===!0,"page-master-stacked":Ft.current===!0,"page-with-navbar-large-collapsed":Nt.current===!0,"page-with-card-opened":Ot.current===!0,"login-screen-page":Rt},colorClasses(et));if(!ft)return React.createElement("div",_extends$k({id:nt,style:rt,className:An,"data-name":st,ref:zt},Vt),qn,Wn,tr);const Nn=React.createElement(PageContent,{ptr:ht,ptrDistance:vt,ptrPreloader:gt,ptrBottom:mt,ptrMousewheel:bt,infinite:xt,infiniteTop:yt,infiniteDistance:$t,infinitePreloader:wt,hideBarsOnScroll:Ct,hideNavbarOnScroll:Et,hideToolbarOnScroll:Mt,messagesContent:St||Tn,loginScreen:Rt,onPtrPullStart:Pt,onPtrPullMove:kt,onPtrPullEnd:_t,onPtrRefresh:Bt,onPtrDone:It,onInfinite:At},Wn,Vn);return React.createElement("div",_extends$k({id:nt,style:rt,className:An,"data-name":st,ref:zt},Vt),Ln,qn,Nn)});Page.displayName="f7-page";const PhotoBrowser=reactExports.forwardRef((et,_e)=>{const tt=reactExports.useRef(null),{init:nt=!0,params:rt,photos:st,thumbs:it,exposition:at=!0,expositionHideCaptions:ot=!1,type:lt,navbar:ct=!0,toolbar:ut=!0,theme:dt,captionsTheme:ft,iconsColor:pt,swipeToClose:ht=!0,pageBackLinkText:vt,popupCloseLinkIcon:gt,popupCloseLinkText:mt,navbarOfText:bt,navbarShowCount:xt,swiper:yt,url:$t,routableModals:wt=!1,virtualSlides:Ct=!0,view:Et,renderNavbar:Mt,renderToolbar:St,renderCaption:Rt,renderObject:Pt,renderLazyPhoto:kt,renderPhoto:_t,renderPage:Bt,renderPopup:It,renderStandalone:At,renderThumb:Tt}=et,Dt=Vt=>tt.current.open(Vt),Nt=()=>tt.current.close(),Ot=()=>tt.current.expositionToggle(),Lt=()=>tt.current.expositionEnable(),jt=()=>tt.current.expositionDisable();reactExports.useImperativeHandle(_e,()=>({f7PhotoBrowser:()=>tt.current,open:Dt,close:Nt,expositionToggle:Ot,expositionEnable:Lt,expositionDisable:jt})),watchProp(st,Vt=>{const zt=tt.current;zt&&(zt.params.photos=Vt,zt.opened&&zt.swiper&&zt.swiper.update())}),watchProp(it,Vt=>{const zt=tt.current;zt&&(zt.params.thumbs=Vt,zt.opened&&zt.thumbsSwiper&&zt.thumbsSwiper.update())});const Ht=()=>{nt&&f7ready(()=>{let Vt;typeof rt<"u"?Vt=rt:Vt={photos:st,thumbs:it,exposition:at,expositionHideCaptions:ot,type:lt,navbar:ct,toolbar:ut,theme:dt,captionsTheme:ft,iconsColor:pt,swipeToClose:ht,pageBackLinkText:vt,popupCloseLinkText:mt,popupCloseLinkIcon:gt,navbarOfText:bt,navbarShowCount:xt,swiper:yt,url:$t,routableModals:wt,virtualSlides:Ct,view:Et,renderNavbar:Mt,renderToolbar:St,renderCaption:Rt,renderObject:Pt,renderLazyPhoto:kt,renderPhoto:_t,renderPage:Bt,renderPopup:It,renderStandalone:At,renderThumb:Tt},Object.keys(Vt).forEach(zt=>{(typeof Vt[zt]>"u"||Vt[zt]==="")&&delete Vt[zt]}),Vt=extend$1({},Vt,{on:{open(){emit(et,"photoBrowserOpen")},close(){emit(et,"photoBrowserClose")},opened(){emit(et,"photoBrowserOpened")},closed(){emit(et,"photoBrowserClosed")},swipeToClose(){emit(et,"photoBrowserSwipeToClose")}}}),tt.current=f7.photoBrowser.create(Vt)})},Ft=()=>{tt.current&&tt.current.destroy&&tt.current.destroy(),tt.current=null};return useIsomorphicLayoutEffect$1(()=>(Ht(),Ft),[]),null});PhotoBrowser.displayName="f7-photo-browser";function _extends$j(){return _extends$j=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,size:st=320,tooltip:it=!1,datasets:at=[],formatTooltip:ot,children:lt}=et,ct=getExtraAttrs(et),[ut,dt]=reactExports.useState(null),ft=reactExports.useRef(null),pt=reactExports.useRef(null),ht=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:pt.current}));const vt=()=>{let $t=0;return at.map(wt=>wt.value||0).forEach(wt=>{$t+=wt}),$t},gt=()=>{const $t=[];let wt=0;function Ct(Et){const Mt=Math.cos(2*Math.PI*Et)*(st/3),St=Math.sin(2*Math.PI*Et)*(st/3);return[Mt,St]}return at.forEach(Et=>{let{value:Mt,label:St,color:Rt}=Et;const Pt=Mt/vt(),[kt,_t]=Ct(wt);wt+=Pt;const[Bt,It]=Ct(wt),At=Pt>.5?1:0,Tt=[`M ${kt} ${_t}`,`A ${st/3} ${st/3} 0 ${At} 1 ${Bt} ${It}`,"L 0 0"].join(" ");$t.push({points:Tt,label:St,color:Rt})}),$t},mt=()=>{if(ut===null)return"";const{value:$t,label:wt,color:Ct}=at[ut],Et=$t/vt()*100,Mt=Rt=>parseInt(Rt,10)===Rt?Rt:Math.round(Rt*100)/100;if(ot)return ot({index:ut,value:$t,label:wt,color:Ct,percentage:Et});const St=`${wt?`${wt}: `:""}${Mt($t)} (${Mt(Et)}%)`;return` +
        + ${St} +
        + `},bt=()=>{if(!(ut===null&&!ht.current)&&!(!it||!pt.current||!f7)){if(ut!==null&&!ht.current){ht.current=f7.tooltip.create({trigger:"manual",containerEl:pt.current,targetEl:pt.current.querySelector(`path[data-index="${ut}"]`),text:mt(),cssClass:"pie-chart-tooltip"}),ht.current.show();return}ht.current&&(ut!==null?(ht.current.setText(mt()),ht.current.setTargetEl(pt.current.querySelector(`path[data-index="${ut}"]`)),ht.current.show()):ht.current.hide())}};reactExports.useEffect(()=>{ft.current!==ut&&(ft.current=ut,emit(et,"select",ut,at[ut]),bt())},[ut]),reactExports.useEffect(()=>()=>{ht.current&&ht.current.destroy&&ht.current.destroy(),ht.current=null},[]);const xt=classNames("pie-chart",tt),yt=gt();return React.createElement("div",_extends$j({id:nt,style:rt,className:xt,ref:pt},ct),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:st,height:st,viewBox:`-${st/3} -${st/3} ${st*2/3} ${st*2/3}`,style:{transform:"rotate(-90deg)"}},yt.map(($t,wt)=>React.createElement("path",{key:$t.label||wt,d:$t.points,fill:$t.color,"data-index":wt,className:classNames({"pie-chart-hidden":ut!==null&&ut!==wt}),onClick:()=>dt(wt),onMouseEnter:()=>dt(wt),onMouseLeave:()=>dt(null)}))),lt)});PieChart.displayName="f7-pie-chart";function _extends$i(){return _extends$i=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,progress:st,infinite:it}=et,at=getExtraAttrs(et),ot=reactExports.useRef(null),lt=(dt,ft)=>{f7&&f7.progressbar.set(ot.current,dt,ft)};reactExports.useImperativeHandle(_e,()=>({el:ot.current,set:lt}));const ct={transform:st?`translate3d(${-100+st}%, 0, 0)`:"",WebkitTransform:st?`translate3d(${-100+st}%, 0, 0)`:""},ut=classNames(tt,"progressbar",{"progressbar-infinite":it},colorClasses(et));return React.createElement("span",_extends$i({ref:ot,id:nt,style:rt,className:ut,"data-progress":st},at),React.createElement("span",{style:ct}))});Progressbar.displayName="f7-progressbar";function _extends$h(){return _extends$h=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st,value:it,disabled:at,readonly:ot,checked:lt,defaultChecked:ct}=et,ut=getExtraAttrs(et),dt=reactExports.useRef(null),ft=gt=>{emit(et,"change",gt)};reactExports.useImperativeHandle(_e,()=>({el:dt.current}));const pt=React.createElement("input",{type:"radio",name,value:it,disabled:at,readOnly:ot,checked:lt,defaultChecked:ct,onChange:ft}),ht=React.createElement("i",{className:"icon-radio"}),vt=classNames(tt,"radio",{disabled:at},colorClasses(et));return React.createElement("label",_extends$h({id:nt,style:rt,className:vt,ref:dt},ut),pt,ht,st)});Radio.displayName="f7-radio";function _extends$g(){return _extends$g=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const tt=reactExports.useRef(null),{className:nt,id:rt,style:st,outline:it=!0,form:at=!0,placeholder:ot="Search",spellcheck:lt,disableButton:ct=!0,disableButtonText:ut="Cancel",clearButton:dt=!0,value:ft,inputEvents:pt="change input compositionend",expandable:ht,inline:vt,searchContainer:gt,searchIn:mt=".item-title",searchItem:bt="li",searchGroup:xt=".list-group",searchGroupTitle:yt=".list-group-title",foundEl:$t=".searchbar-found",notFoundEl:wt=".searchbar-not-found",backdrop:Ct,backdropEl:Et,hideOnEnableEl:Mt=".searchbar-hide-on-enable",hideOnSearchEl:St=".searchbar-hide-on-search",ignore:Rt=".searchbar-ignore",customSearch:Pt=!1,removeDiacritics:kt=!1,hideGroupTitles:_t=!0,hideGroups:Bt=!0,init:It=!0}=et,At=getExtraAttrs(et),Tt=reactExports.useRef(null),Dt=Yt=>{if(tt.current)return tt.current.search(Yt)},Nt=()=>{if(tt.current)return tt.current.enable()},Ot=()=>{if(tt.current)return tt.current.disable()},Lt=()=>{if(tt.current)return tt.current.toggle()},jt=()=>{if(tt.current)return tt.current.clear()},Ht=Yt=>{emit(et,"change",Yt)},Ft=Yt=>{emit(et,"input",Yt)},Vt=Yt=>{emit(et,"focus",Yt)},zt=Yt=>{emit(et,"blur",Yt)},Ut=Yt=>{emit(et,"submit",Yt)},qt=Yt=>{emit(et,"click:clear clickClear",Yt)},Wt=Yt=>{emit(et,"click:disable clickDisable",Yt)};reactExports.useImperativeHandle(_e,()=>({el:Tt.current,f7Searchbar:()=>tt.current,search:Dt,enable:Nt,disable:Ot,toggle:Lt,clear:jt}));const Jt=()=>{It&&f7ready(()=>{const Yt=noUndefinedProps({el:Tt.current,inputEvents:pt,searchContainer:gt,searchIn:mt,searchItem:bt,searchGroup:xt,searchGroupTitle:yt,hideOnEnableEl:Mt,hideOnSearchEl:St,foundEl:$t,notFoundEl:wt,backdrop:Ct,backdropEl:Et,disableButton:ct,ignore:Rt,customSearch:Pt,removeDiacritics:kt,hideGroupTitles:_t,hideGroups:Bt,expandable:ht,inline:vt,on:{search(xn,$n,gn){emit(et,"searchbarSearch",xn,$n,gn)},clear(xn,$n){emit(et,"searchbarClear",xn,$n)},enable(xn){emit(et,"searchbarEnable",xn)},disable(xn){emit(et,"searchbarDisable",xn)}}});Object.keys(Yt).forEach(xn=>{Yt[xn]===""&&delete Yt[xn]}),tt.current=f7.searchbar.create(Yt)})},Qt=()=>{tt.current&&tt.current.destroy&&tt.current.destroy(),tt.current=null};useIsomorphicLayoutEffect$1(()=>(Jt(),Qt),[]);let Zt,Gt;dt&&(Zt=React.createElement("span",{className:"input-clear-button",onClick:qt})),ct&&(Gt=React.createElement("span",{className:"searchbar-disable-button",onClick:Wt},ut));const Kt=at?"form":"div",hn=classNames(nt,"searchbar",{"searchbar-inline":vt,"no-outline":!it,"searchbar-expandable":ht},colorClasses(et)),mn=getSlots(et);return React.createElement(Kt,_extends$g({ref:Tt,id:rt,style:st,className:hn},At,{onSubmit:Ut}),mn["before-inner"],React.createElement("div",{className:"searchbar-inner"},mn["inner-start"],React.createElement("div",{className:"searchbar-input-wrap"},mn["input-wrap-start"],React.createElement("input",{value:ft,placeholder:ot,spellCheck:lt,type:"search",onInput:Ft,onChange:Ht,onFocus:Vt,onBlur:zt}),React.createElement("i",{className:"searchbar-icon"}),Zt,mn["input-wrap-end"]),Gt,mn["inner-end"],mn.default),mn["after-inner"])});Searchbar.displayName="f7-searchbar";function _extends$f(){return _extends$f=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st,raised:it,raisedIos:at,raisedMd:ot,round:lt,roundIos:ct,roundMd:ut,strong:dt,strongIos:ft,strongMd:pt,tag:ht="div"}=et,vt=getExtraAttrs(et),gt=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:gt.current}));const mt=classNames(tt,{segmented:!0,"segmented-raised":it,"segmented-raised-ios":at,"segmented-raised-md":ot,"segmented-round":lt,"segmented-round-ios":ct,"segmented-round-md":ut,"segmented-strong":dt,"segmented-strong-ios":ft,"segmented-strong-md":pt},colorClasses(et)),bt=ht;return React.createElement(bt,_extends$f({id:nt,style:rt,className:mt,ref:gt},vt),st,(dt||ft||pt)&&React.createElement("span",{className:"segmented-highlight"}))});Segmented.displayName="f7-segmented";function _extends$e(){return _extends$e=Object.assign||function(et){for(var _e=1;_e{const lt=it||{};_e&&(lt.width=_e),tt&&(lt.height=tt),nt&&(lt.borderRadius=nt);const ct=["skeleton-block",rt&&`skeleton-effect-${rt}`,st].filter(ut=>!!ut).join(" ");return React.createElement(et,_extends$e({style:lt,className:ct},ot),at)};function _extends$d(){return _extends$d=Object.assign||function(et){for(var _e=1;_e{const st=["skeleton-text",_e&&`skeleton-effect-${_e}`,tt].filter(it=>!!it).join(" ");return React.createElement(et,_extends$d({className:st},rt),nt)};function multiplySvgPoints(et,_e,tt,nt){const rt=Math.min(tt,nt)*.5,st=rt/_e;return et.replace(/([0-9,\.]{1,})/g,it=>{it=it.split(",").map(lt=>parseFloat(lt));const at=it[0]*st+tt/2-_e*st/2,ot=it[1]*st+nt/2-_e*st/2;return rt>=100?`${Math.round(at)},${Math.round(ot)}`:`${at},${ot}`})}function _extends$c(){return _extends$c=Object.assign||function(et){for(var _e=1;_e{const ut=["skeleton-image",at&&`skeleton-effect-${at}`,ot].filter(ft=>!!ft).join(" ");function dt(ft){return multiplySvgPoints(ft,56,_e,tt)}return React.createElement(et,_extends$c({className:ut},ct),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:_e,height:tt,viewBox:`0 0 ${_e} ${tt}`,style:{borderRadius:nt},preserveAspectRatio:"none"},React.createElement("polygon",{style:{fill:rt},fillRule:"evenodd",points:`0 0 ${_e} 0 ${_e} ${tt} 0 ${tt}`}),it&&React.createElement("path",{style:{fill:st},d:dt("M7.7148,49.5742 L48.2852,49.5742 C53.1836,49.5742 55.6446,47.1367 55.6446,42.3086 L55.6446,13.6914 C55.6446,8.8633 53.1836,6.4258 48.2852,6.4258 L7.7148,6.4258 C2.8398,6.4258 0.3554,8.8398 0.3554,13.6914 L0.3554,42.3086 C0.3554,47.1602 2.8398,49.5742 7.7148,49.5742 Z M39.2851,27.9414 C38.2304,27.0039 37.0351,26.5118 35.7695,26.5118 C34.457,26.5118 33.3085,26.9571 32.2304,27.918 L21.6366,37.3867 L17.3007,33.4492 C16.3163,32.582 15.2617,32.1133 14.1366,32.1133 C13.1054,32.1133 12.0976,32.5586 11.1366,33.4258 L4.1288,39.7305 L4.1288,13.8789 C4.1288,11.4414 5.4413,10.1992 7.7851,10.1992 L48.2147,10.1992 C50.535,10.1992 51.8708,11.4414 51.8708,13.8789 L51.8708,39.7539 L39.2851,27.9414 Z M17.8163,28.1992 C20.8398,28.1992 23.3241,25.7149 23.3241,22.668 C23.3241,19.6445 20.8398,17.1367 17.8163,17.1367 C14.7695,17.1367 12.2851,19.6445 12.2851,22.668 C12.2851,25.7149 14.7695,28.1992 17.8163,28.1992 Z")})),lt)};function _extends$b(){return _extends$b=Object.assign||function(et){for(var _e=1;_e{const ct=["skeleton-avatar",it&&`skeleton-effect-${it}`,at].filter(dt=>!!dt).join(" ");function ut(dt){return multiplySvgPoints(dt,56,_e,_e)}return React.createElement(et,_extends$b({className:ct},lt),React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:_e,height:_e,viewBox:`0 0 ${_e} ${_e}`,preserveAspectRatio:"none"},React.createElement("rect",{width:_e,height:_e,fillRule:"evenodd",style:{fill:tt},rx:st}),nt&&React.createElement("path",{style:{fill:rt},d:ut("M28.22461,27.1590817 C34.9209931,27.1590817 40.6829044,21.1791004 40.6829044,13.3926332 C40.6829044,5.69958662 34.8898972,0 28.22461,0 C21.5594557,0 15.7663156,5.82423601 15.7663156,13.4549579 C15.7663156,21.1791004 21.5594557,27.1590817 28.22461,27.1590817 Z M8.66515427,56 L47.7841986,56 C52.6739629,56 54.4181241,54.5984253 54.4181241,51.8576005 C54.4181241,43.8219674 44.358068,32.7341519 28.22461,32.7341519 C12.0600561,32.7341519 2,43.8219674 2,51.8576005 C2,54.5984253 3.74402832,56 8.66515427,56 Z")})),ot)};function _extends$a(){return _extends$a=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const tt=reactExports.useRef(null),{className:nt,id:rt,style:st,init:it=!0,value:at=0,min:ot=0,max:lt=100,step:ct=1,formatValue:ut,name:dt,inputId:ft,input:pt=!0,inputType:ht="text",inputReadonly:vt=!1,autorepeat:gt=!1,autorepeatDynamic:mt=!1,wraps:bt=!1,manualInputMode:xt=!1,decimalPoint:yt=4,buttonsEndInputMode:$t=!0,disabled:wt,buttonsOnly:Ct,round:Et,roundMd:Mt,roundIos:St,fill:Rt,fillMd:Pt,fillIos:kt,large:_t,largeMd:Bt,largeIos:It,small:At,smallMd:Tt,smallIos:Dt,raised:Nt,raisedMd:Ot,raisedIos:Lt}=et,jt=getExtraAttrs(et),Ht=reactExports.useRef(null),Ft=()=>{tt.current&&tt.current.increment()},Vt=()=>{tt.current&&tt.current.decrement()},zt=$n=>{tt.current&&tt.current.setValue&&tt.current.setValue($n)},Ut=()=>{if(tt.current&&tt.current.getValue)return tt.current.getValue()},qt=$n=>{emit(et,"input",$n,tt.current)},Wt=$n=>{emit(et,"change",$n,tt.current)},Jt=$n=>{emit(et,"stepperMinusClick",$n,tt.current)},Qt=$n=>{emit(et,"stepperPlusClick",$n,tt.current)};reactExports.useImperativeHandle(_e,()=>({el:Ht.current,f7Stepper:()=>tt.current,increment:Ft,decrement:Vt,setValue:zt,getValue:Ut})),watchProp(at,$n=>{tt.current&&tt.current.setValue($n)});const Zt=($n,gn)=>{emit(et,"stepperChange",gn)},Gt=$n=>{tt.current&&tt.current[$n]("change",Zt)},Kt=()=>{f7ready(()=>{!it||!Ht.current||(tt.current=f7.stepper.create(noUndefinedProps({el:Ht.current,min:ot,max:lt,value:at,step:ct,formatValue:ut,autorepeat:gt,autorepeatDynamic:mt,wraps:bt,manualInputMode:xt,decimalPoint:yt,buttonsEndInputMode:$t})),Gt("on"))})},hn=()=>{tt.current&&tt.current.destroy&&tt.current.destroy(),tt.current=null};useIsomorphicLayoutEffect$1(()=>(Gt("on"),()=>{Gt("off")})),useIsomorphicLayoutEffect$1(()=>(Kt(),hn),[]);let mn,Yt;if(pt&&!Ct){const $n=React.createElement("input",{name:dt,id:ft,type:ht,min:ht==="number"?ot:void 0,max:ht==="number"?lt:void 0,step:ht==="number"?ct:void 0,onInput:qt,onChange:Wt,value:at,readOnly:vt});mn=React.createElement("div",{className:"stepper-input-wrap"},$n)}!pt&&!Ct&&(Yt=React.createElement("div",{className:"stepper-value"},at));const xn=classNames(nt,"stepper",{disabled:wt,"stepper-round":Et,"stepper-round-ios":St,"stepper-round-md":Mt,"stepper-fill":Rt,"stepper-fill-ios":kt,"stepper-fill-md":Pt,"stepper-large":_t,"stepper-large-ios":It,"stepper-large-md":Bt,"stepper-small":At,"stepper-small-ios":Dt,"stepper-small-md":Tt,"stepper-raised":Nt,"stepper-raised-ios":Lt,"stepper-raised-md":Ot},colorClasses(et));return React.createElement("div",_extends$a({ref:Ht,id:rt,style:st,className:xn},jt),React.createElement("div",{className:"stepper-button-minus",onClick:Jt}),mn,Yt,React.createElement("div",{className:"stepper-button-plus",onClick:Qt}))});Stepper.displayName="f7-stepper";function _extends$9(){return _extends$9=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st,inner:it=!0,title:at,sliding:ot}=et,lt=getExtraAttrs(et),ct=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:ct.current}));const ut=classNames(tt,"subnavbar",{sliding:ot},colorClasses(et));return React.createElement("div",_extends$9({className:ut,id:nt,style:rt,ref:ct},lt),it?React.createElement("div",{className:"subnavbar-inner"},at&&React.createElement("div",{className:"subnavbar-title"},at),st):st)});Subnavbar.displayName="f7-subnavbar";function _extends$8(){return _extends$8=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st,left:it,right:at,side:ot}=et,lt=getExtraAttrs(et),ct=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:ct.current}));let ut=ot;ut||(it&&(ut="left"),at&&(ut="right"));const dt=classNames(tt,`swipeout-actions-${ut}`,colorClasses(et));return React.createElement("div",_extends$8({id:nt,style:rt,className:dt,ref:ct},lt),st)});SwipeoutActions.displayName="f7-swipeout-actions";function _extends$7(){return _extends$7=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st,text:it,confirmTitle:at,confirmText:ot,overswipe:lt,close:ct,delete:ut,href:dt}=et,ft=getExtraAttrs(et),pt=reactExports.useRef(null),ht=gt=>{emit(et,"click",gt)};reactExports.useImperativeHandle(_e,()=>({el:pt.current}));const vt=classNames(tt,{"swipeout-overswipe":lt,"swipeout-delete":ut,"swipeout-close":ct},colorClasses(et));return React.createElement("a",_extends$7({ref:pt,href:dt||"#",id:nt,style:rt,"data-confirm":ot||void 0,"data-confirm-title":at||void 0,className:vt},ft,{onClick:ht}),st,it)});SwipeoutButton.displayName="f7-swipeout-button";const TabsSwipeableContext=React.createContext(!1);function _extends$6(){return _extends$6=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st,tabActive:it}=et,at=getExtraAttrs(et),ot=reactExports.useRef(null),lt=reactExports.useRef(null),ct=reactExports.useContext(RouterContext),ut=reactExports.useContext(TabsSwipeableContext);let dt=null;if(!lt.current&&ct&&ct.route&&ct.route.route&&ct.route.route.tab&&ct.route.route.tab.id===nt){const{component:yt,asyncComponent:$t,options:wt}=ct.route.route.tab;if(yt||$t){const Ct=ct.route.route.options&&ct.route.route.options.props;dt={id:getComponentId(),component:yt||$t,isAsync:!!$t,props:{...Ct||{},...wt&&wt.props||{},f7router:ct.router,f7route:ct.route,...ct.route.params}}}}const[ft,pt]=reactExports.useState(dt||null);reactExports.useImperativeHandle(_e,()=>({el:ot.current})),f7&&!lt.current&&(lt.current={setTabContent:pt},f7routers.tabs.push(lt.current));const ht=()=>{ot.current&&dt&&(ot.current.f7RouterTabLoaded=!0),f7ready(()=>{lt.current?lt.current.el=ot.current:(lt.current={el:ot.current,setTabContent:pt},f7routers.tabs.push(lt.current))})},vt=()=>{lt.current&&(f7routers.tabs.splice(f7routers.tabs.indexOf(lt.current),1),lt.current=null)};useIsomorphicLayoutEffect$1(()=>(ht(),vt),[]),useIsomorphicLayoutEffect$1(()=>{!lt.current||!f7||f7events.emit("tabRouterDidUpdate",lt.current)}),useTab(ot,et);const gt=classNames(tt,"tab",{"tab-active":it},colorClasses(et)),mt=()=>{if(!ft)return st;if(ft.isAsync)return useAsyncComponent(ft.component,ft.props,ft.id);const yt=ft.component;return React.createElement(yt,_extends$6({key:ft.id},ft.props))},bt=ut?"swiper-slide":"div",xt=ut?{class:gt}:{className:gt};return React.createElement(bt,_extends$6({id:nt,style:rt,ref:ot},at,xt),mt())});Tab.displayName="f7-tab";function _extends$5(){return _extends$5=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st,animated:it,swipeable:at,routable:ot,swiperParams:lt}=et,ct=getExtraAttrs(et),ut=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:ut.current})),useIsomorphicLayoutEffect$1(()=>{!at||!lt||ut.current&&(Object.assign(ut.current,lt),ut.current.initialize())},[]);const dt=classNames(tt,colorClasses(et)),ft=classNames({tabs:!0,"tabs-routable":ot});return it?React.createElement("div",_extends$5({id:nt,style:rt,className:classNames("tabs-animated-wrap",dt),ref:ut},ct),React.createElement("div",{className:ft},st)):at?React.createElement("swiper-container",_extends$5({id:nt,style:rt,class:classNames(ft,dt),ref:ut,init:lt?"false":"true"},ct),React.createElement(TabsSwipeableContext.Provider,{value:!0},st)):React.createElement("div",_extends$5({id:nt,style:rt,className:classNames(ft,dt),ref:ut},ct),st)});Tabs.displayName="f7-tabs";function _extends$4(){return _extends$4=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,tabbar:st,icons:it,scrollable:at,hidden:ot,outline:lt=!0,position:ct,topMd:ut,topIos:dt,top:ft,bottomMd:pt,bottomIos:ht,bottom:vt,inner:gt=!0}=et,mt=getExtraAttrs(et),bt=reactExports.useRef(null),xt=St=>{bt.current===St&&emit(et,"toolbarHide")},yt=St=>{bt.current===St&&emit(et,"toolbarShow")},$t=St=>{f7&&f7.toolbar.hide(bt.current,St)},wt=St=>{f7&&f7.toolbar.show(bt.current,St)};reactExports.useImperativeHandle(_e,()=>({el:bt.current,hide:$t,show:wt})),useIsomorphicLayoutEffect$1(()=>(f7ready(()=>{st&&f7&&bt.current&&f7.toolbar.setHighlight(bt.current),f7.on("toolbarShow",yt),f7.on("toolbarHide",xt)}),()=>{f7&&(f7.off("toolbarShow",yt),f7.off("toolbarHide",xt))}));const Ct=useTheme(),Et=classNames(tt,"toolbar",{tabbar:st,"toolbar-bottom":Ct&&Ct.md&&pt||Ct&&Ct.ios&&ht||vt||ct==="bottom","toolbar-top":Ct&&Ct.md&&ut||Ct&&Ct.ios&&dt||ft||ct==="top","tabbar-icons":it,"tabbar-scrollable":at,"toolbar-hidden":ot,"no-outline":!lt},colorClasses(et)),Mt=getSlots(et);return React.createElement("div",_extends$4({id:nt,style:rt,className:Et,ref:bt},mt),React.createElement(TabbarContext.Provider,{value:{tabbarHasIcons:it}},Mt["before-inner"],gt?React.createElement("div",{className:"toolbar-inner"},Mt.default):Mt.default,Mt["after-inner"]))});Toolbar.displayName="f7-toolbar";function _extends$3(){return _extends$3=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,toggle:st,itemToggle:it,selectable:at,selected:ot,opened:lt,label:ct,loadChildren:ut,link:dt}=et,ft=getExtraAttrs(et),pt=reactExports.useRef(null),ht=kt=>{emit(et,"click",kt)},vt=kt=>{pt.current===kt&&emit(et,"treeviewOpen",kt)},gt=kt=>{pt.current===kt&&emit(et,"treeviewClose",kt)},mt=(kt,_t)=>{pt.current===kt&&emit(et,"treeviewLoadChildren",kt,_t)};reactExports.useImperativeHandle(_e,()=>({el:pt.current}));const bt=()=>{pt.current&&f7ready(()=>{f7.on("treeviewOpen",vt),f7.on("treeviewClose",gt),f7.on("treeviewLoadChildren",mt)})},xt=()=>{f7&&(f7.off("treeviewOpen",vt),f7.off("treeviewClose",gt),f7.off("treeviewLoadChildren",mt))};useIsomorphicLayoutEffect$1(()=>(bt(),xt));const yt=getSlots(et),$t=yt.default&&yt.default.length||yt.children&&yt.children.length||yt["children-start"]&&yt["children-start"].length,wt=typeof st>"u"?$t:st,Ct=useIcon(et),Et=dt||dt===""?"a":"div",Mt=classNames(tt,"treeview-item",{"treeview-item-opened":lt,"treeview-load-children":ut},colorClasses(et)),St=classNames("treeview-item-root",{"treeview-item-selectable":at,"treeview-item-selected":ot,"treeview-item-toggle":it},routerClasses(et),actionsClasses(et));let Rt=dt;dt===!0&&(Rt="#"),dt===!1&&(Rt=void 0);const Pt={href:Rt,...routerAttrs(et),...actionsAttrs(et)};return React.createElement("div",_extends$3({id:nt,style:rt,className:Mt,ref:pt},ft),React.createElement(Et,_extends$3({onClick:ht,className:St},Pt),yt["root-start"],wt&&React.createElement("div",{className:"treeview-toggle"}),React.createElement("div",{className:"treeview-item-content"},yt["content-start"],Ct,yt.media,React.createElement("div",{className:"treeview-item-label"},yt["label-start"],ct,yt.label),yt.content,yt["content-end"]),yt.root,yt["root-end"]),$t&&React.createElement("div",{className:"treeview-item-children"},yt["children-start"],yt.default,yt.children))});TreeviewItem.displayName="f7-treeview-item";function _extends$2(){return _extends$2=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st}=et,it=getExtraAttrs(et),at=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:at.current}));const ot=classNames(tt,"treeview",colorClasses(et));return React.createElement("div",_extends$2({id:nt,style:rt,className:ot,ref:at},it),st)});Treeview.displayName="f7-treeview";function _extends$1(){return _extends$1=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e{const{className:tt,id:nt,style:rt,children:st,tabs:it}=et,at=getExtraAttrs(et),ot=reactExports.useRef(null);reactExports.useImperativeHandle(_e,()=>({el:ot.current}));const lt=classNames(tt,"views",{tabs:it},colorClasses(et));return React.createElement("div",_extends$1({id:nt,style:rt,className:lt,ref:ot},at),st)});Views.displayName="f7-views";const framework7Bundle="",icons="",app="";function n$4(et){for(var _e=arguments.length,tt=Array(_e>1?_e-1:0),nt=1;nt<_e;nt++)tt[nt-1]=arguments[nt];if(!1)var rt,st;throw Error("[Immer] minified error nr: "+et+(tt.length?" "+tt.map(function(it){return"'"+it+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function r$3(et){return!!et&&!!et[Q]}function t$4(et){var _e;return!!et&&(function(tt){if(!tt||typeof tt!="object")return!1;var nt=Object.getPrototypeOf(tt);if(nt===null)return!0;var rt=Object.hasOwnProperty.call(nt,"constructor")&&nt.constructor;return rt===Object||typeof rt=="function"&&Function.toString.call(rt)===Z}(et)||Array.isArray(et)||!!et[L]||!!(!((_e=et.constructor)===null||_e===void 0)&&_e[L])||s(et)||v$3(et))}function e$3(et){return r$3(et)||n$4(23,et),et[Q].t}function i$2(et,_e,tt){tt===void 0&&(tt=!1),o(et)===0?(tt?Object.keys:nn)(et).forEach(function(nt){tt&&typeof nt=="symbol"||_e(nt,et[nt],et)}):et.forEach(function(nt,rt){return _e(rt,nt,et)})}function o(et){var _e=et[Q];return _e?_e.i>3?_e.i-4:_e.i:Array.isArray(et)?1:s(et)?2:v$3(et)?3:0}function u$3(et,_e){return o(et)===2?et.has(_e):Object.prototype.hasOwnProperty.call(et,_e)}function a(et,_e){return o(et)===2?et.get(_e):et[_e]}function f$2(et,_e,tt){var nt=o(et);nt===2?et.set(_e,tt):nt===3?et.add(tt):et[_e]=tt}function c$2(et,_e){return et===_e?et!==0||1/et==1/_e:et!=et&&_e!=_e}function s(et){return X&&et instanceof Map}function v$3(et){return q$4&&et instanceof Set}function p$4(et){return et.o||et.t}function l$3(et){if(Array.isArray(et))return Array.prototype.slice.call(et);var _e=rn(et);delete _e[Q];for(var tt=nn(_e),nt=0;nt1&&(et.set=et.add=et.clear=et.delete=h$4),Object.freeze(et),_e&&i$2(et,function(tt,nt){return d$2(nt,!0)},!0)),et}function h$4(){n$4(2)}function y$1(et){return et==null||typeof et!="object"||Object.isFrozen(et)}function b$2(et){var _e=tn[et];return _e||n$4(18,et),_e}function m$3(et,_e){tn[et]||(tn[et]=_e)}function _(){return U}function j(et,_e){_e&&(b$2("Patches"),et.u=[],et.s=[],et.v=_e)}function g$2(et){O(et),et.p.forEach(S),et.p=null}function O(et){et===U&&(U=et.l)}function w$2(et){return U={p:[],l:U,h:et,m:!0,_:0}}function S(et){var _e=et[Q];_e.i===0||_e.i===1?_e.j():_e.g=!0}function P(et,_e){_e._=_e.p.length;var tt=_e.p[0],nt=et!==void 0&&et!==tt;return _e.h.O||b$2("ES5").S(_e,et,nt),nt?(tt[Q].P&&(g$2(_e),n$4(4)),t$4(et)&&(et=M(_e,et),_e.l||x$1(_e,et)),_e.u&&b$2("Patches").M(tt[Q].t,et,_e.u,_e.s)):et=M(_e,tt,[]),g$2(_e),_e.u&&_e.v(_e.u,_e.s),et!==H?et:void 0}function M(et,_e,tt){if(y$1(_e))return _e;var nt=_e[Q];if(!nt)return i$2(_e,function(at,ot){return A$1(et,nt,_e,at,ot,tt)},!0),_e;if(nt.A!==et)return _e;if(!nt.P)return x$1(et,nt.t,!0),nt.t;if(!nt.I){nt.I=!0,nt.A._--;var rt=nt.i===4||nt.i===5?nt.o=l$3(nt.k):nt.o,st=rt,it=!1;nt.i===3&&(st=new Set(rt),rt.clear(),it=!0),i$2(st,function(at,ot){return A$1(et,nt,rt,at,ot,tt,it)}),x$1(et,rt,!1),tt&&et.u&&b$2("Patches").N(nt,tt,et.u,et.s)}return nt.o}function A$1(et,_e,tt,nt,rt,st,it){if(r$3(rt)){var at=M(et,rt,st&&_e&&_e.i!==3&&!u$3(_e.R,nt)?st.concat(nt):void 0);if(f$2(tt,nt,at),!r$3(at))return;et.m=!1}else it&&tt.add(rt);if(t$4(rt)&&!y$1(rt)){if(!et.h.D&&et._<1)return;M(et,rt),_e&&_e.A.l||x$1(et,rt)}}function x$1(et,_e,tt){tt===void 0&&(tt=!1),!et.l&&et.h.D&&et.m&&d$2(_e,tt)}function z$1(et,_e){var tt=et[Q];return(tt?p$4(tt):et)[_e]}function I(et,_e){if(_e in et)for(var tt=Object.getPrototypeOf(et);tt;){var nt=Object.getOwnPropertyDescriptor(tt,_e);if(nt)return nt;tt=Object.getPrototypeOf(tt)}}function k$3(et){et.P||(et.P=!0,et.l&&k$3(et.l))}function E(et){et.o||(et.o=l$3(et.t))}function N(et,_e,tt){var nt=s(_e)?b$2("MapSet").F(_e,tt):v$3(_e)?b$2("MapSet").T(_e,tt):et.O?function(rt,st){var it=Array.isArray(rt),at={i:it?1:0,A:st?st.A:_(),P:!1,I:!1,R:{},l:st,t:rt,k:null,o:null,j:null,C:!1},ot=at,lt=en;it&&(ot=[at],lt=on$1);var ct=Proxy.revocable(ot,lt),ut=ct.revoke,dt=ct.proxy;return at.k=dt,at.j=ut,dt}(_e,tt):b$2("ES5").J(_e,tt);return(tt?tt.A:_()).p.push(nt),nt}function R(et){return r$3(et)||n$4(22,et),function _e(tt){if(!t$4(tt))return tt;var nt,rt=tt[Q],st=o(tt);if(rt){if(!rt.P&&(rt.i<4||!b$2("ES5").K(rt)))return rt.t;rt.I=!0,nt=D(tt,st),rt.I=!1}else nt=D(tt,st);return i$2(nt,function(it,at){rt&&a(rt.t,it)===at||f$2(nt,it,_e(at))}),st===3?new Set(nt):nt}(et)}function D(et,_e){switch(_e){case 2:return new Map(et);case 3:return Array.from(et)}return l$3(et)}function F(){function et(it,at){var ot=st[it];return ot?ot.enumerable=at:st[it]=ot={configurable:!0,enumerable:at,get:function(){var lt=this[Q];return en.get(lt,it)},set:function(lt){var ct=this[Q];en.set(ct,it,lt)}},ot}function _e(it){for(var at=it.length-1;at>=0;at--){var ot=it[at][Q];if(!ot.P)switch(ot.i){case 5:nt(ot)&&k$3(ot);break;case 4:tt(ot)&&k$3(ot)}}}function tt(it){for(var at=it.t,ot=it.k,lt=nn(ot),ct=lt.length-1;ct>=0;ct--){var ut=lt[ct];if(ut!==Q){var dt=at[ut];if(dt===void 0&&!u$3(at,ut))return!0;var ft=ot[ut],pt=ft&&ft[Q];if(pt?pt.t!==dt:!c$2(ft,dt))return!0}}var ht=!!at[Q];return lt.length!==nn(at).length+(ht?0:1)}function nt(it){var at=it.k;if(at.length!==it.t.length)return!0;var ot=Object.getOwnPropertyDescriptor(at,at.length-1);if(ot&&!ot.get)return!0;for(var lt=0;lt1?gt-1:0),bt=1;bt1?ct-1:0),dt=1;dt=0;rt--){var st=nt[rt];if(st.path.length===0&&st.op==="replace"){tt=st.value;break}}rt>-1&&(nt=nt.slice(rt+1));var it=b$2("Patches").$;return r$3(tt)?it(tt,nt):this.produce(tt,function(at){return it(at,nt)})},et}(),an=new un,fn=an.produce,cn=an.produceWithPatches.bind(an),sn=an.setAutoFreeze.bind(an),vn=an.setUseProxies.bind(an),pn=an.applyPatches.bind(an),ln=an.createDraft.bind(an),dn=an.finishDraft.bind(an);function _typeof(et){"@babel/helpers - typeof";return _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(_e){return typeof _e}:function(_e){return _e&&typeof Symbol=="function"&&_e.constructor===Symbol&&_e!==Symbol.prototype?"symbol":typeof _e},_typeof(et)}function _toPrimitive(et,_e){if(_typeof(et)!=="object"||et===null)return et;var tt=et[Symbol.toPrimitive];if(tt!==void 0){var nt=tt.call(et,_e||"default");if(_typeof(nt)!=="object")return nt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(_e==="string"?String:Number)(et)}function _toPropertyKey(et){var _e=_toPrimitive(et,"string");return _typeof(_e)==="symbol"?_e:String(_e)}function _defineProperty(et,_e,tt){return _e=_toPropertyKey(_e),_e in et?Object.defineProperty(et,_e,{value:tt,enumerable:!0,configurable:!0,writable:!0}):et[_e]=tt,et}function ownKeys(et,_e){var tt=Object.keys(et);if(Object.getOwnPropertySymbols){var nt=Object.getOwnPropertySymbols(et);_e&&(nt=nt.filter(function(rt){return Object.getOwnPropertyDescriptor(et,rt).enumerable})),tt.push.apply(tt,nt)}return tt}function _objectSpread2(et){for(var _e=1;_e"u"&&(tt=_e,_e=void 0),typeof tt<"u"){if(typeof tt!="function")throw new Error(formatProdErrorMessage(1));return tt(createStore)(et,_e)}if(typeof et!="function")throw new Error(formatProdErrorMessage(2));var rt=et,st=_e,it=[],at=it,ot=!1;function lt(){at===it&&(at=it.slice())}function ct(){if(ot)throw new Error(formatProdErrorMessage(3));return st}function ut(ht){if(typeof ht!="function")throw new Error(formatProdErrorMessage(4));if(ot)throw new Error(formatProdErrorMessage(5));var vt=!0;return lt(),at.push(ht),function(){if(vt){if(ot)throw new Error(formatProdErrorMessage(6));vt=!1,lt();var mt=at.indexOf(ht);at.splice(mt,1),it=null}}}function dt(ht){if(!isPlainObject$3(ht))throw new Error(formatProdErrorMessage(7));if(typeof ht.type>"u")throw new Error(formatProdErrorMessage(8));if(ot)throw new Error(formatProdErrorMessage(9));try{ot=!0,st=rt(st,ht)}finally{ot=!1}for(var vt=it=at,gt=0;gt0)return"Unexpected "+(it.length>1?"keys":"key")+" "+('"'+it.join('", "')+'" found in '+st+". ")+"Expected to find one of the known reducer keys instead: "+('"'+rt.join('", "')+'". Unexpected keys will be ignored.')}function assertReducerShape(et){Object.keys(et).forEach(function(_e){var tt=et[_e],nt=tt(void 0,{type:ActionTypes.INIT});if(typeof nt>"u")throw new Error(formatProdErrorMessage(12));if(typeof tt(void 0,{type:ActionTypes.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(formatProdErrorMessage(13))})}function combineReducers(et){for(var _e=Object.keys(et),tt={},nt=0;nt<_e.length;nt++){var rt=_e[nt];typeof et[rt]=="function"&&(tt[rt]=et[rt])}var st=Object.keys(tt),it,at;try{assertReducerShape(tt)}catch(ot){at=ot}return function(lt,ct){if(lt===void 0&&(lt={}),at)throw at;if(!1)var ut;for(var dt=!1,ft={},pt=0;pt"u"){var bt=ct&&ct.type;throw new Error(formatProdErrorMessage(14))}ft[ht]=mt,dt=dt||mt!==gt}return dt=dt||st.length!==Object.keys(lt).length,dt?ft:lt}}function bindActionCreator(et,_e){return function(){return _e(et.apply(this,arguments))}}function bindActionCreators$1(et,_e){if(typeof et=="function")return bindActionCreator(et,_e);if(typeof et!="object"||et===null)throw new Error(formatProdErrorMessage(16));var tt={};for(var nt in et){var rt=et[nt];typeof rt=="function"&&(tt[nt]=bindActionCreator(rt,_e))}return tt}function compose(){for(var et=arguments.length,_e=new Array(et),tt=0;tt-1){var lt=tt[ot];return ot>0&&(tt.splice(ot,1),tt.unshift(lt)),lt.value}return NOT_FOUND}function rt(at,ot){nt(at)===NOT_FOUND&&(tt.unshift({key:at,value:ot}),tt.length>et&&tt.pop())}function st(){return tt}function it(){tt=[]}return{get:nt,put:rt,getEntries:st,clear:it}}var defaultEqualityCheck=function(_e,tt){return _e===tt};function createCacheKeyComparator(et){return function(tt,nt){if(tt===null||nt===null||tt.length!==nt.length)return!1;for(var rt=tt.length,st=0;st1?_e-1:0),nt=1;nt<_e;nt++)tt[nt-1]=arguments[nt];var rt=function(){for(var it=arguments.length,at=new Array(it),ot=0;ot0&&st[st.length-1])&&(lt[0]===6||lt[0]===2)){tt=0;continue}if(lt[0]===3&&(!st||lt[1]>st[0]&<[1]-1}function getType(et){return""+et}function getMessage(et){var _e=et?(""+et).split("/"):[],tt=_e[_e.length-1]||"actionCreator";return'Detected an action creator with type "'+(et||"unknown")+`" being dispatched. +Make sure you're calling the action creator before dispatching, i.e. \`dispatch(`+tt+"())` instead of `dispatch("+tt+")`. This is necessary even if the action has no payload."}function createActionCreatorInvariantMiddleware(et){return et===void 0&&(et={}),function(){return function(nt){return function(rt){return nt(rt)}}};var _e=et.isActionCreator,tt=_e===void 0?isActionCreator:_e;return function(){return function(nt){return function(rt){return tt(rt)&&console.warn(getMessage(rt.type)),nt(rt)}}}}function getTimeMeasureUtils(et,_e){var tt=0;return{measureTime:function(nt){var rt=Date.now();try{return nt()}finally{var st=Date.now();tt+=st-rt}},warnIfExceeded:function(){tt>et&&console.warn(_e+" took "+tt+"ms, which is more than the warning threshold of "+et+`ms. +If your state or actions are very large, you may want to disable the middleware as it might cause too much of a slowdown in development mode. See https://redux-toolkit.js.org/api/getDefaultMiddleware for instructions. +It is disabled in production builds, so you don't need to worry about that.`)}}}var MiddlewareArray=function(et){__extends(_e,et);function _e(){for(var tt=[],nt=0;nt0){var it=tt.indexOf(this);~it?tt.splice(it+1):tt.push(this),~it?nt.splice(it,1/0,rt):nt.push(rt),~tt.indexOf(st)&&(st=_e.call(this,rt,st))}else tt.push(st);return et==null?st:et.call(this,rt,st)}}function isImmutableDefault(et){return typeof et!="object"||et==null||Object.isFrozen(et)}function trackForMutations(et,_e,tt){var nt=trackProperties(et,_e,tt);return{detectMutations:function(){return detectMutations(et,_e,nt,tt)}}}function trackProperties(et,_e,tt,nt,rt){_e===void 0&&(_e=[]),nt===void 0&&(nt=""),rt===void 0&&(rt=new Set);var st={value:tt};if(!et(tt)&&!rt.has(tt)){rt.add(tt),st.children={};for(var it in tt){var at=nt?nt+"."+it:it;_e.length&&_e.indexOf(at)!==-1||(st.children[it]=trackProperties(et,_e,tt[it],at))}}return st}function detectMutations(et,_e,tt,nt,rt,st){_e===void 0&&(_e=[]),rt===void 0&&(rt=!1),st===void 0&&(st="");var it=tt?tt.value:void 0,at=it===nt;if(rt&&!at&&!Number.isNaN(nt))return{wasMutated:!0,path:st};if(et(it)||et(nt))return{wasMutated:!1};var ot={};for(var lt in tt.children)ot[lt]=!0;for(var lt in nt)ot[lt]=!0;var ct=_e.length>0,ut=function(ft){var pt=st?st+"."+ft:ft;if(ct){var ht=_e.some(function(gt){return gt instanceof RegExp?gt.test(pt):pt===gt});if(ht)return"continue"}var vt=detectMutations(et,_e,tt.children[ft],nt[ft],at,pt);if(vt.wasMutated)return{value:vt}};for(var lt in ot){var dt=ut(lt);if(typeof dt=="object")return dt.value}return{wasMutated:!1}}function createImmutableStateInvariantMiddleware(et){return et===void 0&&(et={}),function(){return function(ot){return function(lt){return ot(lt)}}};var _e=et.isImmutable,tt=_e===void 0?isImmutableDefault:_e,nt=et.ignoredPaths,rt=et.warnAfter,st=rt===void 0?32:rt,it=et.ignore;nt=nt||it;var at=trackForMutations.bind(null,tt,nt);return function(ot){var lt=ot.getState,ct=lt(),ut=at(ct),dt;return function(ft){return function(pt){var ht=getTimeMeasureUtils(st,"ImmutableStateInvariantMiddleware");ht.measureTime(function(){ct=lt(),dt=ut.detectMutations(),ut=at(ct),invariant(!dt.wasMutated,"A state mutation was detected between dispatches, in the path '"+(dt.path||"")+"'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)")});var vt=ft(pt);return ht.measureTime(function(){ct=lt(),dt=ut.detectMutations(),ut=at(ct),dt.wasMutated&&invariant(!dt.wasMutated,"A state mutation was detected inside a dispatch, in the path: "+(dt.path||"")+". Take a look at the reducer(s) handling the action "+stringify(pt)+". (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)")}),ht.warnIfExceeded(),vt}}}}function isPlain(et){var _e=typeof et;return et==null||_e==="string"||_e==="boolean"||_e==="number"||Array.isArray(et)||isPlainObject$2(et)}function findNonSerializableValue(et,_e,tt,nt,rt,st){_e===void 0&&(_e=""),tt===void 0&&(tt=isPlain),rt===void 0&&(rt=[]);var it;if(!tt(et))return{keyPath:_e||"",value:et};if(typeof et!="object"||et===null||st!=null&&st.has(et))return!1;for(var at=nt!=null?nt(et):Object.entries(et),ot=rt.length>0,lt=function(vt,gt){var mt=_e?_e+"."+vt:vt;if(ot){var bt=rt.some(function(xt){return xt instanceof RegExp?xt.test(mt):mt===xt});if(bt)return"continue"}if(!tt(gt))return{value:{keyPath:mt,value:gt}};if(typeof gt=="object"&&(it=findNonSerializableValue(gt,mt,tt,nt,rt,st),it))return{value:it}},ct=0,ut=at;ct0;if(mt){var bt=pt.filter(function(xt){return lt(vt,xt,ht)}).length>0;bt&&(ht.ids=Object.keys(ht.entities))}}function dt(pt,ht){return ft([pt],ht)}function ft(pt,ht){var vt=splitAddedUpdatedEntities(pt,et,ht),gt=vt[0],mt=vt[1];ut(mt,ht),tt(gt,ht)}return{removeAll:createSingleArgumentStateOperator(ot),addOne:createStateOperator(_e),addMany:createStateOperator(tt),setOne:createStateOperator(nt),setMany:createStateOperator(rt),setAll:createStateOperator(st),updateOne:createStateOperator(ct),updateMany:createStateOperator(ut),upsertOne:createStateOperator(dt),upsertMany:createStateOperator(ft),removeOne:createStateOperator(it),removeMany:createStateOperator(at)}}function createSortedStateAdapter(et,_e){var tt=createUnsortedStateAdapter(et),nt=tt.removeOne,rt=tt.removeMany,st=tt.removeAll;function it(mt,bt){return at([mt],bt)}function at(mt,bt){mt=ensureEntitiesArray(mt);var xt=mt.filter(function(yt){return!(selectIdValue(yt,et)in bt.entities)});xt.length!==0&&vt(xt,bt)}function ot(mt,bt){return lt([mt],bt)}function lt(mt,bt){mt=ensureEntitiesArray(mt),mt.length!==0&&vt(mt,bt)}function ct(mt,bt){mt=ensureEntitiesArray(mt),bt.entities={},bt.ids=[],at(mt,bt)}function ut(mt,bt){return dt([mt],bt)}function dt(mt,bt){for(var xt=!1,yt=0,$t=mt;yt<$t.length;yt++){var wt=$t[yt],Ct=bt.entities[wt.id];if(Ct){xt=!0,Object.assign(Ct,wt.changes);var Et=et(Ct);wt.id!==Et&&(delete bt.entities[wt.id],bt.entities[Et]=Ct)}}xt&>(bt)}function ft(mt,bt){return pt([mt],bt)}function pt(mt,bt){var xt=splitAddedUpdatedEntities(mt,et,bt),yt=xt[0],$t=xt[1];dt($t,bt),at(yt,bt)}function ht(mt,bt){if(mt.length!==bt.length)return!1;for(var xt=0;xt-1;return tt&&nt}function isAsyncThunkArray(et){return typeof et[0]=="function"&&"pending"in et[0]&&"fulfilled"in et[0]&&"rejected"in et[0]}function isPending(){for(var et=[],_e=0;_e0)for(var bt=ft.getState(),xt=Array.from(tt.values()),yt=0,$t=xt;yt<$t.length;yt++){var wt=$t[yt],Ct=!1;try{Ct=wt.predicate(ht,bt,vt)}catch(Et){Ct=!1,safelyNotifyError(st,Et,{raisedBy:"predicate"})}Ct&&ct(wt,ht,ft,gt)}}finally{vt=INTERNAL_NIL_TOKEN}return mt}}};return{middleware:dt,startListening:ot,stopListening:lt,clearListeners:ut}}var SHOULD_AUTOBATCH="RTK_autoBatch",prepareAutoBatched=function(){return function(et){var _e;return{payload:et,meta:(_e={},_e[SHOULD_AUTOBATCH]=!0,_e)}}},promise,queueMicrotaskShim=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(et){return(promise||(promise=Promise.resolve())).then(et).catch(function(_e){return setTimeout(function(){throw _e},0)})},createQueueWithTimer=function(et){return function(_e){setTimeout(_e,et)}},rAF=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:createQueueWithTimer(10),autoBatchEnhancer=function(et){return et===void 0&&(et={type:"raf"}),function(_e){return function(){for(var tt=[],nt=0;nt_e=>{const tt=toString$1.call(_e);return et[tt]||(et[tt]=tt.slice(8,-1).toLowerCase())})(Object.create(null)),kindOfTest=et=>(et=et.toLowerCase(),_e=>kindOf(_e)===et),typeOfTest=et=>_e=>typeof _e===et,{isArray:isArray$1}=Array,isUndefined=typeOfTest("undefined");function isBuffer(et){return et!==null&&!isUndefined(et)&&et.constructor!==null&&!isUndefined(et.constructor)&&isFunction$1(et.constructor.isBuffer)&&et.constructor.isBuffer(et)}const isArrayBuffer=kindOfTest("ArrayBuffer");function isArrayBufferView(et){let _e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?_e=ArrayBuffer.isView(et):_e=et&&et.buffer&&isArrayBuffer(et.buffer),_e}const isString=typeOfTest("string"),isFunction$1=typeOfTest("function"),isNumber$1=typeOfTest("number"),isObject$2=et=>et!==null&&typeof et=="object",isBoolean=et=>et===!0||et===!1,isPlainObject$1=et=>{if(kindOf(et)!=="object")return!1;const _e=getPrototypeOf$2(et);return(_e===null||_e===Object.prototype||Object.getPrototypeOf(_e)===null)&&!(Symbol.toStringTag in et)&&!(Symbol.iterator in et)},isDate=kindOfTest("Date"),isFile=kindOfTest("File"),isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=et=>isObject$2(et)&&isFunction$1(et.pipe),isFormData=et=>{let _e;return et&&(typeof FormData=="function"&&et instanceof FormData||isFunction$1(et.append)&&((_e=kindOf(et))==="formdata"||_e==="object"&&isFunction$1(et.toString)&&et.toString()==="[object FormData]"))},isURLSearchParams=kindOfTest("URLSearchParams"),trim=et=>et.trim?et.trim():et.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(et,_e,{allOwnKeys:tt=!1}={}){if(et===null||typeof et>"u")return;let nt,rt;if(typeof et!="object"&&(et=[et]),isArray$1(et))for(nt=0,rt=et.length;nt0;)if(rt=tt[nt],_e===rt.toLowerCase())return rt;return null}const _global=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),isContextDefined=et=>!isUndefined(et)&&et!==_global;function merge$1(){const{caseless:et}=isContextDefined(this)&&this||{},_e={},tt=(nt,rt)=>{const st=et&&findKey(_e,rt)||rt;isPlainObject$1(_e[st])&&isPlainObject$1(nt)?_e[st]=merge$1(_e[st],nt):isPlainObject$1(nt)?_e[st]=merge$1({},nt):isArray$1(nt)?_e[st]=nt.slice():_e[st]=nt};for(let nt=0,rt=arguments.length;nt(forEach(_e,(rt,st)=>{tt&&isFunction$1(rt)?et[st]=bind(rt,tt):et[st]=rt},{allOwnKeys:nt}),et),stripBOM=et=>(et.charCodeAt(0)===65279&&(et=et.slice(1)),et),inherits=(et,_e,tt,nt)=>{et.prototype=Object.create(_e.prototype,nt),et.prototype.constructor=et,Object.defineProperty(et,"super",{value:_e.prototype}),tt&&Object.assign(et.prototype,tt)},toFlatObject=(et,_e,tt,nt)=>{let rt,st,it;const at={};if(_e=_e||{},et==null)return _e;do{for(rt=Object.getOwnPropertyNames(et),st=rt.length;st-- >0;)it=rt[st],(!nt||nt(it,et,_e))&&!at[it]&&(_e[it]=et[it],at[it]=!0);et=tt!==!1&&getPrototypeOf$2(et)}while(et&&(!tt||tt(et,_e))&&et!==Object.prototype);return _e},endsWith=(et,_e,tt)=>{et=String(et),(tt===void 0||tt>et.length)&&(tt=et.length),tt-=_e.length;const nt=et.indexOf(_e,tt);return nt!==-1&&nt===tt},toArray$1=et=>{if(!et)return null;if(isArray$1(et))return et;let _e=et.length;if(!isNumber$1(_e))return null;const tt=new Array(_e);for(;_e-- >0;)tt[_e]=et[_e];return tt},isTypedArray=(et=>_e=>et&&_e instanceof et)(typeof Uint8Array<"u"&&getPrototypeOf$2(Uint8Array)),forEachEntry=(et,_e)=>{const nt=(et&&et[Symbol.iterator]).call(et);let rt;for(;(rt=nt.next())&&!rt.done;){const st=rt.value;_e.call(et,st[0],st[1])}},matchAll=(et,_e)=>{let tt;const nt=[];for(;(tt=et.exec(_e))!==null;)nt.push(tt);return nt},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase=et=>et.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(tt,nt,rt){return nt.toUpperCase()+rt}),hasOwnProperty=(({hasOwnProperty:et})=>(_e,tt)=>et.call(_e,tt))(Object.prototype),isRegExp=kindOfTest("RegExp"),reduceDescriptors=(et,_e)=>{const tt=Object.getOwnPropertyDescriptors(et),nt={};forEach(tt,(rt,st)=>{let it;(it=_e(rt,st,et))!==!1&&(nt[st]=it||rt)}),Object.defineProperties(et,nt)},freezeMethods=et=>{reduceDescriptors(et,(_e,tt)=>{if(isFunction$1(et)&&["arguments","caller","callee"].indexOf(tt)!==-1)return!1;const nt=et[tt];if(isFunction$1(nt)){if(_e.enumerable=!1,"writable"in _e){_e.writable=!1;return}_e.set||(_e.set=()=>{throw Error("Can not rewrite read-only method '"+tt+"'")})}})},toObjectSet=(et,_e)=>{const tt={},nt=rt=>{rt.forEach(st=>{tt[st]=!0})};return isArray$1(et)?nt(et):nt(String(et).split(_e)),tt},noop$1=()=>{},toFiniteNumber=(et,_e)=>(et=+et,Number.isFinite(et)?et:_e),ALPHA="abcdefghijklmnopqrstuvwxyz",DIGIT="0123456789",ALPHABET={DIGIT,ALPHA,ALPHA_DIGIT:ALPHA+ALPHA.toUpperCase()+DIGIT},generateString=(et=16,_e=ALPHABET.ALPHA_DIGIT)=>{let tt="";const{length:nt}=_e;for(;et--;)tt+=_e[Math.random()*nt|0];return tt};function isSpecCompliantForm(et){return!!(et&&isFunction$1(et.append)&&et[Symbol.toStringTag]==="FormData"&&et[Symbol.iterator])}const toJSONObject=et=>{const _e=new Array(10),tt=(nt,rt)=>{if(isObject$2(nt)){if(_e.indexOf(nt)>=0)return;if(!("toJSON"in nt)){_e[rt]=nt;const st=isArray$1(nt)?[]:{};return forEach(nt,(it,at)=>{const ot=tt(it,rt+1);!isUndefined(ot)&&(st[at]=ot)}),_e[rt]=void 0,st}}return nt};return tt(et,0)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=et=>et&&(isObject$2(et)||isFunction$1(et))&&isFunction$1(et.then)&&isFunction$1(et.catch),utils={isArray:isArray$1,isArrayBuffer,isBuffer,isFormData,isArrayBufferView,isString,isNumber:isNumber$1,isBoolean,isObject:isObject$2,isPlainObject:isPlainObject$1,isUndefined,isDate,isFile,isBlob,isRegExp,isFunction:isFunction$1,isStream,isURLSearchParams,isTypedArray,isFileList,forEach,merge:merge$1,extend,trim,stripBOM,inherits,toFlatObject,kindOf,kindOfTest,endsWith,toArray:toArray$1,forEachEntry,matchAll,isHTMLForm,hasOwnProperty,hasOwnProp:hasOwnProperty,reduceDescriptors,freezeMethods,toObjectSet,toCamelCase,noop:noop$1,toFiniteNumber,findKey,global:_global,isContextDefined,ALPHABET,generateString,isSpecCompliantForm,toJSONObject,isAsyncFn,isThenable};function AxiosError$1(et,_e,tt,nt,rt){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=et,this.name="AxiosError",_e&&(this.code=_e),tt&&(this.config=tt),nt&&(this.request=nt),rt&&(this.response=rt)}utils.inherits(AxiosError$1,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:utils.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const prototype$1=AxiosError$1.prototype,descriptors$1={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(et=>{descriptors$1[et]={value:et}});Object.defineProperties(AxiosError$1,descriptors$1);Object.defineProperty(prototype$1,"isAxiosError",{value:!0});AxiosError$1.from=(et,_e,tt,nt,rt,st)=>{const it=Object.create(prototype$1);return utils.toFlatObject(et,it,function(ot){return ot!==Error.prototype},at=>at!=="isAxiosError"),AxiosError$1.call(it,et.message,_e,tt,nt,rt),it.cause=et,it.name=et.name,st&&Object.assign(it,st),it};const httpAdapter=null;function isVisitable(et){return utils.isPlainObject(et)||utils.isArray(et)}function removeBrackets(et){return utils.endsWith(et,"[]")?et.slice(0,-2):et}function renderKey(et,_e,tt){return et?et.concat(_e).map(function(rt,st){return rt=removeBrackets(rt),!tt&&st?"["+rt+"]":rt}).join(tt?".":""):_e}function isFlatArray(et){return utils.isArray(et)&&!et.some(isVisitable)}const predicates=utils.toFlatObject(utils,{},null,function(_e){return/^is[A-Z]/.test(_e)});function toFormData$1(et,_e,tt){if(!utils.isObject(et))throw new TypeError("target must be an object");_e=_e||new(httpAdapter||FormData),tt=utils.toFlatObject(tt,{metaTokens:!0,dots:!1,indexes:!1},!1,function(ht,vt){return!utils.isUndefined(vt[ht])});const nt=tt.metaTokens,rt=tt.visitor||ct,st=tt.dots,it=tt.indexes,ot=(tt.Blob||typeof Blob<"u"&&Blob)&&utils.isSpecCompliantForm(_e);if(!utils.isFunction(rt))throw new TypeError("visitor must be a function");function lt(pt){if(pt===null)return"";if(utils.isDate(pt))return pt.toISOString();if(!ot&&utils.isBlob(pt))throw new AxiosError$1("Blob is not supported. Use a Buffer instead.");return utils.isArrayBuffer(pt)||utils.isTypedArray(pt)?ot&&typeof Blob=="function"?new Blob([pt]):Buffer.from(pt):pt}function ct(pt,ht,vt){let gt=pt;if(pt&&!vt&&typeof pt=="object"){if(utils.endsWith(ht,"{}"))ht=nt?ht:ht.slice(0,-2),pt=JSON.stringify(pt);else if(utils.isArray(pt)&&isFlatArray(pt)||(utils.isFileList(pt)||utils.endsWith(ht,"[]"))&&(gt=utils.toArray(pt)))return ht=removeBrackets(ht),gt.forEach(function(bt,xt){!(utils.isUndefined(bt)||bt===null)&&_e.append(it===!0?renderKey([ht],xt,st):it===null?ht:ht+"[]",lt(bt))}),!1}return isVisitable(pt)?!0:(_e.append(renderKey(vt,ht,st),lt(pt)),!1)}const ut=[],dt=Object.assign(predicates,{defaultVisitor:ct,convertValue:lt,isVisitable});function ft(pt,ht){if(!utils.isUndefined(pt)){if(ut.indexOf(pt)!==-1)throw Error("Circular reference detected in "+ht.join("."));ut.push(pt),utils.forEach(pt,function(gt,mt){(!(utils.isUndefined(gt)||gt===null)&&rt.call(_e,gt,utils.isString(mt)?mt.trim():mt,ht,dt))===!0&&ft(gt,ht?ht.concat(mt):[mt])}),ut.pop()}}if(!utils.isObject(et))throw new TypeError("data must be an object");return ft(et),_e}function encode$4(et){const _e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(et).replace(/[!'()~]|%20|%00/g,function(nt){return _e[nt]})}function AxiosURLSearchParams(et,_e){this._pairs=[],et&&toFormData$1(et,this,_e)}const prototype=AxiosURLSearchParams.prototype;prototype.append=function(_e,tt){this._pairs.push([_e,tt])};prototype.toString=function(_e){const tt=_e?function(nt){return _e.call(this,nt,encode$4)}:encode$4;return this._pairs.map(function(rt){return tt(rt[0])+"="+tt(rt[1])},"").join("&")};function encode$3(et){return encodeURIComponent(et).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(et,_e,tt){if(!_e)return et;const nt=tt&&tt.encode||encode$3,rt=tt&&tt.serialize;let st;if(rt?st=rt(_e,tt):st=utils.isURLSearchParams(_e)?_e.toString():new AxiosURLSearchParams(_e,tt).toString(nt),st){const it=et.indexOf("#");it!==-1&&(et=et.slice(0,it)),et+=(et.indexOf("?")===-1?"?":"&")+st}return et}class InterceptorManager{constructor(){this.handlers=[]}use(_e,tt,nt){return this.handlers.push({fulfilled:_e,rejected:tt,synchronous:nt?nt.synchronous:!1,runWhen:nt?nt.runWhen:null}),this.handlers.length-1}eject(_e){this.handlers[_e]&&(this.handlers[_e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(_e){utils.forEach(this.handlers,function(nt){nt!==null&&_e(nt)})}}const transitionalDefaults={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},URLSearchParams$1=typeof URLSearchParams<"u"?URLSearchParams:AxiosURLSearchParams,FormData$1=typeof FormData<"u"?FormData:null,Blob$1=typeof Blob<"u"?Blob:null,isStandardBrowserEnv=(()=>{let et;return typeof navigator<"u"&&((et=navigator.product)==="ReactNative"||et==="NativeScript"||et==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),isStandardBrowserWebWorkerEnv=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),platform={isBrowser:!0,classes:{URLSearchParams:URLSearchParams$1,FormData:FormData$1,Blob:Blob$1},isStandardBrowserEnv,isStandardBrowserWebWorkerEnv,protocols:["http","https","file","blob","url","data"]};function toURLEncodedForm(et,_e){return toFormData$1(et,new platform.classes.URLSearchParams,Object.assign({visitor:function(tt,nt,rt,st){return platform.isNode&&utils.isBuffer(tt)?(this.append(nt,tt.toString("base64")),!1):st.defaultVisitor.apply(this,arguments)}},_e))}function parsePropPath(et){return utils.matchAll(/\w+|\[(\w*)]/g,et).map(_e=>_e[0]==="[]"?"":_e[1]||_e[0])}function arrayToObject(et){const _e={},tt=Object.keys(et);let nt;const rt=tt.length;let st;for(nt=0;nt=tt.length;return it=!it&&utils.isArray(rt)?rt.length:it,ot?(utils.hasOwnProp(rt,it)?rt[it]=[rt[it],nt]:rt[it]=nt,!at):((!rt[it]||!utils.isObject(rt[it]))&&(rt[it]=[]),_e(tt,nt,rt[it],st)&&utils.isArray(rt[it])&&(rt[it]=arrayToObject(rt[it])),!at)}if(utils.isFormData(et)&&utils.isFunction(et.entries)){const tt={};return utils.forEachEntry(et,(nt,rt)=>{_e(parsePropPath(nt),rt,tt,0)}),tt}return null}function stringifySafely(et,_e,tt){if(utils.isString(et))try{return(_e||JSON.parse)(et),utils.trim(et)}catch(nt){if(nt.name!=="SyntaxError")throw nt}return(tt||JSON.stringify)(et)}const defaults$1={transitional:transitionalDefaults,adapter:["xhr","http"],transformRequest:[function(_e,tt){const nt=tt.getContentType()||"",rt=nt.indexOf("application/json")>-1,st=utils.isObject(_e);if(st&&utils.isHTMLForm(_e)&&(_e=new FormData(_e)),utils.isFormData(_e))return rt&&rt?JSON.stringify(formDataToJSON(_e)):_e;if(utils.isArrayBuffer(_e)||utils.isBuffer(_e)||utils.isStream(_e)||utils.isFile(_e)||utils.isBlob(_e))return _e;if(utils.isArrayBufferView(_e))return _e.buffer;if(utils.isURLSearchParams(_e))return tt.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),_e.toString();let at;if(st){if(nt.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm(_e,this.formSerializer).toString();if((at=utils.isFileList(_e))||nt.indexOf("multipart/form-data")>-1){const ot=this.env&&this.env.FormData;return toFormData$1(at?{"files[]":_e}:_e,ot&&new ot,this.formSerializer)}}return st||rt?(tt.setContentType("application/json",!1),stringifySafely(_e)):_e}],transformResponse:[function(_e){const tt=this.transitional||defaults$1.transitional,nt=tt&&tt.forcedJSONParsing,rt=this.responseType==="json";if(_e&&utils.isString(_e)&&(nt&&!this.responseType||rt)){const it=!(tt&&tt.silentJSONParsing)&&rt;try{return JSON.parse(_e)}catch(at){if(it)throw at.name==="SyntaxError"?AxiosError$1.from(at,AxiosError$1.ERR_BAD_RESPONSE,this,null,this.response):at}}return _e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform.classes.FormData,Blob:platform.classes.Blob},validateStatus:function(_e){return _e>=200&&_e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};utils.forEach(["delete","get","head","post","put","patch"],et=>{defaults$1.headers[et]={}});const ignoreDuplicateOf=utils.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),parseHeaders=et=>{const _e={};let tt,nt,rt;return et&&et.split(` +`).forEach(function(it){rt=it.indexOf(":"),tt=it.substring(0,rt).trim().toLowerCase(),nt=it.substring(rt+1).trim(),!(!tt||_e[tt]&&ignoreDuplicateOf[tt])&&(tt==="set-cookie"?_e[tt]?_e[tt].push(nt):_e[tt]=[nt]:_e[tt]=_e[tt]?_e[tt]+", "+nt:nt)}),_e},$internals=Symbol("internals");function normalizeHeader(et){return et&&String(et).trim().toLowerCase()}function normalizeValue(et){return et===!1||et==null?et:utils.isArray(et)?et.map(normalizeValue):String(et)}function parseTokens(et){const _e=Object.create(null),tt=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let nt;for(;nt=tt.exec(et);)_e[nt[1]]=nt[2];return _e}const isValidHeaderName=et=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(et.trim());function matchHeaderValue(et,_e,tt,nt,rt){if(utils.isFunction(nt))return nt.call(this,_e,tt);if(rt&&(_e=tt),!!utils.isString(_e)){if(utils.isString(nt))return _e.indexOf(nt)!==-1;if(utils.isRegExp(nt))return nt.test(_e)}}function formatHeader(et){return et.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(_e,tt,nt)=>tt.toUpperCase()+nt)}function buildAccessors(et,_e){const tt=utils.toCamelCase(" "+_e);["get","set","has"].forEach(nt=>{Object.defineProperty(et,nt+tt,{value:function(rt,st,it){return this[nt].call(this,_e,rt,st,it)},configurable:!0})})}let AxiosHeaders$1=class{constructor(_e){_e&&this.set(_e)}set(_e,tt,nt){const rt=this;function st(at,ot,lt){const ct=normalizeHeader(ot);if(!ct)throw new Error("header name must be a non-empty string");const ut=utils.findKey(rt,ct);(!ut||rt[ut]===void 0||lt===!0||lt===void 0&&rt[ut]!==!1)&&(rt[ut||ot]=normalizeValue(at))}const it=(at,ot)=>utils.forEach(at,(lt,ct)=>st(lt,ct,ot));return utils.isPlainObject(_e)||_e instanceof this.constructor?it(_e,tt):utils.isString(_e)&&(_e=_e.trim())&&!isValidHeaderName(_e)?it(parseHeaders(_e),tt):_e!=null&&st(tt,_e,nt),this}get(_e,tt){if(_e=normalizeHeader(_e),_e){const nt=utils.findKey(this,_e);if(nt){const rt=this[nt];if(!tt)return rt;if(tt===!0)return parseTokens(rt);if(utils.isFunction(tt))return tt.call(this,rt,nt);if(utils.isRegExp(tt))return tt.exec(rt);throw new TypeError("parser must be boolean|regexp|function")}}}has(_e,tt){if(_e=normalizeHeader(_e),_e){const nt=utils.findKey(this,_e);return!!(nt&&this[nt]!==void 0&&(!tt||matchHeaderValue(this,this[nt],nt,tt)))}return!1}delete(_e,tt){const nt=this;let rt=!1;function st(it){if(it=normalizeHeader(it),it){const at=utils.findKey(nt,it);at&&(!tt||matchHeaderValue(nt,nt[at],at,tt))&&(delete nt[at],rt=!0)}}return utils.isArray(_e)?_e.forEach(st):st(_e),rt}clear(_e){const tt=Object.keys(this);let nt=tt.length,rt=!1;for(;nt--;){const st=tt[nt];(!_e||matchHeaderValue(this,this[st],st,_e,!0))&&(delete this[st],rt=!0)}return rt}normalize(_e){const tt=this,nt={};return utils.forEach(this,(rt,st)=>{const it=utils.findKey(nt,st);if(it){tt[it]=normalizeValue(rt),delete tt[st];return}const at=_e?formatHeader(st):String(st).trim();at!==st&&delete tt[st],tt[at]=normalizeValue(rt),nt[at]=!0}),this}concat(..._e){return this.constructor.concat(this,..._e)}toJSON(_e){const tt=Object.create(null);return utils.forEach(this,(nt,rt)=>{nt!=null&&nt!==!1&&(tt[rt]=_e&&utils.isArray(nt)?nt.join(", "):nt)}),tt}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([_e,tt])=>_e+": "+tt).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(_e){return _e instanceof this?_e:new this(_e)}static concat(_e,...tt){const nt=new this(_e);return tt.forEach(rt=>nt.set(rt)),nt}static accessor(_e){const nt=(this[$internals]=this[$internals]={accessors:{}}).accessors,rt=this.prototype;function st(it){const at=normalizeHeader(it);nt[at]||(buildAccessors(rt,it),nt[at]=!0)}return utils.isArray(_e)?_e.forEach(st):st(_e),this}};AxiosHeaders$1.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);utils.reduceDescriptors(AxiosHeaders$1.prototype,({value:et},_e)=>{let tt=_e[0].toUpperCase()+_e.slice(1);return{get:()=>et,set(nt){this[tt]=nt}}});utils.freezeMethods(AxiosHeaders$1);function transformData(et,_e){const tt=this||defaults$1,nt=_e||tt,rt=AxiosHeaders$1.from(nt.headers);let st=nt.data;return utils.forEach(et,function(at){st=at.call(tt,st,rt.normalize(),_e?_e.status:void 0)}),rt.normalize(),st}function isCancel$1(et){return!!(et&&et.__CANCEL__)}function CanceledError$1(et,_e,tt){AxiosError$1.call(this,et??"canceled",AxiosError$1.ERR_CANCELED,_e,tt),this.name="CanceledError"}utils.inherits(CanceledError$1,AxiosError$1,{__CANCEL__:!0});function settle(et,_e,tt){const nt=tt.config.validateStatus;!tt.status||!nt||nt(tt.status)?et(tt):_e(new AxiosError$1("Request failed with status code "+tt.status,[AxiosError$1.ERR_BAD_REQUEST,AxiosError$1.ERR_BAD_RESPONSE][Math.floor(tt.status/100)-4],tt.config,tt.request,tt))}const cookies=platform.isStandardBrowserEnv?function(){return{write:function(tt,nt,rt,st,it,at){const ot=[];ot.push(tt+"="+encodeURIComponent(nt)),utils.isNumber(rt)&&ot.push("expires="+new Date(rt).toGMTString()),utils.isString(st)&&ot.push("path="+st),utils.isString(it)&&ot.push("domain="+it),at===!0&&ot.push("secure"),document.cookie=ot.join("; ")},read:function(tt){const nt=document.cookie.match(new RegExp("(^|;\\s*)("+tt+")=([^;]*)"));return nt?decodeURIComponent(nt[3]):null},remove:function(tt){this.write(tt,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function isAbsoluteURL(et){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(et)}function combineURLs(et,_e){return _e?et.replace(/\/+$/,"")+"/"+_e.replace(/^\/+/,""):et}function buildFullPath(et,_e){return et&&!isAbsoluteURL(_e)?combineURLs(et,_e):_e}const isURLSameOrigin=platform.isStandardBrowserEnv?function(){const _e=/(msie|trident)/i.test(navigator.userAgent),tt=document.createElement("a");let nt;function rt(st){let it=st;return _e&&(tt.setAttribute("href",it),it=tt.href),tt.setAttribute("href",it),{href:tt.href,protocol:tt.protocol?tt.protocol.replace(/:$/,""):"",host:tt.host,search:tt.search?tt.search.replace(/^\?/,""):"",hash:tt.hash?tt.hash.replace(/^#/,""):"",hostname:tt.hostname,port:tt.port,pathname:tt.pathname.charAt(0)==="/"?tt.pathname:"/"+tt.pathname}}return nt=rt(window.location.href),function(it){const at=utils.isString(it)?rt(it):it;return at.protocol===nt.protocol&&at.host===nt.host}}():function(){return function(){return!0}}();function parseProtocol(et){const _e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(et);return _e&&_e[1]||""}function speedometer(et,_e){et=et||10;const tt=new Array(et),nt=new Array(et);let rt=0,st=0,it;return _e=_e!==void 0?_e:1e3,function(ot){const lt=Date.now(),ct=nt[st];it||(it=lt),tt[rt]=ot,nt[rt]=lt;let ut=st,dt=0;for(;ut!==rt;)dt+=tt[ut++],ut=ut%et;if(rt=(rt+1)%et,rt===st&&(st=(st+1)%et),lt-it<_e)return;const ft=ct&<-ct;return ft?Math.round(dt*1e3/ft):void 0}}function progressEventReducer(et,_e){let tt=0;const nt=speedometer(50,250);return rt=>{const st=rt.loaded,it=rt.lengthComputable?rt.total:void 0,at=st-tt,ot=nt(at),lt=st<=it;tt=st;const ct={loaded:st,total:it,progress:it?st/it:void 0,bytes:at,rate:ot||void 0,estimated:ot&&it&<?(it-st)/ot:void 0,event:rt};ct[_e?"download":"upload"]=!0,et(ct)}}const isXHRAdapterSupported=typeof XMLHttpRequest<"u",xhrAdapter=isXHRAdapterSupported&&function(et){return new Promise(function(tt,nt){let rt=et.data;const st=AxiosHeaders$1.from(et.headers).normalize(),it=et.responseType;let at;function ot(){et.cancelToken&&et.cancelToken.unsubscribe(at),et.signal&&et.signal.removeEventListener("abort",at)}let lt;utils.isFormData(rt)&&(platform.isStandardBrowserEnv||platform.isStandardBrowserWebWorkerEnv?st.setContentType(!1):st.getContentType(/^\s*multipart\/form-data/)?utils.isString(lt=st.getContentType())&&st.setContentType(lt.replace(/^\s*(multipart\/form-data);+/,"$1")):st.setContentType("multipart/form-data"));let ct=new XMLHttpRequest;if(et.auth){const pt=et.auth.username||"",ht=et.auth.password?unescape(encodeURIComponent(et.auth.password)):"";st.set("Authorization","Basic "+btoa(pt+":"+ht))}const ut=buildFullPath(et.baseURL,et.url);ct.open(et.method.toUpperCase(),buildURL(ut,et.params,et.paramsSerializer),!0),ct.timeout=et.timeout;function dt(){if(!ct)return;const pt=AxiosHeaders$1.from("getAllResponseHeaders"in ct&&ct.getAllResponseHeaders()),vt={data:!it||it==="text"||it==="json"?ct.responseText:ct.response,status:ct.status,statusText:ct.statusText,headers:pt,config:et,request:ct};settle(function(mt){tt(mt),ot()},function(mt){nt(mt),ot()},vt),ct=null}if("onloadend"in ct?ct.onloadend=dt:ct.onreadystatechange=function(){!ct||ct.readyState!==4||ct.status===0&&!(ct.responseURL&&ct.responseURL.indexOf("file:")===0)||setTimeout(dt)},ct.onabort=function(){ct&&(nt(new AxiosError$1("Request aborted",AxiosError$1.ECONNABORTED,et,ct)),ct=null)},ct.onerror=function(){nt(new AxiosError$1("Network Error",AxiosError$1.ERR_NETWORK,et,ct)),ct=null},ct.ontimeout=function(){let ht=et.timeout?"timeout of "+et.timeout+"ms exceeded":"timeout exceeded";const vt=et.transitional||transitionalDefaults;et.timeoutErrorMessage&&(ht=et.timeoutErrorMessage),nt(new AxiosError$1(ht,vt.clarifyTimeoutError?AxiosError$1.ETIMEDOUT:AxiosError$1.ECONNABORTED,et,ct)),ct=null},platform.isStandardBrowserEnv){const pt=isURLSameOrigin(ut)&&et.xsrfCookieName&&cookies.read(et.xsrfCookieName);pt&&st.set(et.xsrfHeaderName,pt)}rt===void 0&&st.setContentType(null),"setRequestHeader"in ct&&utils.forEach(st.toJSON(),function(ht,vt){ct.setRequestHeader(vt,ht)}),utils.isUndefined(et.withCredentials)||(ct.withCredentials=!!et.withCredentials),it&&it!=="json"&&(ct.responseType=et.responseType),typeof et.onDownloadProgress=="function"&&ct.addEventListener("progress",progressEventReducer(et.onDownloadProgress,!0)),typeof et.onUploadProgress=="function"&&ct.upload&&ct.upload.addEventListener("progress",progressEventReducer(et.onUploadProgress)),(et.cancelToken||et.signal)&&(at=pt=>{ct&&(nt(!pt||pt.type?new CanceledError$1(null,et,ct):pt),ct.abort(),ct=null)},et.cancelToken&&et.cancelToken.subscribe(at),et.signal&&(et.signal.aborted?at():et.signal.addEventListener("abort",at)));const ft=parseProtocol(ut);if(ft&&platform.protocols.indexOf(ft)===-1){nt(new AxiosError$1("Unsupported protocol "+ft+":",AxiosError$1.ERR_BAD_REQUEST,et));return}ct.send(rt||null)})},knownAdapters={http:httpAdapter,xhr:xhrAdapter};utils.forEach(knownAdapters,(et,_e)=>{if(et){try{Object.defineProperty(et,"name",{value:_e})}catch{}Object.defineProperty(et,"adapterName",{value:_e})}});const renderReason=et=>`- ${et}`,isResolvedHandle=et=>utils.isFunction(et)||et===null||et===!1,adapters$1={getAdapter:et=>{et=utils.isArray(et)?et:[et];const{length:_e}=et;let tt,nt;const rt={};for(let st=0;st<_e;st++){tt=et[st];let it;if(nt=tt,!isResolvedHandle(tt)&&(nt=knownAdapters[(it=String(tt)).toLowerCase()],nt===void 0))throw new AxiosError$1(`Unknown adapter '${it}'`);if(nt)break;rt[it||"#"+st]=nt}if(!nt){const st=Object.entries(rt).map(([at,ot])=>`adapter ${at} `+(ot===!1?"is not supported by the environment":"is not available in the build"));let it=_e?st.length>1?`since : +`+st.map(renderReason).join(` +`):" "+renderReason(st[0]):"as no adapter specified";throw new AxiosError$1("There is no suitable adapter to dispatch the request "+it,"ERR_NOT_SUPPORT")}return nt},adapters:knownAdapters};function throwIfCancellationRequested(et){if(et.cancelToken&&et.cancelToken.throwIfRequested(),et.signal&&et.signal.aborted)throw new CanceledError$1(null,et)}function dispatchRequest(et){return throwIfCancellationRequested(et),et.headers=AxiosHeaders$1.from(et.headers),et.data=transformData.call(et,et.transformRequest),["post","put","patch"].indexOf(et.method)!==-1&&et.headers.setContentType("application/x-www-form-urlencoded",!1),adapters$1.getAdapter(et.adapter||defaults$1.adapter)(et).then(function(nt){return throwIfCancellationRequested(et),nt.data=transformData.call(et,et.transformResponse,nt),nt.headers=AxiosHeaders$1.from(nt.headers),nt},function(nt){return isCancel$1(nt)||(throwIfCancellationRequested(et),nt&&nt.response&&(nt.response.data=transformData.call(et,et.transformResponse,nt.response),nt.response.headers=AxiosHeaders$1.from(nt.response.headers))),Promise.reject(nt)})}const headersToObject=et=>et instanceof AxiosHeaders$1?et.toJSON():et;function mergeConfig$1(et,_e){_e=_e||{};const tt={};function nt(lt,ct,ut){return utils.isPlainObject(lt)&&utils.isPlainObject(ct)?utils.merge.call({caseless:ut},lt,ct):utils.isPlainObject(ct)?utils.merge({},ct):utils.isArray(ct)?ct.slice():ct}function rt(lt,ct,ut){if(utils.isUndefined(ct)){if(!utils.isUndefined(lt))return nt(void 0,lt,ut)}else return nt(lt,ct,ut)}function st(lt,ct){if(!utils.isUndefined(ct))return nt(void 0,ct)}function it(lt,ct){if(utils.isUndefined(ct)){if(!utils.isUndefined(lt))return nt(void 0,lt)}else return nt(void 0,ct)}function at(lt,ct,ut){if(ut in _e)return nt(lt,ct);if(ut in et)return nt(void 0,lt)}const ot={url:st,method:st,data:st,baseURL:it,transformRequest:it,transformResponse:it,paramsSerializer:it,timeout:it,timeoutMessage:it,withCredentials:it,adapter:it,responseType:it,xsrfCookieName:it,xsrfHeaderName:it,onUploadProgress:it,onDownloadProgress:it,decompress:it,maxContentLength:it,maxBodyLength:it,beforeRedirect:it,transport:it,httpAgent:it,httpsAgent:it,cancelToken:it,socketPath:it,responseEncoding:it,validateStatus:at,headers:(lt,ct)=>rt(headersToObject(lt),headersToObject(ct),!0)};return utils.forEach(Object.keys(Object.assign({},et,_e)),function(ct){const ut=ot[ct]||rt,dt=ut(et[ct],_e[ct],ct);utils.isUndefined(dt)&&ut!==at||(tt[ct]=dt)}),tt}const VERSION$1="1.6.0",validators$1={};["object","boolean","number","function","string","symbol"].forEach((et,_e)=>{validators$1[et]=function(nt){return typeof nt===et||"a"+(_e<1?"n ":" ")+et}});const deprecatedWarnings={};validators$1.transitional=function(_e,tt,nt){function rt(st,it){return"[Axios v"+VERSION$1+"] Transitional option '"+st+"'"+it+(nt?". "+nt:"")}return(st,it,at)=>{if(_e===!1)throw new AxiosError$1(rt(it," has been removed"+(tt?" in "+tt:"")),AxiosError$1.ERR_DEPRECATED);return tt&&!deprecatedWarnings[it]&&(deprecatedWarnings[it]=!0,console.warn(rt(it," has been deprecated since v"+tt+" and will be removed in the near future"))),_e?_e(st,it,at):!0}};function assertOptions(et,_e,tt){if(typeof et!="object")throw new AxiosError$1("options must be an object",AxiosError$1.ERR_BAD_OPTION_VALUE);const nt=Object.keys(et);let rt=nt.length;for(;rt-- >0;){const st=nt[rt],it=_e[st];if(it){const at=et[st],ot=at===void 0||it(at,st,et);if(ot!==!0)throw new AxiosError$1("option "+st+" must be "+ot,AxiosError$1.ERR_BAD_OPTION_VALUE);continue}if(tt!==!0)throw new AxiosError$1("Unknown option "+st,AxiosError$1.ERR_BAD_OPTION)}}const validator={assertOptions,validators:validators$1},validators=validator.validators;let Axios$1=class{constructor(_e){this.defaults=_e,this.interceptors={request:new InterceptorManager,response:new InterceptorManager}}request(_e,tt){typeof _e=="string"?(tt=tt||{},tt.url=_e):tt=_e||{},tt=mergeConfig$1(this.defaults,tt);const{transitional:nt,paramsSerializer:rt,headers:st}=tt;nt!==void 0&&validator.assertOptions(nt,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1),rt!=null&&(utils.isFunction(rt)?tt.paramsSerializer={serialize:rt}:validator.assertOptions(rt,{encode:validators.function,serialize:validators.function},!0)),tt.method=(tt.method||this.defaults.method||"get").toLowerCase();let it=st&&utils.merge(st.common,st[tt.method]);st&&utils.forEach(["delete","get","head","post","put","patch","common"],pt=>{delete st[pt]}),tt.headers=AxiosHeaders$1.concat(it,st);const at=[];let ot=!0;this.interceptors.request.forEach(function(ht){typeof ht.runWhen=="function"&&ht.runWhen(tt)===!1||(ot=ot&&ht.synchronous,at.unshift(ht.fulfilled,ht.rejected))});const lt=[];this.interceptors.response.forEach(function(ht){lt.push(ht.fulfilled,ht.rejected)});let ct,ut=0,dt;if(!ot){const pt=[dispatchRequest.bind(this),void 0];for(pt.unshift.apply(pt,at),pt.push.apply(pt,lt),dt=pt.length,ct=Promise.resolve(tt);ut{if(!nt._listeners)return;let st=nt._listeners.length;for(;st-- >0;)nt._listeners[st](rt);nt._listeners=null}),this.promise.then=rt=>{let st;const it=new Promise(at=>{nt.subscribe(at),st=at}).then(rt);return it.cancel=function(){nt.unsubscribe(st)},it},_e(function(st,it,at){nt.reason||(nt.reason=new CanceledError$1(st,it,at),tt(nt.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(_e){if(this.reason){_e(this.reason);return}this._listeners?this._listeners.push(_e):this._listeners=[_e]}unsubscribe(_e){if(!this._listeners)return;const tt=this._listeners.indexOf(_e);tt!==-1&&this._listeners.splice(tt,1)}static source(){let _e;return{token:new $r(function(rt){_e=rt}),cancel:_e}}};function spread$1(et){return function(tt){return et.apply(null,tt)}}function isAxiosError$1(et){return utils.isObject(et)&&et.isAxiosError===!0}const HttpStatusCode$1={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(HttpStatusCode$1).forEach(([et,_e])=>{HttpStatusCode$1[_e]=et});function createInstance(et){const _e=new Axios$1(et),tt=bind(Axios$1.prototype.request,_e);return utils.extend(tt,Axios$1.prototype,_e,{allOwnKeys:!0}),utils.extend(tt,_e,null,{allOwnKeys:!0}),tt.create=function(rt){return createInstance(mergeConfig$1(et,rt))},tt}const axios=createInstance(defaults$1);axios.Axios=Axios$1;axios.CanceledError=CanceledError$1;axios.CancelToken=CancelToken$1;axios.isCancel=isCancel$1;axios.VERSION=VERSION$1;axios.toFormData=toFormData$1;axios.AxiosError=AxiosError$1;axios.Cancel=axios.CanceledError;axios.all=function(_e){return Promise.all(_e)};axios.spread=spread$1;axios.isAxiosError=isAxiosError$1;axios.mergeConfig=mergeConfig$1;axios.AxiosHeaders=AxiosHeaders$1;axios.formToJSON=et=>formDataToJSON(utils.isHTMLForm(et)?new FormData(et):et);axios.getAdapter=adapters$1.getAdapter;axios.HttpStatusCode=HttpStatusCode$1;axios.default=axios;const{Axios,AxiosError,CanceledError,isCancel,CancelToken,VERSION,all,Cancel,isAxiosError,spread,toFormData,AxiosHeaders,HttpStatusCode,formToJSON,getAdapter,mergeConfig}=axios;var base64Js={},byteLength_1=base64Js.byteLength=byteLength$1,toByteArray_1=base64Js.toByteArray=toByteArray,fromByteArray_1=base64Js.fromByteArray=fromByteArray,lookup$2=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var i$1=0,len=code.length;i$10)throw new Error("Invalid string. Length must be a multiple of 4");var tt=et.indexOf("=");tt===-1&&(tt=_e);var nt=tt===_e?0:4-tt%4;return[tt,nt]}function byteLength$1(et){var _e=getLens(et),tt=_e[0],nt=_e[1];return(tt+nt)*3/4-nt}function _byteLength(et,_e,tt){return(_e+tt)*3/4-tt}function toByteArray(et){var _e,tt=getLens(et),nt=tt[0],rt=tt[1],st=new Arr(_byteLength(et,nt,rt)),it=0,at=rt>0?nt-4:nt,ot;for(ot=0;ot>16&255,st[it++]=_e>>8&255,st[it++]=_e&255;return rt===2&&(_e=revLookup[et.charCodeAt(ot)]<<2|revLookup[et.charCodeAt(ot+1)]>>4,st[it++]=_e&255),rt===1&&(_e=revLookup[et.charCodeAt(ot)]<<10|revLookup[et.charCodeAt(ot+1)]<<4|revLookup[et.charCodeAt(ot+2)]>>2,st[it++]=_e>>8&255,st[it++]=_e&255),st}function tripletToBase64(et){return lookup$2[et>>18&63]+lookup$2[et>>12&63]+lookup$2[et>>6&63]+lookup$2[et&63]}function encodeChunk(et,_e,tt){for(var nt,rt=[],st=_e;stat?at:it+st));return nt===1?(_e=et[tt-1],rt.push(lookup$2[_e>>2]+lookup$2[_e<<4&63]+"==")):nt===2&&(_e=(et[tt-2]<<8)+et[tt-1],rt.push(lookup$2[_e>>10]+lookup$2[_e>>4&63]+lookup$2[_e<<2&63]+"=")),rt.join("")}var sha256$2={exports:{}};/** + * [js-sha256]{@link https://github.com/emn178/js-sha256} + * + * @version 0.9.0 + * @author Chen, Yi-Cyuan [emn178@gmail.com] + * @copyright Chen, Yi-Cyuan 2014-2017 + * @license MIT + */var sha256=sha256$2.exports;(function(module){(function(){"use strict";var ERROR="input is invalid type",WINDOW=typeof window=="object",root=WINDOW?window:{};root.JS_SHA256_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&typeof self=="object",NODE_JS=!root.JS_SHA256_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node;NODE_JS?root=commonjsGlobal:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_SHA256_NO_COMMON_JS&&!0&&module.exports,AMD=!1,ARRAY_BUFFER=!root.JS_SHA256_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",HEX_CHARS="0123456789abcdef".split(""),EXTRA=[-2147483648,8388608,32768,128],SHIFT=[24,16,8,0],K=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],OUTPUT_TYPES=["hex","array","digest","arrayBuffer"],blocks=[];(root.JS_SHA256_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(et){return Object.prototype.toString.call(et)==="[object Array]"}),ARRAY_BUFFER&&(root.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(et){return typeof et=="object"&&et.buffer&&et.buffer.constructor===ArrayBuffer});var createOutputMethod=function(et,_e){return function(tt){return new Sha256(_e,!0).update(tt)[et]()}},createMethod=function(et){var _e=createOutputMethod("hex",et);NODE_JS&&(_e=nodeWrap(_e,et)),_e.create=function(){return new Sha256(et)},_e.update=function(rt){return _e.create().update(rt)};for(var tt=0;tt>2]|=et[rt]<>2]|=nt<>2]|=(192|nt>>6)<>2]|=(128|nt&63)<=57344?(at[st>>2]|=(224|nt>>12)<>2]|=(128|nt>>6&63)<>2]|=(128|nt&63)<>2]|=(240|nt>>18)<>2]|=(128|nt>>12&63)<>2]|=(128|nt>>6&63)<>2]|=(128|nt&63)<=64?(this.block=at[16],this.start=st-64,this.hash(),this.hashed=!0):this.start=st}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var et=this.blocks,_e=this.lastByteIndex;et[16]=this.block,et[_e>>2]|=EXTRA[_e&3],this.block=et[16],_e>=56&&(this.hashed||this.hash(),et[0]=this.block,et[16]=et[1]=et[2]=et[3]=et[4]=et[5]=et[6]=et[7]=et[8]=et[9]=et[10]=et[11]=et[12]=et[13]=et[14]=et[15]=0),et[14]=this.hBytes<<3|this.bytes>>>29,et[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var et=this.h0,_e=this.h1,tt=this.h2,nt=this.h3,rt=this.h4,st=this.h5,it=this.h6,at=this.h7,ot=this.blocks,lt,ct,ut,dt,ft,pt,ht,vt,gt,mt,bt;for(lt=16;lt<64;++lt)ft=ot[lt-15],ct=(ft>>>7|ft<<25)^(ft>>>18|ft<<14)^ft>>>3,ft=ot[lt-2],ut=(ft>>>17|ft<<15)^(ft>>>19|ft<<13)^ft>>>10,ot[lt]=ot[lt-16]+ct+ot[lt-7]+ut<<0;for(bt=_e&tt,lt=0;lt<64;lt+=4)this.first?(this.is224?(vt=300032,ft=ot[0]-1413257819,at=ft-150054599<<0,nt=ft+24177077<<0):(vt=704751109,ft=ot[0]-210244248,at=ft-1521486534<<0,nt=ft+143694565<<0),this.first=!1):(ct=(et>>>2|et<<30)^(et>>>13|et<<19)^(et>>>22|et<<10),ut=(rt>>>6|rt<<26)^(rt>>>11|rt<<21)^(rt>>>25|rt<<7),vt=et&_e,dt=vt^et&tt^bt,ht=rt&st^~rt&it,ft=at+ut+ht+K[lt]+ot[lt],pt=ct+dt,at=nt+ft<<0,nt=ft+pt<<0),ct=(nt>>>2|nt<<30)^(nt>>>13|nt<<19)^(nt>>>22|nt<<10),ut=(at>>>6|at<<26)^(at>>>11|at<<21)^(at>>>25|at<<7),gt=nt&et,dt=gt^nt&_e^vt,ht=at&rt^~at&st,ft=it+ut+ht+K[lt+1]+ot[lt+1],pt=ct+dt,it=tt+ft<<0,tt=ft+pt<<0,ct=(tt>>>2|tt<<30)^(tt>>>13|tt<<19)^(tt>>>22|tt<<10),ut=(it>>>6|it<<26)^(it>>>11|it<<21)^(it>>>25|it<<7),mt=tt&nt,dt=mt^tt&et^gt,ht=it&at^~it&rt,ft=st+ut+ht+K[lt+2]+ot[lt+2],pt=ct+dt,st=_e+ft<<0,_e=ft+pt<<0,ct=(_e>>>2|_e<<30)^(_e>>>13|_e<<19)^(_e>>>22|_e<<10),ut=(st>>>6|st<<26)^(st>>>11|st<<21)^(st>>>25|st<<7),bt=_e&tt,dt=bt^_e&nt^mt,ht=st&it^~st&at,ft=rt+ut+ht+K[lt+3]+ot[lt+3],pt=ct+dt,rt=et+ft<<0,et=ft+pt<<0;this.h0=this.h0+et<<0,this.h1=this.h1+_e<<0,this.h2=this.h2+tt<<0,this.h3=this.h3+nt<<0,this.h4=this.h4+rt<<0,this.h5=this.h5+st<<0,this.h6=this.h6+it<<0,this.h7=this.h7+at<<0},Sha256.prototype.hex=function(){this.finalize();var et=this.h0,_e=this.h1,tt=this.h2,nt=this.h3,rt=this.h4,st=this.h5,it=this.h6,at=this.h7,ot=HEX_CHARS[et>>28&15]+HEX_CHARS[et>>24&15]+HEX_CHARS[et>>20&15]+HEX_CHARS[et>>16&15]+HEX_CHARS[et>>12&15]+HEX_CHARS[et>>8&15]+HEX_CHARS[et>>4&15]+HEX_CHARS[et&15]+HEX_CHARS[_e>>28&15]+HEX_CHARS[_e>>24&15]+HEX_CHARS[_e>>20&15]+HEX_CHARS[_e>>16&15]+HEX_CHARS[_e>>12&15]+HEX_CHARS[_e>>8&15]+HEX_CHARS[_e>>4&15]+HEX_CHARS[_e&15]+HEX_CHARS[tt>>28&15]+HEX_CHARS[tt>>24&15]+HEX_CHARS[tt>>20&15]+HEX_CHARS[tt>>16&15]+HEX_CHARS[tt>>12&15]+HEX_CHARS[tt>>8&15]+HEX_CHARS[tt>>4&15]+HEX_CHARS[tt&15]+HEX_CHARS[nt>>28&15]+HEX_CHARS[nt>>24&15]+HEX_CHARS[nt>>20&15]+HEX_CHARS[nt>>16&15]+HEX_CHARS[nt>>12&15]+HEX_CHARS[nt>>8&15]+HEX_CHARS[nt>>4&15]+HEX_CHARS[nt&15]+HEX_CHARS[rt>>28&15]+HEX_CHARS[rt>>24&15]+HEX_CHARS[rt>>20&15]+HEX_CHARS[rt>>16&15]+HEX_CHARS[rt>>12&15]+HEX_CHARS[rt>>8&15]+HEX_CHARS[rt>>4&15]+HEX_CHARS[rt&15]+HEX_CHARS[st>>28&15]+HEX_CHARS[st>>24&15]+HEX_CHARS[st>>20&15]+HEX_CHARS[st>>16&15]+HEX_CHARS[st>>12&15]+HEX_CHARS[st>>8&15]+HEX_CHARS[st>>4&15]+HEX_CHARS[st&15]+HEX_CHARS[it>>28&15]+HEX_CHARS[it>>24&15]+HEX_CHARS[it>>20&15]+HEX_CHARS[it>>16&15]+HEX_CHARS[it>>12&15]+HEX_CHARS[it>>8&15]+HEX_CHARS[it>>4&15]+HEX_CHARS[it&15];return this.is224||(ot+=HEX_CHARS[at>>28&15]+HEX_CHARS[at>>24&15]+HEX_CHARS[at>>20&15]+HEX_CHARS[at>>16&15]+HEX_CHARS[at>>12&15]+HEX_CHARS[at>>8&15]+HEX_CHARS[at>>4&15]+HEX_CHARS[at&15]),ot},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var et=this.h0,_e=this.h1,tt=this.h2,nt=this.h3,rt=this.h4,st=this.h5,it=this.h6,at=this.h7,ot=[et>>24&255,et>>16&255,et>>8&255,et&255,_e>>24&255,_e>>16&255,_e>>8&255,_e&255,tt>>24&255,tt>>16&255,tt>>8&255,tt&255,nt>>24&255,nt>>16&255,nt>>8&255,nt&255,rt>>24&255,rt>>16&255,rt>>8&255,rt&255,st>>24&255,st>>16&255,st>>8&255,st&255,it>>24&255,it>>16&255,it>>8&255,it&255];return this.is224||ot.push(at>>24&255,at>>16&255,at>>8&255,at&255),ot},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var et=new ArrayBuffer(this.is224?28:32),_e=new DataView(et);return _e.setUint32(0,this.h0),_e.setUint32(4,this.h1),_e.setUint32(8,this.h2),_e.setUint32(12,this.h3),_e.setUint32(16,this.h4),_e.setUint32(20,this.h5),_e.setUint32(24,this.h6),this.is224||_e.setUint32(28,this.h7),et};function HmacSha256(et,_e,tt){var nt,rt=typeof et;if(rt==="string"){var st=[],it=et.length,at=0,ot;for(nt=0;nt>6,st[at++]=128|ot&63):ot<55296||ot>=57344?(st[at++]=224|ot>>12,st[at++]=128|ot>>6&63,st[at++]=128|ot&63):(ot=65536+((ot&1023)<<10|et.charCodeAt(++nt)&1023),st[at++]=240|ot>>18,st[at++]=128|ot>>12&63,st[at++]=128|ot>>6&63,st[at++]=128|ot&63);et=st}else if(rt==="object"){if(et===null)throw new Error(ERROR);if(ARRAY_BUFFER&&et.constructor===ArrayBuffer)et=new Uint8Array(et);else if(!Array.isArray(et)&&(!ARRAY_BUFFER||!ArrayBuffer.isView(et)))throw new Error(ERROR)}else throw new Error(ERROR);et.length>64&&(et=new Sha256(_e,!0).update(et).array());var lt=[],ct=[];for(nt=0;nt<64;++nt){var ut=et[nt]||0;lt[nt]=92^ut,ct[nt]=54^ut}Sha256.call(this,_e,tt),this.update(ct),this.oKeyPad=lt,this.inner=!0,this.sharedMemory=tt}HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var et=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(et),Sha256.prototype.finalize.call(this)}};var exports=createMethod();exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),COMMON_JS?module.exports=exports:(root.sha256=exports.sha256,root.sha224=exports.sha224,AMD&&(void 0)(function(){return exports}))})()})(sha256$2);var sha256Exports=sha256$2.exports;const sha256$1=getDefaultExportFromCjs(sha256Exports);if(typeof Promise>"u")throw Error("Keycloak requires an environment that supports Promises. Make sure that you include the appropriate polyfill.");function Keycloak(et){if(!(this instanceof Keycloak))throw new Error("The 'Keycloak' constructor must be invoked with 'new'.");for(var _e=this,tt,nt=[],rt,st={enable:!0,callbackList:[],interval:5},it=document.getElementsByTagName("script"),at=0;at-1?tt=It(Ot.adapter):Ot&&typeof Ot.adapter=="object"?tt=Ot.adapter:window.Cordova||window.cordova?tt=It("cordova"):tt=It(),Ot){if(typeof Ot.useNonce<"u"&&(ot=Ot.useNonce),typeof Ot.checkLoginIframe<"u"&&(st.enable=Ot.checkLoginIframe),Ot.checkLoginIframeInterval&&(st.interval=Ot.checkLoginIframeInterval),Ot.onLoad==="login-required"&&(_e.loginRequired=!0),Ot.responseMode)if(Ot.responseMode==="query"||Ot.responseMode==="fragment")_e.responseMode=Ot.responseMode;else throw"Invalid value for responseMode";if(Ot.flow){switch(Ot.flow){case"standard":_e.responseType="code";break;case"implicit":_e.responseType="id_token token";break;case"hybrid":_e.responseType="code id_token token";break;default:throw"Invalid value for flow"}_e.flow=Ot.flow}if(Ot.timeSkew!=null&&(_e.timeSkew=Ot.timeSkew),Ot.redirectUri&&(_e.redirectUri=Ot.redirectUri),Ot.silentCheckSsoRedirectUri&&(_e.silentCheckSsoRedirectUri=Ot.silentCheckSsoRedirectUri),typeof Ot.silentCheckSsoFallback=="boolean"?_e.silentCheckSsoFallback=Ot.silentCheckSsoFallback:_e.silentCheckSsoFallback=!0,Ot.pkceMethod){if(Ot.pkceMethod!=="S256")throw"Invalid value for pkceMethod";_e.pkceMethod=Ot.pkceMethod}typeof Ot.enableLogging=="boolean"?_e.enableLogging=Ot.enableLogging:_e.enableLogging=!1,typeof Ot.scope=="string"&&(_e.scope=Ot.scope),typeof Ot.messageReceiveTimeout=="number"&&Ot.messageReceiveTimeout>0?_e.messageReceiveTimeout=Ot.messageReceiveTimeout:_e.messageReceiveTimeout=1e4}_e.responseMode||(_e.responseMode="fragment"),_e.responseType||(_e.responseType="code",_e.flow="standard");var jt=St(),Ht=St();Ht.promise.then(function(){_e.onReady&&_e.onReady(_e.authenticated),jt.setSuccess(_e.authenticated)}).catch(function(qt){jt.setError(qt)});var Ft=bt();function Vt(){var qt=function(Qt){Qt||(Jt.prompt="none"),Ot&&Ot.locale&&(Jt.locale=Ot.locale),_e.login(Jt).then(function(){Ht.setSuccess()}).catch(function(Zt){Ht.setError(Zt)})},Wt=function(){var Qt=document.createElement("iframe"),Zt=_e.createLoginUrl({prompt:"none",redirectUri:_e.silentCheckSsoRedirectUri});Qt.setAttribute("src",Zt),Qt.setAttribute("sandbox","allow-scripts allow-same-origin"),Qt.setAttribute("title","keycloak-silent-check-sso"),Qt.style.display="none",document.body.appendChild(Qt);var Gt=function(Kt){if(!(Kt.origin!==window.location.origin||Qt.contentWindow!==Kt.source)){var hn=Ct(Kt.data);mt(hn,Ht),document.body.removeChild(Qt),window.removeEventListener("message",Gt)}};window.addEventListener("message",Gt)},Jt={};switch(Ot.onLoad){case"check-sso":st.enable?Pt().then(function(){_t().then(function(Qt){Qt?Ht.setSuccess():_e.silentCheckSsoRedirectUri?Wt():qt(!1)}).catch(function(Qt){Ht.setError(Qt)})}):_e.silentCheckSsoRedirectUri?Wt():qt(!1);break;case"login-required":qt(!0);break;default:throw"Invalid value for onLoad"}}function zt(){var qt=Ct(window.location.href);if(qt&&window.history.replaceState(window.history.state,null,qt.newUrl),qt&&qt.valid)return Pt().then(function(){mt(qt,Ht)}).catch(function(Wt){Ht.setError(Wt)});Ot?Ot.token&&Ot.refreshToken?(yt(Ot.token,Ot.refreshToken,Ot.idToken),st.enable?Pt().then(function(){_t().then(function(Wt){Wt?(_e.onAuthSuccess&&_e.onAuthSuccess(),Ht.setSuccess(),kt()):Ht.setSuccess()}).catch(function(Wt){Ht.setError(Wt)})}):_e.updateToken(-1).then(function(){_e.onAuthSuccess&&_e.onAuthSuccess(),Ht.setSuccess()}).catch(function(Wt){_e.onAuthError&&_e.onAuthError(),Ot.onLoad?Vt():Ht.setError(Wt)})):Ot.onLoad?Vt():Ht.setSuccess():Ht.setSuccess()}function Ut(){var qt=St(),Wt=function(){(document.readyState==="interactive"||document.readyState==="complete")&&(document.removeEventListener("readystatechange",Wt),qt.setSuccess())};return document.addEventListener("readystatechange",Wt),Wt(),qt.promise}return Ft.then(function(){Ut().then(Bt).then(zt).catch(function(qt){jt.setError(qt)})}),Ft.catch(function(qt){jt.setError(qt)}),jt.promise},_e.login=function(Ot){return tt.login(Ot)};function ut(Ot){var Lt=null,jt=window.crypto||window.msCrypto;if(jt&&jt.getRandomValues&&window.Uint8Array)return Lt=new Uint8Array(Ot),jt.getRandomValues(Lt),Lt;Lt=new Array(Ot);for(var Ht=0;Ht=0},_e.hasResourceRole=function(Ot,Lt){if(!_e.resourceAccess)return!1;var jt=_e.resourceAccess[Lt||_e.clientId];return!!jt&&jt.roles.indexOf(Ot)>=0},_e.loadUserProfile=function(){var Ot=vt()+"/account",Lt=new XMLHttpRequest;Lt.open("GET",Ot,!0),Lt.setRequestHeader("Accept","application/json"),Lt.setRequestHeader("Authorization","bearer "+_e.token);var jt=St();return Lt.onreadystatechange=function(){Lt.readyState==4&&(Lt.status==200?(_e.profile=JSON.parse(Lt.responseText),jt.setSuccess(_e.profile)):jt.setError())},Lt.send(),jt.promise},_e.loadUserInfo=function(){var Ot=_e.endpoints.userinfo(),Lt=new XMLHttpRequest;Lt.open("GET",Ot,!0),Lt.setRequestHeader("Accept","application/json"),Lt.setRequestHeader("Authorization","bearer "+_e.token);var jt=St();return Lt.onreadystatechange=function(){Lt.readyState==4&&(Lt.status==200?(_e.userInfo=JSON.parse(Lt.responseText),jt.setSuccess(_e.userInfo)):jt.setError())},Lt.send(),jt.promise},_e.isTokenExpired=function(Ot){if(!_e.tokenParsed||!_e.refreshToken&&_e.flow!="implicit")throw"Not authenticated";if(_e.timeSkew==null)return lt("[KEYCLOAK] Unable to determine if token is expired as timeskew is not set"),!0;var Lt=_e.tokenParsed.exp-Math.ceil(new Date().getTime()/1e3)+_e.timeSkew;if(Ot){if(isNaN(Ot))throw"Invalid minValidity";Lt-=Ot}return Lt<0},_e.updateToken=function(Ot){var Lt=St();if(!_e.refreshToken)return Lt.setError(),Lt.promise;Ot=Ot||5;var jt=function(){var Ft=!1;if(Ot==-1?(Ft=!0,lt("[KEYCLOAK] Refreshing token: forced refresh")):(!_e.tokenParsed||_e.isTokenExpired(Ot))&&(Ft=!0,lt("[KEYCLOAK] Refreshing token: token expired")),!Ft)Lt.setSuccess(!1);else{var Vt="grant_type=refresh_token&refresh_token="+_e.refreshToken,zt=_e.endpoints.token();if(nt.push(Lt),nt.length==1){var Ut=new XMLHttpRequest;Ut.open("POST",zt,!0),Ut.setRequestHeader("Content-type","application/x-www-form-urlencoded"),Ut.withCredentials=!0,Vt+="&client_id="+encodeURIComponent(_e.clientId);var qt=new Date().getTime();Ut.onreadystatechange=function(){if(Ut.readyState==4)if(Ut.status==200){lt("[KEYCLOAK] Token refreshed"),qt=(qt+new Date().getTime())/2;var Wt=JSON.parse(Ut.responseText);yt(Wt.access_token,Wt.refresh_token,Wt.id_token,qt),_e.onAuthRefreshSuccess&&_e.onAuthRefreshSuccess();for(var Jt=nt.pop();Jt!=null;Jt=nt.pop())Jt.setSuccess(!0)}else{ct("[KEYCLOAK] Failed to refresh token"),Ut.status==400&&_e.clearToken(),_e.onAuthRefreshError&&_e.onAuthRefreshError();for(var Jt=nt.pop();Jt!=null;Jt=nt.pop())Jt.setError(!0)}},Ut.send(Vt)}}};if(st.enable){var Ht=_t();Ht.then(function(){jt()}).catch(function(Ft){Lt.setError(Ft)})}else jt();return Lt.promise},_e.clearToken=function(){_e.token&&(yt(null,null,null),_e.onAuthLogout&&_e.onAuthLogout(),_e.loginRequired&&_e.login())};function vt(){if(typeof _e.authServerUrl<"u")return _e.authServerUrl.charAt(_e.authServerUrl.length-1)=="/"?_e.authServerUrl+"realms/"+encodeURIComponent(_e.realm):_e.authServerUrl+"/realms/"+encodeURIComponent(_e.realm)}function gt(){return window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")}function mt(Ot,Lt){var jt=Ot.code,Ht=Ot.error,Ft=Ot.prompt,Vt=new Date().getTime();if(Ot.kc_action_status&&_e.onActionUpdate&&_e.onActionUpdate(Ot.kc_action_status),Ht){if(Ft!="none"){var zt={error:Ht,error_description:Ot.error_description};_e.onAuthError&&_e.onAuthError(zt),Lt&&Lt.setError(zt)}else Lt&&Lt.setSuccess();return}else _e.flow!="standard"&&(Ot.access_token||Ot.id_token)&&Jt(Ot.access_token,null,Ot.id_token,!0);if(_e.flow!="implicit"&&jt){var Ut="code="+jt+"&grant_type=authorization_code",qt=_e.endpoints.token(),Wt=new XMLHttpRequest;Wt.open("POST",qt,!0),Wt.setRequestHeader("Content-type","application/x-www-form-urlencoded"),Ut+="&client_id="+encodeURIComponent(_e.clientId),Ut+="&redirect_uri="+Ot.redirectUri,Ot.pkceCodeVerifier&&(Ut+="&code_verifier="+Ot.pkceCodeVerifier),Wt.withCredentials=!0,Wt.onreadystatechange=function(){if(Wt.readyState==4)if(Wt.status==200){var Qt=JSON.parse(Wt.responseText);Jt(Qt.access_token,Qt.refresh_token,Qt.id_token,_e.flow==="standard"),kt()}else _e.onAuthError&&_e.onAuthError(),Lt&&Lt.setError()},Wt.send(Ut)}function Jt(Qt,Zt,Gt,Kt){Vt=(Vt+new Date().getTime())/2,yt(Qt,Zt,Gt,Vt),ot&&(_e.tokenParsed&&_e.tokenParsed.nonce!=Ot.storedNonce||_e.refreshTokenParsed&&_e.refreshTokenParsed.nonce!=Ot.storedNonce||_e.idTokenParsed&&_e.idTokenParsed.nonce!=Ot.storedNonce)?(lt("[KEYCLOAK] Invalid nonce, clearing token"),_e.clearToken(),Lt&&Lt.setError()):Kt&&(_e.onAuthSuccess&&_e.onAuthSuccess(),Lt&&Lt.setSuccess())}}function bt(Ot){var Lt=St(),jt;et?typeof et=="string"&&(jt=et):jt="keycloak.json";function Ht(Wt){Wt?_e.endpoints={authorize:function(){return Wt.authorization_endpoint},token:function(){return Wt.token_endpoint},logout:function(){if(!Wt.end_session_endpoint)throw"Not supported by the OIDC server";return Wt.end_session_endpoint},checkSessionIframe:function(){if(!Wt.check_session_iframe)throw"Not supported by the OIDC server";return Wt.check_session_iframe},register:function(){throw'Redirection to "Register user" page not supported in standard OIDC mode'},userinfo:function(){if(!Wt.userinfo_endpoint)throw"Not supported by the OIDC server";return Wt.userinfo_endpoint}}:_e.endpoints={authorize:function(){return vt()+"/protocol/openid-connect/auth"},token:function(){return vt()+"/protocol/openid-connect/token"},logout:function(){return vt()+"/protocol/openid-connect/logout"},checkSessionIframe:function(){var Jt=vt()+"/protocol/openid-connect/login-status-iframe.html";return _e.iframeVersion&&(Jt=Jt+"?version="+_e.iframeVersion),Jt},thirdPartyCookiesIframe:function(){var Jt=vt()+"/protocol/openid-connect/3p-cookies/step1.html";return _e.iframeVersion&&(Jt=Jt+"?version="+_e.iframeVersion),Jt},register:function(){return vt()+"/protocol/openid-connect/registrations"},userinfo:function(){return vt()+"/protocol/openid-connect/userinfo"}}}if(jt){var Ft=new XMLHttpRequest;Ft.open("GET",jt,!0),Ft.setRequestHeader("Accept","application/json"),Ft.onreadystatechange=function(){if(Ft.readyState==4)if(Ft.status==200||xt(Ft)){var Wt=JSON.parse(Ft.responseText);_e.authServerUrl=Wt["auth-server-url"],_e.realm=Wt.realm,_e.clientId=Wt.resource,Ht(null),Lt.setSuccess()}else Lt.setError()},Ft.send()}else{if(!et.clientId)throw"clientId missing";_e.clientId=et.clientId;var Vt=et.oidcProvider;if(Vt)if(typeof Vt=="string"){var qt;Vt.charAt(Vt.length-1)=="/"?qt=Vt+".well-known/openid-configuration":qt=Vt+"/.well-known/openid-configuration";var Ft=new XMLHttpRequest;Ft.open("GET",qt,!0),Ft.setRequestHeader("Accept","application/json"),Ft.onreadystatechange=function(){if(Ft.readyState==4)if(Ft.status==200||xt(Ft)){var Jt=JSON.parse(Ft.responseText);Ht(Jt),Lt.setSuccess()}else Lt.setError()},Ft.send()}else Ht(Vt),Lt.setSuccess();else{if(!et.url){for(var zt=document.getElementsByTagName("script"),Ut=0;Ut=0;--zt){var Ut=Vt[zt];Ft.data=="error"?Ut.setError():Ut.setSuccess(Ft.data=="unchanged")}}};return window.addEventListener("message",Ht,!1),Ot.promise}function kt(){st.enable&&_e.token&&setTimeout(function(){_t().then(function(Ot){Ot&&kt()})},st.interval*1e3)}function _t(){var Ot=St();if(st.iframe&&st.iframeOrigin){var Lt=_e.clientId+" "+(_e.sessionId?_e.sessionId:"");st.callbackList.push(Ot);var jt=st.iframeOrigin;st.callbackList.length==1&&st.iframe.contentWindow.postMessage(Lt,jt)}else Ot.setSuccess();return Ot.promise}function Bt(){var Ot=St();if(st.enable||_e.silentCheckSsoRedirectUri){var Lt=document.createElement("iframe");Lt.setAttribute("src",_e.endpoints.thirdPartyCookiesIframe()),Lt.setAttribute("sandbox","allow-scripts allow-same-origin"),Lt.setAttribute("title","keycloak-3p-check-iframe"),Lt.style.display="none",document.body.appendChild(Lt);var jt=function(Ht){Lt.contentWindow===Ht.source&&(Ht.data!=="supported"&&Ht.data!=="unsupported"||(Ht.data==="unsupported"&&(ct(`[KEYCLOAK] Your browser is blocking access to 3rd-party cookies, this means: + + - It is not possible to retrieve tokens without redirecting to the Keycloak server (a.k.a. no support for silent authentication). + - It is not possible to automatically detect changes to the session status (such as the user logging out in another tab). + +For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_modern_browsers`),st.enable=!1,_e.silentCheckSsoFallback&&(_e.silentCheckSsoRedirectUri=!1)),document.body.removeChild(Lt),window.removeEventListener("message",jt),Ot.setSuccess()))};window.addEventListener("message",jt,!1)}else Ot.setSuccess();return Rt(Ot.promise,_e.messageReceiveTimeout,"Timeout when waiting for 3rd party check iframe message.")}function It(Ot){if(!Ot||Ot=="default")return{login:function(zt){return window.location.assign(_e.createLoginUrl(zt)),St().promise},logout:function(zt){return window.location.replace(_e.createLogoutUrl(zt)),St().promise},register:function(zt){return window.location.assign(_e.createRegisterUrl(zt)),St().promise},accountManagement:function(){var zt=_e.createAccountUrl();if(typeof zt<"u")window.location.href=zt;else throw"Not supported by the OIDC server";return St().promise},redirectUri:function(zt,Ut){return zt&&zt.redirectUri?zt.redirectUri:_e.redirectUri?_e.redirectUri:location.href}};if(Ot=="cordova"){st.enable=!1;var Lt=function(zt,Ut,qt){return window.cordova&&window.cordova.InAppBrowser?window.cordova.InAppBrowser.open(zt,Ut,qt):window.open(zt,Ut,qt)},jt=function(zt){return zt&&zt.cordovaOptions?Object.keys(zt.cordovaOptions).reduce(function(Ut,qt){return Ut[qt]=zt.cordovaOptions[qt],Ut},{}):{}},Ht=function(zt){return Object.keys(zt).reduce(function(Ut,qt){return Ut.push(qt+"="+zt[qt]),Ut},[]).join(",")},Ft=function(zt){var Ut=jt(zt);return Ut.location="no",zt&&zt.prompt=="none"&&(Ut.hidden="yes"),Ht(Ut)},Vt=_e.redirectUri||"http://localhost";return{login:function(zt){var Ut=St(),qt=Ft(zt),Wt=_e.createLoginUrl(zt),Jt=Lt(Wt,"_blank",qt),Qt=!1,Zt=!1,Gt=function(){Zt=!0,Jt.close()};return Jt.addEventListener("loadstart",function(Kt){if(Kt.url.indexOf(Vt)==0){var hn=Ct(Kt.url);mt(hn,Ut),Gt(),Qt=!0}}),Jt.addEventListener("loaderror",function(Kt){if(!Qt)if(Kt.url.indexOf(Vt)==0){var hn=Ct(Kt.url);mt(hn,Ut),Gt(),Qt=!0}else Ut.setError(),Gt()}),Jt.addEventListener("exit",function(Kt){Zt||Ut.setError({reason:"closed_by_user"})}),Ut.promise},logout:function(zt){var Ut=St(),qt=_e.createLogoutUrl(zt),Wt=Lt(qt,"_blank","location=no,hidden=yes,clearcache=yes"),Jt;return Wt.addEventListener("loadstart",function(Qt){Qt.url.indexOf(Vt)==0&&Wt.close()}),Wt.addEventListener("loaderror",function(Qt){Qt.url.indexOf(Vt)==0||(Jt=!0),Wt.close()}),Wt.addEventListener("exit",function(Qt){Jt?Ut.setError():(_e.clearToken(),Ut.setSuccess())}),Ut.promise},register:function(zt){var Ut=St(),qt=_e.createRegisterUrl(),Wt=Ft(zt),Jt=Lt(qt,"_blank",Wt);return Jt.addEventListener("loadstart",function(Qt){if(Qt.url.indexOf(Vt)==0){Jt.close();var Zt=Ct(Qt.url);mt(Zt,Ut)}}),Ut.promise},accountManagement:function(){var zt=_e.createAccountUrl();if(typeof zt<"u"){var Ut=Lt(zt,"_blank","location=no");Ut.addEventListener("loadstart",function(qt){qt.url.indexOf(Vt)==0&&Ut.close()})}else throw"Not supported by the OIDC server"},redirectUri:function(zt){return Vt}}}if(Ot=="cordova-native")return st.enable=!1,{login:function(zt){var Ut=St(),qt=_e.createLoginUrl(zt);return universalLinks.subscribe("keycloak",function(Wt){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close();var Jt=Ct(Wt.url);mt(Jt,Ut)}),window.cordova.plugins.browsertab.openUrl(qt),Ut.promise},logout:function(zt){var Ut=St(),qt=_e.createLogoutUrl(zt);return universalLinks.subscribe("keycloak",function(Wt){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),_e.clearToken(),Ut.setSuccess()}),window.cordova.plugins.browsertab.openUrl(qt),Ut.promise},register:function(zt){var Ut=St(),qt=_e.createRegisterUrl(zt);return universalLinks.subscribe("keycloak",function(Wt){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close();var Jt=Ct(Wt.url);mt(Jt,Ut)}),window.cordova.plugins.browsertab.openUrl(qt),Ut.promise},accountManagement:function(){var zt=_e.createAccountUrl();if(typeof zt<"u")window.cordova.plugins.browsertab.openUrl(zt);else throw"Not supported by the OIDC server"},redirectUri:function(zt){return zt&&zt.redirectUri?zt.redirectUri:_e.redirectUri?_e.redirectUri:"http://localhost"}};throw"invalid adapter type: "+Ot}var At=function(){if(!(this instanceof At))return new At;localStorage.setItem("kc-test","test"),localStorage.removeItem("kc-test");var Ot=this;function Lt(){for(var jt=new Date().getTime(),Ht=0;Ht{keycloak.init({onLoad:"check-sso",silentCheckSsoRedirectUri:window.location.origin+"/silent-sso.html",pkceMethod:"S256"}).then(tt=>{if(tt)_e();else{let nt=window.location.href.split("/#!")[1];nt===void 0&&(nt=""),nt==="/"||nt===""||nt.includes("/faq")||nt.includes("/scoreboard")||nt.includes("/osd")?_e():rr.doLogin()}})}),yn(rr,"isLoggedIn",()=>!!keycloak.token),yn(rr,"doLogin",()=>keycloak.login()),yn(rr,"doLogout",()=>keycloak.logout()),yn(rr,"getUsername",()=>{var _e;return(_e=keycloak.tokenParsed)==null?void 0:_e.preferred_username}),yn(rr,"getToken",()=>keycloak.token),yn(rr,"updateToken",_e=>keycloak.updateToken(5).then(_e).catch(rr.doLogin)),yn(rr,"hasRoles",_e=>_e.some(tt=>keycloak.hasRealmRole(tt)||keycloak.hasResourceRole(tt)));let UserService=rr;const initialState$e={},ErrorPopupSlice=createSlice({name:"ErrorPopup",initialState:initialState$e,reducers:{setShow:(et,_e)=>{et.show=_e.payload},setCode:(et,_e)=>{et.code=_e.payload},setCustomDescription:(et,_e)=>{et.customDescription=_e.payload}}}),instance=axios.create(),unauthorizedInstance=axios.create();instance.interceptors.request.use(et=>{if(UserService.isLoggedIn()){const _e=()=>(et.headers&&(et.headers.Authorization=`Bearer ${UserService.getToken()}`),Promise.resolve(et));return UserService.updateToken(_e)}else return UserService.doLogin(),et});class ApiService{static getApiEndpoint(){return{}.VITE_IS_DEVELOPMENT==="true"?{}.VITE_API_URL:`https://api.${window.location.hostname}`}static getFileEndpoint(){return{}.VITE_IS_DEVELOPMENT==="true"?{}.VITE_FILESERVER_URL:`https://files.${window.location.hostname}`}static request({url:_e,method:tt="GET",data:nt={},headers:rt={},showError:st=!0,params:it={},authorizedRequest:at=!1}){return new Promise((ot,lt)=>{let ct=instance;return at||(ct=unauthorizedInstance),ct.request({headers:rt,url:_e,method:tt,data:nt,params:it,withCredentials:!1}).then(ut=>{ot(ut.data)}).catch(ut=>{const dt=ut.response&&ut.response.status?isNaN(ut.response.status)?-1:ut.response.status:-1;dt!==404&&st&&(store$1.dispatch(ErrorPopupSlice.actions.setShow(!0)),store$1.dispatch(ErrorPopupSlice.actions.setCode(dt)),ut.response&&ut.response.data&&Object.keys(ut.response.data).includes("error")&&store$1.dispatch(ErrorPopupSlice.actions.setCustomDescription(ut.response.data.error))),lt(dt)})})}static loadQuestions(){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/join/questions`})}static loadFaq(){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/join/faq`})}static loadImprintUrl(){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/imprint`})}static loadLivestreamUrl(){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/livestream`})}static checkTeamId(_e){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/join/checkid/${_e}`})}static submitJoin(_e,tt){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/join/submit/${_e}`,method:"put",data:tt})}static loadPublicScoreboard(){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/scoreboard`})}static loadSettings(){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/settings`,authorizedRequest:!0})}static saveSetting(_e,tt){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/setting/${_e}`,method:"put",authorizedRequest:!0,data:{value:tt}})}static loadTeams(){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/team`,authorizedRequest:!0})}static loadQuizQuestions(){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/question`,authorizedRequest:!0})}static addQuestion(_e){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/question`,authorizedRequest:!0,data:_e,method:"put"})}static updateQuestion(_e,tt){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/question/${_e}`,authorizedRequest:!0,data:tt,method:"post"})}static deleteQuestion(_e){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/question/${_e}`,authorizedRequest:!0,method:"delete"})}static getQuestionDetail(_e){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/question/${_e}`,authorizedRequest:!0})}static loadCustomGraders(){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/question/customgraders`,authorizedRequest:!0})}static getAvailable(){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/grading/available`,authorizedRequest:!0})}static applyForGrading(){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/grading/apply`,method:"post",authorizedRequest:!0})}static gradeAnswer(_e,tt){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/grading/${_e}`,method:"post",data:{points:tt},authorizedRequest:!0})}static getInternalScoreboard(){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/scoreboard-private`,authorizedRequest:!0})}static loadPortalQuestions(){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/portal/questions`,authorizedRequest:!0})}static setPortalAnswer(_e,tt){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/portal/answer/${_e}`,authorizedRequest:!0,method:"post",data:tt})}static askQuestions(_e){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/question/dispatch`,authorizedRequest:!0,method:"post",data:_e})}static setQuestionsForGrading(_e){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/question/grade`,authorizedRequest:!0,method:"post",data:_e})}static publishQuestions(_e){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/question/publish`,authorizedRequest:!0,method:"post",data:_e})}static getTeamId(){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/join/teamid`,authorizedRequest:!0})}static loadBackoffice(){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/backoffice`,authorizedRequest:!0})}static getAnswer(_e){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/answer/${_e}`,authorizedRequest:!0})}static updateAnswer(_e,tt){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/answer/${_e}`,authorizedRequest:!0,method:"post",data:tt})}static createAnswer(_e){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/answer`,authorizedRequest:!0,method:"put",data:_e})}static loadChatMessages(_e,tt){const nt=tt===null?{}:{before:tt};return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/chat/${_e}`,authorizedRequest:!0,params:nt})}static sendChatMessage(_e,tt){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/chat/${_e}`,authorizedRequest:!0,method:"post",data:tt})}static loadSupportChatMessages(){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/supportchat`,authorizedRequest:!0})}static sendSupportChatMessage(_e,tt){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/supportchat/${_e}`,authorizedRequest:!0,method:"post",data:tt})}static uploadFile(_e){return ApiService.request({url:`${ApiService.getFileEndpoint()}/upload`,data:_e,method:"post",authorizedRequest:!0})}static recheckExpired(){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/question/recheck_expired`,authorizedRequest:!0,method:"post"})}static osdCommand(_e){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/osd/event`,authorizedRequest:!0,method:"post",data:_e})}static osdImages(){return ApiService.request({url:`${ApiService.getApiEndpoint()}/api/osd/images`,authorizedRequest:!0})}}const loadQuestions$3=createAsyncThunk("/Lobby/loadQuestions",async(et,{rejectWithValue:_e})=>{try{return await ApiService.loadQuestions()}catch(tt){return _e(tt)}}),checkTeamId=createAsyncThunk("/Lobby/checkTeamId",async(et,{rejectWithValue:_e})=>{try{return await ApiService.checkTeamId(et)}catch(tt){return _e(tt)}}),register=createAsyncThunk("/Lobby/register",async(et,{rejectWithValue:_e})=>{try{return await ApiService.submitJoin(et.way,et.data)}catch(tt){return _e(tt)}}),initialState$d={lobbyLoading:!0,lobbySelection:0,questions:[],welcomeText:"",welcomeTitle:"",consentText:"",additionalExplanation:"",keepEmail:"",keepEmailCheckbox:"",logoUrl:"",showKeepEmail:!0,registerButtonValid:!1,joinButtonValid:!1,teamIdValidation:0,open:!0,full:!1},LobbySlice=createSlice({name:"Lobby",initialState:initialState$d,reducers:{setLobbySelection:(et,_e)=>{et.lobbySelection=_e.payload},setCustomQuestionAnswer:(et,_e)=>{et.questions[_e.payload.key].answer=_e.payload.value},setTeamIdValidation:(et,_e)=>{et.teamIdValidation=_e.payload}},extraReducers:et=>{et.addCase(loadQuestions$3.pending,_e=>{_e.lobbyLoading=!0}),et.addCase(loadQuestions$3.rejected,_e=>{_e.lobbyLoading=!1}),et.addCase(loadQuestions$3.fulfilled,(_e,tt)=>{_e.lobbyLoading=!1,_e.questions=tt.payload.questions,_e.welcomeText=tt.payload.welcomeText,_e.welcomeTitle=tt.payload.welcomeTitle,_e.consentText=tt.payload.consentText,_e.additionalExplanation=tt.payload.additionalExplanation,_e.keepEmail=tt.payload.keepEmail,_e.keepEmailCheckbox=tt.payload.keepEmailCheckbox,_e.logoUrl=tt.payload.logoUrl,_e.open=tt.payload.open,_e.full=tt.payload.full}),et.addCase(checkTeamId.pending,_e=>{_e.teamIdValidation=1}),et.addCase(checkTeamId.rejected,_e=>{_e.teamIdValidation=3}),et.addCase(checkTeamId.fulfilled,(_e,tt)=>{_e.teamIdValidation=tt.payload.teamid==="exists"?2:3}),et.addCase(register.pending,()=>{f7.dialog.preloader("Anmeldung läuft...")}),et.addCase(register.rejected,()=>{f7.dialog.close(),f7.dialog.create({title:"Es ist ein unbekannter Fehler aufgetreten.",buttons:[{text:"OK"}]}).open()}),et.addCase(register.fulfilled,(_e,tt)=>{f7.dialog.close(),f7.dialog.create({title:tt.payload.status==="ok"?"Registrierung erfolgreich abgeschlossen":"Es ist ein Fehler aufgetreten",text:tt.payload.status==="ok"?`Du erhälst in Kürze eine E-Mail mit deinem persönlichen Zugangslink.${_e.lobbySelection===1?" Dort ist auch die eurem Team zugewiesene Team-ID sowie ein Registrierungslink für weitere Teammitglieder enthalten. Bitte leite diese Infos an deine Teammitglieder weiter.":""} Diese Seite kannst du nun schließen.`:tt.payload.reason,buttons:tt.payload.status==="ok"?[]:[{text:"OK"}]}).open()})}}),loadImprint=createAsyncThunk("/Footer/loadImprint",async(et,{rejectWithValue:_e})=>{try{return ApiService.loadImprintUrl()}catch(tt){return _e(tt)}}),initialState$c={loading:!1,imprint:""},FooterSlice=createSlice({name:"Footer",initialState:initialState$c,reducers:{},extraReducers:et=>{et.addCase(loadImprint.pending,_e=>{_e.loading=!0}),et.addCase(loadImprint.rejected,_e=>{_e.loading=!0}),et.addCase(loadImprint.fulfilled,(_e,tt)=>{_e.loading=!1,_e.imprint=tt.payload.imprintUrl})}}),loadFaq=createAsyncThunk("/Faq/loadFaq",async(et,{rejectWithValue:_e})=>{try{return await ApiService.loadFaq()}catch(tt){return _e(tt)}}),initialState$b={loading:!0,data:[]},FaqSlice=createSlice({name:"Faq",initialState:initialState$b,reducers:{},extraReducers:et=>{et.addCase(loadFaq.pending,_e=>{_e.loading=!0}),et.addCase(loadFaq.rejected,_e=>{_e.loading=!1}),et.addCase(loadFaq.fulfilled,(_e,tt)=>{_e.loading=!1,_e.data=tt.payload})}}),loadScoreboard$1=createAsyncThunk("/Scoreboard/loadScoreboard",async(et,{rejectWithValue:_e})=>{try{return await ApiService.loadPublicScoreboard()}catch(tt){return _e(tt)}}),initialState$a={loading:!0,questions:[],teams:[]},ScoreboardSlice=createSlice({name:"Scoreboard",initialState:initialState$a,reducers:{},extraReducers:et=>{et.addCase(loadScoreboard$1.fulfilled,(_e,tt)=>{_e.loading=!1,_e.questions=tt.payload.questions,_e.teams=tt.payload.teams})}}),loadSettings=createAsyncThunk("/Settings/loadSettings",async(et,{rejectWithValue:_e})=>{try{return await ApiService.loadSettings()}catch(tt){return _e(tt)}}),saveSetting=createAsyncThunk("/Settings/saveSetting",async(et,{rejectWithValue:_e,dispatch:tt})=>{try{const nt=await ApiService.saveSetting(et.key,et.value);return tt(loadSettings()),nt}catch(nt){return _e(nt)}}),initialState$9={loading:!1,settings:[],statistics:[]},SettingsSlice=createSlice({name:"Settings",initialState:initialState$9,reducers:{},extraReducers:et=>{et.addCase(loadSettings.pending,_e=>{_e.loading=!0}),et.addCase(loadSettings.rejected,_e=>{_e.loading=!1}),et.addCase(loadSettings.fulfilled,(_e,tt)=>{_e.loading=!1,_e.settings=tt.payload.settings,_e.statistics=tt.payload.statistics}),et.addCase(saveSetting.pending,()=>{f7.dialog.preloader("Speichern...")}),et.addCase(saveSetting.rejected,()=>{f7.dialog.close(),f7.dialog.create({title:"Es ist ein Fehler aufgetreten",buttons:[{text:"OK"}]}).open()}),et.addCase(saveSetting.fulfilled,()=>{f7.dialog.close()})}}),loadTeams=createAsyncThunk("/Teams/loadTeams",async(et,{rejectWithValue:_e})=>{try{return await ApiService.loadTeams()}catch(tt){return _e(tt)}}),initialState$8={loading:!0,teams:[],teamInformationTitle:[]},TeamsSlice=createSlice({name:"Teams",initialState:initialState$8,reducers:{},extraReducers:et=>{et.addCase(loadTeams.pending,_e=>{_e.loading=!0}),et.addCase(loadTeams.rejected,_e=>{_e.loading=!1}),et.addCase(loadTeams.fulfilled,(_e,tt)=>{_e.loading=!1,_e.teams=tt.payload.teams,_e.teamInformationTitle=tt.payload.teamInformation})}});var QuestionState=(et=>(et[et.prePreparation=0]="prePreparation",et[et.asked=1]="asked",et[et.waitForGrading=2]="waitForGrading",et[et.inGrading=3]="inGrading",et[et.waitForPublishing=4]="waitForPublishing",et[et.published=5]="published",et))(QuestionState||{}),QuestionType=(et=>(et[et.text=0]="text",et[et.multipleChoice=1]="multipleChoice",et[et.trueFalse=2]="trueFalse",et[et.custom=3]="custom",et[et.external=4]="external",et[et.customMc=5]="customMc",et))(QuestionType||{});const emptyQuestion={id:-1,options:[],gradingHint:"",correctAnswer:-1,maxPoints:0,state:QuestionState.prePreparation,category:"",customGradingFunction:"",question:"",type:QuestionType.text,displayId:0},loadQuestions$2=createAsyncThunk("/Questions/loadQuestions",async(et,{rejectWithValue:_e})=>{try{return await ApiService.loadQuizQuestions()}catch(tt){return _e(tt)}}),loadQuestionDetail=createAsyncThunk("/Questions/loadQuestionDetail",async(et,{rejectWithValue:_e})=>{try{return await ApiService.getQuestionDetail(et)}catch(tt){return _e(tt)}}),loadCustomGraders=createAsyncThunk("/Questions/loadCustomGraders",async(et,{rejectWithValue:_e})=>{try{return await ApiService.loadCustomGraders()}catch(tt){return _e(tt)}}),addQuestion=createAsyncThunk("/Questions/addQuestion",async(et,{rejectWithValue:_e,dispatch:tt})=>{try{const nt=await ApiService.addQuestion(et);return tt(loadQuestions$2()),nt}catch(nt){return _e(nt)}}),deleteQuestion=createAsyncThunk("/Questions/deleteQuestion",async(et,{rejectWithValue:_e,dispatch:tt})=>{try{const nt=await ApiService.deleteQuestion(et);return tt(loadQuestions$2()),nt}catch(nt){return _e(nt)}}),updateQuestion=createAsyncThunk("/Questions/updateQuestion",async(et,{rejectWithValue:_e,dispatch:tt})=>{try{const nt=await ApiService.updateQuestion(et.id,et.data);return tt(loadQuestions$2()),nt}catch(nt){return _e(nt)}}),dispatchQuestions=createAsyncThunk("/Questions/dispatchQuestions",async(et,{rejectWithValue:_e,dispatch:tt})=>{try{const nt=await ApiService.askQuestions(et);return tt(loadQuestions$2()),nt}catch(nt){return _e(nt)}}),gradeQuestions=createAsyncThunk("/Questions/gradeQuestions",async(et,{rejectWithValue:_e,dispatch:tt})=>{try{const nt=await ApiService.setQuestionsForGrading(et);return tt(loadQuestions$2()),nt}catch(nt){return _e(nt)}}),publishQuestions=createAsyncThunk("/Questions/publishQuestions",async(et,{rejectWithValue:_e,dispatch:tt})=>{try{const nt=await ApiService.publishQuestions(et);return tt(loadQuestions$2()),nt}catch(nt){return _e(nt)}}),recheckExpired=createAsyncThunk("/Questions/recheckExpired",async(et,{rejectWithValue:_e,dispatch:tt})=>{try{const nt=await ApiService.recheckExpired();return tt(loadQuestions$2()),nt}catch(nt){return _e(nt)}}),initialState$7={loading:!0,questions:[],editLoading:!1,editWriteable:!0,editData:emptyQuestion,customGraders:[]},QuestionsSlice=createSlice({name:"Questions",initialState:initialState$7,reducers:{setEditCategory:(et,_e)=>{et.editData.category=_e.payload},setEditGradingHint:(et,_e)=>{et.editData.gradingHint=_e.payload},setEditQuestion:(et,_e)=>{et.editData.question=_e.payload},setEditMaxPoints:(et,_e)=>{et.editData.maxPoints=_e.payload},setEditCustomGradingFunction:(et,_e)=>{et.editData.customGradingFunction=_e.payload},setEditCorrectAnswer:(et,_e)=>{et.editData.correctAnswer=_e.payload},setEditDisplayId:(et,_e)=>{et.editData.displayId=_e.payload},setEditOptions:(et,_e)=>{et.editData.options=_e.payload},setEditType:(et,_e)=>{et.editData.type=_e.payload,et.editData.correctAnswer=-1},clearEditDetail:et=>{et.editData=emptyQuestion}},extraReducers:et=>{et.addCase(loadQuestions$2.pending,_e=>{_e.loading=!0}),et.addCase(loadQuestions$2.rejected,_e=>{_e.loading=!1}),et.addCase(loadQuestionDetail.pending,_e=>{_e.editLoading=!0}),et.addCase(loadQuestionDetail.rejected,_e=>{_e.editLoading=!1}),et.addCase(loadQuestionDetail.fulfilled,(_e,tt)=>{_e.editLoading=!1,_e.editData=tt.payload}),et.addCase(loadQuestions$2.fulfilled,(_e,tt)=>{_e.loading=!1,_e.questions=tt.payload}),et.addCase(loadCustomGraders.fulfilled,(_e,tt)=>{_e.customGraders=tt.payload}),et.addCase(addQuestion.pending,()=>{f7.dialog.preloader("Frage wird gespeichert...")}),et.addCase(addQuestion.rejected,()=>{f7.dialog.close()}),et.addCase(addQuestion.fulfilled,()=>{f7.dialog.close(),f7.views.main.router.back("/backoffice/questions/")}),et.addCase(deleteQuestion.pending,()=>{f7.dialog.preloader("Frage wird gelöscht...")}),et.addCase(deleteQuestion.rejected,()=>{f7.dialog.close()}),et.addCase(deleteQuestion.fulfilled,()=>{f7.dialog.close()}),et.addCase(updateQuestion.pending,()=>{f7.dialog.preloader("Frage wird gespeichert...")}),et.addCase(updateQuestion.rejected,()=>{f7.dialog.close()}),et.addCase(updateQuestion.fulfilled,()=>{f7.dialog.close(),f7.views.main.router.back("/backoffice/questions/")}),et.addCase(dispatchQuestions.pending,()=>{f7.dialog.preloader("Fragen werden gestellt...")}),et.addCase(dispatchQuestions.rejected,()=>{f7.dialog.close()}),et.addCase(dispatchQuestions.fulfilled,()=>{f7.dialog.close()}),et.addCase(gradeQuestions.pending,()=>{f7.dialog.preloader("Fragen werden zur Auswertung markiert...")}),et.addCase(gradeQuestions.rejected,()=>{f7.dialog.close()}),et.addCase(gradeQuestions.fulfilled,()=>{f7.dialog.close()}),et.addCase(publishQuestions.pending,()=>{f7.dialog.preloader("Ergebnisse werden veröffentlicht...")}),et.addCase(publishQuestions.rejected,()=>{f7.dialog.close()}),et.addCase(publishQuestions.fulfilled,()=>{f7.dialog.close()}),et.addCase(recheckExpired.pending,()=>{f7.dialog.preloader("Laden...")}),et.addCase(recheckExpired.rejected,()=>{f7.dialog.close()}),et.addCase(recheckExpired.fulfilled,()=>{f7.dialog.close()})}}),getAvailable=createAsyncThunk("/Grading/getAvailable",async(et,{rejectWithValue:_e})=>{try{return await ApiService.getAvailable()}catch(tt){return _e(tt)}}),applyForGrading=createAsyncThunk("/Grading/applyForGrading",async(et,{rejectWithValue:_e})=>{try{return await ApiService.applyForGrading()}catch(tt){return _e(tt)}}),gradeAnswer=createAsyncThunk("/Grading/gradeAnswer",async(et,{rejectWithValue:_e,dispatch:tt})=>{try{const nt=await ApiService.gradeAnswer(et.id,et.points);return tt(getAvailable()),nt}catch(nt){return _e(nt)}}),initialState$6={loading:!0,available:!1,currentAnswer:null},GradingSlice=createSlice({name:"Grading",initialState:initialState$6,reducers:{},extraReducers:et=>{et.addCase(getAvailable.pending,_e=>{_e.loading=!0}),et.addCase(getAvailable.rejected,_e=>{_e.loading=!1,_e.available=!1}),et.addCase(getAvailable.fulfilled,(_e,tt)=>{_e.loading=!1,_e.available=tt.payload.status==="available"}),et.addCase(applyForGrading.pending,()=>{f7.dialog.preloader("LADEN...")}),et.addCase(applyForGrading.rejected,()=>{f7.dialog.close(),f7.dialog.create({title:"Es sind derzeit keine Antworten mehr auszuwerten.",buttons:[{text:"OK"}]}).open()}),et.addCase(applyForGrading.fulfilled,(_e,tt)=>{f7.dialog.close(),_e.currentAnswer=tt.payload,Object.keys(tt.payload).includes("status")||f7.views.main.router.navigate("/backoffice/grade/"+tt.payload.id)}),et.addCase(gradeAnswer.pending,()=>{f7.dialog.preloader("SPEICHERN...")}),et.addCase(gradeAnswer.rejected,()=>{f7.dialog.close(),f7.dialog.create({title:"Es ist ein Fehler aufgetreten",text:"Die Punkte wurden nicht gespeichert.",buttons:[{text:"OK"}]}).open()}),et.addCase(gradeAnswer.fulfilled,()=>{f7.dialog.close(),f7.views.main.router.back()})}}),getInternalScoreboard=createAsyncThunk("/ScoreboardInternal/getInternalScoreboard",async(et,{rejectWithValue:_e})=>{try{return await ApiService.getInternalScoreboard()}catch(tt){return _e(tt)}}),getAnswer=createAsyncThunk("/ScoreboardInternal/getAnswer",async(et,{rejectWithValue:_e})=>{try{return await ApiService.getAnswer(et)}catch(tt){return _e(tt)}}),updateAnswer=createAsyncThunk("/ScoreboardInternal/updateAnswer",async(et,{rejectWithValue:_e,dispatch:tt})=>{try{const nt=await ApiService.updateAnswer(et.id,{points:et.points});return tt(getInternalScoreboard()),nt}catch(nt){return _e(nt)}}),createAnswer=createAsyncThunk("/ScoreboardInternal/createAnswer",async(et,{rejectWithValue:_e,dispatch:tt})=>{try{const nt=await ApiService.createAnswer(et);return tt(getInternalScoreboard()),nt}catch(nt){return _e(nt)}}),initialState$5={loading:!0,teams:[],questions:[],answerLoading:!0,answer:{id:-1,questionId:-1,points:0,value:""}},ScoreboardInternalSlice=createSlice({name:"ScoreboardInternal",initialState:initialState$5,reducers:{clearStorage:(et,_e)=>{et.answer={id:-1,questionId:_e.payload,points:0,value:"(keine vorhanden)"},et.answerLoading=!1}},extraReducers:et=>{et.addCase(getInternalScoreboard.pending,_e=>{_e.loading=!0}),et.addCase(getInternalScoreboard.rejected,_e=>{_e.loading=!1}),et.addCase(getInternalScoreboard.fulfilled,(_e,tt)=>{_e.loading=!1,_e.questions=tt.payload.questions,_e.teams=tt.payload.teams}),et.addCase(getAnswer.pending,_e=>{_e.answerLoading=!0}),et.addCase(getAnswer.rejected,_e=>{_e.answerLoading=!1}),et.addCase(getAnswer.fulfilled,(_e,tt)=>{_e.answerLoading=!1,_e.answer=tt.payload}),et.addCase(updateAnswer.pending,()=>{f7.dialog.preloader("Punkte speichern...")}),et.addCase(updateAnswer.rejected,()=>{f7.dialog.close()}),et.addCase(updateAnswer.fulfilled,()=>{f7.dialog.close(),f7.views.main.router.back()}),et.addCase(createAnswer.pending,()=>{f7.dialog.preloader("Punkte speichern...")}),et.addCase(createAnswer.rejected,()=>{f7.dialog.close()}),et.addCase(createAnswer.fulfilled,()=>{f7.dialog.close(),f7.views.main.router.back()})}}),loadLivestreamUrl=createAsyncThunk("/Portal/loadLivestreamUrl",async(et,{rejectWithValue:_e})=>{try{return await ApiService.loadLivestreamUrl()}catch(tt){return _e(tt)}}),loadScoreboard=createAsyncThunk("/Portal/loadScoreboard",async(et,{rejectWithValue:_e})=>{try{return await ApiService.loadPublicScoreboard()}catch(tt){return _e(tt)}}),loadQuestions$1=createAsyncThunk("/Portal/loadQuestions",async(et,{rejectWithValue:_e})=>{try{return await ApiService.loadPortalQuestions()}catch(tt){return _e(tt)}}),setAnswer=createAsyncThunk("/Portal/setAnswer",async(et,{rejectWithValue:_e,dispatch:tt})=>{try{const nt=await ApiService.setPortalAnswer(et.questionId.toString(),{value:et.answer});return tt(PortalSlice.actions.setAnswer({id:et.questionId,value:et.answer})),nt}catch(nt){return _e(nt)}}),getTeamId=createAsyncThunk("/Portal/getTeamId",async(et,{rejectWithValue:_e})=>{try{return await ApiService.getTeamId()}catch(tt){return _e(tt)}}),loadChatMessages=createAsyncThunk("/Portal/loadChatMessages",async(et,{rejectWithValue:_e})=>{try{return await ApiService.loadChatMessages(et.type,et.before)}catch(tt){return _e(tt)}}),sendChatMessage=createAsyncThunk("/Portal/sendChatMessage",async(et,{rejectWithValue:_e})=>{try{return await ApiService.sendChatMessage(et.type,et.data)}catch(tt){return _e(tt)}}),initialState$4={livestreamLoading:!0,livestreamUrl:"",scoreboardLoading:!0,scoreboardQuestions:[],scoreboardTeams:[],questionsLoading:!0,questionsLive:[],questionEnd:0,chatLoadingPublic:!0,chatLoadingSupport:!0,chatLoadingTeam:!0,chatSelected:"public",chatsPublic:[],chatsSupport:[],chatsTeam:[],chatsReadPublic:0,chatsReadSupport:0,chatsReadTeam:0,teamUuid:"",nickname:"",connected:!1},PortalSlice=createSlice({name:"Portal",initialState:initialState$4,reducers:{appendQuestion:(et,_e)=>{et.questionsLive.push(_e.payload)},expireQuestions:et=>{et.questionsLive=[]},setAnswer:(et,_e)=>{for(const tt of et.questionsLive)tt.id===_e.payload.id&&(tt.answer=_e.payload.value)},setQuestionEnd:(et,_e)=>{et.questionEnd=_e.payload},setConnected:(et,_e)=>{et.connected=_e.payload},setChatSelected:(et,_e)=>{et.chatSelected=_e.payload},addPublicChatMessage:(et,_e)=>{et.chatsPublic.push(_e.payload),et.chatsPublic.sort((tt,nt)=>tt.time_sent>nt.time_sent?1:tt.time_sent{et.chatsSupport.push(_e.payload),et.chatsSupport.sort((tt,nt)=>tt.time_sent>nt.time_sent?1:tt.time_sent{et.chatsTeam.push(_e.payload),et.chatsTeam.sort((tt,nt)=>tt.time_sent>nt.time_sent?1:tt.time_sent{et.chatsReadPublic=_e.payload},setChatsReadSupport:(et,_e)=>{et.chatsReadSupport=_e.payload},setChatsReadTeam:(et,_e)=>{et.chatsReadTeam=_e.payload}},extraReducers:et=>{et.addCase(loadLivestreamUrl.pending,_e=>{_e.livestreamLoading=!0}),et.addCase(loadLivestreamUrl.rejected,_e=>{_e.livestreamLoading=!1}),et.addCase(loadLivestreamUrl.fulfilled,(_e,tt)=>{_e.livestreamLoading=!1,_e.livestreamUrl=tt.payload.livestreamUrl}),et.addCase(loadScoreboard.pending,_e=>{_e.scoreboardLoading=!0}),et.addCase(loadScoreboard.rejected,_e=>{_e.scoreboardLoading=!1}),et.addCase(loadScoreboard.fulfilled,(_e,tt)=>{_e.scoreboardLoading=!1,_e.scoreboardQuestions=tt.payload.questions,_e.scoreboardTeams=tt.payload.teams}),et.addCase(loadQuestions$1.pending,_e=>{_e.questionsLoading=!0}),et.addCase(loadQuestions$1.rejected,_e=>{_e.questionsLoading=!1}),et.addCase(loadQuestions$1.fulfilled,(_e,tt)=>{_e.questionsLoading=!1,_e.questionsLive=tt.payload.questions,_e.questionEnd=tt.payload.endtime}),et.addCase(getTeamId.fulfilled,(_e,tt)=>{_e.teamUuid=tt.payload.uuid,_e.nickname=tt.payload.nickname}),et.addCase(setAnswer.pending,()=>{f7.dialog.preloader("Antwort speichern...")}),et.addCase(setAnswer.rejected,()=>{f7.dialog.close(),f7.dialog.create({title:"Die Antwort konnte leider nicht gespeichert werden.",text:"Bitte versuche es erneut.",buttons:[{text:"OK"}]}).open()}),et.addCase(setAnswer.fulfilled,()=>{f7.dialog.close()}),et.addCase(loadChatMessages.pending,(_e,tt)=>{switch(tt.meta.arg.type){case"public":_e.chatLoadingPublic=!0;break;case"support":_e.chatLoadingSupport=!0;break;case"team":_e.chatLoadingTeam=!0;break}}),et.addCase(loadChatMessages.rejected,(_e,tt)=>{switch(tt.meta.arg.type){case"public":_e.chatLoadingPublic=!1;break;case"support":_e.chatLoadingSupport=!1;break;case"team":_e.chatLoadingTeam=!1;break}}),et.addCase(loadChatMessages.fulfilled,(_e,tt)=>{switch(tt.meta.arg.type){case"public":_e.chatLoadingPublic=!1,_e.chatsPublic=tt.payload.chats;break;case"support":_e.chatLoadingSupport=!1,_e.chatsSupport=tt.payload.chats;break;case"team":_e.chatLoadingTeam=!1,_e.chatsTeam=tt.payload.chats;break}}),et.addCase(sendChatMessage.pending,()=>{f7.dialog.preloader("Nachricht senden...")}),et.addCase(sendChatMessage.rejected,()=>{f7.dialog.close(),f7.dialog.create({title:"Die Nachricht konnte nicht gesendet werden.",text:"Bitte probiere es in Kürze erneut.",buttons:[{text:"OK"}]})}),et.addCase(sendChatMessage.fulfilled,()=>{f7.dialog.close()})}}),loadBackoffice=createAsyncThunk("/Backoffice/loadBackoffice",async(et,{rejectWithValue:_e})=>{try{return await ApiService.loadBackoffice()}catch(tt){return _e(tt)}}),initialState$3={loading:!0},BackofficeSlice=createSlice({name:"Backoffice",initialState:initialState$3,reducers:{},extraReducers:et=>{et.addCase(loadBackoffice.pending,_e=>{_e.loading=!0}),et.addCase(loadBackoffice.rejected,_e=>{_e.loading=!1}),et.addCase(loadBackoffice.fulfilled,_e=>{_e.loading=!1})}}),loadSupportChatMessages=createAsyncThunk("/SupportChat/loadSupportChatMessages",async(et,{rejectWithValue:_e})=>{try{return await ApiService.loadSupportChatMessages()}catch(tt){return _e(tt)}}),sendSupportChatMessage=createAsyncThunk("/SupportChat/sendSupportChatMessage",async(et,{rejectWithValue:_e})=>{try{return await ApiService.sendSupportChatMessage(et.type,et.data)}catch(tt){return _e(tt)}}),initialState$2={loading:!0,messages:{},selected:"public"},SupportChatSlice=createSlice({name:"SupportChat",initialState:initialState$2,reducers:{setSelected:(et,_e)=>{et.selected=_e.payload,Object.keys(et.messages).includes(_e.payload)&&(et.messages[_e.payload].lastInteraction=new Date().getTime()/1e3)},addMessage:(et,_e)=>{Object.keys(et.messages).includes(_e.payload.key)&&(et.messages[_e.payload.key].messages.push(_e.payload.message),et.selected===_e.payload.key&&(et.messages[_e.payload.key].lastInteraction=new Date().getTime()/1e3))}},extraReducers:et=>{et.addCase(loadSupportChatMessages.pending,_e=>{_e.loading=!0}),et.addCase(loadSupportChatMessages.rejected,_e=>{_e.loading=!1}),et.addCase(loadSupportChatMessages.fulfilled,(_e,tt)=>{_e.loading=!1,_e.messages=tt.payload.data,_e.nickname=tt.payload.nickname;const nt=new Date().getTime()/1e3;for(const rt of Object.keys(_e.messages))_e.messages[rt].lastInteraction=nt})}}),loadQuestions=createAsyncThunk("/Lobby/loadQuestions",async(et,{rejectWithValue:_e})=>{try{return await ApiService.loadQuestions()}catch(tt){return _e(tt)}}),initialState$1={questions:[],showImage:!1,currentTitle:"",currentImage:"",currentQuestion:"",currentOptions:[],markCorrect:-1,showQuestion:!1,timerMins:-1,timerSecs:-1,stats:{},showStats:!1,logo:""},OsdSlice=createSlice({name:"OSD",initialState:initialState$1,reducers:{decreaseTimer:et=>{et.timerSecs=et.timerSecs-1,et.timerSecs<0&&(et.timerMins=et.timerMins-1,et.timerMins>=0&&(et.timerSecs=59))},setImageContent:(et,_e)=>{et.currentImage=_e.payload},setShowImage:(et,_e)=>{et.showImage=_e.payload},setTimer:(et,_e)=>{et.timerMins=_e.payload.minutes,et.timerSecs=_e.payload.seconds},setTitle:(et,_e)=>{et.currentTitle=_e.payload},setQuestion:(et,_e)=>{et.currentQuestion=_e.payload},setOptions:(et,_e)=>{et.currentOptions=_e.payload},setShowQuestion:(et,_e)=>{et.showQuestion=_e.payload},setCorrect:(et,_e)=>{et.markCorrect=_e.payload},setStats:(et,_e)=>{et.stats=_e.payload},setShowStats:(et,_e)=>{et.showStats=_e.payload}},extraReducers:et=>{et.addCase(loadQuestions.fulfilled,(_e,tt)=>{_e.logo=tt.payload.logoUrl})}}),loadOsdImages=createAsyncThunk("/OsdControl/loadOsdImages",async(et,{rejectWithValue:_e})=>{try{return await ApiService.osdImages()}catch(tt){return _e(tt)}}),initialState={images:[]},OsdControlSlice=createSlice({name:"OsdControl",initialState,reducers:{},extraReducers:et=>{et.addCase(loadOsdImages.fulfilled,(_e,tt)=>{_e.images=tt.payload})}}),store=configureStore({reducer:{lobby:LobbySlice.reducer,error:ErrorPopupSlice.reducer,footer:FooterSlice.reducer,faq:FaqSlice.reducer,scoreboard:ScoreboardSlice.reducer,settings:SettingsSlice.reducer,teams:TeamsSlice.reducer,questions:QuestionsSlice.reducer,grading:GradingSlice.reducer,scoreboardinternal:ScoreboardInternalSlice.reducer,portal:PortalSlice.reducer,backoffice:BackofficeSlice.reducer,supportchat:SupportChatSlice.reducer,osd:OsdSlice.reducer,osdcontrol:OsdControlSlice.reducer}}),store$1=store;var shim$1={exports:{}},useSyncExternalStoreShim_production_min={};/** + * @license React + * use-sync-external-store-shim.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var e$2=reactExports;function h$3(et,_e){return et===_e&&(et!==0||1/et===1/_e)||et!==et&&_e!==_e}var k$2=typeof Object.is=="function"?Object.is:h$3,l$2=e$2.useState,m$2=e$2.useEffect,n$3=e$2.useLayoutEffect,p$3=e$2.useDebugValue;function q$3(et,_e){var tt=_e(),nt=l$2({inst:{value:tt,getSnapshot:_e}}),rt=nt[0].inst,st=nt[1];return n$3(function(){rt.value=tt,rt.getSnapshot=_e,r$2(rt)&&st({inst:rt})},[et,tt,_e]),m$2(function(){return r$2(rt)&&st({inst:rt}),et(function(){r$2(rt)&&st({inst:rt})})},[et]),p$3(tt),tt}function r$2(et){var _e=et.getSnapshot;et=et.value;try{var tt=_e();return!k$2(et,tt)}catch{return!0}}function t$3(et,_e){return _e()}var u$2=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?t$3:q$3,useSyncExternalStore$1=useSyncExternalStoreShim_production_min.useSyncExternalStore=e$2.useSyncExternalStore!==void 0?e$2.useSyncExternalStore:u$2,shim=shim$1.exports;shim$1.exports=useSyncExternalStoreShim_production_min;var shimExports=shim$1.exports;const index$3=getDefaultExportFromCjs(shimExports);var withSelector$2={exports:{}},withSelector_production_min={};/** + * @license React + * use-sync-external-store-shim/with-selector.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var h$2=reactExports,n$2=shimExports;function p$2(et,_e){return et===_e&&(et!==0||1/et===1/_e)||et!==et&&_e!==_e}var q$2=typeof Object.is=="function"?Object.is:p$2,r$1=n$2.useSyncExternalStore,t$2=h$2.useRef,u$1=h$2.useEffect,v$2=h$2.useMemo,w$1=h$2.useDebugValue,useSyncExternalStoreWithSelector$1=withSelector_production_min.useSyncExternalStoreWithSelector=function(et,_e,tt,nt,rt){var st=t$2(null);if(st.current===null){var it={hasValue:!1,value:null};st.current=it}else it=st.current;st=v$2(function(){function ot(ft){if(!lt){if(lt=!0,ct=ft,ft=nt(ft),rt!==void 0&&it.hasValue){var pt=it.value;if(rt(pt,ft))return ut=pt}return ut=ft}if(pt=ut,q$2(ct,ft))return pt;var ht=nt(ft);return rt!==void 0&&rt(pt,ht)?pt:(ct=ft,ut=ht)}var lt=!1,ct,ut,dt=tt===void 0?null:tt;return[function(){return ot(_e())},dt===null?void 0:function(){return ot(dt())}]},[_e,tt,nt,rt]);var at=r$1(et,st[0],st[1]);return u$1(function(){it.hasValue=!0,it.value=at},[at]),w$1(at),at},withSelector=withSelector$2.exports;withSelector$2.exports=withSelector_production_min;var withSelectorExports=withSelector$2.exports;const withSelector$1=getDefaultExportFromCjs(withSelectorExports);function defaultNoopBatch(et){et()}let batch=defaultNoopBatch;const setBatch=et=>batch=et,getBatch=()=>batch,ContextKey=Symbol.for("react-redux-context"),gT=typeof globalThis<"u"?globalThis:{};function getContext(){var et;if(!reactExports.createContext)return{};const _e=(et=gT[ContextKey])!=null?et:gT[ContextKey]=new Map;let tt=_e.get(reactExports.createContext);return tt||(tt=reactExports.createContext(null),_e.set(reactExports.createContext,tt)),tt}const ReactReduxContext=getContext();function createReduxContextHook(et=ReactReduxContext){return function(){return reactExports.useContext(et)}}const useReduxContext=createReduxContextHook(),notInitialized=()=>{throw new Error("uSES not initialized!")};let useSyncExternalStoreWithSelector=notInitialized;const initializeUseSelector=et=>{useSyncExternalStoreWithSelector=et},refEquality=(et,_e)=>et===_e;function createSelectorHook(et=ReactReduxContext){const _e=et===ReactReduxContext?useReduxContext:createReduxContextHook(et);return function(nt,rt={}){const{equalityFn:st=refEquality,stabilityCheck:it=void 0,noopCheck:at=void 0}=typeof rt=="function"?{equalityFn:rt}:rt,{store:ot,subscription:lt,getServerState:ct,stabilityCheck:ut,noopCheck:dt}=_e(),ft=reactExports.useRef(!0),pt=reactExports.useCallback({[nt.name](vt){const gt=nt(vt);if(!1){if((mt==="always"||mt==="once"&&ft.current)&&!st(gt,xt))try{}catch($t){}if((bt==="always"||bt==="once"&&ft.current)&>===vt)try{}catch(yt){}}return gt}}[nt.name],[nt,ut,it]),ht=useSyncExternalStoreWithSelector(lt.addNestedSub,ot.getState,ct||ot.getState,pt,st);return reactExports.useDebugValue(ht),ht}}const useSelector=createSelectorHook();function _extends(){return _extends=Object.assign?Object.assign.bind():function(et){for(var _e=1;_e=0)&&(tt[rt]=et[rt]);return tt}var reactIs$4={exports:{}},reactIs_production_min$1={};/** @license React v16.13.1 + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var b$1=typeof Symbol=="function"&&Symbol.for,c$1=b$1?Symbol.for("react.element"):60103,d$1=b$1?Symbol.for("react.portal"):60106,e$1=b$1?Symbol.for("react.fragment"):60107,f$1=b$1?Symbol.for("react.strict_mode"):60108,g$1=b$1?Symbol.for("react.profiler"):60114,h$1=b$1?Symbol.for("react.provider"):60109,k$1=b$1?Symbol.for("react.context"):60110,l$1=b$1?Symbol.for("react.async_mode"):60111,m$1=b$1?Symbol.for("react.concurrent_mode"):60111,n$1=b$1?Symbol.for("react.forward_ref"):60112,p$1=b$1?Symbol.for("react.suspense"):60113,q$1=b$1?Symbol.for("react.suspense_list"):60120,r=b$1?Symbol.for("react.memo"):60115,t$1=b$1?Symbol.for("react.lazy"):60116,v$1=b$1?Symbol.for("react.block"):60121,w=b$1?Symbol.for("react.fundamental"):60117,x=b$1?Symbol.for("react.responder"):60118,y=b$1?Symbol.for("react.scope"):60119;function z(et){if(typeof et=="object"&&et!==null){var _e=et.$$typeof;switch(_e){case c$1:switch(et=et.type,et){case l$1:case m$1:case e$1:case g$1:case f$1:case p$1:return et;default:switch(et=et&&et.$$typeof,et){case k$1:case n$1:case t$1:case r:case h$1:return et;default:return _e}}case d$1:return _e}}}function A(et){return z(et)===m$1}var AsyncMode=reactIs_production_min$1.AsyncMode=l$1,ConcurrentMode=reactIs_production_min$1.ConcurrentMode=m$1,ContextConsumer$1=reactIs_production_min$1.ContextConsumer=k$1,ContextProvider$1=reactIs_production_min$1.ContextProvider=h$1,Element$2=reactIs_production_min$1.Element=c$1,ForwardRef$1=reactIs_production_min$1.ForwardRef=n$1,Fragment$1=reactIs_production_min$1.Fragment=e$1,Lazy$1=reactIs_production_min$1.Lazy=t$1,Memo$1=reactIs_production_min$1.Memo=r,Portal$2=reactIs_production_min$1.Portal=d$1,Profiler$1=reactIs_production_min$1.Profiler=g$1,StrictMode$1=reactIs_production_min$1.StrictMode=f$1,Suspense$1=reactIs_production_min$1.Suspense=p$1,isAsyncMode$1=reactIs_production_min$1.isAsyncMode=function(et){return A(et)||z(et)===l$1},isConcurrentMode$1=reactIs_production_min$1.isConcurrentMode=A,isContextConsumer$1=reactIs_production_min$1.isContextConsumer=function(et){return z(et)===k$1},isContextProvider$1=reactIs_production_min$1.isContextProvider=function(et){return z(et)===h$1},isElement$1=reactIs_production_min$1.isElement=function(et){return typeof et=="object"&&et!==null&&et.$$typeof===c$1},isForwardRef$1=reactIs_production_min$1.isForwardRef=function(et){return z(et)===n$1},isFragment$1=reactIs_production_min$1.isFragment=function(et){return z(et)===e$1},isLazy$1=reactIs_production_min$1.isLazy=function(et){return z(et)===t$1},isMemo$1=reactIs_production_min$1.isMemo=function(et){return z(et)===r},isPortal$1=reactIs_production_min$1.isPortal=function(et){return z(et)===d$1},isProfiler$1=reactIs_production_min$1.isProfiler=function(et){return z(et)===g$1},isStrictMode$1=reactIs_production_min$1.isStrictMode=function(et){return z(et)===f$1},isSuspense$1=reactIs_production_min$1.isSuspense=function(et){return z(et)===p$1},isValidElementType$1=reactIs_production_min$1.isValidElementType=function(et){return typeof et=="string"||typeof et=="function"||et===e$1||et===m$1||et===g$1||et===f$1||et===p$1||et===q$1||typeof et=="object"&&et!==null&&(et.$$typeof===t$1||et.$$typeof===r||et.$$typeof===h$1||et.$$typeof===k$1||et.$$typeof===n$1||et.$$typeof===w||et.$$typeof===x||et.$$typeof===y||et.$$typeof===v$1)},typeOf$1=reactIs_production_min$1.typeOf=z,reactIs$3=reactIs$4.exports;reactIs$4.exports=reactIs_production_min$1;var reactIsExports$1=reactIs$4.exports;const index$2=getDefaultExportFromCjs(reactIsExports$1);var reactIs$2=reactIsExports$1,REACT_STATICS={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},KNOWN_STATICS={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},FORWARD_REF_STATICS={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},MEMO_STATICS={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},TYPE_STATICS={};TYPE_STATICS[reactIs$2.ForwardRef]=FORWARD_REF_STATICS;TYPE_STATICS[reactIs$2.Memo]=MEMO_STATICS;function getStatics(et){return reactIs$2.isMemo(et)?MEMO_STATICS:TYPE_STATICS[et.$$typeof]||REACT_STATICS}var defineProperty=Object.defineProperty,getOwnPropertyNames=Object.getOwnPropertyNames,getOwnPropertySymbols=Object.getOwnPropertySymbols,getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor,getPrototypeOf$1=Object.getPrototypeOf,objectPrototype=Object.prototype;function hoistNonReactStatics(et,_e,tt){if(typeof _e!="string"){if(objectPrototype){var nt=getPrototypeOf$1(_e);nt&&nt!==objectPrototype&&hoistNonReactStatics(et,nt,tt)}var rt=getOwnPropertyNames(_e);getOwnPropertySymbols&&(rt=rt.concat(getOwnPropertySymbols(_e)));for(var st=getStatics(et),it=getStatics(_e),at=0;at_e(rt(...st)))}return tt}function isPlainObject(et){if(typeof et!="object"||et===null)return!1;let _e=Object.getPrototypeOf(et);if(_e===null)return!0;let tt=_e;for(;Object.getPrototypeOf(tt)!==null;)tt=Object.getPrototypeOf(tt);return _e===tt}function verifyPlainObject(et,_e,tt){isPlainObject(et)||warning(`${tt}() in ${_e} must return a plain object. Instead received ${et}.`)}function wrapMapToPropsConstant(et){return function(tt){const nt=et(tt);function rt(){return nt}return rt.dependsOnOwnProps=!1,rt}}function getDependsOnOwnProps(et){return et.dependsOnOwnProps?!!et.dependsOnOwnProps:et.length!==1}function wrapMapToPropsFunc(et,_e){return function(nt,{displayName:rt}){const st=function(at,ot){return st.dependsOnOwnProps?st.mapToProps(at,ot):st.mapToProps(at,void 0)};return st.dependsOnOwnProps=!0,st.mapToProps=function(at,ot){st.mapToProps=et,st.dependsOnOwnProps=getDependsOnOwnProps(et);let lt=st(at,ot);return typeof lt=="function"&&(st.mapToProps=lt,st.dependsOnOwnProps=getDependsOnOwnProps(lt),lt=st(at,ot)),lt},st}}function createInvalidArgFactory(et,_e){return(tt,nt)=>{throw new Error(`Invalid value of type ${typeof et} for ${_e} argument when connecting component ${nt.wrappedComponentName}.`)}}function mapDispatchToPropsFactory(et){return et&&typeof et=="object"?wrapMapToPropsConstant(_e=>bindActionCreators(et,_e)):et?typeof et=="function"?wrapMapToPropsFunc(et,"mapDispatchToProps"):createInvalidArgFactory(et,"mapDispatchToProps"):wrapMapToPropsConstant(_e=>({dispatch:_e}))}function mapStateToPropsFactory(et){return et?typeof et=="function"?wrapMapToPropsFunc(et,"mapStateToProps"):createInvalidArgFactory(et,"mapStateToProps"):wrapMapToPropsConstant(()=>({}))}function defaultMergeProps(et,_e,tt){return _extends({},tt,et,_e)}function wrapMergePropsFunc(et){return function(tt,{displayName:nt,areMergedPropsEqual:rt}){let st=!1,it;return function(ot,lt,ct){const ut=et(ot,lt,ct);return st?rt(ut,it)||(it=ut):(st=!0,it=ut),it}}}function mergePropsFactory(et){return et?typeof et=="function"?wrapMergePropsFunc(et):createInvalidArgFactory(et,"mergeProps"):()=>defaultMergeProps}function createListenerCollection(){const et=getBatch();let _e=null,tt=null;return{clear(){_e=null,tt=null},notify(){et(()=>{let nt=_e;for(;nt;)nt.callback(),nt=nt.next})},get(){let nt=[],rt=_e;for(;rt;)nt.push(rt),rt=rt.next;return nt},subscribe(nt){let rt=!0,st=tt={callback:nt,next:null,prev:tt};return st.prev?st.prev.next=st:_e=st,function(){!rt||_e===null||(rt=!1,st.next?st.next.prev=st.prev:tt=st.prev,st.prev?st.prev.next=st.next:_e=st.next)}}}}const nullListeners={notify(){},get:()=>[]};function createSubscription(et,_e){let tt,nt=nullListeners,rt=0,st=!1;function it(ht){ct();const vt=nt.subscribe(ht);let gt=!1;return()=>{gt||(gt=!0,vt(),ut())}}function at(){nt.notify()}function ot(){pt.onStateChange&&pt.onStateChange()}function lt(){return st}function ct(){rt++,tt||(tt=_e?_e.addNestedSub(ot):et.subscribe(ot),nt=createListenerCollection())}function ut(){rt--,tt&&rt===0&&(tt(),tt=void 0,nt.clear(),nt=nullListeners)}function dt(){st||(st=!0,ct())}function ft(){st&&(st=!1,ut())}const pt={addNestedSub:it,notifyNestedSubs:at,handleChangeWrapper:ot,isSubscribed:lt,trySubscribe:dt,tryUnsubscribe:ft,getListeners:()=>nt};return pt}const canUseDOM=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",useIsomorphicLayoutEffect=canUseDOM?reactExports.useLayoutEffect:reactExports.useEffect;function is(et,_e){return et===_e?et!==0||_e!==0||1/et===1/_e:et!==et&&_e!==_e}function shallowEqual(et,_e){if(is(et,_e))return!0;if(typeof et!="object"||et===null||typeof _e!="object"||_e===null)return!1;const tt=Object.keys(et),nt=Object.keys(_e);if(tt.length!==nt.length)return!1;for(let rt=0;rt{useSyncExternalStore=et},EMPTY_ARRAY=[null,0],NO_SUBSCRIPTION_ARRAY=[null,null],stringifyComponent=et=>{try{return JSON.stringify(et)}catch{return String(et)}};function useIsomorphicLayoutEffectWithArgs(et,_e,tt){useIsomorphicLayoutEffect(()=>et(..._e),tt)}function captureWrapperProps(et,_e,tt,nt,rt,st){et.current=nt,tt.current=!1,rt.current&&(rt.current=null,st())}function subscribeUpdates(et,_e,tt,nt,rt,st,it,at,ot,lt,ct){if(!et)return()=>{};let ut=!1,dt=null;const ft=()=>{if(ut||!at.current)return;const ht=_e.getState();let vt,gt;try{vt=nt(ht,rt.current)}catch(mt){gt=mt,dt=mt}gt||(dt=null),vt===st.current?it.current||lt():(st.current=vt,ot.current=vt,it.current=!0,ct())};return tt.onStateChange=ft,tt.trySubscribe(),ft(),()=>{if(ut=!0,tt.tryUnsubscribe(),tt.onStateChange=null,dt)throw dt}}const initStateUpdates=()=>EMPTY_ARRAY;function strictEqual(et,_e){return et===_e}let hasWarnedAboutDeprecatedPureOption=!1;function connect(et,_e,tt,{pure:nt,areStatesEqual:rt=strictEqual,areOwnPropsEqual:st=shallowEqual,areStatePropsEqual:it=shallowEqual,areMergedPropsEqual:at=shallowEqual,forwardRef:ot=!1,context:lt=ReactReduxContext}={}){const ct=lt,ut=mapStateToPropsFactory(et),dt=mapDispatchToPropsFactory(_e),ft=mergePropsFactory(tt),pt=!!et;return vt=>{const gt=vt.displayName||vt.name||"Component",mt=`Connect(${gt})`,bt={shouldHandleStateChanges:pt,displayName:mt,wrappedComponentName:gt,WrappedComponent:vt,initMapStateToProps:ut,initMapDispatchToProps:dt,initMergeProps:ft,areStatesEqual:rt,areStatePropsEqual:it,areOwnPropsEqual:st,areMergedPropsEqual:at};function xt(wt){const[Ct,Et,Mt]=reactExports.useMemo(()=>{const{reactReduxForwardedRef:Qt}=wt,Zt=_objectWithoutPropertiesLoose(wt,_excluded);return[wt.context,Qt,Zt]},[wt]),St=reactExports.useMemo(()=>Ct&&Ct.Consumer&&reactIsExports.isContextConsumer(reactExports.createElement(Ct.Consumer,null))?Ct:ct,[Ct,ct]),Rt=reactExports.useContext(St),Pt=!!wt.store&&!!wt.store.getState&&!!wt.store.dispatch,kt=!!Rt&&!!Rt.store,_t=Pt?wt.store:Rt.store,Bt=kt?Rt.getServerState:_t.getState,It=reactExports.useMemo(()=>finalPropsSelectorFactory(_t.dispatch,bt),[_t]),[At,Tt]=reactExports.useMemo(()=>{if(!pt)return NO_SUBSCRIPTION_ARRAY;const Qt=createSubscription(_t,Pt?void 0:Rt.subscription),Zt=Qt.notifyNestedSubs.bind(Qt);return[Qt,Zt]},[_t,Pt,Rt]),Dt=reactExports.useMemo(()=>Pt?Rt:_extends({},Rt,{subscription:At}),[Pt,Rt,At]),Nt=reactExports.useRef(),Ot=reactExports.useRef(Mt),Lt=reactExports.useRef(),jt=reactExports.useRef(!1),Ht=reactExports.useRef(!1),Ft=reactExports.useRef(!1),Vt=reactExports.useRef();useIsomorphicLayoutEffect(()=>(Ft.current=!0,()=>{Ft.current=!1}),[]);const zt=reactExports.useMemo(()=>()=>Lt.current&&Mt===Ot.current?Lt.current:It(_t.getState(),Mt),[_t,Mt]),Ut=reactExports.useMemo(()=>Zt=>At?subscribeUpdates(pt,_t,At,It,Ot,Nt,jt,Ft,Lt,Tt,Zt):()=>{},[At]);useIsomorphicLayoutEffectWithArgs(captureWrapperProps,[Ot,Nt,jt,Mt,Lt,Tt]);let qt;try{qt=useSyncExternalStore(Ut,zt,Bt?()=>It(Bt(),Mt):zt)}catch(Qt){throw Vt.current&&(Qt.message+=` +The error may be correlated with this previous error: +${Vt.current.stack} + +`),Qt}useIsomorphicLayoutEffect(()=>{Vt.current=void 0,Lt.current=void 0,Nt.current=qt});const Wt=reactExports.useMemo(()=>reactExports.createElement(vt,_extends({},qt,{ref:Et})),[Et,vt,qt]);return reactExports.useMemo(()=>pt?reactExports.createElement(St.Provider,{value:Dt},Wt):Wt,[St,Wt,Dt])}const $t=reactExports.memo(xt);if($t.WrappedComponent=vt,$t.displayName=xt.displayName=mt,ot){const Ct=reactExports.forwardRef(function(Mt,St){return reactExports.createElement($t,_extends({},Mt,{reactReduxForwardedRef:St}))});return Ct.displayName=mt,Ct.WrappedComponent=vt,hoistStatics(Ct,vt)}return hoistStatics($t,vt)}}function Provider({store:et,context:_e,children:tt,serverState:nt,stabilityCheck:rt="once",noopCheck:st="once"}){const it=reactExports.useMemo(()=>{const lt=createSubscription(et);return{store:et,subscription:lt,getServerState:nt?()=>nt:void 0,stabilityCheck:rt,noopCheck:st}},[et,nt,rt,st]),at=reactExports.useMemo(()=>et.getState(),[et]);useIsomorphicLayoutEffect(()=>{const{subscription:lt}=it;return lt.onStateChange=lt.notifyNestedSubs,lt.trySubscribe(),at!==et.getState()&<.notifyNestedSubs(),()=>{lt.tryUnsubscribe(),lt.onStateChange=void 0}},[it,at]);const ot=_e||ReactReduxContext;return reactExports.createElement(ot.Provider,{value:it},tt)}function createStoreHook(et=ReactReduxContext){const _e=et===ReactReduxContext?useReduxContext:createReduxContextHook(et);return function(){const{store:nt}=_e();return nt}}const useStore=createStoreHook();function createDispatchHook(et=ReactReduxContext){const _e=et===ReactReduxContext?useStore:createStoreHook(et);return function(){return _e().dispatch}}const useDispatch=createDispatchHook();initializeUseSelector(withSelectorExports.useSyncExternalStoreWithSelector);initializeConnect(shimExports.useSyncExternalStore);setBatch(reactDomExports.unstable_batchedUpdates);const Footer=()=>{const{loading:et,imprint:_e}=useSelector(nt=>nt.footer),tt=useDispatch();return reactExports.useEffect(()=>{tt(loadImprint())},[]),jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:jsxRuntimeExports.jsxs("p",{children:["Powered by"," ",jsxRuntimeExports.jsx("a",{onClick:()=>{f7.views.main.router.navigate("/about/")},children:"Quizzmaster"})," ","v","3.0.1"," ","|"," ",!et&&jsxRuntimeExports.jsx("a",{className:"external",href:_e,target:"_blank",rel:"noopener noreferrer",children:"Impressum"}),et&&jsxRuntimeExports.jsx(Preloader,{color:"white"})]})})};/*! @license DOMPurify 3.0.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.6/LICENSE */const{entries,setPrototypeOf,isFrozen,getPrototypeOf,getOwnPropertyDescriptor}=Object;let{freeze,seal,create}=Object,{apply,construct}=typeof Reflect<"u"&&Reflect;freeze||(freeze=function(_e){return _e});seal||(seal=function(_e){return _e});apply||(apply=function(_e,tt,nt){return _e.apply(tt,nt)});construct||(construct=function(_e,tt){return new _e(...tt)});const arrayForEach=unapply(Array.prototype.forEach),arrayPop=unapply(Array.prototype.pop),arrayPush=unapply(Array.prototype.push),stringToLowerCase=unapply(String.prototype.toLowerCase),stringToString=unapply(String.prototype.toString),stringMatch=unapply(String.prototype.match),stringReplace=unapply(String.prototype.replace),stringIndexOf=unapply(String.prototype.indexOf),stringTrim=unapply(String.prototype.trim),regExpTest=unapply(RegExp.prototype.test),typeErrorCreate=unconstruct(TypeError);function unapply(et){return function(_e){for(var tt=arguments.length,nt=new Array(tt>1?tt-1:0),rt=1;rt2&&arguments[2]!==void 0?arguments[2]:stringToLowerCase;setPrototypeOf&&setPrototypeOf(et,null);let nt=_e.length;for(;nt--;){let rt=_e[nt];if(typeof rt=="string"){const st=tt(rt);st!==rt&&(isFrozen(_e)||(_e[nt]=st),rt=st)}et[rt]=!0}return et}function clone$2(et){const _e=create(null);for(const[tt,nt]of entries(et))getOwnPropertyDescriptor(et,tt)!==void 0&&(_e[tt]=nt);return _e}function lookupGetter(et,_e){for(;et!==null;){const nt=getOwnPropertyDescriptor(et,_e);if(nt){if(nt.get)return unapply(nt.get);if(typeof nt.value=="function")return unapply(nt.value)}et=getPrototypeOf(et)}function tt(nt){return console.warn("fallback value for",nt),null}return tt}const html$1=freeze(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),svg$1=freeze(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),svgFilters=freeze(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),svgDisallowed=freeze(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),mathMl$1=freeze(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),mathMlDisallowed=freeze(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),text=freeze(["#text"]),html=freeze(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),svg=freeze(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),mathMl=freeze(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),xml=freeze(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),MUSTACHE_EXPR=seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm),ERB_EXPR=seal(/<%[\w\W]*|[\w\W]*%>/gm),TMPLIT_EXPR=seal(/\${[\w\W]*}/gm),DATA_ATTR=seal(/^data-[\-\w.\u00B7-\uFFFF]/),ARIA_ATTR=seal(/^aria-[\-\w]+$/),IS_ALLOWED_URI=seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),IS_SCRIPT_OR_DATA=seal(/^(?:\w+script|data):/i),ATTR_WHITESPACE=seal(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),DOCTYPE_NAME=seal(/^html$/i);var EXPRESSIONS=Object.freeze({__proto__:null,MUSTACHE_EXPR,ERB_EXPR,TMPLIT_EXPR,DATA_ATTR,ARIA_ATTR,IS_ALLOWED_URI,IS_SCRIPT_OR_DATA,ATTR_WHITESPACE,DOCTYPE_NAME});const getGlobal=function et(){return typeof window>"u"?null:window},_createTrustedTypesPolicy=function et(_e,tt){if(typeof _e!="object"||typeof _e.createPolicy!="function")return null;let nt=null;const rt="data-tt-policy-suffix";tt&&tt.hasAttribute(rt)&&(nt=tt.getAttribute(rt));const st="dompurify"+(nt?"#"+nt:"");try{return _e.createPolicy(st,{createHTML(it){return it},createScriptURL(it){return it}})}catch{return console.warn("TrustedTypes policy "+st+" could not be created."),null}};function createDOMPurify(){let et=arguments.length>0&&arguments[0]!==void 0?arguments[0]:getGlobal();const _e=Rn=>createDOMPurify(Rn);if(_e.version="3.0.6",_e.removed=[],!et||!et.document||et.document.nodeType!==9)return _e.isSupported=!1,_e;let{document:tt}=et;const nt=tt,rt=nt.currentScript,{DocumentFragment:st,HTMLTemplateElement:it,Node:at,Element:ot,NodeFilter:lt,NamedNodeMap:ct=et.NamedNodeMap||et.MozNamedAttrMap,HTMLFormElement:ut,DOMParser:dt,trustedTypes:ft}=et,pt=ot.prototype,ht=lookupGetter(pt,"cloneNode"),vt=lookupGetter(pt,"nextSibling"),gt=lookupGetter(pt,"childNodes"),mt=lookupGetter(pt,"parentNode");if(typeof it=="function"){const Rn=tt.createElement("template");Rn.content&&Rn.content.ownerDocument&&(tt=Rn.content.ownerDocument)}let bt,xt="";const{implementation:yt,createNodeIterator:$t,createDocumentFragment:wt,getElementsByTagName:Ct}=tt,{importNode:Et}=nt;let Mt={};_e.isSupported=typeof entries=="function"&&typeof mt=="function"&&yt&&yt.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:St,ERB_EXPR:Rt,TMPLIT_EXPR:Pt,DATA_ATTR:kt,ARIA_ATTR:_t,IS_SCRIPT_OR_DATA:Bt,ATTR_WHITESPACE:It}=EXPRESSIONS;let{IS_ALLOWED_URI:At}=EXPRESSIONS,Tt=null;const Dt=addToSet({},[...html$1,...svg$1,...svgFilters,...mathMl$1,...text]);let Nt=null;const Ot=addToSet({},[...html,...svg,...mathMl,...xml]);let Lt=Object.seal(create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),jt=null,Ht=null,Ft=!0,Vt=!0,zt=!1,Ut=!0,qt=!1,Wt=!1,Jt=!1,Qt=!1,Zt=!1,Gt=!1,Kt=!1,hn=!0,mn=!1;const Yt="user-content-";let xn=!0,$n=!1,gn={},wn=null;const _n=addToSet({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Cn=null;const Sn=addToSet({},["audio","video","img","source","image","track"]);let jn=null;const On=addToSet({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),zn="http://www.w3.org/1998/Math/MathML",Pn="http://www.w3.org/2000/svg",Ln="http://www.w3.org/1999/xhtml";let Vn=Ln,Wn=!1,qn=null;const tr=addToSet({},[zn,Pn,Ln],stringToString);let Yn=null;const sr=["application/xhtml+xml","text/html"],In="text/html";let Tn=null,Dn=null;const nr=tt.createElement("form"),An=function(Xt){return Xt instanceof RegExp||Xt instanceof Function},Nn=function(){let Xt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Dn&&Dn===Xt)){if((!Xt||typeof Xt!="object")&&(Xt={}),Xt=clone$2(Xt),Yn=sr.indexOf(Xt.PARSER_MEDIA_TYPE)===-1?Yn=In:Yn=Xt.PARSER_MEDIA_TYPE,Tn=Yn==="application/xhtml+xml"?stringToString:stringToLowerCase,Tt="ALLOWED_TAGS"in Xt?addToSet({},Xt.ALLOWED_TAGS,Tn):Dt,Nt="ALLOWED_ATTR"in Xt?addToSet({},Xt.ALLOWED_ATTR,Tn):Ot,qn="ALLOWED_NAMESPACES"in Xt?addToSet({},Xt.ALLOWED_NAMESPACES,stringToString):tr,jn="ADD_URI_SAFE_ATTR"in Xt?addToSet(clone$2(On),Xt.ADD_URI_SAFE_ATTR,Tn):On,Cn="ADD_DATA_URI_TAGS"in Xt?addToSet(clone$2(Sn),Xt.ADD_DATA_URI_TAGS,Tn):Sn,wn="FORBID_CONTENTS"in Xt?addToSet({},Xt.FORBID_CONTENTS,Tn):_n,jt="FORBID_TAGS"in Xt?addToSet({},Xt.FORBID_TAGS,Tn):{},Ht="FORBID_ATTR"in Xt?addToSet({},Xt.FORBID_ATTR,Tn):{},gn="USE_PROFILES"in Xt?Xt.USE_PROFILES:!1,Ft=Xt.ALLOW_ARIA_ATTR!==!1,Vt=Xt.ALLOW_DATA_ATTR!==!1,zt=Xt.ALLOW_UNKNOWN_PROTOCOLS||!1,Ut=Xt.ALLOW_SELF_CLOSE_IN_ATTR!==!1,qt=Xt.SAFE_FOR_TEMPLATES||!1,Wt=Xt.WHOLE_DOCUMENT||!1,Zt=Xt.RETURN_DOM||!1,Gt=Xt.RETURN_DOM_FRAGMENT||!1,Kt=Xt.RETURN_TRUSTED_TYPE||!1,Qt=Xt.FORCE_BODY||!1,hn=Xt.SANITIZE_DOM!==!1,mn=Xt.SANITIZE_NAMED_PROPS||!1,xn=Xt.KEEP_CONTENT!==!1,$n=Xt.IN_PLACE||!1,At=Xt.ALLOWED_URI_REGEXP||IS_ALLOWED_URI,Vn=Xt.NAMESPACE||Ln,Lt=Xt.CUSTOM_ELEMENT_HANDLING||{},Xt.CUSTOM_ELEMENT_HANDLING&&An(Xt.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Lt.tagNameCheck=Xt.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Xt.CUSTOM_ELEMENT_HANDLING&&An(Xt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Lt.attributeNameCheck=Xt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Xt.CUSTOM_ELEMENT_HANDLING&&typeof Xt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(Lt.allowCustomizedBuiltInElements=Xt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),qt&&(Vt=!1),Gt&&(Zt=!0),gn&&(Tt=addToSet({},[...text]),Nt=[],gn.html===!0&&(addToSet(Tt,html$1),addToSet(Nt,html)),gn.svg===!0&&(addToSet(Tt,svg$1),addToSet(Nt,svg),addToSet(Nt,xml)),gn.svgFilters===!0&&(addToSet(Tt,svgFilters),addToSet(Nt,svg),addToSet(Nt,xml)),gn.mathMl===!0&&(addToSet(Tt,mathMl$1),addToSet(Nt,mathMl),addToSet(Nt,xml))),Xt.ADD_TAGS&&(Tt===Dt&&(Tt=clone$2(Tt)),addToSet(Tt,Xt.ADD_TAGS,Tn)),Xt.ADD_ATTR&&(Nt===Ot&&(Nt=clone$2(Nt)),addToSet(Nt,Xt.ADD_ATTR,Tn)),Xt.ADD_URI_SAFE_ATTR&&addToSet(jn,Xt.ADD_URI_SAFE_ATTR,Tn),Xt.FORBID_CONTENTS&&(wn===_n&&(wn=clone$2(wn)),addToSet(wn,Xt.FORBID_CONTENTS,Tn)),xn&&(Tt["#text"]=!0),Wt&&addToSet(Tt,["html","head","body"]),Tt.table&&(addToSet(Tt,["tbody"]),delete jt.tbody),Xt.TRUSTED_TYPES_POLICY){if(typeof Xt.TRUSTED_TYPES_POLICY.createHTML!="function")throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof Xt.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');bt=Xt.TRUSTED_TYPES_POLICY,xt=bt.createHTML("")}else bt===void 0&&(bt=_createTrustedTypesPolicy(ft,rt)),bt!==null&&typeof xt=="string"&&(xt=bt.createHTML(""));freeze&&freeze(Xt),Dn=Xt}},bn=addToSet({},["mi","mo","mn","ms","mtext"]),Un=addToSet({},["foreignobject","desc","title","annotation-xml"]),Xn=addToSet({},["title","style","font","a","script"]),lr=addToSet({},svg$1);addToSet(lr,svgFilters),addToSet(lr,svgDisallowed);const Jn=addToSet({},mathMl$1);addToSet(Jn,mathMlDisallowed);const ar=function(Xt){let En=mt(Xt);(!En||!En.tagName)&&(En={namespaceURI:Vn,tagName:"template"});const kn=stringToLowerCase(Xt.tagName),Bn=stringToLowerCase(En.tagName);return qn[Xt.namespaceURI]?Xt.namespaceURI===Pn?En.namespaceURI===Ln?kn==="svg":En.namespaceURI===zn?kn==="svg"&&(Bn==="annotation-xml"||bn[Bn]):!!lr[kn]:Xt.namespaceURI===zn?En.namespaceURI===Ln?kn==="math":En.namespaceURI===Pn?kn==="math"&&Un[Bn]:!!Jn[kn]:Xt.namespaceURI===Ln?En.namespaceURI===Pn&&!Un[Bn]||En.namespaceURI===zn&&!bn[Bn]?!1:!Jn[kn]&&(Xn[kn]||!lr[kn]):!!(Yn==="application/xhtml+xml"&&qn[Xt.namespaceURI]):!1},ir=function(Xt){arrayPush(_e.removed,{element:Xt});try{Xt.parentNode.removeChild(Xt)}catch{Xt.remove()}},ur=function(Xt,En){try{arrayPush(_e.removed,{attribute:En.getAttributeNode(Xt),from:En})}catch{arrayPush(_e.removed,{attribute:null,from:En})}if(En.removeAttribute(Xt),Xt==="is"&&!Nt[Xt])if(Zt||Gt)try{ir(En)}catch{}else try{En.setAttribute(Xt,"")}catch{}},Mn=function(Xt){let En=null,kn=null;if(Qt)Xt=""+Xt;else{const Qn=stringMatch(Xt,/^[\r\n\t ]+/);kn=Qn&&Qn[0]}Yn==="application/xhtml+xml"&&Vn===Ln&&(Xt=''+Xt+"");const Bn=bt?bt.createHTML(Xt):Xt;if(Vn===Ln)try{En=new dt().parseFromString(Bn,Yn)}catch{}if(!En||!En.documentElement){En=yt.createDocument(Vn,"template",null);try{En.documentElement.innerHTML=Wn?xt:Bn}catch{}}const Gn=En.body||En.documentElement;return Xt&&kn&&Gn.insertBefore(tt.createTextNode(kn),Gn.childNodes[0]||null),Vn===Ln?Ct.call(En,Wt?"html":"body")[0]:Wt?En.documentElement:Gn},Hn=function(Xt){return $t.call(Xt.ownerDocument||Xt,Xt,lt.SHOW_ELEMENT|lt.SHOW_COMMENT|lt.SHOW_TEXT,null)},Fn=function(Xt){return Xt instanceof ut&&(typeof Xt.nodeName!="string"||typeof Xt.textContent!="string"||typeof Xt.removeChild!="function"||!(Xt.attributes instanceof ct)||typeof Xt.removeAttribute!="function"||typeof Xt.setAttribute!="function"||typeof Xt.namespaceURI!="string"||typeof Xt.insertBefore!="function"||typeof Xt.hasChildNodes!="function")},mr=function(Xt){return typeof at=="function"&&Xt instanceof at},Kn=function(Xt,En,kn){Mt[Xt]&&arrayForEach(Mt[Xt],Bn=>{Bn.call(_e,En,kn,Dn)})},gr=function(Xt){let En=null;if(Kn("beforeSanitizeElements",Xt,null),Fn(Xt))return ir(Xt),!0;const kn=Tn(Xt.nodeName);if(Kn("uponSanitizeElement",Xt,{tagName:kn,allowedTags:Tt}),Xt.hasChildNodes()&&!mr(Xt.firstElementChild)&®ExpTest(/<[/\w]/g,Xt.innerHTML)&®ExpTest(/<[/\w]/g,Xt.textContent))return ir(Xt),!0;if(!Tt[kn]||jt[kn]){if(!jt[kn]&&fr(kn)&&(Lt.tagNameCheck instanceof RegExp&®ExpTest(Lt.tagNameCheck,kn)||Lt.tagNameCheck instanceof Function&&Lt.tagNameCheck(kn)))return!1;if(xn&&!wn[kn]){const Bn=mt(Xt)||Xt.parentNode,Gn=gt(Xt)||Xt.childNodes;if(Gn&&Bn){const Qn=Gn.length;for(let Zn=Qn-1;Zn>=0;--Zn)Bn.insertBefore(ht(Gn[Zn],!0),vt(Xt))}}return ir(Xt),!0}return Xt instanceof ot&&!ar(Xt)||(kn==="noscript"||kn==="noembed"||kn==="noframes")&®ExpTest(/<\/no(script|embed|frames)/i,Xt.innerHTML)?(ir(Xt),!0):(qt&&Xt.nodeType===3&&(En=Xt.textContent,arrayForEach([St,Rt,Pt],Bn=>{En=stringReplace(En,Bn," ")}),Xt.textContent!==En&&(arrayPush(_e.removed,{element:Xt.cloneNode()}),Xt.textContent=En)),Kn("afterSanitizeElements",Xt,null),!1)},dr=function(Xt,En,kn){if(hn&&(En==="id"||En==="name")&&(kn in tt||kn in nr))return!1;if(!(Vt&&!Ht[En]&®ExpTest(kt,En))){if(!(Ft&®ExpTest(_t,En))){if(!Nt[En]||Ht[En]){if(!(fr(Xt)&&(Lt.tagNameCheck instanceof RegExp&®ExpTest(Lt.tagNameCheck,Xt)||Lt.tagNameCheck instanceof Function&&Lt.tagNameCheck(Xt))&&(Lt.attributeNameCheck instanceof RegExp&®ExpTest(Lt.attributeNameCheck,En)||Lt.attributeNameCheck instanceof Function&&Lt.attributeNameCheck(En))||En==="is"&&Lt.allowCustomizedBuiltInElements&&(Lt.tagNameCheck instanceof RegExp&®ExpTest(Lt.tagNameCheck,kn)||Lt.tagNameCheck instanceof Function&&Lt.tagNameCheck(kn))))return!1}else if(!jn[En]){if(!regExpTest(At,stringReplace(kn,It,""))){if(!((En==="src"||En==="xlink:href"||En==="href")&&Xt!=="script"&&stringIndexOf(kn,"data:")===0&&Cn[Xt])){if(!(zt&&!regExpTest(Bt,stringReplace(kn,It,"")))){if(kn)return!1}}}}}}return!0},fr=function(Xt){return Xt.indexOf("-")>0},br=function(Xt){Kn("beforeSanitizeAttributes",Xt,null);const{attributes:En}=Xt;if(!En)return;const kn={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Nt};let Bn=En.length;for(;Bn--;){const Gn=En[Bn],{name:Qn,namespaceURI:Zn,value:cr}=Gn,hr=Tn(Qn);let er=Qn==="value"?cr:stringTrim(cr);if(kn.attrName=hr,kn.attrValue=er,kn.keepAttr=!0,kn.forceKeepAttr=void 0,Kn("uponSanitizeAttribute",Xt,kn),er=kn.attrValue,kn.forceKeepAttr||(ur(Qn,Xt),!kn.keepAttr))continue;if(!Ut&®ExpTest(/\/>/i,er)){ur(Qn,Xt);continue}qt&&arrayForEach([St,Rt,Pt],yr=>{er=stringReplace(er,yr," ")});const xr=Tn(Xt.nodeName);if(dr(xr,hr,er)){if(mn&&(hr==="id"||hr==="name")&&(ur(Qn,Xt),er=Yt+er),bt&&typeof ft=="object"&&typeof ft.getAttributeType=="function"&&!Zn)switch(ft.getAttributeType(xr,hr)){case"TrustedHTML":{er=bt.createHTML(er);break}case"TrustedScriptURL":{er=bt.createScriptURL(er);break}}try{Zn?Xt.setAttributeNS(Zn,Qn,er):Xt.setAttribute(Qn,er),arrayPop(_e.removed)}catch{}}}Kn("afterSanitizeAttributes",Xt,null)},wr=function Rn(Xt){let En=null;const kn=Hn(Xt);for(Kn("beforeSanitizeShadowDOM",Xt,null);En=kn.nextNode();)Kn("uponSanitizeShadowNode",En,null),!gr(En)&&(En.content instanceof st&&Rn(En.content),br(En));Kn("afterSanitizeShadowDOM",Xt,null)};return _e.sanitize=function(Rn){let Xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},En=null,kn=null,Bn=null,Gn=null;if(Wn=!Rn,Wn&&(Rn=""),typeof Rn!="string"&&!mr(Rn))if(typeof Rn.toString=="function"){if(Rn=Rn.toString(),typeof Rn!="string")throw typeErrorCreate("dirty is not a string, aborting")}else throw typeErrorCreate("toString is not a function");if(!_e.isSupported)return Rn;if(Jt||Nn(Xt),_e.removed=[],typeof Rn=="string"&&($n=!1),$n){if(Rn.nodeName){const cr=Tn(Rn.nodeName);if(!Tt[cr]||jt[cr])throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place")}}else if(Rn instanceof at)En=Mn(""),kn=En.ownerDocument.importNode(Rn,!0),kn.nodeType===1&&kn.nodeName==="BODY"||kn.nodeName==="HTML"?En=kn:En.appendChild(kn);else{if(!Zt&&!qt&&!Wt&&Rn.indexOf("<")===-1)return bt&&Kt?bt.createHTML(Rn):Rn;if(En=Mn(Rn),!En)return Zt?null:Kt?xt:""}En&&Qt&&ir(En.firstChild);const Qn=Hn($n?Rn:En);for(;Bn=Qn.nextNode();)gr(Bn)||(Bn.content instanceof st&&wr(Bn.content),br(Bn));if($n)return Rn;if(Zt){if(Gt)for(Gn=wt.call(En.ownerDocument);En.firstChild;)Gn.appendChild(En.firstChild);else Gn=En;return(Nt.shadowroot||Nt.shadowrootmode)&&(Gn=Et.call(nt,Gn,!0)),Gn}let Zn=Wt?En.outerHTML:En.innerHTML;return Wt&&Tt["!doctype"]&&En.ownerDocument&&En.ownerDocument.doctype&&En.ownerDocument.doctype.name&®ExpTest(DOCTYPE_NAME,En.ownerDocument.doctype.name)&&(Zn=" +`+Zn),qt&&arrayForEach([St,Rt,Pt],cr=>{Zn=stringReplace(Zn,cr," ")}),bt&&Kt?bt.createHTML(Zn):Zn},_e.setConfig=function(){let Rn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Nn(Rn),Jt=!0},_e.clearConfig=function(){Dn=null,Jt=!1},_e.isValidAttribute=function(Rn,Xt,En){Dn||Nn({});const kn=Tn(Rn),Bn=Tn(Xt);return dr(kn,Bn,En)},_e.addHook=function(Rn,Xt){typeof Xt=="function"&&(Mt[Rn]=Mt[Rn]||[],arrayPush(Mt[Rn],Xt))},_e.removeHook=function(Rn){if(Mt[Rn])return arrayPop(Mt[Rn])},_e.removeHooks=function(Rn){Mt[Rn]&&(Mt[Rn]=[])},_e.removeAllHooks=function(){Mt={}},_e}var purify=createDOMPurify();const VideoBackground=()=>jsxRuntimeExports.jsx("video",{className:"background-video",autoPlay:!0,loop:!0,muted:!0,poster:"/snowposter.png",children:jsxRuntimeExports.jsx("source",{src:"/snow.mp4",type:"video/mp4"})}),HomePage=et=>{const{f7route:_e}=et,{lobbyLoading:tt,lobbySelection:nt,consentText:rt,welcomeText:st,welcomeTitle:it,logoUrl:at,questions:ot,showKeepEmail:lt,keepEmail:ct,keepEmailCheckbox:ut,teamIdValidation:dt,open:ft,full:pt}=useSelector(Tt=>Tt.lobby),[ht,vt]=reactExports.useState(""),[gt,mt]=reactExports.useState(""),[bt,xt]=reactExports.useState(""),[yt,$t]=reactExports.useState(""),[wt,Ct]=reactExports.useState(!1),[Et,Mt]=reactExports.useState(!1),St=reactExports.useRef(null),Rt=useDispatch();reactExports.useEffect(()=>{_e.params.teamid!==void 0&&/^[0-9]*$/.test(_e.params.teamid)&&(vt(_e.params.teamid),Rt(LobbySlice.actions.setLobbySelection(2))),Rt(loadQuestions$3())},[]),reactExports.useEffect(()=>{Bt()===0?(St.current!==null&&clearTimeout(St.current),St.current=setTimeout(()=>{Rt(checkTeamId(ht))},500)):Rt(LobbySlice.actions.setTeamIdValidation(0))},[ht]);const Pt=()=>/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(gt),kt=()=>bt.length<=0?-1:bt.length>30?-2:0,_t=()=>yt.length<=0?-1:yt.length>30?-2:0,Bt=()=>ht.length===0?-1:ht.length!==6||!/^[0-9]*$/.test(ht)?-2:0,It=()=>{for(const Tt of ot)if(Tt.mandatory&&(Tt.answer===void 0||Tt.answer===""))return!1;return!0},At=()=>{const Tt=[];for(const Dt of ot)Dt.answer!==void 0?Tt.push(Dt.answer):Tt.push("");return Tt};return jsxRuntimeExports.jsxs(Page,{name:"home",className:"dark-background-page page-registration",children:[jsxRuntimeExports.jsx(Toolbar,{bottom:!0,outline:!1,className:"dark",children:jsxRuntimeExports.jsx(Footer,{})}),jsxRuntimeExports.jsx(VideoBackground,{}),jsxRuntimeExports.jsx("div",{style:{display:"flex",justifyContent:"center"},children:jsxRuntimeExports.jsxs("div",{style:{maxWidth:"1150px"},children:[jsxRuntimeExports.jsx("div",{style:{display:"flex",justifyContent:"center"},children:jsxRuntimeExports.jsx("img",{src:at,alt:"Logo of the event",style:{maxWidth:"100%",maxHeight:"200px"}})}),jsxRuntimeExports.jsxs("div",{className:"lobby-main-box",children:[tt&&jsxRuntimeExports.jsxs("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",height:"100%",minHeight:"300px"},children:[jsxRuntimeExports.jsx(Preloader,{size:42}),jsxRuntimeExports.jsx("p",{children:"LADEN..."})]}),!tt&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[nt===0&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx("h2",{children:it}),jsxRuntimeExports.jsx("p",{dangerouslySetInnerHTML:{__html:purify.sanitize(st.replace(` +`,"
        "))}}),!ft&&jsxRuntimeExports.jsx("h3",{children:"Die Anmeldung ist derzeit leider geschlossen. Schau doch in Kürze wieder vorbei."}),ft&&pt&&jsxRuntimeExports.jsx("h3",{children:"Die eingestellte maximale Anzahl Teams wurde erreicht. Die Anmeldung neuer Teams wurde daher geschlossen."}),jsxRuntimeExports.jsxs("div",{className:"grid grid-cols-1 medium-grid-cols-2 grid-gap",children:[jsxRuntimeExports.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[jsxRuntimeExports.jsx("h4",{children:"Du möchtest ein neues Team anmelden?"}),jsxRuntimeExports.jsx("p",{children:"Super! Nur ein paar kurze Fragen, und schon seid ihr dabei!"}),jsxRuntimeExports.jsx("span",{style:{flexGrow:1}}),jsxRuntimeExports.jsx(Button,{large:!0,raised:!0,fill:!0,disabled:!ft||ft&&pt,onClick:()=>{Rt(LobbySlice.actions.setLobbySelection(1))},children:"Ein neues Team erstellen"})]}),jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("h4",{children:"Dein Team ist bereits angemeldet?"}),jsxRuntimeExports.jsx("p",{children:"Trete hier deinem Team bei, um Zugriff auf die Fragen und den Chat zu erhalten, und selbst Antorten abzugeben. Frage deinen Team-Captain nach eurer Team-ID."}),jsxRuntimeExports.jsx("span",{style:{flexGrow:1}}),jsxRuntimeExports.jsx(Button,{large:!0,raised:!0,fill:!0,onClick:()=>{Rt(LobbySlice.actions.setLobbySelection(2))},children:"Einem Team beitreten"})]}),jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("h5",{children:"Noch Fragen?"}),jsxRuntimeExports.jsxs("p",{children:["Die Antworten darauf findest du in den"," ",jsxRuntimeExports.jsx(Link,{href:"/faq/",children:"FAQ"})]})]})]})]}),nt>0&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx("h2",{children:nt===1?"Ein neues Team erstellen":"Einem bestehenden Team beitreten"}),jsxRuntimeExports.jsx("p",{children:"Bitte beantworte die folgenden Fragen"}),jsxRuntimeExports.jsxs("div",{className:"grid grid-cols-1 medium-grid-cols-2 grid-gap",children:[jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsxs(List,{strongIos:!0,dividersIos:!0,insetIos:!0,className:"light",children:[jsxRuntimeExports.jsx(ListInput,{label:"E-Mail Adresse",type:"email",placeholder:"max.mustermann@example.com",info:"Gib eine E-Mail Adresse an, an die wir dir deinen persönlichen Zugangslink zusenden werden. Du erlaubst uns damit, dir im Rahmen der Veranstaltung E-Mails zu schicken.",errorMessage:Pt()?"":"Bitte gib eine gültige E-Mail Adresse ein",required:!0,clearButton:!0,value:gt,errorMessageForce:!0,onInput:Tt=>{mt(Tt.target.value)}}),nt===1&&jsxRuntimeExports.jsx(ListInput,{label:"Teamname",type:"text",placeholder:"Musterteam",info:"Wähle einen Namen für dein Team aus! Deiner Kreativität sind keine Grenzen gesetzt.",errorMessage:kt()===-1?"Bitte ausfüllen":kt()===-2?"Maximal 30 Zeichen":"",required:!0,clearButton:!0,value:bt,errorMessageForce:!0,onInput:Tt=>{xt(Tt.target.value)}}),jsxRuntimeExports.jsx(ListInput,{label:"Dein Nickname",type:"text",placeholder:"Musterquizzer",info:"So wirst du anderen Chatteilnehmern angezeigt.",errorMessage:_t()===-1?"Bitte ausfüllen":_t()===-2?"Maximal 30 Zeichen":"",required:!0,clearButton:!0,value:yt,errorMessageForce:!0,onInput:Tt=>{$t(Tt.target.value)}})]}),lt&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx("p",{children:ct}),jsxRuntimeExports.jsx(List,{strongIos:!0,dividersIos:!0,insetIos:!0,className:"light",children:jsxRuntimeExports.jsx(ListItem,{checkbox:!0,checked:wt,onClick:()=>{Ct(!wt)},checkboxIcon:!0,title:ut,name:"keep-email-checkbox",className:"multiline-list"})})]}),jsxRuntimeExports.jsx("h5",{className:"headline-no-margin",children:"Datenschutz"}),jsxRuntimeExports.jsx("p",{children:rt}),jsxRuntimeExports.jsx(List,{strongIos:!0,dividersIos:!0,insetIos:!0,className:"light",children:jsxRuntimeExports.jsx(ListItem,{checkbox:!0,checked:Et,onClick:()=>{Mt(!Et)},checkboxIcon:!0,title:"Ich stimme der Datenschutzerklärung zu",name:"privacy-checkbox"})})]}),nt===1&&jsxRuntimeExports.jsxs("div",{children:[ot.length===0&&jsxRuntimeExports.jsx("p",{children:"Es wurden keine eigenen Fragen festgelegt."}),ot.length>0&&jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:ot.map((Tt,Dt)=>{const Nt=Tt.mandatory?"(Pflichtfeld)":"";return Tt.options===void 0?jsxRuntimeExports.jsxs(React.Fragment,{children:[jsxRuntimeExports.jsx("h5",{className:"headline-no-margin",children:Tt.question.concat(" ",Nt)}),jsxRuntimeExports.jsx("p",{children:Tt.text}),jsxRuntimeExports.jsx(List,{strongIos:!0,dividersIos:!0,insetIos:!0,children:jsxRuntimeExports.jsx(ListInput,{type:"text",placeholder:"...",required:Tt.mandatory,onChange:Ot=>{Rt(LobbySlice.actions.setCustomQuestionAnswer({key:Dt,value:Ot.target.value}))}})})]},Dt):jsxRuntimeExports.jsxs(React.Fragment,{children:[jsxRuntimeExports.jsx("h5",{className:"headline-no-margin",children:Tt.question.concat(" ",Nt)}),jsxRuntimeExports.jsx("p",{children:Tt.text}),jsxRuntimeExports.jsx(List,{strongIos:!0,dividersIos:!0,insetIos:!0,children:Tt.options.map((Ot,Lt)=>jsxRuntimeExports.jsx(ListItem,{checkbox:!0,radio:Tt.isRadio,title:Ot,name:"question-"+Dt,onClick:()=>{let jt="";if(Tt.isRadio)jt=Ot;else{let Ht=null;if(Tt.answer===void 0)Ht=[];else try{Ht=JSON.parse(Tt.answer)}catch{Ht=[]}Ht.includes(Ot)?Ht=Ht.filter(Ft=>Ft!==Ot):Ht.push(Ot),jt=JSON.stringify(Ht)}Rt(LobbySlice.actions.setCustomQuestionAnswer({key:Dt,value:jt}))}},"question-"+Dt+"-option-"+Lt))})]},Dt)})})]}),nt===2&&jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("h5",{children:"Team-ID eingeben"}),jsxRuntimeExports.jsx("p",{children:"Dein Team-Captain hat nach der Teamanmeldung eine E-Mail mit der zugeteilten sechsstelligen Team-ID erhalten. Falls du eure Team-ID noch nicht kennst, frage deinen Team-Captain."}),jsxRuntimeExports.jsx(List,{strongIos:!0,dividersIos:!0,insetIos:!0,className:"light",children:jsxRuntimeExports.jsx(ListInput,{label:"Team-ID",type:"number",placeholder:"123456",errorMessage:Bt()===-1?"Bitte ausfüllen":Bt()===-2?"Bitte gib eine sechsstellige Zahl ein":"",errorMessageForce:!0,required:!0,clearButton:!0,value:ht,onInput:Tt=>{vt(Tt.target.value)}})}),dt===1&&jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx(Preloader,{}),jsxRuntimeExports.jsx("span",{style:{marginLeft:"5px"},children:"Die Team-ID wird überprüft..."})]}),dt===2&&jsxRuntimeExports.jsxs("div",{style:{color:"darkgreen"},children:[jsxRuntimeExports.jsx(Icon,{f7:"checkmark_alt_circle_fill"}),jsxRuntimeExports.jsx("span",{style:{marginLeft:"5px"},children:"Die Team-ID ist gültig."})]}),dt===3&&jsxRuntimeExports.jsxs("div",{style:{color:"red"},children:[jsxRuntimeExports.jsx(Icon,{f7:"exclamationmark_triangle_fill"}),jsxRuntimeExports.jsx("span",{style:{marginLeft:"5px"},children:"Die Team-ID konnte nicht gefunden werden."})]})]}),jsxRuntimeExports.jsxs("p",{className:"grid grid-cols-2 grid-gap",children:[jsxRuntimeExports.jsx(Button,{large:!0,raised:!0,onClick:()=>{Rt(LobbySlice.actions.setLobbySelection(0))},children:"Zurück"}),jsxRuntimeExports.jsx(Button,{large:!0,raised:!0,fill:!0,disabled:!Et||!Pt()||_t()<0||nt===1&&kt()<0||nt===1&&!It()||nt===2&&dt!==2,onClick:()=>{Rt(register({way:nt===1?"new":"join",data:{teamname:bt,teamid:ht,email:gt,nickname:yt,consent:Et,keepEmail:wt,customAnswers:At()}}))},children:nt===1?"Team anmelden":"Team beitreten"})]})]})]})]})]})]})})]})},addLeadingZeros=et=>`0${et}`.slice(-2),parseTimestamp=et=>{const _e=new Date(et*1e3);return`${addLeadingZeros(_e.getDate())}.${addLeadingZeros(_e.getMonth()+1)}.${_e.getFullYear()} ${addLeadingZeros(_e.getHours())}:${addLeadingZeros(_e.getMinutes())}`},parseClocktime=et=>`${addLeadingZeros(et.getHours())}:${addLeadingZeros(et.getMinutes())}:${addLeadingZeros(et.getSeconds())}`,AboutPage=()=>{let et=[];try{et=JSON.parse("")}catch(tt){console.log(tt)}const _e=new Date(1701111403216);return jsxRuntimeExports.jsxs(Page,{name:"about",className:"dark",children:[jsxRuntimeExports.jsx(Navbar,{title:"Über Quizzmaster",backLink:"Zurück",className:"dark",large:!0}),jsxRuntimeExports.jsx(Toolbar,{bottom:!0,outline:!1,className:"dark",children:jsxRuntimeExports.jsx(Footer,{})}),jsxRuntimeExports.jsx(BlockTitle,{children:"Version"}),jsxRuntimeExports.jsxs(Block,{inset:!0,strong:!0,children:["Quizzmaster Version ","3.0.1"," compiled"," ",_e.toLocaleDateString("de-DE")," ",addLeadingZeros(_e.getHours()),":",addLeadingZeros(_e.getMinutes()),":",addLeadingZeros(_e.getSeconds())]}),jsxRuntimeExports.jsx(BlockTitle,{children:"Copyright"}),jsxRuntimeExports.jsx(Block,{inset:!0,strong:!0,children:"© 2021-2023 Johannes Kreutz and contributors."}),jsxRuntimeExports.jsx(BlockTitle,{children:"Lizenz"}),jsxRuntimeExports.jsxs(Block,{inset:!0,strong:!0,children:["Quizzmaster online pub quiz management software.",jsxRuntimeExports.jsx("br",{}),"Copyright (C) 2021-2023 The Quizzmaster authors.",jsxRuntimeExports.jsx("br",{}),jsxRuntimeExports.jsx("br",{}),"This program is free software: you can redistribute it and/or modify",jsxRuntimeExports.jsx("br",{}),"it under the terms of the GNU Affero General Public License as",jsxRuntimeExports.jsx("br",{}),"published by the Free Software Foundation, either version 3 of the",jsxRuntimeExports.jsx("br",{}),"License, or (at your option) any later version.",jsxRuntimeExports.jsx("br",{}),jsxRuntimeExports.jsx("br",{}),"This program is distributed in the hope that it will be useful,",jsxRuntimeExports.jsx("br",{}),"but WITHOUT ANY WARRANTY; without even the implied warranty of",jsxRuntimeExports.jsx("br",{}),"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the",jsxRuntimeExports.jsx("br",{}),"GNU Affero General Public License for more details.",jsxRuntimeExports.jsx("br",{}),jsxRuntimeExports.jsx("br",{}),"You should have received a copy of the GNU Affero General Public License",jsxRuntimeExports.jsx("br",{}),"along with this program. If not, see"," ",jsxRuntimeExports.jsx("a",{href:"https://www.gnu.org/licenses/",target:"_blank",rel:"noopener noreferrer",className:"external",children:"https://www.gnu.org/licenses/"}),"."]}),jsxRuntimeExports.jsx(BlockTitle,{children:"Drittanbieterlizenzen"}),jsxRuntimeExports.jsx(Block,{inset:!0,strong:!0,children:jsxRuntimeExports.jsx("ul",{children:et.map((tt,nt)=>jsxRuntimeExports.jsxs("li",{children:[tt.name," version ",tt.installedVersion," by ",tt.author,", licensed under ",tt.licenseType]},nt))})})]})},NotFoundPage=()=>jsxRuntimeExports.jsxs(Page,{children:[jsxRuntimeExports.jsx(Navbar,{title:"Not found",backLink:"Back"}),jsxRuntimeExports.jsxs(Block,{strong:!0,inset:!0,children:[jsxRuntimeExports.jsx("p",{children:"Sorry"}),jsxRuntimeExports.jsx("p",{children:"Requested content not found."})]})]}),BackofficeMenuPage=()=>{const{loading:et}=useSelector(tt=>tt.backoffice),_e=useDispatch();return reactExports.useEffect(()=>{_e(loadBackoffice())},[]),jsxRuntimeExports.jsxs(Page,{name:"backoffice",className:"dark",children:[jsxRuntimeExports.jsx(Navbar,{title:"Backoffice",className:"dark",large:!0}),jsxRuntimeExports.jsx(Toolbar,{bottom:!0,outline:!1,className:"dark",children:jsxRuntimeExports.jsx(Footer,{})}),jsxRuntimeExports.jsxs(Block,{strong:!0,inset:!0,children:[et&&jsxRuntimeExports.jsxs("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",height:"100%",minHeight:"300px"},children:[jsxRuntimeExports.jsx(Preloader,{size:42}),jsxRuntimeExports.jsx("p",{children:"LADEN..."})]}),!et&&jsxRuntimeExports.jsxs("p",{className:"grid grid-cols-1 grid-gap",children:[jsxRuntimeExports.jsx(Button,{large:!0,raised:!0,fill:!0,href:"/backoffice/questions/",children:"Fragen"}),jsxRuntimeExports.jsx(Button,{large:!0,raised:!0,fill:!0,href:"/backoffice/grade/",children:"Antworten auswerten"}),jsxRuntimeExports.jsx(Button,{large:!0,raised:!0,fill:!0,href:"/backoffice/internalscoreboard/",children:"Scoreboard (interne Ansicht)"}),jsxRuntimeExports.jsx(Button,{large:!0,raised:!0,fill:!0,href:"/backoffice/teams/",children:"Teams"}),jsxRuntimeExports.jsx(Button,{large:!0,raised:!0,fill:!0,href:"/backoffice/supportchat/",children:"Supportchat"}),jsxRuntimeExports.jsx(Button,{large:!0,raised:!0,fill:!0,href:"/backoffice/settings/",children:"Einstellungen"}),jsxRuntimeExports.jsx(Button,{large:!0,raised:!0,fill:!0,href:"/backoffice/osd/",children:"OSD Control Panel"}),jsxRuntimeExports.jsx(Button,{large:!0,raised:!0,fill:!0,color:"red",onClick:()=>{UserService.doLogout()},children:"Logout"})]})]})]})},FaqPage=()=>{const{loading:et,data:_e}=useSelector(nt=>nt.faq),tt=useDispatch();return reactExports.useEffect(()=>{tt(loadFaq())},[]),jsxRuntimeExports.jsxs(Page,{name:"faq",className:"dark",children:[jsxRuntimeExports.jsx(Navbar,{title:"FAQ",backLink:"Zurück",className:"dark",large:!0}),jsxRuntimeExports.jsx(Toolbar,{bottom:!0,outline:!1,className:"dark",children:jsxRuntimeExports.jsx(Footer,{})}),et&&jsxRuntimeExports.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",marginTop:"20px"},children:[jsxRuntimeExports.jsx(Preloader,{size:42}),jsxRuntimeExports.jsx("p",{children:"LADEN..."})]}),!et&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(BlockTitle,{children:"Hier findest du Antworten auf die am häufigsten gestellten Fragen"}),jsxRuntimeExports.jsx(List,{strong:!0,outlineIos:!0,dividersIos:!0,insetMd:!0,accordionList:!0,children:_e.map((nt,rt)=>jsxRuntimeExports.jsx(ListItem,{accordionItem:!0,title:nt.question,children:jsxRuntimeExports.jsx(AccordionContent,{children:jsxRuntimeExports.jsx(Block,{children:jsxRuntimeExports.jsx("p",{children:nt.answer})})})},rt))})]})]})},ScoreboardTable=et=>{const _e=()=>{let nt="",rt=0,st=!1;for(const it of et.questions)rt==0?(nt="Freigegebene Fragen: "+it,rt=it):rt==it-1?(st=!0,rt=it):(st?(st=!1,nt+=" - "+rt+", "+it):nt+=", "+it,rt=it);return st&&(nt+=" - "+rt),nt==""&&(nt="Noch keine Fragen freigegeben."),nt},tt=nt=>{let rt=1,st=0,it=1;for(const at of nt)at.points!=st&&st!=0&&(rt=it),at.place=at.points==0?"-":rt,st=at.points,it++;return nt};return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(BlockTitle,{className:"portal-no-margin portal-no-margin-top portal-no-margin-bottom",children:_e()}),jsxRuntimeExports.jsx(Card,{className:"data-table portal-no-margin "+(et.isSmall?"scoreboard-small":""),children:jsxRuntimeExports.jsxs("table",{children:[jsxRuntimeExports.jsx("thead",{children:jsxRuntimeExports.jsxs("tr",{children:[jsxRuntimeExports.jsx("th",{className:"numeric-cell",children:"Platzierung"}),jsxRuntimeExports.jsx("th",{className:"numeric-cell",children:"Punkte"}),jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Team"})]})}),jsxRuntimeExports.jsx("tbody",{children:tt(structuredClone(et.teams)).map((nt,rt)=>jsxRuntimeExports.jsxs("tr",{children:[jsxRuntimeExports.jsx("td",{children:nt.place}),jsxRuntimeExports.jsx("td",{children:nt.points}),jsxRuntimeExports.jsx("td",{children:nt.name})]},"scoreboard-row-"+rt))})]})})]})},ScoreboardPage=()=>{const{loading:et,questions:_e,teams:tt}=useSelector(rt=>rt.scoreboard),nt=useDispatch();return reactExports.useEffect(()=>{setInterval(()=>{nt(loadScoreboard$1())},6e4),nt(loadScoreboard$1())},[]),jsxRuntimeExports.jsxs(Page,{name:"scoreboard",className:"dark",children:[jsxRuntimeExports.jsx(Navbar,{title:"Scoreboard",className:"dark"}),jsxRuntimeExports.jsx(Toolbar,{bottom:!0,outline:!1,className:"dark",children:jsxRuntimeExports.jsx(Footer,{})}),et&&jsxRuntimeExports.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",marginTop:"20px"},children:[jsxRuntimeExports.jsx(Preloader,{size:42}),jsxRuntimeExports.jsx("p",{children:"LADEN..."})]}),!et&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(BlockTitle,{children:"Scoreboard"}),jsxRuntimeExports.jsx(Block,{children:jsxRuntimeExports.jsx(ScoreboardTable,{questions:_e,teams:tt})})]})]})},QuestionEditPage=()=>{const{loading:et,questions:_e}=useSelector(ht=>ht.questions),tt=reactExports.useRef(null),[nt,rt]=reactExports.useState([]),[st,it]=reactExports.useState([]),[at,ot]=reactExports.useState([]),[lt,ct]=reactExports.useState("0"),[ut,dt]=reactExports.useState("0"),ft=useDispatch();reactExports.useEffect(()=>(ft(loadQuestions$2()),pt(),tt.current=setInterval(()=>{ft(loadQuestions$2())},3e4),()=>{tt.current!==null&&clearInterval(tt.current)}),[]);const pt=()=>{rt([]),it([]),ot([])};return jsxRuntimeExports.jsxs(Page,{name:"backoffice-questionedit",className:"dark",children:[jsxRuntimeExports.jsx(Navbar,{title:"Fragen",className:"dark",backLink:"Backoffice",backLinkUrl:"/backoffice/",backLinkForce:!0,large:!0}),jsxRuntimeExports.jsx(Toolbar,{bottom:!0,outline:!1,className:"dark",children:jsxRuntimeExports.jsx(Footer,{})}),et&&jsxRuntimeExports.jsxs("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",height:"100%",minHeight:"300px"},children:[jsxRuntimeExports.jsx(Preloader,{size:42}),jsxRuntimeExports.jsx("p",{children:"LADEN..."})]}),!et&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(BlockTitle,{children:"Fragen im Entwurf"}),jsxRuntimeExports.jsxs(Card,{className:"data-table",children:[jsxRuntimeExports.jsx(CardHeader,{children:jsxRuntimeExports.jsxs("div",{className:"data-table-links",children:[jsxRuntimeExports.jsx(Button,{href:"/backoffice/questions/new/",children:"Neue Frage anlegen"}),jsxRuntimeExports.jsx(List,{children:jsxRuntimeExports.jsx(ListInput,{type:"number",placeholder:"0",info:"Minuten",clearButton:!0,value:lt,onChange:ht=>{ct(ht.target.value)}})}),jsxRuntimeExports.jsx(List,{children:jsxRuntimeExports.jsx(ListInput,{type:"number",placeholder:"0",info:"Sekunden",clearButton:!0,value:ut,onChange:ht=>{dt(ht.target.value)}})}),jsxRuntimeExports.jsx(Button,{disabled:_e.filter(ht=>ht.state===QuestionState.asked).length!==0,onClick:()=>{const ht=parseInt(lt),vt=parseInt(ut);isNaN(ht)||isNaN(vt)?f7.dialog.create({title:"Bitte nur Zahlen eingeben!",buttons:[{text:"OK"}]}).open():(ft(dispatchQuestions({ids:nt,time:ht*60+vt})),rt([]))},children:"Ausgewählte Fragen stellen"}),jsxRuntimeExports.jsx(Button,{onClick:()=>{ft(recheckExpired())},children:"Abgelaufene prüfen"})]})}),jsxRuntimeExports.jsx(CardContent,{padding:!1,children:jsxRuntimeExports.jsxs("table",{children:[jsxRuntimeExports.jsx("thead",{children:jsxRuntimeExports.jsxs("tr",{children:[jsxRuntimeExports.jsx("th",{}),jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Nr."}),jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Frage"}),jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Kategorie"}),jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Typ"}),jsxRuntimeExports.jsx("th",{className:"label-cell"})]})}),jsxRuntimeExports.jsx("tbody",{children:_e.filter(ht=>ht.state===QuestionState.prePreparation).map((ht,vt)=>jsxRuntimeExports.jsxs("tr",{children:[jsxRuntimeExports.jsx("td",{className:"checkbox-cell",children:jsxRuntimeExports.jsx(Checkbox,{checked:nt.includes(ht.id),onChange:()=>{let gt=structuredClone(nt);nt.includes(ht.id)?gt=gt.filter(mt=>mt!==ht.id):gt.push(ht.id),rt(gt)}})}),jsxRuntimeExports.jsx("td",{className:"label-cell",children:ht.displayId}),jsxRuntimeExports.jsx("td",{className:"label-cell",children:ht.question}),jsxRuntimeExports.jsx("td",{className:"label-cell",children:ht.category}),jsxRuntimeExports.jsx("td",{className:"label-cell",children:ht.type}),jsxRuntimeExports.jsxs("td",{className:"numeric-cell",style:{display:"flex",alignItems:"center",justifyContent:"right"},children:[jsxRuntimeExports.jsx(Button,{href:"/backoffice/questions/"+ht.id+"/",children:jsxRuntimeExports.jsx(Icon,{f7:"pencil_circle_fill"})}),jsxRuntimeExports.jsx(Button,{onClick:()=>{f7.dialog.create({title:"Möchtest du diese Frage wirklich löschen?",verticalButtons:!0,buttons:[{text:"Löschen",color:"red",onClick:()=>{ft(deleteQuestion(ht.id.toString()))}},{text:"Abbrechen"}]}).open()},children:jsxRuntimeExports.jsx(Icon,{f7:"trash_fill"})})]})]},"draft-question-"+vt))})]})})]}),jsxRuntimeExports.jsx(BlockTitle,{children:"Fragen in Beantwortung"}),jsxRuntimeExports.jsx(Card,{className:"data-table",children:jsxRuntimeExports.jsxs("table",{children:[jsxRuntimeExports.jsx("thead",{children:jsxRuntimeExports.jsxs("tr",{children:[jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Nr."}),jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Frage"}),jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Kategorie"}),jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Typ"}),jsxRuntimeExports.jsx("th",{className:"label-cell"})]})}),jsxRuntimeExports.jsx("tbody",{children:_e.filter(ht=>ht.state===QuestionState.asked).map((ht,vt)=>jsxRuntimeExports.jsxs("tr",{children:[jsxRuntimeExports.jsx("td",{className:"label-cell",children:ht.displayId}),jsxRuntimeExports.jsx("td",{className:"label-cell",children:ht.question}),jsxRuntimeExports.jsx("td",{className:"label-cell",children:ht.category}),jsxRuntimeExports.jsx("td",{className:"label-cell",children:ht.type}),jsxRuntimeExports.jsx("td",{className:"label-cell",children:jsxRuntimeExports.jsx(Icon,{f7:"eye_fill"})})]},"draft-question-"+vt))})]})}),jsxRuntimeExports.jsx(BlockTitle,{children:"Warten auf Auswertung"}),jsxRuntimeExports.jsxs(Card,{className:"data-table",children:[jsxRuntimeExports.jsx(CardHeader,{children:jsxRuntimeExports.jsx("div",{className:"data-table-links",children:jsxRuntimeExports.jsx(Button,{onClick:()=>{ft(gradeQuestions({ids:st})),it([])},children:"Ausgewählte Fragen auswerten"})})}),jsxRuntimeExports.jsx(CardContent,{padding:!1,children:jsxRuntimeExports.jsxs("table",{children:[jsxRuntimeExports.jsx("thead",{children:jsxRuntimeExports.jsxs("tr",{children:[jsxRuntimeExports.jsx("th",{}),jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Nr."}),jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Frage"}),jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Kategorie"}),jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Typ"}),jsxRuntimeExports.jsx("th",{className:"label-cell"})]})}),jsxRuntimeExports.jsx("tbody",{children:_e.filter(ht=>ht.state===QuestionState.waitForGrading).map((ht,vt)=>jsxRuntimeExports.jsxs("tr",{children:[jsxRuntimeExports.jsx("td",{className:"checkbox-cell",children:jsxRuntimeExports.jsx(Checkbox,{checked:st.includes(ht.id),onChange:()=>{let gt=structuredClone(st);st.includes(ht.id)?gt=gt.filter(mt=>mt!==ht.id):gt.push(ht.id),it(gt)}})}),jsxRuntimeExports.jsx("td",{className:"label-cell",children:ht.displayId}),jsxRuntimeExports.jsx("td",{className:"label-cell",children:ht.question}),jsxRuntimeExports.jsx("td",{className:"label-cell",children:ht.category}),jsxRuntimeExports.jsx("td",{className:"label-cell",children:ht.type}),jsxRuntimeExports.jsx("td",{className:"label-cell",children:jsxRuntimeExports.jsx(Icon,{f7:"eye_fill"})})]},"draft-question-"+vt))})]})})]}),jsxRuntimeExports.jsx(BlockTitle,{children:"In Auswertung"}),jsxRuntimeExports.jsx(Card,{className:"data-table",children:jsxRuntimeExports.jsxs("table",{children:[jsxRuntimeExports.jsx("thead",{children:jsxRuntimeExports.jsxs("tr",{children:[jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Nr."}),jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Frage"}),jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Kategorie"}),jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Typ"}),jsxRuntimeExports.jsx("th",{className:"label-cell"})]})}),jsxRuntimeExports.jsx("tbody",{children:_e.filter(ht=>ht.state===QuestionState.inGrading).map((ht,vt)=>jsxRuntimeExports.jsxs("tr",{children:[jsxRuntimeExports.jsx("td",{className:"label-cell",children:ht.displayId}),jsxRuntimeExports.jsx("td",{className:"label-cell",children:ht.question}),jsxRuntimeExports.jsx("td",{className:"label-cell",children:ht.category}),jsxRuntimeExports.jsx("td",{className:"label-cell",children:ht.type}),jsxRuntimeExports.jsx("td",{className:"label-cell",children:jsxRuntimeExports.jsx(Icon,{f7:"eye_fill"})})]},"draft-question-"+vt))})]})}),jsxRuntimeExports.jsx(BlockTitle,{children:"Warten auf Veröffentlichung"}),jsxRuntimeExports.jsxs(Card,{className:"data-table",children:[jsxRuntimeExports.jsx(CardHeader,{children:jsxRuntimeExports.jsx("div",{className:"data-table-links",children:jsxRuntimeExports.jsx(Button,{onClick:()=>{ft(publishQuestions({ids:at})),ot([])},children:"Ausgewählte Fragen veröffentlichen"})})}),jsxRuntimeExports.jsx(CardContent,{padding:!1,children:jsxRuntimeExports.jsxs("table",{children:[jsxRuntimeExports.jsx("thead",{children:jsxRuntimeExports.jsxs("tr",{children:[jsxRuntimeExports.jsx("th",{}),jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Nr."}),jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Frage"}),jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Kategorie"}),jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Typ"}),jsxRuntimeExports.jsx("th",{className:"label-cell"})]})}),jsxRuntimeExports.jsx("tbody",{children:_e.filter(ht=>ht.state===QuestionState.waitForPublishing).map((ht,vt)=>jsxRuntimeExports.jsxs("tr",{children:[jsxRuntimeExports.jsx("td",{className:"checkbox-cell",children:jsxRuntimeExports.jsx(Checkbox,{checked:at.includes(ht.id),onChange:()=>{let gt=structuredClone(at);at.includes(ht.id)?gt=gt.filter(mt=>mt!==ht.id):gt.push(ht.id),ot(gt)}})}),jsxRuntimeExports.jsx("td",{className:"label-cell",children:ht.displayId}),jsxRuntimeExports.jsx("td",{className:"label-cell",children:ht.question}),jsxRuntimeExports.jsx("td",{className:"label-cell",children:ht.category}),jsxRuntimeExports.jsx("td",{className:"label-cell",children:ht.type}),jsxRuntimeExports.jsx("td",{className:"label-cell",children:jsxRuntimeExports.jsx(Icon,{f7:"eye_fill"})})]},"draft-question-"+vt))})]})})]}),jsxRuntimeExports.jsx(BlockTitle,{children:"Ergebnisse veröffentlicht"}),jsxRuntimeExports.jsx(Card,{className:"data-table",children:jsxRuntimeExports.jsxs("table",{children:[jsxRuntimeExports.jsx("thead",{children:jsxRuntimeExports.jsxs("tr",{children:[jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Nr."}),jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Frage"}),jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Kategorie"}),jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Typ"}),jsxRuntimeExports.jsx("th",{className:"label-cell"})]})}),jsxRuntimeExports.jsx("tbody",{children:_e.filter(ht=>ht.state===QuestionState.published).map((ht,vt)=>jsxRuntimeExports.jsxs("tr",{children:[jsxRuntimeExports.jsx("td",{className:"label-cell",children:ht.displayId}),jsxRuntimeExports.jsx("td",{className:"label-cell",children:ht.question}),jsxRuntimeExports.jsx("td",{className:"label-cell",children:ht.category}),jsxRuntimeExports.jsx("td",{className:"label-cell",children:ht.type}),jsxRuntimeExports.jsx("td",{className:"label-cell",children:jsxRuntimeExports.jsx(Icon,{f7:"eye_fill"})})]},"draft-question-"+vt))})]})})]})]})},GradePage=()=>{const{loading:et,available:_e}=useSelector(rt=>rt.grading),tt=reactExports.useRef(null),nt=useDispatch();return reactExports.useEffect(()=>(nt(getAvailable()),tt.current=setInterval(()=>{nt(getAvailable())},15e3),()=>{tt.current!==null&&clearInterval(tt.current)}),[]),jsxRuntimeExports.jsxs(Page,{name:"backoffice-grade",className:"dark",children:[jsxRuntimeExports.jsx(Navbar,{title:"Antworten auswerten",className:"dark",backLink:"Backoffice",large:!0}),jsxRuntimeExports.jsx(Toolbar,{bottom:!0,outline:!1,className:"dark",children:jsxRuntimeExports.jsx(Footer,{})}),et&&jsxRuntimeExports.jsxs("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",height:"100%",minHeight:"300px"},children:[jsxRuntimeExports.jsx(Preloader,{size:42}),jsxRuntimeExports.jsx("p",{children:"LADEN..."})]}),!et&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(BlockTitle,{children:"Antworten auswerten"}),jsxRuntimeExports.jsx(Block,{inset:!0,strong:!0,children:'Klicke auf "Antwort auswerten", um Punkte für eine Antwort zu vergeben. Achtung: Mit dem Klick wird diese Antwort für dich reserviert, um doppelte Arbeit zu vermeiden. Das bedeutet jedoch, dass niemand mehr diese Antwort vorgelegt bekommt. Es ist also wichtig, dass du tatsächlich Punkte vergibst.'}),!_e&&jsxRuntimeExports.jsx(Block,{inset:!0,strong:!0,children:"Derzeit sind keine auszuwertenden Antworten vorhanden."}),_e&&jsxRuntimeExports.jsx(List,{inset:!0,strong:!0,children:jsxRuntimeExports.jsx(ListButton,{title:"Antwort auswerten",onClick:()=>{nt(applyForGrading())}})})]})]})},SettingsPage=()=>{const{loading:et,settings:_e,statistics:tt}=useSelector(rt=>rt.settings),nt=useDispatch();return reactExports.useEffect(()=>{nt(loadSettings())},[]),jsxRuntimeExports.jsxs(Page,{name:"backoffice-settings",className:"dark",children:[jsxRuntimeExports.jsx(Navbar,{title:"Einstellungen",className:"dark",backLink:"Backoffice",large:!0}),jsxRuntimeExports.jsx(Toolbar,{bottom:!0,outline:!1,className:"dark",children:jsxRuntimeExports.jsx(Footer,{})}),et&&jsxRuntimeExports.jsxs("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",height:"100%",minHeight:"300px"},children:[jsxRuntimeExports.jsx(Preloader,{size:42}),jsxRuntimeExports.jsx("p",{children:"LADEN..."})]}),!et&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(BlockTitle,{children:"Einstellungen"}),jsxRuntimeExports.jsx(List,{dividersIos:!0,simpleList:!0,strong:!0,inset:!0,children:_e.map((rt,st)=>jsxRuntimeExports.jsx(ListItem,{title:rt.key,onClick:()=>{nt(saveSetting({key:rt.key,value:rt.value==="true"?"false":"true"}))},children:jsxRuntimeExports.jsx(Toggle,{checked:rt.value==="true"})},"setting-"+st))}),jsxRuntimeExports.jsx(BlockTitle,{children:"Statistiken"}),jsxRuntimeExports.jsx(List,{dividersIos:!0,simpleList:!0,strong:!0,inset:!0,children:tt.map((rt,st)=>jsxRuntimeExports.jsx(ListItem,{title:rt.key,after:rt.value},"statistic-"+st))})]})]})},TeamsPage=()=>{const{loading:et,teams:_e,teamInformationTitle:tt}=useSelector(rt=>rt.teams),nt=useDispatch();return reactExports.useEffect(()=>{nt(loadTeams())},[]),jsxRuntimeExports.jsxs(Page,{name:"backoffice-teams",className:"dark",children:[jsxRuntimeExports.jsx(Navbar,{title:"Teams",className:"dark",backLink:"Backoffice",large:!0}),jsxRuntimeExports.jsx(Toolbar,{bottom:!0,outline:!1,className:"dark",children:jsxRuntimeExports.jsx(Footer,{})}),et&&jsxRuntimeExports.jsxs("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",height:"100%",minHeight:"300px"},children:[jsxRuntimeExports.jsx(Preloader,{size:42}),jsxRuntimeExports.jsx("p",{children:"LADEN..."})]}),!et&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsxs(BlockTitle,{children:["Registrierte Teams: ",_e.length]}),jsxRuntimeExports.jsx(Card,{className:"data-table",children:jsxRuntimeExports.jsxs("table",{children:[jsxRuntimeExports.jsx("thead",{children:jsxRuntimeExports.jsxs("tr",{children:[jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Nr."}),jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Team-ID"}),jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Anz. Mitglieder"}),jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Teamname"}),jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Captain E-Mail"}),tt.map((rt,st)=>jsxRuntimeExports.jsx("th",{className:"label-cell",children:rt},"team-information-title-"+st))]})}),jsxRuntimeExports.jsx("tbody",{children:_e.map((rt,st)=>jsxRuntimeExports.jsxs("tr",{children:[jsxRuntimeExports.jsx("td",{className:"label-cell",children:rt.id}),jsxRuntimeExports.jsx("td",{className:"label-cell",children:rt.displayId}),jsxRuntimeExports.jsx("td",{className:"label-cell",children:rt.memberCount}),jsxRuntimeExports.jsx("td",{className:"label-cell",children:rt.name}),jsxRuntimeExports.jsx("td",{className:"label-cell",children:rt.captainEmail}),rt.information.map((it,at)=>jsxRuntimeExports.jsx("td",{className:"label-cell",children:it},"team-line-"+st+"-info-"+at))]},"team-line-"+st))})]})})]})]})},QuestionEditDetailPage=et=>{const{f7route:_e}=et,{editLoading:tt,editWriteable:nt,editData:rt,customGraders:st}=useSelector(lt=>lt.questions),[it,at]=reactExports.useState(""),ot=useDispatch();return reactExports.useEffect(()=>{_e.params.qid!==void 0&&_e.params.qid!=="new"?ot(loadQuestionDetail(_e.params.qid)):ot(QuestionsSlice.actions.clearEditDetail()),ot(loadCustomGraders())},[]),jsxRuntimeExports.jsxs(Page,{name:"backoffice-questionedit-detail",className:"dark",children:[jsxRuntimeExports.jsx(Navbar,{title:_e.params.qid==="new"?"Frage erstellen":"Frage bearbeiten",className:"dark",backLink:"Fragen",backLinkUrl:"/backoffice/questions/",backLinkForce:!0,large:!0}),jsxRuntimeExports.jsx(Toolbar,{bottom:!0,outline:!1,className:"dark",children:jsxRuntimeExports.jsx(Footer,{})}),tt&&jsxRuntimeExports.jsxs("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",height:"100%",minHeight:"300px"},children:[jsxRuntimeExports.jsx(Preloader,{size:42}),jsxRuntimeExports.jsx("p",{children:"LADEN..."})]}),!tt&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsxs(List,{strongIos:!0,dividersIos:!0,insetIos:!0,children:[jsxRuntimeExports.jsx(ListInput,{label:"Frage",type:"text",placeholder:"Welche Farbe hat der Himmel?",clearButton:!0,disabled:!nt,value:rt.question,onChange:lt=>{ot(QuestionsSlice.actions.setEditQuestion(lt.target.value))}}),jsxRuntimeExports.jsx(ListInput,{label:"Kategorie",type:"text",placeholder:"Captain Obvoius",clearButton:!0,disabled:!nt,value:rt.category,onChange:lt=>{ot(QuestionsSlice.actions.setEditCategory(lt.target.value))}}),jsxRuntimeExports.jsx(ListInput,{label:"Auswertungshinweis (wird nur intern angezeigt)",type:"text",placeholder:"Blau, Grau, Weiß zählen lassen",clearButton:!0,disabled:!nt,value:rt.gradingHint,onChange:lt=>{ot(QuestionsSlice.actions.setEditGradingHint(lt.target.value))}}),jsxRuntimeExports.jsx(ListInput,{label:"Maximale Punktzahl",type:"number",placeholder:"3",clearButton:!0,disabled:!nt,value:rt.maxPoints,onChange:lt=>{ot(QuestionsSlice.actions.setEditMaxPoints(parseFloat(lt.target.value)))}}),jsxRuntimeExports.jsx(ListInput,{label:"Fragennummer",type:"number",placeholder:"1",clearButton:!0,disabled:!nt,value:rt.displayId,onChange:lt=>{try{ot(QuestionsSlice.actions.setEditDisplayId(parseInt(lt.target.value)))}catch(ct){console.log(ct)}}})]}),jsxRuntimeExports.jsx(Block,{inset:!0,strong:!0,children:"Achtung: Wird die Fragennummer auf eine bereits belegte Zahl gesetzt, so wird die bisherige Frage um 1 nach oben verschoben. Dies wiederholt sich, bis ein freier Platz gefunden wurde."}),jsxRuntimeExports.jsx(BlockTitle,{children:"Fragentyp"}),jsxRuntimeExports.jsxs(List,{strongIos:!0,dividersIos:!0,insetIos:!0,children:[jsxRuntimeExports.jsx(ListItem,{radio:!0,radioIcon:"start",title:"Text",name:"question-type",value:"text",checked:rt.type===QuestionType.text,onClick:()=>{ot(QuestionsSlice.actions.setEditType(QuestionType.text))}}),jsxRuntimeExports.jsx(ListItem,{radio:!0,radioIcon:"start",title:"Multiple Choice",name:"question-type",value:"multipleChoice",checked:rt.type===QuestionType.multipleChoice,onClick:()=>{ot(QuestionsSlice.actions.setEditType(QuestionType.multipleChoice))}}),jsxRuntimeExports.jsx(ListItem,{radio:!0,radioIcon:"start",title:"Wahr / Falsch",name:"question-type",value:"trueFalse",checked:rt.type===QuestionType.trueFalse,onClick:()=>{ot(QuestionsSlice.actions.setEditType(QuestionType.trueFalse))}}),jsxRuntimeExports.jsx(ListItem,{radio:!0,radioIcon:"start",title:"Eigene Auswertungsfunktion",name:"question-type",value:"custom",checked:rt.type===QuestionType.custom,onClick:()=>{ot(QuestionsSlice.actions.setEditType(QuestionType.custom))}}),jsxRuntimeExports.jsx(ListItem,{radio:!0,radioIcon:"start",title:"Externe Auswertung (CSV-Download)",name:"question-type",value:"external",checked:rt.type===QuestionType.external,onClick:()=>{ot(QuestionsSlice.actions.setEditType(QuestionType.external))}}),jsxRuntimeExports.jsx(ListItem,{radio:!0,radioIcon:"start",title:"Eigene Auswertungsfunktion, Multiple Choice",name:"question-type",value:"customMc",checked:rt.type===QuestionType.customMc,onClick:()=>{ot(QuestionsSlice.actions.setEditType(QuestionType.customMc))}})]}),(rt.type===QuestionType.custom||rt.type===QuestionType.customMc)&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(BlockTitle,{children:"Auswertungsfunktion"}),jsxRuntimeExports.jsx(List,{strongIos:!0,dividersIos:!0,insetIos:!0,children:st.filter(lt=>lt.mc===(rt.type===QuestionType.customMc)).map((lt,ct)=>jsxRuntimeExports.jsx(ListItem,{radio:!0,radioIcon:"start",title:lt.name,name:"custom-grader",value:lt.name,checked:rt.customGradingFunction===lt.name,onClick:()=>{ot(QuestionsSlice.actions.setEditCustomGradingFunction(lt.name))}},"custom-grader-radio-"+ct))})]}),(rt.type===QuestionType.multipleChoice||rt.type===QuestionType.customMc)&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(BlockTitle,{children:"Antwortmöglichkeiten"}),jsxRuntimeExports.jsxs(List,{strongIos:!0,dividersIos:!0,insetIos:!0,children:[jsxRuntimeExports.jsx(ListInput,{label:"Neue Antwortmöglichkeit hinzufügen",type:"text",placeholder:"A",clearButton:!0,disabled:!nt,value:it,onChange:lt=>{at(lt.target.value)}}),jsxRuntimeExports.jsx(ListButton,{title:"Hinzufügen",onClick:()=>{if(it!==""){const lt=structuredClone(rt.options);lt.push(it),ot(QuestionsSlice.actions.setEditOptions(lt)),at("")}else f7.dialog.create({title:"Eine Multiple-Choice Option darf nicht leer sein.",buttons:[{text:"OK"}]}).open()}})]}),typeof rt.options=="object"&&jsxRuntimeExports.jsx(List,{strongIos:!0,dividersIos:!0,insetIos:!0,children:rt.options.map((lt,ct)=>jsxRuntimeExports.jsx(ListItem,{radio:!0,radioIcon:"start",title:lt,name:"mc-option",value:lt,checked:rt.correctAnswer===ct,onClick:()=>{ot(QuestionsSlice.actions.setEditCorrectAnswer(ct))},children:jsxRuntimeExports.jsx(Button,{slot:"after",onClick:()=>{const ut=structuredClone(rt.options);ut.splice(ct,1),ot(QuestionsSlice.actions.setEditOptions(ut)),at("")},children:jsxRuntimeExports.jsx(Icon,{f7:"trash_fill"})})},"mc-option-radio-"+ct))})]}),rt.type===QuestionType.trueFalse&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(BlockTitle,{children:"Antwort"}),jsxRuntimeExports.jsxs(List,{strongIos:!0,dividersIos:!0,insetIos:!0,children:[jsxRuntimeExports.jsx(ListItem,{radio:!0,radioIcon:"start",title:"Wahr",name:"true-false",value:"true",checked:rt.correctAnswer===0,onClick:()=>{ot(QuestionsSlice.actions.setEditCorrectAnswer(0))}}),jsxRuntimeExports.jsx(ListItem,{radio:!0,radioIcon:"start",title:"Falsch",name:"true-false",value:"false",checked:rt.correctAnswer===1,onClick:()=>{ot(QuestionsSlice.actions.setEditCorrectAnswer(1))}})]})]}),jsxRuntimeExports.jsx(Block,{children:jsxRuntimeExports.jsx(Button,{large:!0,raised:!0,fill:!0,disabled:(rt.type===QuestionType.multipleChoice||rt.type===QuestionType.customMc)&&(rt.options.length<=rt.correctAnswer||rt.correctAnswer<0)||rt.type===QuestionType.trueFalse&&rt.correctAnswer!==0&&rt.correctAnswer!==1||rt.type===QuestionType.custom&&!st.filter(lt=>!lt.mc).map(lt=>lt.name).includes(rt.customGradingFunction)||rt.type===QuestionType.customMc&&!st.filter(lt=>lt.mc).map(lt=>lt.name).includes(rt.customGradingFunction),onClick:()=>{_e.params.qid!==void 0&&_e.params.qid!=="new"?ot(updateQuestion({id:_e.params.qid,data:{type:rt.type,maxPoints:rt.maxPoints,title:rt.question,category:rt.category,hint:rt.gradingHint,correctAnswer:rt.correctAnswer,customFunction:rt.customGradingFunction,options:rt.options,displayId:rt.displayId}})):ot(addQuestion({type:rt.type,maxPoints:rt.maxPoints,title:rt.question,category:rt.category,hint:rt.gradingHint,correctAnswer:rt.correctAnswer,customFunction:rt.customGradingFunction,options:rt.options,displayId:rt.displayId}))},children:"Frage speichern"})})]})]})},GradeDetailPage=()=>{const{currentAnswer:et}=useSelector(rt=>rt.grading),[_e,tt]=reactExports.useState(0),nt=useDispatch();return jsxRuntimeExports.jsxs(Page,{name:"backoffice-grade-detail",className:"dark",children:[jsxRuntimeExports.jsx(Navbar,{title:"Punkte vergeben",className:"dark",backLink:"Antworten auswerten",large:!0}),jsxRuntimeExports.jsx(Toolbar,{bottom:!0,outline:!1,className:"dark",children:jsxRuntimeExports.jsx(Footer,{})}),et!==null&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(BlockTitle,{children:"Frage"}),jsxRuntimeExports.jsx(Block,{inset:!0,strong:!0,children:et.question}),jsxRuntimeExports.jsx(BlockTitle,{children:"Antwort des Teams"}),jsxRuntimeExports.jsx(Block,{inset:!0,strong:!0,children:et.value}),jsxRuntimeExports.jsx(BlockTitle,{children:"Auswertungshinweis"}),jsxRuntimeExports.jsx(Block,{inset:!0,strong:!0,children:et.hint}),jsxRuntimeExports.jsx(BlockTitle,{children:"Maximalpunktzahl"}),jsxRuntimeExports.jsx(Block,{inset:!0,strong:!0,children:et.maxPoints}),jsxRuntimeExports.jsx(BlockTitle,{children:"Vergebene Punkte"}),jsxRuntimeExports.jsx(Block,{inset:!0,strong:!0,children:jsxRuntimeExports.jsx(Stepper,{raised:!0,max:et.maxPoints,step:.5,value:_e,onStepperChange:rt=>{tt(parseFloat(rt))}})}),jsxRuntimeExports.jsx(List,{inset:!0,strong:!0,children:jsxRuntimeExports.jsx(ListButton,{title:"Punkte vergeben",onClick:()=>{et.id&&nt(gradeAnswer({id:et.id,points:_e}))}})})]})]})},InternalScoreboard=()=>{const{loading:et,questions:_e,teams:tt}=useSelector(at=>at.scoreboardinternal),nt=useDispatch();reactExports.useEffect(()=>{nt(getInternalScoreboard())},[]);const rt=at=>{let ot=1,lt=0,ct=1;at.sort((ut,dt)=>ut.points>dt.points?-1:ut.pointsut.name>dt.name?1:ut.name{for(const lt of tt)if(lt.id===ot){for(const ct of lt.answers)if(ct.questionId==at)return ct.points===null?"-":ct.points.toString()}return"-"},it=(at,ot)=>{for(const lt of tt)if(lt.id===ot){for(const ct of lt.answers)if(ct.questionId==at)return ct.id}return null};return jsxRuntimeExports.jsxs(Page,{name:"backoffice-scoreboard",className:"dark",children:[jsxRuntimeExports.jsx(Navbar,{title:"Scoreboard (interne Ansicht)",className:"dark",backLink:"Backoffice",large:!0}),jsxRuntimeExports.jsx(Toolbar,{bottom:!0,outline:!1,className:"dark",children:jsxRuntimeExports.jsx(Footer,{})}),et&&jsxRuntimeExports.jsxs("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",height:"100%",minHeight:"300px"},children:[jsxRuntimeExports.jsx(Preloader,{size:42}),jsxRuntimeExports.jsx("p",{children:"LADEN..."})]}),!et&&jsxRuntimeExports.jsx(Card,{className:"data-table",children:jsxRuntimeExports.jsxs("table",{children:[jsxRuntimeExports.jsx("thead",{children:jsxRuntimeExports.jsxs("tr",{children:[jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Teamname"}),jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Platzierung"}),jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Punkte"}),_e.map((at,ot)=>jsxRuntimeExports.jsx("th",{className:"label-cell",children:"Frage "+at.displayId},"table-header-question-"+ot))]})}),jsxRuntimeExports.jsx("tbody",{children:rt(structuredClone(tt)).map((at,ot)=>jsxRuntimeExports.jsxs("tr",{children:[jsxRuntimeExports.jsx("td",{className:"label-cell",children:at.name}),jsxRuntimeExports.jsx("td",{className:"label-cell",children:at.place}),jsxRuntimeExports.jsx("td",{className:"label-cell",children:at.points}),_e.map((lt,ct)=>jsxRuntimeExports.jsxs("td",{className:"label-cell",children:[(lt.state===QuestionState.prePreparation||lt.state===QuestionState.asked||lt.state===QuestionState.waitForGrading||lt.state===QuestionState.inGrading)&&jsxRuntimeExports.jsx(Icon,{f7:"clock_fill"}),(lt.state===QuestionState.waitForPublishing||lt.state===QuestionState.published)&&jsxRuntimeExports.jsx(Link,{href:it(lt.id,at.id)===null?"/backoffice/internalscoreboard/"+lt.id+"/"+at.id:"/backoffice/internalscoreboard/"+it(lt.id,at.id),children:st(lt.id,at.id)})]},"table-row-"+ot+"-col-"+ct))]},"table-row-"+ot))})]})})]})},PACKET_TYPES=Object.create(null);PACKET_TYPES.open="0";PACKET_TYPES.close="1";PACKET_TYPES.ping="2";PACKET_TYPES.pong="3";PACKET_TYPES.message="4";PACKET_TYPES.upgrade="5";PACKET_TYPES.noop="6";const PACKET_TYPES_REVERSE=Object.create(null);Object.keys(PACKET_TYPES).forEach(et=>{PACKET_TYPES_REVERSE[PACKET_TYPES[et]]=et});const ERROR_PACKET={type:"error",data:"parser error"},withNativeBlob$1=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",withNativeArrayBuffer$2=typeof ArrayBuffer=="function",isView$1=et=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(et):et&&et.buffer instanceof ArrayBuffer,encodePacket=({type:et,data:_e},tt,nt)=>withNativeBlob$1&&_e instanceof Blob?tt?nt(_e):encodeBlobAsBase64(_e,nt):withNativeArrayBuffer$2&&(_e instanceof ArrayBuffer||isView$1(_e))?tt?nt(_e):encodeBlobAsBase64(new Blob([_e]),nt):nt(PACKET_TYPES[et]+(_e||"")),encodeBlobAsBase64=(et,_e)=>{const tt=new FileReader;return tt.onload=function(){const nt=tt.result.split(",")[1];_e("b"+(nt||""))},tt.readAsDataURL(et)};function toArray(et){return et instanceof Uint8Array?et:et instanceof ArrayBuffer?new Uint8Array(et):new Uint8Array(et.buffer,et.byteOffset,et.byteLength)}let TEXT_ENCODER;function encodePacketToBinary(et,_e){if(withNativeBlob$1&&et.data instanceof Blob)return et.data.arrayBuffer().then(toArray).then(_e);if(withNativeArrayBuffer$2&&(et.data instanceof ArrayBuffer||isView$1(et.data)))return _e(toArray(et.data));encodePacket(et,!1,tt=>{TEXT_ENCODER||(TEXT_ENCODER=new TextEncoder),_e(TEXT_ENCODER.encode(tt))})}const chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",lookup$1=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let et=0;et{let _e=new Uint8Array(et),tt,nt=_e.length,rt="";for(tt=0;tt>2],rt+=chars[(_e[tt]&3)<<4|_e[tt+1]>>4],rt+=chars[(_e[tt+1]&15)<<2|_e[tt+2]>>6],rt+=chars[_e[tt+2]&63];return nt%3===2?rt=rt.substring(0,rt.length-1)+"=":nt%3===1&&(rt=rt.substring(0,rt.length-2)+"=="),rt},decode$2=et=>{let _e=et.length*.75,tt=et.length,nt,rt=0,st,it,at,ot;et[et.length-1]==="="&&(_e--,et[et.length-2]==="="&&_e--);const lt=new ArrayBuffer(_e),ct=new Uint8Array(lt);for(nt=0;nt>4,ct[rt++]=(it&15)<<4|at>>2,ct[rt++]=(at&3)<<6|ot&63;return lt},withNativeArrayBuffer$1=typeof ArrayBuffer=="function",decodePacket=(et,_e)=>{if(typeof et!="string")return{type:"message",data:mapBinary(et,_e)};const tt=et.charAt(0);return tt==="b"?{type:"message",data:decodeBase64Packet(et.substring(1),_e)}:PACKET_TYPES_REVERSE[tt]?et.length>1?{type:PACKET_TYPES_REVERSE[tt],data:et.substring(1)}:{type:PACKET_TYPES_REVERSE[tt]}:ERROR_PACKET},decodeBase64Packet=(et,_e)=>{if(withNativeArrayBuffer$1){const tt=decode$2(et);return mapBinary(tt,_e)}else return{base64:!0,data:et}},mapBinary=(et,_e)=>{switch(_e){case"blob":return et instanceof Blob?et:new Blob([et]);case"arraybuffer":default:return et instanceof ArrayBuffer?et:et.buffer}},SEPARATOR=String.fromCharCode(30),encodePayload=(et,_e)=>{const tt=et.length,nt=new Array(tt);let rt=0;et.forEach((st,it)=>{encodePacket(st,!1,at=>{nt[it]=at,++rt===tt&&_e(nt.join(SEPARATOR))})})},decodePayload=(et,_e)=>{const tt=et.split(SEPARATOR),nt=[];for(let rt=0;rt{const nt=tt.length;let rt;if(nt<126)rt=new Uint8Array(1),new DataView(rt.buffer).setUint8(0,nt);else if(nt<65536){rt=new Uint8Array(3);const st=new DataView(rt.buffer);st.setUint8(0,126),st.setUint16(1,nt)}else{rt=new Uint8Array(9);const st=new DataView(rt.buffer);st.setUint8(0,127),st.setBigUint64(1,BigInt(nt))}et.data&&typeof et.data!="string"&&(rt[0]|=128),_e.enqueue(rt),_e.enqueue(tt)})}})}let TEXT_DECODER;function totalLength(et){return et.reduce((_e,tt)=>_e+tt.length,0)}function concatChunks(et,_e){if(et[0].length===_e)return et.shift();const tt=new Uint8Array(_e);let nt=0;for(let rt=0;rt<_e;rt++)tt[rt]=et[0][nt++],nt===et[0].length&&(et.shift(),nt=0);return et.length&&ntMath.pow(2,53-32)-1){at.enqueue(ERROR_PACKET);break}rt=ct*Math.pow(2,32)+lt.getUint32(4),nt=3}else{if(totalLength(tt)et){at.enqueue(ERROR_PACKET);break}}}})}const protocol$2=4;function Emitter(et){if(et)return mixin(et)}function mixin(et){for(var _e in Emitter.prototype)et[_e]=Emitter.prototype[_e];return et}Emitter.prototype.on=Emitter.prototype.addEventListener=function(et,_e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+et]=this._callbacks["$"+et]||[]).push(_e),this};Emitter.prototype.once=function(et,_e){function tt(){this.off(et,tt),_e.apply(this,arguments)}return tt.fn=_e,this.on(et,tt),this};Emitter.prototype.off=Emitter.prototype.removeListener=Emitter.prototype.removeAllListeners=Emitter.prototype.removeEventListener=function(et,_e){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var tt=this._callbacks["$"+et];if(!tt)return this;if(arguments.length==1)return delete this._callbacks["$"+et],this;for(var nt,rt=0;rttypeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function pick(et,..._e){return _e.reduce((tt,nt)=>(et.hasOwnProperty(nt)&&(tt[nt]=et[nt]),tt),{})}const NATIVE_SET_TIMEOUT=globalThisShim.setTimeout,NATIVE_CLEAR_TIMEOUT=globalThisShim.clearTimeout;function installTimerFunctions(et,_e){_e.useNativeTimers?(et.setTimeoutFn=NATIVE_SET_TIMEOUT.bind(globalThisShim),et.clearTimeoutFn=NATIVE_CLEAR_TIMEOUT.bind(globalThisShim)):(et.setTimeoutFn=globalThisShim.setTimeout.bind(globalThisShim),et.clearTimeoutFn=globalThisShim.clearTimeout.bind(globalThisShim))}const BASE64_OVERHEAD=1.33;function byteLength(et){return typeof et=="string"?utf8Length(et):Math.ceil((et.byteLength||et.size)*BASE64_OVERHEAD)}function utf8Length(et){let _e=0,tt=0;for(let nt=0,rt=et.length;nt=57344?tt+=3:(nt++,tt+=4);return tt}function encode$1(et){let _e="";for(let tt in et)et.hasOwnProperty(tt)&&(_e.length&&(_e+="&"),_e+=encodeURIComponent(tt)+"="+encodeURIComponent(et[tt]));return _e}function decode$1(et){let _e={},tt=et.split("&");for(let nt=0,rt=tt.length;nt0);return _e}function decode(et){let _e=0;for(i=0;i{this.readyState="paused",_e()};if(this.polling||!this.writable){let nt=0;this.polling&&(nt++,this.once("pollComplete",function(){--nt||tt()})),this.writable||(nt++,this.once("drain",function(){--nt||tt()}))}else tt()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(_e){const tt=nt=>{if(this.readyState==="opening"&&nt.type==="open"&&this.onOpen(),nt.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(nt)};decodePayload(_e,this.socket.binaryType).forEach(tt),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const _e=()=>{this.write([{type:"close"}])};this.readyState==="open"?_e():this.once("open",_e)}write(_e){this.writable=!1,encodePayload(_e,tt=>{this.doWrite(tt,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const _e=this.opts.secure?"https":"http",tt=this.query||{};return this.opts.timestampRequests!==!1&&(tt[this.opts.timestampParam]=yeast()),!this.supportsBinary&&!tt.sid&&(tt.b64=1),this.createUri(_e,tt)}request(_e={}){return Object.assign(_e,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new Request(this.uri(),_e)}doWrite(_e,tt){const nt=this.request({method:"POST",data:_e});nt.on("success",tt),nt.on("error",(rt,st)=>{this.onError("xhr post error",rt,st)})}doPoll(){const _e=this.request();_e.on("data",this.onData.bind(this)),_e.on("error",(tt,nt)=>{this.onError("xhr poll error",tt,nt)}),this.pollXhr=_e}}class Request extends Emitter{constructor(_e,tt){super(),installTimerFunctions(this,tt),this.opts=tt,this.method=tt.method||"GET",this.uri=_e,this.data=tt.data!==void 0?tt.data:null,this.create()}create(){var _e;const tt=pick(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");tt.xdomain=!!this.opts.xd;const nt=this.xhr=new XHR(tt);try{nt.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){nt.setDisableHeaderCheck&&nt.setDisableHeaderCheck(!0);for(let rt in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(rt)&&nt.setRequestHeader(rt,this.opts.extraHeaders[rt])}}catch{}if(this.method==="POST")try{nt.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{nt.setRequestHeader("Accept","*/*")}catch{}(_e=this.opts.cookieJar)===null||_e===void 0||_e.addCookies(nt),"withCredentials"in nt&&(nt.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(nt.timeout=this.opts.requestTimeout),nt.onreadystatechange=()=>{var rt;nt.readyState===3&&((rt=this.opts.cookieJar)===null||rt===void 0||rt.parseCookies(nt)),nt.readyState===4&&(nt.status===200||nt.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof nt.status=="number"?nt.status:0)},0))},nt.send(this.data)}catch(rt){this.setTimeoutFn(()=>{this.onError(rt)},0);return}typeof document<"u"&&(this.index=Request.requestsCount++,Request.requests[this.index]=this)}onError(_e){this.emitReserved("error",_e,this.xhr),this.cleanup(!0)}cleanup(_e){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=empty,_e)try{this.xhr.abort()}catch{}typeof document<"u"&&delete Request.requests[this.index],this.xhr=null}}onLoad(){const _e=this.xhr.responseText;_e!==null&&(this.emitReserved("data",_e),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}Request.requestsCount=0;Request.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",unloadHandler);else if(typeof addEventListener=="function"){const et="onpagehide"in globalThisShim?"pagehide":"unload";addEventListener(et,unloadHandler,!1)}}function unloadHandler(){for(let et in Request.requests)Request.requests.hasOwnProperty(et)&&Request.requests[et].abort()}const nextTick=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?_e=>Promise.resolve().then(_e):(_e,tt)=>tt(_e,0))(),WebSocket=globalThisShim.WebSocket||globalThisShim.MozWebSocket,usingBrowserWebSocket=!0,defaultBinaryType="arraybuffer",isReactNative=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class WS extends Transport{constructor(_e){super(_e),this.supportsBinary=!_e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const _e=this.uri(),tt=this.opts.protocols,nt=isReactNative?{}:pick(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(nt.headers=this.opts.extraHeaders);try{this.ws=usingBrowserWebSocket&&!isReactNative?tt?new WebSocket(_e,tt):new WebSocket(_e):new WebSocket(_e,tt,nt)}catch(rt){return this.emitReserved("error",rt)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=_e=>this.onClose({description:"websocket connection closed",context:_e}),this.ws.onmessage=_e=>this.onData(_e.data),this.ws.onerror=_e=>this.onError("websocket error",_e)}write(_e){this.writable=!1;for(let tt=0;tt<_e.length;tt++){const nt=_e[tt],rt=tt===_e.length-1;encodePacket(nt,this.supportsBinary,st=>{const it={};usingBrowserWebSocket||(nt.options&&(it.compress=nt.options.compress),this.opts.perMessageDeflate&&(typeof st=="string"?Buffer.byteLength(st):st.length){this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){const _e=this.opts.secure?"wss":"ws",tt=this.query||{};return this.opts.timestampRequests&&(tt[this.opts.timestampParam]=yeast()),this.supportsBinary||(tt.b64=1),this.createUri(_e,tt)}check(){return!!WebSocket}}class WT extends Transport{get name(){return"webtransport"}doOpen(){typeof WebTransport=="function"&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then(()=>{this.onClose()}).catch(_e=>{this.onError("webtransport error",_e)}),this.transport.ready.then(()=>{this.transport.createBidirectionalStream().then(_e=>{const tt=createPacketDecoderStream(Number.MAX_SAFE_INTEGER,this.socket.binaryType),nt=_e.readable.pipeThrough(tt).getReader(),rt=createPacketEncoderStream();rt.readable.pipeTo(_e.writable),this.writer=rt.writable.getWriter();const st=()=>{nt.read().then(({done:at,value:ot})=>{at||(this.onPacket(ot),st())}).catch(at=>{})};st();const it={type:"open"};this.query.sid&&(it.data=`{"sid":"${this.query.sid}"}`),this.writer.write(it).then(()=>this.onOpen())})}))}write(_e){this.writable=!1;for(let tt=0;tt<_e.length;tt++){const nt=_e[tt],rt=tt===_e.length-1;this.writer.write(nt).then(()=>{rt&&nextTick(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var _e;(_e=this.transport)===null||_e===void 0||_e.close()}}const transports={websocket:WS,webtransport:WT,polling:Polling},re=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,parts=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function parse$1(et){const _e=et,tt=et.indexOf("["),nt=et.indexOf("]");tt!=-1&&nt!=-1&&(et=et.substring(0,tt)+et.substring(tt,nt).replace(/:/g,";")+et.substring(nt,et.length));let rt=re.exec(et||""),st={},it=14;for(;it--;)st[parts[it]]=rt[it]||"";return tt!=-1&&nt!=-1&&(st.source=_e,st.host=st.host.substring(1,st.host.length-1).replace(/;/g,":"),st.authority=st.authority.replace("[","").replace("]","").replace(/;/g,":"),st.ipv6uri=!0),st.pathNames=pathNames(st,st.path),st.queryKey=queryKey(st,st.query),st}function pathNames(et,_e){const tt=/\/{2,9}/g,nt=_e.replace(tt,"/").split("/");return(_e.slice(0,1)=="/"||_e.length===0)&&nt.splice(0,1),_e.slice(-1)=="/"&&nt.splice(nt.length-1,1),nt}function queryKey(et,_e){const tt={};return _e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(nt,rt,st){rt&&(tt[rt]=st)}),tt}let Socket$1=class pr extends Emitter{constructor(_e,tt={}){super(),this.binaryType=defaultBinaryType,this.writeBuffer=[],_e&&typeof _e=="object"&&(tt=_e,_e=null),_e?(_e=parse$1(_e),tt.hostname=_e.host,tt.secure=_e.protocol==="https"||_e.protocol==="wss",tt.port=_e.port,_e.query&&(tt.query=_e.query)):tt.host&&(tt.hostname=parse$1(tt.host).host),installTimerFunctions(this,tt),this.secure=tt.secure!=null?tt.secure:typeof location<"u"&&location.protocol==="https:",tt.hostname&&!tt.port&&(tt.port=this.secure?"443":"80"),this.hostname=tt.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=tt.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=tt.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},tt),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=decode$1(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(_e){const tt=Object.assign({},this.opts.query);tt.EIO=protocol$2,tt.transport=_e,this.id&&(tt.sid=this.id);const nt=Object.assign({},this.opts,{query:tt,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[_e]);return new transports[_e](nt)}open(){let _e;if(this.opts.rememberUpgrade&&pr.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)_e="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else _e=this.transports[0];this.readyState="opening";try{_e=this.createTransport(_e)}catch{this.transports.shift(),this.open();return}_e.open(),this.setTransport(_e)}setTransport(_e){this.transport&&this.transport.removeAllListeners(),this.transport=_e,_e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",tt=>this.onClose("transport close",tt))}probe(_e){let tt=this.createTransport(_e),nt=!1;pr.priorWebsocketSuccess=!1;const rt=()=>{nt||(tt.send([{type:"ping",data:"probe"}]),tt.once("packet",ut=>{if(!nt)if(ut.type==="pong"&&ut.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",tt),!tt)return;pr.priorWebsocketSuccess=tt.name==="websocket",this.transport.pause(()=>{nt||this.readyState!=="closed"&&(ct(),this.setTransport(tt),tt.send([{type:"upgrade"}]),this.emitReserved("upgrade",tt),tt=null,this.upgrading=!1,this.flush())})}else{const dt=new Error("probe error");dt.transport=tt.name,this.emitReserved("upgradeError",dt)}}))};function st(){nt||(nt=!0,ct(),tt.close(),tt=null)}const it=ut=>{const dt=new Error("probe error: "+ut);dt.transport=tt.name,st(),this.emitReserved("upgradeError",dt)};function at(){it("transport closed")}function ot(){it("socket closed")}function lt(ut){tt&&ut.name!==tt.name&&st()}const ct=()=>{tt.removeListener("open",rt),tt.removeListener("error",it),tt.removeListener("close",at),this.off("close",ot),this.off("upgrading",lt)};tt.once("open",rt),tt.once("error",it),tt.once("close",at),this.once("close",ot),this.once("upgrading",lt),this.upgrades.indexOf("webtransport")!==-1&&_e!=="webtransport"?this.setTimeoutFn(()=>{nt||tt.open()},200):tt.open()}onOpen(){if(this.readyState="open",pr.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let _e=0;const tt=this.upgrades.length;for(;_e{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const _e=this.getWritablePackets();this.transport.send(_e),this.prevBufferLen=_e.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let tt=1;for(let nt=0;nt0&&tt>this.maxPayload)return this.writeBuffer.slice(0,nt);tt+=2}return this.writeBuffer}write(_e,tt,nt){return this.sendPacket("message",_e,tt,nt),this}send(_e,tt,nt){return this.sendPacket("message",_e,tt,nt),this}sendPacket(_e,tt,nt,rt){if(typeof tt=="function"&&(rt=tt,tt=void 0),typeof nt=="function"&&(rt=nt,nt=null),this.readyState==="closing"||this.readyState==="closed")return;nt=nt||{},nt.compress=nt.compress!==!1;const st={type:_e,data:tt,options:nt};this.emitReserved("packetCreate",st),this.writeBuffer.push(st),rt&&this.once("flush",rt),this.flush()}close(){const _e=()=>{this.onClose("forced close"),this.transport.close()},tt=()=>{this.off("upgrade",tt),this.off("upgradeError",tt),_e()},nt=()=>{this.once("upgrade",tt),this.once("upgradeError",tt)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?nt():_e()}):this.upgrading?nt():_e()),this}onError(_e){pr.priorWebsocketSuccess=!1,this.emitReserved("error",_e),this.onClose("transport error",_e)}onClose(_e,tt){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",_e,tt),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(_e){const tt=[];let nt=0;const rt=_e.length;for(;nttypeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(et):et.buffer instanceof ArrayBuffer,toString=Object.prototype.toString,withNativeBlob=typeof Blob=="function"||typeof Blob<"u"&&toString.call(Blob)==="[object BlobConstructor]",withNativeFile=typeof File=="function"||typeof File<"u"&&toString.call(File)==="[object FileConstructor]";function isBinary(et){return withNativeArrayBuffer&&(et instanceof ArrayBuffer||isView(et))||withNativeBlob&&et instanceof Blob||withNativeFile&&et instanceof File}function hasBinary(et,_e){if(!et||typeof et!="object")return!1;if(Array.isArray(et)){for(let tt=0,nt=et.length;tt=0&&et.num<_e.length)return _e[et.num];throw new Error("illegal attachments")}else if(Array.isArray(et))for(let tt=0;tt{delete this.acks[_e];for(let it=0;it{this.io.clearTimeoutFn(st),tt.apply(this,[null,...it])}}emitWithAck(_e,...tt){const nt=this.flags.timeout!==void 0||this._opts.ackTimeout!==void 0;return new Promise((rt,st)=>{tt.push((it,at)=>nt?it?st(it):rt(at):rt(it)),this.emit(_e,...tt)})}_addToQueue(_e){let tt;typeof _e[_e.length-1]=="function"&&(tt=_e.pop());const nt={id:this._queueSeq++,tryCount:0,pending:!1,args:_e,flags:Object.assign({fromQueue:!0},this.flags)};_e.push((rt,...st)=>nt!==this._queue[0]?void 0:(rt!==null?nt.tryCount>this._opts.retries&&(this._queue.shift(),tt&&tt(rt)):(this._queue.shift(),tt&&tt(null,...st)),nt.pending=!1,this._drainQueue())),this._queue.push(nt),this._drainQueue()}_drainQueue(_e=!1){if(!this.connected||this._queue.length===0)return;const tt=this._queue[0];tt.pending&&!_e||(tt.pending=!0,tt.tryCount++,this.flags=tt.flags,this.emit.apply(this,tt.args))}packet(_e){_e.nsp=this.nsp,this.io._packet(_e)}onopen(){typeof this.auth=="function"?this.auth(_e=>{this._sendConnectPacket(_e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(_e){this.packet({type:PacketType.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},_e):_e})}onerror(_e){this.connected||this.emitReserved("connect_error",_e)}onclose(_e,tt){this.connected=!1,delete this.id,this.emitReserved("disconnect",_e,tt)}onpacket(_e){if(_e.nsp===this.nsp)switch(_e.type){case PacketType.CONNECT:_e.data&&_e.data.sid?this.onconnect(_e.data.sid,_e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case PacketType.EVENT:case PacketType.BINARY_EVENT:this.onevent(_e);break;case PacketType.ACK:case PacketType.BINARY_ACK:this.onack(_e);break;case PacketType.DISCONNECT:this.ondisconnect();break;case PacketType.CONNECT_ERROR:this.destroy();const nt=new Error(_e.data.message);nt.data=_e.data.data,this.emitReserved("connect_error",nt);break}}onevent(_e){const tt=_e.data||[];_e.id!=null&&tt.push(this.ack(_e.id)),this.connected?this.emitEvent(tt):this.receiveBuffer.push(Object.freeze(tt))}emitEvent(_e){if(this._anyListeners&&this._anyListeners.length){const tt=this._anyListeners.slice();for(const nt of tt)nt.apply(this,_e)}super.emit.apply(this,_e),this._pid&&_e.length&&typeof _e[_e.length-1]=="string"&&(this._lastOffset=_e[_e.length-1])}ack(_e){const tt=this;let nt=!1;return function(...rt){nt||(nt=!0,tt.packet({type:PacketType.ACK,id:_e,data:rt}))}}onack(_e){const tt=this.acks[_e.id];typeof tt=="function"&&(tt.apply(this,_e.data),delete this.acks[_e.id])}onconnect(_e,tt){this.id=_e,this.recovered=tt&&this._pid===tt,this._pid=tt,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(_e=>this.emitEvent(_e)),this.receiveBuffer=[],this.sendBuffer.forEach(_e=>{this.notifyOutgoingListeners(_e),this.packet(_e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(_e=>_e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:PacketType.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(_e){return this.flags.compress=_e,this}get volatile(){return this.flags.volatile=!0,this}timeout(_e){return this.flags.timeout=_e,this}onAny(_e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(_e),this}prependAny(_e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(_e),this}offAny(_e){if(!this._anyListeners)return this;if(_e){const tt=this._anyListeners;for(let nt=0;nt0&&et.jitter<=1?et.jitter:0,this.attempts=0}Backoff.prototype.duration=function(){var et=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var _e=Math.random(),tt=Math.floor(_e*this.jitter*et);et=Math.floor(_e*10)&1?et+tt:et-tt}return Math.min(et,this.max)|0};Backoff.prototype.reset=function(){this.attempts=0};Backoff.prototype.setMin=function(et){this.ms=et};Backoff.prototype.setMax=function(et){this.max=et};Backoff.prototype.setJitter=function(et){this.jitter=et};class Manager extends Emitter{constructor(_e,tt){var nt;super(),this.nsps={},this.subs=[],_e&&typeof _e=="object"&&(tt=_e,_e=void 0),tt=tt||{},tt.path=tt.path||"/socket.io",this.opts=tt,installTimerFunctions(this,tt),this.reconnection(tt.reconnection!==!1),this.reconnectionAttempts(tt.reconnectionAttempts||1/0),this.reconnectionDelay(tt.reconnectionDelay||1e3),this.reconnectionDelayMax(tt.reconnectionDelayMax||5e3),this.randomizationFactor((nt=tt.randomizationFactor)!==null&&nt!==void 0?nt:.5),this.backoff=new Backoff({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(tt.timeout==null?2e4:tt.timeout),this._readyState="closed",this.uri=_e;const rt=tt.parser||parser;this.encoder=new rt.Encoder,this.decoder=new rt.Decoder,this._autoConnect=tt.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(_e){return arguments.length?(this._reconnection=!!_e,this):this._reconnection}reconnectionAttempts(_e){return _e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=_e,this)}reconnectionDelay(_e){var tt;return _e===void 0?this._reconnectionDelay:(this._reconnectionDelay=_e,(tt=this.backoff)===null||tt===void 0||tt.setMin(_e),this)}randomizationFactor(_e){var tt;return _e===void 0?this._randomizationFactor:(this._randomizationFactor=_e,(tt=this.backoff)===null||tt===void 0||tt.setJitter(_e),this)}reconnectionDelayMax(_e){var tt;return _e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=_e,(tt=this.backoff)===null||tt===void 0||tt.setMax(_e),this)}timeout(_e){return arguments.length?(this._timeout=_e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(_e){if(~this._readyState.indexOf("open"))return this;this.engine=new Socket$1(this.uri,this.opts);const tt=this.engine,nt=this;this._readyState="opening",this.skipReconnect=!1;const rt=on(tt,"open",function(){nt.onopen(),_e&&_e()}),st=at=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",at),_e?_e(at):this.maybeReconnectOnOpen()},it=on(tt,"error",st);if(this._timeout!==!1){const at=this._timeout,ot=this.setTimeoutFn(()=>{rt(),st(new Error("timeout")),tt.close()},at);this.opts.autoUnref&&ot.unref(),this.subs.push(()=>{this.clearTimeoutFn(ot)})}return this.subs.push(rt),this.subs.push(it),this}connect(_e){return this.open(_e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const _e=this.engine;this.subs.push(on(_e,"ping",this.onping.bind(this)),on(_e,"data",this.ondata.bind(this)),on(_e,"error",this.onerror.bind(this)),on(_e,"close",this.onclose.bind(this)),on(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(_e){try{this.decoder.add(_e)}catch(tt){this.onclose("parse error",tt)}}ondecoded(_e){nextTick(()=>{this.emitReserved("packet",_e)},this.setTimeoutFn)}onerror(_e){this.emitReserved("error",_e)}socket(_e,tt){let nt=this.nsps[_e];return nt?this._autoConnect&&!nt.active&&nt.connect():(nt=new Socket(this,_e,tt),this.nsps[_e]=nt),nt}_destroy(_e){const tt=Object.keys(this.nsps);for(const nt of tt)if(this.nsps[nt].active)return;this._close()}_packet(_e){const tt=this.encoder.encode(_e);for(let nt=0;nt_e()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(_e,tt){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",_e,tt),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const _e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const tt=this.backoff.duration();this._reconnecting=!0;const nt=this.setTimeoutFn(()=>{_e.skipReconnect||(this.emitReserved("reconnect_attempt",_e.backoff.attempts),!_e.skipReconnect&&_e.open(rt=>{rt?(_e._reconnecting=!1,_e.reconnect(),this.emitReserved("reconnect_error",rt)):_e.onreconnect()}))},tt);this.opts.autoUnref&&nt.unref(),this.subs.push(()=>{this.clearTimeoutFn(nt)})}}onreconnect(){const _e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",_e)}}const cache={};function lookup(et,_e){typeof et=="object"&&(_e=et,et=void 0),_e=_e||{};const tt=url(et,_e.path||"/socket.io"),nt=tt.source,rt=tt.id,st=tt.path,it=cache[rt]&&st in cache[rt].nsps,at=_e.forceNew||_e["force new connection"]||_e.multiplex===!1||it;let ot;return at?ot=new Manager(nt,_e):(cache[rt]||(cache[rt]=new Manager(nt,_e)),ot=cache[rt]),tt.query&&!_e.query&&(_e.query=tt.queryKey),ot.socket(tt.path,_e)}Object.assign(lookup,{Manager,Socket,io:lookup,connect:lookup});const vr=class vr{constructor(){yn(this,"io");yn(this,"connected");yn(this,"namespace");this.io=null,this.connected=0,this.namespace=""}static getInstance(){return vr.instance}connect(_e){if(this.connected>0)return;const tt={}.VITE_IS_DEVELOPMENT==="true"?`${{}.VITE_SIO_URL}/${_e}`:`https://push.${window.location.hostname}/${_e}`;this.namespace=_e,this.io=lookup(tt,{transports:["polling","websocket"]}),this.io.on("question",nt=>{let rt=null;try{rt=JSON.parse(nt).payload}catch{console.log("Unable to decode SIO message.");return}if(rt.type==="new"){const st=this.getKnownQuestionIds();for(const it of rt.questions)st.includes(it.id)||store$1.dispatch(PortalSlice.actions.appendQuestion(it));store$1.dispatch(PortalSlice.actions.setQuestionEnd(rt.endtime))}else rt.type==="expired"?store$1.dispatch(PortalSlice.actions.expireQuestions()):rt.type==="answer"&&this.getKnownQuestionIds().includes(rt.id)&&store$1.dispatch(PortalSlice.actions.setAnswer({id:rt.id,value:rt.value}))}),this.io.on("chat",nt=>{let rt=null;try{rt=JSON.parse(nt).payload}catch{console.log("Unable to decode SIO message.");return}if(this.namespace==="backoffice")switch(rt.target){case 1:store$1.dispatch(SupportChatSlice.actions.addMessage({key:"public",message:rt}));break;case 2:store$1.dispatch(SupportChatSlice.actions.addMessage({key:rt.team_id,message:rt}));break}else switch(rt.target){case 0:store$1.dispatch(PortalSlice.actions.addTeamChatMessage(rt));break;case 1:store$1.dispatch(PortalSlice.actions.addPublicChatMessage(rt));break;case 2:store$1.dispatch(PortalSlice.actions.addSupportChatMessage(rt));break}}),this.io.on("action",nt=>{let rt=null;try{rt=JSON.parse(nt).payload}catch{console.log("Unable to decode SIO message.");return}if(this.namespace==="OSD")switch(rt.type){case"showimage":store$1.dispatch(OsdSlice.actions.setImageContent(rt.data)),store$1.dispatch(OsdSlice.actions.setShowImage(!0));break;case"hideimage":store$1.dispatch(OsdSlice.actions.setShowImage(!1)),store$1.dispatch(OsdSlice.actions.setShowStats(!1)),setTimeout(()=>{store$1.dispatch(OsdSlice.actions.setImageContent("")),store$1.dispatch(OsdSlice.actions.setStats({}))},1e3);break;case"showtimer":store$1.dispatch(OsdSlice.actions.setTimer({minutes:rt.minutes,seconds:rt.seconds}));break;case"hidetimer":store$1.dispatch(OsdSlice.actions.setTimer({minutes:0,seconds:-1}));break;case"showquestion":store$1.dispatch(OsdSlice.actions.setQuestion(rt.question)),store$1.dispatch(OsdSlice.actions.setTitle(rt.title));try{const st=JSON.parse(rt.options);st&&st.length>0&&store$1.dispatch(OsdSlice.actions.setOptions(st))}catch(st){console.log("Unable to decode options: "+st)}store$1.dispatch(OsdSlice.actions.setShowQuestion(!0));break;case"hidequestion":store$1.dispatch(OsdSlice.actions.setShowQuestion(!1)),setTimeout(()=>{store$1.dispatch(OsdSlice.actions.setQuestion("")),store$1.dispatch(OsdSlice.actions.setOptions([])),store$1.dispatch(OsdSlice.actions.setCorrect(-1))},1e3);break;case"markcorrect":store$1.dispatch(OsdSlice.actions.setCorrect(rt.correct));break;case"showstats":store$1.dispatch(OsdSlice.actions.setStats(rt.statistics)),store$1.dispatch(OsdSlice.actions.setShowStats(!0)),store$1.dispatch(OsdSlice.actions.setShowImage(!0));break}}),this.io.on("connect",()=>{console.log("[SIO] Debug: Connected."),this.connected=1,store$1.dispatch(PortalSlice.actions.setConnected(!0))}),this.io.on("connect_error",()=>{console.log("[SIO] Debug: Connection error."),this.connected=0,store$1.dispatch(PortalSlice.actions.setConnected(!1))}),this.io.on("disconnect",nt=>{console.log("[SIO] Debug: Disconnected because of "+nt+"."),this.connected=2,store$1.dispatch(PortalSlice.actions.setConnected(!1))})}disconnect(){var _e;(_e=this.io)==null||_e.disconnect()}getConnectionState(){return this.connected>0}getKnownQuestionIds(){const _e=[];for(const tt of store$1.getState().portal.questionsLive)_e.push(tt.id);return _e}};yn(vr,"instance");let SIOService=vr;const validImageTypes=["image/jpeg","image/png","image/jpeg","image/webp","image/gif"],maxImageFileSize=6291456;var ChatMessageType=(et=>(et[et.text=0]="text",et[et.image=1]="image",et))(ChatMessageType||{});const Portal=()=>{const{livestreamLoading:et,livestreamUrl:_e,scoreboardLoading:tt,scoreboardQuestions:nt,scoreboardTeams:rt,questionsLoading:st,questionsLive:it,questionEnd:at,chatSelected:ot,chatLoadingPublic:lt,chatLoadingSupport:ct,chatLoadingTeam:ut,chatsPublic:dt,chatsSupport:ft,chatsTeam:pt,chatsReadPublic:ht,chatsReadSupport:vt,chatsReadTeam:gt,teamUuid:mt,nickname:bt}=useSelector(jt=>jt.portal),xt=reactExports.useRef(null),yt=reactExports.useRef(null),[$t,wt]=reactExports.useState(""),[Ct,Et]=reactExports.useState(""),[Mt,St]=reactExports.useState(""),[Rt,Pt]=reactExports.useState(""),[kt,_t]=reactExports.useState(""),Bt=reactExports.useRef(null),It=useDispatch();reactExports.useEffect(()=>(It(loadLivestreamUrl()),It(loadScoreboard()),It(loadQuestions$1()),It(getTeamId()),It(loadChatMessages({type:"public",before:null})),It(loadChatMessages({type:"support",before:null})),It(loadChatMessages({type:"team",before:null})),It(PortalSlice.actions.setChatsReadPublic(new Date().getTime()/1e3)),It(PortalSlice.actions.setChatsReadSupport(new Date().getTime()/1e3)),It(PortalSlice.actions.setChatsReadTeam(new Date().getTime()/1e3)),xt.current=setInterval(()=>{It(loadScoreboard())},6e4),()=>{xt.current!==null&&clearInterval(xt.current),SIOService.getInstance().disconnect()}),[]),reactExports.useEffect(()=>{mt!==""&&(SIOService.getInstance().getConnectionState()||SIOService.getInstance().connect(mt))},[mt]),reactExports.useEffect(()=>{const jt=new Date(at*1e3);wt(`${addLeadingZeros(jt.getHours())}:${addLeadingZeros(jt.getMinutes())}:${addLeadingZeros(jt.getSeconds())}`);const Ht=new Date;at*1e3>Ht.getTime()?(yt.current!==null&&clearInterval(yt.current),yt.current=setInterval(()=>{const Ft=new Date,Vt=new Date(jt.getTime()-Ft.getTime());jt.getTime()>=Ft.getTime()?Vt.getMinutes()>0?Et(`${addLeadingZeros(Vt.getMinutes())} ${Vt.getMinutes()===1?"Minute":"Minuten"} und ${addLeadingZeros(Vt.getSeconds())} ${Vt.getSeconds()===1?"Sekunde":"Sekunden"}`):Et(`${addLeadingZeros(Vt.getSeconds())} ${Vt.getSeconds()===1?"Sekunde":"Sekunden"}`):Et("")},1e3)):yt.current!==null&&(clearInterval(yt.current),yt.current=null)},[at]),reactExports.useEffect(()=>{const jt=document.getElementById("messages-own-scrollhook-public");jt!==null&&jt.scroll({top:jt.scrollHeight,left:0,behavior:"smooth"})},[dt]),reactExports.useEffect(()=>{const jt=document.getElementById("messages-own-scrollhook-support");jt!==null&&jt.scroll({top:jt.scrollHeight,left:0,behavior:"smooth"})},[ft]),reactExports.useEffect(()=>{const jt=document.getElementById("messages-own-scrollhook-team");jt!==null&&jt.scroll({top:jt.scrollHeight,left:0,behavior:"smooth"})},[pt]);const At=jt=>{switch(jt){case"public":return dt;case"support":return ft;case"team":return pt}},Tt=(jt,Ht)=>{const Ft=At(jt);return Ht===Ft.length-1?!0:Ft[Ht].sender!==Ft[Ht+1].sender},Dt=(jt,Ht)=>{const Ft=At(jt);return Ft[Ht].sender===bt?!1:Ht===0?!0:Ft[Ht].sender!==Ft[Ht-1].sender},Nt=(jt,Ht)=>{const Ft=At(jt);return Ht===0?!0:Ft[Ht].time_sent-Ft[Ht-1].time_sent>2*60},Ot=jt=>{if(jt.target&&jt.target.files){const Ht=jt.target.files[0];console.log(Ht.type),validImageTypes.includes(Ht.type)?Ht.size>maxImageFileSize?f7.dialog.create({title:"Datei zu groß",text:"Maximal 6MB erlaubt.",buttons:[{text:"OK"}]}).open():(f7.dialog.preloader("Bild senden..."),Lt(Ht)):f7.dialog.create({title:"Dateityp nicht unterstützt",text:"Es werden nur Bilder in den Formaten JPG, PNG, WEBP und GIF unterstützt.",buttons:[{text:"OK"}]}).open()}},Lt=jt=>{const Ht=new FileReader;Ht.onload=Ft=>{if(Ft&&Ft.target){const Vt=new FormData;Vt.append("file",jt),ApiService.uploadFile(Vt).then(zt=>{f7.dialog.close(),It(sendChatMessage({type:ot,data:{content:zt.url,type:1}}))}).catch(zt=>{console.log(zt),f7.dialog.close(),f7.dialog.create({title:"Dateiupload fehlgeschlagen",text:"Bitte erneut versuchen",buttons:[{text:"OK"}]}).open()})}},Ht.readAsDataURL(jt)};return jsxRuntimeExports.jsxs(Page,{name:"portal",className:"dark-background-page",children:[jsxRuntimeExports.jsx(Navbar,{title:"Quizzmaster Portal",className:"dark"}),jsxRuntimeExports.jsx(Toolbar,{bottom:!0,outline:!1,className:"dark",children:jsxRuntimeExports.jsx(Footer,{})}),jsxRuntimeExports.jsx(VideoBackground,{}),jsxRuntimeExports.jsx(Block,{className:"portal-block",children:jsxRuntimeExports.jsxs("div",{className:"grid grid-cols-3 grid-gap",children:[jsxRuntimeExports.jsxs("div",{className:"portal-container-divider",children:[jsxRuntimeExports.jsxs("div",{className:"portal-container portal-container-top",children:[et&&jsxRuntimeExports.jsxs("div",{className:"portal-container-loading",children:[jsxRuntimeExports.jsx(Preloader,{size:42}),jsxRuntimeExports.jsx("p",{children:"LADEN..."})]}),!et&&jsxRuntimeExports.jsx("iframe",{src:_e,title:"Livestream",allow:"autoplay;",style:{border:"none",width:"100%",minHeight:"250px"}})]}),jsxRuntimeExports.jsxs("div",{className:"portal-container portal-container-remainingheight",children:[tt&&jsxRuntimeExports.jsxs("div",{className:"portal-container-loading",children:[jsxRuntimeExports.jsx(Preloader,{size:42}),jsxRuntimeExports.jsx("p",{children:"LADEN..."})]}),!tt&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(BlockTitle,{className:"portal-no-margin",children:"Scoreboard"}),jsxRuntimeExports.jsx(ScoreboardTable,{questions:nt,teams:rt,isSmall:!0})]})]})]}),jsxRuntimeExports.jsxs("div",{className:"portal-container portal-container-fullheight",children:[st&&jsxRuntimeExports.jsxs("div",{className:"portal-container-loading",children:[jsxRuntimeExports.jsx(Preloader,{size:42}),jsxRuntimeExports.jsx("p",{children:"LADEN..."})]}),!st&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[it.length===0&&jsxRuntimeExports.jsxs("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column"},children:[jsxRuntimeExports.jsx("img",{src:"/icons/hat.png",alt:"Hat",style:{width:"150px"}}),jsxRuntimeExports.jsx("p",{children:"Im Moment sind keine Fragen gestellt."})]}),it.length>0&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(BlockTitle,{style:{margin:0},children:"Aktuelle Fragen:"}),jsxRuntimeExports.jsx("p",{style:{margin:0},children:"Endzeit: "+$t}),jsxRuntimeExports.jsx("p",{style:{margin:0,marginBottom:"5px"},children:"Verbleibend: "+Ct}),jsxRuntimeExports.jsx(Card,{raised:!0,style:{margin:0},children:jsxRuntimeExports.jsxs(CardContent,{style:{display:"flex"},children:[jsxRuntimeExports.jsx(Icon,{f7:"exclamationmark_triangle_fill",style:{marginRight:"10px"}}),'Achtung: Die Zeitangaben basieren auf der Lokalzeit deines Computers und können ungenau sein. Es ist ratsam, die Antworten nicht "kurz vor knapp" zu speichern.']})}),it.map((jt,Ht)=>jsxRuntimeExports.jsxs(React.Fragment,{children:[jsxRuntimeExports.jsx("p",{style:{marginBottom:"2px",marginTop:"5px"},children:jt.category+" - Frage "+jt.displayId+" | "+jt.maxPoints+" Punkte"}),jsxRuntimeExports.jsx(BlockTitle,{style:{margin:0},className:"question-title-multiline",children:jt.question}),(jt.type===QuestionType.text||jt.type===QuestionType.custom||jt.type===QuestionType.external)&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(List,{strongIos:!0,dividersIos:!0,insetIos:!0,style:{marginLeft:0,marginRight:0,marginBottom:0,marginTop:"4px"},children:jsxRuntimeExports.jsx(ListInput,{type:"text",placeholder:"Eure Antwort",clearButton:!0,inputId:"live-question-input-"+Ht})}),jt.answer===""&&jsxRuntimeExports.jsx("p",{style:{marginTop:"5px",marginBottom:0},children:"Antwort: (keine gespeichert)"}),jt.answer!==""&&jsxRuntimeExports.jsx("p",{style:{marginTop:"5px",marginBottom:0},children:"Antwort: "+jt.answer}),jsxRuntimeExports.jsx(Button,{onClick:()=>{const Ft=document.getElementById("live-question-input-"+Ht).value;It(setAnswer({questionId:jt.id,answer:Ft}))},children:"Speichern"})]}),(jt.type===QuestionType.multipleChoice||jt.type===QuestionType.customMc)&&jsxRuntimeExports.jsx(List,{strongIos:!0,dividersIos:!0,insetIos:!0,style:{marginLeft:0,marginRight:0,marginBottom:"16px",marginTop:"4px"},children:jt.options.map((Ft,Vt)=>jsxRuntimeExports.jsx(ListItem,{radio:!0,value:Ft,name:"live-question-container-"+Ht+"-options",radioIcon:"start",checked:jt.answer===Vt.toString(),title:Ft,onClick:()=>{It(setAnswer({questionId:jt.id,answer:Vt.toString()}))}},"live-question-container-"+Ht+"-option-"+Vt))}),jt.type===QuestionType.trueFalse&&jsxRuntimeExports.jsxs(List,{strongIos:!0,dividersIos:!0,insetIos:!0,style:{marginLeft:0,marginRight:0,marginBottom:"16px",marginTop:"4px"},children:[jsxRuntimeExports.jsx(ListItem,{radio:!0,value:"true",name:"live-question-container-"+Ht+"-options",radioIcon:"start",checked:jt.answer==="0",title:"Wahr",onClick:()=>{It(setAnswer({questionId:jt.id,answer:"0"}))}},"live-question-container-"+Ht+"-option-true"),jsxRuntimeExports.jsx(ListItem,{radio:!0,value:"false",name:"live-question-container-"+Ht+"-options",radioIcon:"start",title:"Falsch",checked:jt.answer==="1",onClick:()=>{It(setAnswer({questionId:jt.id,answer:"1"}))}},"live-question-container-"+Ht+"-option-true")]}),Ht{It(PortalSlice.actions.setChatSelected("public")),It(PortalSlice.actions.setChatsReadPublic(new Date().getTime()/1e3))},children:["PLENUM"," ",dt.length>1&&htjt.time_sent>ht).length})]}),jsxRuntimeExports.jsxs(Button,{active:ot==="support",onClick:()=>{It(PortalSlice.actions.setChatSelected("support")),It(PortalSlice.actions.setChatsReadSupport(new Date().getTime()/1e3))},children:["SUPPORT"," ",ft.length>1&&vtjt.time_sent>vt).length})]}),jsxRuntimeExports.jsxs(Button,{active:ot==="team",onClick:()=>{It(PortalSlice.actions.setChatSelected("team")),It(PortalSlice.actions.setChatsReadTeam(new Date().getTime()/1e3))},children:["TEAM"," ",pt.length>1&>jt.time_sent>gt).length})]})]}),ot==="public"&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[lt&&jsxRuntimeExports.jsxs("div",{className:"portal-container-loading",children:[jsxRuntimeExports.jsx(Preloader,{size:42}),jsxRuntimeExports.jsx("p",{children:"LADEN..."})]}),!lt&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Messages,{scrollMessagesOnEdge:!1,id:"messages-own-scrollhook-public",className:"messages-portal",children:dt.map((jt,Ht)=>jsxRuntimeExports.jsxs(React.Fragment,{children:[Nt("public",Ht)&&jsxRuntimeExports.jsx(MessagesTitle,{children:parseTimestamp(jt.time_sent)}),jt.type===ChatMessageType.text&&jsxRuntimeExports.jsx(Message,{name:jt.sender,type:jt.sender===bt?"sent":"received",tail:Tt("public",Ht),first:Dt("public",Ht),children:jt.content}),jt.type===ChatMessageType.image&&jsxRuntimeExports.jsx(Message,{name:jt.sender,type:jt.sender===bt?"sent":"received",tail:Tt("public",Ht),first:Dt("public",Ht),image:`${ApiService.getFileEndpoint()}/file/${jt.content}`})]},"chat-public-"+jt.id))}),jsxRuntimeExports.jsxs(Messagebar,{placeholder:"Nachricht",style:{background:"none",backdropFilter:"none"},value:Mt,onInput:jt=>St(jt.target.value),children:[jsxRuntimeExports.jsx(Link,{iconIos:"f7:camera_fill",slot:"inner-start",onClick:()=>{Bt.current&&Bt.current.click()}}),jsxRuntimeExports.jsx(Link,{iconIos:"f7:arrow_up_circle_fill",slot:"inner-end",onClick:()=>{Mt===""?f7.dialog.create({title:"Bitte gib eine Nachricht ein.",buttons:[{text:"OK"}]}):(It(sendChatMessage({type:"public",data:{content:Mt,type:0}})),St(""))}})]})]})]}),ot==="support"&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[ct&&jsxRuntimeExports.jsxs("div",{className:"portal-container-loading",children:[jsxRuntimeExports.jsx(Preloader,{size:42}),jsxRuntimeExports.jsx("p",{children:"LADEN..."})]}),!ct&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Messages,{scrollMessagesOnEdge:!1,id:"messages-own-scrollhook-support",className:"messages-portal",children:ft.map((jt,Ht)=>jsxRuntimeExports.jsxs(React.Fragment,{children:[Nt("support",Ht)&&jsxRuntimeExports.jsx(MessagesTitle,{children:parseTimestamp(jt.time_sent)}),jt.type===ChatMessageType.text&&jsxRuntimeExports.jsx(Message,{name:jt.sender,type:jt.sender===bt?"sent":"received",tail:Tt("support",Ht),first:Dt("support",Ht),children:jt.content}),jt.type===ChatMessageType.image&&jsxRuntimeExports.jsx(Message,{name:jt.sender,type:jt.sender===bt?"sent":"received",tail:Tt("support",Ht),first:Dt("support",Ht),image:`${ApiService.getFileEndpoint()}/file/${jt.content}`})]},"chat-support-"+jt.id))}),jsxRuntimeExports.jsxs(Messagebar,{placeholder:"Nachricht",style:{background:"none",backdropFilter:"none"},value:Rt,onInput:jt=>Pt(jt.target.value),children:[jsxRuntimeExports.jsx(Link,{iconIos:"f7:camera_fill",slot:"inner-start",onClick:()=>{Bt.current&&Bt.current.click()}}),jsxRuntimeExports.jsx(Link,{iconIos:"f7:arrow_up_circle_fill",slot:"inner-end",onClick:()=>{Rt===""?f7.dialog.create({title:"Bitte gib eine Nachricht ein.",buttons:[{text:"OK"}]}):(It(sendChatMessage({type:"support",data:{content:Rt,type:0}})),Pt(""))}})]})]})]}),ot==="team"&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[ut&&jsxRuntimeExports.jsxs("div",{className:"portal-container-loading",children:[jsxRuntimeExports.jsx(Preloader,{size:42}),jsxRuntimeExports.jsx("p",{children:"LADEN..."})]}),!ut&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Messages,{scrollMessagesOnEdge:!1,id:"messages-own-scrollhook-team",className:"messages-portal",children:pt.map((jt,Ht)=>jsxRuntimeExports.jsxs(React.Fragment,{children:[Nt("team",Ht)&&jsxRuntimeExports.jsx(MessagesTitle,{children:parseTimestamp(jt.time_sent)}),jt.type===ChatMessageType.text&&jsxRuntimeExports.jsx(Message,{name:jt.sender,type:jt.sender===bt?"sent":"received",tail:Tt("team",Ht),first:Dt("team",Ht),children:jt.content}),jt.type===ChatMessageType.image&&jsxRuntimeExports.jsx(Message,{name:jt.sender,type:jt.sender===bt?"sent":"received",tail:Tt("team",Ht),first:Dt("team",Ht),image:`${ApiService.getFileEndpoint()}/file/${jt.content}`})]},"chat-team-"+jt.id))}),jsxRuntimeExports.jsxs(Messagebar,{placeholder:"Nachricht",style:{background:"none",backdropFilter:"none"},value:kt,onInput:jt=>_t(jt.target.value),children:[jsxRuntimeExports.jsx(Link,{iconIos:"f7:camera_fill",slot:"inner-start",onClick:()=>{Bt.current&&Bt.current.click()}}),jsxRuntimeExports.jsx(Link,{iconIos:"f7:arrow_up_circle_fill",slot:"inner-end",onClick:()=>{kt===""?f7.dialog.create({title:"Bitte gib eine Nachricht ein.",buttons:[{text:"OK"}]}):(It(sendChatMessage({type:"team",data:{content:kt,type:0}})),_t(""))}})]})]})]})]})]})})]})},SupportChatPage=()=>{const{loading:et,messages:_e,selected:tt,nickname:nt}=useSelector(ft=>ft.supportchat),[rt,st]=reactExports.useState(""),it=reactExports.useRef(null),at=useDispatch();reactExports.useEffect(()=>(at(loadSupportChatMessages()),SIOService.getInstance().getConnectionState()||SIOService.getInstance().connect("backoffice"),()=>{SIOService.getInstance().disconnect()}),[]),reactExports.useEffect(()=>{const ft=document.getElementById("messages-own-scrollhook");ft!==null&&ft.scroll({top:ft.scrollHeight,left:0,behavior:"smooth"})},[_e]);const ot=ft=>{const pt=_e[tt].messages;return ft===pt.length-1?!0:pt[ft].sender!==pt[ft+1].sender},lt=ft=>{const pt=_e[tt].messages;return pt[ft].sender===nt?!1:ft===0?!0:pt[ft].sender!==pt[ft-1].sender},ct=ft=>{const pt=_e[tt].messages;return ft===0?!0:pt[ft].time_sent-pt[ft-1].time_sent>2*60},ut=ft=>{if(ft.target&&ft.target.files){const pt=ft.target.files[0];console.log(pt.type),validImageTypes.includes(pt.type)?pt.size>maxImageFileSize?f7.dialog.create({title:"Datei zu groß",text:"Maximal 6MB erlaubt.",buttons:[{text:"OK"}]}).open():(f7.dialog.preloader("Bild senden..."),dt(pt)):f7.dialog.create({title:"Dateityp nicht unterstützt",text:"Es werden nur Bilder in den Formaten JPG, PNG, WEBP und GIF unterstützt.",buttons:[{text:"OK"}]}).open()}},dt=ft=>{const pt=new FileReader;pt.onload=ht=>{if(ht&&ht.target){const vt=new FormData;vt.append("file",ft),ApiService.uploadFile(vt).then(gt=>{at(sendSupportChatMessage({type:tt,data:{content:gt.url,type:1}}))}).catch(gt=>{console.log(gt),f7.dialog.close(),f7.dialog.create({title:"Dateiupload fehlgeschlagen",text:"Bitte erneut versuchen",buttons:[{text:"OK"}]}).open()})}},pt.readAsDataURL(ft)};return jsxRuntimeExports.jsxs(Page,{name:"backoffice-supportchat",className:"dark",children:[jsxRuntimeExports.jsx(Navbar,{title:"Supportchat",className:"dark",backLink:"Backoffice",large:!0}),jsxRuntimeExports.jsx(Toolbar,{bottom:!0,outline:!1,className:"dark",children:jsxRuntimeExports.jsx(Footer,{})}),et&&jsxRuntimeExports.jsxs("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",height:"100%",minHeight:"300px"},children:[jsxRuntimeExports.jsx(Preloader,{size:42}),jsxRuntimeExports.jsx("p",{children:"LADEN..."})]}),!et&&jsxRuntimeExports.jsxs("div",{style:{display:"flex",height:"100%"},children:[jsxRuntimeExports.jsx("input",{type:"file",style:{display:"none"},ref:it,onChange:ut}),jsxRuntimeExports.jsx(List,{dividersIos:!0,outlineIos:!0,strongIos:!0,style:{minWidth:"25%",overflowY:"scroll",maxHeight:"100vh",marginTop:0,marginBottom:0},children:Object.keys(_e).map((ft,pt)=>jsxRuntimeExports.jsx(ListItem,{header:_e[ft].name,title:_e[ft].displayId,className:ft===tt?"chat-list-selected":"",badge:_e[ft].messages.filter(ht=>ht.time_sent>(_e[ft].lastInteraction===void 0?0:_e[ft].lastInteraction)).length,badgeColor:"red",onClick:()=>{at(SupportChatSlice.actions.setSelected(ft))}},"list-"+pt))}),jsxRuntimeExports.jsxs(Block,{style:{minWidth:"75%",overflowY:"scroll",maxHeight:"100vh",marginTop:0,marginBottom:0},children:[jsxRuntimeExports.jsx(Messages,{scrollMessagesOnEdge:!1,id:"messages-own-scrollhook",style:{height:"calc(100% - 50px)",minHeight:"0px",overflowY:"auto"},children:_e[tt].messages.map((ft,pt)=>jsxRuntimeExports.jsxs(React.Fragment,{children:[ct(pt)&&jsxRuntimeExports.jsx(MessagesTitle,{children:parseTimestamp(ft.time_sent)}),ft.type===ChatMessageType.text&&jsxRuntimeExports.jsx(Message,{name:ft.sender,type:ft.sender===nt?"sent":"received",tail:ot(pt),first:lt(pt),children:ft.content}),ft.type===ChatMessageType.image&&jsxRuntimeExports.jsx(Message,{name:ft.sender,type:ft.sender===nt?"sent":"received",tail:ot(pt),first:lt(pt),image:`${ApiService.getFileEndpoint()}/file/${ft.content}`})]},"chat-"+ft.id))}),jsxRuntimeExports.jsxs(Messagebar,{placeholder:"Nachricht",value:rt,onInput:ft=>st(ft.target.value),className:"messagebar-backoffice",children:[jsxRuntimeExports.jsx(Link,{iconIos:"f7:camera_fill",slot:"inner-start",onClick:()=>{it.current&&it.current.click()}}),jsxRuntimeExports.jsx(Link,{iconIos:"f7:arrow_up_circle_fill",slot:"inner-end",onClick:()=>{rt===""?f7.dialog.create({title:"Bitte gib eine Nachricht ein.",buttons:[{text:"OK"}]}):(at(sendSupportChatMessage({type:tt,data:{content:rt,type:0}})),st(""))}})]})]})]})]})},OsdPage=()=>{const{questions:et}=useSelector(at=>at.questions),{images:_e}=useSelector(at=>at.osdcontrol),[tt,nt]=reactExports.useState(0),[rt,st]=reactExports.useState(0),it=useDispatch();return reactExports.useEffect(()=>{it(loadQuestions$2()),it(loadOsdImages())},[]),jsxRuntimeExports.jsxs(Page,{name:"backoffice-osd",className:"dark",children:[jsxRuntimeExports.jsx(Navbar,{title:"OSD Control Panel",className:"dark",backLink:"Backoffice",large:!0}),jsxRuntimeExports.jsx(Toolbar,{bottom:!0,outline:!1,className:"dark",children:jsxRuntimeExports.jsx(Footer,{})}),jsxRuntimeExports.jsx(BlockTitle,{children:"Timer"}),jsxRuntimeExports.jsxs(List,{strongIos:!0,dividersIos:!0,insetIos:!0,children:[jsxRuntimeExports.jsx(ListInput,{label:"Minuten",type:"number",placeholder:"10",clearButton:!0,value:tt,onChange:at=>{nt(at.target.value)}}),jsxRuntimeExports.jsx(ListInput,{label:"Sekunden",type:"number",placeholder:"10",clearButton:!0,value:rt,onChange:at=>{st(at.target.value)}})]}),jsxRuntimeExports.jsxs(Block,{inset:!0,children:[jsxRuntimeExports.jsx(Button,{fill:!0,raised:!0,style:{marginBottom:"10px"},onClick:()=>{ApiService.osdCommand({type:"showtimer",minutes:tt,seconds:rt})},children:"Zeigen"}),jsxRuntimeExports.jsx(Button,{fill:!0,raised:!0,onClick:()=>{ApiService.osdCommand({type:"hidetimer"})},children:"Verstecken"})]}),jsxRuntimeExports.jsx(BlockTitle,{children:"Fragen"}),jsxRuntimeExports.jsx(Block,{inset:!0,children:jsxRuntimeExports.jsx(Button,{fill:!0,raised:!0,onClick:()=>{ApiService.osdCommand({type:"hidequestion"})},children:"Frage verstecken"})}),et.map((at,ot)=>jsxRuntimeExports.jsxs(Block,{inset:!0,style:{display:"flex",marginTop:"2px",marginBottom:"2px"},children:[jsxRuntimeExports.jsxs("p",{children:[jsxRuntimeExports.jsxs("b",{children:["Frage ",at.displayId,": "]}),at.question]}),jsxRuntimeExports.jsx(Button,{fill:!0,raised:!0,onClick:()=>{ApiService.osdCommand({type:"showquestion",id:at.id})},style:{marginLeft:"10px"},children:"Zeigen"}),at.type===QuestionType.multipleChoice&&jsxRuntimeExports.jsx(Button,{fill:!0,raised:!0,onClick:()=>{ApiService.osdCommand({type:"markcorrect",id:at.id})},style:{marginLeft:"10px"},children:"Korrekte Antwort markieren"}),(at.type===QuestionType.trueFalse||at.type===QuestionType.multipleChoice)&&jsxRuntimeExports.jsx(Button,{fill:!0,raised:!0,onClick:()=>{ApiService.osdCommand({type:"showstats",id:at.id})},style:{marginLeft:"10px"},children:"Statistik zeigen"})]},"question-"+ot)),jsxRuntimeExports.jsx(BlockTitle,{children:"Bilder"}),jsxRuntimeExports.jsx(Block,{inset:!0,children:jsxRuntimeExports.jsx(Button,{fill:!0,raised:!0,onClick:()=>{ApiService.osdCommand({type:"hideimage"})},children:"Bild verstecken"})}),_e.map((at,ot)=>jsxRuntimeExports.jsxs(Block,{inset:!0,style:{display:"flex",marginTop:"2px",marginBottom:"2px"},children:[jsxRuntimeExports.jsxs("p",{children:[jsxRuntimeExports.jsxs("b",{children:["Bild ",ot+1,": "]}),at]}),jsxRuntimeExports.jsx(Button,{fill:!0,raised:!0,onClick:()=>{ApiService.osdCommand({type:"showimage",name:at})},style:{marginLeft:"10px"},children:"Zeigen"})]},"image-"+ot))]})};/*! + * @kurkle/color v0.3.2 + * https://github.com/kurkle/color#readme + * (c) 2023 Jukka Kurkela + * Released under the MIT License + */function round(et){return et+.5|0}const lim=(et,_e,tt)=>Math.max(Math.min(et,tt),_e);function p2b(et){return lim(round(et*2.55),0,255)}function b2p(et){return lim(round(et/2.55),0,100)}function n2b(et){return lim(round(et*255),0,255)}function b2n(et){return lim(round(et/2.55)/100,0,1)}function n2p(et){return lim(round(et*100),0,100)}const map$1={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},hex=[..."0123456789ABCDEF"],h1=et=>hex[et&15],h2=et=>hex[(et&240)>>4]+hex[et&15],eq=et=>(et&240)>>4===(et&15),isShort=et=>eq(et.r)&&eq(et.g)&&eq(et.b)&&eq(et.a);function hexParse(et){var _e=et.length,tt;return et[0]==="#"&&(_e===4||_e===5?tt={r:255&map$1[et[1]]*17,g:255&map$1[et[2]]*17,b:255&map$1[et[3]]*17,a:_e===5?map$1[et[4]]*17:255}:(_e===7||_e===9)&&(tt={r:map$1[et[1]]<<4|map$1[et[2]],g:map$1[et[3]]<<4|map$1[et[4]],b:map$1[et[5]]<<4|map$1[et[6]],a:_e===9?map$1[et[7]]<<4|map$1[et[8]]:255})),tt}const alpha=(et,_e)=>et<255?_e(et):"";function hexString(et){var _e=isShort(et)?h1:h2;return et?"#"+_e(et.r)+_e(et.g)+_e(et.b)+alpha(et.a,_e):void 0}const HUE_RE=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function hsl2rgbn(et,_e,tt){const nt=_e*Math.min(tt,1-tt),rt=(st,it=(st+et/30)%12)=>tt-nt*Math.max(Math.min(it-3,9-it,1),-1);return[rt(0),rt(8),rt(4)]}function hsv2rgbn(et,_e,tt){const nt=(rt,st=(rt+et/60)%6)=>tt-tt*_e*Math.max(Math.min(st,4-st,1),0);return[nt(5),nt(3),nt(1)]}function hwb2rgbn(et,_e,tt){const nt=hsl2rgbn(et,1,.5);let rt;for(_e+tt>1&&(rt=1/(_e+tt),_e*=rt,tt*=rt),rt=0;rt<3;rt++)nt[rt]*=1-_e-tt,nt[rt]+=_e;return nt}function hueValue(et,_e,tt,nt,rt){return et===rt?(_e-tt)/nt+(_e.5?ct/(2-st-it):ct/(st+it),ot=hueValue(tt,nt,rt,ct,st),ot=ot*60+.5),[ot|0,lt||0,at]}function calln(et,_e,tt,nt){return(Array.isArray(_e)?et(_e[0],_e[1],_e[2]):et(_e,tt,nt)).map(n2b)}function hsl2rgb(et,_e,tt){return calln(hsl2rgbn,et,_e,tt)}function hwb2rgb(et,_e,tt){return calln(hwb2rgbn,et,_e,tt)}function hsv2rgb(et,_e,tt){return calln(hsv2rgbn,et,_e,tt)}function hue(et){return(et%360+360)%360}function hueParse(et){const _e=HUE_RE.exec(et);let tt=255,nt;if(!_e)return;_e[5]!==nt&&(tt=_e[6]?p2b(+_e[5]):n2b(+_e[5]));const rt=hue(+_e[2]),st=+_e[3]/100,it=+_e[4]/100;return _e[1]==="hwb"?nt=hwb2rgb(rt,st,it):_e[1]==="hsv"?nt=hsv2rgb(rt,st,it):nt=hsl2rgb(rt,st,it),{r:nt[0],g:nt[1],b:nt[2],a:tt}}function rotate(et,_e){var tt=rgb2hsl(et);tt[0]=hue(tt[0]+_e),tt=hsl2rgb(tt),et.r=tt[0],et.g=tt[1],et.b=tt[2]}function hslString(et){if(!et)return;const _e=rgb2hsl(et),tt=_e[0],nt=n2p(_e[1]),rt=n2p(_e[2]);return et.a<255?`hsla(${tt}, ${nt}%, ${rt}%, ${b2n(et.a)})`:`hsl(${tt}, ${nt}%, ${rt}%)`}const map$2={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},names$1={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function unpack(){const et={},_e=Object.keys(names$1),tt=Object.keys(map$2);let nt,rt,st,it,at;for(nt=0;nt<_e.length;nt++){for(it=at=_e[nt],rt=0;rt>16&255,st>>8&255,st&255]}return et}let names;function nameParse(et){names||(names=unpack(),names.transparent=[0,0,0,0]);const _e=names[et.toLowerCase()];return _e&&{r:_e[0],g:_e[1],b:_e[2],a:_e.length===4?_e[3]:255}}const RGB_RE=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function rgbParse(et){const _e=RGB_RE.exec(et);let tt=255,nt,rt,st;if(_e){if(_e[7]!==nt){const it=+_e[7];tt=_e[8]?p2b(it):lim(it*255,0,255)}return nt=+_e[1],rt=+_e[3],st=+_e[5],nt=255&(_e[2]?p2b(nt):lim(nt,0,255)),rt=255&(_e[4]?p2b(rt):lim(rt,0,255)),st=255&(_e[6]?p2b(st):lim(st,0,255)),{r:nt,g:rt,b:st,a:tt}}}function rgbString(et){return et&&(et.a<255?`rgba(${et.r}, ${et.g}, ${et.b}, ${b2n(et.a)})`:`rgb(${et.r}, ${et.g}, ${et.b})`)}const to=et=>et<=.0031308?et*12.92:Math.pow(et,1/2.4)*1.055-.055,from=et=>et<=.04045?et/12.92:Math.pow((et+.055)/1.055,2.4);function interpolate$1(et,_e,tt){const nt=from(b2n(et.r)),rt=from(b2n(et.g)),st=from(b2n(et.b));return{r:n2b(to(nt+tt*(from(b2n(_e.r))-nt))),g:n2b(to(rt+tt*(from(b2n(_e.g))-rt))),b:n2b(to(st+tt*(from(b2n(_e.b))-st))),a:et.a+tt*(_e.a-et.a)}}function modHSL(et,_e,tt){if(et){let nt=rgb2hsl(et);nt[_e]=Math.max(0,Math.min(nt[_e]+nt[_e]*tt,_e===0?360:1)),nt=hsl2rgb(nt),et.r=nt[0],et.g=nt[1],et.b=nt[2]}}function clone$1(et,_e){return et&&Object.assign(_e||{},et)}function fromObject(et){var _e={r:0,g:0,b:0,a:255};return Array.isArray(et)?et.length>=3&&(_e={r:et[0],g:et[1],b:et[2],a:255},et.length>3&&(_e.a=n2b(et[3]))):(_e=clone$1(et,{r:0,g:0,b:0,a:1}),_e.a=n2b(_e.a)),_e}function functionParse(et){return et.charAt(0)==="r"?rgbParse(et):hueParse(et)}class Color{constructor(_e){if(_e instanceof Color)return _e;const tt=typeof _e;let nt;tt==="object"?nt=fromObject(_e):tt==="string"&&(nt=hexParse(_e)||nameParse(_e)||functionParse(_e)),this._rgb=nt,this._valid=!!nt}get valid(){return this._valid}get rgb(){var _e=clone$1(this._rgb);return _e&&(_e.a=b2n(_e.a)),_e}set rgb(_e){this._rgb=fromObject(_e)}rgbString(){return this._valid?rgbString(this._rgb):void 0}hexString(){return this._valid?hexString(this._rgb):void 0}hslString(){return this._valid?hslString(this._rgb):void 0}mix(_e,tt){if(_e){const nt=this.rgb,rt=_e.rgb;let st;const it=tt===st?.5:tt,at=2*it-1,ot=nt.a-rt.a,lt=((at*ot===-1?at:(at+ot)/(1+at*ot))+1)/2;st=1-lt,nt.r=255<*nt.r+st*rt.r+.5,nt.g=255<*nt.g+st*rt.g+.5,nt.b=255<*nt.b+st*rt.b+.5,nt.a=it*nt.a+(1-it)*rt.a,this.rgb=nt}return this}interpolate(_e,tt){return _e&&(this._rgb=interpolate$1(this._rgb,_e._rgb,tt)),this}clone(){return new Color(this.rgb)}alpha(_e){return this._rgb.a=n2b(_e),this}clearer(_e){const tt=this._rgb;return tt.a*=1-_e,this}greyscale(){const _e=this._rgb,tt=round(_e.r*.3+_e.g*.59+_e.b*.11);return _e.r=_e.g=_e.b=tt,this}opaquer(_e){const tt=this._rgb;return tt.a*=1+_e,this}negate(){const _e=this._rgb;return _e.r=255-_e.r,_e.g=255-_e.g,_e.b=255-_e.b,this}lighten(_e){return modHSL(this._rgb,2,_e),this}darken(_e){return modHSL(this._rgb,2,-_e),this}saturate(_e){return modHSL(this._rgb,1,_e),this}desaturate(_e){return modHSL(this._rgb,1,-_e),this}rotate(_e){return rotate(this._rgb,_e),this}}function index_esm(et){return new Color(et)}/*! + * Chart.js v4.4.0 + * https://www.chartjs.org + * (c) 2023 Chart.js Contributors + * Released under the MIT License + */function noop(){}const uid=(()=>{let et=0;return()=>et++})();function isNullOrUndef(et){return et===null||typeof et>"u"}function isArray(et){if(Array.isArray&&Array.isArray(et))return!0;const _e=Object.prototype.toString.call(et);return _e.slice(0,7)==="[object"&&_e.slice(-6)==="Array]"}function isObject(et){return et!==null&&Object.prototype.toString.call(et)==="[object Object]"}function isNumberFinite(et){return(typeof et=="number"||et instanceof Number)&&isFinite(+et)}function finiteOrDefault(et,_e){return isNumberFinite(et)?et:_e}function valueOrDefault(et,_e){return typeof et>"u"?_e:et}const toPercentage=(et,_e)=>typeof et=="string"&&et.endsWith("%")?parseFloat(et)/100:+et/_e,toDimension=(et,_e)=>typeof et=="string"&&et.endsWith("%")?parseFloat(et)/100*_e:+et;function callback(et,_e,tt){if(et&&typeof et.call=="function")return et.apply(tt,_e)}function each(et,_e,tt,nt){let rt,st,it;if(isArray(et))if(st=et.length,nt)for(rt=st-1;rt>=0;rt--)_e.call(tt,et[rt],rt);else for(rt=0;rtet,x:et=>et.x,y:et=>et.y};function _splitKey(et){const _e=et.split("."),tt=[];let nt="";for(const rt of _e)nt+=rt,nt.endsWith("\\")?nt=nt.slice(0,-1)+".":(tt.push(nt),nt="");return tt}function _getKeyResolver(et){const _e=_splitKey(et);return tt=>{for(const nt of _e){if(nt==="")break;tt=tt&&tt[nt]}return tt}}function resolveObjectKey(et,_e){return(keyResolvers[_e]||(keyResolvers[_e]=_getKeyResolver(_e)))(et)}function _capitalize(et){return et.charAt(0).toUpperCase()+et.slice(1)}const defined=et=>typeof et<"u",isFunction=et=>typeof et=="function",setsEqual=(et,_e)=>{if(et.size!==_e.size)return!1;for(const tt of et)if(!_e.has(tt))return!1;return!0};function _isClickEvent(et){return et.type==="mouseup"||et.type==="click"||et.type==="contextmenu"}const PI=Math.PI,TAU=2*PI,PITAU=TAU+PI,INFINITY=Number.POSITIVE_INFINITY,RAD_PER_DEG=PI/180,HALF_PI=PI/2,QUARTER_PI=PI/4,TWO_THIRDS_PI=PI*2/3,log10=Math.log10,sign=Math.sign;function almostEquals(et,_e,tt){return Math.abs(et-_e)rt-st).pop(),_e}function isNumber(et){return!isNaN(parseFloat(et))&&isFinite(et)}function almostWhole(et,_e){const tt=Math.round(et);return tt-_e<=et&&tt+_e>=et}function _setMinAndMaxByKey(et,_e,tt){let nt,rt,st;for(nt=0,rt=et.length;ntot&<=Math.min(_e,tt)-nt&&et<=Math.max(_e,tt)+nt}function _lookup(et,_e,tt){tt=tt||(it=>et[it]<_e);let nt=et.length-1,rt=0,st;for(;nt-rt>1;)st=rt+nt>>1,tt(st)?rt=st:nt=st;return{lo:rt,hi:nt}}const _lookupByKey=(et,_e,tt,nt)=>_lookup(et,tt,nt?rt=>{const st=et[rt][_e];return stet[rt][_e]_lookup(et,tt,nt=>et[nt][_e]>=tt);function _filterBetween(et,_e,tt){let nt=0,rt=et.length;for(;ntnt&&et[rt-1]>tt;)rt--;return nt>0||rt{const nt="_onData"+_capitalize(tt),rt=et[tt];Object.defineProperty(et,tt,{configurable:!0,enumerable:!1,value(...st){const it=rt.apply(this,st);return et._chartjs.listeners.forEach(at=>{typeof at[nt]=="function"&&at[nt](...st)}),it}})})}function unlistenArrayEvents(et,_e){const tt=et._chartjs;if(!tt)return;const nt=tt.listeners,rt=nt.indexOf(_e);rt!==-1&&nt.splice(rt,1),!(nt.length>0)&&(arrayEvents.forEach(st=>{delete et[st]}),delete et._chartjs)}function _arrayUnique(et){const _e=new Set(et);return _e.size===et.length?et:Array.from(_e)}function fontString(et,_e,tt){return _e+" "+et+"px "+tt}const requestAnimFrame=function(){return typeof window>"u"?function(et){return et()}:window.requestAnimationFrame}();function throttled(et,_e){let tt=[],nt=!1;return function(...rt){tt=rt,nt||(nt=!0,requestAnimFrame.call(window,()=>{nt=!1,et.apply(_e,tt)}))}}function debounce(et,_e){let tt;return function(...nt){return _e?(clearTimeout(tt),tt=setTimeout(et,_e,nt)):et.apply(this,nt),_e}}const _toLeftRightCenter=et=>et==="start"?"left":et==="end"?"right":"center",_alignStartEnd=(et,_e,tt)=>et==="start"?_e:et==="end"?tt:(_e+tt)/2,_textX=(et,_e,tt,nt)=>et===(nt?"left":"right")?tt:et==="center"?(_e+tt)/2:_e;function _getStartAndCountOfVisiblePoints(et,_e,tt){const nt=_e.length;let rt=0,st=nt;if(et._sorted){const{iScale:it,_parsed:at}=et,ot=it.axis,{min:lt,max:ct,minDefined:ut,maxDefined:dt}=it.getUserBounds();ut&&(rt=_limitValue(Math.min(_lookupByKey(at,ot,lt).lo,tt?nt:_lookupByKey(_e,ot,it.getPixelForValue(lt)).lo),0,nt-1)),dt?st=_limitValue(Math.max(_lookupByKey(at,it.axis,ct,!0).hi+1,tt?0:_lookupByKey(_e,ot,it.getPixelForValue(ct),!0).hi+1),rt,nt)-rt:st=nt-rt}return{start:rt,count:st}}function _scaleRangesChanged(et){const{xScale:_e,yScale:tt,_scaleRanges:nt}=et,rt={xmin:_e.min,xmax:_e.max,ymin:tt.min,ymax:tt.max};if(!nt)return et._scaleRanges=rt,!0;const st=nt.xmin!==_e.min||nt.xmax!==_e.max||nt.ymin!==tt.min||nt.ymax!==tt.max;return Object.assign(nt,rt),st}const atEdge=et=>et===0||et===1,elasticIn=(et,_e,tt)=>-(Math.pow(2,10*(et-=1))*Math.sin((et-_e)*TAU/tt)),elasticOut=(et,_e,tt)=>Math.pow(2,-10*et)*Math.sin((et-_e)*TAU/tt)+1,effects={linear:et=>et,easeInQuad:et=>et*et,easeOutQuad:et=>-et*(et-2),easeInOutQuad:et=>(et/=.5)<1?.5*et*et:-.5*(--et*(et-2)-1),easeInCubic:et=>et*et*et,easeOutCubic:et=>(et-=1)*et*et+1,easeInOutCubic:et=>(et/=.5)<1?.5*et*et*et:.5*((et-=2)*et*et+2),easeInQuart:et=>et*et*et*et,easeOutQuart:et=>-((et-=1)*et*et*et-1),easeInOutQuart:et=>(et/=.5)<1?.5*et*et*et*et:-.5*((et-=2)*et*et*et-2),easeInQuint:et=>et*et*et*et*et,easeOutQuint:et=>(et-=1)*et*et*et*et+1,easeInOutQuint:et=>(et/=.5)<1?.5*et*et*et*et*et:.5*((et-=2)*et*et*et*et+2),easeInSine:et=>-Math.cos(et*HALF_PI)+1,easeOutSine:et=>Math.sin(et*HALF_PI),easeInOutSine:et=>-.5*(Math.cos(PI*et)-1),easeInExpo:et=>et===0?0:Math.pow(2,10*(et-1)),easeOutExpo:et=>et===1?1:-Math.pow(2,-10*et)+1,easeInOutExpo:et=>atEdge(et)?et:et<.5?.5*Math.pow(2,10*(et*2-1)):.5*(-Math.pow(2,-10*(et*2-1))+2),easeInCirc:et=>et>=1?et:-(Math.sqrt(1-et*et)-1),easeOutCirc:et=>Math.sqrt(1-(et-=1)*et),easeInOutCirc:et=>(et/=.5)<1?-.5*(Math.sqrt(1-et*et)-1):.5*(Math.sqrt(1-(et-=2)*et)+1),easeInElastic:et=>atEdge(et)?et:elasticIn(et,.075,.3),easeOutElastic:et=>atEdge(et)?et:elasticOut(et,.075,.3),easeInOutElastic(et){return atEdge(et)?et:et<.5?.5*elasticIn(et*2,.1125,.45):.5+.5*elasticOut(et*2-1,.1125,.45)},easeInBack(et){return et*et*((1.70158+1)*et-1.70158)},easeOutBack(et){return(et-=1)*et*((1.70158+1)*et+1.70158)+1},easeInOutBack(et){let _e=1.70158;return(et/=.5)<1?.5*(et*et*(((_e*=1.525)+1)*et-_e)):.5*((et-=2)*et*(((_e*=1.525)+1)*et+_e)+2)},easeInBounce:et=>1-effects.easeOutBounce(1-et),easeOutBounce(et){return et<1/2.75?7.5625*et*et:et<2/2.75?7.5625*(et-=1.5/2.75)*et+.75:et<2.5/2.75?7.5625*(et-=2.25/2.75)*et+.9375:7.5625*(et-=2.625/2.75)*et+.984375},easeInOutBounce:et=>et<.5?effects.easeInBounce(et*2)*.5:effects.easeOutBounce(et*2-1)*.5+.5};function isPatternOrGradient(et){if(et&&typeof et=="object"){const _e=et.toString();return _e==="[object CanvasPattern]"||_e==="[object CanvasGradient]"}return!1}function color(et){return isPatternOrGradient(et)?et:new Color(et)}function getHoverColor(et){return isPatternOrGradient(et)?et:new Color(et).saturate(.5).darken(.1).hexString()}const numbers=["x","y","borderWidth","radius","tension"],colors=["color","borderColor","backgroundColor"];function applyAnimationsDefaults(et){et.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),et.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:_e=>_e!=="onProgress"&&_e!=="onComplete"&&_e!=="fn"}),et.set("animations",{colors:{type:"color",properties:colors},numbers:{type:"number",properties:numbers}}),et.describe("animations",{_fallback:"animation"}),et.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:_e=>_e|0}}}})}function applyLayoutsDefaults(et){et.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const intlCache=new Map;function getNumberFormat(et,_e){_e=_e||{};const tt=et+JSON.stringify(_e);let nt=intlCache.get(tt);return nt||(nt=new Intl.NumberFormat(et,_e),intlCache.set(tt,nt)),nt}function formatNumber(et,_e,tt){return getNumberFormat(_e,tt).format(et)}const formatters={values(et){return isArray(et)?et:""+et},numeric(et,_e,tt){if(et===0)return"0";const nt=this.chart.options.locale;let rt,st=et;if(tt.length>1){const lt=Math.max(Math.abs(tt[0].value),Math.abs(tt[tt.length-1].value));(lt<1e-4||lt>1e15)&&(rt="scientific"),st=calculateDelta(et,tt)}const it=log10(Math.abs(st)),at=isNaN(it)?1:Math.max(Math.min(-1*Math.floor(it),20),0),ot={notation:rt,minimumFractionDigits:at,maximumFractionDigits:at};return Object.assign(ot,this.options.ticks.format),formatNumber(et,nt,ot)},logarithmic(et,_e,tt){if(et===0)return"0";const nt=tt[_e].significand||et/Math.pow(10,Math.floor(log10(et)));return[1,2,3,5,10,15].includes(nt)||_e>.8*tt.length?formatters.numeric.call(this,et,_e,tt):""}};function calculateDelta(et,_e){let tt=_e.length>3?_e[2].value-_e[1].value:_e[1].value-_e[0].value;return Math.abs(tt)>=1&&et!==Math.floor(et)&&(tt=et-Math.floor(et)),tt}var Ticks={formatters};function applyScaleDefaults(et){et.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(_e,tt)=>tt.lineWidth,tickColor:(_e,tt)=>tt.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Ticks.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),et.route("scale.ticks","color","","color"),et.route("scale.grid","color","","borderColor"),et.route("scale.border","color","","borderColor"),et.route("scale.title","color","","color"),et.describe("scale",{_fallback:!1,_scriptable:_e=>!_e.startsWith("before")&&!_e.startsWith("after")&&_e!=="callback"&&_e!=="parser",_indexable:_e=>_e!=="borderDash"&&_e!=="tickBorderDash"&&_e!=="dash"}),et.describe("scales",{_fallback:"scale"}),et.describe("scale.ticks",{_scriptable:_e=>_e!=="backdropPadding"&&_e!=="callback",_indexable:_e=>_e!=="backdropPadding"})}const overrides=Object.create(null),descriptors=Object.create(null);function getScope$1(et,_e){if(!_e)return et;const tt=_e.split(".");for(let nt=0,rt=tt.length;ntnt.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(nt,rt)=>getHoverColor(rt.backgroundColor),this.hoverBorderColor=(nt,rt)=>getHoverColor(rt.borderColor),this.hoverColor=(nt,rt)=>getHoverColor(rt.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(_e),this.apply(tt)}set(_e,tt){return set(this,_e,tt)}get(_e){return getScope$1(this,_e)}describe(_e,tt){return set(descriptors,_e,tt)}override(_e,tt){return set(overrides,_e,tt)}route(_e,tt,nt,rt){const st=getScope$1(this,_e),it=getScope$1(this,nt),at="_"+tt;Object.defineProperties(st,{[at]:{value:st[tt],writable:!0},[tt]:{enumerable:!0,get(){const ot=this[at],lt=it[rt];return isObject(ot)?Object.assign({},lt,ot):valueOrDefault(ot,lt)},set(ot){this[at]=ot}}})}apply(_e){_e.forEach(tt=>tt(this))}}var defaults=new Defaults({_scriptable:et=>!et.startsWith("on"),_indexable:et=>et!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[applyAnimationsDefaults,applyLayoutsDefaults,applyScaleDefaults]);function toFontString(et){return!et||isNullOrUndef(et.size)||isNullOrUndef(et.family)?null:(et.style?et.style+" ":"")+(et.weight?et.weight+" ":"")+et.size+"px "+et.family}function _measureText(et,_e,tt,nt,rt){let st=_e[rt];return st||(st=_e[rt]=et.measureText(rt).width,tt.push(rt)),st>nt&&(nt=st),nt}function _longestText(et,_e,tt,nt){nt=nt||{};let rt=nt.data=nt.data||{},st=nt.garbageCollect=nt.garbageCollect||[];nt.font!==_e&&(rt=nt.data={},st=nt.garbageCollect=[],nt.font=_e),et.save(),et.font=_e;let it=0;const at=tt.length;let ot,lt,ct,ut,dt;for(ot=0;ottt.length){for(ot=0;ot0&&et.stroke()}}function _isPointInArea(et,_e,tt){return tt=tt||.5,!_e||et&&et.x>_e.left-tt&&et.x<_e.right+tt&&et.y>_e.top-tt&&et.y<_e.bottom+tt}function clipArea(et,_e){et.save(),et.beginPath(),et.rect(_e.left,_e.top,_e.right-_e.left,_e.bottom-_e.top),et.clip()}function unclipArea(et){et.restore()}function _steppedLineTo(et,_e,tt,nt,rt){if(!_e)return et.lineTo(tt.x,tt.y);if(rt==="middle"){const st=(_e.x+tt.x)/2;et.lineTo(st,_e.y),et.lineTo(st,tt.y)}else rt==="after"!=!!nt?et.lineTo(_e.x,tt.y):et.lineTo(tt.x,_e.y);et.lineTo(tt.x,tt.y)}function _bezierCurveTo(et,_e,tt,nt){if(!_e)return et.lineTo(tt.x,tt.y);et.bezierCurveTo(nt?_e.cp1x:_e.cp2x,nt?_e.cp1y:_e.cp2y,nt?tt.cp2x:tt.cp1x,nt?tt.cp2y:tt.cp1y,tt.x,tt.y)}function setRenderOpts(et,_e){_e.translation&&et.translate(_e.translation[0],_e.translation[1]),isNullOrUndef(_e.rotation)||et.rotate(_e.rotation),_e.color&&(et.fillStyle=_e.color),_e.textAlign&&(et.textAlign=_e.textAlign),_e.textBaseline&&(et.textBaseline=_e.textBaseline)}function decorateText(et,_e,tt,nt,rt){if(rt.strikethrough||rt.underline){const st=et.measureText(nt),it=_e-st.actualBoundingBoxLeft,at=_e+st.actualBoundingBoxRight,ot=tt-st.actualBoundingBoxAscent,lt=tt+st.actualBoundingBoxDescent,ct=rt.strikethrough?(ot+lt)/2:lt;et.strokeStyle=et.fillStyle,et.beginPath(),et.lineWidth=rt.decorationWidth||2,et.moveTo(it,ct),et.lineTo(at,ct),et.stroke()}}function drawBackdrop(et,_e){const tt=et.fillStyle;et.fillStyle=_e.color,et.fillRect(_e.left,_e.top,_e.width,_e.height),et.fillStyle=tt}function renderText(et,_e,tt,nt,rt,st={}){const it=isArray(_e)?_e:[_e],at=st.strokeWidth>0&&st.strokeColor!=="";let ot,lt;for(et.save(),et.font=rt.string,setRenderOpts(et,st),ot=0;ot+et||0;function _readValueToProps(et,_e){const tt={},nt=isObject(_e),rt=nt?Object.keys(_e):_e,st=isObject(et)?nt?it=>valueOrDefault(et[it],et[_e[it]]):it=>et[it]:()=>et;for(const it of rt)tt[it]=numberOrZero(st(it));return tt}function toTRBL(et){return _readValueToProps(et,{top:"y",right:"x",bottom:"y",left:"x"})}function toTRBLCorners(et){return _readValueToProps(et,["topLeft","topRight","bottomLeft","bottomRight"])}function toPadding(et){const _e=toTRBL(et);return _e.width=_e.left+_e.right,_e.height=_e.top+_e.bottom,_e}function toFont(et,_e){et=et||{},_e=_e||defaults.font;let tt=valueOrDefault(et.size,_e.size);typeof tt=="string"&&(tt=parseInt(tt,10));let nt=valueOrDefault(et.style,_e.style);nt&&!(""+nt).match(FONT_STYLE)&&(console.warn('Invalid font style specified: "'+nt+'"'),nt=void 0);const rt={family:valueOrDefault(et.family,_e.family),lineHeight:toLineHeight(valueOrDefault(et.lineHeight,_e.lineHeight),tt),size:tt,style:nt,weight:valueOrDefault(et.weight,_e.weight),string:""};return rt.string=toFontString(rt),rt}function resolve(et,_e,tt,nt){let rt=!0,st,it,at;for(st=0,it=et.length;sttt&&at===0?0:at+ot;return{min:it(nt,-Math.abs(st)),max:it(rt,st)}}function createContext(et,_e){return Object.assign(Object.create(et),_e)}function _createResolver(et,_e=[""],tt,nt,rt=()=>et[0]){const st=tt||et;typeof nt>"u"&&(nt=_resolve("_fallback",et));const it={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:et,_rootScopes:st,_fallback:nt,_getTarget:rt,override:at=>_createResolver([at,...et],_e,st,nt)};return new Proxy(it,{deleteProperty(at,ot){return delete at[ot],delete at._keys,delete et[0][ot],!0},get(at,ot){return _cached(at,ot,()=>_resolveWithPrefixes(ot,_e,et,at))},getOwnPropertyDescriptor(at,ot){return Reflect.getOwnPropertyDescriptor(at._scopes[0],ot)},getPrototypeOf(){return Reflect.getPrototypeOf(et[0])},has(at,ot){return getKeysFromAllScopes(at).includes(ot)},ownKeys(at){return getKeysFromAllScopes(at)},set(at,ot,lt){const ct=at._storage||(at._storage=rt());return at[ot]=ct[ot]=lt,delete at._keys,!0}})}function _attachContext(et,_e,tt,nt){const rt={_cacheable:!1,_proxy:et,_context:_e,_subProxy:tt,_stack:new Set,_descriptors:_descriptors(et,nt),setContext:st=>_attachContext(et,st,tt,nt),override:st=>_attachContext(et.override(st),_e,tt,nt)};return new Proxy(rt,{deleteProperty(st,it){return delete st[it],delete et[it],!0},get(st,it,at){return _cached(st,it,()=>_resolveWithContext(st,it,at))},getOwnPropertyDescriptor(st,it){return st._descriptors.allKeys?Reflect.has(et,it)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(et,it)},getPrototypeOf(){return Reflect.getPrototypeOf(et)},has(st,it){return Reflect.has(et,it)},ownKeys(){return Reflect.ownKeys(et)},set(st,it,at){return et[it]=at,delete st[it],!0}})}function _descriptors(et,_e={scriptable:!0,indexable:!0}){const{_scriptable:tt=_e.scriptable,_indexable:nt=_e.indexable,_allKeys:rt=_e.allKeys}=et;return{allKeys:rt,scriptable:tt,indexable:nt,isScriptable:isFunction(tt)?tt:()=>tt,isIndexable:isFunction(nt)?nt:()=>nt}}const readKey=(et,_e)=>et?et+_capitalize(_e):_e,needsSubResolver=(et,_e)=>isObject(_e)&&et!=="adapters"&&(Object.getPrototypeOf(_e)===null||_e.constructor===Object);function _cached(et,_e,tt){if(Object.prototype.hasOwnProperty.call(et,_e))return et[_e];const nt=tt();return et[_e]=nt,nt}function _resolveWithContext(et,_e,tt){const{_proxy:nt,_context:rt,_subProxy:st,_descriptors:it}=et;let at=nt[_e];return isFunction(at)&&it.isScriptable(_e)&&(at=_resolveScriptable(_e,at,et,tt)),isArray(at)&&at.length&&(at=_resolveArray(_e,at,et,it.isIndexable)),needsSubResolver(_e,at)&&(at=_attachContext(at,rt,st&&st[_e],it)),at}function _resolveScriptable(et,_e,tt,nt){const{_proxy:rt,_context:st,_subProxy:it,_stack:at}=tt;if(at.has(et))throw new Error("Recursion detected: "+Array.from(at).join("->")+"->"+et);at.add(et);let ot=_e(st,it||nt);return at.delete(et),needsSubResolver(et,ot)&&(ot=createSubResolver(rt._scopes,rt,et,ot)),ot}function _resolveArray(et,_e,tt,nt){const{_proxy:rt,_context:st,_subProxy:it,_descriptors:at}=tt;if(typeof st.index<"u"&&nt(et))return _e[st.index%_e.length];if(isObject(_e[0])){const ot=_e,lt=rt._scopes.filter(ct=>ct!==ot);_e=[];for(const ct of ot){const ut=createSubResolver(lt,rt,et,ct);_e.push(_attachContext(ut,st,it&&it[et],at))}}return _e}function resolveFallback(et,_e,tt){return isFunction(et)?et(_e,tt):et}const getScope=(et,_e)=>et===!0?_e:typeof et=="string"?resolveObjectKey(_e,et):void 0;function addScopes(et,_e,tt,nt,rt){for(const st of _e){const it=getScope(tt,st);if(it){et.add(it);const at=resolveFallback(it._fallback,tt,rt);if(typeof at<"u"&&at!==tt&&at!==nt)return at}else if(it===!1&&typeof nt<"u"&&tt!==nt)return null}return!1}function createSubResolver(et,_e,tt,nt){const rt=_e._rootScopes,st=resolveFallback(_e._fallback,tt,nt),it=[...et,...rt],at=new Set;at.add(nt);let ot=addScopesFromKey(at,it,tt,st||tt,nt);return ot===null||typeof st<"u"&&st!==tt&&(ot=addScopesFromKey(at,it,st,ot,nt),ot===null)?!1:_createResolver(Array.from(at),[""],rt,st,()=>subGetTarget(_e,tt,nt))}function addScopesFromKey(et,_e,tt,nt,rt){for(;tt;)tt=addScopes(et,_e,tt,nt,rt);return tt}function subGetTarget(et,_e,tt){const nt=et._getTarget();_e in nt||(nt[_e]={});const rt=nt[_e];return isArray(rt)&&isObject(tt)?tt:rt||{}}function _resolveWithPrefixes(et,_e,tt,nt){let rt;for(const st of _e)if(rt=_resolve(readKey(st,et),tt),typeof rt<"u")return needsSubResolver(et,rt)?createSubResolver(tt,nt,et,rt):rt}function _resolve(et,_e){for(const tt of _e){if(!tt)continue;const nt=tt[et];if(typeof nt<"u")return nt}}function getKeysFromAllScopes(et){let _e=et._keys;return _e||(_e=et._keys=resolveKeysFromAllScopes(et._scopes)),_e}function resolveKeysFromAllScopes(et){const _e=new Set;for(const tt of et)for(const nt of Object.keys(tt).filter(rt=>!rt.startsWith("_")))_e.add(nt);return Array.from(_e)}function _parseObjectDataRadialScale(et,_e,tt,nt){const{iScale:rt}=et,{key:st="r"}=this._parsing,it=new Array(nt);let at,ot,lt,ct;for(at=0,ot=nt;at_eet==="x"?"y":"x";function splineCurve(et,_e,tt,nt){const rt=et.skip?_e:et,st=_e,it=tt.skip?_e:tt,at=distanceBetweenPoints(st,rt),ot=distanceBetweenPoints(it,st);let lt=at/(at+ot),ct=ot/(at+ot);lt=isNaN(lt)?0:lt,ct=isNaN(ct)?0:ct;const ut=nt*lt,dt=nt*ct;return{previous:{x:st.x-ut*(it.x-rt.x),y:st.y-ut*(it.y-rt.y)},next:{x:st.x+dt*(it.x-rt.x),y:st.y+dt*(it.y-rt.y)}}}function monotoneAdjust(et,_e,tt){const nt=et.length;let rt,st,it,at,ot,lt=getPoint(et,0);for(let ct=0;ct!lt.skip)),_e.cubicInterpolationMode==="monotone")splineCurveMonotone(et,rt);else{let lt=nt?et[et.length-1]:et[0];for(st=0,it=et.length;stet.ownerDocument.defaultView.getComputedStyle(et,null);function getStyle(et,_e){return getComputedStyle$1(et).getPropertyValue(_e)}const positions=["top","right","bottom","left"];function getPositionedStyle(et,_e,tt){const nt={};tt=tt?"-"+tt:"";for(let rt=0;rt<4;rt++){const st=positions[rt];nt[st]=parseFloat(et[_e+"-"+st+tt])||0}return nt.width=nt.left+nt.right,nt.height=nt.top+nt.bottom,nt}const useOffsetPos=(et,_e,tt)=>(et>0||_e>0)&&(!tt||!tt.shadowRoot);function getCanvasPosition(et,_e){const tt=et.touches,nt=tt&&tt.length?tt[0]:et,{offsetX:rt,offsetY:st}=nt;let it=!1,at,ot;if(useOffsetPos(rt,st,et.target))at=rt,ot=st;else{const lt=_e.getBoundingClientRect();at=nt.clientX-lt.left,ot=nt.clientY-lt.top,it=!0}return{x:at,y:ot,box:it}}function getRelativePosition(et,_e){if("native"in et)return et;const{canvas:tt,currentDevicePixelRatio:nt}=_e,rt=getComputedStyle$1(tt),st=rt.boxSizing==="border-box",it=getPositionedStyle(rt,"padding"),at=getPositionedStyle(rt,"border","width"),{x:ot,y:lt,box:ct}=getCanvasPosition(et,tt),ut=it.left+(ct&&at.left),dt=it.top+(ct&&at.top);let{width:ft,height:pt}=_e;return st&&(ft-=it.width+at.width,pt-=it.height+at.height),{x:Math.round((ot-ut)/ft*tt.width/nt),y:Math.round((lt-dt)/pt*tt.height/nt)}}function getContainerSize(et,_e,tt){let nt,rt;if(_e===void 0||tt===void 0){const st=_getParentNode(et);if(!st)_e=et.clientWidth,tt=et.clientHeight;else{const it=st.getBoundingClientRect(),at=getComputedStyle$1(st),ot=getPositionedStyle(at,"border","width"),lt=getPositionedStyle(at,"padding");_e=it.width-lt.width-ot.width,tt=it.height-lt.height-ot.height,nt=parseMaxStyle(at.maxWidth,st,"clientWidth"),rt=parseMaxStyle(at.maxHeight,st,"clientHeight")}}return{width:_e,height:tt,maxWidth:nt||INFINITY,maxHeight:rt||INFINITY}}const round1=et=>Math.round(et*10)/10;function getMaximumSize(et,_e,tt,nt){const rt=getComputedStyle$1(et),st=getPositionedStyle(rt,"margin"),it=parseMaxStyle(rt.maxWidth,et,"clientWidth")||INFINITY,at=parseMaxStyle(rt.maxHeight,et,"clientHeight")||INFINITY,ot=getContainerSize(et,_e,tt);let{width:lt,height:ct}=ot;if(rt.boxSizing==="content-box"){const dt=getPositionedStyle(rt,"border","width"),ft=getPositionedStyle(rt,"padding");lt-=ft.width+dt.width,ct-=ft.height+dt.height}return lt=Math.max(0,lt-st.width),ct=Math.max(0,nt?lt/nt:ct-st.height),lt=round1(Math.min(lt,it,ot.maxWidth)),ct=round1(Math.min(ct,at,ot.maxHeight)),lt&&!ct&&(ct=round1(lt/2)),(_e!==void 0||tt!==void 0)&&nt&&ot.height&&ct>ot.height&&(ct=ot.height,lt=round1(Math.floor(ct*nt))),{width:lt,height:ct}}function retinaScale(et,_e,tt){const nt=_e||1,rt=Math.floor(et.height*nt),st=Math.floor(et.width*nt);et.height=Math.floor(et.height),et.width=Math.floor(et.width);const it=et.canvas;return it.style&&(tt||!it.style.height&&!it.style.width)&&(it.style.height=`${et.height}px`,it.style.width=`${et.width}px`),et.currentDevicePixelRatio!==nt||it.height!==rt||it.width!==st?(et.currentDevicePixelRatio=nt,it.height=rt,it.width=st,et.ctx.setTransform(nt,0,0,nt,0,0),!0):!1}const supportsEventListenerOptions=function(){let et=!1;try{const _e={get passive(){return et=!0,!1}};window.addEventListener("test",null,_e),window.removeEventListener("test",null,_e)}catch{}return et}();function readUsedSize(et,_e){const tt=getStyle(et,_e),nt=tt&&tt.match(/^(\d+)(\.\d+)?px$/);return nt?+nt[1]:void 0}function _pointInLine(et,_e,tt,nt){return{x:et.x+tt*(_e.x-et.x),y:et.y+tt*(_e.y-et.y)}}function _steppedInterpolation(et,_e,tt,nt){return{x:et.x+tt*(_e.x-et.x),y:nt==="middle"?tt<.5?et.y:_e.y:nt==="after"?tt<1?et.y:_e.y:tt>0?_e.y:et.y}}function _bezierInterpolation(et,_e,tt,nt){const rt={x:et.cp2x,y:et.cp2y},st={x:_e.cp1x,y:_e.cp1y},it=_pointInLine(et,rt,tt),at=_pointInLine(rt,st,tt),ot=_pointInLine(st,_e,tt),lt=_pointInLine(it,at,tt),ct=_pointInLine(at,ot,tt);return _pointInLine(lt,ct,tt)}const getRightToLeftAdapter=function(et,_e){return{x(tt){return et+et+_e-tt},setWidth(tt){_e=tt},textAlign(tt){return tt==="center"?tt:tt==="right"?"left":"right"},xPlus(tt,nt){return tt-nt},leftForLtr(tt,nt){return tt-nt}}},getLeftToRightAdapter=function(){return{x(et){return et},setWidth(et){},textAlign(et){return et},xPlus(et,_e){return et+_e},leftForLtr(et,_e){return et}}};function getRtlAdapter(et,_e,tt){return et?getRightToLeftAdapter(_e,tt):getLeftToRightAdapter()}function overrideTextDirection(et,_e){let tt,nt;(_e==="ltr"||_e==="rtl")&&(tt=et.canvas.style,nt=[tt.getPropertyValue("direction"),tt.getPropertyPriority("direction")],tt.setProperty("direction",_e,"important"),et.prevTextDirection=nt)}function restoreTextDirection(et,_e){_e!==void 0&&(delete et.prevTextDirection,et.canvas.style.setProperty("direction",_e[0],_e[1]))}function propertyFn(et){return et==="angle"?{between:_angleBetween,compare:_angleDiff,normalize:_normalizeAngle}:{between:_isBetween,compare:(_e,tt)=>_e-tt,normalize:_e=>_e}}function normalizeSegment({start:et,end:_e,count:tt,loop:nt,style:rt}){return{start:et%tt,end:_e%tt,loop:nt&&(_e-et+1)%tt===0,style:rt}}function getSegment(et,_e,tt){const{property:nt,start:rt,end:st}=tt,{between:it,normalize:at}=propertyFn(nt),ot=_e.length;let{start:lt,end:ct,loop:ut}=et,dt,ft;if(ut){for(lt+=ot,ct+=ot,dt=0,ft=ot;dtot(rt,bt,gt)&&at(rt,bt)!==0,yt=()=>at(st,gt)===0||ot(st,bt,gt),$t=()=>ht||xt(),wt=()=>!ht||yt();for(let Ct=ct,Et=ct;Ct<=ut;++Ct)mt=_e[Ct%it],!mt.skip&&(gt=lt(mt[nt]),gt!==bt&&(ht=ot(gt,rt,st),vt===null&&$t()&&(vt=at(gt,rt)===0?Ct:Et),vt!==null&&wt()&&(pt.push(normalizeSegment({start:vt,end:Ct,loop:dt,count:it,style:ft})),vt=null),Et=Ct,bt=gt));return vt!==null&&pt.push(normalizeSegment({start:vt,end:ut,loop:dt,count:it,style:ft})),pt}function _boundSegments(et,_e){const tt=[],nt=et.segments;for(let rt=0;rtrt&&et[st%_e].skip;)st--;return st%=_e,{start:rt,end:st}}function solidSegments(et,_e,tt,nt){const rt=et.length,st=[];let it=_e,at=et[_e],ot;for(ot=_e+1;ot<=tt;++ot){const lt=et[ot%rt];lt.skip||lt.stop?at.skip||(nt=!1,st.push({start:_e%rt,end:(ot-1)%rt,loop:nt}),_e=it=lt.stop?ot:null):(it=ot,at.skip&&(_e=ot)),at=lt}return it!==null&&st.push({start:_e%rt,end:it%rt,loop:nt}),st}function _computeSegments(et,_e){const tt=et.points,nt=et.options.spanGaps,rt=tt.length;if(!rt)return[];const st=!!et._loop,{start:it,end:at}=findStartAndEnd(tt,rt,st,nt);if(nt===!0)return splitByStyles(et,[{start:it,end:at,loop:st}],tt,_e);const ot=atat({chart:_e,initial:tt.initial,numSteps:it,currentStep:Math.min(nt-tt.start,it)}))}_refresh(){this._request||(this._running=!0,this._request=requestAnimFrame.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(_e=Date.now()){let tt=0;this._charts.forEach((nt,rt)=>{if(!nt.running||!nt.items.length)return;const st=nt.items;let it=st.length-1,at=!1,ot;for(;it>=0;--it)ot=st[it],ot._active?(ot._total>nt.duration&&(nt.duration=ot._total),ot.tick(_e),at=!0):(st[it]=st[st.length-1],st.pop());at&&(rt.draw(),this._notify(rt,nt,_e,"progress")),st.length||(nt.running=!1,this._notify(rt,nt,_e,"complete"),nt.initial=!1),tt+=st.length}),this._lastDate=_e,tt===0&&(this._running=!1)}_getAnims(_e){const tt=this._charts;let nt=tt.get(_e);return nt||(nt={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},tt.set(_e,nt)),nt}listen(_e,tt,nt){this._getAnims(_e).listeners[tt].push(nt)}add(_e,tt){!tt||!tt.length||this._getAnims(_e).items.push(...tt)}has(_e){return this._getAnims(_e).items.length>0}start(_e){const tt=this._charts.get(_e);tt&&(tt.running=!0,tt.start=Date.now(),tt.duration=tt.items.reduce((nt,rt)=>Math.max(nt,rt._duration),0),this._refresh())}running(_e){if(!this._running)return!1;const tt=this._charts.get(_e);return!(!tt||!tt.running||!tt.items.length)}stop(_e){const tt=this._charts.get(_e);if(!tt||!tt.items.length)return;const nt=tt.items;let rt=nt.length-1;for(;rt>=0;--rt)nt[rt].cancel();tt.items=[],this._notify(_e,tt,Date.now(),"complete")}remove(_e){return this._charts.delete(_e)}}var animator=new Animator;const transparent="transparent",interpolators={boolean(et,_e,tt){return tt>.5?_e:et},color(et,_e,tt){const nt=color(et||transparent),rt=nt.valid&&color(_e||transparent);return rt&&rt.valid?rt.mix(nt,tt).hexString():_e},number(et,_e,tt){return et+(_e-et)*tt}};class Animation{constructor(_e,tt,nt,rt){const st=tt[nt];rt=resolve([_e.to,rt,st,_e.from]);const it=resolve([_e.from,st,rt]);this._active=!0,this._fn=_e.fn||interpolators[_e.type||typeof it],this._easing=effects[_e.easing]||effects.linear,this._start=Math.floor(Date.now()+(_e.delay||0)),this._duration=this._total=Math.floor(_e.duration),this._loop=!!_e.loop,this._target=tt,this._prop=nt,this._from=it,this._to=rt,this._promises=void 0}active(){return this._active}update(_e,tt,nt){if(this._active){this._notify(!1);const rt=this._target[this._prop],st=nt-this._start,it=this._duration-st;this._start=nt,this._duration=Math.floor(Math.max(it,_e.duration)),this._total+=st,this._loop=!!_e.loop,this._to=resolve([_e.to,tt,rt,_e.from]),this._from=resolve([_e.from,rt,tt])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(_e){const tt=_e-this._start,nt=this._duration,rt=this._prop,st=this._from,it=this._loop,at=this._to;let ot;if(this._active=st!==at&&(it||tt1?2-ot:ot,ot=this._easing(Math.min(1,Math.max(0,ot))),this._target[rt]=this._fn(st,at,ot)}wait(){const _e=this._promises||(this._promises=[]);return new Promise((tt,nt)=>{_e.push({res:tt,rej:nt})})}_notify(_e){const tt=_e?"res":"rej",nt=this._promises||[];for(let rt=0;rt{const st=_e[rt];if(!isObject(st))return;const it={};for(const at of tt)it[at]=st[at];(isArray(st.properties)&&st.properties||[rt]).forEach(at=>{(at===rt||!nt.has(at))&&nt.set(at,it)})})}_animateOptions(_e,tt){const nt=tt.options,rt=resolveTargetOptions(_e,nt);if(!rt)return[];const st=this._createAnimations(rt,nt);return nt.$shared&&awaitAll(_e.options.$animations,nt).then(()=>{_e.options=nt},()=>{}),st}_createAnimations(_e,tt){const nt=this._properties,rt=[],st=_e.$animations||(_e.$animations={}),it=Object.keys(tt),at=Date.now();let ot;for(ot=it.length-1;ot>=0;--ot){const lt=it[ot];if(lt.charAt(0)==="$")continue;if(lt==="options"){rt.push(...this._animateOptions(_e,tt));continue}const ct=tt[lt];let ut=st[lt];const dt=nt.get(lt);if(ut)if(dt&&ut.active()){ut.update(dt,ct,at);continue}else ut.cancel();if(!dt||!dt.duration){_e[lt]=ct;continue}st[lt]=ut=new Animation(dt,_e,lt,ct),rt.push(ut)}return rt}update(_e,tt){if(this._properties.size===0){Object.assign(_e,tt);return}const nt=this._createAnimations(_e,tt);if(nt.length)return animator.add(this._chart,nt),!0}}function awaitAll(et,_e){const tt=[],nt=Object.keys(_e);for(let rt=0;rt0||!tt&&st<0)return rt.index}return null}function updateStacks(et,_e){const{chart:tt,_cachedMeta:nt}=et,rt=tt._stacks||(tt._stacks={}),{iScale:st,vScale:it,index:at}=nt,ot=st.axis,lt=it.axis,ct=getStackKey(st,it,nt),ut=_e.length;let dt;for(let ft=0;fttt[nt].axis===_e).shift()}function createDatasetContext(et,_e){return createContext(et,{active:!1,dataset:void 0,datasetIndex:_e,index:_e,mode:"default",type:"dataset"})}function createDataContext(et,_e,tt){return createContext(et,{active:!1,dataIndex:_e,parsed:void 0,raw:void 0,element:tt,index:_e,mode:"default",type:"data"})}function clearStacks(et,_e){const tt=et.controller.index,nt=et.vScale&&et.vScale.axis;if(nt){_e=_e||et._parsed;for(const rt of _e){const st=rt._stacks;if(!st||st[nt]===void 0||st[nt][tt]===void 0)return;delete st[nt][tt],st[nt]._visualValues!==void 0&&st[nt]._visualValues[tt]!==void 0&&delete st[nt]._visualValues[tt]}}}const isDirectUpdateMode=et=>et==="reset"||et==="none",cloneIfNotShared=(et,_e)=>_e?et:Object.assign({},et),createStack=(et,_e,tt)=>et&&!_e.hidden&&_e._stacked&&{keys:getSortedDatasetIndices(tt,!0),values:null};class DatasetController{constructor(_e,tt){this.chart=_e,this._ctx=_e.ctx,this.index=tt,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const _e=this._cachedMeta;this.configure(),this.linkScales(),_e._stacked=isStacked(_e.vScale,_e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(_e){this.index!==_e&&clearStacks(this._cachedMeta),this.index=_e}linkScales(){const _e=this.chart,tt=this._cachedMeta,nt=this.getDataset(),rt=(ut,dt,ft,pt)=>ut==="x"?dt:ut==="r"?pt:ft,st=tt.xAxisID=valueOrDefault(nt.xAxisID,getFirstScaleId(_e,"x")),it=tt.yAxisID=valueOrDefault(nt.yAxisID,getFirstScaleId(_e,"y")),at=tt.rAxisID=valueOrDefault(nt.rAxisID,getFirstScaleId(_e,"r")),ot=tt.indexAxis,lt=tt.iAxisID=rt(ot,st,it,at),ct=tt.vAxisID=rt(ot,it,st,at);tt.xScale=this.getScaleForId(st),tt.yScale=this.getScaleForId(it),tt.rScale=this.getScaleForId(at),tt.iScale=this.getScaleForId(lt),tt.vScale=this.getScaleForId(ct)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(_e){return this.chart.scales[_e]}_getOtherScale(_e){const tt=this._cachedMeta;return _e===tt.iScale?tt.vScale:tt.iScale}reset(){this._update("reset")}_destroy(){const _e=this._cachedMeta;this._data&&unlistenArrayEvents(this._data,this),_e._stacked&&clearStacks(_e)}_dataCheck(){const _e=this.getDataset(),tt=_e.data||(_e.data=[]),nt=this._data;if(isObject(tt))this._data=convertObjectDataToArray(tt);else if(nt!==tt){if(nt){unlistenArrayEvents(nt,this);const rt=this._cachedMeta;clearStacks(rt),rt._parsed=[]}tt&&Object.isExtensible(tt)&&listenArrayEvents(tt,this),this._syncList=[],this._data=tt}}addElements(){const _e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(_e.dataset=new this.datasetElementType)}buildOrUpdateElements(_e){const tt=this._cachedMeta,nt=this.getDataset();let rt=!1;this._dataCheck();const st=tt._stacked;tt._stacked=isStacked(tt.vScale,tt),tt.stack!==nt.stack&&(rt=!0,clearStacks(tt),tt.stack=nt.stack),this._resyncElements(_e),(rt||st!==tt._stacked)&&updateStacks(this,tt._parsed)}configure(){const _e=this.chart.config,tt=_e.datasetScopeKeys(this._type),nt=_e.getOptionScopes(this.getDataset(),tt,!0);this.options=_e.createResolver(nt,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(_e,tt){const{_cachedMeta:nt,_data:rt}=this,{iScale:st,_stacked:it}=nt,at=st.axis;let ot=_e===0&&tt===rt.length?!0:nt._sorted,lt=_e>0&&nt._parsed[_e-1],ct,ut,dt;if(this._parsing===!1)nt._parsed=rt,nt._sorted=!0,dt=rt;else{isArray(rt[_e])?dt=this.parseArrayData(nt,rt,_e,tt):isObject(rt[_e])?dt=this.parseObjectData(nt,rt,_e,tt):dt=this.parsePrimitiveData(nt,rt,_e,tt);const ft=()=>ut[at]===null||lt&&ut[at]ht||ut=0;--dt)if(!pt()){this.updateRangeFromParsed(lt,_e,ft,ot);break}}return lt}getAllParsedValues(_e){const tt=this._cachedMeta._parsed,nt=[];let rt,st,it;for(rt=0,st=tt.length;rt=0&&_ethis.getContext(nt,rt,tt),ht=lt.resolveNamedOptions(dt,ft,pt,ut);return ht.$shared&&(ht.$shared=ot,st[it]=Object.freeze(cloneIfNotShared(ht,ot))),ht}_resolveAnimations(_e,tt,nt){const rt=this.chart,st=this._cachedDataOpts,it=`animation-${tt}`,at=st[it];if(at)return at;let ot;if(rt.options.animation!==!1){const ct=this.chart.config,ut=ct.datasetAnimationScopeKeys(this._type,tt),dt=ct.getOptionScopes(this.getDataset(),ut);ot=ct.createResolver(dt,this.getContext(_e,nt,tt))}const lt=new Animations(rt,ot&&ot.animations);return ot&&ot._cacheable&&(st[it]=Object.freeze(lt)),lt}getSharedOptions(_e){if(_e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},_e))}includeOptions(_e,tt){return!tt||isDirectUpdateMode(_e)||this.chart._animationsDisabled}_getSharedOptions(_e,tt){const nt=this.resolveDataElementOptions(_e,tt),rt=this._sharedOptions,st=this.getSharedOptions(nt),it=this.includeOptions(tt,st)||st!==rt;return this.updateSharedOptions(st,tt,nt),{sharedOptions:st,includeOptions:it}}updateElement(_e,tt,nt,rt){isDirectUpdateMode(rt)?Object.assign(_e,nt):this._resolveAnimations(tt,rt).update(_e,nt)}updateSharedOptions(_e,tt,nt){_e&&!isDirectUpdateMode(tt)&&this._resolveAnimations(void 0,tt).update(_e,nt)}_setStyle(_e,tt,nt,rt){_e.active=rt;const st=this.getStyle(tt,rt);this._resolveAnimations(tt,nt,rt).update(_e,{options:!rt&&this.getSharedOptions(st)||st})}removeHoverStyle(_e,tt,nt){this._setStyle(_e,nt,"active",!1)}setHoverStyle(_e,tt,nt){this._setStyle(_e,nt,"active",!0)}_removeDatasetHoverStyle(){const _e=this._cachedMeta.dataset;_e&&this._setStyle(_e,void 0,"active",!1)}_setDatasetHoverStyle(){const _e=this._cachedMeta.dataset;_e&&this._setStyle(_e,void 0,"active",!0)}_resyncElements(_e){const tt=this._data,nt=this._cachedMeta.data;for(const[at,ot,lt]of this._syncList)this[at](ot,lt);this._syncList=[];const rt=nt.length,st=tt.length,it=Math.min(st,rt);it&&this.parse(0,it),st>rt?this._insertElements(rt,st-rt,_e):st{for(lt.length+=tt,at=lt.length-1;at>=it;at--)lt[at]=lt[at-tt]};for(ot(st),at=_e;atrt-st))}return et._cache.$bar}function computeMinSampleSize(et){const _e=et.iScale,tt=getAllScaleValues(_e,et.type);let nt=_e._length,rt,st,it,at;const ot=()=>{it===32767||it===-32768||(defined(at)&&(nt=Math.min(nt,Math.abs(it-at)||nt)),at=it)};for(rt=0,st=tt.length;rt0?rt[et-1]:null,at=etMath.abs(at)&&(ot=at,lt=it),_e[tt.axis]=lt,_e._custom={barStart:ot,barEnd:lt,start:rt,end:st,min:it,max:at}}function parseValue(et,_e,tt,nt){return isArray(et)?parseFloatBar(et,_e,tt,nt):_e[tt.axis]=tt.parse(et,nt),_e}function parseArrayOrPrimitive(et,_e,tt,nt){const rt=et.iScale,st=et.vScale,it=rt.getLabels(),at=rt===st,ot=[];let lt,ct,ut,dt;for(lt=tt,ct=tt+nt;lt=tt?1:-1)}function borderProps(et){let _e,tt,nt,rt,st;return et.horizontal?(_e=et.base>et.x,tt="left",nt="right"):(_e=et.baseot.controller.options.grouped),st=nt.options.stacked,it=[],at=ot=>{const lt=ot.controller.getParsed(tt),ct=lt&<[ot.vScale.axis];if(isNullOrUndef(ct)||isNaN(ct))return!0};for(const ot of rt)if(!(tt!==void 0&&at(ot))&&((st===!1||it.indexOf(ot.stack)===-1||st===void 0&&ot.stack===void 0)&&it.push(ot.stack),ot.index===_e))break;return it.length||it.push(void 0),it}_getStackCount(_e){return this._getStacks(void 0,_e).length}_getStackIndex(_e,tt,nt){const rt=this._getStacks(_e,nt),st=tt!==void 0?rt.indexOf(tt):-1;return st===-1?rt.length-1:st}_getRuler(){const _e=this.options,tt=this._cachedMeta,nt=tt.iScale,rt=[];let st,it;for(st=0,it=tt.data.length;st=0;--nt)tt=Math.max(tt,_e[nt].size(this.resolveDataElementOptions(nt))/2);return tt>0&&tt}getLabelAndValue(_e){const tt=this._cachedMeta,nt=this.chart.data.labels||[],{xScale:rt,yScale:st}=tt,it=this.getParsed(_e),at=rt.getLabelForValue(it.x),ot=st.getLabelForValue(it.y),lt=it._custom;return{label:nt[_e]||"",value:"("+at+", "+ot+(lt?", "+lt:"")+")"}}update(_e){const tt=this._cachedMeta.data;this.updateElements(tt,0,tt.length,_e)}updateElements(_e,tt,nt,rt){const st=rt==="reset",{iScale:it,vScale:at}=this._cachedMeta,{sharedOptions:ot,includeOptions:lt}=this._getSharedOptions(tt,rt),ct=it.axis,ut=at.axis;for(let dt=tt;dt_angleBetween(bt,at,ot,!0)?1:Math.max(xt,xt*tt,yt,yt*tt),pt=(bt,xt,yt)=>_angleBetween(bt,at,ot,!0)?-1:Math.min(xt,xt*tt,yt,yt*tt),ht=ft(0,lt,ut),vt=ft(HALF_PI,ct,dt),gt=pt(PI,lt,ut),mt=pt(PI+HALF_PI,ct,dt);nt=(ht-gt)/2,rt=(vt-mt)/2,st=-(ht+gt)/2,it=-(vt+mt)/2}return{ratioX:nt,ratioY:rt,offsetX:st,offsetY:it}}class DoughnutController extends DatasetController{constructor(_e,tt){super(_e,tt),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(_e,tt){const nt=this.getDataset().data,rt=this._cachedMeta;if(this._parsing===!1)rt._parsed=nt;else{let st=ot=>+nt[ot];if(isObject(nt[_e])){const{key:ot="value"}=this._parsing;st=lt=>+resolveObjectKey(nt[lt],ot)}let it,at;for(it=_e,at=_e+tt;it0&&!isNaN(_e)?TAU*(Math.abs(_e)/tt):0}getLabelAndValue(_e){const tt=this._cachedMeta,nt=this.chart,rt=nt.data.labels||[],st=formatNumber(tt._parsed[_e],nt.options.locale);return{label:rt[_e]||"",value:st}}getMaxBorderWidth(_e){let tt=0;const nt=this.chart;let rt,st,it,at,ot;if(!_e){for(rt=0,st=nt.data.datasets.length;rt_e!=="spacing",_indexable:_e=>_e!=="spacing"&&!_e.startsWith("borderDash")&&!_e.startsWith("hoverBorderDash")}),yn(DoughnutController,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(_e){const tt=_e.data;if(tt.labels.length&&tt.datasets.length){const{labels:{pointStyle:nt,color:rt}}=_e.legend.options;return tt.labels.map((st,it)=>{const ot=_e.getDatasetMeta(0).controller.getStyle(it);return{text:st,fillStyle:ot.backgroundColor,strokeStyle:ot.borderColor,fontColor:rt,lineWidth:ot.borderWidth,pointStyle:nt,hidden:!_e.getDataVisibility(it),index:it}})}return[]}},onClick(_e,tt,nt){nt.chart.toggleDataVisibility(tt.index),nt.chart.update()}}}});class LineController extends DatasetController{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(_e){const tt=this._cachedMeta,{dataset:nt,data:rt=[],_dataset:st}=tt,it=this.chart._animationsDisabled;let{start:at,count:ot}=_getStartAndCountOfVisiblePoints(tt,rt,it);this._drawStart=at,this._drawCount=ot,_scaleRangesChanged(tt)&&(at=0,ot=rt.length),nt._chart=this.chart,nt._datasetIndex=this.index,nt._decimated=!!st._decimated,nt.points=rt;const lt=this.resolveDatasetElementOptions(_e);this.options.showLine||(lt.borderWidth=0),lt.segment=this.options.segment,this.updateElement(nt,void 0,{animated:!it,options:lt},_e),this.updateElements(rt,at,ot,_e)}updateElements(_e,tt,nt,rt){const st=rt==="reset",{iScale:it,vScale:at,_stacked:ot,_dataset:lt}=this._cachedMeta,{sharedOptions:ct,includeOptions:ut}=this._getSharedOptions(tt,rt),dt=it.axis,ft=at.axis,{spanGaps:pt,segment:ht}=this.options,vt=isNumber(pt)?pt:Number.POSITIVE_INFINITY,gt=this.chart._animationsDisabled||st||rt==="none",mt=tt+nt,bt=_e.length;let xt=tt>0&&this.getParsed(tt-1);for(let yt=0;yt=mt){wt.skip=!0;continue}const Ct=this.getParsed(yt),Et=isNullOrUndef(Ct[ft]),Mt=wt[dt]=it.getPixelForValue(Ct[dt],yt),St=wt[ft]=st||Et?at.getBasePixel():at.getPixelForValue(ot?this.applyStack(at,Ct,ot):Ct[ft],yt);wt.skip=isNaN(Mt)||isNaN(St)||Et,wt.stop=yt>0&&Math.abs(Ct[dt]-xt[dt])>vt,ht&&(wt.parsed=Ct,wt.raw=lt.data[yt]),ut&&(wt.options=ct||this.resolveDataElementOptions(yt,$t.active?"active":rt)),gt||this.updateElement($t,yt,wt,rt),xt=Ct}}getMaxOverflow(){const _e=this._cachedMeta,tt=_e.dataset,nt=tt.options&&tt.options.borderWidth||0,rt=_e.data||[];if(!rt.length)return nt;const st=rt[0].size(this.resolveDataElementOptions(0)),it=rt[rt.length-1].size(this.resolveDataElementOptions(rt.length-1));return Math.max(nt,st,it)/2}draw(){const _e=this._cachedMeta;_e.dataset.updateControlPoints(this.chart.chartArea,_e.iScale.axis),super.draw()}}yn(LineController,"id","line"),yn(LineController,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),yn(LineController,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});class PolarAreaController extends DatasetController{constructor(_e,tt){super(_e,tt),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(_e){const tt=this._cachedMeta,nt=this.chart,rt=nt.data.labels||[],st=formatNumber(tt._parsed[_e].r,nt.options.locale);return{label:rt[_e]||"",value:st}}parseObjectData(_e,tt,nt,rt){return _parseObjectDataRadialScale.bind(this)(_e,tt,nt,rt)}update(_e){const tt=this._cachedMeta.data;this._updateRadius(),this.updateElements(tt,0,tt.length,_e)}getMinMax(){const _e=this._cachedMeta,tt={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return _e.data.forEach((nt,rt)=>{const st=this.getParsed(rt).r;!isNaN(st)&&this.chart.getDataVisibility(rt)&&(sttt.max&&(tt.max=st))}),tt}_updateRadius(){const _e=this.chart,tt=_e.chartArea,nt=_e.options,rt=Math.min(tt.right-tt.left,tt.bottom-tt.top),st=Math.max(rt/2,0),it=Math.max(nt.cutoutPercentage?st/100*nt.cutoutPercentage:1,0),at=(st-it)/_e.getVisibleDatasetCount();this.outerRadius=st-at*this.index,this.innerRadius=this.outerRadius-at}updateElements(_e,tt,nt,rt){const st=rt==="reset",it=this.chart,ot=it.options.animation,lt=this._cachedMeta.rScale,ct=lt.xCenter,ut=lt.yCenter,dt=lt.getIndexAngle(0)-.5*PI;let ft=dt,pt;const ht=360/this.countVisibleElements();for(pt=0;pt{!isNaN(this.getParsed(rt).r)&&this.chart.getDataVisibility(rt)&&tt++}),tt}_computeAngle(_e,tt,nt){return this.chart.getDataVisibility(_e)?toRadians(this.resolveDataElementOptions(_e,tt).angle||nt):0}}yn(PolarAreaController,"id","polarArea"),yn(PolarAreaController,"defaults",{dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0}),yn(PolarAreaController,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(_e){const tt=_e.data;if(tt.labels.length&&tt.datasets.length){const{labels:{pointStyle:nt,color:rt}}=_e.legend.options;return tt.labels.map((st,it)=>{const ot=_e.getDatasetMeta(0).controller.getStyle(it);return{text:st,fillStyle:ot.backgroundColor,strokeStyle:ot.borderColor,fontColor:rt,lineWidth:ot.borderWidth,pointStyle:nt,hidden:!_e.getDataVisibility(it),index:it}})}return[]}},onClick(_e,tt,nt){nt.chart.toggleDataVisibility(tt.index),nt.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}});class PieController extends DoughnutController{}yn(PieController,"id","pie"),yn(PieController,"defaults",{cutout:0,rotation:0,circumference:360,radius:"100%"});class RadarController extends DatasetController{getLabelAndValue(_e){const tt=this._cachedMeta.vScale,nt=this.getParsed(_e);return{label:tt.getLabels()[_e],value:""+tt.getLabelForValue(nt[tt.axis])}}parseObjectData(_e,tt,nt,rt){return _parseObjectDataRadialScale.bind(this)(_e,tt,nt,rt)}update(_e){const tt=this._cachedMeta,nt=tt.dataset,rt=tt.data||[],st=tt.iScale.getLabels();if(nt.points=rt,_e!=="resize"){const it=this.resolveDatasetElementOptions(_e);this.options.showLine||(it.borderWidth=0);const at={_loop:!0,_fullLoop:st.length===rt.length,options:it};this.updateElement(nt,void 0,at,_e)}this.updateElements(rt,0,rt.length,_e)}updateElements(_e,tt,nt,rt){const st=this._cachedMeta.rScale,it=rt==="reset";for(let at=tt;at0&&this.getParsed(tt-1);for(let xt=tt;xt0&&Math.abs($t[ft]-bt[ft])>gt,vt&&(wt.parsed=$t,wt.raw=lt.data[xt]),dt&&(wt.options=ut||this.resolveDataElementOptions(xt,yt.active?"active":rt)),mt||this.updateElement(yt,xt,wt,rt),bt=$t}this.updateSharedOptions(ut,rt,ct)}getMaxOverflow(){const _e=this._cachedMeta,tt=_e.data||[];if(!this.options.showLine){let at=0;for(let ot=tt.length-1;ot>=0;--ot)at=Math.max(at,tt[ot].size(this.resolveDataElementOptions(ot))/2);return at>0&&at}const nt=_e.dataset,rt=nt.options&&nt.options.borderWidth||0;if(!tt.length)return rt;const st=tt[0].size(this.resolveDataElementOptions(0)),it=tt[tt.length-1].size(this.resolveDataElementOptions(tt.length-1));return Math.max(rt,st,it)/2}}yn(ScatterController,"id","scatter"),yn(ScatterController,"defaults",{datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1}),yn(ScatterController,"overrides",{interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}});var controllers=Object.freeze({__proto__:null,BarController,BubbleController,DoughnutController,LineController,PieController,PolarAreaController,RadarController,ScatterController});function abstract(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class DateAdapterBase{constructor(_e){yn(this,"options");this.options=_e||{}}static override(_e){Object.assign(DateAdapterBase.prototype,_e)}init(){}formats(){return abstract()}parse(){return abstract()}format(){return abstract()}add(){return abstract()}diff(){return abstract()}startOf(){return abstract()}endOf(){return abstract()}}var adapters={_date:DateAdapterBase};function binarySearch(et,_e,tt,nt){const{controller:rt,data:st,_sorted:it}=et,at=rt._cachedMeta.iScale;if(at&&_e===at.axis&&_e!=="r"&&it&&st.length){const ot=at._reversePixels?_rlookupByKey:_lookupByKey;if(nt){if(rt._sharedOptions){const lt=st[0],ct=typeof lt.getRange=="function"&<.getRange(_e);if(ct){const ut=ot(st,_e,tt-ct),dt=ot(st,_e,tt+ct);return{lo:ut.lo,hi:dt.hi}}}}else return ot(st,_e,tt)}return{lo:0,hi:st.length-1}}function evaluateInteractionItems(et,_e,tt,nt,rt){const st=et.getSortedVisibleDatasetMetas(),it=tt[_e];for(let at=0,ot=st.length;at{ot[it](_e[tt],rt)&&(st.push({element:ot,datasetIndex:lt,index:ct}),at=at||ot.inRange(_e.x,_e.y,rt))}),nt&&!at?[]:st}var Interaction={evaluateInteractionItems,modes:{index(et,_e,tt,nt){const rt=getRelativePosition(_e,et),st=tt.axis||"x",it=tt.includeInvisible||!1,at=tt.intersect?getIntersectItems(et,rt,st,nt,it):getNearestItems(et,rt,st,!1,nt,it),ot=[];return at.length?(et.getSortedVisibleDatasetMetas().forEach(lt=>{const ct=at[0].index,ut=lt.data[ct];ut&&!ut.skip&&ot.push({element:ut,datasetIndex:lt.index,index:ct})}),ot):[]},dataset(et,_e,tt,nt){const rt=getRelativePosition(_e,et),st=tt.axis||"xy",it=tt.includeInvisible||!1;let at=tt.intersect?getIntersectItems(et,rt,st,nt,it):getNearestItems(et,rt,st,!1,nt,it);if(at.length>0){const ot=at[0].datasetIndex,lt=et.getDatasetMeta(ot).data;at=[];for(let ct=0;cttt.pos===_e)}function filterDynamicPositionByAxis(et,_e){return et.filter(tt=>STATIC_POSITIONS.indexOf(tt.pos)===-1&&tt.box.axis===_e)}function sortByWeight(et,_e){return et.sort((tt,nt)=>{const rt=_e?nt:tt,st=_e?tt:nt;return rt.weight===st.weight?rt.index-st.index:rt.weight-st.weight})}function wrapBoxes(et){const _e=[];let tt,nt,rt,st,it,at;for(tt=0,nt=(et||[]).length;ttlt.box.fullSize),!0),nt=sortByWeight(filterByPosition(_e,"left"),!0),rt=sortByWeight(filterByPosition(_e,"right")),st=sortByWeight(filterByPosition(_e,"top"),!0),it=sortByWeight(filterByPosition(_e,"bottom")),at=filterDynamicPositionByAxis(_e,"x"),ot=filterDynamicPositionByAxis(_e,"y");return{fullSize:tt,leftAndTop:nt.concat(st),rightAndBottom:rt.concat(ot).concat(it).concat(at),chartArea:filterByPosition(_e,"chartArea"),vertical:nt.concat(rt).concat(ot),horizontal:st.concat(it).concat(at)}}function getCombinedMax(et,_e,tt,nt){return Math.max(et[tt],_e[tt])+Math.max(et[nt],_e[nt])}function updateMaxPadding(et,_e){et.top=Math.max(et.top,_e.top),et.left=Math.max(et.left,_e.left),et.bottom=Math.max(et.bottom,_e.bottom),et.right=Math.max(et.right,_e.right)}function updateDims(et,_e,tt,nt){const{pos:rt,box:st}=tt,it=et.maxPadding;if(!isObject(rt)){tt.size&&(et[rt]-=tt.size);const ut=nt[tt.stack]||{size:0,count:1};ut.size=Math.max(ut.size,tt.horizontal?st.height:st.width),tt.size=ut.size/ut.count,et[rt]+=tt.size}st.getPadding&&updateMaxPadding(it,st.getPadding());const at=Math.max(0,_e.outerWidth-getCombinedMax(it,et,"left","right")),ot=Math.max(0,_e.outerHeight-getCombinedMax(it,et,"top","bottom")),lt=at!==et.w,ct=ot!==et.h;return et.w=at,et.h=ot,tt.horizontal?{same:lt,other:ct}:{same:ct,other:lt}}function handleMaxPadding(et){const _e=et.maxPadding;function tt(nt){const rt=Math.max(_e[nt]-et[nt],0);return et[nt]+=rt,rt}et.y+=tt("top"),et.x+=tt("left"),tt("right"),tt("bottom")}function getMargins(et,_e){const tt=_e.maxPadding;function nt(rt){const st={left:0,top:0,right:0,bottom:0};return rt.forEach(it=>{st[it]=Math.max(_e[it],tt[it])}),st}return nt(et?["left","right"]:["top","bottom"])}function fitBoxes(et,_e,tt,nt){const rt=[];let st,it,at,ot,lt,ct;for(st=0,it=et.length,lt=0;st{typeof ht.beforeLayout=="function"&&ht.beforeLayout()});const ct=ot.reduce((ht,vt)=>vt.box.options&&vt.box.options.display===!1?ht:ht+1,0)||1,ut=Object.freeze({outerWidth:_e,outerHeight:tt,padding:rt,availableWidth:st,availableHeight:it,vBoxMaxWidth:st/2/ct,hBoxMaxHeight:it/2}),dt=Object.assign({},rt);updateMaxPadding(dt,toPadding(nt));const ft=Object.assign({maxPadding:dt,w:st,h:it,x:rt.left,y:rt.top},rt),pt=setLayoutDims(ot.concat(lt),ut);fitBoxes(at.fullSize,ft,ut,pt),fitBoxes(ot,ft,ut,pt),fitBoxes(lt,ft,ut,pt)&&fitBoxes(ot,ft,ut,pt),handleMaxPadding(ft),placeBoxes(at.leftAndTop,ft,ut,pt),ft.x+=ft.w,ft.y+=ft.h,placeBoxes(at.rightAndBottom,ft,ut,pt),et.chartArea={left:ft.left,top:ft.top,right:ft.left+ft.w,bottom:ft.top+ft.h,height:ft.h,width:ft.w},each(at.chartArea,ht=>{const vt=ht.box;Object.assign(vt,et.chartArea),vt.update(ft.w,ft.h,{left:0,top:0,right:0,bottom:0})})}};class BasePlatform{acquireContext(_e,tt){}releaseContext(_e){return!1}addEventListener(_e,tt,nt){}removeEventListener(_e,tt,nt){}getDevicePixelRatio(){return 1}getMaximumSize(_e,tt,nt,rt){return tt=Math.max(0,tt||_e.width),nt=nt||_e.height,{width:tt,height:Math.max(0,rt?Math.floor(tt/rt):nt)}}isAttached(_e){return!0}updateConfig(_e){}}class BasicPlatform extends BasePlatform{acquireContext(_e){return _e&&_e.getContext&&_e.getContext("2d")||null}updateConfig(_e){_e.options.animation=!1}}const EXPANDO_KEY="$chartjs",EVENT_TYPES={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},isNullOrEmpty=et=>et===null||et==="";function initCanvas(et,_e){const tt=et.style,nt=et.getAttribute("height"),rt=et.getAttribute("width");if(et[EXPANDO_KEY]={initial:{height:nt,width:rt,style:{display:tt.display,height:tt.height,width:tt.width}}},tt.display=tt.display||"block",tt.boxSizing=tt.boxSizing||"border-box",isNullOrEmpty(rt)){const st=readUsedSize(et,"width");st!==void 0&&(et.width=st)}if(isNullOrEmpty(nt))if(et.style.height==="")et.height=et.width/(_e||2);else{const st=readUsedSize(et,"height");st!==void 0&&(et.height=st)}return et}const eventListenerOptions=supportsEventListenerOptions?{passive:!0}:!1;function addListener(et,_e,tt){et.addEventListener(_e,tt,eventListenerOptions)}function removeListener(et,_e,tt){et.canvas.removeEventListener(_e,tt,eventListenerOptions)}function fromNativeEvent(et,_e){const tt=EVENT_TYPES[et.type]||et.type,{x:nt,y:rt}=getRelativePosition(et,_e);return{type:tt,chart:_e,native:et,x:nt!==void 0?nt:null,y:rt!==void 0?rt:null}}function nodeListContains(et,_e){for(const tt of et)if(tt===_e||tt.contains(_e))return!0}function createAttachObserver(et,_e,tt){const nt=et.canvas,rt=new MutationObserver(st=>{let it=!1;for(const at of st)it=it||nodeListContains(at.addedNodes,nt),it=it&&!nodeListContains(at.removedNodes,nt);it&&tt()});return rt.observe(document,{childList:!0,subtree:!0}),rt}function createDetachObserver(et,_e,tt){const nt=et.canvas,rt=new MutationObserver(st=>{let it=!1;for(const at of st)it=it||nodeListContains(at.removedNodes,nt),it=it&&!nodeListContains(at.addedNodes,nt);it&&tt()});return rt.observe(document,{childList:!0,subtree:!0}),rt}const drpListeningCharts=new Map;let oldDevicePixelRatio=0;function onWindowResize(){const et=window.devicePixelRatio;et!==oldDevicePixelRatio&&(oldDevicePixelRatio=et,drpListeningCharts.forEach((_e,tt)=>{tt.currentDevicePixelRatio!==et&&_e()}))}function listenDevicePixelRatioChanges(et,_e){drpListeningCharts.size||window.addEventListener("resize",onWindowResize),drpListeningCharts.set(et,_e)}function unlistenDevicePixelRatioChanges(et){drpListeningCharts.delete(et),drpListeningCharts.size||window.removeEventListener("resize",onWindowResize)}function createResizeObserver(et,_e,tt){const nt=et.canvas,rt=nt&&_getParentNode(nt);if(!rt)return;const st=throttled((at,ot)=>{const lt=rt.clientWidth;tt(at,ot),lt{const ot=at[0],lt=ot.contentRect.width,ct=ot.contentRect.height;lt===0&&ct===0||st(lt,ct)});return it.observe(rt),listenDevicePixelRatioChanges(et,st),it}function releaseObserver(et,_e,tt){tt&&tt.disconnect(),_e==="resize"&&unlistenDevicePixelRatioChanges(et)}function createProxyAndListen(et,_e,tt){const nt=et.canvas,rt=throttled(st=>{et.ctx!==null&&tt(fromNativeEvent(st,et))},et);return addListener(nt,_e,rt),rt}class DomPlatform extends BasePlatform{acquireContext(_e,tt){const nt=_e&&_e.getContext&&_e.getContext("2d");return nt&&nt.canvas===_e?(initCanvas(_e,tt),nt):null}releaseContext(_e){const tt=_e.canvas;if(!tt[EXPANDO_KEY])return!1;const nt=tt[EXPANDO_KEY].initial;["height","width"].forEach(st=>{const it=nt[st];isNullOrUndef(it)?tt.removeAttribute(st):tt.setAttribute(st,it)});const rt=nt.style||{};return Object.keys(rt).forEach(st=>{tt.style[st]=rt[st]}),tt.width=tt.width,delete tt[EXPANDO_KEY],!0}addEventListener(_e,tt,nt){this.removeEventListener(_e,tt);const rt=_e.$proxies||(_e.$proxies={}),it={attach:createAttachObserver,detach:createDetachObserver,resize:createResizeObserver}[tt]||createProxyAndListen;rt[tt]=it(_e,tt,nt)}removeEventListener(_e,tt){const nt=_e.$proxies||(_e.$proxies={}),rt=nt[tt];if(!rt)return;({attach:releaseObserver,detach:releaseObserver,resize:releaseObserver}[tt]||removeListener)(_e,tt,rt),nt[tt]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(_e,tt,nt,rt){return getMaximumSize(_e,tt,nt,rt)}isAttached(_e){const tt=_getParentNode(_e);return!!(tt&&tt.isConnected)}}function _detectPlatform(et){return!_isDomSupported()||typeof OffscreenCanvas<"u"&&et instanceof OffscreenCanvas?BasicPlatform:DomPlatform}class Element{constructor(){yn(this,"x");yn(this,"y");yn(this,"active",!1);yn(this,"options");yn(this,"$animations")}tooltipPosition(_e){const{x:tt,y:nt}=this.getProps(["x","y"],_e);return{x:tt,y:nt}}hasValue(){return isNumber(this.x)&&isNumber(this.y)}getProps(_e,tt){const nt=this.$animations;if(!tt||!nt)return this;const rt={};return _e.forEach(st=>{rt[st]=nt[st]&&nt[st].active()?nt[st]._to:this[st]}),rt}}yn(Element,"defaults",{}),yn(Element,"defaultRoutes");function autoSkip(et,_e){const tt=et.options.ticks,nt=determineMaxTicks(et),rt=Math.min(tt.maxTicksLimit||nt,nt),st=tt.major.enabled?getMajorIndices(_e):[],it=st.length,at=st[0],ot=st[it-1],lt=[];if(it>rt)return skipMajors(_e,lt,st,it/rt),lt;const ct=calculateSpacing(st,_e,rt);if(it>0){let ut,dt;const ft=it>1?Math.round((ot-at)/(it-1)):null;for(skip(_e,lt,ct,isNullOrUndef(ft)?0:at-ft,at),ut=0,dt=it-1;utrt)return ot}return Math.max(rt,1)}function getMajorIndices(et){const _e=[];let tt,nt;for(tt=0,nt=et.length;ttet==="left"?"right":et==="right"?"left":et,offsetFromEdge=(et,_e,tt)=>_e==="top"||_e==="left"?et[_e]+tt:et[_e]-tt,getTicksLimit=(et,_e)=>Math.min(_e||et,et);function sample(et,_e){const tt=[],nt=et.length/_e,rt=et.length;let st=0;for(;stit+at)))return ot}function garbageCollect(et,_e){each(et,tt=>{const nt=tt.gc,rt=nt.length/2;let st;if(rt>_e){for(st=0;stnt?nt:tt,nt=rt&&tt>nt?tt:nt,{min:finiteOrDefault(tt,finiteOrDefault(nt,tt)),max:finiteOrDefault(nt,finiteOrDefault(tt,nt))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const _e=this.chart.data;return this.options.labels||(this.isHorizontal()?_e.xLabels:_e.yLabels)||_e.labels||[]}getLabelItems(_e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(_e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){callback(this.options.beforeUpdate,[this])}update(_e,tt,nt){const{beginAtZero:rt,grace:st,ticks:it}=this.options,at=it.sampleSize;this.beforeUpdate(),this.maxWidth=_e,this.maxHeight=tt,this._margins=nt=Object.assign({left:0,right:0,top:0,bottom:0},nt),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+nt.left+nt.right:this.height+nt.top+nt.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=_addGrace(this,st,rt),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const ot=at=st||nt<=1||!this.isHorizontal()){this.labelRotation=rt;return}const ct=this._getLabelSizes(),ut=ct.widest.width,dt=ct.highest.height,ft=_limitValue(this.chart.width-ut,0,this.maxWidth);at=_e.offset?this.maxWidth/nt:ft/(nt-1),ut+6>at&&(at=ft/(nt-(_e.offset?.5:1)),ot=this.maxHeight-getTickMarkLength(_e.grid)-tt.padding-getTitleHeight(_e.title,this.chart.options.font),lt=Math.sqrt(ut*ut+dt*dt),it=toDegrees(Math.min(Math.asin(_limitValue((ct.highest.height+6)/at,-1,1)),Math.asin(_limitValue(ot/lt,-1,1))-Math.asin(_limitValue(dt/lt,-1,1)))),it=Math.max(rt,Math.min(st,it))),this.labelRotation=it}afterCalculateLabelRotation(){callback(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){callback(this.options.beforeFit,[this])}fit(){const _e={width:0,height:0},{chart:tt,options:{ticks:nt,title:rt,grid:st}}=this,it=this._isVisible(),at=this.isHorizontal();if(it){const ot=getTitleHeight(rt,tt.options.font);if(at?(_e.width=this.maxWidth,_e.height=getTickMarkLength(st)+ot):(_e.height=this.maxHeight,_e.width=getTickMarkLength(st)+ot),nt.display&&this.ticks.length){const{first:lt,last:ct,widest:ut,highest:dt}=this._getLabelSizes(),ft=nt.padding*2,pt=toRadians(this.labelRotation),ht=Math.cos(pt),vt=Math.sin(pt);if(at){const gt=nt.mirror?0:vt*ut.width+ht*dt.height;_e.height=Math.min(this.maxHeight,_e.height+gt+ft)}else{const gt=nt.mirror?0:ht*ut.width+vt*dt.height;_e.width=Math.min(this.maxWidth,_e.width+gt+ft)}this._calculatePadding(lt,ct,vt,ht)}}this._handleMargins(),at?(this.width=this._length=tt.width-this._margins.left-this._margins.right,this.height=_e.height):(this.width=_e.width,this.height=this._length=tt.height-this._margins.top-this._margins.bottom)}_calculatePadding(_e,tt,nt,rt){const{ticks:{align:st,padding:it},position:at}=this.options,ot=this.labelRotation!==0,lt=at!=="top"&&this.axis==="x";if(this.isHorizontal()){const ct=this.getPixelForTick(0)-this.left,ut=this.right-this.getPixelForTick(this.ticks.length-1);let dt=0,ft=0;ot?lt?(dt=rt*_e.width,ft=nt*tt.height):(dt=nt*_e.height,ft=rt*tt.width):st==="start"?ft=tt.width:st==="end"?dt=_e.width:st!=="inner"&&(dt=_e.width/2,ft=tt.width/2),this.paddingLeft=Math.max((dt-ct+it)*this.width/(this.width-ct),0),this.paddingRight=Math.max((ft-ut+it)*this.width/(this.width-ut),0)}else{let ct=tt.height/2,ut=_e.height/2;st==="start"?(ct=0,ut=_e.height):st==="end"&&(ct=tt.height,ut=0),this.paddingTop=ct+it,this.paddingBottom=ut+it}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){callback(this.options.afterFit,[this])}isHorizontal(){const{axis:_e,position:tt}=this.options;return tt==="top"||tt==="bottom"||_e==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(_e){this.beforeTickToLabelConversion(),this.generateTickLabels(_e);let tt,nt;for(tt=0,nt=_e.length;tt({width:it[Et]||0,height:at[Et]||0});return{first:Ct(0),last:Ct(tt-1),widest:Ct($t),highest:Ct(wt),widths:it,heights:at}}getLabelForValue(_e){return _e}getPixelForValue(_e,tt){return NaN}getValueForPixel(_e){}getPixelForTick(_e){const tt=this.ticks;return _e<0||_e>tt.length-1?null:this.getPixelForValue(tt[_e].value)}getPixelForDecimal(_e){this._reversePixels&&(_e=1-_e);const tt=this._startPixel+_e*this._length;return _int16Range(this._alignToPixels?_alignPixel(this.chart,tt,0):tt)}getDecimalForPixel(_e){const tt=(_e-this._startPixel)/this._length;return this._reversePixels?1-tt:tt}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:_e,max:tt}=this;return _e<0&&tt<0?tt:_e>0&&tt>0?_e:0}getContext(_e){const tt=this.ticks||[];if(_e>=0&&_eat*rt?at/nt:ot/rt:ot*rt0}_computeGridLineItems(_e){const tt=this.axis,nt=this.chart,rt=this.options,{grid:st,position:it,border:at}=rt,ot=st.offset,lt=this.isHorizontal(),ut=this.ticks.length+(ot?1:0),dt=getTickMarkLength(st),ft=[],pt=at.setContext(this.getContext()),ht=pt.display?pt.width:0,vt=ht/2,gt=function(Bt){return _alignPixel(nt,Bt,ht)};let mt,bt,xt,yt,$t,wt,Ct,Et,Mt,St,Rt,Pt;if(it==="top")mt=gt(this.bottom),wt=this.bottom-dt,Et=mt-vt,St=gt(_e.top)+vt,Pt=_e.bottom;else if(it==="bottom")mt=gt(this.top),St=_e.top,Pt=gt(_e.bottom)-vt,wt=mt+vt,Et=this.top+dt;else if(it==="left")mt=gt(this.right),$t=this.right-dt,Ct=mt-vt,Mt=gt(_e.left)+vt,Rt=_e.right;else if(it==="right")mt=gt(this.left),Mt=_e.left,Rt=gt(_e.right)-vt,$t=mt+vt,Ct=this.left+dt;else if(tt==="x"){if(it==="center")mt=gt((_e.top+_e.bottom)/2+.5);else if(isObject(it)){const Bt=Object.keys(it)[0],It=it[Bt];mt=gt(this.chart.scales[Bt].getPixelForValue(It))}St=_e.top,Pt=_e.bottom,wt=mt+vt,Et=wt+dt}else if(tt==="y"){if(it==="center")mt=gt((_e.left+_e.right)/2);else if(isObject(it)){const Bt=Object.keys(it)[0],It=it[Bt];mt=gt(this.chart.scales[Bt].getPixelForValue(It))}$t=mt-vt,Ct=$t-dt,Mt=_e.left,Rt=_e.right}const kt=valueOrDefault(rt.ticks.maxTicksLimit,ut),_t=Math.max(1,Math.ceil(ut/kt));for(bt=0;btst.value===_e);return rt>=0?tt.setContext(this.getContext(rt)).lineWidth:0}drawGrid(_e){const tt=this.options.grid,nt=this.ctx,rt=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(_e));let st,it;const at=(ot,lt,ct)=>{!ct.width||!ct.color||(nt.save(),nt.lineWidth=ct.width,nt.strokeStyle=ct.color,nt.setLineDash(ct.borderDash||[]),nt.lineDashOffset=ct.borderDashOffset,nt.beginPath(),nt.moveTo(ot.x,ot.y),nt.lineTo(lt.x,lt.y),nt.stroke(),nt.restore())};if(tt.display)for(st=0,it=rt.length;st{this.draw(st)}}]:[{z:nt,draw:st=>{this.drawBackground(),this.drawGrid(st),this.drawTitle()}},{z:rt,draw:()=>{this.drawBorder()}},{z:tt,draw:st=>{this.drawLabels(st)}}]}getMatchingVisibleMetas(_e){const tt=this.chart.getSortedVisibleDatasetMetas(),nt=this.axis+"AxisID",rt=[];let st,it;for(st=0,it=tt.length;st{const nt=tt.split("."),rt=nt.pop(),st=[et].concat(nt).join("."),it=_e[tt].split("."),at=it.pop(),ot=it.join(".");defaults.route(st,rt,ot,at)})}function isIChartComponent(et){return"id"in et&&"defaults"in et}class Registry{constructor(){this.controllers=new TypedRegistry(DatasetController,"datasets",!0),this.elements=new TypedRegistry(Element,"elements"),this.plugins=new TypedRegistry(Object,"plugins"),this.scales=new TypedRegistry(Scale,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(..._e){this._each("register",_e)}remove(..._e){this._each("unregister",_e)}addControllers(..._e){this._each("register",_e,this.controllers)}addElements(..._e){this._each("register",_e,this.elements)}addPlugins(..._e){this._each("register",_e,this.plugins)}addScales(..._e){this._each("register",_e,this.scales)}getController(_e){return this._get(_e,this.controllers,"controller")}getElement(_e){return this._get(_e,this.elements,"element")}getPlugin(_e){return this._get(_e,this.plugins,"plugin")}getScale(_e){return this._get(_e,this.scales,"scale")}removeControllers(..._e){this._each("unregister",_e,this.controllers)}removeElements(..._e){this._each("unregister",_e,this.elements)}removePlugins(..._e){this._each("unregister",_e,this.plugins)}removeScales(..._e){this._each("unregister",_e,this.scales)}_each(_e,tt,nt){[...tt].forEach(rt=>{const st=nt||this._getRegistryForType(rt);nt||st.isForType(rt)||st===this.plugins&&rt.id?this._exec(_e,st,rt):each(rt,it=>{const at=nt||this._getRegistryForType(it);this._exec(_e,at,it)})})}_exec(_e,tt,nt){const rt=_capitalize(_e);callback(nt["before"+rt],[],nt),tt[_e](nt),callback(nt["after"+rt],[],nt)}_getRegistryForType(_e){for(let tt=0;ttst.filter(at=>!it.some(ot=>at.plugin.id===ot.plugin.id));this._notify(rt(tt,nt),_e,"stop"),this._notify(rt(nt,tt),_e,"start")}}function allPlugins(et){const _e={},tt=[],nt=Object.keys(registry.plugins.items);for(let st=0;st1&&idMatchesAxis(et[0].toLowerCase());if(nt)return nt}throw new Error(`Cannot determine type of '${et}' axis. Please provide 'axis' or 'position' option.`)}function getAxisFromDataset(et,_e,tt){if(tt[_e+"AxisID"]===et)return{axis:_e}}function retrieveAxisFromDatasets(et,_e){if(_e.data&&_e.data.datasets){const tt=_e.data.datasets.filter(nt=>nt.xAxisID===et||nt.yAxisID===et);if(tt.length)return getAxisFromDataset(et,"x",tt[0])||getAxisFromDataset(et,"y",tt[0])}return{}}function mergeScaleConfig(et,_e){const tt=overrides[et.type]||{scales:{}},nt=_e.scales||{},rt=getIndexAxis(et.type,_e),st=Object.create(null);return Object.keys(nt).forEach(it=>{const at=nt[it];if(!isObject(at))return console.error(`Invalid scale configuration for scale: ${it}`);if(at._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${it}`);const ot=determineAxis(it,at,retrieveAxisFromDatasets(it,et),defaults.scales[at.type]),lt=getDefaultScaleIDFromAxis(ot,rt),ct=tt.scales||{};st[it]=mergeIf(Object.create(null),[{axis:ot},at,ct[ot],ct[lt]])}),et.data.datasets.forEach(it=>{const at=it.type||et.type,ot=it.indexAxis||getIndexAxis(at,_e),ct=(overrides[at]||{}).scales||{};Object.keys(ct).forEach(ut=>{const dt=getAxisFromDefaultScaleID(ut,ot),ft=it[dt+"AxisID"]||dt;st[ft]=st[ft]||Object.create(null),mergeIf(st[ft],[{axis:dt},nt[ft],ct[ut]])})}),Object.keys(st).forEach(it=>{const at=st[it];mergeIf(at,[defaults.scales[at.type],defaults.scale])}),st}function initOptions(et){const _e=et.options||(et.options={});_e.plugins=valueOrDefault(_e.plugins,{}),_e.scales=mergeScaleConfig(et,_e)}function initData(et){return et=et||{},et.datasets=et.datasets||[],et.labels=et.labels||[],et}function initConfig(et){return et=et||{},et.data=initData(et.data),initOptions(et),et}const keyCache=new Map,keysCached=new Set;function cachedKeys(et,_e){let tt=keyCache.get(et);return tt||(tt=_e(),keyCache.set(et,tt),keysCached.add(tt)),tt}const addIfFound=(et,_e,tt)=>{const nt=resolveObjectKey(_e,tt);nt!==void 0&&et.add(nt)};class Config{constructor(_e){this._config=initConfig(_e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(_e){this._config.type=_e}get data(){return this._config.data}set data(_e){this._config.data=initData(_e)}get options(){return this._config.options}set options(_e){this._config.options=_e}get plugins(){return this._config.plugins}update(){const _e=this._config;this.clearCache(),initOptions(_e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(_e){return cachedKeys(_e,()=>[[`datasets.${_e}`,""]])}datasetAnimationScopeKeys(_e,tt){return cachedKeys(`${_e}.transition.${tt}`,()=>[[`datasets.${_e}.transitions.${tt}`,`transitions.${tt}`],[`datasets.${_e}`,""]])}datasetElementScopeKeys(_e,tt){return cachedKeys(`${_e}-${tt}`,()=>[[`datasets.${_e}.elements.${tt}`,`datasets.${_e}`,`elements.${tt}`,""]])}pluginScopeKeys(_e){const tt=_e.id,nt=this.type;return cachedKeys(`${nt}-plugin-${tt}`,()=>[[`plugins.${tt}`,..._e.additionalOptionScopes||[]]])}_cachedScopes(_e,tt){const nt=this._scopeCache;let rt=nt.get(_e);return(!rt||tt)&&(rt=new Map,nt.set(_e,rt)),rt}getOptionScopes(_e,tt,nt){const{options:rt,type:st}=this,it=this._cachedScopes(_e,nt),at=it.get(tt);if(at)return at;const ot=new Set;tt.forEach(ct=>{_e&&(ot.add(_e),ct.forEach(ut=>addIfFound(ot,_e,ut))),ct.forEach(ut=>addIfFound(ot,rt,ut)),ct.forEach(ut=>addIfFound(ot,overrides[st]||{},ut)),ct.forEach(ut=>addIfFound(ot,defaults,ut)),ct.forEach(ut=>addIfFound(ot,descriptors,ut))});const lt=Array.from(ot);return lt.length===0&<.push(Object.create(null)),keysCached.has(tt)&&it.set(tt,lt),lt}chartOptionScopes(){const{options:_e,type:tt}=this;return[_e,overrides[tt]||{},defaults.datasets[tt]||{},{type:tt},defaults,descriptors]}resolveNamedOptions(_e,tt,nt,rt=[""]){const st={$shared:!0},{resolver:it,subPrefixes:at}=getResolver(this._resolverCache,_e,rt);let ot=it;if(needContext(it,tt)){st.$shared=!1,nt=isFunction(nt)?nt():nt;const lt=this.createResolver(_e,nt,at);ot=_attachContext(it,nt,lt)}for(const lt of tt)st[lt]=ot[lt];return st}createResolver(_e,tt,nt=[""],rt){const{resolver:st}=getResolver(this._resolverCache,_e,nt);return isObject(tt)?_attachContext(st,tt,void 0,rt):st}}function getResolver(et,_e,tt){let nt=et.get(_e);nt||(nt=new Map,et.set(_e,nt));const rt=tt.join();let st=nt.get(rt);return st||(st={resolver:_createResolver(_e,tt),subPrefixes:tt.filter(at=>!at.toLowerCase().includes("hover"))},nt.set(rt,st)),st}const hasFunction=et=>isObject(et)&&Object.getOwnPropertyNames(et).reduce((_e,tt)=>_e||isFunction(et[tt]),!1);function needContext(et,_e){const{isScriptable:tt,isIndexable:nt}=_descriptors(et);for(const rt of _e){const st=tt(rt),it=nt(rt),at=(it||st)&&et[rt];if(st&&(isFunction(at)||hasFunction(at))||it&&isArray(at))return!0}return!1}var version="4.4.0";const KNOWN_POSITIONS=["top","bottom","left","right","chartArea"];function positionIsHorizontal(et,_e){return et==="top"||et==="bottom"||KNOWN_POSITIONS.indexOf(et)===-1&&_e==="x"}function compare2Level(et,_e){return function(tt,nt){return tt[et]===nt[et]?tt[_e]-nt[_e]:tt[et]-nt[et]}}function onAnimationsComplete(et){const _e=et.chart,tt=_e.options.animation;_e.notifyPlugins("afterRender"),callback(tt&&tt.onComplete,[et],_e)}function onAnimationProgress(et){const _e=et.chart,tt=_e.options.animation;callback(tt&&tt.onProgress,[et],_e)}function getCanvas(et){return _isDomSupported()&&typeof et=="string"?et=document.getElementById(et):et&&et.length&&(et=et[0]),et&&et.canvas&&(et=et.canvas),et}const instances={},getChart=et=>{const _e=getCanvas(et);return Object.values(instances).filter(tt=>tt.canvas===_e).pop()};function moveNumericKeys(et,_e,tt){const nt=Object.keys(et);for(const rt of nt){const st=+rt;if(st>=_e){const it=et[rt];delete et[rt],(tt>0||st>_e)&&(et[st+tt]=it)}}}function determineLastEvent(et,_e,tt,nt){return!tt||et.type==="mouseout"?null:nt?_e:et}function getSizeForArea(et,_e,tt){return et.options.clip?et[tt]:_e[tt]}function getDatasetArea(et,_e){const{xScale:tt,yScale:nt}=et;return tt&&nt?{left:getSizeForArea(tt,_e,"left"),right:getSizeForArea(tt,_e,"right"),top:getSizeForArea(nt,_e,"top"),bottom:getSizeForArea(nt,_e,"bottom")}:_e}class Chart{static register(..._e){registry.add(..._e),invalidatePlugins()}static unregister(..._e){registry.remove(..._e),invalidatePlugins()}constructor(_e,tt){const nt=this.config=new Config(tt),rt=getCanvas(_e),st=getChart(rt);if(st)throw new Error("Canvas is already in use. Chart with ID '"+st.id+"' must be destroyed before the canvas with ID '"+st.canvas.id+"' can be reused.");const it=nt.createResolver(nt.chartOptionScopes(),this.getContext());this.platform=new(nt.platform||_detectPlatform(rt)),this.platform.updateConfig(nt);const at=this.platform.acquireContext(rt,it.aspectRatio),ot=at&&at.canvas,lt=ot&&ot.height,ct=ot&&ot.width;if(this.id=uid(),this.ctx=at,this.canvas=ot,this.width=ct,this.height=lt,this._options=it,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new PluginService,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=debounce(ut=>this.update(ut),it.resizeDelay||0),this._dataChanges=[],instances[this.id]=this,!at||!ot){console.error("Failed to create chart: can't acquire context from the given item");return}animator.listen(this,"complete",onAnimationsComplete),animator.listen(this,"progress",onAnimationProgress),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:_e,maintainAspectRatio:tt},width:nt,height:rt,_aspectRatio:st}=this;return isNullOrUndef(_e)?tt&&st?st:rt?nt/rt:null:_e}get data(){return this.config.data}set data(_e){this.config.data=_e}get options(){return this._options}set options(_e){this.config.options=_e}get registry(){return registry}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():retinaScale(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return clearCanvas(this.canvas,this.ctx),this}stop(){return animator.stop(this),this}resize(_e,tt){animator.running(this)?this._resizeBeforeDraw={width:_e,height:tt}:this._resize(_e,tt)}_resize(_e,tt){const nt=this.options,rt=this.canvas,st=nt.maintainAspectRatio&&this.aspectRatio,it=this.platform.getMaximumSize(rt,_e,tt,st),at=nt.devicePixelRatio||this.platform.getDevicePixelRatio(),ot=this.width?"resize":"attach";this.width=it.width,this.height=it.height,this._aspectRatio=this.aspectRatio,retinaScale(this,at,!0)&&(this.notifyPlugins("resize",{size:it}),callback(nt.onResize,[this,it],this),this.attached&&this._doResize(ot)&&this.render())}ensureScalesHaveIDs(){const tt=this.options.scales||{};each(tt,(nt,rt)=>{nt.id=rt})}buildOrUpdateScales(){const _e=this.options,tt=_e.scales,nt=this.scales,rt=Object.keys(nt).reduce((it,at)=>(it[at]=!1,it),{});let st=[];tt&&(st=st.concat(Object.keys(tt).map(it=>{const at=tt[it],ot=determineAxis(it,at),lt=ot==="r",ct=ot==="x";return{options:at,dposition:lt?"chartArea":ct?"bottom":"left",dtype:lt?"radialLinear":ct?"category":"linear"}}))),each(st,it=>{const at=it.options,ot=at.id,lt=determineAxis(ot,at),ct=valueOrDefault(at.type,it.dtype);(at.position===void 0||positionIsHorizontal(at.position,lt)!==positionIsHorizontal(it.dposition))&&(at.position=it.dposition),rt[ot]=!0;let ut=null;if(ot in nt&&nt[ot].type===ct)ut=nt[ot];else{const dt=registry.getScale(ct);ut=new dt({id:ot,type:ct,ctx:this.ctx,chart:this}),nt[ut.id]=ut}ut.init(at,_e)}),each(rt,(it,at)=>{it||delete nt[at]}),each(nt,it=>{layouts.configure(this,it,it.options),layouts.addBox(this,it)})}_updateMetasets(){const _e=this._metasets,tt=this.data.datasets.length,nt=_e.length;if(_e.sort((rt,st)=>rt.index-st.index),nt>tt){for(let rt=tt;rttt.length&&delete this._stacks,_e.forEach((nt,rt)=>{tt.filter(st=>st===nt._dataset).length===0&&this._destroyDatasetMeta(rt)})}buildOrUpdateControllers(){const _e=[],tt=this.data.datasets;let nt,rt;for(this._removeUnreferencedMetasets(),nt=0,rt=tt.length;nt{this.getDatasetMeta(tt).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(_e){const tt=this.config;tt.update();const nt=this._options=tt.createResolver(tt.chartOptionScopes(),this.getContext()),rt=this._animationsDisabled=!nt.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:_e,cancelable:!0})===!1)return;const st=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let it=0;for(let lt=0,ct=this.data.datasets.length;lt{lt.reset()}),this._updateDatasets(_e),this.notifyPlugins("afterUpdate",{mode:_e}),this._layers.sort(compare2Level("z","_idx"));const{_active:at,_lastEvent:ot}=this;ot?this._eventHandler(ot,!0):at.length&&this._updateHoverStyles(at,at,!0),this.render()}_updateScales(){each(this.scales,_e=>{layouts.removeBox(this,_e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const _e=this.options,tt=new Set(Object.keys(this._listeners)),nt=new Set(_e.events);(!setsEqual(tt,nt)||!!this._responsiveListeners!==_e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:_e}=this,tt=this._getUniformDataChanges()||[];for(const{method:nt,start:rt,count:st}of tt){const it=nt==="_removeElements"?-st:st;moveNumericKeys(_e,rt,it)}}_getUniformDataChanges(){const _e=this._dataChanges;if(!_e||!_e.length)return;this._dataChanges=[];const tt=this.data.datasets.length,nt=st=>new Set(_e.filter(it=>it[0]===st).map((it,at)=>at+","+it.splice(1).join(","))),rt=nt(0);for(let st=1;stst.split(",")).map(st=>({method:st[1],start:+st[2],count:+st[3]}))}_updateLayout(_e){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;layouts.update(this,this.width,this.height,_e);const tt=this.chartArea,nt=tt.width<=0||tt.height<=0;this._layers=[],each(this.boxes,rt=>{nt&&rt.position==="chartArea"||(rt.configure&&rt.configure(),this._layers.push(...rt._layers()))},this),this._layers.forEach((rt,st)=>{rt._idx=st}),this.notifyPlugins("afterLayout")}_updateDatasets(_e){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:_e,cancelable:!0})!==!1){for(let tt=0,nt=this.data.datasets.length;tt=0;--tt)this._drawDataset(_e[tt]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(_e){const tt=this.ctx,nt=_e._clip,rt=!nt.disabled,st=getDatasetArea(_e,this.chartArea),it={meta:_e,index:_e.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",it)!==!1&&(rt&&clipArea(tt,{left:nt.left===!1?0:st.left-nt.left,right:nt.right===!1?this.width:st.right+nt.right,top:nt.top===!1?0:st.top-nt.top,bottom:nt.bottom===!1?this.height:st.bottom+nt.bottom}),_e.controller.draw(),rt&&unclipArea(tt),it.cancelable=!1,this.notifyPlugins("afterDatasetDraw",it))}isPointInArea(_e){return _isPointInArea(_e,this.chartArea,this._minPadding)}getElementsAtEventForMode(_e,tt,nt,rt){const st=Interaction.modes[tt];return typeof st=="function"?st(this,_e,nt,rt):[]}getDatasetMeta(_e){const tt=this.data.datasets[_e],nt=this._metasets;let rt=nt.filter(st=>st&&st._dataset===tt).pop();return rt||(rt={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:tt&&tt.order||0,index:_e,_dataset:tt,_parsed:[],_sorted:!1},nt.push(rt)),rt}getContext(){return this.$context||(this.$context=createContext(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(_e){const tt=this.data.datasets[_e];if(!tt)return!1;const nt=this.getDatasetMeta(_e);return typeof nt.hidden=="boolean"?!nt.hidden:!tt.hidden}setDatasetVisibility(_e,tt){const nt=this.getDatasetMeta(_e);nt.hidden=!tt}toggleDataVisibility(_e){this._hiddenIndices[_e]=!this._hiddenIndices[_e]}getDataVisibility(_e){return!this._hiddenIndices[_e]}_updateVisibility(_e,tt,nt){const rt=nt?"show":"hide",st=this.getDatasetMeta(_e),it=st.controller._resolveAnimations(void 0,rt);defined(tt)?(st.data[tt].hidden=!nt,this.update()):(this.setDatasetVisibility(_e,nt),it.update(st,{visible:nt}),this.update(at=>at.datasetIndex===_e?rt:void 0))}hide(_e,tt){this._updateVisibility(_e,tt,!1)}show(_e,tt){this._updateVisibility(_e,tt,!0)}_destroyDatasetMeta(_e){const tt=this._metasets[_e];tt&&tt.controller&&tt.controller._destroy(),delete this._metasets[_e]}_stop(){let _e,tt;for(this.stop(),animator.remove(this),_e=0,tt=this.data.datasets.length;_e{tt.addEventListener(this,st,it),_e[st]=it},rt=(st,it,at)=>{st.offsetX=it,st.offsetY=at,this._eventHandler(st)};each(this.options.events,st=>nt(st,rt))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const _e=this._responsiveListeners,tt=this.platform,nt=(ot,lt)=>{tt.addEventListener(this,ot,lt),_e[ot]=lt},rt=(ot,lt)=>{_e[ot]&&(tt.removeEventListener(this,ot,lt),delete _e[ot])},st=(ot,lt)=>{this.canvas&&this.resize(ot,lt)};let it;const at=()=>{rt("attach",at),this.attached=!0,this.resize(),nt("resize",st),nt("detach",it)};it=()=>{this.attached=!1,rt("resize",st),this._stop(),this._resize(0,0),nt("attach",at)},tt.isAttached(this.canvas)?at():it()}unbindEvents(){each(this._listeners,(_e,tt)=>{this.platform.removeEventListener(this,tt,_e)}),this._listeners={},each(this._responsiveListeners,(_e,tt)=>{this.platform.removeEventListener(this,tt,_e)}),this._responsiveListeners=void 0}updateHoverStyle(_e,tt,nt){const rt=nt?"set":"remove";let st,it,at,ot;for(tt==="dataset"&&(st=this.getDatasetMeta(_e[0].datasetIndex),st.controller["_"+rt+"DatasetHoverStyle"]()),at=0,ot=_e.length;at{const at=this.getDatasetMeta(st);if(!at)throw new Error("No dataset found at index "+st);return{datasetIndex:st,element:at.data[it],index:it}});!_elementsEqual(nt,tt)&&(this._active=nt,this._lastEvent=null,this._updateHoverStyles(nt,tt))}notifyPlugins(_e,tt,nt){return this._plugins.notify(this,_e,tt,nt)}isPluginEnabled(_e){return this._plugins._cache.filter(tt=>tt.plugin.id===_e).length===1}_updateHoverStyles(_e,tt,nt){const rt=this.options.hover,st=(ot,lt)=>ot.filter(ct=>!lt.some(ut=>ct.datasetIndex===ut.datasetIndex&&ct.index===ut.index)),it=st(tt,_e),at=nt?_e:st(_e,tt);it.length&&this.updateHoverStyle(it,rt.mode,!1),at.length&&rt.mode&&this.updateHoverStyle(at,rt.mode,!0)}_eventHandler(_e,tt){const nt={event:_e,replay:tt,cancelable:!0,inChartArea:this.isPointInArea(_e)},rt=it=>(it.options.events||this.options.events).includes(_e.native.type);if(this.notifyPlugins("beforeEvent",nt,rt)===!1)return;const st=this._handleEvent(_e,tt,nt.inChartArea);return nt.cancelable=!1,this.notifyPlugins("afterEvent",nt,rt),(st||nt.changed)&&this.render(),this}_handleEvent(_e,tt,nt){const{_active:rt=[],options:st}=this,it=tt,at=this._getActiveElements(_e,rt,nt,it),ot=_isClickEvent(_e),lt=determineLastEvent(_e,this._lastEvent,nt,ot);nt&&(this._lastEvent=null,callback(st.onHover,[_e,at,this],this),ot&&callback(st.onClick,[_e,at,this],this));const ct=!_elementsEqual(at,rt);return(ct||tt)&&(this._active=at,this._updateHoverStyles(at,rt,tt)),this._lastEvent=lt,ct}_getActiveElements(_e,tt,nt,rt){if(_e.type==="mouseout")return[];if(!nt)return tt;const st=this.options.hover;return this.getElementsAtEventForMode(_e,st.mode,st,rt)}}yn(Chart,"defaults",defaults),yn(Chart,"instances",instances),yn(Chart,"overrides",overrides),yn(Chart,"registry",registry),yn(Chart,"version",version),yn(Chart,"getChart",getChart);function invalidatePlugins(){return each(Chart.instances,et=>et._plugins.invalidate())}function clipArc(et,_e,tt){const{startAngle:nt,pixelMargin:rt,x:st,y:it,outerRadius:at,innerRadius:ot}=_e;let lt=rt/at;et.beginPath(),et.arc(st,it,at,nt-lt,tt+lt),ot>rt?(lt=rt/ot,et.arc(st,it,ot,tt+lt,nt-lt,!0)):et.arc(st,it,rt,tt+HALF_PI,nt-HALF_PI),et.closePath(),et.clip()}function toRadiusCorners(et){return _readValueToProps(et,["outerStart","outerEnd","innerStart","innerEnd"])}function parseBorderRadius$1(et,_e,tt,nt){const rt=toRadiusCorners(et.options.borderRadius),st=(tt-_e)/2,it=Math.min(st,nt*_e/2),at=ot=>{const lt=(tt-Math.min(st,ot))*nt/2;return _limitValue(ot,0,Math.min(st,lt))};return{outerStart:at(rt.outerStart),outerEnd:at(rt.outerEnd),innerStart:_limitValue(rt.innerStart,0,it),innerEnd:_limitValue(rt.innerEnd,0,it)}}function rThetaToXY(et,_e,tt,nt){return{x:tt+et*Math.cos(_e),y:nt+et*Math.sin(_e)}}function pathArc(et,_e,tt,nt,rt,st){const{x:it,y:at,startAngle:ot,pixelMargin:lt,innerRadius:ct}=_e,ut=Math.max(_e.outerRadius+nt+tt-lt,0),dt=ct>0?ct+nt+tt+lt:0;let ft=0;const pt=rt-ot;if(nt){const _t=ct>0?ct-nt:0,Bt=ut>0?ut-nt:0,It=(_t+Bt)/2,At=It!==0?pt*It/(It+nt):pt;ft=(pt-At)/2}const ht=Math.max(.001,pt*ut-tt/PI)/ut,vt=(pt-ht)/2,gt=ot+vt+ft,mt=rt-vt-ft,{outerStart:bt,outerEnd:xt,innerStart:yt,innerEnd:$t}=parseBorderRadius$1(_e,dt,ut,mt-gt),wt=ut-bt,Ct=ut-xt,Et=gt+bt/wt,Mt=mt-xt/Ct,St=dt+yt,Rt=dt+$t,Pt=gt+yt/St,kt=mt-$t/Rt;if(et.beginPath(),st){const _t=(Et+Mt)/2;if(et.arc(it,at,ut,Et,_t),et.arc(it,at,ut,_t,Mt),xt>0){const Tt=rThetaToXY(Ct,Mt,it,at);et.arc(Tt.x,Tt.y,xt,Mt,mt+HALF_PI)}const Bt=rThetaToXY(Rt,mt,it,at);if(et.lineTo(Bt.x,Bt.y),$t>0){const Tt=rThetaToXY(Rt,kt,it,at);et.arc(Tt.x,Tt.y,$t,mt+HALF_PI,kt+Math.PI)}const It=(mt-$t/dt+(gt+yt/dt))/2;if(et.arc(it,at,dt,mt-$t/dt,It,!0),et.arc(it,at,dt,It,gt+yt/dt,!0),yt>0){const Tt=rThetaToXY(St,Pt,it,at);et.arc(Tt.x,Tt.y,yt,Pt+Math.PI,gt-HALF_PI)}const At=rThetaToXY(wt,gt,it,at);if(et.lineTo(At.x,At.y),bt>0){const Tt=rThetaToXY(wt,Et,it,at);et.arc(Tt.x,Tt.y,bt,gt-HALF_PI,Et)}}else{et.moveTo(it,at);const _t=Math.cos(Et)*ut+it,Bt=Math.sin(Et)*ut+at;et.lineTo(_t,Bt);const It=Math.cos(Mt)*ut+it,At=Math.sin(Mt)*ut+at;et.lineTo(It,At)}et.closePath()}function drawArc(et,_e,tt,nt,rt){const{fullCircles:st,startAngle:it,circumference:at}=_e;let ot=_e.endAngle;if(st){pathArc(et,_e,tt,nt,ot,rt);for(let lt=0;lt=TAU||_angleBetween(it,ot,lt),vt=_isBetween(at,ct+ft,ut+ft);return ht&&vt}getCenterPoint(tt){const{x:nt,y:rt,startAngle:st,endAngle:it,innerRadius:at,outerRadius:ot}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],tt),{offset:lt,spacing:ct}=this.options,ut=(st+it)/2,dt=(at+ot+ct+lt)/2;return{x:nt+Math.cos(ut)*dt,y:rt+Math.sin(ut)*dt}}tooltipPosition(tt){return this.getCenterPoint(tt)}draw(tt){const{options:nt,circumference:rt}=this,st=(nt.offset||0)/4,it=(nt.spacing||0)/2,at=nt.circular;if(this.pixelMargin=nt.borderAlign==="inner"?.33:0,this.fullCircles=rt>TAU?Math.floor(rt/TAU):0,rt===0||this.innerRadius<0||this.outerRadius<0)return;tt.save();const ot=(this.startAngle+this.endAngle)/2;tt.translate(Math.cos(ot)*st,Math.sin(ot)*st);const lt=1-Math.sin(Math.min(PI,rt||0)),ct=st*lt;tt.fillStyle=nt.backgroundColor,tt.strokeStyle=nt.borderColor,drawArc(tt,this,ct,it,at),drawBorder(tt,this,ct,it,at),tt.restore()}}yn(ArcElement,"id","arc"),yn(ArcElement,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0}),yn(ArcElement,"defaultRoutes",{backgroundColor:"backgroundColor"}),yn(ArcElement,"descriptors",{_scriptable:!0,_indexable:tt=>tt!=="borderDash"});function setStyle(et,_e,tt=_e){et.lineCap=valueOrDefault(tt.borderCapStyle,_e.borderCapStyle),et.setLineDash(valueOrDefault(tt.borderDash,_e.borderDash)),et.lineDashOffset=valueOrDefault(tt.borderDashOffset,_e.borderDashOffset),et.lineJoin=valueOrDefault(tt.borderJoinStyle,_e.borderJoinStyle),et.lineWidth=valueOrDefault(tt.borderWidth,_e.borderWidth),et.strokeStyle=valueOrDefault(tt.borderColor,_e.borderColor)}function lineTo(et,_e,tt){et.lineTo(tt.x,tt.y)}function getLineMethod(et){return et.stepped?_steppedLineTo:et.tension||et.cubicInterpolationMode==="monotone"?_bezierCurveTo:lineTo}function pathVars(et,_e,tt={}){const nt=et.length,{start:rt=0,end:st=nt-1}=tt,{start:it,end:at}=_e,ot=Math.max(rt,it),lt=Math.min(st,at),ct=rtat&&st>at;return{count:nt,start:ot,loop:_e.loop,ilen:lt(it+(lt?at-xt:xt))%st,bt=()=>{ht!==vt&&(et.lineTo(ct,vt),et.lineTo(ct,ht),et.lineTo(ct,gt))};for(ot&&(ft=rt[mt(0)],et.moveTo(ft.x,ft.y)),dt=0;dt<=at;++dt){if(ft=rt[mt(dt)],ft.skip)continue;const xt=ft.x,yt=ft.y,$t=xt|0;$t===pt?(ytvt&&(vt=yt),ct=(ut*ct+xt)/++ut):(bt(),et.lineTo(xt,yt),pt=$t,ut=0,ht=vt=yt),gt=yt}bt()}function _getSegmentMethod(et){const _e=et.options,tt=_e.borderDash&&_e.borderDash.length;return!et._decimated&&!et._loop&&!_e.tension&&_e.cubicInterpolationMode!=="monotone"&&!_e.stepped&&!tt?fastPathSegment:pathSegment}function _getInterpolationMethod(et){return et.stepped?_steppedInterpolation:et.tension||et.cubicInterpolationMode==="monotone"?_bezierInterpolation:_pointInLine}function strokePathWithCache(et,_e,tt,nt){let rt=_e._path;rt||(rt=_e._path=new Path2D,_e.path(rt,tt,nt)&&rt.closePath()),setStyle(et,_e.options),et.stroke(rt)}function strokePathDirect(et,_e,tt,nt){const{segments:rt,options:st}=_e,it=_getSegmentMethod(_e);for(const at of rt)setStyle(et,st,at.style),et.beginPath(),it(et,_e,at,{start:tt,end:tt+nt-1})&&et.closePath(),et.stroke()}const usePath2D=typeof Path2D=="function";function draw(et,_e,tt,nt){usePath2D&&!_e.options.segment?strokePathWithCache(et,_e,tt,nt):strokePathDirect(et,_e,tt,nt)}class LineElement extends Element{constructor(_e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,_e&&Object.assign(this,_e)}updateControlPoints(_e,tt){const nt=this.options;if((nt.tension||nt.cubicInterpolationMode==="monotone")&&!nt.stepped&&!this._pointsUpdated){const rt=nt.spanGaps?this._loop:this._fullLoop;_updateBezierControlPoints(this._points,nt,_e,rt,tt),this._pointsUpdated=!0}}set points(_e){this._points=_e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=_computeSegments(this,this.options.segment))}first(){const _e=this.segments,tt=this.points;return _e.length&&tt[_e[0].start]}last(){const _e=this.segments,tt=this.points,nt=_e.length;return nt&&tt[_e[nt-1].end]}interpolate(_e,tt){const nt=this.options,rt=_e[tt],st=this.points,it=_boundSegments(this,{property:tt,start:rt,end:rt});if(!it.length)return;const at=[],ot=_getInterpolationMethod(nt);let lt,ct;for(lt=0,ct=it.length;lt_e!=="borderDash"&&_e!=="fill"});function inRange$1(et,_e,tt,nt){const rt=et.options,{[tt]:st}=et.getProps([tt],nt);return Math.abs(_e-st)et.replace("rgb(","rgba(").replace(")",", 0.5)"));function getBorderColor(et){return BORDER_COLORS[et%BORDER_COLORS.length]}function getBackgroundColor(et){return BACKGROUND_COLORS[et%BACKGROUND_COLORS.length]}function colorizeDefaultDataset(et,_e){return et.borderColor=getBorderColor(_e),et.backgroundColor=getBackgroundColor(_e),++_e}function colorizeDoughnutDataset(et,_e){return et.backgroundColor=et.data.map(()=>getBorderColor(_e++)),_e}function colorizePolarAreaDataset(et,_e){return et.backgroundColor=et.data.map(()=>getBackgroundColor(_e++)),_e}function getColorizer(et){let _e=0;return(tt,nt)=>{const rt=et.getDatasetMeta(nt).controller;rt instanceof DoughnutController?_e=colorizeDoughnutDataset(tt,_e):rt instanceof PolarAreaController?_e=colorizePolarAreaDataset(tt,_e):rt&&(_e=colorizeDefaultDataset(tt,_e))}}function containsColorsDefinitions(et){let _e;for(_e in et)if(et[_e].borderColor||et[_e].backgroundColor)return!0;return!1}function containsColorsDefinition(et){return et&&(et.borderColor||et.backgroundColor)}var plugin_colors={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(et,_e,tt){if(!tt.enabled)return;const{data:{datasets:nt},options:rt}=et.config,{elements:st}=rt;if(!tt.forceOverride&&(containsColorsDefinitions(nt)||containsColorsDefinition(rt)||st&&containsColorsDefinitions(st)))return;const it=getColorizer(et);nt.forEach(it)}};function lttbDecimation(et,_e,tt,nt,rt){const st=rt.samples||nt;if(st>=tt)return et.slice(_e,_e+tt);const it=[],at=(tt-2)/(st-2);let ot=0;const lt=_e+tt-1;let ct=_e,ut,dt,ft,pt,ht;for(it[ot++]=et[ct],ut=0;utft&&(ft=pt,dt=et[mt],ht=mt);it[ot++]=dt,ct=ht}return it[ot++]=et[lt],it}function minMaxDecimation(et,_e,tt,nt){let rt=0,st=0,it,at,ot,lt,ct,ut,dt,ft,pt,ht;const vt=[],gt=_e+tt-1,mt=et[_e].x,xt=et[gt].x-mt;for(it=_e;it<_e+tt;++it){at=et[it],ot=(at.x-mt)/xt*nt,lt=at.y;const yt=ot|0;if(yt===ct)ltht&&(ht=lt,dt=it),rt=(st*rt+at.x)/++st;else{const $t=it-1;if(!isNullOrUndef(ut)&&!isNullOrUndef(dt)){const wt=Math.min(ut,dt),Ct=Math.max(ut,dt);wt!==ft&&wt!==$t&&vt.push({...et[wt],x:rt}),Ct!==ft&&Ct!==$t&&vt.push({...et[Ct],x:rt})}it>0&&$t!==ft&&vt.push(et[$t]),vt.push(at),ct=yt,st=0,pt=ht=lt,ut=dt=ft=it}}return vt}function cleanDecimatedDataset(et){if(et._decimated){const _e=et._data;delete et._decimated,delete et._data,Object.defineProperty(et,"data",{configurable:!0,enumerable:!0,writable:!0,value:_e})}}function cleanDecimatedData(et){et.data.datasets.forEach(_e=>{cleanDecimatedDataset(_e)})}function getStartAndCountOfVisiblePointsSimplified(et,_e){const tt=_e.length;let nt=0,rt;const{iScale:st}=et,{min:it,max:at,minDefined:ot,maxDefined:lt}=st.getUserBounds();return ot&&(nt=_limitValue(_lookupByKey(_e,st.axis,it).lo,0,tt-1)),lt?rt=_limitValue(_lookupByKey(_e,st.axis,at).hi+1,nt,tt)-nt:rt=tt-nt,{start:nt,count:rt}}var plugin_decimation={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(et,_e,tt)=>{if(!tt.enabled){cleanDecimatedData(et);return}const nt=et.width;et.data.datasets.forEach((rt,st)=>{const{_data:it,indexAxis:at}=rt,ot=et.getDatasetMeta(st),lt=it||rt.data;if(resolve([at,et.options.indexAxis])==="y"||!ot.controller.supportsDecimation)return;const ct=et.scales[ot.xAxisID];if(ct.type!=="linear"&&ct.type!=="time"||et.options.parsing)return;let{start:ut,count:dt}=getStartAndCountOfVisiblePointsSimplified(ot,lt);const ft=tt.threshold||4*nt;if(dt<=ft){cleanDecimatedDataset(rt);return}isNullOrUndef(it)&&(rt._data=lt,delete rt.data,Object.defineProperty(rt,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(ht){this._data=ht}}));let pt;switch(tt.algorithm){case"lttb":pt=lttbDecimation(lt,ut,dt,nt,tt);break;case"min-max":pt=minMaxDecimation(lt,ut,dt,nt);break;default:throw new Error(`Unsupported decimation algorithm '${tt.algorithm}'`)}rt._decimated=pt})},destroy(et){cleanDecimatedData(et)}};function _segments(et,_e,tt){const nt=et.segments,rt=et.points,st=_e.points,it=[];for(const at of nt){let{start:ot,end:lt}=at;lt=_findSegmentEnd(ot,lt,rt);const ct=_getBounds(tt,rt[ot],rt[lt],at.loop);if(!_e.segments){it.push({source:at,target:ct,start:rt[ot],end:rt[lt]});continue}const ut=_boundSegments(_e,ct);for(const dt of ut){const ft=_getBounds(tt,st[dt.start],st[dt.end],dt.loop),pt=_boundSegment(at,rt,ft);for(const ht of pt)it.push({source:ht,target:dt,start:{[tt]:_getEdge(ct,ft,"start",Math.max)},end:{[tt]:_getEdge(ct,ft,"end",Math.min)}})}}return it}function _getBounds(et,_e,tt,nt){if(nt)return;let rt=_e[et],st=tt[et];return et==="angle"&&(rt=_normalizeAngle(rt),st=_normalizeAngle(st)),{property:et,start:rt,end:st}}function _pointsFromSegments(et,_e){const{x:tt=null,y:nt=null}=et||{},rt=_e.points,st=[];return _e.segments.forEach(({start:it,end:at})=>{at=_findSegmentEnd(it,at,rt);const ot=rt[it],lt=rt[at];nt!==null?(st.push({x:ot.x,y:nt}),st.push({x:lt.x,y:nt})):tt!==null&&(st.push({x:tt,y:ot.y}),st.push({x:tt,y:lt.y}))}),st}function _findSegmentEnd(et,_e,tt){for(;_e>et;_e--){const nt=tt[_e];if(!isNaN(nt.x)&&!isNaN(nt.y))break}return _e}function _getEdge(et,_e,tt,nt){return et&&_e?nt(et[tt],_e[tt]):et?et[tt]:_e?_e[tt]:0}function _createBoundaryLine(et,_e){let tt=[],nt=!1;return isArray(et)?(nt=!0,tt=et):tt=_pointsFromSegments(et,_e),tt.length?new LineElement({points:tt,options:{tension:0},_loop:nt,_fullLoop:nt}):null}function _shouldApplyFill(et){return et&&et.fill!==!1}function _resolveTarget(et,_e,tt){let rt=et[_e].fill;const st=[_e];let it;if(!tt)return rt;for(;rt!==!1&&st.indexOf(rt)===-1;){if(!isNumberFinite(rt))return rt;if(it=et[rt],!it)return!1;if(it.visible)return rt;st.push(rt),rt=it.fill}return!1}function _decodeFill(et,_e,tt){const nt=parseFillOption(et);if(isObject(nt))return isNaN(nt.value)?!1:nt;let rt=parseFloat(nt);return isNumberFinite(rt)&&Math.floor(rt)===rt?decodeTargetIndex(nt[0],_e,rt,tt):["origin","start","end","stack","shape"].indexOf(nt)>=0&&nt}function decodeTargetIndex(et,_e,tt,nt){return(et==="-"||et==="+")&&(tt=_e+tt),tt===_e||tt<0||tt>=nt?!1:tt}function _getTargetPixel(et,_e){let tt=null;return et==="start"?tt=_e.bottom:et==="end"?tt=_e.top:isObject(et)?tt=_e.getPixelForValue(et.value):_e.getBasePixel&&(tt=_e.getBasePixel()),tt}function _getTargetValue(et,_e,tt){let nt;return et==="start"?nt=tt:et==="end"?nt=_e.options.reverse?_e.min:_e.max:isObject(et)?nt=et.value:nt=_e.getBaseValue(),nt}function parseFillOption(et){const _e=et.options,tt=_e.fill;let nt=valueOrDefault(tt&&tt.target,tt);return nt===void 0&&(nt=!!_e.backgroundColor),nt===!1||nt===null?!1:nt===!0?"origin":nt}function _buildStackLine(et){const{scale:_e,index:tt,line:nt}=et,rt=[],st=nt.segments,it=nt.points,at=getLinesBelow(_e,tt);at.push(_createBoundaryLine({x:null,y:_e.bottom},nt));for(let ot=0;ot=0;--it){const at=rt[it].$filler;at&&(at.line.updateControlPoints(st,at.axis),nt&&at.fill&&_drawfill(et.ctx,at,st))}},beforeDatasetsDraw(et,_e,tt){if(tt.drawTime!=="beforeDatasetsDraw")return;const nt=et.getSortedVisibleDatasetMetas();for(let rt=nt.length-1;rt>=0;--rt){const st=nt[rt].$filler;_shouldApplyFill(st)&&_drawfill(et.ctx,st,et.chartArea)}},beforeDatasetDraw(et,_e,tt){const nt=_e.meta.$filler;!_shouldApplyFill(nt)||tt.drawTime!=="beforeDatasetDraw"||_drawfill(et.ctx,nt,et.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const getBoxSize=(et,_e)=>{let{boxHeight:tt=_e,boxWidth:nt=_e}=et;return et.usePointStyle&&(tt=Math.min(tt,_e),nt=et.pointStyleWidth||Math.min(nt,_e)),{boxWidth:nt,boxHeight:tt,itemHeight:Math.max(_e,tt)}},itemsEqual=(et,_e)=>et!==null&&_e!==null&&et.datasetIndex===_e.datasetIndex&&et.index===_e.index;class Legend extends Element{constructor(_e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=_e.chart,this.options=_e.options,this.ctx=_e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(_e,tt,nt){this.maxWidth=_e,this.maxHeight=tt,this._margins=nt,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const _e=this.options.labels||{};let tt=callback(_e.generateLabels,[this.chart],this)||[];_e.filter&&(tt=tt.filter(nt=>_e.filter(nt,this.chart.data))),_e.sort&&(tt=tt.sort((nt,rt)=>_e.sort(nt,rt,this.chart.data))),this.options.reverse&&tt.reverse(),this.legendItems=tt}fit(){const{options:_e,ctx:tt}=this;if(!_e.display){this.width=this.height=0;return}const nt=_e.labels,rt=toFont(nt.font),st=rt.size,it=this._computeTitleHeight(),{boxWidth:at,itemHeight:ot}=getBoxSize(nt,st);let lt,ct;tt.font=rt.string,this.isHorizontal()?(lt=this.maxWidth,ct=this._fitRows(it,st,at,ot)+10):(ct=this.maxHeight,lt=this._fitCols(it,rt,at,ot)+10),this.width=Math.min(lt,_e.maxWidth||this.maxWidth),this.height=Math.min(ct,_e.maxHeight||this.maxHeight)}_fitRows(_e,tt,nt,rt){const{ctx:st,maxWidth:it,options:{labels:{padding:at}}}=this,ot=this.legendHitBoxes=[],lt=this.lineWidths=[0],ct=rt+at;let ut=_e;st.textAlign="left",st.textBaseline="middle";let dt=-1,ft=-ct;return this.legendItems.forEach((pt,ht)=>{const vt=nt+tt/2+st.measureText(pt.text).width;(ht===0||lt[lt.length-1]+vt+2*at>it)&&(ut+=ct,lt[lt.length-(ht>0?0:1)]=0,ft+=ct,dt++),ot[ht]={left:0,top:ft,row:dt,width:vt,height:rt},lt[lt.length-1]+=vt+at}),ut}_fitCols(_e,tt,nt,rt){const{ctx:st,maxHeight:it,options:{labels:{padding:at}}}=this,ot=this.legendHitBoxes=[],lt=this.columnSizes=[],ct=it-_e;let ut=at,dt=0,ft=0,pt=0,ht=0;return this.legendItems.forEach((vt,gt)=>{const{itemWidth:mt,itemHeight:bt}=calculateItemSize(nt,tt,st,vt,rt);gt>0&&ft+bt+2*at>ct&&(ut+=dt+at,lt.push({width:dt,height:ft}),pt+=dt+at,ht++,dt=ft=0),ot[gt]={left:pt,top:ft,col:ht,width:mt,height:bt},dt=Math.max(dt,mt),ft+=bt+at}),ut+=dt,lt.push({width:dt,height:ft}),ut}adjustHitBoxes(){if(!this.options.display)return;const _e=this._computeTitleHeight(),{legendHitBoxes:tt,options:{align:nt,labels:{padding:rt},rtl:st}}=this,it=getRtlAdapter(st,this.left,this.width);if(this.isHorizontal()){let at=0,ot=_alignStartEnd(nt,this.left+rt,this.right-this.lineWidths[at]);for(const lt of tt)at!==lt.row&&(at=lt.row,ot=_alignStartEnd(nt,this.left+rt,this.right-this.lineWidths[at])),lt.top+=this.top+_e+rt,lt.left=it.leftForLtr(it.x(ot),lt.width),ot+=lt.width+rt}else{let at=0,ot=_alignStartEnd(nt,this.top+_e+rt,this.bottom-this.columnSizes[at].height);for(const lt of tt)lt.col!==at&&(at=lt.col,ot=_alignStartEnd(nt,this.top+_e+rt,this.bottom-this.columnSizes[at].height)),lt.top=ot,lt.left+=this.left+rt,lt.left=it.leftForLtr(it.x(lt.left),lt.width),ot+=lt.height+rt}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const _e=this.ctx;clipArea(_e,this),this._draw(),unclipArea(_e)}}_draw(){const{options:_e,columnSizes:tt,lineWidths:nt,ctx:rt}=this,{align:st,labels:it}=_e,at=defaults.color,ot=getRtlAdapter(_e.rtl,this.left,this.width),lt=toFont(it.font),{padding:ct}=it,ut=lt.size,dt=ut/2;let ft;this.drawTitle(),rt.textAlign=ot.textAlign("left"),rt.textBaseline="middle",rt.lineWidth=.5,rt.font=lt.string;const{boxWidth:pt,boxHeight:ht,itemHeight:vt}=getBoxSize(it,ut),gt=function($t,wt,Ct){if(isNaN(pt)||pt<=0||isNaN(ht)||ht<0)return;rt.save();const Et=valueOrDefault(Ct.lineWidth,1);if(rt.fillStyle=valueOrDefault(Ct.fillStyle,at),rt.lineCap=valueOrDefault(Ct.lineCap,"butt"),rt.lineDashOffset=valueOrDefault(Ct.lineDashOffset,0),rt.lineJoin=valueOrDefault(Ct.lineJoin,"miter"),rt.lineWidth=Et,rt.strokeStyle=valueOrDefault(Ct.strokeStyle,at),rt.setLineDash(valueOrDefault(Ct.lineDash,[])),it.usePointStyle){const Mt={radius:ht*Math.SQRT2/2,pointStyle:Ct.pointStyle,rotation:Ct.rotation,borderWidth:Et},St=ot.xPlus($t,pt/2),Rt=wt+dt;drawPointLegend(rt,Mt,St,Rt,it.pointStyleWidth&&pt)}else{const Mt=wt+Math.max((ut-ht)/2,0),St=ot.leftForLtr($t,pt),Rt=toTRBLCorners(Ct.borderRadius);rt.beginPath(),Object.values(Rt).some(Pt=>Pt!==0)?addRoundedRectPath(rt,{x:St,y:Mt,w:pt,h:ht,radius:Rt}):rt.rect(St,Mt,pt,ht),rt.fill(),Et!==0&&rt.stroke()}rt.restore()},mt=function($t,wt,Ct){renderText(rt,Ct.text,$t,wt+vt/2,lt,{strikethrough:Ct.hidden,textAlign:ot.textAlign(Ct.textAlign)})},bt=this.isHorizontal(),xt=this._computeTitleHeight();bt?ft={x:_alignStartEnd(st,this.left+ct,this.right-nt[0]),y:this.top+ct+xt,line:0}:ft={x:this.left+ct,y:_alignStartEnd(st,this.top+xt+ct,this.bottom-tt[0].height),line:0},overrideTextDirection(this.ctx,_e.textDirection);const yt=vt+ct;this.legendItems.forEach(($t,wt)=>{rt.strokeStyle=$t.fontColor,rt.fillStyle=$t.fontColor;const Ct=rt.measureText($t.text).width,Et=ot.textAlign($t.textAlign||($t.textAlign=it.textAlign)),Mt=pt+dt+Ct;let St=ft.x,Rt=ft.y;ot.setWidth(this.width),bt?wt>0&&St+Mt+ct>this.right&&(Rt=ft.y+=yt,ft.line++,St=ft.x=_alignStartEnd(st,this.left+ct,this.right-nt[ft.line])):wt>0&&Rt+yt>this.bottom&&(St=ft.x=St+tt[ft.line].width+ct,ft.line++,Rt=ft.y=_alignStartEnd(st,this.top+xt+ct,this.bottom-tt[ft.line].height));const Pt=ot.x(St);if(gt(Pt,Rt,$t),St=_textX(Et,St+pt+dt,bt?St+Mt:this.right,_e.rtl),mt(ot.x(St),Rt,$t),bt)ft.x+=Mt+ct;else if(typeof $t.text!="string"){const kt=lt.lineHeight;ft.y+=calculateLegendItemHeight($t,kt)+ct}else ft.y+=yt}),restoreTextDirection(this.ctx,_e.textDirection)}drawTitle(){const _e=this.options,tt=_e.title,nt=toFont(tt.font),rt=toPadding(tt.padding);if(!tt.display)return;const st=getRtlAdapter(_e.rtl,this.left,this.width),it=this.ctx,at=tt.position,ot=nt.size/2,lt=rt.top+ot;let ct,ut=this.left,dt=this.width;if(this.isHorizontal())dt=Math.max(...this.lineWidths),ct=this.top+lt,ut=_alignStartEnd(_e.align,ut,this.right-dt);else{const pt=this.columnSizes.reduce((ht,vt)=>Math.max(ht,vt.height),0);ct=lt+_alignStartEnd(_e.align,this.top,this.bottom-pt-_e.labels.padding-this._computeTitleHeight())}const ft=_alignStartEnd(at,ut,ut+dt);it.textAlign=st.textAlign(_toLeftRightCenter(at)),it.textBaseline="middle",it.strokeStyle=tt.color,it.fillStyle=tt.color,it.font=nt.string,renderText(it,tt.text,ft,ct,nt)}_computeTitleHeight(){const _e=this.options.title,tt=toFont(_e.font),nt=toPadding(_e.padding);return _e.display?tt.lineHeight+nt.height:0}_getLegendItemAt(_e,tt){let nt,rt,st;if(_isBetween(_e,this.left,this.right)&&_isBetween(tt,this.top,this.bottom)){for(st=this.legendHitBoxes,nt=0;ntst.length>it.length?st:it)),_e+tt.size/2+nt.measureText(rt).width}function calculateItemHeight(et,_e,tt){let nt=et;return typeof _e.text!="string"&&(nt=calculateLegendItemHeight(_e,tt)),nt}function calculateLegendItemHeight(et,_e){const tt=et.text?et.text.length:0;return _e*tt}function isListened(et,_e){return!!((et==="mousemove"||et==="mouseout")&&(_e.onHover||_e.onLeave)||_e.onClick&&(et==="click"||et==="mouseup"))}var plugin_legend={id:"legend",_element:Legend,start(et,_e,tt){const nt=et.legend=new Legend({ctx:et.ctx,options:tt,chart:et});layouts.configure(et,nt,tt),layouts.addBox(et,nt)},stop(et){layouts.removeBox(et,et.legend),delete et.legend},beforeUpdate(et,_e,tt){const nt=et.legend;layouts.configure(et,nt,tt),nt.options=tt},afterUpdate(et){const _e=et.legend;_e.buildLabels(),_e.adjustHitBoxes()},afterEvent(et,_e){_e.replay||et.legend.handleEvent(_e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(et,_e,tt){const nt=_e.datasetIndex,rt=tt.chart;rt.isDatasetVisible(nt)?(rt.hide(nt),_e.hidden=!0):(rt.show(nt),_e.hidden=!1)},onHover:null,onLeave:null,labels:{color:et=>et.chart.options.color,boxWidth:40,padding:10,generateLabels(et){const _e=et.data.datasets,{labels:{usePointStyle:tt,pointStyle:nt,textAlign:rt,color:st,useBorderRadius:it,borderRadius:at}}=et.legend.options;return et._getSortedDatasetMetas().map(ot=>{const lt=ot.controller.getStyle(tt?0:void 0),ct=toPadding(lt.borderWidth);return{text:_e[ot.index].label,fillStyle:lt.backgroundColor,fontColor:st,hidden:!ot.visible,lineCap:lt.borderCapStyle,lineDash:lt.borderDash,lineDashOffset:lt.borderDashOffset,lineJoin:lt.borderJoinStyle,lineWidth:(ct.width+ct.height)/4,strokeStyle:lt.borderColor,pointStyle:nt||lt.pointStyle,rotation:lt.rotation,textAlign:rt||lt.textAlign,borderRadius:it&&(at||lt.borderRadius),datasetIndex:ot.index}},this)}},title:{color:et=>et.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:et=>!et.startsWith("on"),labels:{_scriptable:et=>!["generateLabels","filter","sort"].includes(et)}}};class Title extends Element{constructor(_e){super(),this.chart=_e.chart,this.options=_e.options,this.ctx=_e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(_e,tt){const nt=this.options;if(this.left=0,this.top=0,!nt.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=_e,this.height=this.bottom=tt;const rt=isArray(nt.text)?nt.text.length:1;this._padding=toPadding(nt.padding);const st=rt*toFont(nt.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=st:this.width=st}isHorizontal(){const _e=this.options.position;return _e==="top"||_e==="bottom"}_drawArgs(_e){const{top:tt,left:nt,bottom:rt,right:st,options:it}=this,at=it.align;let ot=0,lt,ct,ut;return this.isHorizontal()?(ct=_alignStartEnd(at,nt,st),ut=tt+_e,lt=st-nt):(it.position==="left"?(ct=nt+_e,ut=_alignStartEnd(at,rt,tt),ot=PI*-.5):(ct=st-_e,ut=_alignStartEnd(at,tt,rt),ot=PI*.5),lt=rt-tt),{titleX:ct,titleY:ut,maxWidth:lt,rotation:ot}}draw(){const _e=this.ctx,tt=this.options;if(!tt.display)return;const nt=toFont(tt.font),st=nt.lineHeight/2+this._padding.top,{titleX:it,titleY:at,maxWidth:ot,rotation:lt}=this._drawArgs(st);renderText(_e,tt.text,0,0,nt,{color:tt.color,maxWidth:ot,rotation:lt,textAlign:_toLeftRightCenter(tt.align),textBaseline:"middle",translation:[it,at]})}}function createTitle(et,_e){const tt=new Title({ctx:et.ctx,options:_e,chart:et});layouts.configure(et,tt,_e),layouts.addBox(et,tt),et.titleBlock=tt}var plugin_title={id:"title",_element:Title,start(et,_e,tt){createTitle(et,tt)},stop(et){const _e=et.titleBlock;layouts.removeBox(et,_e),delete et.titleBlock},beforeUpdate(et,_e,tt){const nt=et.titleBlock;layouts.configure(et,nt,tt),nt.options=tt},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const map=new WeakMap;var plugin_subtitle={id:"subtitle",start(et,_e,tt){const nt=new Title({ctx:et.ctx,options:tt,chart:et});layouts.configure(et,nt,tt),layouts.addBox(et,nt),map.set(et,nt)},stop(et){layouts.removeBox(et,map.get(et)),map.delete(et)},beforeUpdate(et,_e,tt){const nt=map.get(et);layouts.configure(et,nt,tt),nt.options=tt},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const positioners={average(et){if(!et.length)return!1;let _e,tt,nt=0,rt=0,st=0;for(_e=0,tt=et.length;_e-1?et.split(` +`):et}function createTooltipItem(et,_e){const{element:tt,datasetIndex:nt,index:rt}=_e,st=et.getDatasetMeta(nt).controller,{label:it,value:at}=st.getLabelAndValue(rt);return{chart:et,label:it,parsed:st.getParsed(rt),raw:et.data.datasets[nt].data[rt],formattedValue:at,dataset:st.getDataset(),dataIndex:rt,datasetIndex:nt,element:tt}}function getTooltipSize(et,_e){const tt=et.chart.ctx,{body:nt,footer:rt,title:st}=et,{boxWidth:it,boxHeight:at}=_e,ot=toFont(_e.bodyFont),lt=toFont(_e.titleFont),ct=toFont(_e.footerFont),ut=st.length,dt=rt.length,ft=nt.length,pt=toPadding(_e.padding);let ht=pt.height,vt=0,gt=nt.reduce((xt,yt)=>xt+yt.before.length+yt.lines.length+yt.after.length,0);if(gt+=et.beforeBody.length+et.afterBody.length,ut&&(ht+=ut*lt.lineHeight+(ut-1)*_e.titleSpacing+_e.titleMarginBottom),gt){const xt=_e.displayColors?Math.max(at,ot.lineHeight):ot.lineHeight;ht+=ft*xt+(gt-ft)*ot.lineHeight+(gt-1)*_e.bodySpacing}dt&&(ht+=_e.footerMarginTop+dt*ct.lineHeight+(dt-1)*_e.footerSpacing);let mt=0;const bt=function(xt){vt=Math.max(vt,tt.measureText(xt).width+mt)};return tt.save(),tt.font=lt.string,each(et.title,bt),tt.font=ot.string,each(et.beforeBody.concat(et.afterBody),bt),mt=_e.displayColors?it+2+_e.boxPadding:0,each(nt,xt=>{each(xt.before,bt),each(xt.lines,bt),each(xt.after,bt)}),mt=0,tt.font=ct.string,each(et.footer,bt),tt.restore(),vt+=pt.width,{width:vt,height:ht}}function determineYAlign(et,_e){const{y:tt,height:nt}=_e;return ttet.height-nt/2?"bottom":"center"}function doesNotFitWithAlign(et,_e,tt,nt){const{x:rt,width:st}=nt,it=tt.caretSize+tt.caretPadding;if(et==="left"&&rt+st+it>_e.width||et==="right"&&rt-st-it<0)return!0}function determineXAlign(et,_e,tt,nt){const{x:rt,width:st}=tt,{width:it,chartArea:{left:at,right:ot}}=et;let lt="center";return nt==="center"?lt=rt<=(at+ot)/2?"left":"right":rt<=st/2?lt="left":rt>=it-st/2&&(lt="right"),doesNotFitWithAlign(lt,et,_e,tt)&&(lt="center"),lt}function determineAlignment(et,_e,tt){const nt=tt.yAlign||_e.yAlign||determineYAlign(et,tt);return{xAlign:tt.xAlign||_e.xAlign||determineXAlign(et,_e,tt,nt),yAlign:nt}}function alignX(et,_e){let{x:tt,width:nt}=et;return _e==="right"?tt-=nt:_e==="center"&&(tt-=nt/2),tt}function alignY(et,_e,tt){let{y:nt,height:rt}=et;return _e==="top"?nt+=tt:_e==="bottom"?nt-=rt+tt:nt-=rt/2,nt}function getBackgroundPoint(et,_e,tt,nt){const{caretSize:rt,caretPadding:st,cornerRadius:it}=et,{xAlign:at,yAlign:ot}=tt,lt=rt+st,{topLeft:ct,topRight:ut,bottomLeft:dt,bottomRight:ft}=toTRBLCorners(it);let pt=alignX(_e,at);const ht=alignY(_e,ot,lt);return ot==="center"?at==="left"?pt+=lt:at==="right"&&(pt-=lt):at==="left"?pt-=Math.max(ct,dt)+rt:at==="right"&&(pt+=Math.max(ut,ft)+rt),{x:_limitValue(pt,0,nt.width-_e.width),y:_limitValue(ht,0,nt.height-_e.height)}}function getAlignedX(et,_e,tt){const nt=toPadding(tt.padding);return _e==="center"?et.x+et.width/2:_e==="right"?et.x+et.width-nt.right:et.x+nt.left}function getBeforeAfterBodyLines(et){return pushOrConcat([],splitNewlines(et))}function createTooltipContext(et,_e,tt){return createContext(et,{tooltip:_e,tooltipItems:tt,type:"tooltip"})}function overrideCallbacks(et,_e){const tt=_e&&_e.dataset&&_e.dataset.tooltip&&_e.dataset.tooltip.callbacks;return tt?et.override(tt):et}const defaultCallbacks={beforeTitle:noop,title(et){if(et.length>0){const _e=et[0],tt=_e.chart.data.labels,nt=tt?tt.length:0;if(this&&this.options&&this.options.mode==="dataset")return _e.dataset.label||"";if(_e.label)return _e.label;if(nt>0&&_e.dataIndex"u"?defaultCallbacks[_e].call(tt,nt):rt}class Tooltip extends Element{constructor(_e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=_e.chart,this.options=_e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(_e){this.options=_e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const _e=this._cachedAnimations;if(_e)return _e;const tt=this.chart,nt=this.options.setContext(this.getContext()),rt=nt.enabled&&tt.options.animation&&nt.animations,st=new Animations(this.chart,rt);return rt._cacheable&&(this._cachedAnimations=Object.freeze(st)),st}getContext(){return this.$context||(this.$context=createTooltipContext(this.chart.getContext(),this,this._tooltipItems))}getTitle(_e,tt){const{callbacks:nt}=tt,rt=invokeCallbackWithFallback(nt,"beforeTitle",this,_e),st=invokeCallbackWithFallback(nt,"title",this,_e),it=invokeCallbackWithFallback(nt,"afterTitle",this,_e);let at=[];return at=pushOrConcat(at,splitNewlines(rt)),at=pushOrConcat(at,splitNewlines(st)),at=pushOrConcat(at,splitNewlines(it)),at}getBeforeBody(_e,tt){return getBeforeAfterBodyLines(invokeCallbackWithFallback(tt.callbacks,"beforeBody",this,_e))}getBody(_e,tt){const{callbacks:nt}=tt,rt=[];return each(_e,st=>{const it={before:[],lines:[],after:[]},at=overrideCallbacks(nt,st);pushOrConcat(it.before,splitNewlines(invokeCallbackWithFallback(at,"beforeLabel",this,st))),pushOrConcat(it.lines,invokeCallbackWithFallback(at,"label",this,st)),pushOrConcat(it.after,splitNewlines(invokeCallbackWithFallback(at,"afterLabel",this,st))),rt.push(it)}),rt}getAfterBody(_e,tt){return getBeforeAfterBodyLines(invokeCallbackWithFallback(tt.callbacks,"afterBody",this,_e))}getFooter(_e,tt){const{callbacks:nt}=tt,rt=invokeCallbackWithFallback(nt,"beforeFooter",this,_e),st=invokeCallbackWithFallback(nt,"footer",this,_e),it=invokeCallbackWithFallback(nt,"afterFooter",this,_e);let at=[];return at=pushOrConcat(at,splitNewlines(rt)),at=pushOrConcat(at,splitNewlines(st)),at=pushOrConcat(at,splitNewlines(it)),at}_createItems(_e){const tt=this._active,nt=this.chart.data,rt=[],st=[],it=[];let at=[],ot,lt;for(ot=0,lt=tt.length;ot_e.filter(ct,ut,dt,nt))),_e.itemSort&&(at=at.sort((ct,ut)=>_e.itemSort(ct,ut,nt))),each(at,ct=>{const ut=overrideCallbacks(_e.callbacks,ct);rt.push(invokeCallbackWithFallback(ut,"labelColor",this,ct)),st.push(invokeCallbackWithFallback(ut,"labelPointStyle",this,ct)),it.push(invokeCallbackWithFallback(ut,"labelTextColor",this,ct))}),this.labelColors=rt,this.labelPointStyles=st,this.labelTextColors=it,this.dataPoints=at,at}update(_e,tt){const nt=this.options.setContext(this.getContext()),rt=this._active;let st,it=[];if(!rt.length)this.opacity!==0&&(st={opacity:0});else{const at=positioners[nt.position].call(this,rt,this._eventPosition);it=this._createItems(nt),this.title=this.getTitle(it,nt),this.beforeBody=this.getBeforeBody(it,nt),this.body=this.getBody(it,nt),this.afterBody=this.getAfterBody(it,nt),this.footer=this.getFooter(it,nt);const ot=this._size=getTooltipSize(this,nt),lt=Object.assign({},at,ot),ct=determineAlignment(this.chart,nt,lt),ut=getBackgroundPoint(nt,lt,ct,this.chart);this.xAlign=ct.xAlign,this.yAlign=ct.yAlign,st={opacity:1,x:ut.x,y:ut.y,width:ot.width,height:ot.height,caretX:at.x,caretY:at.y}}this._tooltipItems=it,this.$context=void 0,st&&this._resolveAnimations().update(this,st),_e&&nt.external&&nt.external.call(this,{chart:this.chart,tooltip:this,replay:tt})}drawCaret(_e,tt,nt,rt){const st=this.getCaretPosition(_e,nt,rt);tt.lineTo(st.x1,st.y1),tt.lineTo(st.x2,st.y2),tt.lineTo(st.x3,st.y3)}getCaretPosition(_e,tt,nt){const{xAlign:rt,yAlign:st}=this,{caretSize:it,cornerRadius:at}=nt,{topLeft:ot,topRight:lt,bottomLeft:ct,bottomRight:ut}=toTRBLCorners(at),{x:dt,y:ft}=_e,{width:pt,height:ht}=tt;let vt,gt,mt,bt,xt,yt;return st==="center"?(xt=ft+ht/2,rt==="left"?(vt=dt,gt=vt-it,bt=xt+it,yt=xt-it):(vt=dt+pt,gt=vt+it,bt=xt-it,yt=xt+it),mt=vt):(rt==="left"?gt=dt+Math.max(ot,ct)+it:rt==="right"?gt=dt+pt-Math.max(lt,ut)-it:gt=this.caretX,st==="top"?(bt=ft,xt=bt-it,vt=gt-it,mt=gt+it):(bt=ft+ht,xt=bt+it,vt=gt+it,mt=gt-it),yt=bt),{x1:vt,x2:gt,x3:mt,y1:bt,y2:xt,y3:yt}}drawTitle(_e,tt,nt){const rt=this.title,st=rt.length;let it,at,ot;if(st){const lt=getRtlAdapter(nt.rtl,this.x,this.width);for(_e.x=getAlignedX(this,nt.titleAlign,nt),tt.textAlign=lt.textAlign(nt.titleAlign),tt.textBaseline="middle",it=toFont(nt.titleFont),at=nt.titleSpacing,tt.fillStyle=nt.titleColor,tt.font=it.string,ot=0;otmt!==0)?(_e.beginPath(),_e.fillStyle=st.multiKeyBackground,addRoundedRectPath(_e,{x:ht,y:pt,w:lt,h:ot,radius:gt}),_e.fill(),_e.stroke(),_e.fillStyle=it.backgroundColor,_e.beginPath(),addRoundedRectPath(_e,{x:vt,y:pt+1,w:lt-2,h:ot-2,radius:gt}),_e.fill()):(_e.fillStyle=st.multiKeyBackground,_e.fillRect(ht,pt,lt,ot),_e.strokeRect(ht,pt,lt,ot),_e.fillStyle=it.backgroundColor,_e.fillRect(vt,pt+1,lt-2,ot-2))}_e.fillStyle=this.labelTextColors[nt]}drawBody(_e,tt,nt){const{body:rt}=this,{bodySpacing:st,bodyAlign:it,displayColors:at,boxHeight:ot,boxWidth:lt,boxPadding:ct}=nt,ut=toFont(nt.bodyFont);let dt=ut.lineHeight,ft=0;const pt=getRtlAdapter(nt.rtl,this.x,this.width),ht=function(Ct){tt.fillText(Ct,pt.x(_e.x+ft),_e.y+dt/2),_e.y+=dt+st},vt=pt.textAlign(it);let gt,mt,bt,xt,yt,$t,wt;for(tt.textAlign=it,tt.textBaseline="middle",tt.font=ut.string,_e.x=getAlignedX(this,vt,nt),tt.fillStyle=nt.bodyColor,each(this.beforeBody,ht),ft=at&&vt!=="right"?it==="center"?lt/2+ct:lt+2+ct:0,xt=0,$t=rt.length;xt<$t;++xt){for(gt=rt[xt],mt=this.labelTextColors[xt],tt.fillStyle=mt,each(gt.before,ht),bt=gt.lines,at&&bt.length&&(this._drawColorBox(tt,_e,xt,pt,nt),dt=Math.max(ut.lineHeight,ot)),yt=0,wt=bt.length;yt0&&tt.stroke()}_updateAnimationTarget(_e){const tt=this.chart,nt=this.$animations,rt=nt&&nt.x,st=nt&&nt.y;if(rt||st){const it=positioners[_e.position].call(this,this._active,this._eventPosition);if(!it)return;const at=this._size=getTooltipSize(this,_e),ot=Object.assign({},it,this._size),lt=determineAlignment(tt,_e,ot),ct=getBackgroundPoint(_e,ot,lt,tt);(rt._to!==ct.x||st._to!==ct.y)&&(this.xAlign=lt.xAlign,this.yAlign=lt.yAlign,this.width=at.width,this.height=at.height,this.caretX=it.x,this.caretY=it.y,this._resolveAnimations().update(this,ct))}}_willRender(){return!!this.opacity}draw(_e){const tt=this.options.setContext(this.getContext());let nt=this.opacity;if(!nt)return;this._updateAnimationTarget(tt);const rt={width:this.width,height:this.height},st={x:this.x,y:this.y};nt=Math.abs(nt)<.001?0:nt;const it=toPadding(tt.padding),at=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;tt.enabled&&at&&(_e.save(),_e.globalAlpha=nt,this.drawBackground(st,_e,rt,tt),overrideTextDirection(_e,tt.textDirection),st.y+=it.top,this.drawTitle(st,_e,tt),this.drawBody(st,_e,tt),this.drawFooter(st,_e,tt),restoreTextDirection(_e,tt.textDirection),_e.restore())}getActiveElements(){return this._active||[]}setActiveElements(_e,tt){const nt=this._active,rt=_e.map(({datasetIndex:at,index:ot})=>{const lt=this.chart.getDatasetMeta(at);if(!lt)throw new Error("Cannot find a dataset at index "+at);return{datasetIndex:at,element:lt.data[ot],index:ot}}),st=!_elementsEqual(nt,rt),it=this._positionChanged(rt,tt);(st||it)&&(this._active=rt,this._eventPosition=tt,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(_e,tt,nt=!0){if(tt&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const rt=this.options,st=this._active||[],it=this._getActiveElements(_e,st,tt,nt),at=this._positionChanged(it,_e),ot=tt||!_elementsEqual(it,st)||at;return ot&&(this._active=it,(rt.enabled||rt.external)&&(this._eventPosition={x:_e.x,y:_e.y},this.update(!0,tt))),ot}_getActiveElements(_e,tt,nt,rt){const st=this.options;if(_e.type==="mouseout")return[];if(!rt)return tt;const it=this.chart.getElementsAtEventForMode(_e,st.mode,st,nt);return st.reverse&&it.reverse(),it}_positionChanged(_e,tt){const{caretX:nt,caretY:rt,options:st}=this,it=positioners[st.position].call(this,_e,tt);return it!==!1&&(nt!==it.x||rt!==it.y)}}yn(Tooltip,"positioners",positioners);var plugin_tooltip={id:"tooltip",_element:Tooltip,positioners,afterInit(et,_e,tt){tt&&(et.tooltip=new Tooltip({chart:et,options:tt}))},beforeUpdate(et,_e,tt){et.tooltip&&et.tooltip.initialize(tt)},reset(et,_e,tt){et.tooltip&&et.tooltip.initialize(tt)},afterDraw(et){const _e=et.tooltip;if(_e&&_e._willRender()){const tt={tooltip:_e};if(et.notifyPlugins("beforeTooltipDraw",{...tt,cancelable:!0})===!1)return;_e.draw(et.ctx),et.notifyPlugins("afterTooltipDraw",tt)}},afterEvent(et,_e){if(et.tooltip){const tt=_e.replay;et.tooltip.handleEvent(_e.event,tt,_e.inChartArea)&&(_e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(et,_e)=>_e.bodyFont.size,boxWidth:(et,_e)=>_e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:defaultCallbacks},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:et=>et!=="filter"&&et!=="itemSort"&&et!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},plugins=Object.freeze({__proto__:null,Colors:plugin_colors,Decimation:plugin_decimation,Filler:index,Legend:plugin_legend,SubTitle:plugin_subtitle,Title:plugin_title,Tooltip:plugin_tooltip});const addIfString=(et,_e,tt,nt)=>(typeof _e=="string"?(tt=et.push(_e)-1,nt.unshift({index:tt,label:_e})):isNaN(_e)&&(tt=null),tt);function findOrAddLabel(et,_e,tt,nt){const rt=et.indexOf(_e);if(rt===-1)return addIfString(et,_e,tt,nt);const st=et.lastIndexOf(_e);return rt!==st?tt:rt}const validIndex=(et,_e)=>et===null?null:_limitValue(Math.round(et),0,_e);function _getLabelForValue(et){const _e=this.getLabels();return et>=0&&et<_e.length?_e[et]:et}class CategoryScale extends Scale{constructor(_e){super(_e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(_e){const tt=this._addedLabels;if(tt.length){const nt=this.getLabels();for(const{index:rt,label:st}of tt)nt[rt]===st&&nt.splice(rt,1);this._addedLabels=[]}super.init(_e)}parse(_e,tt){if(isNullOrUndef(_e))return null;const nt=this.getLabels();return tt=isFinite(tt)&&nt[tt]===_e?tt:findOrAddLabel(nt,_e,valueOrDefault(tt,_e),this._addedLabels),validIndex(tt,nt.length-1)}determineDataLimits(){const{minDefined:_e,maxDefined:tt}=this.getUserBounds();let{min:nt,max:rt}=this.getMinMax(!0);this.options.bounds==="ticks"&&(_e||(nt=0),tt||(rt=this.getLabels().length-1)),this.min=nt,this.max=rt}buildTicks(){const _e=this.min,tt=this.max,nt=this.options.offset,rt=[];let st=this.getLabels();st=_e===0&&tt===st.length-1?st:st.slice(_e,tt+1),this._valueRange=Math.max(st.length-(nt?0:1),1),this._startValue=this.min-(nt?.5:0);for(let it=_e;it<=tt;it++)rt.push({value:it});return rt}getLabelForValue(_e){return _getLabelForValue.call(this,_e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(_e){return typeof _e!="number"&&(_e=this.parse(_e)),_e===null?NaN:this.getPixelForDecimal((_e-this._startValue)/this._valueRange)}getPixelForTick(_e){const tt=this.ticks;return _e<0||_e>tt.length-1?null:this.getPixelForValue(tt[_e].value)}getValueForPixel(_e){return Math.round(this._startValue+this.getDecimalForPixel(_e)*this._valueRange)}getBasePixel(){return this.bottom}}yn(CategoryScale,"id","category"),yn(CategoryScale,"defaults",{ticks:{callback:_getLabelForValue}});function generateTicks$1(et,_e){const tt=[],{bounds:rt,step:st,min:it,max:at,precision:ot,count:lt,maxTicks:ct,maxDigits:ut,includeBounds:dt}=et,ft=st||1,pt=ct-1,{min:ht,max:vt}=_e,gt=!isNullOrUndef(it),mt=!isNullOrUndef(at),bt=!isNullOrUndef(lt),xt=(vt-ht)/(ut+1);let yt=niceNum((vt-ht)/pt/ft)*ft,$t,wt,Ct,Et;if(yt<1e-14&&!gt&&!mt)return[{value:ht},{value:vt}];Et=Math.ceil(vt/yt)-Math.floor(ht/yt),Et>pt&&(yt=niceNum(Et*yt/pt/ft)*ft),isNullOrUndef(ot)||($t=Math.pow(10,ot),yt=Math.ceil(yt*$t)/$t),rt==="ticks"?(wt=Math.floor(ht/yt)*yt,Ct=Math.ceil(vt/yt)*yt):(wt=ht,Ct=vt),gt&&mt&&st&&almostWhole((at-it)/st,yt/1e3)?(Et=Math.round(Math.min((at-it)/yt,ct)),yt=(at-it)/Et,wt=it,Ct=at):bt?(wt=gt?it:wt,Ct=mt?at:Ct,Et=lt-1,yt=(Ct-wt)/Et):(Et=(Ct-wt)/yt,almostEquals(Et,Math.round(Et),yt/1e3)?Et=Math.round(Et):Et=Math.ceil(Et));const Mt=Math.max(_decimalPlaces(yt),_decimalPlaces(wt));$t=Math.pow(10,isNullOrUndef(ot)?Mt:ot),wt=Math.round(wt*$t)/$t,Ct=Math.round(Ct*$t)/$t;let St=0;for(gt&&(dt&&wt!==it?(tt.push({value:it}),wtat)break;tt.push({value:Rt})}return mt&&dt&&Ct!==at?tt.length&&almostEquals(tt[tt.length-1].value,at,relativeLabelSize(at,xt,et))?tt[tt.length-1].value=at:tt.push({value:at}):(!mt||Ct===at)&&tt.push({value:Ct}),tt}function relativeLabelSize(et,_e,{horizontal:tt,minRotation:nt}){const rt=toRadians(nt),st=(tt?Math.sin(rt):Math.cos(rt))||.001,it=.75*_e*(""+et).length;return Math.min(_e/st,it)}class LinearScaleBase extends Scale{constructor(_e){super(_e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(_e,tt){return isNullOrUndef(_e)||(typeof _e=="number"||_e instanceof Number)&&!isFinite(+_e)?null:+_e}handleTickRangeOptions(){const{beginAtZero:_e}=this.options,{minDefined:tt,maxDefined:nt}=this.getUserBounds();let{min:rt,max:st}=this;const it=ot=>rt=tt?rt:ot,at=ot=>st=nt?st:ot;if(_e){const ot=sign(rt),lt=sign(st);ot<0&<<0?at(0):ot>0&<>0&&it(0)}if(rt===st){let ot=st===0?1:Math.abs(st*.05);at(st+ot),_e||it(rt-ot)}this.min=rt,this.max=st}getTickLimit(){const _e=this.options.ticks;let{maxTicksLimit:tt,stepSize:nt}=_e,rt;return nt?(rt=Math.ceil(this.max/nt)-Math.floor(this.min/nt)+1,rt>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${nt} would result generating up to ${rt} ticks. Limiting to 1000.`),rt=1e3)):(rt=this.computeTickLimit(),tt=tt||11),tt&&(rt=Math.min(tt,rt)),rt}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const _e=this.options,tt=_e.ticks;let nt=this.getTickLimit();nt=Math.max(2,nt);const rt={maxTicks:nt,bounds:_e.bounds,min:_e.min,max:_e.max,precision:tt.precision,step:tt.stepSize,count:tt.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:tt.minRotation||0,includeBounds:tt.includeBounds!==!1},st=this._range||this,it=generateTicks$1(rt,st);return _e.bounds==="ticks"&&_setMinAndMaxByKey(it,this,"value"),_e.reverse?(it.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),it}configure(){const _e=this.ticks;let tt=this.min,nt=this.max;if(super.configure(),this.options.offset&&_e.length){const rt=(nt-tt)/Math.max(_e.length-1,1)/2;tt-=rt,nt+=rt}this._startValue=tt,this._endValue=nt,this._valueRange=nt-tt}getLabelForValue(_e){return formatNumber(_e,this.chart.options.locale,this.options.ticks.format)}}class LinearScale extends LinearScaleBase{determineDataLimits(){const{min:_e,max:tt}=this.getMinMax(!0);this.min=isNumberFinite(_e)?_e:0,this.max=isNumberFinite(tt)?tt:1,this.handleTickRangeOptions()}computeTickLimit(){const _e=this.isHorizontal(),tt=_e?this.width:this.height,nt=toRadians(this.options.ticks.minRotation),rt=(_e?Math.sin(nt):Math.cos(nt))||.001,st=this._resolveTickFontOptions(0);return Math.ceil(tt/Math.min(40,st.lineHeight/rt))}getPixelForValue(_e){return _e===null?NaN:this.getPixelForDecimal((_e-this._startValue)/this._valueRange)}getValueForPixel(_e){return this._startValue+this.getDecimalForPixel(_e)*this._valueRange}}yn(LinearScale,"id","linear"),yn(LinearScale,"defaults",{ticks:{callback:Ticks.formatters.numeric}});const log10Floor=et=>Math.floor(log10(et)),changeExponent=(et,_e)=>Math.pow(10,log10Floor(et)+_e);function isMajor(et){return et/Math.pow(10,log10Floor(et))===1}function steps(et,_e,tt){const nt=Math.pow(10,tt),rt=Math.floor(et/nt);return Math.ceil(_e/nt)-rt}function startExp(et,_e){const tt=_e-et;let nt=log10Floor(tt);for(;steps(et,_e,nt)>10;)nt++;for(;steps(et,_e,nt)<10;)nt--;return Math.min(nt,log10Floor(et))}function generateTicks(et,{min:_e,max:tt}){_e=finiteOrDefault(et.min,_e);const nt=[],rt=log10Floor(_e);let st=startExp(_e,tt),it=st<0?Math.pow(10,Math.abs(st)):1;const at=Math.pow(10,st),ot=rt>st?Math.pow(10,rt):0,lt=Math.round((_e-ot)*it)/it,ct=Math.floor((_e-ot)/at/10)*at*10;let ut=Math.floor((lt-ct)/Math.pow(10,st)),dt=finiteOrDefault(et.min,Math.round((ot+ct+ut*Math.pow(10,st))*it)/it);for(;dt=10?ut=ut<15?15:20:ut++,ut>=20&&(st++,ut=2,it=st>=0?1:it),dt=Math.round((ot+ct+ut*Math.pow(10,st))*it)/it;const ft=finiteOrDefault(et.max,dt);return nt.push({value:ft,major:isMajor(ft),significand:ut}),nt}class LogarithmicScale extends Scale{constructor(_e){super(_e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(_e,tt){const nt=LinearScaleBase.prototype.parse.apply(this,[_e,tt]);if(nt===0){this._zero=!0;return}return isNumberFinite(nt)&&nt>0?nt:null}determineDataLimits(){const{min:_e,max:tt}=this.getMinMax(!0);this.min=isNumberFinite(_e)?Math.max(0,_e):null,this.max=isNumberFinite(tt)?Math.max(0,tt):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!isNumberFinite(this._userMin)&&(this.min=_e===changeExponent(this.min,0)?changeExponent(this.min,-1):changeExponent(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:_e,maxDefined:tt}=this.getUserBounds();let nt=this.min,rt=this.max;const st=at=>nt=_e?nt:at,it=at=>rt=tt?rt:at;nt===rt&&(nt<=0?(st(1),it(10)):(st(changeExponent(nt,-1)),it(changeExponent(rt,1)))),nt<=0&&st(changeExponent(rt,-1)),rt<=0&&it(changeExponent(nt,1)),this.min=nt,this.max=rt}buildTicks(){const _e=this.options,tt={min:this._userMin,max:this._userMax},nt=generateTicks(tt,this);return _e.bounds==="ticks"&&_setMinAndMaxByKey(nt,this,"value"),_e.reverse?(nt.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),nt}getLabelForValue(_e){return _e===void 0?"0":formatNumber(_e,this.chart.options.locale,this.options.ticks.format)}configure(){const _e=this.min;super.configure(),this._startValue=log10(_e),this._valueRange=log10(this.max)-log10(_e)}getPixelForValue(_e){return(_e===void 0||_e===0)&&(_e=this.min),_e===null||isNaN(_e)?NaN:this.getPixelForDecimal(_e===this.min?0:(log10(_e)-this._startValue)/this._valueRange)}getValueForPixel(_e){const tt=this.getDecimalForPixel(_e);return Math.pow(10,this._startValue+tt*this._valueRange)}}yn(LogarithmicScale,"id","logarithmic"),yn(LogarithmicScale,"defaults",{ticks:{callback:Ticks.formatters.logarithmic,major:{enabled:!0}}});function getTickBackdropHeight(et){const _e=et.ticks;if(_e.display&&et.display){const tt=toPadding(_e.backdropPadding);return valueOrDefault(_e.font&&_e.font.size,defaults.font.size)+tt.height}return 0}function measureLabelSize(et,_e,tt){return tt=isArray(tt)?tt:[tt],{w:_longestText(et,_e.string,tt),h:tt.length*_e.lineHeight}}function determineLimits(et,_e,tt,nt,rt){return et===nt||et===rt?{start:_e-tt/2,end:_e+tt/2}:etrt?{start:_e-tt,end:_e}:{start:_e,end:_e+tt}}function fitWithPointLabels(et){const _e={l:et.left+et._padding.left,r:et.right-et._padding.right,t:et.top+et._padding.top,b:et.bottom-et._padding.bottom},tt=Object.assign({},_e),nt=[],rt=[],st=et._pointLabels.length,it=et.options.pointLabels,at=it.centerPointLabels?PI/st:0;for(let ot=0;ot_e.r&&(at=(nt.end-_e.r)/st,et.r=Math.max(et.r,_e.r+at)),rt.start<_e.t?(ot=(_e.t-rt.start)/it,et.t=Math.min(et.t,_e.t-ot)):rt.end>_e.b&&(ot=(rt.end-_e.b)/it,et.b=Math.max(et.b,_e.b+ot))}function createPointLabelItem(et,_e,tt){const nt=et.drawingArea,{extra:rt,additionalAngle:st,padding:it,size:at}=tt,ot=et.getPointPosition(_e,nt+rt+it,st),lt=Math.round(toDegrees(_normalizeAngle(ot.angle+HALF_PI))),ct=yForAngle(ot.y,at.h,lt),ut=getTextAlignForAngle(lt),dt=leftForTextAlign(ot.x,at.w,ut);return{visible:!0,x:ot.x,y:ct,textAlign:ut,left:dt,top:ct,right:dt+at.w,bottom:ct+at.h}}function isNotOverlapped(et,_e){if(!_e)return!0;const{left:tt,top:nt,right:rt,bottom:st}=et;return!(_isPointInArea({x:tt,y:nt},_e)||_isPointInArea({x:tt,y:st},_e)||_isPointInArea({x:rt,y:nt},_e)||_isPointInArea({x:rt,y:st},_e))}function buildPointLabelItems(et,_e,tt){const nt=[],rt=et._pointLabels.length,st=et.options,{centerPointLabels:it,display:at}=st.pointLabels,ot={extra:getTickBackdropHeight(st)/2,additionalAngle:it?PI/rt:0};let lt;for(let ct=0;ct270||tt<90)&&(et-=_e),et}function drawPointLabelBox(et,_e,tt){const{left:nt,top:rt,right:st,bottom:it}=tt,{backdropColor:at}=_e;if(!isNullOrUndef(at)){const ot=toTRBLCorners(_e.borderRadius),lt=toPadding(_e.backdropPadding);et.fillStyle=at;const ct=nt-lt.left,ut=rt-lt.top,dt=st-nt+lt.width,ft=it-rt+lt.height;Object.values(ot).some(pt=>pt!==0)?(et.beginPath(),addRoundedRectPath(et,{x:ct,y:ut,w:dt,h:ft,radius:ot}),et.fill()):et.fillRect(ct,ut,dt,ft)}}function drawPointLabels(et,_e){const{ctx:tt,options:{pointLabels:nt}}=et;for(let rt=_e-1;rt>=0;rt--){const st=et._pointLabelItems[rt];if(!st.visible)continue;const it=nt.setContext(et.getPointLabelContext(rt));drawPointLabelBox(tt,it,st);const at=toFont(it.font),{x:ot,y:lt,textAlign:ct}=st;renderText(tt,et._pointLabels[rt],ot,lt+at.lineHeight/2,at,{color:it.color,textAlign:ct,textBaseline:"middle"})}}function pathRadiusLine(et,_e,tt,nt){const{ctx:rt}=et;if(tt)rt.arc(et.xCenter,et.yCenter,_e,0,TAU);else{let st=et.getPointPosition(0,_e);rt.moveTo(st.x,st.y);for(let it=1;it{const rt=callback(this.options.pointLabels.callback,[tt,nt],this);return rt||rt===0?rt:""}).filter((tt,nt)=>this.chart.getDataVisibility(nt))}fit(){const _e=this.options;_e.display&&_e.pointLabels.display?fitWithPointLabels(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(_e,tt,nt,rt){this.xCenter+=Math.floor((_e-tt)/2),this.yCenter+=Math.floor((nt-rt)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(_e,tt,nt,rt))}getIndexAngle(_e){const tt=TAU/(this._pointLabels.length||1),nt=this.options.startAngle||0;return _normalizeAngle(_e*tt+toRadians(nt))}getDistanceFromCenterForValue(_e){if(isNullOrUndef(_e))return NaN;const tt=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-_e)*tt:(_e-this.min)*tt}getValueForDistanceFromCenter(_e){if(isNullOrUndef(_e))return NaN;const tt=_e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-tt:this.min+tt}getPointLabelContext(_e){const tt=this._pointLabels||[];if(_e>=0&&_e{if(ut!==0){ot=this.getDistanceFromCenterForValue(ct.value);const dt=this.getContext(ut),ft=rt.setContext(dt),pt=st.setContext(dt);drawRadiusLine(this,ft,ot,it,pt)}}),nt.display){for(_e.save(),at=it-1;at>=0;at--){const ct=nt.setContext(this.getPointLabelContext(at)),{color:ut,lineWidth:dt}=ct;!dt||!ut||(_e.lineWidth=dt,_e.strokeStyle=ut,_e.setLineDash(ct.borderDash),_e.lineDashOffset=ct.borderDashOffset,ot=this.getDistanceFromCenterForValue(tt.ticks.reverse?this.min:this.max),lt=this.getPointPosition(at,ot),_e.beginPath(),_e.moveTo(this.xCenter,this.yCenter),_e.lineTo(lt.x,lt.y),_e.stroke())}_e.restore()}}drawBorder(){}drawLabels(){const _e=this.ctx,tt=this.options,nt=tt.ticks;if(!nt.display)return;const rt=this.getIndexAngle(0);let st,it;_e.save(),_e.translate(this.xCenter,this.yCenter),_e.rotate(rt),_e.textAlign="center",_e.textBaseline="middle",this.ticks.forEach((at,ot)=>{if(ot===0&&!tt.reverse)return;const lt=nt.setContext(this.getContext(ot)),ct=toFont(lt.font);if(st=this.getDistanceFromCenterForValue(this.ticks[ot].value),lt.showLabelBackdrop){_e.font=ct.string,it=_e.measureText(at.label).width,_e.fillStyle=lt.backdropColor;const ut=toPadding(lt.backdropPadding);_e.fillRect(-it/2-ut.left,-st-ct.size/2-ut.top,it+ut.width,ct.size+ut.height)}renderText(_e,at.label,0,-st,ct,{color:lt.color,strokeColor:lt.textStrokeColor,strokeWidth:lt.textStrokeWidth})}),_e.restore()}drawTitle(){}}yn(RadialLinearScale,"id","radialLinear"),yn(RadialLinearScale,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Ticks.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(_e){return _e},padding:5,centerPointLabels:!1}}),yn(RadialLinearScale,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),yn(RadialLinearScale,"descriptors",{angleLines:{_fallback:"grid"}});const INTERVALS={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},UNITS=Object.keys(INTERVALS);function sorter(et,_e){return et-_e}function parse(et,_e){if(isNullOrUndef(_e))return null;const tt=et._adapter,{parser:nt,round:rt,isoWeekday:st}=et._parseOpts;let it=_e;return typeof nt=="function"&&(it=nt(it)),isNumberFinite(it)||(it=typeof nt=="string"?tt.parse(it,nt):tt.parse(it)),it===null?null:(rt&&(it=rt==="week"&&(isNumber(st)||st===!0)?tt.startOf(it,"isoWeek",st):tt.startOf(it,rt)),+it)}function determineUnitForAutoTicks(et,_e,tt,nt){const rt=UNITS.length;for(let st=UNITS.indexOf(et);st=UNITS.indexOf(tt);st--){const it=UNITS[st];if(INTERVALS[it].common&&et._adapter.diff(rt,nt,it)>=_e-1)return it}return UNITS[tt?UNITS.indexOf(tt):0]}function determineMajorUnit(et){for(let _e=UNITS.indexOf(et)+1,tt=UNITS.length;_e=_e?tt[nt]:tt[rt];et[st]=!0}}function setMajorTicks(et,_e,tt,nt){const rt=et._adapter,st=+rt.startOf(_e[0].value,nt),it=_e[_e.length-1].value;let at,ot;for(at=st;at<=it;at=+rt.add(at,1,nt))ot=tt[at],ot>=0&&(_e[ot].major=!0);return _e}function ticksFromTimestamps(et,_e,tt){const nt=[],rt={},st=_e.length;let it,at;for(it=0;it+_e.value))}initOffsets(_e=[]){let tt=0,nt=0,rt,st;this.options.offset&&_e.length&&(rt=this.getDecimalForValue(_e[0]),_e.length===1?tt=1-rt:tt=(this.getDecimalForValue(_e[1])-rt)/2,st=this.getDecimalForValue(_e[_e.length-1]),_e.length===1?nt=st:nt=(st-this.getDecimalForValue(_e[_e.length-2]))/2);const it=_e.length<3?.5:.25;tt=_limitValue(tt,0,it),nt=_limitValue(nt,0,it),this._offsets={start:tt,end:nt,factor:1/(tt+1+nt)}}_generate(){const _e=this._adapter,tt=this.min,nt=this.max,rt=this.options,st=rt.time,it=st.unit||determineUnitForAutoTicks(st.minUnit,tt,nt,this._getLabelCapacity(tt)),at=valueOrDefault(rt.ticks.stepSize,1),ot=it==="week"?st.isoWeekday:!1,lt=isNumber(ot)||ot===!0,ct={};let ut=tt,dt,ft;if(lt&&(ut=+_e.startOf(ut,"isoWeek",ot)),ut=+_e.startOf(ut,lt?"day":it),_e.diff(nt,tt,it)>1e5*at)throw new Error(tt+" and "+nt+" are too far apart with stepSize of "+at+" "+it);const pt=rt.ticks.source==="data"&&this.getDataTimestamps();for(dt=ut,ft=0;dt+ht)}getLabelForValue(_e){const tt=this._adapter,nt=this.options.time;return nt.tooltipFormat?tt.format(_e,nt.tooltipFormat):tt.format(_e,nt.displayFormats.datetime)}format(_e,tt){const rt=this.options.time.displayFormats,st=this._unit,it=tt||rt[st];return this._adapter.format(_e,it)}_tickFormatFunction(_e,tt,nt,rt){const st=this.options,it=st.ticks.callback;if(it)return callback(it,[_e,tt,nt],this);const at=st.time.displayFormats,ot=this._unit,lt=this._majorUnit,ct=ot&&at[ot],ut=lt&&at[lt],dt=nt[tt],ft=lt&&ut&&dt&&dt.major;return this._adapter.format(_e,rt||(ft?ut:ct))}generateTickLabels(_e){let tt,nt,rt;for(tt=0,nt=_e.length;tt0?at:1}getDataTimestamps(){let _e=this._cache.data||[],tt,nt;if(_e.length)return _e;const rt=this.getMatchingVisibleMetas();if(this._normalized&&rt.length)return this._cache.data=rt[0].controller.getAllParsedValues(this);for(tt=0,nt=rt.length;tt=et[nt].pos&&_e<=et[rt].pos&&({lo:nt,hi:rt}=_lookupByKey(et,"pos",_e)),{pos:st,time:at}=et[nt],{pos:it,time:ot}=et[rt]):(_e>=et[nt].time&&_e<=et[rt].time&&({lo:nt,hi:rt}=_lookupByKey(et,"time",_e)),{time:st,pos:at}=et[nt],{time:it,pos:ot}=et[rt]);const lt=it-st;return lt?at+(ot-at)*(_e-st)/lt:at}class TimeSeriesScale extends TimeScale{constructor(_e){super(_e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const _e=this._getTimestampsForTable(),tt=this._table=this.buildLookupTable(_e);this._minPos=interpolate(tt,this.min),this._tableRange=interpolate(tt,this.max)-this._minPos,super.initOffsets(_e)}buildLookupTable(_e){const{min:tt,max:nt}=this,rt=[],st=[];let it,at,ot,lt,ct;for(it=0,at=_e.length;it=tt&<<=nt&&rt.push(lt);if(rt.length<2)return[{time:tt,pos:0},{time:nt,pos:1}];for(it=0,at=rt.length;itrt-st)}_getTimestampsForTable(){let _e=this._cache.all||[];if(_e.length)return _e;const tt=this.getDataTimestamps(),nt=this.getLabelTimestamps();return tt.length&&nt.length?_e=this.normalize(tt.concat(nt)):_e=tt.length?tt:nt,_e=this._cache.all=_e,_e}getDecimalForValue(_e){return(interpolate(this._table,_e)-this._minPos)/this._tableRange}getValueForPixel(_e){const tt=this._offsets,nt=this.getDecimalForPixel(_e)/tt.factor-tt.end;return interpolate(this._table,nt*this._tableRange+this._minPos,!0)}}yn(TimeSeriesScale,"id","timeseries"),yn(TimeSeriesScale,"defaults",TimeScale.defaults);var scales=Object.freeze({__proto__:null,CategoryScale,LinearScale,LogarithmicScale,RadialLinearScale,TimeScale,TimeSeriesScale});const registerables=[controllers,elements,plugins,scales],OSD=()=>{const{timerMins:et,timerSecs:_e,currentImage:tt,showImage:nt,showQuestion:rt,currentTitle:st,currentQuestion:it,currentOptions:at,logo:ot,markCorrect:lt,showStats:ct,stats:ut}=useSelector(Rt=>Rt.osd),dt=reactExports.useRef(null),[ft,pt]=reactExports.useState(!1),[ht,vt]=reactExports.useState(!1),[gt,mt]=reactExports.useState(!1),[bt,xt]=reactExports.useState(!1),[yt,$t]=reactExports.useState(!1),[wt,Ct]=reactExports.useState(new Date),Et=reactExports.useRef(null),Mt=reactExports.useRef(null),St=useDispatch();return reactExports.useEffect(()=>(Chart.register(...registerables),SIOService.getInstance().connect("OSD"),St(loadQuestions()),setInterval(()=>{Ct(new Date)},1e3),()=>{SIOService.getInstance().disconnect()}),[]),reactExports.useEffect(()=>{dt.current===null?dt.current=setInterval(()=>{St(OsdSlice.actions.decreaseTimer())},1e3):_e<0&&et<0&&(clearInterval(dt.current),dt.current=null)},[et,_e]),reactExports.useEffect(()=>{nt?(pt(!0),setTimeout(()=>{vt(!0)},100)):(vt(!1),setTimeout(()=>{pt(!1)},1e3))},[nt]),reactExports.useEffect(()=>{rt?(mt(!0),setTimeout(()=>{xt(!0)},100)):(xt(!1),setTimeout(()=>{mt(!1)},1e3))},[rt]),reactExports.useEffect(()=>{if(ct&&Mt.current!==null){$t(!0);const Rt=[];for(const kt of Object.keys(ut))Rt[parseInt(kt)]=ut[kt];const Pt=[];for(let kt=0;kt{var Rt;$t(!1),(Rt=Et.current)==null||Rt.destroy()},1e3)},[ct]),jsxRuntimeExports.jsx(Page,{name:"osd",className:"dark",children:jsxRuntimeExports.jsxs("div",{className:"osd",children:[jsxRuntimeExports.jsx("div",{className:"osd-image-outer",children:jsxRuntimeExports.jsxs("div",{className:`osd-image-container ${ft?"":"osd-nodisplay"} ${ht?"":"osd-transparent osd-image-state-small"} ${yt?"osd-stats":""}`,id:"image-container",children:[jsxRuntimeExports.jsx("img",{src:ApiService.getApiEndpoint()+tt,id:"image",className:`osd-image ${yt?"osd-nodisplay":""}`,alt:"image"}),jsxRuntimeExports.jsx("div",{className:`osd-stats-container ${yt?"":"osd-nodisplay"}`,children:jsxRuntimeExports.jsx("canvas",{ref:Mt,className:"osd-stats-canvas",height:360,width:500})})]})}),jsxRuntimeExports.jsxs("div",{className:`osd-question-container ${gt?"":"osd-nodisplay"} ${bt?"":"osd-transparent"}`,id:"question-container",children:[jsxRuntimeExports.jsx("div",{className:"osd-logo",children:jsxRuntimeExports.jsx("img",{src:ot,className:"osd-logo",alt:"Logo"})}),jsxRuntimeExports.jsxs("div",{className:"osd-questions",children:[jsxRuntimeExports.jsxs("div",{className:"osd-question osd-image-state-small",id:"question",children:[jsxRuntimeExports.jsx("div",{className:"osd-question-title-container",children:jsxRuntimeExports.jsx("h2",{className:"osd-question-title",id:"question-title",children:st})}),jsxRuntimeExports.jsx("div",{className:"osd-question-flex",children:jsxRuntimeExports.jsx("h1",{className:"osd-question-text",id:"question-text",children:it})})]}),at.length>0&&jsxRuntimeExports.jsxs("div",{className:"osd-answer-container",id:"answer-container",children:[at.length>=1&&jsxRuntimeExports.jsxs("div",{className:`osd-answer ${lt===0?"osd-answer-correct":""}`,children:[jsxRuntimeExports.jsx("span",{className:"osd-answer-emoji",children:"1️⃣"}),jsxRuntimeExports.jsx("h3",{className:"osd-answer-text",children:at[0]})]}),at.length>=2&&jsxRuntimeExports.jsxs("div",{className:`osd-answer ${lt===1?"osd-answer-correct":""}`,children:[jsxRuntimeExports.jsx("span",{className:"osd-answer-emoji",children:"2️⃣"}),jsxRuntimeExports.jsx("h3",{className:"osd-answer-text",children:at[1]})]}),at.length>=3&&jsxRuntimeExports.jsxs("div",{className:`osd-answer ${lt===2?"osd-answer-correct":""}`,children:[jsxRuntimeExports.jsx("span",{className:"osd-answer-emoji",children:"3️⃣"}),jsxRuntimeExports.jsx("h3",{className:"osd-answer-text",children:at[2]})]}),at.length>=4&&jsxRuntimeExports.jsxs("div",{className:`osd-answer ${lt===3?"osd-answer-correct":""}`,children:[jsxRuntimeExports.jsx("span",{className:"osd-answer-emoji",children:"4️⃣"}),jsxRuntimeExports.jsx("h3",{className:"osd-answer-text",children:at[3]})]})]})]})]}),jsxRuntimeExports.jsx("div",{className:`osd-timer-container ${et>=0||_e>=0?"":"osd-nodisplay"}`,id:"timer-container",children:jsxRuntimeExports.jsxs("h1",{className:"osd-timer",id:"timer",children:["Noch ",et,":",("0"+_e).slice(-2)]})}),jsxRuntimeExports.jsx("div",{className:"osd-clock",children:parseClocktime(wt)})]})})},AnswerPage=et=>{var ut,dt,ft,pt,ht,vt,gt,mt,bt,xt,yt,$t,wt;const{f7route:_e}=et,{answerLoading:tt,answer:nt,questions:rt}=useSelector(Ct=>Ct.scoreboardinternal),[st,it]=reactExports.useState(0),[at,ot]=reactExports.useState(0),lt=useDispatch();reactExports.useEffect(()=>{_e.params.aid!==void 0?lt(getAnswer(_e.params.aid)):lt(ScoreboardInternalSlice.actions.clearStorage(parseInt(_e.params.qid)))},[]),reactExports.useEffect(()=>{var Ct,Et,Mt;it(nt.points),((Ct=ct(nt.questionId))==null?void 0:Ct.maxPoints)!==void 0&&(console.log((Et=ct(nt.questionId))==null?void 0:Et.maxPoints),ot((Mt=ct(nt.questionId))==null?void 0:Mt.maxPoints))},[nt]);const ct=Ct=>{for(const Et of rt)if(Et.id===Ct)return Et;return null};return console.log("M"+at),jsxRuntimeExports.jsxs(Page,{name:"backoffice-scoreboard-answer",className:"dark",children:[jsxRuntimeExports.jsx(Navbar,{title:"Punkte bearbeiten",className:"dark",backLink:"Scoreboard (interne Ansicht)",large:!0}),jsxRuntimeExports.jsx(Toolbar,{bottom:!0,outline:!1,className:"dark",children:jsxRuntimeExports.jsx(Footer,{})}),tt&&jsxRuntimeExports.jsxs("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",height:"100%",minHeight:"300px"},children:[jsxRuntimeExports.jsx(Preloader,{size:42}),jsxRuntimeExports.jsx("p",{children:"LADEN..."})]}),!tt&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(BlockTitle,{children:"Frage"}),jsxRuntimeExports.jsx(Block,{inset:!0,strong:!0,children:(ut=ct(nt.questionId))==null?void 0:ut.question}),jsxRuntimeExports.jsx(BlockTitle,{children:"Auswertungshinweis"}),jsxRuntimeExports.jsx(Block,{inset:!0,strong:!0,children:(dt=ct(nt.questionId))==null?void 0:dt.gradingHint}),(((ft=ct(nt.questionId))==null?void 0:ft.type)===QuestionType.multipleChoice||((pt=ct(nt.questionId))==null?void 0:pt.type)===QuestionType.customMc)&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(BlockTitle,{children:"Optionen"}),jsxRuntimeExports.jsx(Block,{inset:!0,strong:!0,children:jsxRuntimeExports.jsx("ul",{children:(ht=ct(nt.questionId))==null?void 0:ht.options.map((Ct,Et)=>jsxRuntimeExports.jsx("li",{children:Ct},Et))})})]}),_e.params.aid!==void 0&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(BlockTitle,{children:"Antwort"}),(((vt=ct(nt.questionId))==null?void 0:vt.type)===QuestionType.text||((gt=ct(nt.questionId))==null?void 0:gt.type)===QuestionType.custom||((mt=ct(nt.questionId))==null?void 0:mt.type)===QuestionType.external)&&jsxRuntimeExports.jsx(Block,{inset:!0,strong:!0,children:nt.value}),(((bt=ct(nt.questionId))==null?void 0:bt.type)===QuestionType.multipleChoice||((xt=ct(nt.questionId))==null?void 0:xt.type)===QuestionType.customMc)&&jsxRuntimeExports.jsx(Block,{inset:!0,strong:!0,children:(yt=ct(nt.questionId))==null?void 0:yt.options[parseInt(nt.value)]}),(($t=ct(nt.questionId))==null?void 0:$t.type)===QuestionType.trueFalse&&jsxRuntimeExports.jsx(Block,{inset:!0,strong:!0,children:nt.value==="0"?"Wahr":"Falsch"})]}),_e.params.aid===void 0&&jsxRuntimeExports.jsx(BlockTitle,{children:"Keine Antwort des Teams vorhanden."}),jsxRuntimeExports.jsx(BlockTitle,{children:"Maximale Punktzahl"}),jsxRuntimeExports.jsx(Block,{inset:!0,strong:!0,children:(wt=ct(nt.questionId))==null?void 0:wt.maxPoints}),jsxRuntimeExports.jsx(BlockTitle,{children:"Punkte"}),jsxRuntimeExports.jsx(Block,{inset:!0,strong:!0,children:at>0&&jsxRuntimeExports.jsx(Stepper,{raised:!0,max:at,step:.5,value:st,onStepperChange:Ct=>{console.log(Ct),it(parseFloat(Ct))}})}),jsxRuntimeExports.jsx(List,{inset:!0,strong:!0,children:jsxRuntimeExports.jsx(ListButton,{title:"Punkte vergeben",onClick:()=>{_e.params.aid!==void 0?lt(updateAnswer({id:nt.id.toString(),points:st})):lt(createAnswer({points:st,questionId:parseInt(_e.params.qid),teamId:parseInt(_e.params.tid)}))}})})]})]})},routes=[{path:"/about/",component:AboutPage,options:{transition:"f7-dive"}},{path:"/backoffice/",component:BackofficeMenuPage},{path:"/backoffice/questions/",component:QuestionEditPage},{path:"/backoffice/questions/:qid",component:QuestionEditDetailPage},{path:"/backoffice/grade/",component:GradePage},{path:"/backoffice/grade/:aid",component:GradeDetailPage},{path:"/backoffice/settings/",component:SettingsPage},{path:"/backoffice/teams/",component:TeamsPage},{path:"/backoffice/internalscoreboard/",component:InternalScoreboard},{path:"/backoffice/internalscoreboard/:qid/:tid",component:AnswerPage},{path:"/backoffice/internalscoreboard/:aid",component:AnswerPage},{path:"/backoffice/supportchat/",component:SupportChatPage},{path:"/backoffice/osd/",component:OsdPage},{path:"/osd/",component:OSD},{path:"/faq/",component:FaqPage,options:{transition:"f7-dive"}},{path:"/scoreboard/",component:ScoreboardPage},{path:"/portal/",component:Portal},{path:"/:teamid?",component:HomePage},{path:"(.*)",component:NotFoundPage}],MyApp=()=>{const et={name:"Quizzmaster",theme:"ios",routes};return f7ready(()=>{SIOService.instance=new SIOService}),jsxRuntimeExports.jsx(App,{...et,children:jsxRuntimeExports.jsx(View,{main:!0,className:"safe-areas",browserHistory:!0,browserHistorySeparator:"#page"})})};Framework7.use(Framework7React);UserService.initKeycloak(()=>{const et=document.getElementById("app");if(!et)throw new Error("Failed to find the root element.");createRoot(et).render(jsxRuntimeExports.jsx(Provider,{store:store$1,children:jsxRuntimeExports.jsx(MyApp,{})}))}); diff --git a/assets/index-9c229eec.css b/assets/index-9c229eec.css new file mode 100644 index 0000000..49ff443 --- /dev/null +++ b/assets/index-9c229eec.css @@ -0,0 +1 @@ +:root{--f7-safe-area-left: 0px;--f7-safe-area-right: 0px;--f7-safe-area-top: 0px;--f7-safe-area-bottom: 0px;--f7-safe-area-outer-left: 0px;--f7-safe-area-outer-right: 0px;--f7-device-pixel-ratio: 1}@supports (left: env(safe-area-inset-left)){:root{--f7-safe-area-top: env(safe-area-inset-top);--f7-safe-area-bottom: env(safe-area-inset-bottom)}:root .ios-left-edge,:root .ios-edges,:root .safe-area-left,:root .safe-areas,:root .popup,:root .sheet-modal,:root .panel-left{--f7-safe-area-left: env(safe-area-inset-left);--f7-safe-area-outer-left: env(safe-area-inset-left)}:root .ios-right-edge,:root .ios-edges,:root .safe-area-right,:root .safe-areas,:root .popup,:root .sheet-modal,:root .panel-right{--f7-safe-area-right: env(safe-area-inset-right);--f7-safe-area-outer-right: env(safe-area-inset-right)}:root .no-safe-areas,:root .no-safe-area-left,:root .no-ios-edges,:root .no-ios-left-edge{--f7-safe-area-left: 0px;--f7-safe-area-outer-left: 0px}:root .no-safe-areas,:root .no-safe-area-right,:root .no-ios-edges,:root .no-ios-right-edge{--f7-safe-area-right: 0px;--f7-safe-area-outer-right: 0px}}@media (-webkit-min-device-pixel-ratio: 2),(min-resolution: 2dppx){:root{--f7-device-pixel-ratio: 2}}@media (-webkit-min-device-pixel-ratio: 3),(min-resolution: 3dppx){:root{--f7-device-pixel-ratio: 3}}:root{--f7-font-size: 14px;--f7-bars-translucent-opacity: .8;--f7-bars-translucent-blur: 20px}.ios{--f7-font-family: -apple-system, SF Pro Text, SF UI Text, system-ui, Helvetica Neue, Helvetica, Arial, sans-serif;--f7-line-height: 1.4;--f7-bars-text-color: #000;--f7-text-color: #000;--f7-bars-bg-color: #f7f7f8;--f7-bars-bg-color-rgb: 247, 247, 248;--f7-bars-border-color: rgba(0, 0, 0, .25)}.ios .dark,.ios.dark{--f7-bars-text-color: #fff;--f7-text-color: #fff;--f7-bars-bg-color: #121212;--f7-bars-bg-color-rgb: 22, 22, 22;--f7-bars-border-color: rgba(255, 255, 255, .16)}.md{--f7-font-family: Roboto, system-ui, Noto, Helvetica, Arial, sans-serif;--f7-line-height: 1.5;--f7-bars-border-color: transparent;--f7-text-color: #212121}.md .dark,.md.dark{--f7-text-color: rgba(255, 255, 255, .87)}.md,.md .dark,.md [class*=color-]{--f7-bars-link-color: var(--f7-md-on-surface);--f7-bars-bg-color: var(--f7-md-surface-2);--f7-bars-bg-color-rgb: var(--f7-md-surface-2-rgb)}.text-color-primary{--f7-theme-color-text-color: var(--f7-theme-color)}.bg-color-primary{--f7-theme-color-bg-color: var(--f7-theme-color)}.border-color-primary{--f7-theme-color-border-color: var(--f7-theme-color)}.ripple-color-primary{--f7-theme-color-ripple-color: rgba(var(--f7-theme-color-rgb), .3)}@font-face{font-family:framework7-core-icons;src:url(data:application/font-woff;charset=utf-8;base64,\ d09GRgABAAAAAA0sABAAAAAAGLwAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABbAAAABoAAAAcmrEdT0dERUYAAAGIAAAAIwAAACQAewBXR1BPUwAAAawAAAAuAAAANuAY7+xHU1VCAAAB3AAAAZ4AAAP6ALYH7k9TLzIAAAN8AAAASgAAAGBRKF+WY21hcAAAA8gAAACJAAABYt6F0cBjdnQgAAAEVAAAAAQAAAAEABEBRGdhc3AAAARYAAAACAAAAAj//wADZ2x5ZgAABGAAAATOAAAKDJkUuoRoZWFkAAAJMAAAADAAAAA2IlX292hoZWEAAAlgAAAAIAAAACQHgQM7aG10eAAACYAAAABgAAABHCxp//lsb2NhAAAJ4AAAAJAAAACQQrpFRm1heHAAAApwAAAAHwAAACAAjQBPbmFtZQAACpAAAAFVAAAC3EU7ispwb3N0AAAL6AAAAUIAAAJaVPgZiHicY2BgYGQAgts30q6A6Ps50bYwGgBRFwa1AAB4nGNgZGBg4AFiGSBmAkJmBk0GRgYtBjcgmwUsxgAADWAA0wB4nGNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB4nHVTW07CQBQ9Q2vAJwhVGwW0UJEgvt+Kb+XDT3dAYjQmxA9DXIDLMC7CLz9dg3EJfrkLPDMF+pg0TTPTe84998ydWwgAIyiiDtFudZ6QgskIul1IRLQfH1qMwfsiZqo1BWF8IAkLL4lO4scwDddowGC8iia2kYbDp4gKd5Ncy3yKyPMrjxyuMBHAHdiYxgwZHrqK8QA6xxpTAyyNBdzgGW/4wq8wRUU0xb14Fe/iU3yLP9a2qGRhUeUXIuoZuCrucHdGtTDTrxTk7Wq8nHJWiPCOeM4wz8V8hLOscYLubMZKWCcvzpfHuNAY0Q6ucI3TkPh+D89iVt3OUsTnBm8grsI5xrRcz9dmD9GrNjSk38M1jGpq0uEBZ1LvppyvGu//kh4tpV7mm1Ycl6zcwMsxd3EMqX+C4RAuY3K6t3hKOa02fdt0lVF7z0GWfKltDarIjFP2qkx92UF/an18h5UyVJeRfnyI/ajSwy3ucMh8S+VmeeLwPdTYhSDmZdeVdz8qvV+zMzLHn5I9/p39iHe6JHOy3BXYSQelf3GmQG8AAHicY2Bh/MI4gYGVgYHRhzGNgYHBHUp/ZZBkaGFgYGJgZWaAAUYGJBCQ5prC0MCgwFDFeOD/AQY9ps+MxTA1jAfAShQYxABDtQxkAAB4nGNgYGBmgGAZBkYGEIgB8hjBfBYGByDNw8DBwARkKzDoMlgyxDNU/f8PFAXxDIC8xP///z/+f/3/1f8b/q+HmgAHjGwMcCFGJiDBxICmAGI1HLAwMLCysXNwcnHz8PIxEAP4GQQEhYRFRMXEJSSlpGVk5eQVFJWUVVTV1DU0iTKA1gAAxH4T6AAAAAARAUQAAAAB//8AAnic7VXPTxtHFJ63xh6DY++uf+yq0FJs1l6ktk7x2l4aDEaFEMkCUlXQUi5A6nAprYoqu1IVbG6gKNRVBUJBuUVqpeYSfGirHID2QhrVrWQ1UlXlRA+VWnri0EYK677ZtRMg/0EVaWZn3puZN2++9723hCMiIeQ6TBAboSS6BeRsqkybyN+xLYf9Qaps43BKtmxMbWfqMnXAo1QZmF4TNVHVxE5x5eO5OZgwbomgoTXAtmt2nIndbP5M90z3v9dxx3Q21L7GmWrShL0Z3oApzDCe+EiAEG/I4ZdiyXgkJvkdoUgcdJXK6lfjqdR46sZ8JjOfgUTbQltxAQZS4319429lmNJ4+PyHbe8uEOv+2neg4QVeQsIhnmNW0qBG4snYiyCBCgC/uzok186OSwq69vkyx+27pA7X9g7T7vOWv7U/YBe+wBrwHFqRqZpQHZ0hZkMK+KkcYh6ipzCwFFmi0fT52dmrl7ro1zNDQzODq0uRYoB2zV6dnT3fH6WDM4ODM6ZfJEK28a12QnwUTerb+byyuQlJc2j4fgibsEqceGsgyDbJFDaNuyWlUlFKv8Wtsb6XuOF7yDJ7Osig6iXgFaNSUibqI4HaQ8TiJcQCa5meTAO67+dBZtCehYgd8OX45u1t9v59/mew7TNMULaQYHf4yZ7ls47OqPreTaVYVL7BbyF8cj2Brsq0vhwuFBUTR2O1aY47JC4i44swlFTWZTSjch0KJ3iVjiavwHEDe8m9Rus1fjKONjbABjGwbWz8uac3lvRHDx6rjSO27WnMGGBYe3XYZDhpn+2yAXoQwAZmGeiBJBFQsMAwkTC5AW7qF5zfOv3OUeqRaC9EnYIfZRQlD+2tn5+H1yHCzpOTp/UkxD10hUrYPZIzl3NCxMMEpvPQXI6aeJApqOB59k8hfRAM2BPBAFQMDSqHmnZd0zBm/5J3yC/wCvEQghGTJR48gLfoSTkz0yIILe/bfY5zbg9/5trnfIuL/9IJdIA/4/ZY/k3DMNpnHEP2UPWmGRCImAOxuE0kGMKYuVm+YdCOMdtR5/XBpG9SeVUfG/tgbGuyv3+yf+lt32Q7SmN697k005zEgjELk8ukFWUJdwIIybPRgCGfR91JP5ENyAnLz+mbSqGgsBpR+wtuwTqiJJIXsCrUq4GP+dfJSkQaGNtUk5NXyouL5Sv3L2SzF4az2eHR9lFsI+0jI+2wvnh7cfG2cXT52uXsp9kfrCWzPcmhOfgI+UngsT1Zh7lSSWk0uHhMwPjUjB3ugNslrYTYRRM3Ue9nSUXBoYZUiCIXYjL0KPHwj964z+s17gVaW33GPS/4vAnve9xBazjceuSvMDnOVjkfJL0a7qz71E7uwCWGa9Li15PEvXOSUlHBuYJ8XXEKksUwYvKnB5yQYud9SB6MrskeiXH0H9G17HC10Itu3iHa05+4oNsl3G+m07zbzjlGdsVTdYpVIBWrk5LLwRQO+XydQ7UprsJFSDPjUFxIajFJwIt8xzK8urZera6vrRWSBWxF9n0ZuqpV49cq3CjqhYJeNL+nc9i8M5gIqhWWu8Zd6CnBKpvGzRy2Mf84Df1jOYRxExNWFrHOaUcVqyNq8SWzncZUsKjKctf6MSBJlylddlr0hDefwvQ/M6nleQAAeJxjYGRgYADis2XfmeP5bb4ycDMxgMD9nGhbGP3/x79eljSmz0AuBwNYGgBQ5wydeJxjYGRgYPr8r5dBjyXt/w8GBpY0BqAICnAHAJFTBcN4nGPYzSDIAAKrGAY1YAwAYh0gPgDk7APSs4D4EEjs/0+G40AxIGZJg4pbALETEJ8Fip/9/4PRDch2gYqB2KuBGKiW6c3//wy7gWyG/z9AZjKdhehnMgbqA4oDAJFZGHgAAAAqACoAKgA0AD4ASABSAFwAZgBwAHoAhACOAJgAogCsALYAwADKANQA3gDoAPIA/AEGARABGgEkAS4BOAFCAUwBVgFgAWoBdAF+AYgBkgGcAaYBsgHcAf4CKAI6AlACYgKCApICogLUAuoDCgMqAzwDWgNsA5ADrgO+A/IEDAQ8BFwEfASOBLYEzATmBQZ4nGNgZGBgcGeQY2BhAAEmIGZkAIk5MOiBBAAN5gDdAHicrZC9asMwFIWP8gftUDo00FFjEmIjawlkTcmSpXTwbhw3EYmtoARC6ON06Na9Q5+iY6FP0IfosaJChwwdYri6n6/Olc4VgCu8QuD49fAQWKCLl8ANXOIjcBNa3AVuoSueA7dxLT4Dd9Bt3FIpWhf8u/ddNQsM8BS4gRu8B25ijq/ALQzEPnAbUrwF7rD+jQksNjjAwWCBJXaQ9Jyjz6yhGBpDcoo1Mp5qUDIcKzOqM1JdL3mG8buY2M3BmcVyJ3t5X2ql9VCm62xuSuPkbJm5dVZuzJzKRzbXrQX2NOGwwggRr665IBnPFbaUuqws9tatRlFuXRGZ3FYsn9T+FUx9ceez43yFnyrmXBJjxv8tHPUJuyOuiuvv62Bqq93UukUhdazkWJ40y3qio0RF9YucY/aUOsd943WSZhSNxT7X4yEt3NbYSiqVxEopeYZLfwCb64ZqAAAAeJxtUIlOwkAUnAGVW4rch36M8b7v2zSlLdIIXbJdxL/HhbaBJm6yyb6ZebPzHlJYnvkcxH/nWF8ihTQMVFFDHQ000UIbHXTRwz4OcIgjrTvBKc5wjgtc4grXuMEt7nCPBzziCc94wSve8I4PfDLFNDe4yS1mmGWOeRZYZInbLNNghTusssY6G2yyxTY77LLHXe7lA9eS9tD0RFCxh+6PFL4pva+hWiC5iBw75ZgbuQOl65IlpZjFVUGz9ndf/Oq3kVBqk1LCtrhON3yhvIFnW8rTiD0SgbvoKIfmfaGUGGvLnLQcTyyYatztiJlvWlMppJUJhFRRxDBEiOdj7XRSiuYIicqKiJDium3ZcUeuck0ppr6z+D2q9dATJc0w23qW5aArozCDFhjJferVJJy1Yjs0i/nschKN15Kdofcf+xC0ZgAA) format("woff");font-weight:400;font-style:normal}html{overscroll-behavior:none}html,body,.framework7-root{position:relative;height:100%;width:100%;overflow-x:hidden}body{margin:0;padding:0;width:100%;background:#fff;overflow:hidden;overflow-y:scroll;-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased;font-family:var(--f7-font-family);font-size:var(--f7-font-size);line-height:var(--f7-line-height);color:var(--f7-text-color);scrollbar-width:none;scrollbar-color:transparent}body::-webkit-scrollbar{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:0px;display:none;opacity:0;background:transparent}body::-webkit-scrollbar-track{box-shadow:none;background:transparent}body::-webkit-scrollbar-thumb{background-color:transparent;outline:none;border-radius:9999px;position:relative}.dark body,body.dark{background:#000}.dark{color:var(--f7-text-color)}.framework7-root{overflow:hidden;box-sizing:border-box}.framework7-initializing *,.framework7-initializing *:before,.framework7-initializing *:after{transition-duration:0ms!important}.device-ios,.device-android{cursor:pointer}.device-ios{touch-action:manipulation}@media (width: 1024px) and (height: 691px) and (orientation: landscape){html,body,.framework7-root{height:671px}}@media (width: 1024px) and (height: 692px) and (orientation: landscape){html,body,.framework7-root{height:672px}}*{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-touch-callout:none}a,input,textarea,select{outline:0}a{cursor:pointer;-webkit-text-decoration:none;text-decoration:none;color:var(--f7-theme-color)}.link,.item-link{cursor:pointer}p{margin:1em 0}.disabled{opacity:.55!important;pointer-events:none!important}html.device-full-viewport,html.device-full-viewport body{height:100vh}.ios .md-only,.ios .if-md,.ios .if-not-ios,.ios .not-ios{display:none!important}@media (width: 1024px) and (height: 691px) and (orientation: landscape){.ios,.ios body,.ios .framework7-root{height:671px}}@media (width: 1024px) and (height: 692px) and (orientation: landscape){.ios,.ios body,.ios .framework7-root{height:672px}}.md .ios-only,.md .if-ios,.md .if-not-md,.md .not-md{display:none!important}.views,.view{position:relative;height:100%;z-index:5000;overflow:hidden;box-sizing:border-box}.framework7-root>.view,.framework7-root>.views{height:100%}.view-resize-handler{width:6px;height:100%;position:absolute;left:var(--f7-page-master-width);margin-left:-3px;top:0;cursor:col-resize;z-index:1000;display:none}.view-master-detail .view-resize-handler{display:block}:root{--f7-page-master-width: 320px;--f7-page-master-border-color: rgba(0, 0, 0, .1);--f7-page-master-border-width: 1px;--f7-page-swipeback-transition-duration: .3s;--f7-page-parallax-transition-duration: .5s;--f7-page-cover-transition-duration: .45s;--f7-page-dive-transition-duration: .5s;--f7-page-fade-transition-duration: .5s;--f7-page-flip-transition-duration: .7s;--f7-page-push-transition-duration: .5s;--f7-page-title-line-height: 1.2;--f7-page-title-text-color: inherit;--f7-page-title-padding-left: 16px;--f7-page-title-padding-right: 16px}.ios{--f7-page-transition-duration: .4s;--f7-page-title-font-size: 34px;--f7-page-title-font-weight: 700;--f7-page-title-letter-spacing: -.03em;--f7-page-title-padding-vertical: 6px;--f7-page-bg-color: #efeff4}.ios .dark,.ios.dark{--f7-page-bg-color: #000}.md{--f7-page-transition-duration: .4s;--f7-page-title-font-size: 34px;--f7-page-title-font-weight: 500;--f7-page-title-letter-spacing: 0;--f7-page-title-padding-vertical: 8px}.md,.md .dark,.md [class*=color-]{--f7-page-bg-color: var(--f7-md-surface)}.dark{--f7-page-master-border-color: rgba(255, 255, 255, .2)}.pages{position:relative;width:100%;height:100%;overflow:hidden}.page{box-sizing:border-box;position:absolute;left:0;top:0;width:100%;height:100%;transform:none;background-color:var(--f7-page-bg-color);z-index:1}.page-with-navbar-large-collapsed{--f7-navbar-large-collapse-progress: 1}.page-previous{pointer-events:none}.page-content{overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;height:100%;position:relative;z-index:1;padding-top:calc(var(--f7-page-navbar-offset, 0px) + var(--f7-page-toolbar-top-offset, 0px) + var(--f7-page-subnavbar-offset, 0px) + var(--f7-page-searchbar-offset, 0px) + var(--f7-page-content-extra-padding-top, 0px));padding-bottom:calc(var(--f7-page-toolbar-bottom-offset, 0px) + var(--f7-safe-area-bottom) + var(--f7-page-content-extra-padding-bottom, 0px))}.page-transitioning,.page-transitioning .page-shadow-effect,.page-transitioning .page-opacity-effect{transition-duration:var(--f7-page-transition-duration)}.page-transitioning-swipeback,.page-transitioning-swipeback .page-shadow-effect,.page-transitioning-swipeback .page-opacity-effect{transition-duration:var(--f7-page-swipeback-transition-duration)}.router-transition-forward .page-next,.router-transition-backward .page-next,.router-transition-forward .page-current,.router-transition-backward .page-current{pointer-events:none}.page-shadow-effect{position:absolute;top:0;width:16px;bottom:0;z-index:-1;content:"";opacity:0;right:100%;background:linear-gradient(to right,rgba(0,0,0,0) 0%,rgba(0,0,0,0) 10%,rgba(0,0,0,.01) 50%,rgba(0,0,0,.2) 100%)}.page-opacity-effect{position:absolute;left:0;top:0;background:rgba(0,0,0,.1);width:100%;bottom:0;content:"";opacity:0;z-index:10000}.ios .page-previous{transform:translate3d(-20%,0,0)}.ios .page-next{transform:translate3d(100%,0,0)}.ios .page-previous .page-opacity-effect{opacity:1}.ios .page-previous:after{opacity:1}.ios .page-current .page-shadow-effect{opacity:1}.ios .router-transition-forward .page-next{animation:ios-page-next-to-current var(--f7-page-transition-duration) forwards}.ios .router-transition-forward .page-next:before{position:absolute;top:0;width:16px;bottom:0;z-index:-1;content:"";opacity:0;right:100%;background:linear-gradient(to right,rgba(0,0,0,0) 0%,rgba(0,0,0,0) 10%,rgba(0,0,0,.01) 50%,rgba(0,0,0,.2) 100%);animation:ios-page-element-fade-in var(--f7-page-transition-duration) forwards}.ios .router-transition-forward .page-current{animation:ios-page-current-to-previous var(--f7-page-transition-duration) forwards}.ios .router-transition-forward .page-current:after{position:absolute;left:0;top:0;background:rgba(0,0,0,.1);width:100%;bottom:0;content:"";opacity:0;z-index:10000;animation:ios-page-element-fade-in var(--f7-page-transition-duration) forwards}.ios .router-transition-backward .page-previous{animation:ios-page-previous-to-current var(--f7-page-transition-duration) forwards}.ios .router-transition-backward .page-previous:after{position:absolute;left:0;top:0;background:rgba(0,0,0,.1);width:100%;bottom:0;content:"";opacity:0;z-index:10000;animation:ios-page-element-fade-out var(--f7-page-transition-duration) forwards}.ios .router-transition-backward .page-current{animation:ios-page-current-to-next var(--f7-page-transition-duration) forwards}.ios .router-transition-backward .page-current:before{position:absolute;top:0;width:16px;bottom:0;z-index:-1;content:"";opacity:0;right:100%;background:linear-gradient(to right,rgba(0,0,0,0) 0%,rgba(0,0,0,0) 10%,rgba(0,0,0,.01) 50%,rgba(0,0,0,.2) 100%);animation:ios-page-element-fade-out var(--f7-page-transition-duration) forwards}@keyframes ios-page-next-to-current{0%{transform:translate3d(100%,0,0)}to{transform:translateZ(0)}}@keyframes ios-page-previous-to-current{0%{transform:translate3d(-20%,0,0)}to{transform:translateZ(0)}}@keyframes ios-page-current-to-previous{0%{transform:translateZ(0)}to{transform:translate3d(-20%,0,0)}}@keyframes ios-page-current-to-next{0%{transform:translateZ(0)}to{transform:translate3d(100%,0,0)}}@keyframes ios-page-element-fade-in{0%{opacity:0}to{opacity:1}}@keyframes ios-page-element-fade-out{0%{opacity:1}to{opacity:0}}.md .page-previous{transform:translate3d(0,-20px,0)}.md .page-next{pointer-events:none;transform:translate3d(0,128px,0);opacity:0}.md .page-next.page-next-on-right{transform:translate3d(100%,0,0);opacity:1}.md .router-transition-forward .page-next{opacity:1;animation:md-page-next-to-current var(--f7-page-transition-duration) forwards cubic-bezier(0,.8,.3,1)}.md .router-transition-forward .page-current{animation:md-page-current-to-previous var(--f7-page-transition-duration) forwards cubic-bezier(0,.8,.3,1)}.md .router-transition-backward .page-current{animation:md-page-current-to-next calc(var(--f7-page-transition-duration) / 4) forwards cubic-bezier(.8,0,1,.3),md-page-current-to-next-opacity 0ms calc(var(--f7-page-transition-duration) / 4) forwards}.md .router-transition-backward .page-previous{animation:md-page-previous-to-current var(--f7-page-transition-duration) forwards}@keyframes md-page-next-to-current{0%{transform:translate3d(0,128px,0)}to{transform:translateZ(0)}}@keyframes md-page-current-to-next{0%{transform:translateZ(0)}to{transform:translate3d(0,128px,0)}}@keyframes md-page-current-to-next-opacity{0%{opacity:1}to{opacity:0}}@keyframes md-page-current-to-previous{0%{transform:translateZ(0)}to{transform:translate3d(0,-20px,0)}}@keyframes md-page-previous-to-current{0%{transform:translate3d(0,-20px,0)}to{transform:translateZ(0)}}.view:not(.view-master-detail) .page-master-stacked{display:none}.view:not(.view-master-detail) .navbar-master-stacked{display:none}.view-master-detail .page-master,.view-master-detail .navbar-master{width:var(--f7-page-master-width);--f7-safe-area-right: 0px;--f7-safe-area-outer-right: 0px;border-right:var(--f7-page-master-border-width) solid var(--f7-page-master-border-color)}.view-master-detail .page-master-detail,.view-master-detail .navbar-master-detail{width:calc(100% - var(--f7-page-master-width));--f7-safe-area-left: 0px;--f7-safe-area-outer-left: 0px;left:var(--f7-page-master-width)}.view-master-detail .page-master-detail>.navbar-master-detail{left:0;right:0;width:100%}.view-master-detail .page-master{z-index:2;transform:none;pointer-events:auto}.view-master-detail .page-master:before,.view-master-detail .page-master:after{display:none}.view-master-detail.router-transition .page-master{animation:none}.md .router-transition-custom .page-previous,.ios .router-transition-custom .page-previous,.md .router-transition-custom .page-next,.ios .router-transition-custom .page-next{opacity:1;transform:none}.md .router-transition-custom.view-master-detail .page-master,.ios .router-transition-custom.view-master-detail .page-master{animation:none}.page-title{position:relative;z-index:10;text-overflow:ellipsis;white-space:nowrap;color:var(--f7-page-title-text-color);letter-spacing:var(--f7-page-title-letter-spacing);font-size:var(--f7-page-title-font-size);font-weight:var(--f7-page-title-font-weight);line-height:var(--f7-page-title-line-height);padding-left:calc(var(--f7-page-title-padding-left) + var(--f7-safe-area-left));padding-right:calc(var(--f7-page-title-padding-right) + var(--f7-safe-area-right));padding-top:var(--f7-page-title-padding-vertical);padding-bottom:var(--f7-page-title-padding-vertical);box-sizing:border-box;overflow:hidden;width:100%}.router-transition-f7-circle-forward:after,.router-transition-f7-circle-backward:after{content:"";position:absolute;left:50%;top:50%;width:100vmax;height:100vmax;margin-left:-50vmax;margin-top:-50vmax;background:var(--f7-page-bg-color);z-index:100}.router-transition-f7-circle-forward .page,.router-transition-f7-circle-backward .page{pointer-events:none}.router-transition-f7-circle-forward:after{transform:scale(0);border-radius:50%;animation:f7-circle-circle-in .4s forwards}.ios .router-transition-f7-circle-forward .page-next,.md .router-transition-f7-circle-forward .page-next{opacity:0;transform:scale(.9);animation:f7-circle-next-to-current .3s forwards;animation-delay:.3s;z-index:150}.router-transition-f7-circle-backward:after{animation:f7-circle-circle-out .3s forwards;animation-delay:.35s}.ios .router-transition-f7-circle-backward .page-current,.md .router-transition-f7-circle-backward .page-current{animation:f7-circle-current-to-next .7s forwards;z-index:150}@keyframes f7-circle-circle-in{0%{transform:scale(0);border-radius:50%}50%{border-radius:50%}to{transform:scale(1);border-radius:0%}}@keyframes f7-circle-circle-out{0%{transform:scale(1);border-radius:0%}50%{border-radius:50%}to{transform:scale(0);border-radius:50%}}@keyframes f7-circle-next-to-current{0%{transform:scale(.9);opacity:0}40%{transform:scale(1.035);opacity:1}to{transform:scale(1);opacity:1}}@keyframes f7-circle-current-to-next{0%{transform:scale(1);opacity:1}34%{transform:scale(1.035);opacity:1}57%{transform:scale(.9);opacity:0}to{transform:scale(.9);opacity:0}}.router-transition-f7-cover-v-forward,.router-transition-f7-cover-v-backward{background:#000;perspective:1200px}.router-transition-f7-cover-v-forward .page,.router-transition-f7-cover-v-backward .page{pointer-events:none}.router-transition-f7-cover-v-forward .page-next{animation:f7-cover-v-next-to-current var(--f7-page-cover-transition-duration) forwards}.router-transition-f7-cover-v-forward .page-current{animation:f7-cover-v-current-to-prev var(--f7-page-cover-transition-duration) forwards}.router-transition-f7-cover-v-backward .page-current{animation:f7-cover-v-current-to-next var(--f7-page-cover-transition-duration) forwards}.router-transition-f7-cover-v-backward .page-previous{animation:f7-cover-v-prev-to-current var(--f7-page-cover-transition-duration) forwards}@keyframes f7-cover-v-next-to-current{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes f7-cover-v-current-to-next{0%{transform:translateY(0)}to{transform:translateY(100%)}}@keyframes f7-cover-v-current-to-prev{0%{transform:translateZ(0);opacity:1}to{transform:translateZ(-300px);opacity:.5}}@keyframes f7-cover-v-prev-to-current{0%{transform:translateZ(-300px);opacity:.5}to{transform:translateZ(0);opacity:1}}.router-transition-f7-cover-forward,.router-transition-f7-cover-backward{background:#000;perspective:1200px}.router-transition-f7-cover-forward .page,.router-transition-f7-cover-backward .page{pointer-events:none}.router-transition-f7-cover-forward .page-next{animation:f7-cover-next-to-current var(--f7-page-cover-transition-duration) forwards}.router-transition-f7-cover-forward .page-current{animation:f7-cover-current-to-prev var(--f7-page-cover-transition-duration) forwards}.router-transition-f7-cover-backward .page-current{animation:f7-cover-current-to-next var(--f7-page-cover-transition-duration) forwards}.router-transition-f7-cover-backward .page-previous{animation:f7-cover-prev-to-current var(--f7-page-cover-transition-duration) forwards}@keyframes f7-cover-next-to-current{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes f7-cover-current-to-next{0%{transform:translate(0)}to{transform:translate(100%)}}@keyframes f7-cover-current-to-prev{0%{transform:translateZ(0);opacity:1}to{transform:translateZ(-300px);opacity:.5}}@keyframes f7-cover-prev-to-current{0%{transform:translateZ(-300px);opacity:.5}to{transform:translateZ(0);opacity:1}}.router-transition-f7-dive-forward,.router-transition-f7-dive-backward{background:var(--f7-page-bg-color);perspective:1200px}.router-transition-f7-dive-forward .page,.router-transition-f7-dive-backward .page{pointer-events:none}.router-transition-f7-dive-forward .page-next{animation:f7-dive-next-to-current var(--f7-page-dive-transition-duration) forwards}.router-transition-f7-dive-forward .page-current{animation:f7-dive-current-to-prev var(--f7-page-dive-transition-duration) forwards}.router-transition-f7-dive-backward .page-current{animation:f7-dive-current-to-next var(--f7-page-dive-transition-duration) forwards}.router-transition-f7-dive-backward .page-previous{animation:f7-dive-prev-to-current var(--f7-page-dive-transition-duration) forwards}@keyframes f7-dive-next-to-current{0%{opacity:0;transform:translateZ(-150px)}50%{opacity:0}to{opacity:1;transform:translateZ(0)}}@keyframes f7-dive-current-to-next{0%{opacity:1;transform:translateZ(0)}50%{opacity:0}to{opacity:0;transform:translateZ(-150px)}}@keyframes f7-dive-current-to-prev{0%{transform:translateZ(0);opacity:1}50%{opacity:0}to{opacity:0;transform:translateZ(150px)}}@keyframes f7-dive-prev-to-current{0%{opacity:0;transform:translateZ(150px)}50%{opacity:0}to{opacity:1;transform:translateZ(0)}}.router-transition-f7-fade-forward,.router-transition-f7-fade-backward{background:var(--f7-page-bg-color)}.router-transition-f7-fade-forward .page,.router-transition-f7-fade-backward .page{pointer-events:none}.ios .router-transition-f7-fade-forward .page-next,.md .router-transition-f7-fade-forward .page-next{opacity:0;animation:f7-fade-in var(--f7-page-fade-transition-duration) forwards}.ios .router-transition-f7-fade-forward .page-current,.md .router-transition-f7-fade-forward .page-current,.ios .router-transition-f7-fade-backward .page-current,.md .router-transition-f7-fade-backward .page-current{animation:f7-fade-out var(--f7-page-fade-transition-duration) forwards}.ios .router-transition-f7-fade-backward .page-previous,.md .router-transition-f7-fade-backward .page-previous{animation:f7-fade-in var(--f7-page-fade-transition-duration) forwards}@keyframes f7-fade-in{0%{opacity:0}50%{opacity:0}to{opacity:1}}@keyframes f7-fade-out{0%{opacity:1}50%{opacity:0}to{opacity:0}}.router-transition-f7-flip-forward,.router-transition-f7-flip-backward{background:#000;perspective:1200px}.router-transition-f7-flip-forward .page,.router-transition-f7-flip-backward .page{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;pointer-events:none}.router-transition-f7-flip-forward .page-next{transform-style:preserve-3d;animation:f7-flip-next-to-current var(--f7-page-flip-transition-duration) forwards}.router-transition-f7-flip-forward .page-current{transform-style:preserve-3d;animation:f7-flip-current-to-prev var(--f7-page-flip-transition-duration) forwards}.router-transition-f7-flip-backward .page-current{transform-style:preserve-3d;animation:f7-flip-current-to-next var(--f7-page-flip-transition-duration) forwards}.router-transition-f7-flip-backward .page-previous{transform-style:preserve-3d;animation:f7-flip-prev-to-current var(--f7-page-flip-transition-duration) forwards}@keyframes f7-flip-next-to-current{0%{border-radius:32px;transform:translateZ(-100vmax) rotateY(180deg)}to{border-radius:0;transform:translateZ(0) rotateY(0)}}@keyframes f7-flip-current-to-next{0%{border-radius:0;transform:translateZ(0) rotateY(0)}to{border-radius:32px;transform:translateZ(-100vmax) rotateY(180deg)}}@keyframes f7-flip-current-to-prev{0%{border-radius:0;transform:translateZ(0) rotateY(0)}to{border-radius:32px;transform:translateZ(-100vmax) rotateY(-180deg)}}@keyframes f7-flip-prev-to-current{0%{border-radius:32px;transform:translateZ(-100vmax) rotateY(-180deg)}to{border-radius:0;transform:translateZ(0) rotateY(0)}}.router-transition-f7-parallax-forward .page{pointer-events:none}.router-transition-f7-parallax-forward .page-next{animation:f7-parallax-next-to-current var(--f7-page-parallax-transition-duration) forwards}.router-transition-f7-parallax-forward .page-current{animation:f7-parallax-current-to-prev var(--f7-page-parallax-transition-duration) forwards}.router-transition-f7-parallax-backward .page{pointer-events:none}.router-transition-f7-parallax-backward .page-current{animation:f7-parallax-current-to-next var(--f7-page-parallax-transition-duration) forwards}.router-transition-f7-parallax-backward .page-previous{animation:f7-parallax-prev-to-current var(--f7-page-parallax-transition-duration) forwards}@keyframes f7-parallax-next-to-current{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes f7-parallax-current-to-next{0%{transform:translate(0)}to{transform:translate(100%)}}@keyframes f7-parallax-current-to-prev{0%{transform:translate(0)}to{transform:translate(-20%)}}@keyframes f7-parallax-prev-to-current{0%{transform:translate(-20%)}to{transform:translate(0)}}.router-transition-f7-push-forward .page{pointer-events:none}.router-transition-f7-push-forward .page-next{animation:f7-push-next-to-current var(--f7-page-push-transition-duration) forwards}.router-transition-f7-push-forward .page-current{animation:f7-push-current-to-prev var(--f7-page-push-transition-duration) forwards}.router-transition-f7-push-backward .page{pointer-events:none}.router-transition-f7-push-backward .page-current{animation:f7-push-current-to-next var(--f7-page-push-transition-duration) forwards}.router-transition-f7-push-backward .page-previous{animation:f7-push-prev-to-current var(--f7-page-push-transition-duration) forwards}@keyframes f7-push-next-to-current{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes f7-push-current-to-next{0%{transform:translate(0)}to{transform:translate(100%)}}@keyframes f7-push-current-to-prev{0%{transform:translate(0)}to{transform:translate(-100%)}}@keyframes f7-push-prev-to-current{0%{transform:translate(-100%)}to{transform:translate(0)}}:root{--f7-link-highlight-black: rgba(0, 0, 0, .1);--f7-link-highlight-white: rgba(255, 255, 255, .15);--f7-link-highlight-color: rgba(var(--f7-theme-color-rgb), .15)}.ios{--f7-link-pressed-opacity: .3}.link,.tab-link{display:inline-flex;align-items:center;align-content:center;justify-content:center;position:relative;box-sizing:border-box;z-index:1;--f7-touch-ripple-color: var(--f7-link-touch-ripple-color, rgba(var(--f7-theme-color-rgb), .25))}.link i+span,.link i+i,.link span+i,.link span+span{margin-left:4px}.link[class*=color-]{color:var(--f7-theme-color)}.ios .link{transition:opacity .3s}.ios .link.active-state{opacity:var(--f7-link-pressed-opacity);transition-duration:0ms}:root{--f7-navbar-hide-show-transition-duration: .4s;--f7-navbar-title-line-height: 1.2;--f7-navbar-subtitle-text-align: inherit;--f7-navbar-large-title-line-height: 1.2;--f7-navbar-large-title-text-color: inherit;--f7-navbar-large-title-padding-left: 16px;--f7-navbar-large-title-padding-right: 16px}.ios{--f7-navbar-height: 44px;--f7-navbar-font-size: 17px;--f7-navbar-title-font-size: inherit;--f7-navbar-inner-padding-left: 8px;--f7-navbar-inner-padding-right: 8px;--f7-navbar-title-font-weight: 600;--f7-navbar-title-margin-left: 0;--f7-navbar-title-margin-right: 0;--f7-navbar-title-text-align: center;--f7-navbar-subtitle-font-size: 10px;--f7-navbar-subtitle-line-height: 1;--f7-navbar-large-title-height: 52px;--f7-navbar-large-title-font-size: 34px;--f7-navbar-large-title-font-weight: 700;--f7-navbar-large-title-letter-spacing: -.03em;--f7-navbar-large-title-padding-vertical: 6px;--f7-navbar-subtitle-text-color: rgba(0, 0, 0, .55)}.ios .dark,.ios.dark{--f7-navbar-subtitle-text-color: rgba(255, 255, 255, .55)}.md{--f7-navbar-height: 64px;--f7-navbar-font-size: 16px;--f7-navbar-title-font-size: 22px;--f7-navbar-inner-padding-left: 0px;--f7-navbar-inner-padding-right: 0px;--f7-navbar-title-font-weight: 400;--f7-navbar-title-margin-left: 0px;--f7-navbar-title-margin-right: 16px;--f7-navbar-title-text-align: left;--f7-navbar-subtitle-font-size: 14px;--f7-navbar-subtitle-line-height: 1.2;--f7-navbar-large-title-font-size: 28px;--f7-navbar-large-title-height: 88px;--f7-navbar-large-title-font-weight: 400;--f7-navbar-large-title-letter-spacing: 0;--f7-navbar-large-title-padding-vertical: 8px;--f7-navbar-link-height: 48px;--f7-navbar-link-line-height: 48px}.md,.md .dark,.md [class*=color-]{--f7-navbar-link-color: var(--f7-md-on-surface);--f7-navbar-text-color: var(--f7-md-on-surface);--f7-navbar-subtitle-text-color: var(--f7-md-on-surface-variant)}.navbars,.navbar{z-index:500;left:0;top:0;width:100%}.navbars{position:absolute}.navbars .navbar{z-index:auto}.navbars .navbar-transitioning{z-index:500}.navbar{--f7-navbar-large-collapse-progress: 0;position:relative;-webkit-backface-visibility:hidden;backface-visibility:hidden;box-sizing:border-box;margin:0;height:calc(var(--f7-navbar-height) + var(--f7-safe-area-top));color:var(--f7-navbar-text-color, var(--f7-bars-text-color));font-size:var(--f7-navbar-font-size)}.navbar b{font-weight:500}.navbar a{color:var(--f7-navbar-link-color, var(--f7-bars-link-color, var(--f7-theme-color)))}.navbar a.link{display:flex;justify-content:flex-start;line-height:var(--f7-navbar-link-line-height, var(--f7-navbar-height));height:var(--f7-navbar-link-height, var(--f7-navbar-height))}.navbar .title,.navbar .left,.navbar .right{position:relative;z-index:10}.navbar .title{position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-shrink:10;font-weight:var(--f7-navbar-title-font-weight);display:inline-block;line-height:var(--f7-navbar-title-line-height);text-align:var(--f7-navbar-title-text-align);font-size:var(--f7-navbar-title-font-size);margin-left:var(--f7-navbar-title-margin-left);margin-right:var(--f7-navbar-title-margin-left)}.navbar .subtitle{display:block;color:var(--f7-navbar-subtitle-text-color);font-weight:400;font-size:var(--f7-navbar-subtitle-font-size);line-height:var(--f7-navbar-subtitle-line-height);text-align:var(--f7-navbar-subtitle-text-align)}.navbar .left,.navbar .right{flex-shrink:0;display:flex;justify-content:flex-start;align-items:center}.navbar .right:first-child{position:absolute;height:100%}.navbar.no-outline .navbar-bg:after,.navbar .no-outline .navbar-bg:after{display:none!important}.navbar.no-outline .title-large:after,.navbar .no-outline .title-large:after{display:none!important}.navbar.navbar-hidden .navbar-bg:before,.navbar-hidden .navbar .navbar-bg:before{opacity:0!important}.navbar-bg{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:0;background:var(--f7-navbar-bg-color);background-color:var(--f7-navbar-bg-color, var(--f7-bars-bg-color));transition-property:transform}@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))){.ios-translucent-bars .navbar-bg{background-color:rgba(var(--f7-navbar-bg-color-rgb, var(--f7-bars-bg-color-rgb)),var(--f7-bars-translucent-opacity));-webkit-backdrop-filter:saturate(180%) blur(var(--f7-bars-translucent-blur));backdrop-filter:saturate(180%) blur(var(--f7-bars-translucent-blur))}}.navbar-bg:after,.navbar-bg:before{-webkit-backface-visibility:hidden;backface-visibility:hidden}.navbar-bg:after{content:"";position:absolute;background-color:var(--f7-navbar-border-color, var(--f7-bars-border-color));display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.navbar-bg:after{z-index:1}.navbar-transitioning,.navbar-transitioning .left,.navbar-transitioning .title,.navbar-transitioning .right,.navbar-transitioning .title-large-text,.navbar-transitioning .navbar-bg,.navbar-transitioning .subnavbar,.navbar-transitioning .navbar-bg:before{transition-duration:var(--f7-navbar-hide-show-transition-duration)}.navbar-page-transitioning,.navbar-page-transitioning .title-large-text,.navbar-page-transitioning .navbar-bg{transition-duration:var(--f7-page-swipeback-transition-duration)!important}.navbar-hidden{transform:translate3d(0,calc(-1 * var(--f7-navbar-height)),0)}.navbar-hidden .navbar-inner{pointer-events:none}.navbar-hidden .navbar-inner>.left,.navbar-hidden .navbar-inner>.title,.navbar-hidden .navbar-inner>.right{opacity:0!important}.navbar-hidden .subnavbar{pointer-events:auto}.navbar-hidden-statusbar{transform:translate3d(0,calc(-1 * var(--f7-navbar-height) - var(--f7-safe-area-top)),0)}.navbar-large-hidden .navbar-large{--f7-navbar-large-collapse-progress: 1}.navbar-inner{position:absolute;left:0;bottom:0;width:100%;height:100%;display:flex;align-items:center;box-sizing:border-box;padding:var(--f7-safe-area-top) calc(var(--f7-navbar-inner-padding-right) + var(--f7-safe-area-right)) 0 calc(var(--f7-navbar-inner-padding-left) + var(--f7-safe-area-left));transform:translateZ(0);z-index:10}.views>.navbar,.view>.navbar,.page>.navbar,.navbars>.navbar{position:absolute}.navbar-transparent:not(.navbar-large):not(.navbar-transparent-visible):not(.with-searchbar-expandable-enabled) .navbar-bg,.navbar-transparent:not(.navbar-large):not(.navbar-transparent-visible):not(.with-searchbar-expandable-enabled) .title{opacity:0}.navbar-large .navbar-bg{height:calc(100% + var(--f7-navbar-large-title-height));transform:translate3d(0,calc(-1 * var(--f7-navbar-large-collapse-progress) * var(--f7-navbar-large-title-height)),0)}.navbar-large-transparent .navbar-bg,.navbar-large.navbar-transparent .navbar-bg{opacity:var(--f7-navbar-large-collapse-progress)}.ios .router-navbar-transition-to-large .navbar-bg,.ios .router-navbar-transition-from-large .navbar-bg,.navbar-bg.ios-swipeback-navbar-bg-large,.navbar-large-transparent .navbar-bg.ios-swipeback-navbar-bg-large,.navbar-large.navbar-transparent .navbar-bg.ios-swipeback-navbar-bg-large{height:calc(100% + var(--f7-navbar-large-title-height));transform:translate3d(0,calc(-1 * var(--f7-navbar-large-collapse-progress) * var(--f7-navbar-large-title-height)),0)}.ios .navbar:not(.navbar-large) .navbar-bg{--f7-navbar-large-collapse-progress: 1}.navbar-large .title{opacity:var(--f7-navbar-large-collapse-progress)}.navbar-large-collapsed{--f7-navbar-large-collapse-progress: 1}.navbar-large-collapsed .title-large{pointer-events:none}.navbar .title-large{box-sizing:border-box;position:absolute;left:0;right:0;top:100%;display:flex;white-space:nowrap;overflow:hidden;height:var(--f7-navbar-large-title-height);z-index:5}.navbar .title-large-text{text-overflow:ellipsis;white-space:nowrap;color:var(--f7-navbar-large-title-text-color);letter-spacing:var(--f7-navbar-large-title-letter-spacing);font-size:var(--f7-navbar-large-title-font-size);font-weight:var(--f7-navbar-large-title-font-weight);line-height:var(--f7-navbar-large-title-line-height);padding-left:calc(var(--f7-navbar-large-title-padding-left) + var(--f7-safe-area-left));padding-right:calc(var(--f7-navbar-large-title-padding-right) + var(--f7-safe-area-right));padding-top:var(--f7-navbar-large-title-padding-vertical);padding-bottom:var(--f7-navbar-large-title-padding-vertical);box-sizing:border-box;overflow:hidden;width:100%;transform:translate3d(0,calc(-1 * var(--f7-navbar-large-collapse-progress) * var(--f7-navbar-large-title-height)),0);transform-origin:calc(var(--f7-navbar-large-title-padding-left) + var(--f7-safe-area-left)) center}.navbar-no-title-large-transition .title-large-text{transition-duration:0ms}.navbar~*,.navbars~*{--f7-page-navbar-offset: calc(var(--f7-navbar-height) + var(--f7-safe-area-top))}.navbar~* .page-with-navbar-large,.navbar~.page-with-navbar-large,.navbars~* .page-with-navbar-large,.navbars~.page-with-navbar-large,.page-with-navbar-large .navbar~*{--f7-page-navbar-offset: calc(var(--f7-navbar-height) + var(--f7-navbar-large-title-height) + var(--f7-safe-area-top))}.page.no-navbar,.page.no-navbar .navbar~*{--f7-page-navbar-offset: var(--f7-safe-area-top)}.ios{--f7-navbarLeftTextOffset: calc(4px + 12px + var(--f7-navbar-inner-padding-left));--f7-navbarTitleLargeOffset: var(--f7-navbar-large-title-padding-left);--f7-navbar-large-bg-center-top: translateX(0) translateY(calc(-1 * var(--f7-navbar-large-title-height)));--f7-navbar-large-bg-center-bottom: translateX(0) translateY(0);--f7-navbar-large-bg-left-top: translateX(-100%) translateY(calc(-1 * var(--f7-navbar-large-title-height)));--f7-navbar-large-bg-left-bottom: translateX(-100%) translateY(0);--f7-navbar-large-bg-right-top: translateX(100%) translateY(calc(-1 * var(--f7-navbar-large-title-height)));--f7-navbar-large-bg-right-bottom: translateX(100%) translateY(0)}.ios .navbar .title-large{align-items:flex-end}.ios .navbar a.icon-only{width:44px;margin:0;justify-content:center}.ios .navbar .left a+a,.ios .navbar .right a+a{margin-left:16px}.ios .navbar b{font-weight:600}.ios .navbar .left{margin-right:10px}.ios .navbar .right{margin-left:10px}.ios .navbar .right:first-child{right:calc(8px + var(--f7-safe-area-right))}.ios .navbar-inner{justify-content:space-between}.ios .navbar-inner-left-title{justify-content:flex-start}.ios .navbar-inner-left-title .right{margin-left:auto}.ios .navbar-inner-left-title .title{text-align:left;margin-right:10px}.ios .view-master-detail .navbar-previous:not(.navbar-master) .left,.ios .view:not(.view-master-detail) .navbar-previous .left,.ios .navbar-next .left,.ios .view-master-detail .navbar-previous:not(.navbar-master) .title,.ios .view:not(.view-master-detail) .navbar-previous .title,.ios .navbar-next .title,.ios .view-master-detail .navbar-previous:not(.navbar-master) .right,.ios .view:not(.view-master-detail) .navbar-previous .right,.ios .navbar-next .right,.ios .view-master-detail .navbar-previous:not(.navbar-master) .subnavbar,.ios .view:not(.view-master-detail) .navbar-previous .subnavbar,.ios .navbar-next .subnavbar,.ios .view-master-detail .navbar-previous:not(.navbar-master) .fading,.ios .view:not(.view-master-detail) .navbar-previous .fading,.ios .navbar-next .fading{opacity:0}.ios .view-master-detail .navbar-previous:not(.navbar-master),.ios .view:not(.view-master-detail) .navbar-previous{pointer-events:none}.ios .view-master-detail .navbar-previous:not(.navbar-master) .title-large,.ios .view:not(.view-master-detail) .navbar-previous .title-large{opacity:0;transition-duration:0ms}.ios .view-master-detail .navbar-previous:not(.navbar-master) .title-large .title-large-text,.ios .view:not(.view-master-detail) .navbar-previous .title-large .title-large-text{transform:scale(.5);transition-duration:0ms}.ios .view-master-detail .navbar-previous:not(.navbar-master) .subnavbar.sliding,.ios .view:not(.view-master-detail) .navbar-previous .subnavbar.sliding,.ios .view-master-detail .navbar-previous:not(.navbar-master) .sliding .subnavbar,.ios .view:not(.view-master-detail) .navbar-previous .sliding .subnavbar{opacity:1;transform:translate3d(-100%,0,0)}.ios .view:not(.view-master-detail) .navbar-previous .navbar-bg,.ios .view-master-detail .navbar-previous:not(.navbar-master) .navbar-bg{transform:translate(-100%)}.ios .navbar-next{pointer-events:none}.ios .navbar-next .navbar-bg{transform:translate(100%)}.ios .navbar-next .title-large .title-large-text{transition-duration:0ms;transform:translate(100%) translateY(calc(-1 * var(--f7-navbar-large-title-height)))}.ios .navbar-next .subnavbar.sliding,.ios .navbar-next .sliding .subnavbar{opacity:1;transform:translate3d(100%,0,0)}.ios .router-transition .navbar,.ios .router-transition .navbar-bg{transition-duration:var(--f7-page-transition-duration)}.ios .router-transition .navbar-bg{animation-duration:var(--f7-page-transition-duration);animation-fill-mode:forwards}.ios .router-transition .title-large,.ios .router-transition .title-large-text{transition-duration:0ms}.ios .router-transition .navbar-current .left,.ios .router-transition .navbar-current .title,.ios .router-transition .navbar-current .right,.ios .router-transition .navbar-current .subnavbar{animation:ios-navbar-element-fade-out var(--f7-page-transition-duration) forwards}.ios .router-transition .navbar-current .sliding.left,.ios .router-transition .navbar-current .sliding.left .icon+span,.ios .router-transition .navbar-current .sliding.title,.ios .router-transition .navbar-current .sliding.right,.ios .router-transition .navbar-current .sliding .left,.ios .router-transition .navbar-current .sliding .left .icon+span,.ios .router-transition .navbar-current .sliding .title,.ios .router-transition .navbar-current .sliding .right{transition-duration:var(--f7-page-transition-duration);opacity:0!important;animation:none}.ios .router-transition .navbar-current .sliding .subnavbar,.ios .router-transition .navbar-current .sliding.subnavbar{transition-duration:var(--f7-page-transition-duration);animation:none;opacity:1}.ios .router-transition-forward .navbar-next .left,.ios .router-transition-backward .navbar-previous .left,.ios .router-transition-forward .navbar-next .title,.ios .router-transition-backward .navbar-previous .title,.ios .router-transition-forward .navbar-next .right,.ios .router-transition-backward .navbar-previous .right,.ios .router-transition-forward .navbar-next .subnavbar,.ios .router-transition-backward .navbar-previous .subnavbar{animation:ios-navbar-element-fade-in var(--f7-page-transition-duration) forwards}.ios .router-transition-forward .navbar-next .sliding.left,.ios .router-transition-backward .navbar-previous .sliding.left,.ios .router-transition-forward .navbar-next .sliding.left .icon+span,.ios .router-transition-backward .navbar-previous .sliding.left .icon+span,.ios .router-transition-forward .navbar-next .sliding.title,.ios .router-transition-backward .navbar-previous .sliding.title,.ios .router-transition-forward .navbar-next .sliding.right,.ios .router-transition-backward .navbar-previous .sliding.right,.ios .router-transition-forward .navbar-next .sliding .left,.ios .router-transition-backward .navbar-previous .sliding .left,.ios .router-transition-forward .navbar-next .sliding .left .icon+span,.ios .router-transition-backward .navbar-previous .sliding .left .icon+span,.ios .router-transition-forward .navbar-next .sliding .title,.ios .router-transition-backward .navbar-previous .sliding .title,.ios .router-transition-forward .navbar-next .sliding .right,.ios .router-transition-backward .navbar-previous .sliding .right,.ios .router-transition-forward .navbar-next .sliding .subnavbar,.ios .router-transition-backward .navbar-previous .sliding .subnavbar{transition-duration:var(--f7-page-transition-duration);animation:none;transform:translateZ(0)!important;opacity:1!important}.ios .router-transition-forward .navbar-next.navbar-transparent:not(.navbar-large):not(.navbar-transparent-visible) .title,.ios .router-transition-backward .navbar-previous.navbar-transparent:not(.navbar-large):not(.navbar-transparent-visible) .title{animation:none}.ios .router-transition-forward .navbar-next.navbar-transparent:not(.navbar-large):not(.navbar-transparent-visible) .sliding.title,.ios .router-transition-backward .navbar-previous.navbar-transparent:not(.navbar-large):not(.navbar-transparent-visible) .sliding.title,.ios .router-transition-forward .navbar-next.navbar-transparent:not(.navbar-large):not(.navbar-transparent-visible) .sliding .title,.ios .router-transition-backward .navbar-previous.navbar-transparent:not(.navbar-large):not(.navbar-transparent-visible) .sliding .title{opacity:0!important}.ios .router-transition-backward .navbar-previous.with-searchbar-expandable-enabled-no-transition .left,.ios .router-transition-backward .navbar-previous.with-searchbar-expandable-enabled .left,.ios .router-transition-backward .navbar-previous.with-searchbar-expandable-enabled-no-transition .title,.ios .router-transition-backward .navbar-previous.with-searchbar-expandable-enabled .title,.ios .router-transition-backward .navbar-previous.with-searchbar-expandable-enabled-no-transition .right,.ios .router-transition-backward .navbar-previous.with-searchbar-expandable-enabled .right,.ios .router-transition-backward .navbar-previous.with-searchbar-expandable-enabled-no-transition .subnavbar,.ios .router-transition-backward .navbar-previous.with-searchbar-expandable-enabled .subnavbar{animation:none}.ios .router-transition-forward .navbar-current.router-navbar-transition-from-large.router-navbar-transition-to-large .title-large,.ios .router-transition-forward .navbar-current.router-navbar-transition-from-large:not(.router-navbar-transition-to-large) .title-large{overflow:visible}.ios .router-transition-forward .navbar-current.router-navbar-transition-from-large.router-navbar-transition-to-large .title-large .title-large-text,.ios .router-transition-forward .navbar-current.router-navbar-transition-from-large:not(.router-navbar-transition-to-large) .title-large .title-large-text{animation:ios-navbar-large-title-text-slide-up var(--f7-page-transition-duration) forwards,ios-navbar-large-title-text-fade-out var(--f7-page-transition-duration) forwards}.ios .router-transition-forward .navbar-next.router-navbar-transition-from-large .left .back span{animation:ios-navbar-back-text-next-to-current var(--f7-page-transition-duration) forwards;transition:none;transform-origin:left center}.ios .router-transition-forward .navbar-next.router-navbar-transition-from-large.router-navbar-transition-to-large .title-large{overflow:visible}.ios .router-transition-forward .navbar-next.router-navbar-transition-from-large.router-navbar-transition-to-large .title-large .title-large-text{animation:ios-navbar-large-title-text-slide-left var(--f7-page-transition-duration) forwards}.ios .router-transition-forward .navbar-next.router-navbar-transition-to-large:not(.router-navbar-transition-from-large) .title-large .title-large-text{animation:ios-navbar-large-title-text-slide-left var(--f7-page-transition-duration) forwards}.ios .router-transition-forward .navbar-next.navbar-large:not(.navbar-large-collapsed) .title,.ios .router-transition-forward .navbar-current.navbar-large:not(.navbar-large-collapsed) .title{animation:none;opacity:0!important;transition-duration:0}.ios .router-transition-backward .navbar-current.router-navbar-transition-to-large .left .back span{animation:ios-navbar-back-text-current-to-previous var(--f7-page-transition-duration) forwards;transition:none;transform-origin:left center}.ios .router-transition-backward .navbar-current.router-navbar-transition-from-large.router-navbar-transition-to-large .title-large{overflow:visible}.ios .router-transition-backward .navbar-current.router-navbar-transition-from-large.router-navbar-transition-to-large .title-large .title-large-text{animation:ios-navbar-large-title-text-slide-right var(--f7-page-transition-duration) forwards}.ios .router-transition-backward .navbar-current.router-navbar-transition-from-large:not(.router-navbar-transition-to-large) .title-large .title-large-text{animation:ios-navbar-large-title-text-slide-right var(--f7-page-transition-duration) forwards}.ios .router-transition-backward .navbar-current.router-navbar-transition-to-large:not(.router-navbar-transition-from-large) .title-large{opacity:0}.ios .router-transition-backward .navbar-previous.router-navbar-transition-from-large.router-navbar-transition-to-large .title-large,.ios .router-transition-backward .navbar-previous.router-navbar-transition-to-large:not(.router-navbar-transition-from-large) .title-large{overflow:visible;opacity:1}.ios .router-transition-backward .navbar-previous.router-navbar-transition-from-large.router-navbar-transition-to-large .title-large .title-large-text,.ios .router-transition-backward .navbar-previous.router-navbar-transition-to-large:not(.router-navbar-transition-from-large) .title-large .title-large-text{animation:ios-navbar-large-title-text-slide-down var(--f7-page-transition-duration) forwards,ios-navbar-large-title-text-fade-in var(--f7-page-transition-duration) forwards}.ios .router-transition-backward .navbar-current.navbar-large:not(.navbar-large-collapsed) .title,.ios .router-transition-backward .navbar-previous.navbar-large:not(.navbar-large-collapsed) .title{animation:none;opacity:0!important;transition-duration:0}.ios .router-transition-forward .navbar-current .navbar-bg,.ios .router-transition-forward .navbar-current.router-navbar-transition-from-large.router-navbar-transition-to-large .navbar-bg{animation-name:ios-navbar-bg-from-cb-to-lb}.ios .router-transition-forward .navbar-current.router-navbar-transition-from-large:not(.router-navbar-transition-to-large) .navbar-bg{animation-name:ios-navbar-bg-from-cb-to-lt}.ios .router-transition-forward .navbar-current:not(.router-navbar-transition-from-large).router-navbar-transition-to-large .navbar-bg{animation-name:ios-navbar-bg-from-ct-to-lb}.ios .router-transition-forward .navbar-current.navbar-large-collapsed:not(.router-navbar-transition-to-large) .navbar-bg{animation-name:ios-navbar-bg-from-ct-to-lt}.ios .router-transition-forward .navbar-next .navbar-bg,.ios .router-transition-forward .navbar-next.router-navbar-transition-from-large.router-navbar-transition-to-large .navbar-bg{animation-name:ios-navbar-bg-from-rb-to-cb}.ios .router-transition-forward .navbar-next.router-navbar-transition-from-large:not(.router-navbar-transition-to-large) .navbar-bg{animation-name:ios-navbar-bg-from-rb-to-ct}.ios .router-transition-forward .navbar-next:not(.router-navbar-transition-from-large).router-navbar-transition-to-large .navbar-bg{animation-name:ios-navbar-bg-from-rt-to-cb}.ios .router-transition-backward .navbar-current .navbar-bg{animation-name:ios-navbar-bg-from-cb-to-rb}.ios .router-transition-backward .navbar-current:not(.router-navbar-transition-from-large).router-navbar-transition-to-large .navbar-bg{animation-name:ios-navbar-bg-from-ct-to-rb}.ios .router-transition-backward .navbar-current.router-navbar-transition-from-large:not(.router-navbar-transition-to-large) .navbar-bg{animation-name:ios-navbar-bg-from-cb-to-rt}.ios .router-transition-backward .navbar-current.navbar-large-collapsed .navbar-bg{animation-name:ios-navbar-bg-from-ct-to-rt}.ios .router-transition-backward .navbar-current.navbar-large-collapsed.router-navbar-transition-to-large .navbar-bg{animation-name:ios-navbar-bg-from-ct-to-rb}.ios .router-transition-backward .navbar-previous .navbar-bg{animation-name:ios-navbar-bg-from-lb-to-cb}.ios .router-transition-backward .navbar-previous:not(.router-navbar-transition-from-large).router-navbar-transition-to-large .navbar-bg{animation-name:ios-navbar-bg-from-lt-to-cb}.ios .router-transition-backward .navbar-previous.router-navbar-transition-from-large:not(.router-navbar-transition-to-large) .navbar-bg{animation-name:ios-navbar-bg-from-lb-to-ct}.ios .router-transition-backward .navbar-previous.navbar-large-collapsed .navbar-bg{animation-name:ios-navbar-bg-from-lt-to-ct}.view-master-detail .navbars{z-index:auto}.view-master-detail .page-master{z-index:525}.view-master-detail .navbar-master .navbar-inner,.view-master-detail .navbar-master .navbar-bg{z-index:550}.view-master-detail .navbar-master-detail .navbar-inner,.view-master-detail .navbar-master-detail .navbar-bg{z-index:500}.view-master-detail .navbar-master.navbar-previous{pointer-events:auto}.view-master-detail .navbar-master.navbar-previous .left,.view-master-detail .navbar-master.navbar-previous:not(.navbar-large) .title,.view-master-detail .navbar-master.navbar-previous .right,.view-master-detail .navbar-master.navbar-previous .subnavbar{opacity:1}.view-master-detail.router-transition .navbar-master .left,.view-master-detail.router-transition .navbar-master .left .icon+span,.view-master-detail.router-transition .navbar-master:not(.navbar-large) .title,.view-master-detail.router-transition .navbar-master .right,.view-master-detail.router-transition .navbar-master .subnavbar,.view-master-detail.router-transition .navbar-master .fading{opacity:1!important;transition-duration:0ms;transform:none!important;animation:none!important}.view-master-detail.router-transition .navbar-master .navbar-bg{transition-duration:0ms;animation:none!important}.view-master-detail.router-transition .navbar-master.navbar-large .title{opacity:calc(-1 + 2 * var(--f7-navbar-large-collapse-progress))!important;transition-duration:0ms;transform:none!important;animation:none!important}.view-master-detail.router-transition .navbar-master.navbar-large .title-large,.view-master-detail.router-transition .navbar-master.navbar-large .title-large-text{transition-duration:0ms;animation:none!important}.view-master-detail.router-transition .navbar-master.navbar-large-transparent .navbar-bg,.view-master-detail.router-transition .navbar-master.navbar-large.navbar-transparent .navbar-bg{height:100%!important;opacity:var(--f7-navbar-large-collapse-progress)!important}@keyframes ios-navbar-element-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes ios-navbar-element-fade-out{0%{opacity:1}75%{opacity:0}to{opacity:0}}@keyframes ios-navbar-large-title-text-slide-up{0%{transform:translate(0) translateY(0) scale(1)}to{transform:translate(calc(var(--f7-navbarLeftTextOffset) - var(--f7-navbarTitleLargeOffset))) translateY(calc(-1 * var(--f7-navbar-large-title-height) + var(--f7-navbar-large-title-padding-vertical))) scale(.5)}}@keyframes ios-navbar-large-title-text-slide-down{0%{transform:translate(calc(var(--f7-navbarLeftTextOffset) - var(--f7-navbarTitleLargeOffset))) translateY(calc(-1 * var(--f7-navbar-large-title-height) + var(--f7-navbar-large-title-padding-vertical) / 2)) scale(.5)}to{transform:translate(0) translateY(0) scale(1)}}@keyframes ios-navbar-large-title-text-slide-left{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes ios-navbar-large-title-text-slide-right{0%{transform:translate(0)}to{transform:translate(100%)}}@keyframes ios-navbar-large-title-text-fade-out{0%{opacity:1}80%{opacity:0}to{opacity:0}}@keyframes ios-navbar-large-title-text-fade-in{0%{opacity:0}20%{opacity:0}to{opacity:1}}@keyframes ios-navbar-back-text-current-to-previous{0%{opacity:1;transform:translateY(0) translate(0) scale(1)}80%{opacity:0}to{opacity:0;transform:translate(calc(var(--f7-navbarTitleLargeOffset) - var(--f7-navbarLeftTextOffset))) translateY(calc(1 * var(--f7-navbar-large-title-height) - var(--f7-navbar-large-title-padding-vertical) / 2)) scale(2)}}@keyframes ios-navbar-back-text-next-to-current{0%{opacity:0;transform:translate(calc(var(--f7-navbarTitleLargeOffset) - var(--f7-navbarLeftTextOffset))) translateY(calc(1 * var(--f7-navbar-large-title-height) + var(--f7-navbar-large-title-padding-vertical) / 2)) scale(2)}20%{opacity:0}to{opacity:1;transform:translate(0) translateY(0) scale(1)}}@keyframes ios-navbar-bg-from-cb-to-lb{0%{transform:var(--f7-navbar-large-bg-center-bottom)}to{transform:var(--f7-navbar-large-bg-left-bottom)}}@keyframes ios-navbar-bg-from-cb-to-lt{0%{transform:var(--f7-navbar-large-bg-center-bottom)}to{transform:var(--f7-navbar-large-bg-left-top)}}@keyframes ios-navbar-bg-from-ct-to-lb{0%{transform:var(--f7-navbar-large-bg-center-top)}to{transform:var(--f7-navbar-large-bg-left-bottom)}}@keyframes ios-navbar-bg-from-ct-to-lt{0%{transform:var(--f7-navbar-large-bg-center-top)}to{transform:var(--f7-navbar-large-bg-left-top)}}@keyframes ios-navbar-bg-from-rb-to-cb{0%{transform:var(--f7-navbar-large-bg-right-bottom)}to{transform:var(--f7-navbar-large-bg-center-bottom)}}@keyframes ios-navbar-bg-from-rb-to-ct{0%{transform:var(--f7-navbar-large-bg-right-bottom)}to{transform:var(--f7-navbar-large-bg-center-top)}}@keyframes ios-navbar-bg-from-rt-to-cb{0%{transform:var(--f7-navbar-large-bg-right-top)}to{transform:var(--f7-navbar-large-bg-center-bottom)}}@keyframes ios-navbar-bg-from-cb-to-rb{0%{transform:var(--f7-navbar-large-bg-center-bottom)}to{transform:var(--f7-navbar-large-bg-right-bottom)}}@keyframes ios-navbar-bg-from-ct-to-rb{0%{transform:var(--f7-navbar-large-bg-center-top)}to{transform:var(--f7-navbar-large-bg-right-bottom)}}@keyframes ios-navbar-bg-from-cb-to-rt{0%{transform:var(--f7-navbar-large-bg-center-bottom)}to{transform:var(--f7-navbar-large-bg-right-top)}}@keyframes ios-navbar-bg-from-ct-to-rt{0%{transform:var(--f7-navbar-large-bg-center-top)}to{transform:var(--f7-navbar-large-bg-right-top)}}@keyframes ios-navbar-bg-from-lb-to-cb{0%{transform:var(--f7-navbar-large-bg-left-bottom)}to{transform:var(--f7-navbar-large-bg-center-bottom)}}@keyframes ios-navbar-bg-from-lt-to-cb{0%{transform:var(--f7-navbar-large-bg-left-top)}to{transform:var(--f7-navbar-large-bg-center-bottom)}}@keyframes ios-navbar-bg-from-lb-to-ct{0%{transform:var(--f7-navbar-large-bg-left-bottom)}to{transform:var(--f7-navbar-large-bg-center-top)}}@keyframes ios-navbar-bg-from-lt-to-ct{0%{transform:var(--f7-navbar-large-bg-left-top)}to{transform:var(--f7-navbar-large-bg-center-top)}}.md .navbar .title-large{align-items:center}.md .navbar .left{margin-left:4px;margin-right:4px}.md .navbar a.link{padding:0 12px;min-width:48px}.md .navbar a.icon-only{min-width:0;flex-shrink:0;width:48px}.md .navbar .right{margin-left:auto;margin-right:4px}.md .navbar .right:first-child{right:var(--f7-safe-area-right)}.md .navbar-inner{justify-content:flex-start;overflow:hidden}.md .navbar-large:not(.navbar-large-collapsed) .navbar-inner{overflow:visible}.md .page.page-with-subnavbar .navbar-inner{overflow:visible}.md .navbar-inner:not(.navbar-inner-centered-title) .title:first-child{margin-left:16px}.md .navbar-inner-centered-title{justify-content:space-between}.md .navbar-inner-centered-title .right{margin-left:0}.md .navbar-inner-centered-title .title{text-align:center}:root{--f7-tabbar-link-active-bg-color: transparent;--f7-tabbar-label-text-transform: none;--f7-toolbar-hide-show-transition-duration: .4s}.ios{--f7-toolbar-height: 44px;--f7-toolbar-font-size: 17px;--f7-toolbar-inner-padding-left: 8px;--f7-toolbar-inner-padding-right: 8px;--f7-toolbar-link-font-weight: 400;--f7-tabbar-icons-height: 50px;--f7-tabbar-icons-tablet-height: 50px;--f7-tabbar-icon-size: 28px;--f7-tabbar-link-text-transform: none;--f7-tabbar-link-font-weight: 400;--f7-tabbar-link-letter-spacing: 0;--f7-tabbar-label-font-size: 12px;--f7-tabbar-label-tablet-font-size: 14px;--f7-tabbar-label-font-weight: 500;--f7-tabbar-label-letter-spacing: .01;--f7-tabbar-link-inactive-color: rgba(0, 0, 0, .4)}.ios .dark,.ios.dark{--f7-tabbar-link-inactive-color: rgba(255, 255, 255, .54)}.md{--f7-toolbar-height: 56px;--f7-toolbar-font-size: 14px;--f7-toolbar-inner-padding-left: 0px;--f7-toolbar-inner-padding-right: 0px;--f7-tabbar-icons-height: 80px;--f7-tabbar-icons-tablet-height: 80px;--f7-tabbar-icon-size: 24px;--f7-tabbar-link-text-transform: none;--f7-tabbar-link-font-weight: 500;--f7-tabbar-link-letter-spacing: 0;--f7-toolbar-link-font-weight: 500;--f7-tabbar-label-font-size: 12px;--f7-tabbar-label-tablet-font-size: 12px;--f7-tabbar-label-font-weight: 500;--f7-tabbar-label-letter-spacing: 0}.md,.md .dark,.md [class*=color-]{--f7-tabbar-link-active-color: var(--f7-md-on-secondary-container);--f7-tabbar-link-active-border-color: var(--f7-md-primary);--f7-tabbar-link-inactive-color: var(--f7-md-on-surface-variant);--f7-tabbar-link-active-icon-bg-color: var(--f7-md-secondary-container)}.toolbar{width:100%;position:relative;margin:0;transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:600;box-sizing:border-box;left:0;height:var(--f7-toolbar-height);background-color:var(--f7-toolbar-bg-color, var(--f7-bars-bg-color));color:var(--f7-toolbar-text-color, var(--f7-bars-text-color));font-size:var(--f7-toolbar-font-size)}@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))){.ios-translucent-bars .toolbar{background-color:rgba(var(--f7-toolbar-bg-color-rgb, var(--f7-bars-bg-color-rgb)),var(--f7-bars-translucent-opacity));-webkit-backdrop-filter:saturate(180%) blur(var(--f7-bars-translucent-blur));backdrop-filter:saturate(180%) blur(var(--f7-bars-translucent-blur))}}.toolbar b{font-weight:600}.toolbar a{color:var(--f7-toolbar-link-color, var(--f7-bars-link-color, var(--f7-theme-color)));box-sizing:border-box;flex-shrink:1;position:relative;white-space:nowrap;text-overflow:ellipsis}.toolbar .link{display:flex;line-height:var(--f7-toolbar-link-line-height, var(--f7-toolbar-height));height:var(--f7-toolbar-link-height, var(--f7-toolbar-height));font-weight:var(--f7-toolbar-link-font-weight)}.toolbar i.icon{display:block}.toolbar:after,.toolbar:before{-webkit-backface-visibility:hidden;backface-visibility:hidden}.views>.toolbar,.view>.toolbar,.page>.toolbar{position:absolute}.toolbar-top,.ios .toolbar-top-ios,.md .toolbar-top-md{top:0}.toolbar-top .tab-link-highlight,.ios .toolbar-top-ios .tab-link-highlight,.md .toolbar-top-md .tab-link-highlight{bottom:0}.toolbar-top.no-outline:after,.ios .toolbar-top-ios.no-outline:after,.md .toolbar-top-md.no-outline:after{display:none!important}.toolbar-top.toolbar-hidden:before,.ios .toolbar-top-ios.toolbar-hidden:before,.md .toolbar-top-md.toolbar-hidden:before{display:none!important}.toolbar-top:after,.ios .toolbar-top-ios:after,.md .toolbar-top-md:after,.toolbar-top:before,.ios .toolbar-top-ios:before,.md .toolbar-top-md:before{-webkit-backface-visibility:hidden;backface-visibility:hidden}.toolbar-top:after,.ios .toolbar-top-ios:after,.md .toolbar-top-md:after{content:"";position:absolute;background-color:var(--f7-toolbar-border-color, var(--f7-bars-border-color));display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.toolbar-bottom,.ios .toolbar-bottom-ios,.md .toolbar-bottom-md{bottom:0;height:calc(var(--f7-toolbar-height) + var(--f7-safe-area-bottom))}.toolbar-bottom .tab-link-highlight,.ios .toolbar-bottom-ios .tab-link-highlight,.md .toolbar-bottom-md .tab-link-highlight{top:0}.toolbar-bottom .toolbar-inner,.ios .toolbar-bottom-ios .toolbar-inner,.md .toolbar-bottom-md .toolbar-inner{height:auto;top:0;bottom:var(--f7-safe-area-bottom)}.toolbar-bottom.no-outline:before,.ios .toolbar-bottom-ios.no-outline:before,.md .toolbar-bottom-md.no-outline:before{display:none!important}.toolbar-bottom.toolbar-hidden:after,.ios .toolbar-bottom-ios.toolbar-hidden:after,.md .toolbar-bottom-md.toolbar-hidden:after{display:none!important}.toolbar-bottom:before,.ios .toolbar-bottom-ios:before,.md .toolbar-bottom-md:before{content:"";position:absolute;background-color:var(--f7-toolbar-border-color, var(--f7-bars-border-color));display:block;z-index:15;top:0;right:auto;bottom:auto;left:0;height:1px;width:100%;transform-origin:50% 0%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.toolbar-inner{position:absolute;left:0;top:0;width:100%;height:100%;display:flex;justify-content:space-between;box-sizing:border-box;align-items:center;align-content:center;overflow:hidden;padding:0 calc(var(--f7-toolbar-inner-padding-right) + var(--f7-safe-area-right)) 0 calc(var(--f7-toolbar-inner-padding-left) + var(--f7-safe-area-left))}.views>.tabbar,.views>.tabbar-icons{z-index:5001}.tabbar a,.tabbar-icons a{color:var(--f7-tabbar-link-inactive-color)}.tabbar .link,.tabbar-icons .link{line-height:1.4}.tabbar .tab-link,.tabbar-icons .tab-link,.tabbar .link,.tabbar-icons .link{height:100%;width:100%;box-sizing:border-box;display:flex;justify-content:center;align-items:center;flex-direction:column;text-transform:var(--f7-tabbar-link-text-transform);font-weight:var(--f7-tabbar-link-font-weight);letter-spacing:var(--f7-tabbar-link-letter-spacing);overflow:hidden}.tabbar .tab-link-active,.tabbar-icons .tab-link-active{color:var(--f7-tabbar-link-active-color, var(--f7-theme-color));background-color:var(--f7-tabbar-link-active-bg-color, transparent)}.tabbar i.icon,.tabbar-icons i.icon{font-size:var(--f7-tabbar-icon-size);height:var(--f7-tabbar-icon-size);line-height:var(--f7-tabbar-icon-size)}.md .tabbar.tabbar-icons .tab-link-highlight,.md .tabbar-icons.tabbar-icons .tab-link-highlight{display:none}.md .tabbar:not(.tabbar-icons) .tab-link-highlight,.md .tabbar-icons:not(.tabbar-icons) .tab-link-highlight{position:absolute;height:2px;background:var(--f7-tabbar-link-active-border-color, var(--f7-theme-color));transition-duration:.3s;left:0}.tabbar-icons{--f7-toolbar-height: var(--f7-tabbar-icons-height)}.tabbar-icons .tab-link,.tabbar-icons .link{height:100%;justify-content:center;align-items:center}.tabbar-icons .tabbar-label{display:block;line-height:1;margin:0;position:relative;text-overflow:ellipsis;white-space:nowrap;font-size:var(--f7-tabbar-label-font-size);text-transform:var(--f7-tabbar-label-text-transform);font-weight:var(--f7-tabbar-label-font-weight);letter-spacing:var(--f7-tabbar-label-letter-spacing)}@media (min-width: 768px) and (min-height: 600px){:root{--f7-tabbar-icons-height: var(--f7-tabbar-icons-tablet-height);--f7-tabbar-label-font-size: var(--f7-tabbar-label-tablet-font-size)}}.tabbar-scrollable .toolbar-inner{justify-content:flex-start;overflow:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;scrollbar-color:transparent}.tabbar-scrollable .toolbar-inner::-webkit-scrollbar{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:0px;display:none;opacity:0;background:transparent}.tabbar-scrollable .toolbar-inner::-webkit-scrollbar-track{box-shadow:none;background:transparent}.tabbar-scrollable .toolbar-inner::-webkit-scrollbar-thumb{background-color:transparent;outline:none;border-radius:9999px;position:relative}.tabbar-scrollable .tab-link,.tabbar-scrollable .link{width:auto;flex-shrink:0}.toolbar-transitioning,.navbar-transitioning+.toolbar,.navbar-transitioning~* .toolbar{transition-duration:var(--f7-toolbar-hide-show-transition-duration)}.toolbar-bottom~*,.ios .toolbar-bottom-ios~*,.md .toolbar-bottom-md~*{--f7-page-toolbar-bottom-offset: var(--f7-toolbar-height)}.toolbar-bottom.tabbar-icons~*,.ios .toolbar-bottom-ios.tabbar-icons~*,.md .toolbar-bottom-md.tabbar-icons~*{--f7-page-toolbar-bottom-offset: var(--f7-tabbar-icons-height)}.toolbar-bottom.toolbar-hidden,.ios .toolbar-bottom-ios.toolbar-hidden,.md .toolbar-bottom-md.toolbar-hidden{transform:translate3d(0,100%,0)}.toolbar-top~*,.ios .toolbar-top-ios~*,.md .toolbar-top-md~*{--f7-page-toolbar-top-offset: var(--f7-toolbar-height)}.toolbar-top.tabbar-icons~*,.ios .toolbar-top-ios.tabbar-icons~*,.md .toolbar-top-md.tabbar-icons~*{--f7-page-toolbar-top-offset: var(--f7-tabbar-icons-height)}.toolbar-top.toolbar-hidden,.ios .toolbar-top-ios.toolbar-hidden,.md .toolbar-top-md.toolbar-hidden{transform:translate3d(0,-100%,0)}.navbar~.toolbar-top,.navbars~.toolbar-top,.ios .navbar~.toolbar-top-ios,.ios .navbars~.toolbar-top-ios,.md .navbar~.toolbar-top-md,.navbar~* .toolbar-top,.navbars~* .toolbar-top,.ios .navbar~* .toolbar-top-ios,.ios .navbars~* .toolbar-top-ios,.md .navbar~* .toolbar-top-md,.navbar~.page:not(.no-navbar) .toolbar-top,.navbars~.page:not(.no-navbar) .toolbar-top,.ios .navbar~.page:not(.no-navbar) .toolbar-top-ios,.ios .navbars~.page:not(.no-navbar) .toolbar-top-ios,.md .navbar~.page:not(.no-navbar) .toolbar-top-md{top:calc(var(--f7-navbar-height) + var(--f7-safe-area-top))}.navbar~.toolbar-top.toolbar-hidden,.navbars~.toolbar-top.toolbar-hidden,.ios .navbar~.toolbar-top-ios.toolbar-hidden,.ios .navbars~.toolbar-top-ios.toolbar-hidden,.md .navbar~.toolbar-top-md.toolbar-hidden,.navbar~* .toolbar-top.toolbar-hidden,.navbars~* .toolbar-top.toolbar-hidden,.ios .navbar~* .toolbar-top-ios.toolbar-hidden,.ios .navbars~* .toolbar-top-ios.toolbar-hidden,.md .navbar~* .toolbar-top-md.toolbar-hidden,.navbar~.page:not(.no-navbar) .toolbar-top.toolbar-hidden,.navbars~.page:not(.no-navbar) .toolbar-top.toolbar-hidden,.ios .navbar~.page:not(.no-navbar) .toolbar-top-ios.toolbar-hidden,.ios .navbars~.page:not(.no-navbar) .toolbar-top-ios.toolbar-hidden,.md .navbar~.page:not(.no-navbar) .toolbar-top-md.toolbar-hidden{transform:translate3d(0,calc(-1 * (var(--f7-navbar-height) + var(--f7-toolbar-height) + var(--f7-safe-area-top))),0)}.navbar~.toolbar-top.toolbar-hidden.tabbar-icons,.navbars~.toolbar-top.toolbar-hidden.tabbar-icons,.ios .navbar~.toolbar-top-ios.toolbar-hidden.tabbar-icons,.ios .navbars~.toolbar-top-ios.toolbar-hidden.tabbar-icons,.md .navbar~.toolbar-top-md.toolbar-hidden.tabbar-icons,.navbar~* .toolbar-top.toolbar-hidden.tabbar-icons,.navbars~* .toolbar-top.toolbar-hidden.tabbar-icons,.ios .navbar~* .toolbar-top-ios.toolbar-hidden.tabbar-icons,.ios .navbars~* .toolbar-top-ios.toolbar-hidden.tabbar-icons,.md .navbar~* .toolbar-top-md.toolbar-hidden.tabbar-icons,.navbar~.page:not(.no-navbar) .toolbar-top.toolbar-hidden.tabbar-icons,.navbars~.page:not(.no-navbar) .toolbar-top.toolbar-hidden.tabbar-icons,.ios .navbar~.page:not(.no-navbar) .toolbar-top-ios.toolbar-hidden.tabbar-icons,.ios .navbars~.page:not(.no-navbar) .toolbar-top-ios.toolbar-hidden.tabbar-icons,.md .navbar~.page:not(.no-navbar) .toolbar-top-md.toolbar-hidden.tabbar-icons{transform:translate3d(0,calc(-1 * (var(--f7-navbar-height) + var(--f7-tabbar-icons-height) + var(--f7-safe-area-top))),0)}.navbar-hidden+.toolbar-top:not(.toolbar-hidden),.ios .navbar-hidden+.toolbar-top-ios:not(.toolbar-hidden),.md .navbar-hidden+.toolbar-top-md:not(.toolbar-hidden),.navbar-hidden~* .toolbar-top:not(.toolbar-hidden),.ios .navbar-hidden~* .toolbar-top-ios:not(.toolbar-hidden),.md .navbar-hidden~* .toolbar-top-md:not(.toolbar-hidden){transform:translate3d(0,calc(0px - var(--f7-navbar-height)),0)}.navbar-large-hidden+.toolbar-top:not(.toolbar-hidden),.ios .navbar-large-hidden+.toolbar-top-ios:not(.toolbar-hidden),.md .navbar-large-hidden+.toolbar-top-md:not(.toolbar-hidden),.navbar-large-hidden~* .toolbar-top:not(.toolbar-hidden),.ios .navbar-large-hidden~* .toolbar-top-ios:not(.toolbar-hidden),.md .navbar-large-hidden~* .toolbar-top-md:not(.toolbar-hidden){transform:translate3d(0,calc(0px - var(--f7-navbar-height) - var(--f7-navbar-large-title-height)),0)}.ios .toolbar a.icon-only{min-height:var(--f7-toolbar-height);display:flex;justify-content:center;align-items:center;margin:0;min-width:44px}.ios .tabbar-icons .tab-link,.ios .tabbar-icons .link{padding-top:4px;padding-bottom:4px}.ios .tabbar-icons .tab-link i+span,.ios .tabbar-icons .link i+span{margin:4px 0 0}@media (min-width: 768px) and (min-height: 600px){.ios .tabbar .tab-link,.ios .tabbar-icons .tab-link,.ios .tabbar .link,.ios .tabbar-icons .link{justify-content:center;flex-direction:row}.ios .tabbar .tab-link i+span,.ios .tabbar-icons .tab-link i+span,.ios .tabbar .link i+span,.ios .tabbar-icons .link i+span{margin-left:5px}}.ios .tabbar-scrollable .toolbar-inner{justify-content:flex-start}.ios .tabbar-scrollable .tab-link,.ios .tabbar-scrollable .link{padding:0 8px}.md .toolbar .link{justify-content:center;padding:0 12px;min-width:48px}.md .toolbar a.icon-only{min-width:0;flex-shrink:0}.md .tabbar .tab-link,.md .tabbar-icons .tab-link,.md .tabbar .link,.md .tabbar-icons .link{padding-left:0;padding-right:0}.md .tabbar a.icon-only,.md .tabbar-icons a.icon-only{flex-shrink:initial}.md .tabbar .tab-link,.md .tabbar-icons .tab-link{transition-duration:.3s;overflow:hidden;position:relative}.md .tabbar i.icon,.md .tabbar-icons i.icon{position:relative}.md .tabbar i.icon:before,.md .tabbar-icons i.icon:before{content:"";width:64px;height:32px;border-radius:32px;position:absolute;left:50%;top:50%;transform:translate(-50%) translateY(-50%) scaleX(.5);background:var(--f7-tabbar-link-active-icon-bg-color);opacity:0;transition-duration:.2s;z-index:-1}.md .tabbar i.icon+.tabbar-label,.md .tabbar-icons i.icon+.tabbar-label{margin-top:8px}.md .tabbar .tab-link-active i.icon:before,.md .tabbar-icons .tab-link-active i.icon:before{opacity:1;transform:translate(-50%) translateY(-50%) scaleX(1)}.md .tabbar-icons .tab-link,.md .tabbar-icons .link{padding-top:8px;padding-bottom:8px}.md .tabbar-label{max-width:100%;overflow:hidden;line-height:1.2}.md .tabbar-scrollable .toolbar-inner{overflow:auto}.md .tabbar-scrollable .tab-link,.md .tabbar-scrollable .link{padding:0 12px}:root{--f7-subnavbar-title-line-height: 1.2}.ios{--f7-subnavbar-height: 44px;--f7-subnavbar-inner-padding-left: 8px;--f7-subnavbar-inner-padding-right: 8px;--f7-subnavbar-title-font-size: 34px;--f7-subnavbar-title-font-weight: 700;--f7-subnavbar-title-letter-spacing: -.03em;--f7-subnavbar-title-margin-left: 8px}.md{--f7-subnavbar-height: 64px;--f7-subnavbar-inner-padding-left: 16px;--f7-subnavbar-inner-padding-right: 16px;--f7-subnavbar-title-font-size: 22px;--f7-subnavbar-title-font-weight: 400;--f7-subnavbar-title-letter-spacing: 0;--f7-subnavbar-title-margin-left: 0px}.subnavbar{width:100%;position:absolute;left:0;top:0;z-index:600;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;background-color:var(--f7-subnavbar-bg-color, var(--f7-bars-bg-color));color:var(--f7-subnavbar-text-color, var(--f7-bars-text-color))}@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))){.ios-translucent-bars .subnavbar{background-color:rgba(var(--f7-subnavbar-bg-color-rgb, var(--f7-bars-bg-color-rgb)),var(--f7-bars-translucent-opacity));-webkit-backdrop-filter:saturate(180%) blur(var(--f7-bars-translucent-blur));backdrop-filter:saturate(180%) blur(var(--f7-bars-translucent-blur))}}.subnavbar .subnavbar-title{position:relative;overflow:hidden;text-overflow:ellpsis;white-space:nowrap;font-size:var(--f7-subnavbar-title-font-size);font-weight:var(--f7-subnavbar-title-font-weight);text-align:left;display:inline-block;line-height:var(--f7-subnavbar-title-line-height);letter-spacing:var(--f7-subnavbar-title-letter-spacing);margin-left:var(--f7-subnavbar-title-margin-left)}.subnavbar .left,.subnavbar .right{flex-shrink:0;display:flex;justify-content:flex-start;align-items:center}.subnavbar .right:first-child{position:absolute;height:100%}.subnavbar a{color:var(--f7-subnavbar-link-color, var(--f7-bars-link-color, var(--f7-theme-color)))}.subnavbar a.link{line-height:var(--f7-subnavbar-link-line-height, var(--f7-subnavbar-height));height:var(--f7-subnavbar-link-height, var(--f7-subnavbar-height))}.subnavbar a.icon-only{min-width:var(--f7-subnavbar-height)}.subnavbar.no-outline:after{display:none!important}.subnavbar.navbar-hidden:before{display:none!important}.subnavbar:after,.subnavbar:before{-webkit-backface-visibility:hidden;backface-visibility:hidden}.subnavbar:after{content:"";position:absolute;background-color:var(--f7-subnavbar-border-color, var(--f7-bars-border-color));display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.subnavbar-inner{width:100%;height:100%;display:flex;align-items:center;box-sizing:border-box;justify-content:space-between;overflow:hidden;padding:0 calc(var(--f7-subnavbar-inner-padding-left) + var(--f7-safe-area-right)) 0 calc(var(--f7-subnavbar-inner-padding-right) + var(--f7-safe-area-left))}.navbar .subnavbar{top:100%}.views>.subnavbar,.view>.subnavbar,.page>.subnavbar{position:absolute}.navbar~* .subnavbar,.navbars~* .subnavbar,.page-with-subnavbar .navbar~.subnavbar,.page-with-subnavbar .navbar~* .subnavbar,.navbar~.page-with-subnavbar:not(.no-navbar) .subnavbar,.navbar~.subnavbar,.navbars~.page-with-subnavbar:not(.no-navbar) .subnavbar,.navbars~.subnavbar{top:calc(var(--f7-navbar-height) + var(--f7-safe-area-top))}.navbar~.page-with-navbar-large:not(.no-navbar) .subnavbar,.navbars~.page-with-navbar-large:not(.no-navbar) .subnavbar,.page-with-subnavbar.page-with-navbar-large .navbar~.subnavbar,.page-with-subnavbar.page-with-navbar-large .navbar~* .subnavbar,.navbar .title-large~.subnavbar{top:calc(var(--f7-navbar-height) + var(--f7-navbar-large-title-height) + var(--f7-safe-area-top));transform:translate3d(0,calc(-1 * var(--f7-navbar-large-collapse-progress) * var(--f7-navbar-large-title-height)),0)}.page-with-subnavbar,.subnavbar~*{--f7-page-subnavbar-offset: var(--f7-subnavbar-height)}.ios .subnavbar{height:calc(var(--f7-subnavbar-height) + 1px);margin-top:-1px;padding-top:1px}.ios .subnavbar .title{align-self:flex-start;flex-shrink:10}.ios .subnavbar .left a+a,.ios .subnavbar .right a+a{margin-left:16px}.ios .subnavbar .left{margin-right:10px}.ios .subnavbar .right{margin-left:10px}.ios .subnavbar .right:first-child{right:8px}.ios .subnavbar a.link{justify-content:flex-start}.ios .subnavbar a.icon-only{justify-content:center;margin:0}.md .subnavbar{height:var(--f7-subnavbar-height)}.md .subnavbar .right{margin-left:auto}.md .subnavbar .right:first-child{right:16px}.md .subnavbar a.link{justify-content:center;padding:0 12px}.md .subnavbar a.icon-only{flex-shrink:0;padding:0 12px}.md .subnavbar-inner>a.link:first-child{margin-left:calc(-1 * var(--f7-subnavbar-inner-padding-left))}.md .subnavbar-inner>a.link:last-child{margin-right:calc(-1 * var(--f7-subnavbar-inner-padding-right))}:root{--f7-block-padding-horizontal: 16px;--f7-block-padding-vertical: 16px;--f7-block-font-size: inherit;--f7-block-header-margin: 10px;--f7-block-footer-margin: 10px;--f7-block-header-font-size: 14px;--f7-block-footer-font-size: 14px;--f7-block-title-text-transform: none;--f7-block-title-white-space: nowrap;--f7-block-title-medium-text-transform: none;--f7-block-title-large-text-transform: none;--f7-block-inset-side-margin: 16px}:root .dark,:root.dark{--f7-block-outline-border-color: rgba(255, 255, 255, .15)}.ios{--f7-block-text-color: inherit;--f7-block-margin-vertical: 35px;--f7-block-outline-border-color: rgba(0, 0, 0, .22);--f7-block-title-font-size: 16px;--f7-block-title-font-weight: 600;--f7-block-title-line-height: 20px;--f7-block-title-margin-bottom: 10px;--f7-block-title-medium-font-size: 22px;--f7-block-title-medium-font-weight: bold;--f7-block-title-medium-line-height: 1.4;--f7-block-title-large-font-size: 30px;--f7-block-title-large-font-weight: bold;--f7-block-title-large-line-height: 1.3;--f7-block-inset-border-radius: 8px;--f7-block-title-text-color: #000;--f7-block-strong-text-color: #000;--f7-block-header-text-color: rgba(0, 0, 0, .45);--f7-block-footer-text-color: rgba(0, 0, 0, .45);--f7-block-strong-bg-color: #fff;--f7-block-title-medium-text-color: #000;--f7-block-title-large-text-color: #000}.ios .dark,.ios.dark{--f7-block-title-text-color: #fff;--f7-block-header-text-color: rgba(255, 255, 255, .55);--f7-block-footer-text-color: rgba(255, 255, 255, .55);--f7-block-strong-text-color: #fff;--f7-block-strong-bg-color: #1c1c1d;--f7-block-title-medium-text-color: #fff;--f7-block-title-large-text-color: #fff}.md{--f7-block-margin-vertical: 32px;--f7-block-title-font-size: inherit;--f7-block-title-font-weight: 500;--f7-block-title-line-height: 16px;--f7-block-title-margin-bottom: 16px;--f7-block-title-medium-font-size: 16px;--f7-block-title-medium-font-weight: 500;--f7-block-title-medium-line-height: 1.3;--f7-block-title-large-font-size: 22px;--f7-block-title-large-font-weight: 500;--f7-block-title-large-line-height: 1.2;--f7-block-inset-border-radius: 16px}.md,.md .dark,.md [class*=color-]{--f7-block-text-color: var(--f7-md-on-surface);--f7-block-strong-text-color: var(--f7-md-on-surface);--f7-block-outline-border-color: var(--f7-md-outline);--f7-block-title-text-color: var(--f7-theme-color);--f7-block-title-medium-text-color: var(--f7-theme-color);--f7-block-title-large-text-color: var(--f7-theme-color);--f7-block-strong-bg-color: var(--f7-md-surface-1);--f7-block-header-text-color: var(--f7-md-on-surface-variant);--f7-block-footer-text-color: var(--f7-md-on-surface-variant)}.block{box-sizing:border-box;position:relative;z-index:1;color:var(--f7-block-text-color);margin:var(--f7-block-margin-vertical) 0;padding-top:0;padding-bottom:0;padding-left:calc(var(--f7-block-padding-horizontal) + var(--f7-safe-area-left));padding-right:calc(var(--f7-block-padding-horizontal) + var(--f7-safe-area-right));font-size:var(--f7-block-font-size)}.block>h1:first-child,.block>h2:first-child,.block>h3:first-child,.block>h4:first-child,.block>p:first-child{margin-top:0}.block>h1:last-child,.block>h2:last-child,.block>h3:last-child,.block>h4:last-child,.block>p:last-child{margin-bottom:0}.block-strong,.ios .block-strong-ios,.md .block-strong-md{color:var(--f7-block-strong-text-color);padding-top:var(--f7-block-padding-vertical);padding-bottom:var(--f7-block-padding-vertical);background-color:var(--f7-block-strong-bg-color)}.block-outline:not(.inset):before,.ios .block-outline-ios:not(.inset):not(.inset-ios):before,.md .block-outline-md:not(.inset):not(.inset-md):before{content:"";position:absolute;background-color:var(--f7-block-outline-border-color);display:block;z-index:15;top:0;right:auto;bottom:auto;left:0;height:1px;width:100%;transform-origin:50% 0%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.block-outline:not(.inset):after,.ios .block-outline-ios:not(.inset):not(.inset-ios):after,.md .block-outline-md:not(.inset):not(.inset-md):after{content:"";position:absolute;background-color:var(--f7-block-outline-border-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.block-outline.inset,.ios .block-outline-ios.inset,.ios .block-outline-ios.inset-ios,.md .block-outline-md.inset,.md .block-outline-md.inset-md{border:1px solid var(--f7-block-outline-border-color)}.block-title{position:relative;overflow:hidden;margin:0;white-space:var(--f7-block-title-white-space);text-overflow:ellipsis;text-transform:var(--f7-block-title-text-transform);color:var(--f7-block-title-text-color);font-size:var(--f7-block-title-font-size, inherit);font-weight:var(--f7-block-title-font-weight);line-height:var(--f7-block-title-line-height);margin-top:var(--f7-block-margin-vertical);margin-bottom:var(--f7-block-title-margin-bottom);margin-left:calc(var(--f7-block-padding-horizontal) + var(--f7-safe-area-left));margin-right:calc(var(--f7-block-padding-horizontal) + var(--f7-safe-area-right))}.block-title+.list,.block-title+.block,.block-title+.card,.block-title+.timeline,.block-title+.block-header{margin-top:0}.block-title-medium{font-size:var(--f7-block-title-medium-font-size);text-transform:var(--f7-block-title-medium-text-transform);color:var(--f7-block-title-medium-text-color);font-weight:var(--f7-block-title-medium-font-weight);line-height:var(--f7-block-title-medium-line-height)}.block-title-large{font-size:var(--f7-block-title-large-font-size);text-transform:var(--f7-block-title-large-text-transform);color:var(--f7-block-title-large-text-color);font-weight:var(--f7-block-title-large-font-weight);line-height:var(--f7-block-title-large-line-height)}.block>.block-title:first-child,.list>.block-title:first-child{margin-top:0;margin-left:0;margin-right:0}.block-header{color:var(--f7-block-header-text-color);font-size:var(--f7-block-header-font-size);margin-bottom:var(--f7-block-header-margin);margin-top:var(--f7-block-margin-vertical)}.block-header+.list,.block-header+.block,.block-header+.card,.block-header+.timeline{margin-top:var(--f7-block-header-margin)}.block-footer{color:var(--f7-block-footer-text-color);font-size:var(--f7-block-footer-font-size);margin-top:var(--f7-block-footer-margin);margin-bottom:var(--f7-block-margin-vertical)}.block-footer,.block-header{padding-top:0;padding-bottom:0;padding-left:calc(var(--f7-block-padding-horizontal) + var(--f7-safe-area-left));padding-right:calc(var(--f7-block-padding-horizontal) + var(--f7-safe-area-right))}.block-footer ul:first-child,.block-header ul:first-child,.block-footer p:first-child,.block-header p:first-child,.block-footer h1:first-child,.block-header h1:first-child,.block-footer h2:first-child,.block-header h2:first-child,.block-footer h3:first-child,.block-header h3:first-child,.block-footer h4:first-child,.block-header h4:first-child{margin-top:0}.block-footer ul:last-child,.block-header ul:last-child,.block-footer p:last-child,.block-header p:last-child,.block-footer h1:last-child,.block-header h1:last-child,.block-footer h2:last-child,.block-header h2:last-child,.block-footer h3:last-child,.block-header h3:last-child,.block-footer h4:last-child,.block-header h4:last-child{margin-bottom:0}.block-footer ul:first-child:last-child,.block-header ul:first-child:last-child,.block-footer p:first-child:last-child,.block-header p:first-child:last-child,.block-footer h1:first-child:last-child,.block-header h1:first-child:last-child,.block-footer h2:first-child:last-child,.block-header h2:first-child:last-child,.block-footer h3:first-child:last-child,.block-header h3:first-child:last-child,.block-footer h4:first-child:last-child,.block-header h4:first-child:last-child{margin-top:0;margin-bottom:0}.list .block-header,.block .block-header,.card .block-header,.timeline .block-header{margin-top:0}.list .block-footer,.block .block-footer,.card .block-footer,.timeline .block-footer{margin-bottom:0}.list+.block-footer,.block+.block-footer,.card+.block-footer,.timeline+.block-footer{margin-top:calc(-1 * (var(--f7-block-margin-vertical) - var(--f7-block-footer-margin)))}.block+.block-footer{margin-top:calc(-1 * (var(--f7-block-margin-vertical) - var(--f7-block-footer-margin)));margin-bottom:var(--f7-block-margin-vertical)}.block .block-header,.block .block-footer{padding:0}.block.inset,.ios .block.inset-ios,.md .block.inset-md{border-radius:var(--f7-block-inset-border-radius);margin-left:calc(var(--f7-block-inset-side-margin) + var(--f7-safe-area-outer-left));margin-right:calc(var(--f7-block-inset-side-margin) + var(--f7-safe-area-outer-right));--f7-safe-area-left: 0px;--f7-safe-area-right: 0px}.block-strong.inset:before,.ios .block-strong-ios.inset:before,.md .block-strong-md.inset:before,.ios .block-strong.inset-ios:before,.md .block-strong.inset-md:before,.ios .block-strong-ios.inset-ios:before,.md .block-strong-md.inset-md:before,.block-strong.inset:after,.ios .block-strong-ios.inset:after,.md .block-strong-md.inset:after,.ios .block-strong.inset-ios:after,.md .block-strong.inset-md:after,.ios .block-strong-ios.inset-ios:after,.md .block-strong-md.inset-md:after{display:none!important}@media (min-width: 480px){.block.xsmall-inset,.ios .block.xsmall-inset-ios,.md .block.xsmall-inset-md{border-radius:var(--f7-block-inset-border-radius);margin-left:calc(var(--f7-block-inset-side-margin) + var(--f7-safe-area-outer-left));margin-right:calc(var(--f7-block-inset-side-margin) + var(--f7-safe-area-outer-right));--f7-safe-area-left: 0px;--f7-safe-area-right: 0px}.block.xsmall-inset:before,.ios .block.xsmall-inset-ios:before,.md .block.xsmall-inset-md:before,.block.xsmall-inset:after,.ios .block.xsmall-inset-ios:after,.md .block.xsmall-inset-md:after{display:none!important}.block.xsmall-inset.block-outline,.ios .block.xsmall-inset-ios.block-outline,.ios .block.xsmall-inset-ios.block-outline-ios,.md .block.xsmall-inset-md.block-outline,.md .block.xsmall-inset-md.block-outline-md{border:1px solid var(--f7-block-outline-border-color)}}@media (min-width: 568px){.block.small-inset,.ios .block.small-inset-ios,.md .block.small-inset-md{border-radius:var(--f7-block-inset-border-radius);margin-left:calc(var(--f7-block-inset-side-margin) + var(--f7-safe-area-outer-left));margin-right:calc(var(--f7-block-inset-side-margin) + var(--f7-safe-area-outer-right));--f7-safe-area-left: 0px;--f7-safe-area-right: 0px}.block.small-inset:before,.ios .block.small-inset-ios:before,.md .block.small-inset-md:before,.block.small-inset:after,.ios .block.small-inset-ios:after,.md .block.small-inset-md:after{display:none!important}.block.small-inset.block-outline,.ios .block.small-inset-ios.block-outline,.ios .block.small-inset-ios.block-outline-ios,.md .block.small-inset-md.block-outline,.md .block.small-inset-md.block-outline-md{border:1px solid var(--f7-block-outline-border-color)}}@media (min-width: 768px){.block.medium-inset,.ios .block.medium-inset-ios,.md .block.medium-inset-md{border-radius:var(--f7-block-inset-border-radius);margin-left:calc(var(--f7-block-inset-side-margin) + var(--f7-safe-area-outer-left));margin-right:calc(var(--f7-block-inset-side-margin) + var(--f7-safe-area-outer-right));--f7-safe-area-left: 0px;--f7-safe-area-right: 0px}.block.medium-inset:before,.ios .block.medium-inset-ios:before,.md .block.medium-inset-md:before,.block.medium-inset:after,.ios .block.medium-inset-ios:after,.md .block.medium-inset-md:after{display:none!important}.block.medium-inset.block-outline,.ios .block.medium-inset-ios.block-outline,.ios .block.medium-inset-ios.block-outline-ios,.md .block.medium-inset-md.block-outline,.md .block.medium-inset-md.block-outline-md{border:1px solid var(--f7-block-outline-border-color)}}@media (min-width: 1024px){.block.large-inset,.ios .block.large-inset-ios,.md .block.large-inset-md{border-radius:var(--f7-block-inset-border-radius);margin-left:calc(var(--f7-block-inset-side-margin) + var(--f7-safe-area-outer-left));margin-right:calc(var(--f7-block-inset-side-margin) + var(--f7-safe-area-outer-right));--f7-safe-area-left: 0px;--f7-safe-area-right: 0px}.block.large-inset:before,.ios .block.large-inset-ios:before,.md .block.large-inset-md:before,.block.large-inset:after,.ios .block.large-inset-ios:after,.md .block.large-inset-md:after{display:none!important}.block.large-inset.block-outline,.ios .block.large-inset-ios.block-outline,.ios .block.large-inset-ios.block-outline-ios,.md .block.large-inset-md.block-outline,.md .block.large-inset-md.block-outline-md{border:1px solid var(--f7-block-outline-border-color)}}@media (min-width: 1200px){.block.xlarge-inset,.ios .block.xlarge-inset-ios,.md .block.xlarge-inset-md{border-radius:var(--f7-block-inset-border-radius);margin-left:calc(var(--f7-block-inset-side-margin) + var(--f7-safe-area-outer-left));margin-right:calc(var(--f7-block-inset-side-margin) + var(--f7-safe-area-outer-right));--f7-safe-area-left: 0px;--f7-safe-area-right: 0px}.block.xlarge-inset:before,.ios .block.xlarge-inset-ios:before,.md .block.xlarge-inset-md:before,.block.xlarge-inset:after,.ios .block.xlarge-inset-ios:after,.md .block.xlarge-inset-md:after{display:none!important}.block.xlarge-inset.block-outline,.ios .block.xlarge-inset-ios.block-outline,.ios .block.xlarge-inset-ios.block-outline-ios,.md .block.xlarge-inset-md.block-outline,.md .block.xlarge-inset-md.block-outline-md{border:1px solid var(--f7-block-outline-border-color)}}:root{--f7-list-inset-side-margin: 16px;--f7-list-item-padding-horizontal: 16px;--f7-list-item-padding-vertical: 8px;--f7-list-media-item-padding-horizontal: 16px;--f7-list-item-text-max-lines: 2;--f7-list-chevron-icon-font-size: 20px;--f7-list-item-media-margin: 16px;--f7-list-item-title-font-size: inherit;--f7-list-item-title-font-weight: 400;--f7-list-item-title-line-height: inherit;--f7-list-item-title-white-space: nowrap;--f7-list-item-subtitle-font-weight: 400;--f7-list-item-subtitle-line-height: inherit;--f7-list-item-text-font-weight: 400;--f7-list-item-after-font-weight: 400;--f7-list-item-after-line-height: inherit;--f7-list-item-header-font-size: 12px;--f7-list-item-header-font-weight: 400;--f7-list-item-header-line-height: 1.2;--f7-list-item-footer-font-size: 12px;--f7-list-item-footer-font-weight: 400;--f7-list-item-footer-line-height: 1.2;--f7-list-button-font-size: inherit;--f7-list-button-font-weight: 400;--f7-list-button-text-align: center;--f7-list-group-title-line-height: inherit;--f7-menu-list-font-size: 14px;--f7-menu-list-item-title-font-size: 14px;--f7-menu-list-item-title-font-weight: 500;--f7-menu-list-item-subtitle-font-size: 14px;--f7-menu-list-item-text-font-size: 14px;--f7-menu-list-item-after-font-size: 14px;--f7-list-outline-border-color: rgba(0, 0, 0, .22);--f7-list-chevron-icon-color: rgba(0, 0, 0, .2)}:root .dark,:root.dark{--f7-list-button-border-color: rgba(255, 255, 255, .15);--f7-list-outline-border-color: rgba(255, 255, 255, .15);--f7-list-group-title-border-color: rgba(255, 255, 255, .15);--f7-list-chevron-icon-color: rgba(255, 255, 255, .3)}.ios{--f7-list-in-list-padding-left: 30px;--f7-list-inset-border-radius: 8px;--f7-list-margin-vertical: 35px;--f7-list-font-size: 17px;--f7-list-chevron-icon-area: 20px;--f7-list-item-title-text-color: inherit;--f7-list-item-subtitle-text-color: inherit;--f7-list-link-pressed-bg-color: rgba(0, 0, 0, .15);--f7-list-item-subtitle-font-size: 15px;--f7-list-item-text-font-size: 15px;--f7-list-item-text-line-height: 21px;--f7-list-item-after-font-size: inherit;--f7-list-item-after-padding: 5px;--f7-list-item-min-height: 44px;--f7-list-item-media-icons-margin: 5px;--f7-list-media-item-padding-vertical: 10px;--f7-list-media-item-title-font-weight: 600;--f7-list-button-border-color: rgba(0, 0, 0, .22);--f7-list-group-title-border-color: rgba(0, 0, 0, .22);--f7-list-group-title-height: 31px;--f7-list-group-title-font-size: inherit;--f7-list-group-title-font-weight: 400;--f7-menu-list-offset: 8px;--f7-menu-list-border-radius: 8px;--f7-menu-list-item-bg-color: transparent;--f7-menu-list-item-text-color: inherit;--f7-menu-list-item-min-height: 44px;--f7-list-item-border-color: rgba(0, 0, 0, .22);--f7-list-outline-inset-border-color: rgba(0, 0, 0, .22);--f7-list-strong-bg-color: #fff;--f7-list-item-after-text-color: rgba(0, 0, 0, .45);--f7-list-item-header-text-color: inherit;--f7-list-item-footer-text-color: rgba(0, 0, 0, .45);--f7-list-item-text-text-color: rgba(0, 0, 0, .45);--f7-list-group-title-text-color: rgba(0, 0, 0, .45);--f7-list-group-title-bg-color: #f7f7f7;--f7-menu-list-item-selected-text-color: var(--f7-theme-color);--f7-menu-list-item-selected-bg-color: rgba(var(--f7-theme-color-rgb), .15)}.ios .dark,.ios.dark{--f7-list-item-border-color: rgba(255, 255, 255, .15);--f7-list-outline-inset-color: rgba(255, 255, 255, .15);--f7-list-strong-bg-color: #1c1c1d;--f7-list-item-after-text-color: rgba(255, 255, 255, .55);--f7-list-item-header-text-color: rgba(255, 255, 255, .55);--f7-list-item-footer-text-color: rgba(255, 255, 255, .55);--f7-list-item-text-text-color: rgba(255, 255, 255, .55);--f7-list-group-title-text-color: rgba(255, 255, 255, .55);--f7-list-group-title-bg-color: #232323;--f7-list-link-pressed-bg-color: rgba(255, 255, 255, .08);--f7-menu-list-item-selected-text-color: inherit;--f7-menu-list-item-selected-bg-color: var(--f7-theme-color)}.md{--f7-list-in-list-padding-left: 24px;--f7-list-inset-border-radius: 16px;--f7-list-margin-vertical: 32px;--f7-list-font-size: 16px;--f7-list-chevron-icon-area: 26px;--f7-list-item-subtitle-font-size: 14px;--f7-list-item-text-font-size: 14px;--f7-list-item-text-line-height: 20px;--f7-list-item-after-font-size: 14px;--f7-list-item-after-padding: 8px;--f7-list-item-min-height: 48px;--f7-list-item-media-icons-margin: 8px;--f7-list-media-item-padding-vertical: 12px;--f7-list-media-item-title-font-weight: 500;--f7-list-button-border-color: transparent;--f7-list-group-title-border-color: transparent;--f7-list-group-title-height: 48px;--f7-list-group-title-font-size: 16px;--f7-list-group-title-font-weight: 400;--f7-menu-list-offset: 16px;--f7-menu-list-border-radius: 999px;--f7-menu-list-item-min-height: 56px;--f7-list-link-pressed-bg-color: transparent}.md,.md .dark,.md [class*=color-]{--f7-list-outline-inset-border-color: var(--f7-md-outline);--f7-list-item-border-color: var(--f7-md-outline);--f7-list-item-title-text-color: var(--f7-md-on-surface);--f7-list-item-subtitle-text-color: var(--f7-md-on-surface);--f7-list-group-title-bg-color: var(--f7-md-surface-2);--f7-list-group-title-text-color: var(--f7-md-on-surface-variant);--f7-list-strong-bg-color: var(--f7-md-surface-1);--f7-list-item-after-text-color: var(--f7-md-on-surface-variant);--f7-list-item-text-text-color: var(--f7-md-on-surface-variant);--f7-list-item-header-text-color: var(--f7-md-on-surface-variant);--f7-list-item-footer-text-color: var(--f7-md-on-surface-variant);--f7-menu-list-item-text-color: var(--f7-md-on-surface-variant);--f7-menu-list-item-bg-color: var(--f7-md-surface-1);--f7-menu-list-item-selected-text-color: var(--f7-md-on-secondary-container);--f7-menu-list-item-selected-bg-color: var(--f7-md-secondary-container)}:root{--f7-list-chevron-icon-left: "chevron_left";--f7-list-chevron-icon-right: "chevron_right"}.list{position:relative;z-index:1;font-size:var(--f7-list-font-size);margin:var(--f7-list-margin-vertical) 0}.list-strong ul,.ios .list-strong-ios ul,.md .list-strong-md ul{background:var(--f7-list-strong-bg-color)}.list-outline ul:before,.ios .list-outline-ios ul:before,.md .list-outline-md ul:before{content:"";position:absolute;background-color:var(--f7-list-outline-border-color);display:block;z-index:15;top:0;right:auto;bottom:auto;left:0;height:1px;width:100%;transform-origin:50% 0%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.list-outline ul:after,.ios .list-outline-ios ul:after,.md .list-outline-md ul:after{content:"";position:absolute;background-color:var(--f7-list-outline-border-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.list-outline.inset,.ios .list-outline-ios.inset,.ios .list-outline-ios.inset-ios,.md .list-outline-md.inset,.md .list-outline-md.inset-md{border:1px solid var(--f7-list-outline-inset-border-color)}.list ul{list-style:none;margin:0;padding:0;position:relative}.list ul ul{padding-left:calc(var(--f7-list-item-padding-horizontal) + var(--f7-list-in-list-padding-left))}.list ul ul:before,.list ul ul:after{display:none!important}.list li{position:relative;box-sizing:border-box}.list .item-media{display:flex;flex-shrink:0;flex-wrap:nowrap;align-items:center;box-sizing:border-box;padding-bottom:var(--f7-list-item-padding-vertical);padding-top:var(--f7-list-item-padding-vertical);position:relative}.list .item-media+.item-inner{margin-left:var(--f7-list-item-media-margin)}.list .item-media i+i,.list .item-media i+img{margin-left:var(--f7-list-item-media-icons-margin)}.list .item-after{padding-left:var(--f7-list-item-after-padding)}.list .item-inner{position:relative;width:100%;min-width:0;display:flex;justify-content:space-between;box-sizing:border-box;align-items:center;align-self:stretch;padding-top:var(--f7-list-item-padding-vertical);padding-bottom:var(--f7-list-item-padding-vertical);min-height:calc(var(--f7-list-item-min-height));padding-right:calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right))}.list .item-title{min-width:0;flex-shrink:1;white-space:var(--f7-list-item-title-white-space);position:relative;overflow:hidden;text-overflow:ellipsis;max-width:100%;font-size:var(--f7-list-item-title-font-size);font-weight:var(--f7-list-item-title-font-weight);color:var(--f7-list-item-title-text-color);line-height:var(--f7-list-item-title-line-height)}.list .item-after{white-space:nowrap;flex-shrink:0;display:flex;font-size:var(--f7-list-item-after-font-size);font-weight:var(--f7-list-item-after-font-weight);color:var(--f7-list-item-after-text-color);line-height:var(--f7-list-item-after-line-height);margin-left:auto}.list .item-header,.list .item-footer{white-space:normal}.list .item-header{color:var(--f7-list-item-header-text-color);font-size:var(--f7-list-item-header-font-size);font-weight:var(--f7-list-item-header-font-weight);line-height:var(--f7-list-item-header-line-height)}.list .item-footer{color:var(--f7-list-item-footer-text-color);font-size:var(--f7-list-item-footer-font-size);font-weight:var(--f7-list-item-footer-font-weight);line-height:var(--f7-list-item-footer-line-height)}.list .item-link,.list label.item-content,.list .list-button{transition-duration:.3s;transition-property:background-color,color;position:relative;overflow:hidden;z-index:0;cursor:pointer}.list .item-link,.list .list-button{display:block}.list .item-link,.list label.item-content{color:inherit}.list .item-link.active-state,.list label.item-content.active-state{background-color:var(--f7-list-link-pressed-bg-color)}.list .item-link .item-inner{padding-right:calc(var(--f7-list-chevron-icon-area) + var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right))}.list .item-content{display:flex;justify-content:space-between;box-sizing:border-box;align-items:center;min-height:calc(var(--f7-list-item-min-height));padding-left:calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left))}.list .item-subtitle{position:relative;overflow:hidden;white-space:nowrap;max-width:100%;text-overflow:ellipsis;font-size:var(--f7-list-item-subtitle-font-size);font-weight:var(--f7-list-item-subtitle-font-weight);color:var(--f7-list-item-subtitle-text-color);line-height:var(--f7-list-item-subtitle-line-height)}.list .item-text{position:relative;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:var(--f7-list-item-text-max-lines);-webkit-box-orient:vertical;display:-webkit-box;font-size:var(--f7-list-item-text-font-size);font-weight:var(--f7-list-item-text-font-weight);color:var(--f7-list-item-text-text-color);line-height:var(--f7-list-item-text-line-height);max-height:calc(var(--f7-list-item-text-line-height) * var(--f7-list-item-text-max-lines))}.list .item-title-row{position:relative;display:flex;justify-content:space-between;box-sizing:border-box}.list .item-title-row .item-after{align-self:center}.list li:last-child .list-button:after{display:none!important}.list li:last-child>.item-inner:after,.list li:last-child li:last-child>.item-inner:after,.list li:last-child>.item-content>.item-inner:after,.list li:last-child li:last-child>.item-content>.item-inner:after,.list li:last-child>.swipeout-content>.item-content>.item-inner:after,.list li:last-child li:last-child>.swipeout-content>.item-content>.item-inner:after,.list li:last-child>.item-link>.item-content>.item-inner:after,.list li:last-child li:last-child>.item-link>.item-content>.item-inner:after{display:none!important}.list li li:last-child .item-inner:after,.list li:last-child li .item-inner:after{content:"";position:absolute;background-color:var(--f7-list-item-border-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.list-button{--f7-touch-ripple-color: var(--f7-link-touch-ripple-color, rgba(var(--f7-theme-color-rgb), .25));padding:0 var(--f7-list-item-padding-horizontal);line-height:var(--f7-list-item-min-height);color:var(--f7-list-button-text-color, var(--f7-theme-color));font-size:var(--f7-list-button-font-size);font-weight:var(--f7-list-button-font-weight);text-align:var(--f7-list-button-text-align)}.ios .list-button.active-state{background-color:var(--f7-list-button-pressed-bg-color, rgba(var(--f7-theme-color-rgb), .15))}.md .list-button.active-state{background-color:var(--f7-list-button-pressed-bg-color, transparent)}.list-dividers .list-button:after,.ios .list-dividers-ios .list-button:after,.md .list-dividers-md .list-button:after{content:"";position:absolute;background-color:var(--f7-list-button-border-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.list-button[class*=color-]{--f7-list-button-text-color: var(--f7-theme-color)}.simple-list li{position:relative;white-space:nowrap;text-overflow:ellipsis;max-width:100%;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;align-content:center;line-height:var(--f7-list-item-min-height);height:var(--f7-list-item-min-height);padding-left:calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left));padding-right:calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right))}.simple-list li:after{left:var(--f7-list-item-padding-horizontal);width:auto;left:calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left));right:0}.simple-list li:last-child:after{display:none!important}.links-list li{z-index:1}.links-list a{transition-duration:.3s;transition-property:background-color;display:block;position:relative;overflow:hidden;display:flex;align-items:center;align-content:center;justify-content:space-between;box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;max-width:100%;height:var(--f7-list-item-min-height);color:inherit}.links-list a .ripple-wave{z-index:0}.links-list a:after{width:auto}.links-list a.active-state{background-color:var(--f7-list-link-pressed-bg-color)}.links-list a{padding-left:calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left));padding-right:calc(var(--f7-list-chevron-icon-area) + var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right))}.links-list a:after{left:calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left));right:0}.links-list li:last-child a:after{display:none!important}.list-dividers.simple-list li:after,.ios .list-dividers-ios.simple-list li:after,.md .list-dividers-md.simple-list li:after,.list-dividers.links-list a:after,.ios .list-dividers-ios.links-list a:after,.md .list-dividers-md.links-list a:after,.list-dividers .item-inner:after,.ios .list-dividers-ios .item-inner:after,.md .list-dividers-md .item-inner:after{content:"";position:absolute;background-color:var(--f7-list-item-border-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.md .media-list:not(.inset):not(.inset-md):not(.menu-list) .item-content,.md .media-list:not(.inset):not(.inset-md):not(.menu-list) li>.item-link,.md .list:not(.inset):not(.inset-md):not(.menu-list) .media-item .item-content,.md .list:not(.inset):not(.inset-md):not(.menu-list) .media-item>.item-link{margin-left:calc(var(--f7-list-item-padding-horizontal) / 2);margin-right:calc(var(--f7-list-item-padding-horizontal) / 2);border-radius:16px}.md .media-list:not(.inset):not(.inset-md):not(.menu-list) li>.item-link>.item-content,.md .list:not(.inset):not(.inset-md):not(.menu-list) .media-item>.item-link>.item-content{margin-left:0;margin-right:0}.md .media-list:not(.inset):not(.inset-md):not(.menu-list) .item-content,.md .list:not(.inset):not(.inset-md):not(.menu-list) .media-item .item-content{padding-left:calc(var(--f7-list-item-padding-horizontal) / 2 + var(--f7-safe-area-left))}.media-list,li.media-item{--f7-list-item-padding-vertical: var(--f7-list-media-item-padding-vertical);--f7-list-item-padding-horizontal: var(--f7-list-media-item-padding-horizontal)}.media-list .item-title,li.media-item .item-title{font-weight:var(--f7-list-media-item-title-font-weight, var(--f7-list-item-title-font-weight, inherit))}.media-list .item-inner,li.media-item .item-inner{display:block;align-self:stretch}.media-list .item-media img,li.media-item .item-media img{display:block}.media-list .item-link .item-inner,li.media-item .item-link .item-inner{padding-right:calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right))}.media-list .item-link .item-title-row,li.media-item .item-link .item-title-row{padding-right:calc(var(--f7-list-chevron-icon-area))}.media-list.chevron-center .item-link .item-inner,.media-list .chevron-center .item-link .item-inner,.media-list .item-link.chevron-center .item-inner,li.media-item.chevron-center .item-link .item-inner,li.media-item .item-link.chevron-center .item-inner,li.media-item .chevron-center .item-link .item-inner{padding-right:calc(var(--f7-list-chevron-icon-area) + var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right))}.media-list.chevron-center .item-title-row,.media-list .chevron-center .item-title-row,li.media-item.chevron-center .item-title-row,li.media-item .chevron-center .item-title-row{padding-right:0}.list .item-link .item-inner:before,.links-list a:before,.media-list .item-link .item-title-row:before,li.media-item .item-link .item-title-row:before,.media-list.chevron-center .item-link .item-inner:before,.media-list .chevron-center .item-link .item-inner:before,.media-list .item-link.chevron-center .item-inner:before,li.media-item.chevron-center .item-link .item-inner:before,li.media-item .chevron-center .item-link .item-inner:before,li.media-item .item-link.chevron-center .item-inner:before{font-family:framework7-core-icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga";text-align:center;display:block;width:100%;height:100%;font-size:20px;position:absolute;top:50%;width:8px;height:14px;margin-top:-7px;font-size:var(--f7-list-chevron-icon-font-size);line-height:14px;color:var(--f7-list-chevron-icon-color);pointer-events:none;right:calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right));content:var(--f7-list-chevron-icon-right)}.media-list.chevron-center .item-title-row:before,.media-list .chevron-center .item-title-row:before,li.media-item.chevron-center .item-title-row:before,li.media-item .chevron-center .item-title-row:before{display:none}.media-list .item-link .item-inner:before,li.media-item .item-link .item-inner:before{display:none}.media-list .item-link .item-title-row:before,li.media-item .item-link .item-title-row:before{right:0}.list-group ul:after,.list-group ul:before{z-index:25!important}.list-group+.list-group ul:before{display:none!important}li.list-group-title,.list-group-title{margin-top:-1px;white-space:nowrap;position:relative;max-width:100%;text-overflow:ellipsis;overflow:hidden;z-index:15;padding-top:0;padding-bottom:0;padding-left:calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left));padding-right:calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right));box-sizing:border-box;display:flex;align-items:center;align-content:center;height:var(--f7-list-group-title-height);color:var(--f7-list-group-title-text-color);font-size:var(--f7-list-group-title-font-size);font-weight:var(--f7-list-group-title-font-weight);background-color:var(--f7-list-group-title-bg-color);line-height:var(--f7-list-group-title-line-height)}li.list-group-title:before,.list-group-title:before{content:"";position:absolute;background-color:var(--f7-list-group-title-border-color);display:block;z-index:15;top:0;right:auto;bottom:auto;left:0;height:1px;width:100%;transform-origin:50% 0%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}li.list-group-title:after,.list-group-title:after{display:none!important}.list-group>.list-group-title,.list-group>ul>.list-group-title{top:0;margin-top:0;position:sticky;z-index:20}.page-with-navbar-large .list-group>.list-group-title,.page-with-navbar-large .list-group>ul>.list-group-title{top:calc(-1 * var(--f7-navbar-large-title-height))}.list.inset,.ios .list.inset-ios,.md .list.inset-md{margin-left:calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-left));margin-right:calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-right));border-radius:var(--f7-list-inset-border-radius);--f7-safe-area-left: 0px;--f7-safe-area-right: 0px}.list.inset .block-title,.ios .list.inset-ios .block-title,.md .list.inset-md .block-title{margin-left:0;margin-right:0}.list.inset ul,.ios .list.inset-ios ul,.md .list.inset-md ul{border-radius:var(--f7-list-inset-border-radius)}.list.inset ul:before,.ios .list.inset-ios ul:before,.md .list.inset-md ul:before,.list.inset ul:after,.ios .list.inset-ios ul:after,.md .list.inset-md ul:after{display:none!important}.list.inset li.swipeout:first-child,.ios .list.inset-ios li.swipeout:first-child,.md .list.inset-md li.swipeout:first-child,.list.inset li:first-child>a,.ios .list.inset-ios li:first-child>a,.md .list.inset-md li:first-child>a{border-radius:var(--f7-list-inset-border-radius) var(--f7-list-inset-border-radius) 0 0}.list.inset li.swipeout:last-child,.ios .list.inset-ios li.swipeout:last-child,.md .list.inset-md li.swipeout:last-child,.list.inset li:last-child>a,.ios .list.inset-ios li:last-child>a,.md .list.inset-md li:last-child>a{border-radius:0 0 var(--f7-list-inset-border-radius) var(--f7-list-inset-border-radius)}.list.inset li.swipeout:first-child:last-child,.ios .list.inset-ios li.swipeout:first-child:last-child,.md .list.inset-md li.swipeout:first-child:last-child,.list.inset li:first-child:last-child>a,.ios .list.inset-ios li:first-child:last-child>a,.md .list.inset-md li:first-child:last-child>a{border-radius:var(--f7-list-inset-border-radius)}@media (min-width: 480px){.list.xsmall-inset,.ios .list.xsmall-inset-ios,.md .list.xsmall-inset-md{margin-left:calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-left));margin-right:calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-right));border-radius:var(--f7-list-inset-border-radius);--f7-safe-area-left: 0px;--f7-safe-area-right: 0px}.list.xsmall-inset .block-title,.ios .list.xsmall-inset-ios .block-title,.md .list.xsmall-inset-md .block-title{margin-left:0;margin-right:0}.list.xsmall-inset ul,.ios .list.xsmall-inset-ios ul,.md .list.xsmall-inset-md ul{border-radius:var(--f7-list-inset-border-radius)}.list.xsmall-inset ul:before,.ios .list.xsmall-inset-ios ul:before,.md .list.xsmall-inset-md ul:before,.list.xsmall-inset ul:after,.ios .list.xsmall-inset-ios ul:after,.md .list.xsmall-inset-md ul:after{display:none!important}.list.xsmall-inset li:first-child>a,.ios .list.xsmall-inset-ios li:first-child>a,.md .list.xsmall-inset-md li:first-child>a{border-radius:var(--f7-list-inset-border-radius) var(--f7-list-inset-border-radius) 0 0}.list.xsmall-inset li:last-child>a,.ios .list.xsmall-inset-ios li:last-child>a,.md .list.xsmall-inset-md li:last-child>a{border-radius:0 0 var(--f7-list-inset-border-radius) var(--f7-list-inset-border-radius)}.list.xsmall-inset li:first-child:last-child>a,.ios .list.xsmall-inset-ios li:first-child:last-child>a,.md .list.xsmall-inset-md li:first-child:last-child>a{border-radius:var(--f7-list-inset-border-radius)}.list.xsmall-inset.list-outline ul,.ios .list.xsmall-inset-ios.list-outline ul,.ios .list.xsmall-inset-ios.list-outline-ios ul,.md .list.xsmall-inset-md.list-outline ul,.md .list.xsmall-inset-md.list-outline-md ul{border:1px solid var(--f7-list-outline-inset-border-color)}}@media (min-width: 568px){.list.small-inset,.ios .list.small-inset-ios,.md .list.small-inset-md{margin-left:calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-left));margin-right:calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-right));border-radius:var(--f7-list-inset-border-radius);--f7-safe-area-left: 0px;--f7-safe-area-right: 0px}.list.small-inset .block-title,.ios .list.small-inset-ios .block-title,.md .list.small-inset-md .block-title{margin-left:0;margin-right:0}.list.small-inset ul,.ios .list.small-inset-ios ul,.md .list.small-inset-md ul{border-radius:var(--f7-list-inset-border-radius)}.list.small-inset ul:before,.ios .list.small-inset-ios ul:before,.md .list.small-inset-md ul:before,.list.small-inset ul:after,.ios .list.small-inset-ios ul:after,.md .list.small-inset-md ul:after{display:none!important}.list.small-inset li:first-child>a,.ios .list.small-inset-ios li:first-child>a,.md .list.small-inset-md li:first-child>a{border-radius:var(--f7-list-inset-border-radius) var(--f7-list-inset-border-radius) 0 0}.list.small-inset li:last-child>a,.ios .list.small-inset-ios li:last-child>a,.md .list.small-inset-md li:last-child>a{border-radius:0 0 var(--f7-list-inset-border-radius) var(--f7-list-inset-border-radius)}.list.small-inset li:first-child:last-child>a,.ios .list.small-inset-ios li:first-child:last-child>a,.md .list.small-inset-md li:first-child:last-child>a{border-radius:var(--f7-list-inset-border-radius)}.list.small-inset.list-outline ul,.ios .list.small-inset-ios.list-outline ul,.ios .list.small-inset-ios.list-outline-ios ul,.md .list.small-inset-md.list-outline ul,.md .list.small-inset-md.list-outline-md ul{border:1px solid var(--f7-list-outline-inset-border-color)}}@media (min-width: 768px){.list.medium-inset,.ios .list.medium-inset-ios,.md .list.medium-inset-md{margin-left:calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-left));margin-right:calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-right));border-radius:var(--f7-list-inset-border-radius);--f7-safe-area-left: 0px;--f7-safe-area-right: 0px}.list.medium-inset .block-title,.ios .list.medium-inset-ios .block-title,.md .list.medium-inset-md .block-title{margin-left:0;margin-right:0}.list.medium-inset ul,.ios .list.medium-inset-ios ul,.md .list.medium-inset-md ul{border-radius:var(--f7-list-inset-border-radius)}.list.medium-inset ul:before,.ios .list.medium-inset-ios ul:before,.md .list.medium-inset-md ul:before,.list.medium-inset ul:after,.ios .list.medium-inset-ios ul:after,.md .list.medium-inset-md ul:after{display:none!important}.list.medium-inset li:first-child>a,.ios .list.medium-inset-ios li:first-child>a,.md .list.medium-inset-md li:first-child>a{border-radius:var(--f7-list-inset-border-radius) var(--f7-list-inset-border-radius) 0 0}.list.medium-inset li:last-child>a,.ios .list.medium-inset-ios li:last-child>a,.md .list.medium-inset-md li:last-child>a{border-radius:0 0 var(--f7-list-inset-border-radius) var(--f7-list-inset-border-radius)}.list.medium-inset li:first-child:last-child>a,.ios .list.medium-inset-ios li:first-child:last-child>a,.md .list.medium-inset-md li:first-child:last-child>a{border-radius:var(--f7-list-inset-border-radius)}.list.medium-inset.list-outline ul,.ios .list.medium-inset-ios.list-outline ul,.ios .list.medium-inset-ios.list-outline-ios ul,.md .list.medium-inset-md.list-outline ul,.md .list.medium-inset-md.list-outline-md ul{border:1px solid var(--f7-list-outline-inset-border-color)}}@media (min-width: 1024px){.list.large-inset,.ios .list.large-inset-ios,.md .list.large-inset-md{margin-left:calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-left));margin-right:calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-right));border-radius:var(--f7-list-inset-border-radius);--f7-safe-area-left: 0px;--f7-safe-area-right: 0px}.list.large-inset .block-title,.ios .list.large-inset-ios .block-title,.md .list.large-inset-md .block-title{margin-left:0;margin-right:0}.list.large-inset ul,.ios .list.large-inset-ios ul,.md .list.large-inset-md ul{border-radius:var(--f7-list-inset-border-radius)}.list.large-inset ul:before,.ios .list.large-inset-ios ul:before,.md .list.large-inset-md ul:before,.list.large-inset ul:after,.ios .list.large-inset-ios ul:after,.md .list.large-inset-md ul:after{display:none!important}.list.large-inset li:first-child>a,.ios .list.large-inset-ios li:first-child>a,.md .list.large-inset-md li:first-child>a{border-radius:var(--f7-list-inset-border-radius) var(--f7-list-inset-border-radius) 0 0}.list.large-inset li:last-child>a,.ios .list.large-inset-ios li:last-child>a,.md .list.large-inset-md li:last-child>a{border-radius:0 0 var(--f7-list-inset-border-radius) var(--f7-list-inset-border-radius)}.list.large-inset li:first-child:last-child>a,.ios .list.large-inset-ios li:first-child:last-child>a,.md .list.large-inset-md li:first-child:last-child>a{border-radius:var(--f7-list-inset-border-radius)}.list.large-inset.list-outline ul,.ios .list.large-inset-ios.list-outline ul,.ios .list.large-inset-ios.list-outline-ios ul,.md .list.large-inset-md.list-outline ul,.md .list.large-inset-md.list-outline-md ul{border:1px solid var(--f7-list-outline-inset-border-color)}}@media (min-width: 1200px){.list.xlarge-inset,.ios .list.xlarge-inset-ios,.md .list.xlarge-inset-md{margin-left:calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-left));margin-right:calc(var(--f7-list-inset-side-margin) + var(--f7-safe-area-outer-right));border-radius:var(--f7-list-inset-border-radius);--f7-safe-area-left: 0px;--f7-safe-area-right: 0px}.list.xlarge-inset .block-title,.ios .list.xlarge-inset-ios .block-title,.md .list.xlarge-inset-md .block-title{margin-left:0;margin-right:0}.list.xlarge-inset ul,.ios .list.xlarge-inset-ios ul,.md .list.xlarge-inset-md ul{border-radius:var(--f7-list-inset-border-radius)}.list.xlarge-inset ul:before,.ios .list.xlarge-inset-ios ul:before,.md .list.xlarge-inset-md ul:before,.list.xlarge-inset ul:after,.ios .list.xlarge-inset-ios ul:after,.md .list.xlarge-inset-md ul:after{display:none!important}.list.xlarge-inset li:first-child>a,.ios .list.xlarge-inset-ios li:first-child>a,.md .list.xlarge-inset-md li:first-child>a{border-radius:var(--f7-list-inset-border-radius) var(--f7-list-inset-border-radius) 0 0}.list.xlarge-inset li:last-child>a,.ios .list.xlarge-inset-ios li:last-child>a,.md .list.xlarge-inset-md li:last-child>a{border-radius:0 0 var(--f7-list-inset-border-radius) var(--f7-list-inset-border-radius)}.list.xlarge-inset li:first-child:last-child>a,.ios .list.xlarge-inset-ios li:first-child:last-child>a,.md .list.xlarge-inset-md li:first-child:last-child>a{border-radius:var(--f7-list-inset-border-radius)}.list.xlarge-inset.list-outline ul,.ios .list.xlarge-inset-ios.list-outline ul,.ios .list.xlarge-inset-ios.list-outline-ios ul,.md .list.xlarge-inset-md.list-outline ul,.md .list.xlarge-inset-md.list-outline-md ul{border:1px solid var(--f7-list-outline-inset-border-color)}}.list.no-chevron,.list .no-chevron,.menu-list{--f7-list-chevron-icon-color: transparent;--f7-list-chevron-icon-area: 0px}.menu-list{--f7-list-font-size: var(--f7-menu-list-font-size);--f7-list-item-title-font-size: var(--f7-menu-list-item-title-font-size);--f7-list-item-title-font-weight: var(--f7-menu-list-item-title-font-weight);--f7-list-item-subtitle-font-size: var(--f7-menu-list-item-subtitle-font-size);--f7-list-item-text-font-size: var(--f7-menu-list-item-text-font-size);--f7-list-item-after-font-size: var(--f7-menu-list-item-after-font-size);--f7-list-item-min-height: var(--f7-menu-list-item-min-height)}.menu-list .item-header,.menu-list .item-footer,.menu-list .item-title,.menu-list .item-after,.menu-list .item-text,.menu-list .item-subtitle{transition-duration:.3s}.menu-list li:not(.list-group-title){padding-top:4px;padding-bottom:4px}.menu-list li:not(.list-group-title):first-child{padding-top:4px}.menu-list li:not(.list-group-title):last-child{padding-bottom:4px}.menu-list .item-link{margin-left:var(--f7-menu-list-offset);margin-right:var(--f7-menu-list-offset);border-radius:var(--f7-menu-list-border-radius)!important;color:var(--f7-menu-list-item-text-color);background-color:var(--f7-menu-list-item-bg-color)}.menu-list .item-inner:after{display:none}.menu-list .item-selected .item-link,.menu-list .item-selected.item-link,.menu-list .tab-link-active .item-link,.menu-list .tab-link-active.item-link{color:var(--f7-menu-list-item-selected-text-color);background-color:var(--f7-menu-list-item-selected-bg-color)}.menu-list .item-selected .item-header,.menu-list .item-selected .item-footer,.menu-list .item-selected .item-title,.menu-list .item-selected .item-after,.menu-list .item-selected .item-text,.menu-list .item-selected .item-subtitle{color:var(--f7-menu-list-item-selected-text-color)}.ios .item-link.active-state .item-inner:after,.ios .list-button.active-state:after,.ios .links-list a.active-state:after{background-color:transparent}.ios .links-list a.active-state,.ios .list .item-link.active-state,.ios .list .list-button.active-state{transition-duration:0ms}.md .menu-list .item-link.active-state{background-color:var(--f7-menu-list-item-bg-color)}:root{--f7-badge-text-color: #fff;--f7-badge-bg-color: #8e8e93;--f7-badge-in-icon-size: 16px;--f7-badge-in-icon-font-size: 10px;--f7-badge-font-weight: normal;--f7-badge-font-size: 12px}.ios{--f7-badge-padding: 0 4px;--f7-badge-size: 20px;--f7-badge-font-weight: 600}.md{--f7-badge-padding: 2px 6px;--f7-badge-size: 20px;--f7-badge-font-weight: 500}.badge{display:inline-flex;align-items:center;align-content:center;justify-content:center;color:var(--f7-badge-text-color);background:var(--f7-badge-bg-color);position:relative;box-sizing:border-box;text-align:center;vertical-align:middle;font-weight:var(--f7-badge-font-weight);font-size:var(--f7-badge-font-size);border-radius:var(--f7-badge-size);padding:var(--f7-badge-padding);height:var(--f7-badge-size);min-width:var(--f7-badge-size)}.icon .badge,.f7-icons .badge,.framework7-icons .badge,.material-icons .badge{position:absolute;left:100%;margin-left:-10px;top:-2px;font-family:var(--f7-font-family);--f7-badge-font-size: var(--f7-badge-in-icon-font-size);--f7-badge-size: var(--f7-badge-in-icon-size);--f7-badge-padding: 0px 2px}.badge[class*=color-]{--f7-badge-bg-color: var(--f7-theme-color)}:root{--f7-button-font-size: 14px;--f7-button-min-width: 32px;--f7-button-bg-color: transparent;--f7-button-border-width: 0px;--f7-button-raised-box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);--f7-button-raised-pressed-box-shadow: 0 3px 6px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23);--f7-segmented-raised-divider-color: rgba(0, 0, 0, .1);--f7-segmented-strong-padding: 2px;--f7-segmented-strong-between-buttons: 4px;--f7-segmented-strong-button-font-weight: 500;--f7-segmented-strong-button-active-box-shadow: 0px 2px 2px rgba(0, 0, 0, .25);--f7-segmented-strong-button-text-color: #000;--f7-segmented-strong-button-hover-bg-color: rgba(0, 0, 0, .04);--f7-segmented-strong-button-active-text-color: #000;--f7-segmented-strong-button-active-bg-color: #fff}:root .dark,:root.dark{--f7-segmented-strong-button-hover-bg-color: rgba(255, 255, 255, .02);--f7-segmented-strong-button-active-bg-color: rgba(255, 255, 255, .14);--f7-segmented-strong-button-text-color: #fff;--f7-segmented-strong-button-active-text-color: #fff}.ios{--f7-button-fill-text-color: #fff;--f7-button-text-transform: uppercase;--f7-button-height: 28px;--f7-button-padding-horizontal: 10px;--f7-button-border-radius: 4px;--f7-button-font-weight: 600;--f7-button-letter-spacing: 0;--f7-button-outline-border-width: 2px;--f7-button-large-text-transform: uppercase;--f7-button-large-height: 44px;--f7-button-large-font-size: 17px;--f7-button-large-font-weight: 500;--f7-button-small-outline-border-width: 2px;--f7-button-small-text-transform: uppercase;--f7-button-small-height: 26px;--f7-button-small-font-size: 13px;--f7-button-small-font-weight: 600;--f7-segmented-strong-button-text-transform: none;--f7-segmented-strong-button-active-font-weight: 600;--f7-button-tonal-bg-color: rgba(var(--f7-theme-color-rgb), .15);--f7-button-tonal-pressed-bg-color: rgba(var(--f7-theme-color-rgb), .25);--f7-button-tonal-text-color: var(--f7-theme-color);--f7-segmented-strong-bg-color: rgba(0, 0, 0, .07);--f7-segmented-strong-button-pressed-bg-color: rgba(0, 0, 0, .07)}.ios .dark,.ios.dark{--f7-segmented-strong-bg-color: rgba(255, 255, 255, .1);--f7-segmented-strong-button-pressed-bg-color: rgba(255, 255, 255, .04)}.md{--f7-button-text-transform: none;--f7-button-height: 40px;--f7-button-padding-horizontal: 16px;--f7-button-border-radius: 8px;--f7-button-font-weight: 500;--f7-button-letter-spacing: normal;--f7-button-outline-border-width: 1px;--f7-button-large-text-transform: none;--f7-button-large-height: 48px;--f7-button-large-font-size: 14px;--f7-button-large-font-weight: 500;--f7-button-small-text-transform: none;--f7-button-small-outline-border-width: 1px;--f7-button-small-height: 32px;--f7-button-small-font-size: 14px;--f7-button-small-font-weight: 500;--f7-segmented-strong-button-text-transform: none;--f7-segmented-strong-button-active-font-weight: 500;--f7-segmented-strong-button-pressed-bg-color: transparent}.md,.md .dark,.md [class*=color-]{--f7-button-fill-pressed-bg-color: transparent;--f7-button-fill-text-color: var(--f7-md-on-primary);--f7-button-outline-border-color: var(--f7-md-outline);--f7-segmented-strong-bg-color: var(--f7-md-surface-variant);--f7-button-tonal-bg-color: var(--f7-md-secondary-container);--f7-button-tonal-pressed-bg-color: transparent;--f7-button-tonal-text-color: var(--f7-md-on-secondary-container)}button{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%}.button{--f7-touch-ripple-color: rgba(var(--f7-theme-color-rgb), .25);-webkit-text-decoration:none;text-decoration:none;text-align:center;display:flex;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;margin:0;white-space:nowrap;text-overflow:ellipsis;position:relative;overflow:hidden;font-family:inherit;cursor:pointer;outline:0;box-sizing:border-box;vertical-align:middle;justify-content:center;align-items:center;border:var(--f7-button-border-width, 0px) solid var(--f7-button-border-color, var(--f7-theme-color));font-size:var(--f7-button-font-size);color:var(--f7-button-text-color, var(--f7-theme-color));height:var(--f7-button-height);line-height:calc(var(--f7-button-height) - var(--f7-button-border-width, 0) * 2);padding:var(--f7-button-padding-vertical, 0px) var(--f7-button-padding-horizontal);border-radius:var(--f7-button-border-radius);min-width:var(--f7-button-min-width);font-weight:var(--f7-button-font-weight);letter-spacing:var(--f7-button-letter-spacing);text-transform:var(--f7-button-text-transform);background-color:var(--f7-button-bg-color);box-shadow:var(--f7-button-box-shadow)}.button.active-state{color:var(--f7-button-pressed-text-color, var(--f7-button-text-color, var(--f7-theme-color)))}input[type=submit].button,input[type=button].button,input[type=reset].button{width:100%}.button>i+span,.button>span+span,.button>span~i{margin-left:4px}.subnavbar .button,.navbar .button,.toolbar .button,.searchbar .button{color:var(--f7-button-text-color, var(--f7-theme-color))}.button-round,.ios .button-round-ios,.md .button-round-md{--f7-button-border-radius: var(--f7-button-height)}.button-fill,.ios .button-fill-ios,.md .button-fill-md,.button-active,.button.tab-link-active{--f7-button-bg-color: var(--f7-button-fill-bg-color, var(--f7-theme-color));--f7-button-text-color: var(--f7-button-fill-text-color, #fff);--f7-touch-ripple-color: var(--f7-touch-ripple-white)}.ios .color-white .button-fill,.ios .color-white .ios .button-fill-ios,.ios .color-white .md .button-fill-md,.ios .color-white .button-active,.ios .color-white .button.tab-link-active,.ios .button-fill.color-white,.ios .ios .button-fill-ios.color-white,.ios .md .button-fill-md.color-white,.ios .button-active.color-white,.ios .button.tab-link-active.color-white{--f7-button-text-color: #000}.button-fill,.ios .button-fill-ios,.md .button-fill-md{--f7-button-pressed-bg-color: var(--f7-button-fill-pressed-bg-color)}.button-active,.button.tab-link-active{--f7-button-pressed-bg-color: var(--f7-button-bg-color)}.button-outline,.ios .button-outline-ios,.md .button-outline-md{--f7-button-border-color: var(--f7-button-outline-border-color, var(--f7-theme-color));--f7-button-border-width: var(--f7-button-outline-border-width)}.button-tonal,.ios .button-tonal-ios,.md .button-tonal-md{--f7-button-bg-color: var(--f7-button-tonal-bg-color);--f7-button-text-color: var(--f7-button-tonal-text-color);--f7-button-pressed-bg-color: var(--f7-button-tonal-pressed-bg-color)}.button-large,.ios .button-large-ios,.md .button-large-md{--f7-button-height: var(--f7-button-large-height);--f7-button-font-size: var(--f7-button-large-font-size);--f7-button-font-weight: var(--f7-button-large-font-weight);--f7-button-text-transform: var(--f7-button-large-text-transform)}.button-small,.ios .button-small-ios,.md .button-small-md{--f7-button-outline-border-width: var(--f7-button-small-outline-border-width);--f7-button-height: var(--f7-button-small-height);--f7-button-font-size: var(--f7-button-small-font-size);--f7-button-font-weight: var(--f7-button-small-font-weight);--f7-button-text-transform: var(--f7-button-small-text-transform)}.ios .button-small.button-fill,.ios .button-small-ios.button-fill,.ios .button-small.button-fill-ios{--f7-button-border-width: var(--f7-button-small-outline-border-width);--f7-button-pressed-text-color: var(--f7-theme-color);--f7-button-pressed-bg-color: transparent}.segmented{align-self:center;display:flex;flex-wrap:nowrap;border-radius:var(--f7-button-border-radius);box-shadow:var(--f7-button-box-shadow);box-sizing:border-box}.segmented .button,.segmented button{width:100%;flex-shrink:1;min-width:0;border-radius:0}.segmented .button:first-child{border-radius:var(--f7-button-border-radius) 0 0 var(--f7-button-border-radius)}.segmented .button:not(.button-outline):first-child{border-left:none}.segmented .button.button-outline:nth-child(n+2){border-left:none}.segmented .button:last-child{border-radius:0 var(--f7-button-border-radius) var(--f7-button-border-radius) 0}.segmented .button-round:first-child{border-radius:var(--f7-button-height) 0 0 var(--f7-button-height)}.segmented .button-round:last-child{border-radius:0 var(--f7-button-height) var(--f7-button-height) 0}.segmented .button:first-child:last-child{border-radius:var(--f7-button-border-radius)}.segmented-raised,.ios .segmented-raised-ios,.md .segmented-raised-md{box-shadow:var(--f7-button-raised-box-shadow)}.segmented-raised .button:not(.button-outline),.ios .segmented-raised-ios .button:not(.button-outline),.md .segmented-raised-md .button:not(.button-outline){border-left:1px solid var(--f7-segmented-raised-divider-color)}.button-raised,.ios .button-raised-ios,.md .button-raised-md{--f7-button-box-shadow: var(--f7-button-raised-box-shadow)}.button-raised.active-state,.ios .button-raised-ios.active-state,.md .button-raised-md.active-state{--f7-button-box-shadow: var(--f7-button-raised-pressed-box-shadow)}.segmented-strong,.ios .segmented-strong-ios,.md .segmented-strong-md{--f7-button-bg-color: transparent;--f7-button-hover-bg-color: var(--f7-segmented-strong-button-hover-bg-color);--f7-button-text-color: var(--f7-segmented-strong-button-text-color);--f7-button-font-weight: var(--f7-segmented-strong-button-font-weight);--f7-button-text-transform: var(--f7-segmented-strong-button-text-transform);--f7-button-pressed-bg-color: var(--f7-segmented-strong-button-pressed-bg-color);position:relative;background:var(--f7-segmented-strong-bg-color);border-radius:calc(var(--f7-button-border-radius) + 2px);box-shadow:none;padding:var(--f7-segmented-strong-padding);overflow:hidden}.segmented-strong .button,.ios .segmented-strong-ios .button,.md .segmented-strong-md .button{z-index:1;transform:translateZ(0)}.segmented-strong .button,.ios .segmented-strong-ios .button,.md .segmented-strong-md .button,.segmented-strong .button:first-child,.ios .segmented-strong-ios .button:first-child,.md .segmented-strong-md .button:first-child,.segmented-strong .button:last-child,.ios .segmented-strong-ios .button:last-child,.md .segmented-strong-md .button:last-child{border-radius:var(--f7-button-border-radius)}.segmented-strong .button+.button,.ios .segmented-strong-ios .button+.button,.md .segmented-strong-md .button+.button{margin-left:var(--f7-segmented-strong-between-buttons)}.segmented-strong .button.button-active,.ios .segmented-strong-ios .button.button-active,.md .segmented-strong-md .button.button-active,.segmented-strong .button.tab-link-active,.ios .segmented-strong-ios .button.tab-link-active,.md .segmented-strong-md .button.tab-link-active{--f7-button-hover-bg-color: transparent;--f7-button-bg-color: transparent;--f7-button-text-color: var(--f7-segmented-strong-button-active-text-color);--f7-button-font-weight: var(--f7-segmented-strong-button-active-font-weight)}.segmented-strong .segmented-highlight,.ios .segmented-strong-ios .segmented-highlight,.md .segmented-strong-md .segmented-highlight{--f7-segmented-highlight-num: 1;--f7-segmented-highlight-active: 0;--f7-segmented-highlight-padding: calc(var(--f7-segmented-strong-padding) * 2);--f7-segmented-highlight-between: var(--f7-segmented-strong-between-buttons);--f7-segmented-highlight-width: calc((100% - var(--f7-segmented-highlight-padding) - var(--f7-segmented-highlight-between) * (var(--f7-segmented-highlight-num) - 1)) / var(--f7-segmented-highlight-num));position:absolute;background-color:var(--f7-segmented-strong-button-active-bg-color);border-radius:var(--f7-button-border-radius);box-shadow:var(--f7-segmented-strong-button-active-box-shadow);left:var(--f7-segmented-strong-padding);top:var(--f7-segmented-strong-padding);height:calc(100% - var(--f7-segmented-strong-padding) * 2);width:var(--f7-segmented-highlight-width);z-index:0;transform:translate(calc(var(--f7-segmented-highlight-active) * 100% + var(--f7-segmented-highlight-active) * var(--f7-segmented-highlight-between)));transition:.2s}.button:nth-child(2)~.segmented-highlight{--f7-segmented-highlight-num: 2}.button:nth-child(3)~.segmented-highlight{--f7-segmented-highlight-num: 3}.button:nth-child(4)~.segmented-highlight{--f7-segmented-highlight-num: 4}.button:nth-child(5)~.segmented-highlight{--f7-segmented-highlight-num: 5}.button:nth-child(6)~.segmented-highlight{--f7-segmented-highlight-num: 6}.button:nth-child(7)~.segmented-highlight{--f7-segmented-highlight-num: 7}.button:nth-child(8)~.segmented-highlight{--f7-segmented-highlight-num: 8}.button:nth-child(9)~.segmented-highlight{--f7-segmented-highlight-num: 9}.button:nth-child(10)~.segmented-highlight{--f7-segmented-highlight-num: 10}.button-active:nth-child(2)~.segmented-highlight,.tab-link-active:nth-child(2)~.segmented-highlight{--f7-segmented-highlight-active: 1}.button-active:nth-child(3)~.segmented-highlight,.tab-link-active:nth-child(3)~.segmented-highlight{--f7-segmented-highlight-active: 2}.button-active:nth-child(4)~.segmented-highlight,.tab-link-active:nth-child(4)~.segmented-highlight{--f7-segmented-highlight-active: 3}.button-active:nth-child(5)~.segmented-highlight,.tab-link-active:nth-child(5)~.segmented-highlight{--f7-segmented-highlight-active: 4}.button-active:nth-child(6)~.segmented-highlight,.tab-link-active:nth-child(6)~.segmented-highlight{--f7-segmented-highlight-active: 5}.button-active:nth-child(7)~.segmented-highlight,.tab-link-active:nth-child(7)~.segmented-highlight{--f7-segmented-highlight-active: 6}.button-active:nth-child(8)~.segmented-highlight,.tab-link-active:nth-child(8)~.segmented-highlight{--f7-segmented-highlight-active: 7}.button-active:nth-child(9)~.segmented-highlight,.tab-link-active:nth-child(9)~.segmented-highlight{--f7-segmented-highlight-active: 8}.button-active:nth-child(10)~.segmented-highlight,.tab-link-active:nth-child(10)~.segmented-highlight{--f7-segmented-highlight-active: 9}.segmented-round,.ios .segmented-round-ios,.md .segmented-round-md,.segmented-round .segmented-highlight,.ios .segmented-round-ios .segmented-highlight,.md .segmented-round-md .segmented-highlight{border-radius:var(--f7-button-height)}.subnavbar .segmented{width:100%}.button-preloader{position:relative;--f7-preloader-color: var(--f7-button-text-color, var(--f7-theme-color))}.button-preloader:not(.button-large){--f7-preloader-size: calc(var(--f7-button-height) - 6px)}.button-preloader.button-fill{--f7-preloader-color: #fff}.button-preloader>span:not(.preloader){transition:.2s;display:inline-flex;align-items:center;align-content:center;justify-content:center;transform:scale(1)}.button-preloader>.preloader{position:absolute;left:50%;top:50%;transition:.2s;transition-property:opacity;opacity:0;visibility:hidden;margin-left:calc(-1 * var(--f7-preloader-size) / 2);margin-top:calc(-1 * var(--f7-preloader-size) / 2)}.button-preloader.button-loading>span:not(.preloader){opacity:0;transform:scale(0)}.button-preloader.button-loading>.preloader{opacity:1;visibility:visible}.ios .button{transition-duration:.1s}.ios .button.active-state{background-color:var(--f7-button-pressed-bg-color, rgba(var(--f7-theme-color-rgb), .15))}.ios .button-fill,.ios .button-fill-ios{--f7-button-pressed-bg-color: var(--f7-button-fill-pressed-bg-color, var(--f7-theme-color-tint))}.ios .button-small,.ios .button-small-ios{transition-duration:.2s}.md .button{transition-duration:.3s;transform:translateZ(0)}.md .button-fill,.md .button-fill-md{--f7-button-pressed-bg-color: var(--f7-button-fill-pressed-bg-color, transparent)}:root{--f7-touch-ripple-black: rgba(0, 0, 0, .1);--f7-touch-ripple-white: rgba(255, 255, 255, .15);--f7-touch-ripple-color: var(--f7-touch-ripple-black)}.dark{--f7-touch-ripple-color: var(--f7-touch-ripple-white)}.ripple,.fab a,.link,.item-link,.list-button,.button,.dialog-button,.tab-link,.radio,.checkbox,.actions-button,.speed-dial-buttons a{-webkit-user-select:none;user-select:none}.ripple-wave{left:0;top:0;position:absolute!important;border-radius:50%;pointer-events:none;z-index:-1;padding:0;margin:0;font-size:0;transform:translateZ(0) scale(0);background-color:var(--f7-touch-ripple-color);animation:touch-ripple-in .2s forwards}.ripple-wave.ripple-wave-inset{background-image:none;background-color:var(--f7-touch-ripple-color)}.ripple-wave.ripple-wave-out{transform:var(--f7-ripple-transform);animation:touch-ripple-out .25s forwards!important}.item-link .ripple-wave,.list label.item-content .ripple-wave,.list-button .ripple-wave,.links-list a .ripple-wave,.button .ripple-wave,button .ripple-wave,.dialog-button .ripple-wave,.tab-link .ripple-wave,.item-radio .ripple-wave,.item-checkbox .ripple-wave,.actions-button .ripple-wave,.fab a .ripple-wave,.stepper-button .ripple-wave,.stepper-button-minus .ripple-wave,.stepper-button-plus .ripple-wave,.list.accordion-list .accordion-item-toggle .ripple-wave,.photo-browser .toolbar .link .ripple-wave,.ripple-blur .ripple-wave{animation:touch-ripple-in-blurred .25s forwards;background-image:radial-gradient(closest-side circle at 50% 50%,var(--f7-touch-ripple-color) 50%,rgba(255,255,255,0));background-color:transparent}.checkbox .ripple-wave,.radio .ripple-wave,.data-table .sortable-cell .ripple-wave{z-index:0}[class*=ripple-color-]{--f7-touch-ripple-color: var(--f7-theme-color-ripple-color)}@keyframes touch-ripple-in-blurred{0%{transform:translateZ(0) scale(.5)}to{transform:var(--f7-ripple-transform)}}@keyframes touch-ripple-in{0%{transform:translateZ(0) scale(0)}to{transform:var(--f7-ripple-transform)}}@keyframes touch-ripple-out{0%{opacity:1}to{opacity:0}}.f7-icons,.material-icons{width:1em;height:1em}i.icon{display:inline-block;vertical-align:middle;background-size:100% auto;background-position:center;background-repeat:no-repeat;font-style:normal;position:relative}.icon-back:after,.icon-prev:after,.icon-forward:after,.icon-next:after{font-family:framework7-core-icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga";text-align:center;display:block;width:100%;height:100%;font-size:20px}.icon[class*=color-]{color:var(--f7-theme-color)}.ios .icon-back,.ios .icon-prev,.ios .icon-forward,.ios .icon-next{width:12px;height:20px;line-height:20px}.ios .icon-back:after,.ios .icon-prev:after,.ios .icon-forward:after,.ios .icon-next:after{line-height:inherit}.ios .icon-prev:after,.ios .icon-next:after{font-size:16px}.ios .icon-back:after,.ios .icon-prev:after{content:"chevron_left_ios"}.ios .icon-forward:after,.ios .icon-next:after{content:"chevron_right_ios"}.md .icon-back,.md .icon-forward,.md .icon-next,.md .icon-prev{width:24px;height:24px}.md .icon-back:after,.md .icon-forward:after,.md .icon-next:after,.md .icon-prev:after{line-height:1.2}.md .icon-back:after{content:"arrow_left_md"}.md .icon-forward:after{content:"arrow_right_md"}.md .icon-next:after{content:"chevron_right_md"}.md .icon-prev:after{content:"chevron_left_md"}.custom-modal-backdrop{z-index:10500}.custom-modal-backdrop,.actions-backdrop,.dialog-backdrop,.popover-backdrop,.popup-backdrop,.preloader-backdrop,.sheet-backdrop,.fab-backdrop{position:absolute;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.4);z-index:13000;visibility:hidden;opacity:0;transition-duration:.4s}.custom-modal-backdrop.not-animated,.actions-backdrop.not-animated,.dialog-backdrop.not-animated,.popover-backdrop.not-animated,.popup-backdrop.not-animated,.preloader-backdrop.not-animated,.sheet-backdrop.not-animated,.fab-backdrop.not-animated{transition-duration:0ms}.custom-modal-backdrop.backdrop-in,.actions-backdrop.backdrop-in,.dialog-backdrop.backdrop-in,.popover-backdrop.backdrop-in,.popup-backdrop.backdrop-in,.preloader-backdrop.backdrop-in,.sheet-backdrop.backdrop-in,.fab-backdrop.backdrop-in{visibility:visible;opacity:1}:root{--f7-dialog-button-text-color: var(--f7-theme-color);--f7-dialog-button-text-align: center}.ios{--f7-dialog-width: 270px;--f7-dialog-inner-padding: 16px;--f7-dialog-border-radius: 13px;--f7-dialog-text-align: center;--f7-dialog-font-size: 14px;--f7-dialog-title-text-color: inherit;--f7-dialog-title-font-size: 18px;--f7-dialog-title-font-weight: 600;--f7-dialog-title-line-height: inherit;--f7-dialog-button-font-size: 17px;--f7-dialog-button-height: 44px;--f7-dialog-button-letter-spacing: 0;--f7-dialog-button-font-weight: 400;--f7-dialog-button-text-transform: none;--f7-dialog-button-strong-bg-color: transparent;--f7-dialog-button-strong-text-color: var(--f7-theme-color);--f7-dialog-button-strong-font-weight: 500;--f7-dialog-input-border-radius: 4px;--f7-dialog-input-font-size: 14px;--f7-dialog-input-height: 32px;--f7-dialog-input-border-width: 1px;--f7-dialog-input-placeholder-color: #a9a9a9;--f7-dialog-preloader-size: 34px;--f7-dialog-input-bg-color: #fff;--f7-dialog-bg-color: rgba(255, 255, 255, .95);--f7-dialog-bg-color-rgb: 255, 255, 255;--f7-dialog-text-color: #000;--f7-dialog-button-pressed-bg-color: rgba(0, 0, 0, .1);--f7-dialog-button-strong-pressed-bg-color: rgba(0, 0, 0, .1);--f7-dialog-input-border-color: rgba(0, 0, 0, .3);--f7-dialog-border-divider-color: rgba(0, 0, 0, .2)}.ios .dark,.ios.dark{--f7-dialog-text-color: #fff;--f7-dialog-bg-color: rgba(45, 45, 45, .95);--f7-dialog-bg-color-rgb: 45, 45, 45;--f7-dialog-button-pressed-bg-color: rgba(0, 0, 0, .2);--f7-dialog-button-strong-pressed-bg-color: rgba(0, 0, 0, .2);--f7-dialog-border-divider-color: rgba(255, 255, 255, .15);--f7-dialog-input-border-color: rgba(255, 255, 255, .15);--f7-dialog-input-bg-color: rgba(0, 0, 0, .5)}.md{--f7-dialog-width: 280px;--f7-dialog-inner-padding: 24px;--f7-dialog-border-radius: 28px;--f7-dialog-text-align: left;--f7-dialog-font-size: 14px;--f7-dialog-title-font-size: 24px;--f7-dialog-title-font-weight: 400;--f7-dialog-title-line-height: 1.3;--f7-dialog-button-font-size: 14px;--f7-dialog-button-height: 40px;--f7-dialog-button-letter-spacing: normal;--f7-dialog-button-font-weight: 500;--f7-dialog-button-text-transform: none;--f7-dialog-button-strong-font-weight: 500;--f7-dialog-input-border-radius: 0px;--f7-dialog-input-font-size: 16px;--f7-dialog-input-height: 36px;--f7-dialog-input-border-color: transparent;--f7-dialog-input-border-width: 0px;--f7-dialog-preloader-size: 32px;--f7-dialog-input-bg-color: transparent}.md,.md .dark,.md [class*=color-]{--f7-dialog-button-pressed-bg-color: transparent;--f7-dialog-button-strong-bg-color: var(--f7-theme-color);--f7-dialog-button-strong-text-color: var(--f7-md-on-primary);--f7-dialog-button-strong-pressed-bg-color: transparent;--f7-dialog-bg-color: var(--f7-md-surface-3);--f7-dialog-input-placeholder-color: var(--f7-md-on-surface-variant);--f7-dialog-text-color: var(--f7-md-on-surface-variant);--f7-dialog-title-text-color: var(--f7-md-on-surface)}.dialog{position:absolute;z-index:13500;left:50%;margin-top:0;top:50%;overflow:hidden;opacity:0;transform:translate3d(0,-50%,0) scale(1.185);transition-property:transform,opacity;display:none;transition-duration:.4s;width:var(--f7-dialog-width);margin-left:calc(-1 * var(--f7-dialog-width) / 2);border-radius:var(--f7-dialog-border-radius);text-align:var(--f7-dialog-text-align);color:var(--f7-dialog-text-color);font-size:var(--f7-dialog-font-size);background:var(--f7-dialog-bg-color);will-change:transform,opacity}@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))){.ios-translucent-modals .dialog{background-color:rgba(var(--f7-dialog-bg-color-rgb),.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.dialog.modal-in{opacity:1;transform:translate3d(0,-50%,0) scale(1)}.dialog.modal-out{opacity:0;z-index:13499}.dialog.not-animated{transition-duration:0ms}.dialog-inner{position:relative;padding:var(--f7-dialog-inner-padding)}.dialog-title{color:var(--f7-dialog-title-text-color);font-size:var(--f7-dialog-title-font-size);font-weight:var(--f7-dialog-title-font-weight);line-height:var(--f7-dialog-title-line-height)}.dialog-buttons{position:relative;display:flex}.dialog-buttons-vertical .dialog-buttons{display:block;height:auto!important}.dialog-button{box-sizing:border-box;overflow:hidden;position:relative;white-space:nowrap;text-overflow:ellipsis;color:var(--f7-dialog-button-text-color);font-size:var(--f7-dialog-button-font-size);height:var(--f7-dialog-button-height);line-height:var(--f7-dialog-button-height);letter-spacing:var(--f7-dialog-button-letter-spacing);text-align:var(--f7-dialog-button-text-align);font-weight:var(--f7-dialog-button-font-weight);text-transform:var(--f7-dialog-button-text-transform);display:block;cursor:pointer}.dialog-button.active-state{background-color:var(--f7-dialog-button-pressed-bg-color)}.dialog-button-strong{background-color:var(--f7-dialog-button-strong-bg-color);color:var(--f7-dialog-button-strong-text-color);font-weight:var(--f7-dialog-button-strong-font-weight)}.dialog-button-strong.active-state{background-color:var(--f7-dialog-button-strong-pressed-bg-color)}.dialog-no-buttons .dialog-buttons{display:none}.dialog-input-field{position:relative}input.dialog-input[type]{box-sizing:border-box;margin:15px 0 0;border-radius:var(--f7-dialog-input-border-radius);-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;display:block;font-family:inherit;box-shadow:none;font-size:var(--f7-dialog-input-font-size);height:var(--f7-dialog-input-height);background-color:var(--f7-dialog-input-bg-color);border:var(--f7-dialog-input-border-width) solid var(--f7-dialog-input-border-color)}input.dialog-input[type]::placeholder{color:var(--f7-dialog-input-placeholder-color)}.dialog-input-double input.dialog-input{border-radius:var(--f7-dialog-input-border-radius) var(--f7-dialog-input-border-radius) 0 0}.dialog-input-double+.dialog-input-double input.dialog-input{border-radius:0 0 var(--f7-dialog-input-border-radius) var(--f7-dialog-input-border-radius)}.dialog-preloader .preloader{--f7-preloader-size: var(--f7-dialog-preloader-size)}html.with-modal-dialog .page-content{overflow:hidden;-webkit-overflow-scrolling:auto}.ios .dialog.modal-out{transform:translate3d(0,-50%,0) scale(1)}.ios .dialog-inner{border-radius:var(--f7-dialog-border-radius) var(--f7-dialog-border-radius) 0 0}.ios .dialog-inner:after{content:"";position:absolute;background-color:var(--f7-dialog-border-divider-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.ios .dialog-title+.dialog-text{margin-top:5px}.ios .dialog-buttons{height:44px;justify-content:center}.ios .dialog-button{width:100%;padding:0 5px;-webkit-box-flex:1;-ms-flex:1}.ios .dialog-button:after{content:"";position:absolute;background-color:var(--f7-dialog-border-divider-color);display:block;z-index:15;top:0;right:0;bottom:auto;left:auto;width:1px;height:100%;transform-origin:100% 50%;transform:scaleX(calc(1 / var(--f7-device-pixel-ratio)))}.ios .dialog-button:first-child{border-radius:0 0 0 var(--f7-dialog-border-radius)}.ios .dialog-button:last-child{border-radius:0 0 var(--f7-dialog-border-radius) 0}.ios .dialog-button:last-child:after{display:none!important}.ios .dialog-button:first-child:last-child{border-radius:0 0 var(--f7-dialog-border-radius) var(--f7-dialog-border-radius)}.ios .dialog-button[class*=color-]{--f7-dialog-button-text-color: var(--f7-theme-color)}.ios .dialog-buttons-vertical .dialog-buttons{height:auto}.ios .dialog-buttons-vertical .dialog-button{border-radius:0}.ios .dialog-buttons-vertical .dialog-button:after{content:"";position:absolute;background-color:var(--f7-dialog-border-divider-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.ios .dialog-buttons-vertical .dialog-button:last-child{border-radius:0 0 var(--f7-dialog-border-radius) var(--f7-dialog-border-radius)}.ios .dialog-buttons-vertical .dialog-button:last-child:after{display:none!important}.ios .dialog-no-buttons .dialog-inner{border-radius:var(--f7-dialog-border-radius)}.ios .dialog-no-buttons .dialog-inner:after{display:none!important}.ios .dialog-input-field{margin-top:15px}.ios .dialog-input{padding:0 5px}.ios .dialog-input+.dialog-input{margin-top:5px}.ios .dialog-input-double+.dialog-input-double{margin-top:0}.ios .dialog-input-double+.dialog-input-double .dialog-input{border-top:0;margin-top:0}.ios .dialog-preloader .dialog-title~.preloader,.ios .dialog-preloader .dialog-text~.preloader{margin-top:15px}.ios .dialog-progress .dialog-title~.progressbar,.ios .dialog-progress .dialog-text~.progressbar,.ios .dialog-progress .dialog-title~.progressbar-infinite,.ios .dialog-progress .dialog-text~.progressbar-infinite{margin-top:15px}.md .dialog.modal-out{transform:translate3d(0,-50%,0) scale(.815)}.md .dialog-title+.dialog-text{margin-top:20px}.md .dialog-text{line-height:1.5}.md .dialog-buttons{height:64px;padding:0 24px 24px;overflow:hidden;box-sizing:border-box;justify-content:flex-end}.md .dialog-button{--f7-touch-ripple-color: rgba(var(--f7-theme-color-rgb), .25);border-radius:99px;min-width:64px;padding:0 16px;border:none;transition-duration:.3s;transform:translateZ(0)}.md .dialog-button+.dialog-button{margin-left:8px}.md .dialog-button-strong{--f7-touch-ripple-color: var(--f7-touch-ripple-white)}.md .dialog-button[class*=color-]{--f7-dialog-button-text-color: var(--f7-theme-color)}.md .dialog-buttons-vertical .dialog-buttons{display:flex;flex-direction:column;align-items:flex-end}.md .dialog-buttons-vertical .dialog-button+.dialog-button{margin-top:8px;margin-left:0}.md .dialog-input{padding:0;transition-duration:.2s;position:relative}.md .dialog-input+.dialog-input{margin-top:16px}.md .dialog-preloader .dialog-title,.md .dialog-progress .dialog-title,.md .dialog-preloader .dialog-inner,.md .dialog-progress .dialog-inner{text-align:center}.md .dialog-preloader .dialog-title~.preloader,.md .dialog-preloader .dialog-text~.preloader{margin-top:20px}.md .dialog-progress .dialog-title~.progressbar,.md .dialog-progress .dialog-text~.progressbar,.md .dialog-progress .dialog-title~.progressbar-infinite,.md .dialog-progress .dialog-text~.progressbar-infinite{margin-top:16px}:root{--f7-popup-border-radius: 0px;--f7-popup-tablet-width: 630px;--f7-popup-tablet-height: 630px;--f7-popup-push-offset: var(--f7-safe-area-top)}.ios{--f7-popup-tablet-border-radius: 5px;--f7-popup-transition-duration: .4s;--f7-popup-transition-timing-function: initial;--f7-popup-push-border-radius: 10px}.md{--f7-popup-tablet-border-radius: 28px;--f7-popup-transition-duration: .6s;--f7-popup-transition-timing-function: cubic-bezier(0, 1, .2, 1);--f7-popup-push-border-radius: 28px}.popup-backdrop{z-index:10500}.popup-backdrop-unique{z-index:11000}.popup{position:absolute;left:0;top:0;width:100%;height:100%;display:none;box-sizing:border-box;transition-property:transform;transition-timing-function:var(--f7-popup-transition-timing-function);transform:translate3d(0,100vh,0);background:#fff;z-index:11000;overflow:hidden;border-radius:var(--f7-popup-border-radius)}.dark .popup,.popup.dark{background:#000}.popup.modal-in,.popup.modal-out{transition-duration:var(--f7-popup-transition-duration)}.popup.not-animated{transition-duration:0ms}.popup.modal-in{display:block;transform:translateZ(0)}.popup.modal-out{transform:translate3d(0,100vh,0)}.popup.swipe-close-to-top.modal-out{transform:translate3d(0,-100vh,0)}@media (min-width: 630px) and (min-height: 630px){.popup:not(.popup-tablet-fullscreen){--f7-safe-area-top: 0px;--f7-safe-area-bottom: 0px;width:var(--f7-popup-tablet-width);height:var(--f7-popup-tablet-height);left:50%;top:50%;margin-left:calc(-1 * var(--f7-popup-tablet-width) / 2);margin-top:calc(-1 * var(--f7-popup-tablet-height) / 2);transform:translate3d(0,100vh,0);border-radius:var(--f7-popup-tablet-border-radius, var(--f7-popup-border-radius))}.popup:not(.popup-tablet-fullscreen).modal-in{transform:translateZ(0)}.popup:not(.popup-tablet-fullscreen).modal-out{transform:translate3d(0,100vh,0)}.popup:not(.popup-tablet-fullscreen).swipe-close-to-top.modal-out{transform:translate3d(0,-100vh,0)}.popup:not(.popup-tablet-fullscreen).popup-behind{transform:translateZ(0) scale(.9);pointer-events:none}.popup:not(.popup-tablet-fullscreen).popup-behind.modal-out{transform:translate3d(0,100vh,0) scale(.9)}html.with-modal-popup-push .popup-push:not(.popup-tablet-fullscreen){margin-top:0}}html.with-modal-popup .framework7-root>.views .page-content,html.with-modal-popup .framework7-root>.view .page-content,html.with-modal-popup .framework7-root>.panel .page-content{overflow:hidden;-webkit-overflow-scrolling:auto}html.with-modal-popup-push .popup-push,html.with-modal-popup-push-closing .popup-push{top:calc(var(--f7-popup-push-offset) + 10px);height:calc(100% - var(--f7-popup-push-offset) - 10px);border-radius:var(--f7-popup-push-border-radius) var(--f7-popup-push-border-radius) 0 0;--f7-safe-area-top: 0px}html.with-modal-popup-push .popup-push .view,html.with-modal-popup-push-closing .popup-push .view,html.with-modal-popup-push .popup-push .page,html.with-modal-popup-push-closing .popup-push .page{--f7-safe-area-top: 0px}html.with-modal-popup-push .framework7-root,html.with-modal-popup-push-closing .framework7-root{background:#000}html.with-modal-popup-push .framework7-root>.views,html.with-modal-popup-push-closing .framework7-root>.views,html.with-modal-popup-push .framework7-root>.view,html.with-modal-popup-push-closing .framework7-root>.view{transition-duration:var(--f7-popup-transition-duration);transition-timing-function:var(--f7-popup-transition-timing-function)}html.with-modal-popup-push.dark .framework7-root>.views:after,html.with-modal-popup-push-closing.dark .framework7-root>.views:after,html.with-modal-popup-push.dark .framework7-root>.view:after,html.with-modal-popup-push-closing.dark .framework7-root>.view:after,html.with-modal-popup-push .dark .framework7-root>.views:after,html.with-modal-popup-push-closing .dark .framework7-root>.views:after,html.with-modal-popup-push .dark .framework7-root>.view:after,html.with-modal-popup-push-closing .dark .framework7-root>.view:after,html.with-modal-popup-push .dark.framework7-root>.views:after,html.with-modal-popup-push-closing .dark.framework7-root>.views:after,html.with-modal-popup-push .dark.framework7-root>.view:after,html.with-modal-popup-push-closing .dark.framework7-root>.view:after,html.with-modal-popup-push .framework7-root>.views.dark:after,html.with-modal-popup-push-closing .framework7-root>.views.dark:after,html.with-modal-popup-push .framework7-root>.view.dark:after,html.with-modal-popup-push-closing .framework7-root>.view.dark:after{content:"";position:absolute;pointer-events:none;left:0;top:0;width:100%;height:100%;background:rgba(255,255,255,.1);z-index:13000;border-radius:var(--f7-popup-push-border-radius) var(--f7-popup-push-border-radius) 0 0;opacity:1;animation:popup-dark-push-overlay-fade-in var(--f7-popup-transition-duration) forwards}html.with-modal-popup-push .framework7-root>.views,html.with-modal-popup-push .framework7-root>.view{border-radius:var(--f7-popup-push-border-radius) var(--f7-popup-push-border-radius) 0 0;transform:translateZ(0) scale(var(--f7-popup-push-scale, 1))!important}html.with-modal-popup-push .popup:after{content:"";pointer-events:none;position:absolute;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.4);z-index:13000;transition-duration:var(--f7-popup-transition-duration);transition-timing-function:var(--f7-popup-transition-timing-function);border-radius:var(--f7-popup-push-border-radius) var(--f7-popup-push-border-radius) 0 0;opacity:0}html.with-modal-popup-push.dark .popup:after,html.with-modal-popup-push .dark .popup:after,html.with-modal-popup-push .dark.popup:after{background:rgba(255,255,255,.05)}html.with-modal-popup-push .popup-behind{transform:translateZ(0) scale(var(--f7-popup-push-scale, 1))}html.with-modal-popup-push .popup-behind.modal-out{transform:translate3d(0,100vh,0) scale(var(--f7-popup-push-scale, 1))}html.with-modal-popup-push .popup-behind:not(.popup-push){border-radius:var(--f7-popup-push-border-radius) var(--f7-popup-push-border-radius) 0 0}html.with-modal-popup-push .popup-behind.popup-push{transform:translate3d(0,calc(0px - var(--f7-popup-push-offset) - 10px),0) scale(var(--f7-popup-push-scale, 1))}html.with-modal-popup-push .popup-behind.popup-push.modal-out{transform:translate3d(0,calc(0px - var(--f7-popup-push-offset) - 10px + 100vh),0) scale(var(--f7-popup-push-scale, 1))}html.with-modal-popup-push .popup-behind:after{opacity:1;pointer-events:auto}html.with-modal-popup-push-closing.dark .framework7-root>.views:after,html.with-modal-popup-push-closing.dark .framework7-root>.view:after,html.with-modal-popup-push-closing .dark .framework7-root>.views:after,html.with-modal-popup-push-closing .dark .framework7-root>.view:after,html.with-modal-popup-push-closing .dark.framework7-root>.views:after,html.with-modal-popup-push-closing .dark.framework7-root>.view:after,html.with-modal-popup-push-closing .framework7-root>.views.dark:after,html.with-modal-popup-push-closing .framework7-root>.view.dark:after{animation:popup-dark-push-overlay-fade-out var(--f7-popup-transition-duration) forwards;animation-timing-function:var(--f7-popup-transition-timing-function)}@keyframes popup-dark-push-overlay-fade-in{0%{opacity:0}to{opacity:1}}@keyframes popup-dark-push-overlay-fade-out{0%{opacity:1}to{opacity:0}}:root{--f7-login-screen-blocks-max-width: 480px;--f7-login-screen-title-text-align: center;--f7-login-screen-title-text-color: inherit;--f7-login-screen-title-letter-spacing: 0}.ios{--f7-login-screen-blocks-margin-vertical: 25px;--f7-login-screen-transition-timing-function: initial;--f7-login-screen-transition-duration: .4s;--f7-login-screen-title-font-weight: 600;--f7-login-screen-title-font-size: 28px;--f7-login-screen-content-bg-color: #fff;--f7-login-screen-bg-color: #fff}.ios .dark,.ios.dark{--f7-login-screen-bg-color: #000;--f7-login-screen-content-bg-color: #000}.md{--f7-login-screen-transition-duration: .6s;--f7-login-screen-transition-timing-function: cubic-bezier(0, 1, .2, 1);--f7-login-screen-blocks-margin-vertical: 24px;--f7-login-screen-title-font-weight: 400;--f7-login-screen-title-font-size: 28px}.md,.md .dark,.md [class*=color-]{--f7-login-screen-content-bg-color: var(--f7-md-surface);--f7-login-screen-bg-color: var(--f7-md-surface)}.login-screen{position:absolute;left:0;top:0;width:100%;height:100%;display:none;box-sizing:border-box;transition-property:transform;transform:translate3d(0,100vh,0);background:var(--f7-login-screen-bg-color);transition-timing-function:var(--f7-login-screen-transition-timing-function);z-index:11000}.login-screen.modal-in,.login-screen.modal-out{transition-duration:var(--f7-login-screen-transition-duration)}.login-screen.not-animated{transition-duration:0ms}.login-screen.modal-in{display:block;transform:translateZ(0)}.login-screen.modal-out{transform:translate3d(0,100%,0)}.login-screen-content,.login-screen-page,.login-screen .page{background:var(--f7-login-screen-content-bg-color)}.login-screen-content .login-screen-title,.login-screen-page .login-screen-title,.login-screen-content .list,.login-screen-page .list,.login-screen-content .block,.login-screen-page .block{margin:var(--f7-login-screen-blocks-margin-vertical) auto}.login-screen-content .login-screen-title,.login-screen-page .login-screen-title,.login-screen-content .list,.login-screen-page .list,.login-screen-content .block,.login-screen-page .block,.login-screen-content .block-footer,.login-screen-page .block-footer,.login-screen-content .block-header,.login-screen-page .block-header{max-width:var(--f7-login-screen-blocks-max-width)}.login-screen-content .list ul,.login-screen-page .list ul{background:none}.login-screen-content .list ul:before,.login-screen-page .list ul:before,.login-screen-content .list ul:after,.login-screen-page .list ul:after{display:none!important}.login-screen-content .block-footer,.login-screen-page .block-footer,.login-screen-content .block-header,.login-screen-page .block-header{text-align:center;margin-left:auto;margin-right:auto}.login-screen-title{text-align:var(--f7-login-screen-title-text-align);font-size:var(--f7-login-screen-title-font-size);font-weight:var(--f7-login-screen-title-font-weight);color:var(--f7-login-screen-title-text-color);letter-spacing:var(--f7-login-screen-title-letter-spacing)}.login-screen-page,.login-screen>.view>.page,.login-screen>.page{display:flex;flex-direction:column}.login-screen-page .page-content,.login-screen>.view>.page .page-content,.login-screen>.page .page-content,.login-screen-page .login-screen-content,.login-screen>.view>.page .login-screen-content,.login-screen>.page .login-screen-content{margin-top:auto;margin-bottom:auto;height:auto;max-height:100%;width:100%}.dark .login-screen-content .list ul,.dark .login-screen-content .block-strong,.dark .login-screen-page .list ul,.dark .login-screen-page .block-strong,.dark.login-screen-page .list ul,.dark.login-screen-page .block-strong{background-color:transparent}:root{--f7-popover-width: 260px}.ios{--f7-popover-border-radius: 13px;--f7-popover-actions-icon-size: 28px;--f7-popover-transition-timing-function: initial;--f7-popover-bg-color: rgba(255, 255, 255, .95);--f7-popover-actions-label-text-color: rgba(0, 0, 0, .45)}.ios .dark,.ios.dark{--f7-popover-bg-color: rgba(30, 30, 30, .95);--f7-popover-actions-label-text-color: rgba(255, 255, 255, .55)}.md{--f7-popover-transition-timing-function: cubic-bezier(0, .8, .34, 1);--f7-popover-border-radius: 28px;--f7-popover-actions-icon-size: 24px}.md,.md .dark,.md [class*=color-]{--f7-popover-bg-color: var(--f7-md-surface-3);--f7-popover-actions-label-text-color: var(--f7-md-on-surface-variant)}.popover-backdrop-unique{z-index:13500}.popover{width:var(--f7-popover-width);z-index:13500;margin:0;top:0;opacity:0;left:0;position:absolute;display:none;transition-duration:.3s;background-color:var(--f7-popover-bg-color);border-radius:var(--f7-popover-border-radius);will-change:transform,opacity;--f7-safe-area-top: 0px;--f7-safe-area-left: 0px;--f7-safe-area-right: 0px;--f7-safe-area-bottom: 0px}.popover .list{margin:0}.popover .list ul{background:none}.popover .list:first-child ul:before{display:none!important}.popover .list:last-child ul:after{display:none!important}.popover .list:first-child ul{border-radius:var(--f7-popover-border-radius) var(--f7-popover-border-radius) 0 0}.popover .list:first-child li:first-child,.popover .list:first-child li:first-child a,.popover .list:first-child li:first-child>label{border-radius:var(--f7-popover-border-radius) var(--f7-popover-border-radius) 0 0}.popover .list:last-child ul{border-radius:0 0 var(--f7-popover-border-radius) var(--f7-popover-border-radius)}.popover .list:last-child li:last-child,.popover .list:last-child li:last-child a,.popover .list:last-child li:last-child>label{border-radius:0 0 var(--f7-popover-border-radius) var(--f7-popover-border-radius)}.popover .list:first-child:last-child li:first-child:last-child,.popover .list:first-child:last-child li:first-child:last-child a,.popover .list:first-child:last-child li:first-child:last-child>label,.popover .list:first-child:last-child ul{border-radius:var(--f7-popover-border-radius)}.popover .list+.list{margin-top:var(--f7-list-margin-vertical)}.popover.modal-in{opacity:1}.popover.not-animated{transition-duration:0ms}.popover,.popover-backdrop{transition-timing-function:var(--f7-popover-transition-timing-function)}.popover-inner{overflow:auto;-webkit-overflow-scrolling:touch}.popover-from-actions .item-link i.icon{width:var(--f7-popover-actions-icon-size);height:var(--f7-popover-actions-icon-size);font-size:var(--f7-popover-actions-icon-size)}.ios .popover-from-actions-strong{font-weight:600}.md .popover-from-actions-strong{font-weight:500}.popover-from-actions-label{line-height:1.3;position:relative;display:flex;align-items:center;padding:var(--f7-actions-label-padding);color:var(--f7-popover-actions-label-text-color);font-size:var(--f7-actions-label-font-size);justify-content:var(--f7-actions-label-justify-content)}.popover-from-actions-label:after{content:"";position:absolute;background-color:var(--f7-list-item-border-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.popover-from-actions-label:last-child:after{display:none!important}.md .popover-from-actions-label{justify-content:center}.popover-arrow{width:26px;height:26px;position:absolute;left:-26px;top:0;z-index:100;overflow:hidden}.popover-arrow:after{content:"";background:var(--f7-popover-bg-color);width:26px;height:26px;position:absolute;left:0;top:0;border-radius:3px;transform:rotate(45deg)}.popover-arrow.on-left{left:-26px}.popover-arrow.on-left:after{left:19px;top:0}.popover-arrow.on-right{left:100%}.popover-arrow.on-right:after{left:-19px;top:0}.popover-arrow.on-top{left:0;top:-26px}.popover-arrow.on-top:after{left:0;top:19px}.popover-arrow.on-bottom{left:0;top:100%}.popover-arrow.on-bottom:after{left:0;top:-19px}.ios .popover{transform:none;transition-property:opacity}.md .popover{transform:scale(.85,.6);transition-property:opacity,transform}.md .popover.modal-in{opacity:1;transform:scale(1)}.md .popover.modal-out{opacity:0;transform:scale(1)}.md .popover-on-top{transform-origin:center bottom}.md .popover-on-top.popover-on-right{transform-origin:left bottom}.md .popover-on-top.popover-on-left{transform-origin:right bottom}.md .popover-on-middle{transform-origin:center center}.md .popover-on-middle.popover-on-right{transform-origin:left center}.md .popover-on-middle.popover-on-left{transform-origin:right center}.md .popover-on-bottom{transform-origin:center top}.md .popover-on-bottom.popover-on-right{transform-origin:left top}.md .popover-on-bottom.popover-on-left{transform-origin:right top}:root{--f7-actions-grid-button-font-size: 12px;--f7-actions-grid-button-icon-size: 48px}.ios{--f7-actions-transition-timing-function: initial;--f7-actions-border-radius: 13px;--f7-actions-grid-button-text-color: #757575;--f7-actions-button-padding: 0px;--f7-actions-button-text-align: center;--f7-actions-button-height: 57px;--f7-actions-button-height-landscape: 44px;--f7-actions-button-font-size: 20px;--f7-actions-button-icon-size: 28px;--f7-actions-button-justify-content: center;--f7-actions-label-padding: 8px 10px;--f7-actions-label-font-weight: 400;--f7-actions-label-font-size: 13px;--f7-actions-label-justify-content: center;--f7-actions-group-border-color: transparent;--f7-actions-group-margin: 8px;--f7-actions-bg-color: rgba(255, 255, 255, .95);--f7-actions-bg-color-rgb: 255, 255, 255;--f7-actions-button-border-color: rgba(0, 0, 0, .2);--f7-actions-button-pressed-bg-color: rgba(230, 230, 230, .9);--f7-actions-button-pressed-bg-color-rgb: 230, 230, 230;--f7-actions-label-text-color: #8a8a8a}.ios .dark,.ios.dark{--f7-actions-bg-color: rgba(45, 45, 45, .95);--f7-actions-bg-color-rgb: 45, 45, 45;--f7-actions-button-border-color: rgba(255, 255, 255, .15);--f7-actions-button-pressed-bg-color: rgba(50, 50, 50, .9);--f7-actions-button-pressed-bg-color-rgb: 50, 50, 50;--f7-actions-label-text-color: rgba(255, 255, 255, .55)}.md{--f7-actions-transition-timing-function: cubic-bezier(0, .8, .34, 1);--f7-actions-border-radius: 16px;--f7-actions-button-border-color: transparent;--f7-actions-button-padding: 0 16px;--f7-actions-button-text-align: left;--f7-actions-button-height: 48px;--f7-actions-button-height-landscape: 48px;--f7-actions-button-font-size: 16px;--f7-actions-button-icon-size: 24px;--f7-actions-button-justify-content: space-between;--f7-actions-label-padding: 12px 16px;--f7-actions-label-font-size: 14px;--f7-actions-label-font-weight: 500;--f7-actions-label-justify-content: flex-start;--f7-actions-group-margin: 0px;--f7-actions-button-pressed-bg-color: #e5e5e5}.md .dark,.md.dark{--f7-actions-button-pressed-bg-color: #2e2e2e}.md,.md .dark,.md [class*=color-]{--f7-actions-button-text-color: var(--f7-md-on-surface);--f7-actions-bg-color: var(--f7-md-surface-3);--f7-actions-group-border-color: var(--f7-md-outline);--f7-actions-label-text-color: var(--f7-theme-color);--f7-actions-grid-button-text-color: var(--f7-md-on-surface)}.actions-backdrop-unique{z-index:13500}.actions-modal{position:absolute;left:0;bottom:0;z-index:13500;width:100%;transform:translate3d(0,100%,0);display:none;max-height:100%;overflow:auto;-webkit-overflow-scrolling:touch;transition-property:transform;will-change:transform}.actions-modal.modal-in,.actions-modal.modal-out{transition-duration:.3s}.actions-modal.not-animated{transition-duration:0ms}.ios .actions-modal.modal-in{transform:translate3d(0,calc(-1 * var(--f7-safe-area-bottom)),0)}.md .actions-modal.modal-in{transform:translateZ(0)}.actions-modal.modal-out{z-index:13499;transform:translate3d(0,100%,0)}@media (min-width: 496px){.actions-modal{width:480px;left:50%;margin-left:-240px}}@media (orientation: landscape){.actions-modal{--f7-actions-button-height: var(--f7-actions-button-height-landscape)}}.actions-backdrop,.actions-modal{transition-timing-function:var(--f7-actions-transition-timing-function)}.actions-group{overflow:hidden;position:relative;margin:var(--f7-actions-group-margin);transform:translateZ(0)}.actions-group:after{content:"";position:absolute;background-color:var(--f7-actions-group-border-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.actions-group:last-child:after{display:none!important}.actions-button,.actions-label{width:100%;font-weight:400;margin:0;box-sizing:border-box;display:block;position:relative;overflow:hidden;text-align:var(--f7-actions-button-text-align)}.actions-button:after,.actions-label:after{content:"";position:absolute;background-color:var(--f7-actions-button-border-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.actions-button a,.actions-label a{-webkit-text-decoration:none;text-decoration:none;color:inherit;display:block}.actions-button{cursor:pointer;display:flex;color:var(--f7-actions-button-text-color, var(--f7-theme-color));font-size:var(--f7-actions-button-font-size);height:var(--f7-actions-button-height);line-height:var(--f7-actions-button-height);padding:var(--f7-actions-button-padding);justify-content:var(--f7-actions-button-justify-content);z-index:10}.actions-button.active-state{background-color:var(--f7-actions-button-pressed-bg-color)!important}.actions-button[class*=color-]{color:var(--f7-theme-color)}@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))){.ios-translucent-modals .actions-button.active-state{background-color:rgba(var(--f7-actions-button-pressed-bg-color-rgb),.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.actions-button-media{flex-shrink:0;display:flex;align-items:center}.actions-button-media i.icon{width:var(--f7-actions-button-icon-size);height:var(--f7-actions-button-icon-size);font-size:var(--f7-actions-button-icon-size)}.actions-button a,.actions-button-text{position:relative;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.actions-button-text{width:100%;flex-shrink:1;text-align:var(--f7-actions-button-text-align)}.actions-label{line-height:1.3;display:flex;align-items:center;font-size:var(--f7-actions-label-font-size);font-weight:var(--f7-actions-label-font-weight);color:var(--f7-actions-label-text-color);padding:var(--f7-actions-label-padding);justify-content:var(--f7-actions-label-justify-content);min-height:var(--f7-actions-label-min-height, var(--f7-actions-button-height))}.actions-label[class*=" color-"]{--f7-actions-label-text-color: var(--f7-theme-color)}.actions-grid .actions-group{display:flex;flex-wrap:wrap;justify-content:flex-start;margin-top:0}.actions-grid .actions-group:not(:last-child){margin-bottom:0}.actions-grid .actions-button,.actions-grid .actions-label{background:none}.actions-grid .actions-button{width:33.33333333%;display:block;color:var(--f7-actions-grid-button-text-color);height:auto;line-height:1;padding:16px}.actions-grid .actions-button:after{display:none!important}.actions-grid .actions-button-media{margin-left:auto!important;margin-right:auto!important;width:var(--f7-actions-grid-button-icon-size);height:var(--f7-actions-grid-button-icon-size)}.actions-grid .actions-button-media i.icon{width:var(--f7-actions-grid-button-icon-size);height:var(--f7-actions-grid-button-icon-size);font-size:var(--f7-actions-grid-button-icon-size)}.actions-grid .actions-button-text{margin-left:0!important;text-align:center!important;margin-top:8px;line-height:1.33em;height:1.33em;font-size:var(--f7-actions-grid-button-font-size)}.ios .actions-group{border-radius:var(--f7-actions-border-radius)}.ios .actions-button,.ios .actions-label{background:var(--f7-actions-bg-color)}@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))){.ios-translucent-modals .ios .actions-button,.ios-translucent-modals .ios .actions-label{background-color:rgba(var(--f7-actions-bg-color-rgb),.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.ios .actions-button:first-child,.ios .actions-label:first-child{border-radius:var(--f7-actions-border-radius) var(--f7-actions-border-radius) 0 0}.ios .actions-button:last-child,.ios .actions-label:last-child{border-radius:0 0 var(--f7-actions-border-radius) var(--f7-actions-border-radius)}.ios .actions-button:last-child:after,.ios .actions-label:last-child:after{display:none!important}.ios .actions-button:first-child:last-child,.ios .actions-label:first-child:last-child{border-radius:var(--f7-actions-border-radius)}.ios .actions-button b,.ios .actions-label b,.ios .actions-button.actions-button-strong,.ios .actions-label.actions-button-strong{font-weight:600}.ios .actions-grid .actions-group{border-radius:0;background:var(--f7-actions-bg-color)}@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))){.ios-translucent-modals .ios .actions-grid .actions-group{background-color:rgba(var(--f7-actions-bg-color-rgb),.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.ios .actions-grid .actions-group:first-child{border-radius:var(--f7-actions-border-radius) var(--f7-actions-border-radius) 0 0}.ios .actions-grid .actions-group:last-child{border-radius:0 0 var(--f7-actions-border-radius) var(--f7-actions-border-radius)}.ios .actions-grid .actions-group:first-child:last-child{border-radius:var(--f7-actions-border-radius)}.ios .actions-grid .actions-button,.ios .actions-grid .actions-label{border-radius:0!important}.ios .actions-button-media{margin-left:16px}.ios .actions-button-media+.actions-button-text{text-align:left;margin-left:16px}.md .actions-modal{background-color:var(--f7-actions-bg-color);border-radius:var(--f7-actions-border-radius) var(--f7-actions-border-radius) 0 0;padding-bottom:var(--f7-safe-area-bottom)}.md .actions-button{transition-duration:.3s}.md .actions-button b,.md .actions-label b,.md .actions-button.actions-button-strong,.md .actions-label.actions-button-strong{font-weight:500}.md .actions-button-media{min-width:40px}.md .actions-button-media+.actions-button-text{margin-left:16px}:root{--f7-sheet-height: 260px;--f7-sheet-push-offset: var(--f7-safe-area-top)}.ios{--f7-sheet-border-radius: 0px;--f7-sheet-border-color: var(--f7-bars-border-color);--f7-sheet-transition-timing-function: initial;--f7-sheet-push-border-radius: 10px;--f7-sheet-transition-duration: .3s;--f7-sheet-bg-color: #fff}.ios .dark,.ios.dark{--f7-sheet-bg-color: #202020}.md{--f7-sheet-border-radius: 16px;--f7-sheet-push-border-radius: 16px;--f7-sheet-border-color: transparent;--f7-sheet-transition-timing-function: cubic-bezier(0, .8, .34, 1);--f7-sheet-transition-duration: .4s}.md,.md .dark,.md [class*=color-]{--f7-sheet-bg-color: var(--f7-md-surface)}.sheet-backdrop{z-index:11000}.sheet-backdrop-unique{z-index:12500}.sheet-modal{overflow:hidden;position:absolute;left:0;bottom:0;width:100%;height:var(--f7-sheet-height);display:none;box-sizing:border-box;transition-property:transform;transform:translate3d(0,100%,0);background:var(--f7-sheet-bg-color);z-index:12500;will-change:transform,opacity}.sheet-modal.modal-in,.sheet-modal.modal-out{transition-duration:var(--f7-sheet-transition-duration)}.sheet-modal.not-animated{transition-duration:0ms}.sheet-modal.modal-in{display:block;transform:translateZ(0)}.sheet-modal.modal-in-swipe-step,.sheet-modal.modal-in-breakpoint{display:block;transform:translate3d(0,var(--f7-sheet-breakpoint, var(--f7-sheet-swipe-step, 0)),0)}.sheet-modal.modal-out{transform:translate3d(0,100%,0)}.sheet-modal .sheet-modal-inner{height:100%;position:relative;overflow:hidden}.sheet-modal .toolbar{--f7-safe-area-bottom: 0px;position:relative;width:100%}.sheet-modal .toolbar:after,.sheet-modal .toolbar:before{display:none}.sheet-modal .toolbar+.sheet-modal-inner{height:calc(100% - var(--f7-toolbar-height))}.sheet-modal .toolbar+.sheet-modal-inner .page-content{--f7-page-toolbar-top-offset: 0px;--f7-page-toolbar-bottom-offset: 0px}.sheet-backdrop,.sheet-modal{transition-timing-function:var(--f7-sheet-transition-timing-function)}.sheet-modal-top{border-radius:0 0 var(--f7-sheet-border-radius) var(--f7-sheet-border-radius)}.sheet-modal-top:after{content:"";position:absolute;background-color:var(--f7-sheet-border-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.sheet-modal-top:after{z-index:700;-webkit-backface-visibility:hidden;backface-visibility:hidden;transform-style:preserve-3d}.sheet-modal-bottom,.sheet-modal:not(.sheet-modal-top){--f7-safe-area-top: 0px;border-radius:var(--f7-sheet-border-radius) var(--f7-sheet-border-radius) 0 0}.sheet-modal-bottom:before,.sheet-modal:not(.sheet-modal-top):before{content:"";position:absolute;background-color:var(--f7-sheet-border-color);display:block;z-index:15;top:0;right:auto;bottom:auto;left:0;height:1px;width:100%;transform-origin:50% 0%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.sheet-modal-bottom:before,.sheet-modal:not(.sheet-modal-top):before{z-index:700;-webkit-backface-visibility:hidden;backface-visibility:hidden;transform-style:preserve-3d}.sheet-modal-top{--f7-safe-area-bottom: 0px;bottom:auto;top:0;transform:translate3d(0,-100%,0)}.sheet-modal-top.modal-out{transform:translate3d(0,-100%,0)}.sheet-modal-top .toolbar-bottom{position:absolute}.sheet-modal-top .page-content{padding-top:var(--f7-safe-area-top)}html.with-modal-sheet-push .sheet-modal-push,html.with-modal-sheet-push-closing .sheet-modal-push{--f7-sheet-border-color: transparent;border-radius:var(--f7-sheet-push-border-radius) var(--f7-sheet-push-border-radius) 0 0;overflow:hidden}html.with-modal-sheet-push .sheet-modal-push .view,html.with-modal-sheet-push-closing .sheet-modal-push .view,html.with-modal-sheet-push .sheet-modal-push .page,html.with-modal-sheet-push-closing .sheet-modal-push .page{--f7-safe-area-top: 0px}html.with-modal-sheet-push .sheet-modal-push.sheet-modal-top,html.with-modal-sheet-push-closing .sheet-modal-push.sheet-modal-top{border-radius:0 0 var(--f7-sheet-push-border-radius) var(--f7-sheet-push-border-radius)}html.with-modal-sheet-push .framework7-root,html.with-modal-sheet-push-closing .framework7-root{background:#000}html.with-modal-sheet-push .framework7-root>.views,html.with-modal-sheet-push-closing .framework7-root>.views,html.with-modal-sheet-push .framework7-root>.view,html.with-modal-sheet-push-closing .framework7-root>.view{transition-duration:var(--f7-sheet-transition-duration);transition-timing-function:var(--f7-sheet-transition-timing-function)}html.with-modal-sheet-push.dark .framework7-root>.views:after,html.with-modal-sheet-push-closing.dark .framework7-root>.views:after,html.with-modal-sheet-push.dark .framework7-root>.view:after,html.with-modal-sheet-push-closing.dark .framework7-root>.view:after,html.with-modal-sheet-push .dark .framework7-root>.views:after,html.with-modal-sheet-push-closing .dark .framework7-root>.views:after,html.with-modal-sheet-push .dark .framework7-root>.view:after,html.with-modal-sheet-push-closing .dark .framework7-root>.view:after,html.with-modal-sheet-push .dark.framework7-root>.views:after,html.with-modal-sheet-push-closing .dark.framework7-root>.views:after,html.with-modal-sheet-push .dark.framework7-root>.view:after,html.with-modal-sheet-push-closing .dark.framework7-root>.view:after,html.with-modal-sheet-push .framework7-root>.views.dark:after,html.with-modal-sheet-push-closing .framework7-root>.views.dark:after,html.with-modal-sheet-push .framework7-root>.view.dark:after,html.with-modal-sheet-push-closing .framework7-root>.view.dark:after{content:"";position:absolute;pointer-events:none;left:0;top:0;width:100%;height:100%;background:rgba(255,255,255,.1);z-index:13000;opacity:1;transition-duration:var(--f7-sheet-transition-duration);transition-timing-function:var(--f7-sheet-transition-timing-function);animation:sheet-dark-push-overlay-fade-in var(--f7-sheet-transition-duration);animation-timing-function:var(--f7-sheet-transition-timing-function)}html.with-modal-sheet-push .framework7-root>.views,html.with-modal-sheet-push .framework7-root>.view{border-radius:var(--f7-sheet-push-border-radius);transform:translateZ(0) scale(var(--f7-sheet-push-scale, 1))!important}html.with-modal-sheet-push-closing.dark .framework7-root>.views:after,html.with-modal-sheet-push-closing.dark .framework7-root>.view:after,html.with-modal-sheet-push-closing .dark .framework7-root>.views:after,html.with-modal-sheet-push-closing .dark .framework7-root>.view:after,html.with-modal-sheet-push-closing .dark.framework7-root>.views:after,html.with-modal-sheet-push-closing .dark.framework7-root>.view:after,html.with-modal-sheet-push-closing .framework7-root>.views.dark:after,html.with-modal-sheet-push-closing .framework7-root>.view.dark:after{opacity:0;animation:none}@keyframes sheet-dark-push-overlay-fade-in{0%{opacity:0}to{opacity:1}}.md .sheet-modal .toolbar a.link:not(.tab-link){flex-shrink:0}:root{--f7-toast-font-size: 14px;--f7-toast-icon-size: 48px;--f7-toast-max-width: 568px}.ios{--f7-toast-text-color: #fff;--f7-toast-bg-color: rgba(0, 0, 0, .75);--f7-toast-bg-color-rgb: 0, 0, 0;--f7-toast-padding-horizontal: 16px;--f7-toast-padding-vertical: 12px;--f7-toast-border-radius: 8px;--f7-toast-button-min-width: 64px}.md{--f7-toast-padding-horizontal: 24px;--f7-toast-padding-vertical: 14px;--f7-toast-border-radius: 16px;--f7-toast-button-min-width: 64px}.md,.md .dark,.md [class*=color-]{--f7-toast-text-color: var(--f7-md-on-surface);--f7-toast-bg-color: var(--f7-md-surface-5)}.toast{transition-property:transform,opacity;position:absolute;max-width:var(--f7-toast-max-width);z-index:20000;color:var(--f7-toast-text-color);font-size:var(--f7-toast-font-size);box-sizing:border-box;background-color:var(--f7-toast-bg-color);opacity:0}@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))){.ios-translucent-modals .toast{background-color:rgba(var(--f7-toast-bg-color-rgb),.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.toast.modal-in{opacity:1}.toast .toast-content{display:flex;justify-content:space-between;align-items:center;box-sizing:border-box;padding:var(--f7-toast-padding-vertical) var(--f7-toast-padding-horizontal)}.toast .toast-text{line-height:20px;flex-shrink:1;min-width:0}.toast .toast-button{flex-shrink:0;min-width:var(--f7-toast-button-min-width);margin-top:-8px;margin-bottom:-8px}.toast.toast-with-icon .toast-content{display:block;text-align:center}.toast.toast-with-icon .toast-text{text-align:center}.toast.toast-with-icon .toast-icon .f7-icons,.toast.toast-with-icon .toast-icon .material-icons{font-size:var(--f7-toast-icon-size)}.toast.toast-center{top:50%}.toast.toast-top{margin-top:var(--f7-safe-area-top)}.ios .toast{transition-duration:.3s;width:100%;left:0}.ios .toast.toast-top{top:0;transform:translate3d(0,-100%,0)}.ios .toast.toast-top.modal-in{transform:translateZ(0)}.ios .toast.toast-center{width:auto;left:50%;border-radius:var(--f7-toast-border-radius);transform:translate3d(-50%,-50%,0)}.ios .toast.toast-center.modal-in{transform:translate3d(-50%,-50%,0)}.ios .toast.toast-bottom{bottom:0;transform:translate3d(0,100%,0)}.ios .toast.toast-bottom.modal-in{transform:translateZ(0)}@media (max-width: 568px){.ios .toast.toast-top{margin-top:0}.ios .toast.toast-top .toast-content{padding-top:calc(var(--f7-toast-padding-vertical) + var(--f7-safe-area-top))}.ios .toast.toast-bottom .toast-content{padding-bottom:calc(var(--f7-toast-padding-vertical) + var(--f7-safe-area-bottom))}}@media (min-width: 569px){.ios .toast{left:50%;margin-left:calc(-1 * var(--f7-toast-max-width) / 2);border-radius:var(--f7-toast-border-radius)}.ios .toast.toast-top{top:16px}.ios .toast.toast-center{margin-left:0}.ios .toast.toast-bottom{margin-bottom:calc(16px + var(--f7-safe-area-bottom))}}@media (min-width: 1024px){.ios .toast{margin-left:0;width:auto}.ios .toast.toast-horizontal-left{left:16px}.ios .toast.toast-horizontal-right{left:auto;right:16px}.ios .toast.toast-horizontal-center{left:50%;width:var(--f7-toast-max-width);margin-left:calc(-1 * var(--f7-toast-max-width) / 2)}}.ios .toast-button{margin-left:16px;margin-right:calc(-1 * var(--f7-button-padding-horizontal))}.md .toast{transition-duration:.2s;border-radius:var(--f7-toast-border-radius);width:calc(100% - 16px);transform:scale(.9);left:8px}.md .toast.modal-in,.md .toast.modal-out{transform:scale(1)}.md .toast.toast-top{top:8px}.md .toast.toast-center{left:50%;width:auto;transform:scale(.9) translate3d(-55%,-55%,0)}.md .toast.toast-center.modal-in,.md .toast.toast-center.modal-out{transform:scale(1) translate3d(-50%,-50%,0)}.md .toast.toast-bottom{bottom:calc(8px + var(--f7-safe-area-bottom))}@media (min-width: 584px){.md .toast{left:50%;margin-left:calc(-1 * var(--f7-toast-max-width) / 2)}.md .toast.toast-center{margin-left:0}}@media (min-width: 1024px){.md .toast{margin-left:0;width:auto}.md .toast.toast-horizontal-left{left:24px}.md .toast.toast-horizontal-right{left:auto;right:24px}.md .toast.toast-horizontal-center{left:50%;width:var(--f7-toast-max-width);margin-left:calc(-1 * var(--f7-toast-max-width) / 2)}.md .toast.toast-bottom{bottom:calc(24px + var(--f7-safe-area-bottom))}.md .toast.toast-top{top:24px}}.md .toast-button{margin-left:16px;margin-right:-8px}:root{--f7-preloader-modal-padding: 8px;--f7-preloader-modal-bg-color: rgba(0, 0, 0, .8)}.ios{--f7-preloader-color: #6c6c6c;--f7-preloader-size: 20px;--f7-preloader-modal-preloader-size: 34px;--f7-preloader-modal-border-radius: 5px}.md{--f7-preloader-color: #757575;--f7-preloader-size: 32px;--f7-preloader-modal-preloader-size: 32px;--f7-preloader-modal-border-radius: 4px}.preloader{display:inline-block;vertical-align:middle;width:var(--f7-preloader-size);height:var(--f7-preloader-size);font-size:0;position:relative}.preloader .preloader-inner{width:100%;height:100%;display:block;position:relative}.preloader-backdrop{visibility:visible;opacity:0;background:none;z-index:14000}.preloader-modal{position:absolute;left:50%;top:50%;padding:var(--f7-preloader-modal-padding);background:var(--f7-preloader-modal-bg-color);z-index:14500;transform:translate(-50%) translateY(-50%);border-radius:var(--f7-preloader-modal-border-radius)}.preloader-modal .preloader{--f7-preloader-size: var(--f7-preloader-modal-preloader-size);display:block!important}html.with-modal-preloader .page-content,.with-modal-preloader .page-content,.with-modal-preloader.page-content{overflow:hidden;-webkit-overflow-scrolling:auto}.preloader[class*=color-]{--f7-preloader-color: var(--f7-theme-color)}.preloader.color-white{--f7-preloader-color: #fff}.preloader.color-black{--f7-preloader-color: #000}.ios .preloader{color:var(--f7-preloader-color)}.ios .preloader-inner{animation:ios-preloader-spin 1s steps(8,end) infinite}.ios .preloader-inner-line{display:block;width:11.6%;height:33.33%;border-radius:100px;background:currentColor;position:absolute;left:50%;top:50%;transform-origin:center 150%}.ios .preloader-multi-color .preloader-inner-line,.ios .preloader.color-multi .preloader-inner-line{animation:ios-preloader-multicolor 3s linear infinite}.ios .preloader-inner-line:nth-child(1){transform:translate(-50%,-150%) rotate(0);opacity:.27}.ios .preloader-inner-line:nth-child(2){transform:translate(-50%,-150%) rotate(45deg);opacity:.35285714}.ios .preloader-inner-line:nth-child(3){transform:translate(-50%,-150%) rotate(90deg);opacity:.43571429}.ios .preloader-inner-line:nth-child(4){transform:translate(-50%,-150%) rotate(135deg);opacity:.51857143}.ios .preloader-inner-line:nth-child(5){transform:translate(-50%,-150%) rotate(180deg);opacity:.60142857}.ios .preloader-inner-line:nth-child(6){transform:translate(-50%,-150%) rotate(225deg);opacity:.68428571}.ios .preloader-inner-line:nth-child(7){transform:translate(-50%,-150%) rotate(270deg);opacity:.76714286}.ios .preloader-inner-line:nth-child(8){transform:translate(-50%,-150%) rotate(315deg);opacity:.85}@keyframes ios-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes ios-preloader-multicolor{0%,to{background-color:#2196f3}25%{background-color:#ff3b30}50%{background-color:#4cd964}75%{background-color:#ff9500}}.md .preloader{color:var(--f7-preloader-color)}.md .preloader-inner{animation:md-preloader-rotate 1.4s linear infinite}.md .preloader-inner circle{fill:none;stroke:currentColor;animation:md-preloader-circle-rotate 5.6s ease-in-out infinite;stroke-dasharray:100px;stroke-dashoffset:80px;stroke-width:4;transform:rotate(-90deg);transform-origin:18px 18px}.md .preloader-multi-color circle,.md .preloader.color-multi circle{animation:md-preloader-circle-rotate 5.6s ease-in-out infinite,md-preloader-multicolor 5.6s ease-in-out infinite}@keyframes md-preloader-multicolor{0%,to{stroke:#4285f4}75%{stroke:#1b9a59}50%{stroke:#f7c223}25%{stroke:#de3e35}}@keyframes md-preloader-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes md-preloader-circle-rotate{0%{transform:rotate(-90deg);stroke-dashoffset:100px}12.5%{transform:rotate(-90deg);stroke-dashoffset:25px}25%{stroke-dashoffset:100px;transform:rotate(180deg)}25.1%{transform:rotate(-180deg);stroke-dashoffset:100px}37.5%{transform:rotate(-180deg);stroke-dashoffset:25px}50%{stroke-dashoffset:100px;transform:rotate(90deg)}50.1%{transform:rotate(90deg);stroke-dashoffset:100px}62.5%{transform:rotate(90deg);stroke-dashoffset:25px}75%{stroke-dashoffset:100px;transform:rotate(360deg)}75.1%{transform:rotate(0);stroke-dashoffset:100px}87.5%{transform:rotate(0);stroke-dashoffset:25px}to{stroke-dashoffset:100px;transform:rotate(270deg)}}.ios{--f7-progressbar-height: 4px;--f7-progressbar-border-radius: 4px;--f7-progressbar-bg-color: rgba(0, 0, 0, .3)}.ios .dark,.ios.dark{--f7-progressbar-bg-color: rgba(255, 255, 255, .3)}.md{--f7-progressbar-height: 4px;--f7-progressbar-border-radius: 0px}.md,.md .dark,.md [class*=color-]{--f7-progressbar-bg-color: rgba(var(--f7-theme-color-rgb), .5)}.progressbar,.progressbar-infinite{width:100%;overflow:hidden;position:relative;display:block;transform-style:preserve-3d;background:var(--f7-progressbar-bg-color, rgba(var(--f7-theme-color-rgb), .5));transform-origin:center top;height:var(--f7-progressbar-height);border-radius:var(--f7-progressbar-border-radius)}.progressbar{vertical-align:middle}.progressbar span{background-color:var(--f7-progressbar-progress-color, var(--f7-theme-color));width:100%;height:100%;position:absolute;top:0;transition-duration:.15s;left:0;transform:translate3d(-100%,0,0)}.progressbar-infinite{z-index:15000}.progressbar-infinite:before,.progressbar-infinite:after{content:"";position:absolute;top:0;width:100%;height:100%;transform:translateZ(0);display:block;background-color:var(--f7-progressbar-progress-color, var(--f7-theme-color));left:0;transform-origin:left center}.progressbar-infinite.color-multi{background:none!important}.progressbar-in{animation:progressbar-in .15s forwards}.progressbar-out{animation:progressbar-out .15s forwards}body>.progressbar,.view>.progressbar,.views>.progressbar,.page>.progressbar,.panel>.progressbar,.popup>.progressbar,.framework7-root>.progressbar,body>.progressbar-infinite,.view>.progressbar-infinite,.views>.progressbar-infinite,.page>.progressbar-infinite,.panel>.progressbar-infinite,.popup>.progressbar-infinite,.framework7-root>.progressbar-infinite{position:absolute;left:0;top:0;z-index:15000;border-radius:0!important;transform-origin:center top!important}@keyframes progressbar-in{0%{opacity:0;transform:scaleY(0)}to{opacity:1;transform:scaleY(1)}}@keyframes progressbar-out{0%{opacity:1;transform:scaleY(1)}to{opacity:0;transform:scaleY(0)}}.ios .progressbar-infinite:before{animation:ios-progressbar-infinite 1s linear infinite}.ios .progressbar-infinite:after{display:none}.ios .progressbar-infinite.color-multi:before{width:400%;background-image:linear-gradient(to right,#4cd964,#5ac8fa,#007aff,#34aadc,#5856d6,#ff2d55,#5856d6,#34aadc,#007aff,#5ac8fa,#4cd964);background-size:25% 100%;background-repeat:repeat-x;animation:ios-progressbar-infinite-multicolor 3s linear infinite}@keyframes ios-progressbar-infinite{0%{transform:translate3d(-100%,0,0)}to{transform:translate3d(100%,0,0)}}@keyframes ios-progressbar-infinite-multicolor{0%{transform:translateZ(0)}to{transform:translate3d(-50%,0,0)}}.md .progressbar-infinite:before{animation:md-progressbar-infinite-1 2s linear infinite}.md .progressbar-infinite:after{animation:md-progressbar-infinite-2 2s linear infinite}.md .progressbar-infinite.color-multi:before{background:none;animation:md-progressbar-infinite-multicolor-bg 3s step-end infinite}.md .progressbar-infinite.color-multi:after{background:none;animation:md-progressbar-infinite-multicolor-fill 3s linear infinite;transform-origin:center center}@keyframes md-progressbar-infinite-1{0%{transform:translate(-10%) scaleX(.1)}25%{transform:translate(30%) scaleX(.6)}50%{transform:translate(100%) scaleX(1)}to{transform:translate(100%) scaleX(1)}}@keyframes md-progressbar-infinite-2{0%{transform:translate(-100%) scaleX(1)}40%{transform:translate(-100%) scaleX(1)}75%{transform:translate(60%) scaleX(.35)}90%{transform:translate(100%) scaleX(.1)}to{transform:translate(100%) scaleX(.1)}}@keyframes md-progressbar-infinite-multicolor-bg{0%{background-color:#4caf50}25%{background-color:#f44336}50%{background-color:#2196f3}75%{background-color:#ffeb3b}}@keyframes md-progressbar-infinite-multicolor-fill{0%{transform:scaleX(0);background-color:#f44336}24.9%{transform:scaleX(1);background-color:#f44336}25%{transform:scaleX(0);background-color:#2196f3}49.9%{transform:scaleX(1);background-color:#2196f3}50%{transform:scaleX(0);background-color:#ffeb3b}74.9%{transform:scaleX(1);background-color:#ffeb3b}75%{transform:scaleX(0);background-color:#4caf50}to{transform:scaleX(1);background-color:#4caf50}}.ios{--f7-sortable-handler-width: 36px;--f7-sortable-sorting-item-box-shadow: 0px 2px 8px rgba(0, 0, 0, .6);--f7-sortable-handler-color: rgba(0, 0, 0, .22);--f7-sortable-sorting-item-bg-color: rgba(255, 255, 255, .8)}.ios .dark,.ios.dark{--f7-sortable-sorting-item-bg-color: rgba(50, 50, 50, .8);--f7-sortable-handler-color: rgba(255, 255, 255, .55)}.md{--f7-sortable-handler-width: 42px;--f7-sortable-sorting-item-box-shadow: none}.md,.md .dark,.md [class*=color-]{--f7-sortable-handler-color: var(--f7-md-on-surface-variant);--f7-sortable-sorting-item-bg-color: var(--f7-md-surface-3)}.sortable .sortable-handler{width:var(--f7-sortable-handler-width);height:100%;position:absolute;top:0;z-index:10;opacity:0;pointer-events:none;cursor:move;transition-duration:.3s;display:flex;align-items:center;justify-content:center;overflow:hidden;right:var(--f7-safe-area-right)}.sortable .sortable-handler:after{font-family:framework7-core-icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga";text-align:center;display:block;width:100%;height:100%;font-size:20px;transition-duration:.3s;transform:translate(10px);color:var(--f7-sortable-handler-color);overflow:hidden;height:20px;width:18px}.sortable li.sorting{z-index:50;background:var(--f7-sortable-sorting-item-bg-color);transition-duration:0ms;box-shadow:var(--f7-sortable-sorting-item-box-shadow)}.sortable li.sorting .item-inner:after{display:none!important}.sortable-opposite .sortable-handler{left:var(--f7-safe-area-right);right:auto}.sortable-opposite .sortable-handler:after{transform:translate(-10px)}.sortable:not(.sortable-opposite) .item-inner,.sortable-opposite .item-content,.sortable.simple-list li,.sortable-opposite.links-list li a{transition-duration:.3s;transition-property:all}.sortable-sorting li{transition-duration:.3s}.sortable-enabled li:not(.no-sorting):not(.disallow-sorting) .sortable-handler{pointer-events:auto;opacity:1}.sortable-enabled li:not(.no-sorting):not(.disallow-sorting) .sortable-handler:after{transform:translate(0)}.sortable-enabled:not(.sortable-opposite) li:not(.no-sorting):not(.disallow-sorting) .item-link .item-inner:before,.sortable-enabled:not(.sortable-opposite) li:not(.no-sorting):not(.disallow-sorting) .item-link .item-title-row:before,.sortable-enabled:not(.sortable-opposite).links-list li:not(.no-sorting):not(.disallow-sorting)>a:before{display:none}.sortable-enabled:not(.sortable-opposite) li:not(.no-sorting):not(.disallow-sorting) .item-inner,.sortable-enabled:not(.sortable-opposite) li:not(.no-sorting):not(.disallow-sorting) .item-link .item-inner,.sortable-enabled:not(.sortable-opposite) li:not(.no-sorting):not(.disallow-sorting) .item-link.no-chevron .item-inner,.sortable-enabled.no-chevron:not(.sortable-opposite) li:not(.no-sorting):not(.disallow-sorting) .item-link .item-inner,.sortable-enabled :not(.sortable-opposite).no-chevron .item-link .item-inner,.no-chevron .sortable-enabled:not(.sortable-opposite) li:not(.no-sorting):not(.disallow-sorting) .item-link .item-inner,.simple-list.sortable-enabled:not(.sortable-opposite) li:not(.no-sorting):not(.disallow-sorting),.links-list.sortable-enabled:not(.sortable-opposite) li:not(.no-sorting):not(.disallow-sorting) a{padding-right:calc(var(--f7-sortable-handler-width) + var(--f7-safe-area-right))}.sortable-opposite.sortable-enabled li:not(.no-sorting):not(.disallow-sorting) .item-content,.simple-list.sortable-opposite.sortable-enabled li:not(.no-sorting):not(.disallow-sorting),.links-list.sortable-opposite.sortable-enabled li:not(.no-sorting):not(.disallow-sorting) a{padding-left:calc(var(--f7-sortable-handler-width) + var(--f7-safe-area-right))}.ios .sortable-handler:after{content:"sort_ios"}.md .sortable-handler:after{content:"sort_md"}:root{--f7-swipeout-delete-button-bg-color: #ff3b30;--f7-swipeout-button-text-color: #fff;--f7-swipeout-button-padding-vertical: 0px;--f7-swipeout-button-bg-color: rgba(0, 0, 0, .22)}:root .dark,:root.dark{--f7-swipeout-button-bg-color: rgba(255, 255, 255, .55)}.ios{--f7-swipeout-button-padding-horizontal: 30px;--f7-swipeout-button-font-size: inherit;--f7-swipeout-button-font-weight: inherit}.md{--f7-swipeout-button-padding-horizontal: 24px;--f7-swipeout-button-font-size: 14px;--f7-swipeout-button-font-weight: 500}.md .dark,.md.dark{--f7-swipeout-button-text-color: #000}.swipeout{overflow:hidden;transform-style:preserve-3d}.swipeout-deleting{transition-duration:.3s}.swipeout-deleting .swipeout-content{transform:translate(-100%)}.swipeout-transitioning .swipeout-content,.swipeout-transitioning .swipeout-actions-right a,.swipeout-transitioning .swipeout-actions-left a,.swipeout-transitioning .swipeout-overswipe{transition-duration:.3s;transition-property:transform,left}.swipeout-content{position:relative;z-index:10}.swipeout-overswipe{transition-duration:.2s;transition-property:left}.swipeout-actions-left,.swipeout-actions-right{position:absolute;top:0;height:100%;display:flex;direction:ltr}.swipeout-actions-left>a,.swipeout-actions-right>a,.swipeout-actions-left>button,.swipeout-actions-right>button,.swipeout-actions-left>span,.swipeout-actions-right>span,.swipeout-actions-left>div,.swipeout-actions-right>div{color:var(--f7-swipeout-button-text-color);background:var(--f7-swipeout-button-bg-color);padding:var(--f7-swipeout-button-padding-vertical) var(--f7-swipeout-button-padding-horizontal);display:flex;align-items:center;position:relative;left:0;font-size:var(--f7-swipeout-button-font-size);font-weight:var(--f7-swipeout-button-font-weight)}.swipeout-actions-left>a:after,.swipeout-actions-right>a:after,.swipeout-actions-left>button:after,.swipeout-actions-right>button:after,.swipeout-actions-left>span:after,.swipeout-actions-right>span:after,.swipeout-actions-left>div:after,.swipeout-actions-right>div:after{content:"";position:absolute;top:0;width:600%;height:100%;background:inherit;z-index:-1;transform:translateZ(0);pointer-events:none}.swipeout-actions-left .swipeout-delete,.swipeout-actions-right .swipeout-delete{background:var(--f7-swipeout-delete-button-bg-color)}.swipeout-actions-right{right:0%;transform:translate(calc(100% + 1px))}.swipeout-actions-right>a:after,.swipeout-actions-right>button:after,.swipeout-actions-right>span:after,.swipeout-actions-right>div:after{left:100%}.swipeout-actions-right>a:last-child,.swipeout-actions-right>button:last-child,.swipeout-actions-right>span:last-child,.swipeout-actions-right>div:last-child{padding-right:calc(var(--f7-swipeout-button-padding-horizontal) + var(--f7-safe-area-right))}.swipeout-actions-left{left:0%;transform:translate(calc(-100% - 1px))}.swipeout-actions-left>a:after,.swipeout-actions-left>button:after,.swipeout-actions-left>span:after,.swipeout-actions-left>div:after{right:100%}.swipeout-actions-left>a:first-child,.swipeout-actions-left>button:first-child,.swipeout-actions-left>span:first-child,.swipeout-actions-left>div:first-child{padding-left:calc(var(--f7-swipeout-button-padding-horizontal) + var(--f7-safe-area-left))}.swipeout-actions-left [class*=color-],.swipeout-actions-right [class*=color-]{--f7-swipeout-button-bg-color: var(--f7-theme-color)}:root{--f7-accordion-chevron-icon-down: "chevron_down";--f7-accordion-chevron-icon-up: "chevron_up"}.accordion-item-toggle{cursor:pointer}.list.accordion-list .accordion-item-toggle{transition-duration:.3s;position:relative;overflow:hidden}.list.accordion-list .accordion-item-toggle.active-state{transition-duration:.3s;background-color:var(--f7-list-link-pressed-bg-color)}.list.accordion-list .accordion-item-toggle.active-state>.item-inner:after{background-color:transparent}.list.accordion-list .accordion-item-toggle .item-inner{transition-duration:.3s;transition-property:background-color}.list.accordion-list .accordion-item-toggle .item-inner:after{transition-duration:.3s}.list.accordion-list .accordion-item-toggle .ripple-wave{z-index:0}.accordion-item .item-link .item-inner:after{transition-duration:.3s}.accordion-item .list,.accordion-item .block{margin-top:0;margin-bottom:0}.accordion-item .block>h1:first-child,.accordion-item .block>h2:first-child,.accordion-item .block>h3:first-child,.accordion-item .block>h4:first-child,.accordion-item .block>p:first-child{margin-top:10px}.accordion-item .block>h1:last-child,.accordion-item .block>h2:last-child,.accordion-item .block>h3:last-child,.accordion-item .block>h4:last-child,.accordion-item .block>p:last-child{margin-bottom:10px}.accordion-item-opened .accordion-item-toggle .item-inner:after,.accordion-item-opened>.item-link .item-inner:after{background-color:transparent}.list li.accordion-item ul{padding-left:0}.accordion-item-content{position:relative;overflow:hidden;height:0;font-size:14px;transition-duration:.3s}.accordion-item-opened>.accordion-item-content{height:auto}html.device-android-4 .accordion-item-content{transform:none}.list .accordion-item-toggle .item-inner:before{font-family:framework7-core-icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga";text-align:center;display:block;width:100%;height:100%;font-size:20px;position:absolute;top:50%;font-size:var(--f7-list-chevron-icon-font-size);color:var(--f7-list-chevron-icon-color);pointer-events:none;right:calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right))}.list:not(.accordion-opposite) .accordion-item-toggle .item-inner{padding-right:calc(var(--f7-list-chevron-icon-area) + var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right))}.accordion-opposite .accordion-item-toggle.item-link .item-inner,.accordion-opposite .accordion-item-toggle .item-inner,.accordion-opposite .accordion-item>.item-link>.item-inner,.accordion-opposite .accordion-item>.item-link>.item-content>.item-inner{padding-right:calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right))}.accordion-opposite .accordion-item>.item-link>.item-title-row{padding-right:0}.accordion-opposite .accordion-item-toggle.item-link .item-inner:before,.accordion-opposite .accordion-item-toggle .item-inner:before,.accordion-opposite .accordion-item>.item-link>.item-inner:before,.accordion-opposite .accordion-item>.item-link>.item-content>.item-inner:before,.accordion-opposite .accordion-item>.item-link .item-title-row:before{display:none}.accordion-opposite .accordion-item-toggle>.item-content,.accordion-opposite .accordion-item-toggle.item-content,.accordion-opposite .accordion-item>.item-content,.accordion-opposite .accordion-item>.item-link>.item-content,.accordion-opposite.links-list .accordion-item>a{position:relative;padding-left:calc(var(--f7-list-chevron-icon-area) + var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left))}.accordion-opposite .accordion-item-toggle>.item-content:before,.accordion-opposite .accordion-item-toggle.item-content:before,.accordion-opposite .accordion-item>.item-content:before,.accordion-opposite .accordion-item>.item-link>.item-content:before,.accordion-opposite.links-list .accordion-item>a:before{font-family:framework7-core-icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga";text-align:center;display:block;width:100%;height:100%;font-size:20px;position:absolute;top:50%;font-size:var(--f7-list-chevron-icon-font-size);color:var(--f7-list-chevron-icon-color);pointer-events:none;content:var(--f7-accordion-chevron-icon-down);width:14px;height:8px;margin-top:-4px;line-height:8px;transform:translate(-50%);left:calc((var(--f7-list-chevron-icon-area) + var(--f7-list-item-padding-horizontal)) / 2 + var(--f7-safe-area-left))}.list .accordion-item-toggle.active-state{background-color:var(--f7-list-link-pressed-bg-color)}.list .accordion-item-toggle .item-inner:before,.list:not(.media-list) .accordion-item:not(.media-item) .accordion-item-toggle .item-inner:before,.list:not(.media-list) .accordion-item:not(.media-item)>.item-link .item-inner:before,.media-list .accordion-item .accordion-item-toggle .item-title-row:before,.media-list .accordion-item>.item-link .item-title-row:before,.accordion-item.media-item .accordion-item-toggle .item-title-row:before,.accordion-item.media-item>.item-link .item-title-row:before,.links-list .accordion-item>a:before{content:var(--f7-accordion-chevron-icon-down);width:14px;height:8px;margin-top:-4px;line-height:8px}.list .accordion-item-toggle.accordion-item-opened .item-inner:before,.list:not(.media-list) .accordion-item-opened:not(.media-item) .accordion-item-toggle .item-inner:before,.list:not(.media-list) .accordion-item-opened:not(.media-item)>.item-link .item-inner:before,.media-list .accordion-item-opened .accordion-item-toggle .item-title-row:before,.media-list .accordion-item-opened>.item-link .item-title-row:before,.accordion-item-opened.media-item .accordion-item-toggle .item-title-row:before,.accordion-item-opened.media-item>.item-link .item-title-row:before,.links-list .accordion-item-opened>a:before,.accordion-opposite .accordion-item-opened .accordion-item-toggle>.item-content:before,.accordion-opposite .accordion-item-opened .accordion-item-toggle.item-content:before,.accordion-opposite .accordion-item-opened>.item-content:before,.accordion-opposite .accordion-item-opened>.item-link>.item-content:before,.accordion-opposite .links-list .accordion-item-opened>a:before{content:var(--f7-accordion-chevron-icon-up);width:14px;height:8px;margin-top:-4px;line-height:8px}.ios{--f7-contacts-list-title-font-size: inherit;--f7-contacts-list-title-font-weight: 600;--f7-contacts-list-title-height: 22px;--f7-contacts-list-title-text-color: #000;--f7-contacts-list-title-bg-color: #f7f7f7}.ios .dark,.ios.dark{--f7-contacts-list-title-text-color: #fff;--f7-contacts-list-title-bg-color: #323234}.md{--f7-contacts-list-title-font-size: 20px;--f7-contacts-list-title-font-weight: 500;--f7-contacts-list-title-height: 48px;--f7-contacts-list-title-bg-color: transparent}.md,.md .dark,.md [class*=color-]{--f7-contacts-list-title-text-color: var(--f7-theme-color)}.contacts-list{--f7-list-margin-vertical: 0px}.contacts-list .list-group-title,.contacts-list li.list-group-title{background-color:var(--f7-contacts-list-title-bg-color, var(--f7-list-group-title-bg-color));font-weight:var(--f7-contacts-list-title-font-weight, var(--f7-list-group-title-font-weight));font-size:var(--f7-contacts-list-title-font-size, var(--f7-list-group-title-font-size));color:var(--f7-contacts-list-title-text-color, var(--f7-theme-color));line-height:var(--f7-contacts-list-title-height, var(--f7-list-group-title-height));height:var(--f7-contacts-list-title-height, var(--f7-list-group-title-height))}.contacts-list .list-group:first-child ul:before{display:none!important}.contacts-list .list-group:last-child ul:after{display:none!important}.md .contacts-list .list-group-title{pointer-events:none;overflow:visible;width:40px}.md .contacts-list .list-group-title+li{margin-top:calc(var(--f7-contacts-list-title-height) * -1)}.md .contacts-list .list-group-title:before{display:none!important}.md .contacts-list li:not(.list-group-title){padding-left:40px}:root{--f7-list-index-width: 16px;--f7-list-index-font-size: 11px;--f7-list-index-font-weight: 600;--f7-list-index-item-height: 14px;--f7-list-index-label-font-weight: 500}.ios{--f7-list-index-label-text-color: #fff;--f7-list-index-label-size: 44px;--f7-list-index-label-font-size: 17px;--f7-list-index-skip-dot-size: 6px}.md{--f7-list-index-label-size: 56px;--f7-list-index-label-font-size: 20px;--f7-list-index-skip-dot-size: 4px}.md,.md .dark,.md [class*=color-]{--f7-list-index-label-bg-color: var(--f7-md-primary);--f7-list-index-label-text-color: var(--f7-md-on-primary)}.list-index{position:absolute;top:0;bottom:0;text-align:center;z-index:10;width:var(--f7-list-index-width);cursor:pointer;-webkit-user-select:none;user-select:none;right:var(--f7-safe-area-right)}.list-index:before{content:"";position:absolute;width:20px;top:0;right:100%;height:100%}.list-index ul{color:var(--f7-list-index-text-color, var(--f7-theme-color));font-size:var(--f7-list-index-font-size);font-weight:var(--f7-list-index-font-weight);list-style:none;margin:0;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:center;flex-shrink:0;height:100%;width:100%;position:relative}.list-index li{margin:0;padding:0;list-style:none;position:relative;height:var(--f7-list-index-item-height);line-height:var(--f7-list-index-item-height);flex-shrink:0;display:block;width:100%}.list-index .list-index-skip-placeholder:after{content:"";position:absolute;left:50%;top:50%;border-radius:50%;width:var(--f7-list-index-skip-dot-size);height:var(--f7-list-index-skip-dot-size);margin-left:calc(-1 * var(--f7-list-index-skip-dot-size) / 2);margin-top:calc(-1 * var(--f7-list-index-skip-dot-size) / 2);background:var(--f7-list-index-text-color, var(--f7-theme-color))}.list-index .list-index-label{position:absolute;bottom:0;right:100%;text-align:center;background-color:var(--f7-list-index-label-bg-color, var(--f7-theme-color));color:var(--f7-list-index-label-text-color);width:var(--f7-list-index-label-size);height:var(--f7-list-index-label-size);line-height:var(--f7-list-index-label-size);font-size:var(--f7-list-index-label-font-size);font-weight:var(--f7-list-index-label-font-weight)}.navbar~.page>.list-index,.navbars~.page>.list-index,.navbar~.list-index{top:var(--f7-navbar-height)}.navbar~.toolbar-top~.list-index,.navbars~.toolbar-top~.list-index,.ios .navbar~.toolbar-top-ios~.list-index,.ios .navbars~.toolbar-top-ios .md .navbar~.toolbar-top-md~.list-index{top:calc(var(--f7-navbar-height) + var(--f7-toolbar-height))}.navbar~.toolbar-top.tabbar-icons~.list-index,.navbars~.toolbar-top.tabbar-icons~.list-index,.ios .navbar~.toolbar-top-ios.tabbar-icons~.list-index,.ios .navbars~.toolbar-top-ios .md .navbar~.toolbar-top-md.tabbar-icons~.list-index{top:calc(var(--f7-navbar-height) + var(--f7-tabbar-icons-height))}.navbar~.subnavbar~.list-index,.navbars~.subnavbar~.list-index,.page-with-subnavbar .navbar~.list-index{top:calc(var(--f7-navbar-height) + var(--f7-subnavbar-height))}.toolbar-bottom~.page>.list-index,.ios .toolbar-bottom-ios~.page>.list-index,.md .toolbar-bottom-md~.page>.list-index,.toolbar-bottom~* .page>.list-index,.ios .toolbar-bottom-ios~* .page>.list-index,.md .toolbar-bottom-md~* .page>.list-index,.toolbar-bottom~.list-index,.ios .toolbar-bottom-ios~.list-index,.md .toolbar-bottom-md~.list-index{bottom:calc(var(--f7-toolbar-height) + var(--f7-safe-area-bottom))}.toolbar-bottom.tabbar-icons~.page>.list-index,.ios .toolbar-bottom-ios.tabbar-icons~.page>.list-index,.md .toolbar-bottom-md.tabbar-icons~.page>.list-index,.toolbar-bottom.tabbar-icons~* .page>.list-index,.ios .toolbar-bottom-ios.tabbar-icons~* .page>.list-index,.md .toolbar-bottom-md.tabbar-icons~* .page>.list-index,.toolbar-bottom.tabbar-icons~.list-index,.ios .toolbar-bottom-ios.tabbar-icons~.list-index,.md .toolbar-bottom-md.tabbar-icons~.list-index{bottom:calc(var(--f7-tabbar-icons-height) + var(--f7-safe-area-bottom))}.ios .list-index .list-index-label{margin-bottom:calc(-1 * var(--f7-list-index-label-size) / 2);margin-right:calc(var(--f7-list-index-width) - 1px);border-radius:50%}.ios .list-index .list-index-label:before{position:absolute;width:100%;height:100%;border-radius:50% 0% 50% 50%;content:"";background-color:inherit;left:0;top:0;transform:rotate(45deg);z-index:-1}.md .list-index .list-index-label{border-radius:50% 50% 0}:root{--f7-timeline-inner-block-margin-vertical: 16px;--f7-timeline-divider-margin-horizontal: 16px;--f7-timeline-horizontal-date-height: 34px;--f7-timeline-year-height: 24px;--f7-timeline-year-font-weight: inherit;--f7-timeline-month-height: 24px;--f7-timeline-month-font-size: inherit;--f7-timeline-month-font-weight: inherit;--f7-timeline-item-text-font-weight: inherit;--f7-timeline-item-subtitle-font-weight: inherit}.ios{--f7-timeline-divider-color: #bbb;--f7-timeline-padding-horizontal: 16px;--f7-timeline-margin-vertical: 35px;--f7-timeline-item-inner-border-radius: 7px;--f7-timeline-item-time-font-size: 13px;--f7-timeline-item-title-font-size: 17px;--f7-timeline-item-title-line-height: inherit;--f7-timeline-item-title-font-weight: 600;--f7-timeline-item-subtitle-font-size: 15px;--f7-timeline-item-subtitle-line-height: inherit;--f7-timeline-item-text-font-size: inherit;--f7-timeline-item-text-color: inherit;--f7-timeline-item-text-line-height: inherit;--f7-timeline-year-font-size: 16px;--f7-timeline-horizontal-item-padding: 10px;--f7-timeline-item-inner-bg-color: #fff;--f7-timeline-item-time-text-color: rgba(0, 0, 0, .45);--f7-timeline-horizontal-item-border-color: rgba(0, 0, 0, .22);--f7-timeline-horizontal-item-date-border-color: rgba(0, 0, 0, .22)}.ios .dark,.ios.dark{--f7-timeline-horizontal-item-border-color: rgba(255, 255, 255, .15);--f7-timeline-horizontal-item-date-border-color: rgba(255, 255, 255, .15);--f7-timeline-item-inner-bg-color: #1c1c1d;--f7-timeline-item-time-text-color: rgba(255, 255, 255, .55)}.md{--f7-timeline-padding-horizontal: 16px;--f7-timeline-margin-vertical: 32px;--f7-timeline-item-inner-border-radius: 16px;--f7-timeline-item-time-font-size: 13px;--f7-timeline-item-title-font-size: 16px;--f7-timeline-item-title-line-height: inherit;--f7-timeline-item-title-font-weight: 400;--f7-timeline-item-subtitle-font-size: inherit;--f7-timeline-item-subtitle-line-height: inherit;--f7-timeline-item-text-font-size: inherit;--f7-timeline-item-text-line-height: inherit;--f7-timeline-year-font-size: 16px;--f7-timeline-horizontal-item-padding: 12px;--f7-timeline-horizontal-item-date-border-color: transparent}.md,.md .dark,.md [class*=color-]{--f7-timeline-divider-color: var(--f7-md-outline);--f7-timeline-item-text-color: var(--f7-md-on-surface);--f7-timeline-horizontal-item-border-color: var(--f7-md-outline);--f7-timeline-item-inner-bg-color: var(--f7-md-surface-1);--f7-timeline-item-time-text-color: var(--f7-md-on-surface-variant)}.timeline{box-sizing:border-box;margin:var(--f7-timeline-margin-vertical) 0;padding:0 var(--f7-timeline-padding-horizontal);padding-top:0;padding-bottom:0;padding-left:calc(var(--f7-timeline-padding-horizontal) + var(--f7-safe-area-left));padding-right:calc(var(--f7-timeline-padding-horizontal) + var(--f7-safe-area-right))}.block-strong .timeline{padding:0;margin:0}.timeline-item{display:flex;justify-content:flex-start;overflow:hidden;box-sizing:border-box;position:relative;padding:2px 0px var(--f7-timeline-padding-horizontal)}.timeline-item:last-child{padding-bottom:2px}.timeline-item-date{flex-shrink:0;width:50px;text-align:right;box-sizing:border-box}.timeline-item-date small{font-size:10px}.timeline-item-content{margin:2px;min-width:0;position:relative;flex-shrink:10}.timeline-item-content .card,.timeline-item-content.card,.timeline-item-content .list,.timeline-item-content.list,.timeline-item-content .block,.timeline-item-content.block{margin:0;width:100%}.timeline-item-content .card+.card,.timeline-item-content .list+.card,.timeline-item-content .block+.card,.timeline-item-content .card+.list,.timeline-item-content .list+.list,.timeline-item-content .block+.list,.timeline-item-content .card+.block,.timeline-item-content .list+.block,.timeline-item-content .block+.block{margin:var(--f7-timeline-inner-block-margin-vertical) 0 0}.timeline-item-content p:first-child,.timeline-item-content ul:first-child,.timeline-item-content ol:first-child,.timeline-item-content h1:first-child,.timeline-item-content h2:first-child,.timeline-item-content h3:first-child,.timeline-item-content h4:first-child{margin-top:0}.timeline-item-content p:last-child,.timeline-item-content ul:last-child,.timeline-item-content ol:last-child,.timeline-item-content h1:last-child,.timeline-item-content h2:last-child,.timeline-item-content h3:last-child,.timeline-item-content h4:last-child{margin-bottom:0}.timeline-item-inner{background:var(--f7-timeline-item-inner-bg-color);box-sizing:border-box;border-radius:var(--f7-timeline-item-inner-border-radius);padding:8px var(--f7-timeline-padding-horizontal)}.timeline-item-inner+.timeline-item-inner{margin-top:var(--f7-timeline-inner-block-margin-vertical)}.timeline-item-inner .block{padding:0;color:inherit}.timeline-item-inner .block-strong{padding-left:0;padding-right:0;margin:0}.timeline-item-inner .block-strong:before,.timeline-item-inner .block-strong:after{display:none!important}.timeline-item-inner .list ul:before,.timeline-item-inner .list ul:after{display:none!important}.timeline-item-divider{width:1px;position:relative;width:10px;height:10px;background:var(--f7-timeline-divider-color);border-radius:50%;flex-shrink:0;margin:3px var(--f7-timeline-divider-margin-horizontal) 0}.timeline-item-divider:after,.timeline-item-divider:before{content:" ";width:1px;height:100vh;position:absolute;left:50%;background:inherit;transform:translate3d(-50%,0,0)}.timeline-item-divider:after{top:100%}.timeline-item-divider:before{bottom:100%}.timeline-item:last-child .timeline-item-divider:after{display:none}.timeline-item:first-child .timeline-item-divider:before{display:none}.timeline-item-time{font-size:var(--f7-timeline-item-time-font-size);margin-top:var(--f7-timeline-inner-block-margin-vertical);color:var(--f7-timeline-item-time-text-color)}.timeline-item-time:first-child,.timeline-item-time:last-child{margin-top:0}.timeline-item-title+.timeline-item-time{margin-top:0}.timeline-item-title{font-size:var(--f7-timeline-item-title-font-size);font-weight:var(--f7-timeline-item-title-font-weight);line-height:var(--f7-timeline-item-title-line-height)}.timeline-item-subtitle{font-size:var(--f7-timeline-item-subtitle-font-size);font-weight:var(--f7-timeline-item-subtitle-font-weight);line-height:var(--f7-timeline-item-subtitle-line-height)}.timeline-item-text{color:var(--f7-timeline-item-text-color);font-size:var(--f7-timeline-item-text-font-size);font-weight:var(--f7-timeline-item-text-font-weight);line-height:var(--f7-timeline-item-text-line-height)}.timeline-sides .timeline-item-right,.timeline-sides .timeline-item{margin-left:calc(50% - (var(--f7-timeline-divider-margin-horizontal) * 2 + 10px) / 2 - 50px);margin-right:0}.timeline-sides .timeline-item-right .timeline-item-date,.timeline-sides .timeline-item .timeline-item-date{text-align:right}.timeline-sides .timeline-item-left,.timeline-sides .timeline-item:not(.timeline-item-right):nth-child(2n){flex-direction:row-reverse;margin-right:calc(50% - (var(--f7-timeline-divider-margin-horizontal) * 2 + 10px) / 2 - 50px);margin-left:0}.timeline-sides .timeline-item-left .timeline-item-date,.timeline-sides .timeline-item:not(.timeline-item-right):nth-child(2n) .timeline-item-date{text-align:left}@media (min-width: 480px){.xsmall-sides .timeline-item-right,.xsmall-sides .timeline-item{margin-left:calc(50% - (var(--f7-timeline-divider-margin-horizontal) * 2 + 10px) / 2 - 50px);margin-right:0}.xsmall-sides .timeline-item-right .timeline-item-date,.xsmall-sides .timeline-item .timeline-item-date{text-align:right}.xsmall-sides .timeline-item-left,.xsmall-sides .timeline-item:not(.timeline-item-right):nth-child(2n){flex-direction:row-reverse;margin-right:calc(50% - (var(--f7-timeline-divider-margin-horizontal) * 2 + 10px) / 2 - 50px);margin-left:0}.xsmall-sides .timeline-item-left .timeline-item-date,.xsmall-sides .timeline-item:not(.timeline-item-right):nth-child(2n) .timeline-item-date{text-align:left}}@media (min-width: 568px){.small-sides .timeline-item-right,.small-sides .timeline-item{margin-left:calc(50% - (var(--f7-timeline-divider-margin-horizontal) * 2 + 10px) / 2 - 50px);margin-right:0}.small-sides .timeline-item-right .timeline-item-date,.small-sides .timeline-item .timeline-item-date{text-align:right}.small-sides .timeline-item-left,.small-sides .timeline-item:not(.timeline-item-right):nth-child(2n){flex-direction:row-reverse;margin-right:calc(50% - (var(--f7-timeline-divider-margin-horizontal) * 2 + 10px) / 2 - 50px);margin-left:0}.small-sides .timeline-item-left .timeline-item-date,.small-sides .timeline-item:not(.timeline-item-right):nth-child(2n) .timeline-item-date{text-align:left}}@media (min-width: 768px){.medium-sides .timeline-item-right,.medium-sides .timeline-item{margin-left:calc(50% - (var(--f7-timeline-divider-margin-horizontal) * 2 + 10px) / 2 - 50px);margin-right:0}.medium-sides .timeline-item-right .timeline-item-date,.medium-sides .timeline-item .timeline-item-date{text-align:right}.medium-sides .timeline-item-left,.medium-sides .timeline-item:not(.timeline-item-right):nth-child(2n){flex-direction:row-reverse;margin-right:calc(50% - (var(--f7-timeline-divider-margin-horizontal) * 2 + 10px) / 2 - 50px);margin-left:0}.medium-sides .timeline-item-left .timeline-item-date,.medium-sides .timeline-item:not(.timeline-item-right):nth-child(2n) .timeline-item-date{text-align:left}}@media (min-width: 1024px){.large-sides .timeline-item-right,.large-sides .timeline-item{margin-left:calc(50% - (var(--f7-timeline-divider-margin-horizontal) * 2 + 10px) / 2 - 50px);margin-right:0}.large-sides .timeline-item-right .timeline-item-date,.large-sides .timeline-item .timeline-item-date{text-align:right}.large-sides .timeline-item-left,.large-sides .timeline-item:not(.timeline-item-right):nth-child(2n){flex-direction:row-reverse;margin-right:calc(50% - (var(--f7-timeline-divider-margin-horizontal) * 2 + 10px) / 2 - 50px);margin-left:0}.large-sides .timeline-item-left .timeline-item-date,.large-sides .timeline-item:not(.timeline-item-right):nth-child(2n) .timeline-item-date{text-align:left}}@media (min-width: 1200px){.xlarge-sides .timeline-item-right,.xlarge-sides .timeline-item{margin-left:calc(50% - (var(--f7-timeline-divider-margin-horizontal) * 2 + 10px) / 2 - 50px);margin-right:0}.xlarge-sides .timeline-item-right .timeline-item-date,.xlarge-sides .timeline-item .timeline-item-date{text-align:right}.xlarge-sides .timeline-item-left,.xlarge-sides .timeline-item:not(.timeline-item-right):nth-child(2n){flex-direction:row-reverse;margin-right:calc(50% - (var(--f7-timeline-divider-margin-horizontal) * 2 + 10px) / 2 - 50px);margin-left:0}.xlarge-sides .timeline-item-left .timeline-item-date,.xlarge-sides .timeline-item:not(.timeline-item-right):nth-child(2n) .timeline-item-date{text-align:left}}.timeline-horizontal{height:100%;display:flex;padding:0;margin:0;position:relative;padding-left:var(--f7-safe-area-left);padding-right:0}.timeline-horizontal .timeline-item{display:block;width:100/3vw;margin:0;padding:0;flex-shrink:0;position:relative;height:100%;padding-top:var(--f7-timeline-horizontal-date-height)!important;padding-bottom:var(--f7-timeline-horizontal-item-padding)}.timeline-horizontal .timeline-item:after{content:"";position:absolute;background-color:var(--f7-timeline-horizontal-item-border-color);display:block;z-index:15;top:0;right:0;bottom:auto;left:auto;width:1px;height:100%;transform-origin:100% 50%;transform:scaleX(calc(1 / var(--f7-device-pixel-ratio)))}.timeline-horizontal .timeline-item-date{padding:0px var(--f7-timeline-horizontal-item-padding);width:auto;line-height:var(--f7-timeline-horizontal-date-height);position:absolute;left:0;top:0;width:100%;height:var(--f7-timeline-horizontal-date-height);background-color:var(--f7-bars-bg-color);color:var(--f7-bars-text-color);text-align:left}@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))){.ios-translucent-bars .timeline-horizontal .timeline-item-date{background-color:rgba(var(--f7-bars-bg-color-rgb),var(--f7-bars-translucent-opacity));-webkit-backdrop-filter:saturate(180%) blur(var(--f7-bars-translucent-blur));backdrop-filter:saturate(180%) blur(var(--f7-bars-translucent-blur))}}.timeline-horizontal .timeline-item-date:after{content:"";position:absolute;background-color:var(--f7-timeline-horizontal-item-date-border-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.timeline-horizontal .timeline-item-content{padding:var(--f7-timeline-horizontal-item-padding);height:calc(100vw - var(--f7-timeline-horizontal-item-padding));overflow:auto;-webkit-overflow-scrolling:touch;margin:0}.timeline-horizontal .timeline-item-divider{display:none}.timeline-horizontal>.timeline-item:last-child:after,.timeline-horizontal .timeline-month:last-child .timeline-item:last-child:after{display:none!important}.timeline-horizontal.timeline-cols-1 .timeline-item{width:100vw}.timeline-horizontal.timeline-cols-2 .timeline-item{width:50vw}.timeline-horizontal.timeline-cols-3 .timeline-item{width:calc(100vw / 3)}.timeline-horizontal.timeline-cols-4 .timeline-item{width:25vw}.timeline-horizontal.timeline-cols-5 .timeline-item{width:20vw}.timeline-horizontal.timeline-cols-6 .timeline-item{width:calc(100vw / 6)}.timeline-horizontal.timeline-cols-7 .timeline-item{width:calc(100vw / 7)}.timeline-horizontal.timeline-cols-8 .timeline-item{width:12.5vw}.timeline-horizontal.timeline-cols-9 .timeline-item{width:calc(100vw / 9)}.timeline-horizontal.timeline-cols-10 .timeline-item{width:10vw}.timeline-horizontal.timeline-cols-11 .timeline-item{width:calc(100vw / 11)}.timeline-horizontal.timeline-cols-12 .timeline-item{width:calc(100vw / 12)}.timeline-horizontal.timeline-cols-13 .timeline-item{width:calc(100vw / 13)}.timeline-horizontal.timeline-cols-14 .timeline-item{width:calc(100vw / 14)}.timeline-horizontal.timeline-cols-15 .timeline-item{width:calc(100vw / 15)}.timeline-horizontal.timeline-cols-16 .timeline-item{width:6.25vw}.timeline-horizontal.timeline-cols-17 .timeline-item{width:calc(100vw / 17)}.timeline-horizontal.timeline-cols-18 .timeline-item{width:calc(100vw / 18)}.timeline-horizontal.timeline-cols-19 .timeline-item{width:calc(100vw / 19)}.timeline-horizontal.timeline-cols-20 .timeline-item{width:5vw}@media (min-width: 480px){.timeline-horizontal.xsmall-timeline-cols-1 .timeline-item{width:100vw}.timeline-horizontal.xsmall-timeline-cols-2 .timeline-item{width:50vw}.timeline-horizontal.xsmall-timeline-cols-3 .timeline-item{width:calc(100vw / 3)}.timeline-horizontal.xsmall-timeline-cols-4 .timeline-item{width:25vw}.timeline-horizontal.xsmall-timeline-cols-5 .timeline-item{width:20vw}.timeline-horizontal.xsmall-timeline-cols-6 .timeline-item{width:calc(100vw / 6)}.timeline-horizontal.xsmall-timeline-cols-7 .timeline-item{width:calc(100vw / 7)}.timeline-horizontal.xsmall-timeline-cols-8 .timeline-item{width:12.5vw}.timeline-horizontal.xsmall-timeline-cols-9 .timeline-item{width:calc(100vw / 9)}.timeline-horizontal.xsmall-timeline-cols-10 .timeline-item{width:10vw}.timeline-horizontal.xsmall-timeline-cols-11 .timeline-item{width:calc(100vw / 11)}.timeline-horizontal.xsmall-timeline-cols-12 .timeline-item{width:calc(100vw / 12)}.timeline-horizontal.xsmall-timeline-cols-13 .timeline-item{width:calc(100vw / 13)}.timeline-horizontal.xsmall-timeline-cols-14 .timeline-item{width:calc(100vw / 14)}.timeline-horizontal.xsmall-timeline-cols-15 .timeline-item{width:calc(100vw / 15)}.timeline-horizontal.xsmall-timeline-cols-16 .timeline-item{width:6.25vw}.timeline-horizontal.xsmall-timeline-cols-17 .timeline-item{width:calc(100vw / 17)}.timeline-horizontal.xsmall-timeline-cols-18 .timeline-item{width:calc(100vw / 18)}.timeline-horizontal.xsmall-timeline-cols-19 .timeline-item{width:calc(100vw / 19)}.timeline-horizontal.xsmall-timeline-cols-20 .timeline-item{width:5vw}}@media (min-width: 568px){.timeline-horizontal.small-timeline-cols-1 .timeline-item{width:100vw}.timeline-horizontal.small-timeline-cols-2 .timeline-item{width:50vw}.timeline-horizontal.small-timeline-cols-3 .timeline-item{width:calc(100vw / 3)}.timeline-horizontal.small-timeline-cols-4 .timeline-item{width:25vw}.timeline-horizontal.small-timeline-cols-5 .timeline-item{width:20vw}.timeline-horizontal.small-timeline-cols-6 .timeline-item{width:calc(100vw / 6)}.timeline-horizontal.small-timeline-cols-7 .timeline-item{width:calc(100vw / 7)}.timeline-horizontal.small-timeline-cols-8 .timeline-item{width:12.5vw}.timeline-horizontal.small-timeline-cols-9 .timeline-item{width:calc(100vw / 9)}.timeline-horizontal.small-timeline-cols-10 .timeline-item{width:10vw}.timeline-horizontal.small-timeline-cols-11 .timeline-item{width:calc(100vw / 11)}.timeline-horizontal.small-timeline-cols-12 .timeline-item{width:calc(100vw / 12)}.timeline-horizontal.small-timeline-cols-13 .timeline-item{width:calc(100vw / 13)}.timeline-horizontal.small-timeline-cols-14 .timeline-item{width:calc(100vw / 14)}.timeline-horizontal.small-timeline-cols-15 .timeline-item{width:calc(100vw / 15)}.timeline-horizontal.small-timeline-cols-16 .timeline-item{width:6.25vw}.timeline-horizontal.small-timeline-cols-17 .timeline-item{width:calc(100vw / 17)}.timeline-horizontal.small-timeline-cols-18 .timeline-item{width:calc(100vw / 18)}.timeline-horizontal.small-timeline-cols-19 .timeline-item{width:calc(100vw / 19)}.timeline-horizontal.small-timeline-cols-20 .timeline-item{width:5vw}}@media (min-width: 768px){.timeline-horizontal.medium-timeline-cols-1 .timeline-item{width:100vw}.timeline-horizontal.medium-timeline-cols-2 .timeline-item{width:50vw}.timeline-horizontal.medium-timeline-cols-3 .timeline-item{width:calc(100vw / 3)}.timeline-horizontal.medium-timeline-cols-4 .timeline-item{width:25vw}.timeline-horizontal.medium-timeline-cols-5 .timeline-item{width:20vw}.timeline-horizontal.medium-timeline-cols-6 .timeline-item{width:calc(100vw / 6)}.timeline-horizontal.medium-timeline-cols-7 .timeline-item{width:calc(100vw / 7)}.timeline-horizontal.medium-timeline-cols-8 .timeline-item{width:12.5vw}.timeline-horizontal.medium-timeline-cols-9 .timeline-item{width:calc(100vw / 9)}.timeline-horizontal.medium-timeline-cols-10 .timeline-item{width:10vw}.timeline-horizontal.medium-timeline-cols-11 .timeline-item{width:calc(100vw / 11)}.timeline-horizontal.medium-timeline-cols-12 .timeline-item{width:calc(100vw / 12)}.timeline-horizontal.medium-timeline-cols-13 .timeline-item{width:calc(100vw / 13)}.timeline-horizontal.medium-timeline-cols-14 .timeline-item{width:calc(100vw / 14)}.timeline-horizontal.medium-timeline-cols-15 .timeline-item{width:calc(100vw / 15)}.timeline-horizontal.medium-timeline-cols-16 .timeline-item{width:6.25vw}.timeline-horizontal.medium-timeline-cols-17 .timeline-item{width:calc(100vw / 17)}.timeline-horizontal.medium-timeline-cols-18 .timeline-item{width:calc(100vw / 18)}.timeline-horizontal.medium-timeline-cols-19 .timeline-item{width:calc(100vw / 19)}.timeline-horizontal.medium-timeline-cols-20 .timeline-item{width:5vw}}@media (min-width: 1024px){.timeline-horizontal.large-timeline-cols-1 .timeline-item{width:100vw}.timeline-horizontal.large-timeline-cols-2 .timeline-item{width:50vw}.timeline-horizontal.large-timeline-cols-3 .timeline-item{width:calc(100vw / 3)}.timeline-horizontal.large-timeline-cols-4 .timeline-item{width:25vw}.timeline-horizontal.large-timeline-cols-5 .timeline-item{width:20vw}.timeline-horizontal.large-timeline-cols-6 .timeline-item{width:calc(100vw / 6)}.timeline-horizontal.large-timeline-cols-7 .timeline-item{width:calc(100vw / 7)}.timeline-horizontal.large-timeline-cols-8 .timeline-item{width:12.5vw}.timeline-horizontal.large-timeline-cols-9 .timeline-item{width:calc(100vw / 9)}.timeline-horizontal.large-timeline-cols-10 .timeline-item{width:10vw}.timeline-horizontal.large-timeline-cols-11 .timeline-item{width:calc(100vw / 11)}.timeline-horizontal.large-timeline-cols-12 .timeline-item{width:calc(100vw / 12)}.timeline-horizontal.large-timeline-cols-13 .timeline-item{width:calc(100vw / 13)}.timeline-horizontal.large-timeline-cols-14 .timeline-item{width:calc(100vw / 14)}.timeline-horizontal.large-timeline-cols-15 .timeline-item{width:calc(100vw / 15)}.timeline-horizontal.large-timeline-cols-16 .timeline-item{width:6.25vw}.timeline-horizontal.large-timeline-cols-17 .timeline-item{width:calc(100vw / 17)}.timeline-horizontal.large-timeline-cols-18 .timeline-item{width:calc(100vw / 18)}.timeline-horizontal.large-timeline-cols-19 .timeline-item{width:calc(100vw / 19)}.timeline-horizontal.large-timeline-cols-20 .timeline-item{width:5vw}}@media (min-width: 1200px){.timeline-horizontal.xlarge-timeline-cols-1 .timeline-item{width:100vw}.timeline-horizontal.xlarge-timeline-cols-2 .timeline-item{width:50vw}.timeline-horizontal.xlarge-timeline-cols-3 .timeline-item{width:calc(100vw / 3)}.timeline-horizontal.xlarge-timeline-cols-4 .timeline-item{width:25vw}.timeline-horizontal.xlarge-timeline-cols-5 .timeline-item{width:20vw}.timeline-horizontal.xlarge-timeline-cols-6 .timeline-item{width:calc(100vw / 6)}.timeline-horizontal.xlarge-timeline-cols-7 .timeline-item{width:calc(100vw / 7)}.timeline-horizontal.xlarge-timeline-cols-8 .timeline-item{width:12.5vw}.timeline-horizontal.xlarge-timeline-cols-9 .timeline-item{width:calc(100vw / 9)}.timeline-horizontal.xlarge-timeline-cols-10 .timeline-item{width:10vw}.timeline-horizontal.xlarge-timeline-cols-11 .timeline-item{width:calc(100vw / 11)}.timeline-horizontal.xlarge-timeline-cols-12 .timeline-item{width:calc(100vw / 12)}.timeline-horizontal.xlarge-timeline-cols-13 .timeline-item{width:calc(100vw / 13)}.timeline-horizontal.xlarge-timeline-cols-14 .timeline-item{width:calc(100vw / 14)}.timeline-horizontal.xlarge-timeline-cols-15 .timeline-item{width:calc(100vw / 15)}.timeline-horizontal.xlarge-timeline-cols-16 .timeline-item{width:6.25vw}.timeline-horizontal.xlarge-timeline-cols-17 .timeline-item{width:calc(100vw / 17)}.timeline-horizontal.xlarge-timeline-cols-18 .timeline-item{width:calc(100vw / 18)}.timeline-horizontal.xlarge-timeline-cols-19 .timeline-item{width:calc(100vw / 19)}.timeline-horizontal.xlarge-timeline-cols-20 .timeline-item{width:5vw}}.timeline-year{padding-top:var(--f7-timeline-year-height)}.timeline-year:after{content:"";position:absolute;background-color:var(--f7-timeline-horizontal-item-border-color);display:block;z-index:15;top:0;right:0;bottom:auto;left:auto;width:1px;height:100%;transform-origin:100% 50%;transform:scaleX(calc(1 / var(--f7-device-pixel-ratio)))}.timeline-year:last-child:after{display:none!important}.timeline-month{padding-top:var(--f7-timeline-month-height)}.timeline-month .timeline-item:before{content:"";position:absolute;background-color:var(--f7-timeline-horizontal-item-border-color);display:block;z-index:15;top:0;right:auto;bottom:auto;left:0;height:1px;width:100%;transform-origin:50% 0%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.timeline-year,.timeline-month{display:flex;flex-shrink:0;position:relative;box-sizing:border-box;height:100%}.timeline-year-title{line-height:var(--f7-timeline-year-height);height:var(--f7-timeline-year-height);font-size:var(--f7-timeline-year-font-size);font-weight:var(--f7-timeline-year-font-weight)}.timeline-month-title{line-height:var(--f7-timeline-month-height);height:var(--f7-timeline-month-height);font-size:var(--f7-timeline-month-font-size);font-weight:var(--f7-timeline-month-font-weight)}.timeline-year-title,.timeline-month-title{position:absolute;left:0;top:0;width:100%;box-sizing:border-box;padding:0 var(--f7-timeline-horizontal-item-padding);background-color:var(--f7-bars-bg-color);color:var(--f7-bars-text-color)}@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))){.ios-translucent-bars .timeline-year-title,.ios-translucent-bars .timeline-month-title{background-color:rgba(var(--f7-bars-bg-color-rgb),var(--f7-bars-translucent-opacity));-webkit-backdrop-filter:saturate(180%) blur(var(--f7-bars-translucent-blur));backdrop-filter:saturate(180%) blur(var(--f7-bars-translucent-blur))}}.timeline-year-title span,.timeline-month-title span{display:inline-block;position:sticky;left:calc(var(--f7-timeline-horizontal-item-padding) + var(--f7-safe-area-left))}.timeline-month-title span{margin-top:-2px}.timeline-year:first-child .timeline-year-title,.timeline-year:first-child .timeline-month:first-child .timeline-month-title,.timeline-year:first-child .timeline-year-title+.timeline-month .timeline-month-title{left:calc(var(--f7-safe-area-left) * -1);right:0;width:auto}.timeline-horizontal .timeline-item:first-child,.timeline-year:first-child .timeline-month:first-child .timeline-item:first-child,.timeline-year:first-child .timeline-year-title+.timeline-month .timeline-item:first-child,.timeline-year:first-child .timeline-year-title+.timeline-month .timeline-month-title+.timeline-item{overflow:visible}.timeline-horizontal .timeline-item:first-child .timeline-item-date,.timeline-year:first-child .timeline-month:first-child .timeline-item:first-child .timeline-item-date,.timeline-year:first-child .timeline-year-title+.timeline-month .timeline-item:first-child .timeline-item-date,.timeline-year:first-child .timeline-year-title+.timeline-month .timeline-month-title+.timeline-item .timeline-item-date{width:auto;padding-left:calc(var(--f7-timeline-horizontal-item-padding) + var(--f7-safe-area-left));left:calc(0px - var(--f7-safe-area-left));right:0}.timeline-year:last-child .timeline-year-title,.timeline-year:last-child .timeline-month:last-child .timeline-month-title{width:auto;right:calc(0px - var(--f7-safe-area-right))}.timeline-horizontal .timeline-item:last-child,.timeline-year:last-child .timeline-month:last-child .timeline-item:last-child{overflow:visible}.timeline-horizontal .timeline-item:last-child .timeline-item-date,.timeline-year:last-child .timeline-month:last-child .timeline-item:last-child .timeline-item-date{width:auto;right:calc(0px - var(--f7-safe-area-right));left:0}.ios .block-strong .timeline-item-inner{border-radius:3px;border:1px solid rgba(0,0,0,.1)}.ios .timeline-year-title span{margin-top:3px}.md .timeline-year-title span{margin-top:2px}.tabs .tab{display:none}.tabs .tab-active{display:block}.tabs-animated-wrap{position:relative;width:100%;overflow:hidden;height:100%}.tabs-animated-wrap>.tabs{display:flex;height:100%;transition-duration:.3s}.tabs-animated-wrap>.tabs>.tab{width:100%;display:block;flex-shrink:0}.tabs-animated-wrap.not-animated>.tabs{transition-duration:0ms}swiper-container.tabs{height:100%}swiper-container.tabs>.tab{display:block;touch-action:pan-y}.page>.tabs{height:100%}:root{--f7-panel-width: 260px;--f7-panel-backdrop-bg-color: rgba(0, 0, 0, .3);--f7-panel-bg-color: #fff}:root .dark,:root.dark{--f7-panel-bg-color: #000}.ios{--f7-panel-collapsed-width: 58px;--f7-panel-transition-duration: .4s;--f7-panel-transition-timing-function: initial}.md{--f7-panel-collapsed-width: 60px;--f7-panel-transition-duration: .4s;--f7-panel-transition-timing-function: cubic-bezier(0, .8, .34, 1)}.panel-backdrop{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;z-index:5999;visibility:hidden;pointer-events:none;transform:translateZ(0);background-color:var(--f7-panel-backdrop-bg-color);transition-property:transform,opacity;transition-duration:var(--f7-panel-transition-duration)}.panel-backdrop .with-panel,.panel-backdrop .with-panel-closing{visibility:visible}.panel-backdrop.not-animated{transition-duration:0ms!important}.panel{z-index:1000;box-sizing:border-box;position:absolute;top:0;height:100%;transform:translateZ(0);width:var(--f7-panel-width);background-color:var(--f7-panel-bg-color);overflow:visible;transition-property:transform;transition-duration:var(--f7-panel-transition-duration)}.panel:not(.panel-in):not(.panel-out):not(.panel-in-breakpoint):not(.panel-in-collapsed):not(.panel-in-swipe){display:none}.panel:after{pointer-events:none;opacity:0;z-index:5999;position:absolute;content:"";top:0;width:20px;height:100%;transition-property:transform,opacity;transition-duration:var(--f7-panel-transition-duration)}.panel.not-animated,.panel.not-animated:after{transition-duration:0ms!important}.panel.panel-reveal.not-animated~.views,.panel.panel-reveal.not-animated~.view{transition-duration:0ms!important}.panel.panel-resizing{-webkit-user-select:none;user-select:none}.panel.panel-resizing,.panel.panel-resizing:after,.panel.panel-resizing~.views,.panel.panel-resizing~.view{transition-duration:0ms!important}.panel-cover,.panel-floating{z-index:6000}.panel-floating{overflow:hidden;border-radius:16px;height:auto;top:calc(8px + var(--f7-safe-area-top, 0px));bottom:calc(8px + var(--f7-safe-area-bottom, 0px))}.panel-floating .views,.panel-floating .view{--f7-safe-area-top: 0px;--f7-safe-area-bottom: 0px}.page .panel-floating{top:calc(8px + var(--f7-page-navbar-offset, 0px));bottom:calc(8px + var(--f7-safe-area-bottom, 0px))}.page .panel-floating .page{--f7-page-navbar-offset: 0px}.page .panel-floating .navbar~*,.page .panel-floating .navbars~*{--f7-page-navbar-offset: calc(var(--f7-navbar-height))}.panel-left{left:0;width:var(--f7-panel-left-width, var(--f7-panel-width))}.panel-left.panel-cover,.panel-left.panel-floating,.panel-left.panel-push{transform:translate3d(calc(-1 * var(--f7-panel-left-width, var(--f7-panel-width))),0,0)}.panel-right{right:0;width:var(--f7-panel-right-width, var(--f7-panel-width))}.panel-right.panel-cover,.panel-right.panel-floating,.panel-right.panel-push{transform:translate3d(var(--f7-panel-right-width, var(--f7-panel-width)),0,0)}.panel-in-breakpoint{transform:translateZ(0)!important;transition-duration:0ms}.panel-in-breakpoint:after{display:none}.panel-in-breakpoint.panel-cover,.panel-in-breakpoint.panel-floating{z-index:5900}.panel,.panel-backdrop{transition-timing-function:var(--f7-panel-transition-timing-function)}html.with-panel-left-reveal .views,html.with-panel-right-reveal .views,html.with-panel-left-push .views,html.with-panel-right-push .views,html.with-panel-closing .views,html.with-panel-left-reveal .framework7-root>.view,html.with-panel-right-reveal .framework7-root>.view,html.with-panel-left-push .framework7-root>.view,html.with-panel-right-push .framework7-root>.view,html.with-panel-closing .framework7-root>.view{transition-duration:var(--f7-panel-transition-duration);transition-property:transform;transition-timing-function:var(--f7-panel-transition-timing-function)}html.with-panel .framework7-root>.views .page-content,html.with-panel .framework7-root>.view .page-content{overflow:hidden;-webkit-overflow-scrolling:auto}html.with-panel-left-reveal .views,html.with-panel-left-push .views,html.with-panel-left-reveal .framework7-root>.view,html.with-panel-left-push .framework7-root>.view{transform:translate3d(var(--f7-panel-left-width, var(--f7-panel-width)),0,0)}html.with-panel-right-reveal .views,html.with-panel-right-push .views,html.with-panel-right-reveal .framework7-root>.view,html.with-panel-right-push .framework7-root>.view{transform:translate3d(calc(-1 * var(--f7-panel-right-width, var(--f7-panel-width))),0,0)}.page>.panel-backdrop{z-index:290}.page>.panel-reveal,.page .panel-push{z-index:1}.page>.panel-cover,.page>.panel-floating{z-index:300}.page.with-panel-left-reveal>.page-content,.page.with-panel-right-reveal>.page-content,.page.with-panel-left-push>.page-content,.page.with-panel-right-push>.page-content,.page.with-panel-closing>.page-content,.page.with-panel-left-reveal>.tabs,.page.with-panel-right-reveal>.tabs,.page.with-panel-left-push>.tabs,.page.with-panel-right-push>.tabs,.page.with-panel-closing>.tabs{transition-duration:var(--f7-panel-transition-duration);transition-property:transform;transition-timing-function:var(--f7-panel-transition-timing-function)}.page.with-panel-left-reveal>.page-content,.page.with-panel-left-push>.page-content,.page.with-panel-left-reveal>.tabs,.page.with-panel-left-push>.tabs{transform:translate3d(var(--f7-panel-left-width, var(--f7-panel-width)),0,0)}.page.with-panel-right-reveal>.page-content,.page.with-panel-right-push>.page-content,.page.with-panel-right-reveal>.tabs,.page.with-panel-right-push>.tabs{transform:translate3d(calc(-1 * var(--f7-panel-right-width, var(--f7-panel-width))),0,0)}.with-panel-closing .panel-backdrop-in{visibility:visible;pointer-events:auto;opacity:0}.with-panel-left-reveal .panel-backdrop-in,.with-panel-right-reveal .panel-backdrop-in,.with-panel-left-cover .panel-backdrop-in,.with-panel-right-cover .panel-backdrop-in,.with-panel-left-floating .panel-backdrop-in,.with-panel-right-floating .panel-backdrop-in,.with-panel-left-push .panel-backdrop-in,.with-panel-right-push .panel-backdrop-in{visibility:visible;pointer-events:auto;opacity:1}.with-panel-left-reveal .panel-backdrop-in,.with-panel-left-push .panel-backdrop-in{transform:translate3d(var(--f7-panel-left-width, var(--f7-panel-width)),0,0)}.with-panel-right-reveal .panel-backdrop-in,.with-panel-right-push .panel-backdrop-in{transform:translate3d(calc(-1 * var(--f7-panel-right-width, var(--f7-panel-width))),0,0)}.with-panel-left-cover .panel-left,.with-panel-left-push .panel-left{transform:translateZ(0)}.with-panel-left-floating .panel-left{transform:translate3d(8px,0,0)}.with-panel-right-cover .panel-right,.with-panel-right-push .panel-right{transform:translateZ(0)}.with-panel-right-floating .panel-right{transform:translate3d(-8px,0,0)}.panel-resizable{max-width:100%}.panel-resize-handler{position:absolute;top:0;height:100%;width:6px;cursor:col-resize;z-index:6000;display:none}.panel-resizable .panel-resize-handler{display:block}.panel-left.panel-cover .panel-resize-handler,.panel-left.panel-floating .panel-resize-handler{right:-3px}.panel-left.panel-reveal .panel-resize-handler,.panel-left.panel-push .panel-resize-handler{right:0}.panel-right.panel-cover .panel-resize-handler,.panel-right.panel-floating .panel-resize-handler{left:-3px}.panel-right.panel-reveal .panel-resize-handler,.panel-right.panel-push .panel-resize-handler{left:0}.panel-left.panel-in-collapsed~.views,.panel-left.panel-in-collapsed~.view,.panel-left.panel-in-collapsed~.page-content,.panel-left.panel-in-collapsed~.tabs{margin-left:var(--f7-panel-left-collapsed-width, var(--f7-panel-collapsed-width))}.page.with-panel-left-reveal .panel-left.panel-in-collapsed~.page-content,.page.with-panel-left-reveal .panel-left.panel-in-collapsed~.tabs,html.with-panel-left-reveal .panel-left.panel-in-collapsed~.views,html.with-panel-left-reveal .panel-left.panel-in-collapsed~.view{transform:translate3d(calc(var(--f7-panel-left-width, var(--f7-panel-width)) - var(--f7-panel-left-collapsed-width, var(--f7-panel-collapsed-width))),0,0)}.panel-right.panel-in-collapsed~.views,.panel-right.panel-in-collapsed~.view,.panel-right.panel-in-collapsed~.page-content,.panel-right.panel-in-collapsed~.tabs{margin-right:var(--f7-panel-right-collapsed-width, var(--f7-panel-collapsed-width))}.page.with-panel-right-reveal .panel-right.panel-in-collapsed~.page-content,.page.with-panel-right-reveal .panel-right.panel-in-collapsed~.tabs,html.with-panel-right-reveal .panel-right.panel-in-collapsed~.views,html.with-panel-right-reveal .panel-right.panel-in-collapsed~.view{transform:translate3d(calc(var(--f7-panel-right-collapsed-width, var(--f7-panel-collapsed-width)) - var(--f7-panel-right-width, var(--f7-panel-width))),0,0)}html.with-modal-popup-push .framework7-root,html.with-modal-popup-push-closing .framework7-root{--f7-panelPushScale: var(--f7-popup-push-scale);--f7-panelPushTransitionDuration: var(--f7-popup-transition-duration);--f7-panelPushTransitionTimingFunction: var(--f7-popup-transition-timing-function);--f7-panelPushBorderRadius: var(--f7-popup-push-border-radius)}html.with-modal-sheet-push .framework7-root,html.with-modal-sheet-push-closing .framework7-root{--f7-panelPushScale: var(--f7-sheet-push-scale);--f7-panelPushTransitionDuration: var(--f7-sheet-transition-duration);--f7-panelPushTransitionTimingFunction: var(--f7-sheet-transition-timing-function);--f7-panelPushBorderRadius: var(--f7-sheet-push-border-radius)}html.with-modal-popup-push .framework7-root>.panel-in,html.with-modal-sheet-push .framework7-root>.panel-in,html.with-modal-popup-push .framework7-root>.panel-out,html.with-modal-sheet-push .framework7-root>.panel-out{transition-duration:var(--f7-panelPushTransitionDuration);transition-timing-function:var(--f7-panelPushTransitionTimingFunction)}html.with-modal-popup-push .framework7-root>.panel-in.panel-reveal.panel-left,html.with-modal-sheet-push .framework7-root>.panel-in.panel-reveal.panel-left,html.with-modal-popup-push .framework7-root>.panel-out.panel-reveal.panel-left,html.with-modal-sheet-push .framework7-root>.panel-out.panel-reveal.panel-left,html.with-modal-popup-push .framework7-root>.panel-in.panel-push.panel-left,html.with-modal-sheet-push .framework7-root>.panel-in.panel-push.panel-left,html.with-modal-popup-push .framework7-root>.panel-out.panel-push.panel-left,html.with-modal-sheet-push .framework7-root>.panel-out.panel-push.panel-left{transform:scale(var(--f7-panelPushScale, 1));transform-origin:50vw center;border-top-left-radius:var(--f7-panelPushBorderRadius)}html.with-modal-popup-push .framework7-root>.panel-in.panel-reveal.panel-left .view,html.with-modal-sheet-push .framework7-root>.panel-in.panel-reveal.panel-left .view,html.with-modal-popup-push .framework7-root>.panel-out.panel-reveal.panel-left .view,html.with-modal-sheet-push .framework7-root>.panel-out.panel-reveal.panel-left .view,html.with-modal-popup-push .framework7-root>.panel-in.panel-push.panel-left .view,html.with-modal-sheet-push .framework7-root>.panel-in.panel-push.panel-left .view,html.with-modal-popup-push .framework7-root>.panel-out.panel-push.panel-left .view,html.with-modal-sheet-push .framework7-root>.panel-out.panel-push.panel-left .view{border-top-left-radius:var(--f7-panelPushBorderRadius)}html.with-modal-popup-push .framework7-root>.panel-in.panel-reveal.panel-right,html.with-modal-sheet-push .framework7-root>.panel-in.panel-reveal.panel-right,html.with-modal-popup-push .framework7-root>.panel-out.panel-reveal.panel-right,html.with-modal-sheet-push .framework7-root>.panel-out.panel-reveal.panel-right,html.with-modal-popup-push .framework7-root>.panel-in.panel-push.panel-right,html.with-modal-sheet-push .framework7-root>.panel-in.panel-push.panel-right,html.with-modal-popup-push .framework7-root>.panel-out.panel-push.panel-right,html.with-modal-sheet-push .framework7-root>.panel-out.panel-push.panel-right{transform:scale(var(--f7-panelPushScale, 1));transform-origin:calc(var(--f7-panel-left-width, var(--f7-panel-width)) - 50vw) center;border-top-right-radius:var(--f7-panelPushBorderRadius)}html.with-modal-popup-push .framework7-root>.panel-in.panel-reveal.panel-right .view,html.with-modal-sheet-push .framework7-root>.panel-in.panel-reveal.panel-right .view,html.with-modal-popup-push .framework7-root>.panel-out.panel-reveal.panel-right .view,html.with-modal-sheet-push .framework7-root>.panel-out.panel-reveal.panel-right .view,html.with-modal-popup-push .framework7-root>.panel-in.panel-push.panel-right .view,html.with-modal-sheet-push .framework7-root>.panel-in.panel-push.panel-right .view,html.with-modal-popup-push .framework7-root>.panel-out.panel-push.panel-right .view,html.with-modal-sheet-push .framework7-root>.panel-out.panel-push.panel-right .view{border-top-right-radius:var(--f7-panelPushBorderRadius)}html.with-modal-popup-push .framework7-root>.panel-in.panel-cover.panel-left,html.with-modal-sheet-push .framework7-root>.panel-in.panel-cover.panel-left,html.with-modal-popup-push .framework7-root>.panel-out.panel-cover.panel-left,html.with-modal-sheet-push .framework7-root>.panel-out.panel-cover.panel-left{transform:translate3d(calc(-1 * var(--f7-panel-left-width, var(--f7-panel-width))),0,0)}html.with-modal-popup-push .framework7-root>.panel-in.panel-cover.panel-right,html.with-modal-sheet-push .framework7-root>.panel-in.panel-cover.panel-right,html.with-modal-popup-push .framework7-root>.panel-out.panel-cover.panel-right,html.with-modal-sheet-push .framework7-root>.panel-out.panel-cover.panel-right{transform:translate3d(var(--f7-panel-right-width, var(--f7-panel-width)),0,0)}html.with-modal-popup-push-closing .framework7-root>.panel-in,html.with-modal-sheet-push-closing .framework7-root>.panel-in{transition-duration:var(--f7-panelPushTransitionDuration);transition-timing-function:var(--f7-panelPushTransitionTimingFunction)}html.with-modal-popup-push-closing .framework7-root>.panel-in.panel-reveal.panel-left,html.with-modal-sheet-push-closing .framework7-root>.panel-in.panel-reveal.panel-left,html.with-modal-popup-push-closing .framework7-root>.panel-in.panel-push.panel-left,html.with-modal-sheet-push-closing .framework7-root>.panel-in.panel-push.panel-left{transform-origin:50vw center}html.with-modal-popup-push-closing .framework7-root>.panel-in.panel-reveal.panel-right,html.with-modal-sheet-push-closing .framework7-root>.panel-in.panel-reveal.panel-right,html.with-modal-popup-push-closing .framework7-root>.panel-in.panel-push.panel-right,html.with-modal-sheet-push-closing .framework7-root>.panel-in.panel-push.panel-right{transform-origin:calc(var(--f7-panel-right-width, var(--f7-panel-width)) - 50vw) center}.md .panel-cover{overflow:hidden}.md .panel-cover.panel-left{border-radius:0 16px 16px 0}.md .panel-cover.panel-right{border-radius:16px 0 0 16px}:root{--f7-card-margin-horizontal: 16px;--f7-card-margin-vertical: 16px;--f7-card-content-padding-horizontal: 16px;--f7-card-content-padding-vertical: 16px;--f7-card-font-size: inherit;--f7-card-header-text-color: inherit;--f7-card-header-font-weight: 400;--f7-card-header-padding-horizontal: 16px;--f7-card-footer-font-weight: 400;--f7-card-footer-font-size: inherit;--f7-card-footer-padding-horizontal: 16px;--f7-card-expandable-font-size: 16px;--f7-card-expandable-tablet-width: 670px;--f7-card-expandable-tablet-height: 670px}.ios{--f7-card-border-radius: 8px;--f7-card-box-shadow: 0px 1px 2px rgba(0, 0, 0, .2);--f7-card-header-font-size: 17px;--f7-card-header-padding-vertical: 10px;--f7-card-header-min-height: 44px;--f7-card-footer-text-color: rgba(0, 0, 0, .45);--f7-card-footer-padding-vertical: 10px;--f7-card-footer-min-height: 44px;--f7-card-expandable-margin-horizontal: 20px;--f7-card-expandable-margin-vertical: 30px;--f7-card-expandable-box-shadow: 0px 20px 40px rgba(0, 0, 0, .3);--f7-card-expandable-border-radius: 16px;--f7-card-expandable-tablet-border-radius: 16px;--f7-card-expandable-header-font-size: 27px;--f7-card-expandable-header-font-weight: bold;--f7-card-text-color: inherit;--f7-card-bg-color: #fff;--f7-card-expandable-bg-color: #fff;--f7-card-outline-border-color: rgba(0, 0, 0, .12);--f7-card-header-border-color: rgba(0, 0, 0, .1);--f7-card-footer-border-color: rgba(0, 0, 0, .1)}.ios .dark,.ios.dark{--f7-card-bg-color: #1c1c1d;--f7-card-expandable-bg-color: #1c1c1d;--f7-card-outline-border-color: rgba(255, 255, 255, .15);--f7-card-header-border-color: rgba(255, 255, 255, .15);--f7-card-footer-border-color: rgba(255, 255, 255, .15);--f7-card-footer-text-color: rgba(255, 255, 255, .55)}.md{--f7-card-border-radius: 16px;--f7-card-box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--f7-card-header-font-size: 22px;--f7-card-header-padding-vertical: 16px;--f7-card-header-min-height: 48px;--f7-card-footer-padding-vertical: 16px;--f7-card-footer-min-height: 48px;--f7-card-expandable-margin-horizontal: 12px;--f7-card-expandable-margin-vertical: 24px;--f7-card-expandable-box-shadow: 0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--f7-card-expandable-border-radius: 16px;--f7-card-expandable-tablet-border-radius: 16px;--f7-card-expandable-header-font-size: 22px;--f7-card-expandable-header-font-weight: 500}.md,.md .dark,.md [class*=color-]{--f7-card-bg-color: var(--f7-md-surface-1);--f7-card-expandable-bg-color: var(--f7-md-surface-1);--f7-card-outline-border-color: var(--f7-md-outline);--f7-card-header-border-color: var(--f7-md-outline);--f7-card-footer-border-color: var(--f7-md-outline);--f7-card-text-color: var(--f7-md-on-surface);--f7-card-footer-text-color: var(--f7-md-on-surface-variant)}.cards-list>ul:before,.card .list>ul:before,.cards-list>ul:after,.card .list>ul:after{display:none!important}.cards-list ul,.card .list ul{background:none}.card{background:var(--f7-card-bg-color);position:relative;border-radius:var(--f7-card-border-radius);font-size:var(--f7-card-font-size);margin-top:var(--f7-card-margin-vertical);margin-bottom:var(--f7-card-margin-vertical);margin-left:calc(var(--f7-card-margin-horizontal) + var(--f7-safe-area-left));margin-right:calc(var(--f7-card-margin-horizontal) + var(--f7-safe-area-right));color:var(--f7-card-text-color)}.card .list,.card .block{margin:0}.row:not(.no-gap) .col>.card{margin-left:0;margin-right:0}.card-raised{box-shadow:var(--f7-card-box-shadow)}.card-outline,.ios .card-outline-ios,.md .card-outline-md{border:1px solid var(--f7-card-outline-border-color)}.card-content{position:relative}.card-content-padding{position:relative;padding:var(--f7-card-content-padding-vertical) var(--f7-card-content-padding-horizontal)}.card-content-padding>.list,.card-content-padding>.block{margin:calc(-1 * var(--f7-card-content-padding-vertical)) calc(-1 * var(--f7-card-content-padding-horizontal))}.card-content-padding>p:first-child{margin-top:0}.card-content-padding>p:last-child{margin-bottom:0}.card-header{min-height:var(--f7-card-header-min-height);color:var(--f7-card-header-text-color);font-size:var(--f7-card-header-font-size);font-weight:var(--f7-card-header-font-weight);padding:var(--f7-card-header-padding-vertical) var(--f7-card-header-padding-horizontal)}.card-header.card-header-divider,.card-header-divider .card-header,.card-dividers .card-header{border-bottom:1px solid var(--f7-card-header-border-color)}.card-footer{min-height:var(--f7-card-footer-min-height);color:var(--f7-card-footer-text-color);font-size:var(--f7-card-footer-font-size);font-weight:var(--f7-card-footer-font-weight);padding:var(--f7-card-footer-padding-vertical) var(--f7-card-footer-padding-horizontal)}.card-footer.card-footer-divider,.card-footer-divider .card-footer,.card-dividers .card-footer{border-top:1px solid var(--f7-card-header-border-color)}.card-footer a.link{overflow:hidden}.card-header,.card-footer{position:relative;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center}.card-header[valign=top],.card-footer[valign=top]{align-items:flex-start}.card-header[valign=bottom],.card-footer[valign=bottom]{align-items:flex-end}.card-header a.link,.card-footer a.link{position:relative}.card-header a.link i.icon,.card-footer a.link i.icon{display:block}.card-header a.icon-only,.card-footer a.icon-only{display:flex;justify-content:center;align-items:center;margin:0}.card-header{border-radius:var(--f7-card-border-radius) var(--f7-card-border-radius) 0 0}.card-footer{border-radius:0 0 var(--f7-card-border-radius) var(--f7-card-border-radius)}.card-expandable{overflow:hidden;height:300px;background:var(--f7-card-expandable-bg-color);position:relative;transform-origin:center center;transition-property:transform,border-radius;border-radius:var(--f7-card-expandable-border-radius);z-index:2;transition-duration:.2s;margin-left:calc(var(--f7-card-expandable-margin-horizontal) + var(--f7-safe-area-left));margin-right:calc(var(--f7-card-expandable-margin-horizontal) + var(--f7-safe-area-right));margin-top:var(--f7-card-expandable-margin-vertical);margin-bottom:var(--f7-card-expandable-margin-vertical);font-size:var(--f7-card-expandable-font-size)}.card-expandable.card-raised{box-shadow:var(--f7-card-expandable-box-shadow)}.card-expandable:not(.card-opened){-webkit-user-select:none;user-select:none}.card-expandable.card-no-transition{transition-duration:0ms}.card-expandable.card-expandable-animate-width .card-content{transition-property:width,transform;width:100%}.card-expandable.active-state{transform:scale(.97) translateZ(0)}.card-expandable .card-opened-fade-in,.card-expandable .card-opened-fade-out{transition-duration:.4s}.card-expandable .card-opened-fade-in{opacity:0;pointer-events:none}.card-expandable .card-content{position:absolute;top:0;width:100vw;height:100vh;transform-origin:center top;overflow:hidden;transition-property:transform;box-sizing:border-box;pointer-events:none;left:0}.card-expandable .card-content .card-content-padding{padding-left:calc(var(--f7-safe-area-left) + var(--f7-card-content-padding-horizontal));padding-right:calc(var(--f7-safe-area-right) + var(--f7-card-content-padding-horizontal))}.card-expandable.card-opened{transition-duration:0ms}.card-expandable.card-opening,.card-expandable.card-closing,.card-expandable.card-transitioning{transition-duration:.4s}.card-expandable.card-opening .card-content{transition-duration:.3s}.card-expandable.card-closing .card-content{transition-duration:.5s}.card-expandable.card-opening,.card-expandable.card-opened,.card-expandable.card-closing{z-index:300}.card-expandable.card-opening,.card-expandable.card-opened{border-radius:0}.card-expandable.card-opening .card-opened-fade-in,.card-expandable.card-opened .card-opened-fade-in{opacity:1;pointer-events:auto}.card-expandable.card-opening .card-opened-fade-out,.card-expandable.card-opened .card-opened-fade-out{opacity:0;pointer-events:none}.card-expandable.card-opened .card-content{overflow:auto;-webkit-overflow-scrolling:touch;pointer-events:auto}.card-expandable .card-header{font-size:var(--f7-card-expandable-header-font-size);font-weight:var(--f7-card-expandable-header-font-weight)}.card-prevent-open{pointer-events:auto}.card-expandable-size{width:0;height:0;position:absolute;left:0;top:0;opacity:0;pointer-events:none;visibility:hidden}@media (min-width: 768px) and (min-height: 670px){.card-expandable:not(.card-tablet-fullscreen){max-width:var(--f7-card-expandable-tablet-width)}.card-expandable:not(.card-tablet-fullscreen).card-opened,.card-expandable:not(.card-tablet-fullscreen).card-opening{border-radius:var(--f7-card-expandable-tablet-border-radius)}.card-expandable:not(.card-tablet-fullscreen):not(.card-expandable-animate-width) .card-content{width:var(--f7-card-expandable-tablet-width)}.card-expandable:not(.card-tablet-fullscreen) .card-expandable-size{width:var(--f7-card-expandable-tablet-width);height:var(--f7-card-expandable-tablet-height)}}.page.page-with-card-opened .page-content{overflow:hidden}.card-backdrop{position:fixed;left:0;top:0;width:100%;height:100%;z-index:299;pointer-events:none;background:rgba(0,0,0,.2);opacity:0}.card-backdrop-in{animation:card-backdrop-fade-in .4s forwards;pointer-events:auto}.card-backdrop-out{animation:card-backdrop-fade-out .4s forwards}@supports ((-webkit-backdrop-filter: blur(15px)) or (backdrop-filter: blur(15px))){.card-backdrop{background:transparent;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px)}}@keyframes card-backdrop-fade-in{0%{opacity:0}to{opacity:1}}@keyframes card-backdrop-fade-out{0%{opacity:1}to{opacity:0}}:root{--f7-chip-font-size: 14px;--f7-chip-media-font-size: 16px;--f7-chip-delete-button-color: #000}:root .dark,:root.dark{--f7-chip-delete-button-color: #fff}.ios{--f7-chip-height: 28px;--f7-chip-media-size: 28px;--f7-chip-padding-horizontal: 10px;--f7-chip-border-radius: 28px;--f7-chip-font-weight: normal;--f7-chip-outline-border-color: rgba(0, 0, 0, .12);--f7-chip-bg-color: rgba(0, 0, 0, .12);--f7-chip-text-color: #000;--f7-chip-outline-text-color: #000}.ios .dark,.ios.dark{--f7-chip-bg-color: #333;--f7-chip-text-color: #fff;--f7-chip-outline-text-color: #fff;--f7-chip-outline-border-color: rgba(255, 255, 255, .12)}.md{--f7-chip-font-weight: 500;--f7-chip-media-size: 24px;--f7-chip-height: 32px;--f7-chip-padding-horizontal: 12px;--f7-chip-border-radius: 8px}.md,.md .dark,.md [class*=color-]{--f7-chip-bg-color: var(--f7-md-secondary-container);--f7-chip-text-color: var(--f7-md-on-secondary-container);--f7-chip-outline-text-color: var(--f7-md-on-surface);--f7-chip-outline-border-color: var(--f7-md-outline)}.chip{padding-left:var(--f7-chip-padding-horizontal);padding-right:var(--f7-chip-padding-horizontal);font-weight:var(--f7-chip-font-weight);display:inline-flex;box-sizing:border-box;vertical-align:middle;align-items:center;margin:2px 0;background-color:var(--f7-chip-bg-color);font-size:var(--f7-chip-font-size);color:var(--f7-chip-text-color);height:var(--f7-chip-height);line-height:var(--f7-chip-height);border-radius:var(--f7-chip-border-radius);position:relative}.chip-media{border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;height:var(--f7-chip-media-size);width:var(--f7-chip-media-size);border-radius:var(--f7-chip-media-size);text-align:center;line-height:var(--f7-chip-media-size);box-sizing:border-box;color:#fff;font-size:var(--f7-chip-media-font-size);vertical-align:middle}.chip-media i.icon{font-size:calc(var(--f7-chip-media-size) - 8px);height:calc(var(--f7-chip-media-size) - 8px)}.chip-media img{max-width:100%;max-height:100%;width:auto;height:auto;border-radius:50%;display:block}.chip-media+.chip-label{margin-left:4px}.chip-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative;flex-shrink:1;min-width:0}.chip-delete{text-align:center;cursor:pointer;flex-shrink:0;background-repeat:no-repeat;width:24px;height:24px;color:var(--f7-chip-delete-button-color);opacity:.54;position:relative}.chip-delete:after{font-family:framework7-core-icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga";text-align:center;display:block;width:100%;height:100%;font-size:20px;line-height:24px}.chip .chip-delete.active-state{opacity:1}.chip-outline,.ios .chip-outline-ios,.md .chip-outline-md{border:1px solid var(--f7-chip-outline-border-color);color:var(--f7-chip-outline-text-color);background:none}.ios .chip[class*=color-]{--f7-chip-bg-color: var(--f7-theme-color);--f7-chip-text-color: #fff}.ios .chip-outline[class*=color-],.ios .chip-outline-ios[class*=color-]{--f7-chip-outline-border-color: var(--f7-theme-color);--f7-chip-outline-text-color: var(--f7-theme-color)}.ios .chip-media{margin-left:calc(-1 * var(--f7-chip-padding-horizontal))}.ios .chip-delete{margin-right:calc(-1 * var(--f7-chip-padding-horizontal))}.ios .chip-delete:after{content:"delete_round_ios"}.ios .chip-delete:after{font-size:10px}.md .chip-media{margin-left:calc(-1 * var(--f7-chip-padding-horizontal) + 4px)}.md .chip-label+.chip-delete{margin-left:4px}.md .chip-delete{margin-right:calc(-1 * var(--f7-chip-padding-horizontal) + 4px)}.md .chip-delete:after{content:"delete_round_md";font-size:16px}:root{--f7-input-bg-color: transparent;--f7-label-font-weight: 400;--f7-label-height: 16px;--f7-label-font-size: 12px;--f7-floating-label-scale: calc(16 / 12);--f7-input-padding-left: 0px;--f7-input-padding-right: 0px;--f7-input-error-text-color: #ff3b30;--f7-input-error-font-size: 12px;--f7-input-error-line-height: 1.4;--f7-input-error-font-weight: 400;--f7-input-info-font-size: 12px;--f7-input-info-line-height: 1.4;--f7-textarea-height: 100px}.ios{--f7-input-item-bg-color: transparent;--f7-input-item-border-radius: 0px;--f7-input-height: 40px;--f7-input-font-size: 16px;--f7-input-placeholder-color: #a9a9a9;--f7-textarea-padding-vertical: 8px;--f7-label-text-color: inherit;--f7-input-clear-button-size: 14px;--f7-input-outline-border-radius: 8px;--f7-input-text-color: #000000;--f7-input-info-text-color: rgba(0, 0, 0, .45);--f7-input-clear-button-color: rgba(0, 0, 0, .45);--f7-input-outline-border-color: #bbb}.ios .dark,.ios.dark{--f7-input-text-color: #fff;--f7-input-info-text-color: rgba(255, 255, 255, .55);--f7-input-clear-button-color: rgba(255, 255, 255, .5);--f7-input-outline-border-color: #444}.md{--f7-input-item-border-radius: 4px 4px 0 0;--f7-input-height: 24px;--f7-input-font-size: 16px;--f7-textarea-padding-vertical: 0px;--f7-input-outline-border-radius: 4px;--f7-floating-label-scale: calc(16 / 12);--f7-input-clear-button-size: 24px;--f7-input-info-text-color: rgba(0, 0, 0, .45)}.md .dark,.md.dark{--f7-input-info-text-color: rgba(255, 255, 255, .45)}.md,.md .dark,.md [class*=color-]{--f7-input-placeholder-color: var(--f7-md-on-surface-variant);--f7-input-item-bg-color: var(--f7-md-surface-variant);--f7-input-border-color: var(--f7-md-outline);--f7-input-clear-button-color: var(--f7-md-on-surface-variant);--f7-input-outline-border-color: var(--f7-md-outline);--f7-input-text-color: var(--f7-md-on-surface);--f7-label-text-color: var(--f7-md-on-surface-variant)}input[type=text],input[type=password],input[type=search],input[type=email],input[type=tel],input[type=url],input[type=date],input[type=month],input[type=datetime-local],input[type=time],input[type=number],select,textarea{box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;box-shadow:none;border-radius:0;outline:0;display:block;padding:0;margin:0;font-family:inherit;background:none;resize:none;font-size:inherit;color:inherit}input[type=text]:-internal-autofill-selected,input[type=password]:-internal-autofill-selected,input[type=search]:-internal-autofill-selected,input[type=email]:-internal-autofill-selected,input[type=tel]:-internal-autofill-selected,input[type=url]:-internal-autofill-selected,input[type=date]:-internal-autofill-selected,input[type=month]:-internal-autofill-selected,input[type=datetime-local]:-internal-autofill-selected,input[type=time]:-internal-autofill-selected,input[type=number]:-internal-autofill-selected,select:-internal-autofill-selected,textarea:-internal-autofill-selected{background-color:transparent!important;transition:background-color 5000s ease-in-out 0s!important}input[type=text]:-webkit-autofill,input[type=password]:-webkit-autofill,input[type=search]:-webkit-autofill,input[type=email]:-webkit-autofill,input[type=tel]:-webkit-autofill,input[type=url]:-webkit-autofill,input[type=date]:-webkit-autofill,input[type=month]:-webkit-autofill,input[type=datetime-local]:-webkit-autofill,input[type=time]:-webkit-autofill,input[type=number]:-webkit-autofill,select:-webkit-autofill,textarea:-webkit-autofill{background-color:transparent!important;-webkit-transition:background-color 5000s ease-in-out 0s!important;transition:background-color 5000s ease-in-out 0s!important}input[type=text]:autofill,input[type=password]:autofill,input[type=search]:autofill,input[type=email]:autofill,input[type=tel]:autofill,input[type=url]:autofill,input[type=date]:autofill,input[type=month]:autofill,input[type=datetime-local]:autofill,input[type=time]:autofill,input[type=number]:autofill,select:autofill,textarea:autofill,input[type=text]:-webkit-autofill-and-obscured,input[type=password]:-webkit-autofill-and-obscured,input[type=search]:-webkit-autofill-and-obscured,input[type=email]:-webkit-autofill-and-obscured,input[type=tel]:-webkit-autofill-and-obscured,input[type=url]:-webkit-autofill-and-obscured,input[type=date]:-webkit-autofill-and-obscured,input[type=month]:-webkit-autofill-and-obscured,input[type=datetime-local]:-webkit-autofill-and-obscured,input[type=time]:-webkit-autofill-and-obscured,input[type=number]:-webkit-autofill-and-obscured,select:-webkit-autofill-and-obscured,textarea:-webkit-autofill-and-obscured{background-color:transparent!important;-webkit-transition:background-color 5000s ease-in-out 0s!important;transition:background-color 5000s ease-in-out 0s!important}.textarea-resizable-shadow{opacity:0;position:absolute;z-index:-1000;pointer-events:none;left:-1000px;top:-1000px;visibility:hidden}.list input[type=text],.list input[type=password],.list input[type=search],.list input[type=email],.list input[type=tel],.list input[type=url],.list input[type=date],.list input[type=month],.list input[type=datetime-local],.list input[type=time],.list input[type=number],.list select{width:100%;height:var(--f7-input-height);color:var(--f7-input-text-color);font-size:var(--f7-input-font-size);background-color:var(--f7-input-bg-color, transparent);padding-left:var(--f7-input-padding-left);padding-right:var(--f7-input-padding-right)}.list input[type=text]::placeholder,.list input[type=password]::placeholder,.list input[type=search]::placeholder,.list input[type=email]::placeholder,.list input[type=tel]::placeholder,.list input[type=url]::placeholder,.list input[type=date]::placeholder,.list input[type=month]::placeholder,.list input[type=datetime-local]::placeholder,.list input[type=time]::placeholder,.list input[type=number]::placeholder,.list select::placeholder{color:var(--f7-input-placeholder-color)}.list textarea{width:100%;color:var(--f7-input-text-color);font-size:var(--f7-input-font-size);resize:none;line-height:1.4;height:var(--f7-textarea-height);background-color:var(--f7-input-bg-color, transparent);padding-top:var(--f7-textarea-padding-vertical);padding-bottom:var(--f7-textarea-padding-vertical);padding-left:var(--f7-input-padding-left);padding-right:var(--f7-input-padding-right)}.list textarea::placeholder{color:var(--f7-input-placeholder-color)}.list textarea.resizable{height:calc(var(--f7-input-height) + var(--f7-textarea-padding-vertical) * 2)}.list input[type=time],.list input[type=date],.list input[type=month],.list input[type=datetime-local]{line-height:var(--f7-input-height)}.list .item-label,.list .item-floating-label{width:auto;vertical-align:top;flex-shrink:0;font-size:var(--f7-label-font-size);font-weight:var(--f7-label-font-weight);line-height:var(--f7-label-height);color:var(--f7-label-text-color);transition-duration:.2s;transition-property:transform,color}.list .item-floating-label{color:var(--f7-input-placeholder-color);max-width:calc(100% / var(--f7-floating-label-scale));pointer-events:none;left:var(--f7-input-padding-left);transform-origin:left center}.list .item-floating-label~.item-input-wrap input::placeholder,.list .item-floating-label~.item-input-wrap textarea::placeholder{opacity:0;transition-duration:.1s}.list .item-floating-label~.item-input-wrap input.input-focused::placeholder,.list .item-floating-label~.item-input-wrap textarea.input-focused::placeholder{opacity:1;transition-duration:.3s}.list .item-input-with-value .item-floating-label{color:var(--f7-label-text-color)}.list .item-input-with-value .item-floating-label,.list .item-input-focused .item-floating-label{transform:scale(1) translateY(0)!important}.list .item-input-wrap{width:100%;flex-shrink:1;position:relative}.item-input,.input{position:relative}.item-input .item-inner{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.item-input-error-message,.input-error-message{font-size:var(--f7-input-error-font-size);line-height:var(--f7-input-error-line-height);color:var(--f7-input-error-text-color);font-weight:var(--f7-input-error-font-weight);display:none;box-sizing:border-box}.item-input-info,.input-info{font-size:var(--f7-input-info-font-size);line-height:var(--f7-input-info-line-height);color:var(--f7-input-info-text-color)}.item-input-invalid .item-input-error-message,.input-invalid .item-input-error-message,.item-input-invalid .input-error-message,.input-invalid .input-error-message{display:block}.item-input-invalid .item-input-info,.input-invalid .item-input-info,.item-input-invalid .input-info,.input-invalid .input-info{display:none}.input{position:relative}.input input,.input select,.input textarea{width:100%}.input-clear-button{opacity:0;pointer-events:none;visibility:hidden;transition-duration:.1s;position:absolute;top:50%;border:none;padding:0;margin:0;outline:0;z-index:1;cursor:pointer;background:none;width:var(--f7-input-clear-button-size);height:var(--f7-input-clear-button-size);margin-top:calc(-1 * var(--f7-input-clear-button-size) / 2);color:var(--f7-input-clear-button-color);right:0}.input-clear-button:after{font-family:framework7-core-icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga";text-align:center;display:block;width:100%;height:100%;font-size:20px}.input-clear-button:before{position:absolute;content:"";left:50%;top:50%}.item-input-wrap .input-clear-button{top:calc(var(--f7-input-height) / 2)}.input-clear-button.active-state{opacity:.75!important}.input-with-value~.input-clear-button,.item-input-with-value .input-clear-button,.input-with-value .input-clear-button{opacity:1;pointer-events:auto;visibility:visible}.input-dropdown-wrap,.input-dropdown{position:relative}.input-dropdown-wrap:before,.input-dropdown:before{content:"";pointer-events:none;position:absolute;top:50%;margin-top:-2px;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid #727272;right:6px}.input-dropdown-wrap select,.input-dropdown select,.input-dropdown-wrap input,.input-dropdown input,.input-dropdown-wrap textarea,.input-dropdown textarea{padding-right:calc(20px + var(--f7-input-padding-right))}.item-input-outline .item-content:after,.item-input-outline.item-content:after,.input-outline:after{content:"";position:absolute;left:0;right:0;top:8px;bottom:8px;border:1px solid var(--f7-input-outline-border-color);border-radius:var(--f7-input-outline-border-radius);pointer-events:none;box-sizing:border-box;transition-duration:.2s}.item-input-outline .item-content .item-label,.item-input-outline.item-content .item-label,.input-outline .item-label,.item-input-outline .item-content .item-floating-label,.item-input-outline.item-content .item-floating-label,.input-outline .item-floating-label{pointer-events:none;background:var(--f7-page-bg-color);z-index:1;padding:4px}.item-input-outline .item-content.item-input-focused:after,.item-input-outline.item-content.item-input-focused:after,.input-outline.item-input-focused:after,.item-input-outline .item-content.input-focused:after,.item-input-outline.item-content.input-focused:after,.input-outline.input-focused:after{border-width:2px;border-color:var(--f7-input-outline-invalid-border-color, var(--f7-theme-color))}.item-input-outline .item-content.item-input-invalid:after,.item-input-outline.item-content.item-input-invalid:after,.input-outline.item-input-invalid:after,.item-input-outline .item-content.input-invalid:after,.item-input-outline.item-content.input-invalid:after,.input-outline.input-invalid:after{border-width:2px;border-color:var(--f7-input-outline-invalid-border-color, var(--f7-input-error-text-color))}.block-strong .item-input-outline .item-label,.block-strong .item-input-outline .item-floating-label,.ios .block-strong-ios .item-input-outline .item-label,.ios .block-strong-ios .item-input-outline .item-floating-label,.md .block-strong-md .item-input-outline .item-label,.md .block-strong-md .item-input-outline .item-floating-label{background:var(--f7-block-strong-bg-color)!important}.list-strong .item-input-outline .item-floating-label,.list-strong .item-input-outline .item-label,.ios .list-strong-ios .item-input-outline .item-floating-label,.ios .list-strong-ios .item-input-outline .item-label,.md .list-strong-md .item-input-outline .item-floating-label,.md .list-strong-md .item-input-outline .item-label{background:var(--f7-list-strong-bg-color)!important}.dark option{background-color:var(--f7-page-bg-color)}.ios .item-label+.item-input-wrap,.ios .item-floating-label+.item-input-wrap{margin-top:0}.ios .item-floating-label{transform:scale(var(--f7-floating-label-scale)) translateY(calc(var(--f7-label-height) + 25%))}.ios .item-input-focused .item-floating-label{color:var(--f7-label-text-color)}.ios .item-input .item-media{align-self:flex-start}.ios .item-input-wrap{margin-top:calc(-1 * var(--f7-list-item-padding-vertical));margin-bottom:calc(-1 * var(--f7-list-item-padding-vertical))}.ios .item-input:not(.item-input-outline) .item-content,.ios .item-input:not(.item-input-outline).item-content{background:var(--f7-input-item-bg-color)}.ios .item-input-error-message,.ios .item-input-info,.ios .input-error-message,.ios .input-info{position:relative;margin-bottom:6px;margin-top:-8px}.ios .item-input-focused .item-label,.ios .item-input-focused .item-floating-label{color:var(--f7-label-focused-text-color, var(--f7-label-text-color))}.ios .item-input-focused .item-inner:after{background:var(--f7-input-focused-border-color, var(--f7-list-item-border-color))}.ios .item-input-invalid .item-label,.ios .item-input-invalid .item-floating-label{color:var(--f7-label-invalid-text-color, var(--f7-label-text-color))}.ios .item-input-invalid .item-inner:after{background:var(--f7-input-invalid-border-color, var(--f7-list-item-border-color))}.ios .item-input-invalid input,.ios .input-invalid input,.ios .item-input-invalid select,.ios .input-invalid select,.ios .item-input-invalid textarea,.ios .input-invalid textarea{color:var(--f7-input-invalid-text-color, var(--f7-input-error-text-color))}.ios .input-clear-button:after{content:"delete_round_ios";font-size:calc(var(--f7-input-clear-button-size) / (14 / 10));line-height:1.4}.ios .input-clear-button:before{width:44px;height:44px;margin-left:-22px;margin-top:-22px}.ios .item-input-outline .item-content,.ios .item-input-outline.item-content{padding-top:8px;padding-bottom:8px;margin-left:16px;margin-right:16px}.ios li.item-input-outline:first-child,.ios li:first-child>.item-input-outline{padding-top:16px}.ios li.item-input-outline:first-child:after,.ios li:first-child>.item-input-outline:after{top:16px}.ios li.item-input-outline:last-child,.ios li:last-child>.item-input-outline{padding-bottom:16px}.ios li.item-input-outline:last-child:after,.ios li:last-child>.item-input-outline:after{bottom:16px}.ios .item-input-outline .item-content .item-inner,.ios .item-input-outline.item-content .item-inner,.ios .input-outline .item-inner{display:block;padding-top:0;padding-bottom:0}.ios .item-input-outline .item-content .item-input-wrap,.ios .item-input-outline.item-content .item-input-wrap,.ios .input-outline .item-input-wrap{margin-top:2px}.ios .item-input-outline .item-content .item-title+.item-input-wrap,.ios .item-input-outline.item-content .item-title+.item-input-wrap,.ios .input-outline .item-title+.item-input-wrap{margin-top:-22px}.ios .item-input-outline .item-content .item-label,.ios .item-input-outline.item-content .item-label,.ios .input-outline .item-label,.ios .item-input-outline .item-content .item-floating-label,.ios .item-input-outline.item-content .item-floating-label,.ios .input-outline .item-floating-label{display:inline-flex;margin:-8px -4px -4px;top:-4px}.ios .item-input-outline .item-content .item-floating-label,.ios .item-input-outline.item-content .item-floating-label,.ios .input-outline .item-floating-label{transform:scale(var(--f7-floating-label-scale)) translateY(calc(var(--f7-label-height)))}.md .item-input-wrap{min-height:var(--f7-input-height)}.md .item-floating-label{transform:scale(var(--f7-floating-label-scale)) translateY(calc((var(--f7-input-height) / 2) / var(--f7-floating-label-scale)))}.md .item-input .item-inner:after{display:none!important}.md .item-input .item-content,.md .item-input.item-content{margin-left:16px;margin-right:16px;padding-top:8px;padding-bottom:8px}.md .input:after{content:"";position:absolute;background-color:var(--f7-input-border-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.md .input:after{transform:scaleY(1)!important;transition-duration:.2s;bottom:0}.md .input.input-focused:after{transform:scaleY(2)!important;background:var(--f7-input-focused-border-color, var(--f7-theme-color))}.md .input.input-invalid:after{transform:scaleY(2)!important;background:var(--f7-input-invalid-border-color, var(--f7-input-error-text-color))}.md .item-input:not(.item-input-outline) .item-content:after,.md .item-input:not(.item-input-outline).item-content:after{content:"";position:absolute;background-color:var(--f7-input-border-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.md .item-input:not(.item-input-outline) .item-content:before,.md .item-input:not(.item-input-outline).item-content:before{content:"";position:absolute;left:0;top:8px;bottom:8px;right:0;border-radius:var(--f7-input-item-border-radius);background:var(--f7-input-item-bg-color);pointer-events:none}.md .item-input:not(.item-input-outline) .item-content:after,.md .item-input:not(.item-input-outline).item-content:after{transform:scaleY(1)!important;transition-duration:.2s;bottom:8px}.md .item-input:not(.item-input-outline) .item-content.item-input-focused:after,.md .item-input:not(.item-input-outline).item-content.item-input-focused:after{transform:scaleY(2)!important;background:var(--f7-input-focused-border-color, var(--f7-theme-color))}.md .item-input:not(.item-input-outline) .item-content.item-input-invalid:after,.md .item-input:not(.item-input-outline).item-content.item-input-invalid:after,.md .item-input:not(.item-input-outline) .item-content.input-invalid:after,.md .item-input:not(.item-input-outline).item-content.input-invalid:after{transform:scaleY(2)!important;background:var(--f7-input-invalid-border-color, var(--f7-input-error-text-color))}.md .item-input-outline .item-content .item-inner,.md .item-input-outline.item-content .item-inner,.md .input-outline .item-inner{padding-top:16px;padding-bottom:16px}.md .item-input-outline .item-content .item-label,.md .item-input-outline.item-content .item-label,.md .input-outline .item-label,.md .item-input-outline .item-content .item-floating-label,.md .item-input-outline.item-content .item-floating-label,.md .input-outline .item-floating-label{--label-height: calc(var(--f7-label-height) + 8px);margin:calc(0px - 16px - var(--label-height) / 2) -4px 4px}.md .item-input-outline .item-content .item-floating-label,.md .item-input-outline.item-content .item-floating-label,.md .input-outline .item-floating-label{transform:scale(var(--f7-floating-label-scale)) translateY(calc((var(--f7-input-height) / 2) + 8px))}.md .item-input-with-error-message,.md .item-input-with-info,.md .input-with-error-message,.md .input-with-info{padding-bottom:24px!important}.md .item-input-error-message,.md .item-input-info,.md .input-error-message,.md .input-info{position:absolute;top:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;left:0}.md .item-input-focused .item-label,.md .item-input-focused .item-floating-label{color:var(--f7-label-focused-text-color, var(--f7-theme-color))}.md .item-input-focused:not(.item-input-outline) .item-input-wrap:after,.md .input-focused:not(.input-outline):after{background:var(--f7-input-focused-border-color, var(--f7-theme-color))}.md .item-input-invalid:not(.item-input-outline) .item-input-wrap:after,.md .item-input-focused:not(.item-input-outline) .item-input-wrap:after,.md .input-invalid:not(.input-outline):after,.md .input-focused:not(.input-outline):after{transform:scaleY(2)!important}.md .item-input-invalid:not(.item-input-outline) .item-input-wrap:after,.md .input-invalid:not(.input-outline):after{background:var(--f7-input-invalid-border-color, var(--f7-input-error-text-color))}.md .item-input-invalid .item-label,.md .item-input-invalid .item-floating-label{color:var(--f7-label-invalid-text-color, var(--f7-input-error-text-color))}.md .item-input-invalid input,.md .input-invalid input,.md .item-input-invalid select,.md .input-invalid select,.md .item-input-invalid textarea,.md .input-invalid textarea{color:var(--f7-input-invalid-text-color, var(--f7-input-text-color))}.md .input-clear-button:after{font-size:var(--f7-input-clear-button-size);content:"delete_round_md";line-height:1}.md .input-clear-button:before{width:48px;height:48px;margin-left:-24px;margin-top:-24px}:root{--f7-checkbox-icon-color: #fff;--f7-checkbox-extra-margin: 0px}:root .dark,:root.dark{--f7-checkbox-inactive-color: rgba(255, 255, 255, .3);--f7-checkbox-icon-color: #000}.ios{--f7-checkbox-size: 22px;--f7-checkbox-border-radius: 50%;--f7-checkbox-border-width: 1px;--f7-checkbox-inactive-color: #c7c7cc}.md{--f7-checkbox-size: 18px;--f7-checkbox-border-radius: 2px;--f7-checkbox-border-width: 2px;--f7-checkbox-inactive-color: #6d6d6d}.checkbox{position:relative;display:inline-block;vertical-align:middle;z-index:1;background-color:transparent;--f7-touch-ripple-color: rgba(var(--f7-theme-color-rgb), .5)}.icon-checkbox,.checkbox i{flex-shrink:0;border:var(--f7-checkbox-border-width) solid var(--f7-checkbox-inactive-color);width:var(--f7-checkbox-size);height:var(--f7-checkbox-size);border-radius:var(--f7-checkbox-border-radius);box-sizing:border-box;position:relative;display:block}.icon-checkbox:after,.checkbox i:after{font-family:framework7-core-icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga";text-align:center;display:block;width:100%;height:100%;font-size:20px;width:var(--f7-checkbox-size);height:var(--f7-checkbox-size);line-height:var(--f7-checkbox-size);top:calc(0px - var(--f7-checkbox-border-width));opacity:0;color:var(--f7-checkbox-icon-color);position:relative;transition-property:opacity;left:calc(0px - var(--f7-checkbox-border-width))}.icon-checkbox.color-white,.checkbox i.color-white,.color-white .icon-checkbox,.color-white .checkbox i{--f7-theme-color: #fff;--f7-checkbox-icon-color: #000}.icon-checkbox.color-black,.checkbox i.color-black,.color-black .icon-checkbox,.color-black .checkbox i{--f7-theme-color: #000;--f7-checkbox-icon-color: #fff}label.item-checkbox input[type=checkbox]:not(:checked)~.icon-checkbox:after,label.item-checkbox input[type=checkbox]:not(:checked)~* .icon-checkbox:after,.checkbox input[type=checkbox]:not(:checked)~i:after{font-size:0}label.item-checkbox input[type=checkbox]:checked~.icon-checkbox,label.item-checkbox input[type=checkbox]:checked~* .icon-checkbox,.checkbox input[type=checkbox]:checked~i,label.item-checkbox input[type=checkbox]:indeterminate~.icon-checkbox,label.item-checkbox input[type=checkbox]:indeterminate~* .icon-checkbox,.checkbox input[type=checkbox]:indeterminate~i{border-color:var(--f7-checkbox-active-color, var(--f7-theme-color));background-color:var(--f7-checkbox-active-color, var(--f7-theme-color))}label.item-checkbox input[type=checkbox]:checked~.icon-checkbox:after,label.item-checkbox input[type=checkbox]:checked~* .icon-checkbox:after,.checkbox input[type=checkbox]:checked~i:after,label.item-checkbox input[type=checkbox]:indeterminate~.icon-checkbox:after,label.item-checkbox input[type=checkbox]:indeterminate~* .icon-checkbox:after,.checkbox input[type=checkbox]:indeterminate~i:after{opacity:1}label.item-checkbox input[type=checkbox]:indeterminate~.icon-checkbox:after,label.item-checkbox input[type=checkbox]:indeterminate~* .icon-checkbox:after,.checkbox input[type=checkbox]:indeterminate~i:after{font-size:0;content:"";position:absolute;top:50%;width:70%;background:var(--f7-checkbox-icon-color);height:2px;border-radius:2px;margin-top:-1px;transition:0ms;left:15%}label.item-checkbox,.checkbox{cursor:pointer}label.item-checkbox input[type=checkbox],.checkbox input[type=checkbox],label.item-checkbox input[type=radio],.checkbox input[type=radio]{display:none}label.item-checkbox{transition-duration:.3s}label.item-checkbox .item-content .item-media,label.item-checkbox.item-content .item-media{align-self:center}label.item-checkbox>.icon-checkbox{margin-right:calc(var(--f7-list-item-media-margin) + var(--f7-checkbox-extra-margin))}label.item-checkbox.active-state{background-color:var(--f7-list-link-pressed-bg-color)}label.item-checkbox.active-state:after{background-color:transparent}label.item-checkbox.disabled,.disabled label.item-checkbox{opacity:.55;pointer-events:none;opacity:.55!important;pointer-events:none!important}label.item-checkbox.item-checkbox-icon-end .item-inner{padding-right:calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right) + var(--f7-checkbox-size) + 16px)}label.item-checkbox.item-checkbox-icon-end input[type=checkbox]~.icon-checkbox{position:absolute;right:calc(var(--f7-safe-area-right) + 16px);margin-right:0}.ios .icon-checkbox:after,.ios .checkbox i:after{content:"checkbox_ios";font-size:21px}.ios label.item-checkbox.active-state{transition-duration:0ms}.ios label.item-checkbox input[type=checkbox]:indeterminate~.icon-checkbox:after,.ios label.item-checkbox input[type=checkbox]:indeterminate~* .icon-checkbox:after,.ios .checkbox input[type=checkbox]:indeterminate~i:after{height:2px;margin-top:-1px}.md .icon-checkbox,.md .checkbox i{transition-duration:.2s}.md .icon-checkbox:after,.md .checkbox i:after{content:"checkbox_md";transition-duration:.2s;font-size:15px}.md label.item-checkbox{position:relative;overflow:hidden;z-index:0}:root{--f7-radio-border-radius: 50%;--f7-radio-extra-margin: 0px}:root .dark,:root.dark{--f7-radio-inactive-color: rgba(255, 255, 255, .3)}.ios{--f7-radio-size: 22px;--f7-radio-border-width: 1px;--f7-radio-inactive-color: #c7c7cc}.md{--f7-radio-size: 20px;--f7-radio-border-width: 2px;--f7-radio-inactive-color: #6d6d6d}.radio{position:relative;display:inline-block;vertical-align:middle;z-index:1;--f7-touch-ripple-color: rgba(var(--f7-theme-color-rgb), .5)}.icon-radio{width:var(--f7-radio-size);height:var(--f7-radio-size);border-radius:var(--f7-radio-border-radius);position:relative;box-sizing:border-box;display:block;flex-shrink:0}.radio.color-white,.icon-radio.color-white,.color-white .radio,.color-white .icon-radio{--f7-theme-color: #fff}.radio.color-black,.icon-radio.color-black,.color-black .radio,.color-black .icon-radio{--f7-theme-color: #000}.radio .icon-radio,.md .icon-radio{border:var(--f7-radio-border-width) solid var(--f7-radio-inactive-color)}label.item-radio,.radio{cursor:pointer}label.item-radio input[type=checkbox],.radio input[type=checkbox],label.item-radio input[type=radio],.radio input[type=radio]{display:none}label.item-radio{transition-duration:.3s}label.item-radio .item-content .item-media,label.item-radio.item-content .item-media{align-self:center}label.item-radio.active-state{background-color:var(--f7-list-link-pressed-bg-color)}label.item-radio.active-state:after{background-color:transparent}label.item-radio.disabled,.disabled label.item-radio{opacity:.55;pointer-events:none;opacity:.55!important;pointer-events:none!important}.ios .icon-radio:after{font-family:framework7-core-icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga";text-align:center;display:block;width:100%;height:100%;width:calc(var(--f7-radio-size) - var(--f7-radio-border-width) * 2);height:calc(var(--f7-radio-size) - var(--f7-radio-border-width) * 2);line-height:calc(var(--f7-radio-size) - var(--f7-radio-border-width) * 2 + 1px);font-size:20px;content:"radio_ios";color:var(--f7-radio-active-color, var(--f7-theme-color));opacity:0}.ios label.item-radio input[type=radio]:checked~.icon-radio:after,.ios label.item-radio input[type=radio]:checked~* .icon-radio:after,.ios .radio input[type=radio]:checked~.icon-radio:after{opacity:1}.ios .radio input[type=radio]:checked~.icon-radio{border-color:var(--f7-radio-active-color, var(--f7-theme-color))}.ios label.item-radio:not(.item-radio-icon-start) input[type=radio]~.icon-radio{position:absolute;top:50%;margin-top:-11px;right:calc(var(--f7-safe-area-right) + 10px)}.ios label.item-radio:not(.item-radio-icon-start) .item-inner{padding-right:calc(var(--f7-safe-area-right) + 36px)}.ios label.item-radio-icon-start>.icon-radio{margin-right:calc(var(--f7-list-item-media-margin) + var(--f7-checkbox-extra-margin))}.ios label.item-radio.active-state{transition-duration:0ms}.md .icon-radio{transition-duration:.2s}.md .icon-radio:after{content:"";position:absolute;width:10px;height:10px;left:50%;top:50%;margin-left:-5px;margin-top:-5px;background-color:var(--f7-radio-active-color, var(--f7-theme-color));border-radius:50%;transform:scale(0);transition-duration:.2s}.md label.item-radio input[type=radio]:checked~.icon-radio,.md label.item-radio input[type=radio]:checked~* .icon-radio,.md .radio input[type=radio]:checked~.icon-radio{border-color:var(--f7-radio-active-color, var(--f7-theme-color))}.md label.item-radio input[type=radio]:checked~.icon-radio:after,.md label.item-radio input[type=radio]:checked~* .icon-radio:after,.md .radio input[type=radio]:checked~.icon-radio:after{background-color:var(--f7-radio-active-color, var(--f7-theme-color));transform:scale(1)}.md label.item-radio{position:relative;overflow:hidden;z-index:0}.md label.item-radio:not(.item-radio-icon-end)>.icon-radio{margin-right:calc(var(--f7-list-item-media-margin) + var(--f7-radio-extra-margin))}.md label.item-radio-icon-end input[type=radio]~.icon-radio{position:absolute;top:50%;margin-top:-10px;right:calc(var(--f7-safe-area-right) + 16px)}.md label.item-radio-icon-end .item-inner{padding-right:calc(var(--f7-safe-area-right) + 52px)}.ios{--f7-toggle-width: 52px;--f7-toggle-height: 32px;--f7-toggle-inactive-knob-bg-color: #fff;--f7-toggle-active-knob-bg-color: #fff;--f7-toggle-inactive-border-color: #e5e5e5;--f7-toggle-inactive-bg-color: #fff}.ios .dark,.ios.dark{--f7-toggle-inactive-border-color: #555;--f7-toggle-inactive-bg-color: #555}.md{--f7-toggle-width: 52px;--f7-toggle-height: 32px}.md,.md .dark,.md [class*=color-]{--f7-toggle-inactive-bg-color: var(--f7-md-surface-variant);--f7-toggle-active-bg-color: var(--f7-theme-color);--f7-toggle-inactive-knob-bg-color: var(--f7-md-outline);--f7-toggle-active-knob-bg-color: var(--f7-md-on-primary);--f7-toggle-inactive-border-color: var(--f7-md-outline);--f7-toggle-active-border-color: var(--f7-theme-color)}.toggle,.toggle-icon{width:var(--f7-toggle-width);height:var(--f7-toggle-height);border-radius:var(--f7-toggle-height)}.toggle{display:inline-block;vertical-align:middle;position:relative;box-sizing:border-box;align-self:center;-webkit-user-select:none;user-select:none}.toggle input[type=checkbox]{display:none}.toggle input[disabled]~.toggle-icon{pointer-events:none}.toggle-icon{z-index:0;margin:0;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;position:relative;transition:.3s;box-sizing:border-box;display:block;cursor:pointer}.toggle-icon:before,.toggle-icon:after{content:""}.toggle-icon:after{position:absolute;z-index:2;transform:translate(0);transition-duration:.3s}.ios .toggle{background:var(--f7-toggle-inactive-border-color)}.ios .toggle input[type=checkbox]:checked+.toggle-icon{background:var(--f7-toggle-active-color, var(--f7-theme-color))}.ios .toggle input[type=checkbox]:checked+.toggle-icon:before{background:var(--f7-toggle-active-bg-color, var(--f7-theme-color));transform:scale(0)}.ios .toggle input[type=checkbox]:checked+.toggle-icon:after{background:var(--f7-toggle-active-knob-bg-color);transform:translate(calc(var(--f7-toggle-width) - var(--f7-toggle-height)))}.ios .toggle-icon{background:var(--f7-toggle-border-color)}.ios .toggle-icon:before{position:absolute;left:2px;top:2px;width:calc(var(--f7-toggle-width) - 4px);height:calc(var(--f7-toggle-height) - 4px);border-radius:var(--f7-toggle-height);box-sizing:border-box;background:var(--f7-toggle-inactive-bg-color);z-index:1;transition-duration:.3s;transform:scale(1)}.ios .toggle-icon:after{background:var(--f7-toggle-inactive-knob-bg-color);height:calc(var(--f7-toggle-height) - 4px);width:calc(var(--f7-toggle-height) - 4px);top:2px;left:2px;box-shadow:0 2px 4px #0000004d;border-radius:calc(var(--f7-toggle-height) - 4px)}.ios .toggle-active-state input[type=checkbox]:not(:checked)+.toggle-icon:before{transform:scale(0)}.ios .toggle-active-state input[type=checkbox]+.toggle-icon:after{width:calc(var(--f7-toggle-height) + 4px)}.ios .toggle-active-state input[type=checkbox]:checked+.toggle-icon:after{transform:translate(calc(var(--f7-toggle-width) - var(--f7-toggle-height) - 8px))}.md .toggle input[type=checkbox]:checked+.toggle-icon{background:var(--f7-toggle-active-bg-color);border-color:var(--f7-toggle-active-border-color)}.md .toggle input[type=checkbox]:checked+.toggle-icon:after{transform:translate(calc(var(--f7-toggle-width) - var(--f7-toggle-height))) scale(1);background:var(--f7-toggle-active-knob-bg-color)}.md .toggle.active-state input[type=checkbox]:checked+.toggle-icon:after{transform:translate(calc(var(--f7-toggle-width) - var(--f7-toggle-height))) scale(1.1)}.md .toggle-icon{background:var(--f7-toggle-inactive-bg-color);border:2px solid var(--f7-toggle-inactive-border-color)}.md .toggle-icon:after{background:var(--f7-toggle-inactive-knob-bg-color);height:calc(var(--f7-toggle-height) - 8px);width:calc(var(--f7-toggle-height) - 8px);top:2px;border-radius:var(--f7-toggle-height);transform:scale(.666);left:2px}.md .toggle-icon.active-state:after{transform:scale(1.1)}:root{--f7-range-scale-step-height: 5px;--f7-range-scale-substep-width: 1px;--f7-range-scale-substep-height: 4px;--f7-range-bar-bg-color: rgba(0, 0, 0, .2)}:root .dark,:root.dark{--f7-range-bar-bg-color: rgba(255, 255, 255, .2)}.ios{--f7-range-size: 28px;--f7-range-bar-size: 4px;--f7-range-bar-border-radius: 2px;--f7-range-knob-size: 28px;--f7-range-knob-color: #fff;--f7-range-knob-box-shadow: 0 2px 4px rgba(0, 0, 0, .3);--f7-range-label-size: 24px;--f7-range-label-text-color: #000;--f7-range-label-bg-color: #fff;--f7-range-label-font-size: 12px;--f7-range-label-font-weight: 500;--f7-range-label-border-radius: 5px;--f7-range-label-padding: 0px 2px;--f7-range-scale-text-color: #666;--f7-range-scale-step-width: 1px;--f7-range-scale-font-size: 12px;--f7-range-scale-font-weight: 400;--f7-range-scale-label-offset: 4px}.md{--f7-range-size: 20px;--f7-range-bar-size: 2px;--f7-range-bar-border-radius: 0px;--f7-range-knob-size: 12px;--f7-range-knob-box-shadow: none;--f7-range-label-size: 26px;--f7-range-label-font-weight: normal;--f7-range-label-font-size: 10px;--f7-range-label-border-radius: 50%;--f7-range-label-padding: 0px;--f7-range-scale-step-width: 2px;--f7-range-scale-font-size: 12px;--f7-range-scale-font-weight: 400;--f7-range-scale-label-offset: 4px}.md,.md .dark,.md [class*=color-]{--f7-range-knob-color: var(--f7-theme-color);--f7-range-label-text-color: var(--f7-md-on-primary);--f7-range-label-bg-color: var(--f7-theme-color);--f7-range-scale-text-color: var(--f7-md-on-surface-variant)}.range-slider{display:block;position:relative;align-self:center;cursor:pointer;-webkit-user-select:none;user-select:none}.range-slider input[type=range]{display:none}.range-slider.range-slider-horizontal{width:100%;height:var(--f7-range-size);touch-action:pan-y}.range-slider.range-slider-vertical{height:100%;width:var(--f7-range-size);touch-action:pan-x}.range-bar{position:absolute;overflow:hidden;background:var(--f7-range-bar-bg-color);border-radius:var(--f7-range-bar-border-radius)}.range-slider-vertical .range-bar{left:50%;top:0;height:100%;width:var(--f7-range-bar-size);margin-left:calc(-1 * var(--f7-range-bar-size) / 2)}.range-slider-horizontal .range-bar{left:0;top:50%;width:100%;height:var(--f7-range-bar-size);margin-top:calc(-1 * var(--f7-range-bar-size) / 2)}.range-bar-active{position:absolute;background:var(--f7-range-bar-active-bg-color, var(--f7-theme-color))}.range-slider-horizontal .range-bar-active{left:0;top:0;height:100%}.range-slider-vertical .range-bar-active{left:0;bottom:0;width:100%}.range-slider-vertical-reversed .range-bar-active{top:0;bottom:auto}.range-knob-wrap{z-index:20;position:absolute;height:var(--f7-range-knob-size);width:var(--f7-range-knob-size)}.range-slider-horizontal .range-knob-wrap{top:50%;margin-top:calc(-1 * var(--f7-range-knob-size) / 2);margin-left:calc(-1 * var(--f7-range-knob-size) / 2);left:0}.range-slider-vertical .range-knob-wrap{left:50%;margin-left:calc(-1 * var(--f7-range-knob-size) / 2);bottom:0;margin-bottom:calc(-1 * var(--f7-range-knob-size) / 2)}.range-slider-vertical-reversed .range-knob-wrap{bottom:auto;top:0;margin-bottom:0;margin-top:calc(-1 * var(--f7-range-knob-size) / 2)}.range-knob{box-sizing:border-box;border-radius:50%;position:absolute;left:0;top:0;width:100%;height:100%;z-index:1;background:var(--f7-range-knob-color, var(--f7-range-knob-bg-color, var(--f7-theme-color)));box-shadow:var(--f7-range-knob-box-shadow)}.range-knob:after{content:"";position:absolute;left:50%;top:50%;width:44px;height:44px;margin-left:-22px;margin-top:-22px}.range-knob-label{position:absolute;left:50%;bottom:100%;text-align:center;transition-duration:.12s;transition-property:transform;box-sizing:border-box;transform:translateY(100%) scale(0);height:var(--f7-range-label-size);line-height:var(--f7-range-label-size);min-width:var(--f7-range-label-size);color:var(--f7-range-label-text-color);background-color:var(--f7-range-label-bg-color, var(--f7-theme-color));font-size:var(--f7-range-label-font-size);font-weight:var(--f7-range-label-font-weight);border-radius:var(--f7-range-label-border-radius);padding:var(--f7-range-label-padding)}.range-knob-active-state .range-knob-label{transform:translateY(0) scale(1)}.range-scale{position:absolute}.range-slider-horizontal .range-scale{top:50%;left:0;width:100%;margin-top:calc(var(--f7-range-bar-size) / 2)}.range-slider-vertical .range-scale{right:50%;top:0;height:100%;margin-right:calc(var(--f7-range-bar-size) / 2)}.range-scale-step{position:absolute;box-sizing:border-box;display:flex;font-size:var(--f7-range-scale-font-size);font-weight:var(--f7-range-scale-font-weight);color:var(--f7-range-scale-text-color, var(--f7-range-bar-bg-color));line-height:1}.range-scale-step:before{content:"";position:absolute;background:var(--f7-range-scale-step-bg-color, var(--f7-range-bar-bg-color))}.range-slider-horizontal .range-scale-step{justify-content:center;align-items:flex-start;width:var(--f7-range-scale-step-width);height:var(--f7-range-scale-step-height);padding-top:calc(var(--f7-range-scale-step-height) + var(--f7-range-scale-label-offset));top:0;margin-left:calc(-1 * var(--f7-range-scale-step-width) / 2)}.range-slider-horizontal .range-scale-step:before{left:0;top:0;width:100%;height:var(--f7-range-scale-step-height)}.range-slider-horizontal .range-scale-step:first-child{margin-left:0}.range-slider-horizontal .range-scale-step:last-child{margin-left:calc(-1 * var(--f7-range-scale-step-width))}.range-slider-vertical .range-scale-step{line-height:1;justify-content:flex-end;align-items:center;height:var(--f7-range-scale-step-width);width:var(--f7-range-scale-step-height);padding-right:calc(var(--f7-range-scale-step-height) + var(--f7-range-scale-label-offset));right:0;margin-bottom:calc(-1 * var(--f7-range-scale-step-width) / 2)}.range-slider-vertical .range-scale-step:first-child{margin-bottom:0}.range-slider-vertical .range-scale-step:last-child{margin-bottom:calc(-1 * var(--f7-range-scale-step-width))}.range-slider-vertical .range-scale-step:before{right:0;top:0;height:100%;width:var(--f7-range-scale-step-height)}.range-scale-substep{--f7-range-scale-step-bg-color: var(--f7-range-scale-substep-bg-color, var(--f7-range-bar-bg-color));--f7-range-scale-step-width: var(--f7-range-scale-substep-width);--f7-range-scale-step-height: var(--f7-range-scale-substep-height)}.ios .range-knob-label{margin-bottom:6px;transform:translate(-50%) translateY(100%) scale(0)}.ios .range-knob-active-state .range-knob-label{transform:translate(-50%) translateY(0) scale(1)}.md .range-knob{transition-duration:.2s;transition-property:transform,background-color}.md .range-knob-active-state .range-knob{transform:scale(1.5)}.md .range-slider-min:not(.range-slider-dual) .range-knob{background:#fff!important;border:2px solid var(--f7-range-bar-bg-color)}.md .range-knob-label{width:var(--f7-range-label-size);margin-left:calc(-1 * var(--f7-range-label-size) / 2);margin-bottom:8px}.md .range-knob-label:before{content:"";left:50%;top:0;margin-left:calc(-1 * var(--f7-range-label-size) / 2);position:absolute;z-index:-1;width:var(--f7-range-label-size);height:var(--f7-range-label-size);background:var(--f7-range-label-bg-color, var(--f7-theme-color));transform:rotate(-45deg);border-radius:50% 50% 50% 0}.md .range-knob-active-state .range-knob-label{transform:translateY(0) scale(1)}.md .range-slider-label .range-knob-active-state .range-knob{transform:scale(0)}:root{--f7-stepper-raised-box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);--f7-stepper-value-font-weight: 500}.ios{--f7-stepper-height: 28px;--f7-stepper-border-radius: 5px;--f7-stepper-fill-button-text-color: #fff;--f7-stepper-large-height: 44px;--f7-stepper-small-height: 26px;--f7-stepper-value-font-size: 17px;--f7-stepper-border-width: 2px;--f7-stepper-border-color: var(--f7-theme-color);--f7-stepper-small-border-width: 2px}.md{--f7-stepper-height: 40px;--f7-stepper-border-radius: 8px;--f7-stepper-large-height: 48px;--f7-stepper-small-height: 32px;--f7-stepper-value-font-size: 14px;--f7-stepper-border-width: 1px;--f7-stepper-small-border-width: 1px;--f7-stepper-button-pressed-bg-color: transparent}.md,.md .dark,.md [class*=color-]{--f7-stepper-fill-button-text-color: var(--f7-md-on-primary);--f7-stepper-fill-button-pressed-bg-color: var(--f7-theme-color);--f7-stepper-border-color: var(--f7-md-outline)}.stepper{--f7-touch-ripple-color: rgba(var(--f7-theme-color-rgb), .25);display:inline-flex;align-items:stretch;height:var(--f7-stepper-height);border-radius:var(--f7-stepper-border-radius)}.stepper-button,.stepper-button-minus,.stepper-button-plus{background-color:var(--f7-stepper-button-bg-color);width:40px;border-radius:var(--f7-stepper-border-radius);border:var(--f7-stepper-border-width) solid var(--f7-stepper-border-color);color:var(--f7-stepper-button-text-color, var(--f7-theme-color));line-height:calc(var(--f7-stepper-height) - var(--f7-stepper-border-width, 0px));text-align:center;display:flex;justify-content:center;align-content:center;align-items:center;flex-shrink:0;box-sizing:border-box;position:relative;cursor:pointer}.stepper-button.active-state,.stepper-button-minus.active-state,.stepper-button-plus.active-state{background-color:var(--f7-stepper-button-pressed-bg-color, rgba(var(--f7-theme-color-rgb), .15));color:var(--f7-stepper-button-pressed-text-color, var(--f7-stepper-button-text-color, var(--f7-theme-color)))}.stepper-button:first-child,.stepper-button-minus:first-child,.stepper-button-plus:first-child{border-radius:var(--f7-stepper-border-radius) 0 0 var(--f7-stepper-border-radius)}.stepper-button:last-child,.stepper-button-minus:last-child,.stepper-button-plus:last-child{border-radius:0 var(--f7-stepper-border-radius) var(--f7-stepper-border-radius) 0}.stepper-button .icon,.stepper-button-minus .icon,.stepper-button-plus .icon{pointer-events:none}.stepper-button+.stepper-button,.stepper-button-minus+.stepper-button,.stepper-button-plus+.stepper-button,.stepper-button+.stepper-button-minus,.stepper-button-minus+.stepper-button-minus,.stepper-button-plus+.stepper-button-minus,.stepper-button+.stepper-button-plus,.stepper-button-minus+.stepper-button-plus,.stepper-button-plus+.stepper-button-plus{border-left:none}.stepper-button-plus,.stepper-button-minus{-webkit-user-select:none;user-select:none}.stepper-button-plus:after,.stepper-button-minus:after,.stepper-button-plus:before,.stepper-button-minus:before{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background-color:var(--f7-stepper-button-text-color, var(--f7-theme-color));border-radius:2px}.stepper-button-plus:after,.stepper-button-minus:after{width:15px;height:2px}.stepper-button-plus:before{height:15px;width:2px}.stepper-value{display:flex;align-content:center;align-items:center;justify-content:center}.stepper-input-wrap,.stepper-value{flex-shrink:1;text-align:center;border-top:var(--f7-stepper-border-width) solid var(--f7-stepper-border-color);border-bottom:var(--f7-stepper-border-width) solid var(--f7-stepper-border-color)}.stepper .stepper-input-wrap input,.stepper-value{width:45px;color:var(--f7-stepper-value-text-color, var(--f7-theme-color));font-size:var(--f7-stepper-value-font-size);font-weight:var(--f7-stepper-value-font-weight);text-align:center}.stepper .stepper-input-wrap input{height:100%}.stepper-round,.ios .stepper-round-ios,.md .stepper-round-md{--f7-stepper-border-radius: var(--f7-stepper-height)}.stepper-fill,.ios .stepper-fill-ios,.md .stepper-fill-md{--f7-stepper-border-color: var(--f7-stepper-fill-button-bg-color, var(--f7-theme-color));--f7-stepper-button-bg-color: var(--f7-stepper-fill-button-bg-color, var(--f7-theme-color));--f7-stepper-button-text-color: var(--f7-stepper-fill-button-text-color);--f7-touch-ripple-color: var(--f7-touch-ripple-white)}.stepper-fill .stepper-button+.stepper-button,.ios .stepper-fill-ios .stepper-button+.stepper-button,.md .stepper-fill-md .stepper-button+.stepper-button,.stepper-raised .stepper-button+.stepper-button,.ios .stepper-raised-ios .stepper-button+.stepper-button,.md .stepper-raised-md .stepper-button+.stepper-button,.stepper-fill .stepper-button-minus+.stepper-button-plus,.ios .stepper-fill-ios .stepper-button-minus+.stepper-button-plus,.md .stepper-fill-md .stepper-button-minus+.stepper-button-plus,.stepper-raised .stepper-button-minus+.stepper-button-plus,.ios .stepper-raised-ios .stepper-button-minus+.stepper-button-plus,.md .stepper-raised-md .stepper-button-minus+.stepper-button-plus{border-left:1px solid rgba(0,0,0,.1)}.stepper-fill .stepper-button+.stepper-button.active-state,.ios .stepper-fill-ios .stepper-button+.stepper-button.active-state,.md .stepper-fill-md .stepper-button+.stepper-button.active-state,.stepper-fill .stepper-button-minus+.stepper-button-plus.active-state,.ios .stepper-fill-ios .stepper-button-minus+.stepper-button-plus.active-state,.md .stepper-fill-md .stepper-button-minus+.stepper-button-plus.active-state{border-left-color:var(--f7-stepper-button-pressed-bg-color)}.stepper-raised:not(.stepper-fill) .stepper-input-wrap,.ios .stepper-raised-ios:not(.stepper-fill-ios):not(.stepper-fill) .stepper-input-wrap,.md .stepper-raised-md:not(.stepper-fill-md):not(.stepper-fill) .stepper-input-wrap,.stepper-raised:not(.stepper-fill) .stepper-value,.ios .stepper-raised-ios:not(.stepper-fill-ios):not(.stepper-fill) .stepper-value,.md .stepper-raised-md:not(.stepper-fill-md):not(.stepper-fill) .stepper-value{border-left:1px solid rgba(0,0,0,.1);border-right:1px solid rgba(0,0,0,.1)}.stepper-large,.ios .stepper-large-ios,.md .stepper-large-md{--f7-stepper-height: var(--f7-stepper-large-height)}.stepper-small,.ios .stepper-small-ios,.md .stepper-small-md{--f7-stepper-border-width: var(--f7-stepper-small-border-width);--f7-stepper-height: var(--f7-stepper-small-height)}.ios .stepper-fill.stepper-small-ios,.ios .stepper-fill.stepper-small{--f7-stepper-button-pressed-bg-color: transparent;--f7-stepper-button-pressed-text-color: var(--f7-theme-color)}.stepper-raised,.ios .stepper-raised-ios,.md .stepper-raised-md{--f7-stepper-border-width: 0;box-shadow:var(--f7-stepper-raised-box-shadow)}.ios .stepper-button .f7-icons,.ios .stepper-button-minus .f7-icons,.ios .stepper-button-plus .f7-icons{font-size:22px}.ios .stepper-fill,.ios .stepper-fill-ios{--f7-stepper-button-pressed-bg-color: var(--f7-stepper-fill-button-pressed-bg-color, var(--f7-theme-color-tint))}.ios .stepper-small.stepper-raised,.ios .stepper-small-ios.stepper-raised,.ios .stepper-small.stepper-raised-ios,.ios .stepper-small-ios.stepper-raised-ios{--f7-stepper-border-width: 0px}.ios .stepper-small .stepper-button,.ios .stepper-small-ios .stepper-button,.ios .stepper-small .stepper-button-minus,.ios .stepper-small-ios .stepper-button-minus,.ios .stepper-small .stepper-button-plus,.ios .stepper-small-ios .stepper-button-plus{transition-duration:.2s}.ios .stepper-small .stepper-button.active-state:after,.ios .stepper-small-ios .stepper-button.active-state:after,.ios .stepper-small .stepper-button-minus.active-state:after,.ios .stepper-small-ios .stepper-button-minus.active-state:after,.ios .stepper-small .stepper-button-plus.active-state:after,.ios .stepper-small-ios .stepper-button-plus.active-state:after,.ios .stepper-small .stepper-button.active-state:before,.ios .stepper-small-ios .stepper-button.active-state:before,.ios .stepper-small .stepper-button-minus.active-state:before,.ios .stepper-small-ios .stepper-button-minus.active-state:before,.ios .stepper-small .stepper-button-plus.active-state:before,.ios .stepper-small-ios .stepper-button-plus.active-state:before{transition-duration:.2s;background-color:var(--f7-theme-color)}.md .stepper-button,.md .stepper-button-minus,.md .stepper-button-plus{transition-duration:.3s;transform:translateZ(0);overflow:hidden}.md .stepper-fill,.md .stepper-fill-md{--f7-stepper-button-pressed-bg-color: var(--f7-stepper-fill-button-bg-color, var(--f7-theme-color))}.smart-select select{display:none}.smart-select .item-after{max-width:70%;overflow:hidden;text-overflow:ellipsis;position:relative;display:block}.smart-select-sheet .page,.smart-select-sheet .sheet-modal-inner,.smart-select-sheet .list ul{background:var(--f7-smart-select-sheet-bg, var(--f7-list-bg-color))}.smart-select-sheet .toolbar:after{content:"";position:absolute;background-color:var(--f7-smart-select-sheet-toolbar-border-color, var(--f7-bars-border-color));display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.smart-select-sheet .toolbar:after{display:block}.smart-select-sheet .list{margin:0}.smart-select-sheet .list ul:before,.smart-select-sheet .list ul:after{display:none!important}.smart-select-popover .popover-inner{max-height:40vh}:root{--f7-grid-gap: 16px}.grid{display:grid}.grid.grid-gap{gap:var(--f7-grid-gap)}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.grid-cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.grid-cols-13{grid-template-columns:repeat(13,minmax(0,1fr))}.grid-cols-14{grid-template-columns:repeat(14,minmax(0,1fr))}.grid-cols-15{grid-template-columns:repeat(15,minmax(0,1fr))}.grid-cols-16{grid-template-columns:repeat(16,minmax(0,1fr))}.grid-cols-17{grid-template-columns:repeat(17,minmax(0,1fr))}.grid-cols-18{grid-template-columns:repeat(18,minmax(0,1fr))}.grid-cols-19{grid-template-columns:repeat(19,minmax(0,1fr))}.grid-cols-20{grid-template-columns:repeat(20,minmax(0,1fr))}.grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr))}.grid-rows-7{grid-template-rows:repeat(7,minmax(0,1fr))}.grid-rows-8{grid-template-rows:repeat(8,minmax(0,1fr))}.grid-rows-9{grid-template-rows:repeat(9,minmax(0,1fr))}.grid-rows-10{grid-template-rows:repeat(10,minmax(0,1fr))}.grid-rows-11{grid-template-rows:repeat(11,minmax(0,1fr))}.grid-rows-12{grid-template-rows:repeat(12,minmax(0,1fr))}.grid-rows-13{grid-template-rows:repeat(13,minmax(0,1fr))}.grid-rows-14{grid-template-rows:repeat(14,minmax(0,1fr))}.grid-rows-15{grid-template-rows:repeat(15,minmax(0,1fr))}.grid-rows-16{grid-template-rows:repeat(16,minmax(0,1fr))}.grid-rows-17{grid-template-rows:repeat(17,minmax(0,1fr))}.grid-rows-18{grid-template-rows:repeat(18,minmax(0,1fr))}.grid-rows-19{grid-template-rows:repeat(19,minmax(0,1fr))}.grid-rows-20{grid-template-rows:repeat(20,minmax(0,1fr))}@media (min-width: 480px){.xsmall-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.xsmall-grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.xsmall-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.xsmall-grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.xsmall-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xsmall-grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.xsmall-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.xsmall-grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.xsmall-grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.xsmall-grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.xsmall-grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.xsmall-grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr))}.xsmall-grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.xsmall-grid-rows-7{grid-template-rows:repeat(7,minmax(0,1fr))}.xsmall-grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.xsmall-grid-rows-8{grid-template-rows:repeat(8,minmax(0,1fr))}.xsmall-grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.xsmall-grid-rows-9{grid-template-rows:repeat(9,minmax(0,1fr))}.xsmall-grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.xsmall-grid-rows-10{grid-template-rows:repeat(10,minmax(0,1fr))}.xsmall-grid-cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}.xsmall-grid-rows-11{grid-template-rows:repeat(11,minmax(0,1fr))}.xsmall-grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.xsmall-grid-rows-12{grid-template-rows:repeat(12,minmax(0,1fr))}.xsmall-grid-cols-13{grid-template-columns:repeat(13,minmax(0,1fr))}.xsmall-grid-rows-13{grid-template-rows:repeat(13,minmax(0,1fr))}.xsmall-grid-cols-14{grid-template-columns:repeat(14,minmax(0,1fr))}.xsmall-grid-rows-14{grid-template-rows:repeat(14,minmax(0,1fr))}.xsmall-grid-cols-15{grid-template-columns:repeat(15,minmax(0,1fr))}.xsmall-grid-rows-15{grid-template-rows:repeat(15,minmax(0,1fr))}.xsmall-grid-cols-16{grid-template-columns:repeat(16,minmax(0,1fr))}.xsmall-grid-rows-16{grid-template-rows:repeat(16,minmax(0,1fr))}.xsmall-grid-cols-17{grid-template-columns:repeat(17,minmax(0,1fr))}.xsmall-grid-rows-17{grid-template-rows:repeat(17,minmax(0,1fr))}.xsmall-grid-cols-18{grid-template-columns:repeat(18,minmax(0,1fr))}.xsmall-grid-rows-18{grid-template-rows:repeat(18,minmax(0,1fr))}.xsmall-grid-cols-19{grid-template-columns:repeat(19,minmax(0,1fr))}.xsmall-grid-rows-19{grid-template-rows:repeat(19,minmax(0,1fr))}.xsmall-grid-cols-20{grid-template-columns:repeat(20,minmax(0,1fr))}.xsmall-grid-rows-20{grid-template-rows:repeat(20,minmax(0,1fr))}}@media (min-width: 568px){.small-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.small-grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.small-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.small-grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.small-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.small-grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.small-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.small-grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.small-grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.small-grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.small-grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.small-grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr))}.small-grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.small-grid-rows-7{grid-template-rows:repeat(7,minmax(0,1fr))}.small-grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.small-grid-rows-8{grid-template-rows:repeat(8,minmax(0,1fr))}.small-grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.small-grid-rows-9{grid-template-rows:repeat(9,minmax(0,1fr))}.small-grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.small-grid-rows-10{grid-template-rows:repeat(10,minmax(0,1fr))}.small-grid-cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}.small-grid-rows-11{grid-template-rows:repeat(11,minmax(0,1fr))}.small-grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.small-grid-rows-12{grid-template-rows:repeat(12,minmax(0,1fr))}.small-grid-cols-13{grid-template-columns:repeat(13,minmax(0,1fr))}.small-grid-rows-13{grid-template-rows:repeat(13,minmax(0,1fr))}.small-grid-cols-14{grid-template-columns:repeat(14,minmax(0,1fr))}.small-grid-rows-14{grid-template-rows:repeat(14,minmax(0,1fr))}.small-grid-cols-15{grid-template-columns:repeat(15,minmax(0,1fr))}.small-grid-rows-15{grid-template-rows:repeat(15,minmax(0,1fr))}.small-grid-cols-16{grid-template-columns:repeat(16,minmax(0,1fr))}.small-grid-rows-16{grid-template-rows:repeat(16,minmax(0,1fr))}.small-grid-cols-17{grid-template-columns:repeat(17,minmax(0,1fr))}.small-grid-rows-17{grid-template-rows:repeat(17,minmax(0,1fr))}.small-grid-cols-18{grid-template-columns:repeat(18,minmax(0,1fr))}.small-grid-rows-18{grid-template-rows:repeat(18,minmax(0,1fr))}.small-grid-cols-19{grid-template-columns:repeat(19,minmax(0,1fr))}.small-grid-rows-19{grid-template-rows:repeat(19,minmax(0,1fr))}.small-grid-cols-20{grid-template-columns:repeat(20,minmax(0,1fr))}.small-grid-rows-20{grid-template-rows:repeat(20,minmax(0,1fr))}}@media (min-width: 768px){.medium-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.medium-grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.medium-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.medium-grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.medium-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.medium-grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.medium-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.medium-grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.medium-grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.medium-grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.medium-grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.medium-grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr))}.medium-grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.medium-grid-rows-7{grid-template-rows:repeat(7,minmax(0,1fr))}.medium-grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.medium-grid-rows-8{grid-template-rows:repeat(8,minmax(0,1fr))}.medium-grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.medium-grid-rows-9{grid-template-rows:repeat(9,minmax(0,1fr))}.medium-grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.medium-grid-rows-10{grid-template-rows:repeat(10,minmax(0,1fr))}.medium-grid-cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}.medium-grid-rows-11{grid-template-rows:repeat(11,minmax(0,1fr))}.medium-grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.medium-grid-rows-12{grid-template-rows:repeat(12,minmax(0,1fr))}.medium-grid-cols-13{grid-template-columns:repeat(13,minmax(0,1fr))}.medium-grid-rows-13{grid-template-rows:repeat(13,minmax(0,1fr))}.medium-grid-cols-14{grid-template-columns:repeat(14,minmax(0,1fr))}.medium-grid-rows-14{grid-template-rows:repeat(14,minmax(0,1fr))}.medium-grid-cols-15{grid-template-columns:repeat(15,minmax(0,1fr))}.medium-grid-rows-15{grid-template-rows:repeat(15,minmax(0,1fr))}.medium-grid-cols-16{grid-template-columns:repeat(16,minmax(0,1fr))}.medium-grid-rows-16{grid-template-rows:repeat(16,minmax(0,1fr))}.medium-grid-cols-17{grid-template-columns:repeat(17,minmax(0,1fr))}.medium-grid-rows-17{grid-template-rows:repeat(17,minmax(0,1fr))}.medium-grid-cols-18{grid-template-columns:repeat(18,minmax(0,1fr))}.medium-grid-rows-18{grid-template-rows:repeat(18,minmax(0,1fr))}.medium-grid-cols-19{grid-template-columns:repeat(19,minmax(0,1fr))}.medium-grid-rows-19{grid-template-rows:repeat(19,minmax(0,1fr))}.medium-grid-cols-20{grid-template-columns:repeat(20,minmax(0,1fr))}.medium-grid-rows-20{grid-template-rows:repeat(20,minmax(0,1fr))}}@media (min-width: 1024px){.large-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.large-grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.large-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.large-grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.large-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.large-grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.large-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.large-grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.large-grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.large-grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.large-grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.large-grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr))}.large-grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.large-grid-rows-7{grid-template-rows:repeat(7,minmax(0,1fr))}.large-grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.large-grid-rows-8{grid-template-rows:repeat(8,minmax(0,1fr))}.large-grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.large-grid-rows-9{grid-template-rows:repeat(9,minmax(0,1fr))}.large-grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.large-grid-rows-10{grid-template-rows:repeat(10,minmax(0,1fr))}.large-grid-cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}.large-grid-rows-11{grid-template-rows:repeat(11,minmax(0,1fr))}.large-grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.large-grid-rows-12{grid-template-rows:repeat(12,minmax(0,1fr))}.large-grid-cols-13{grid-template-columns:repeat(13,minmax(0,1fr))}.large-grid-rows-13{grid-template-rows:repeat(13,minmax(0,1fr))}.large-grid-cols-14{grid-template-columns:repeat(14,minmax(0,1fr))}.large-grid-rows-14{grid-template-rows:repeat(14,minmax(0,1fr))}.large-grid-cols-15{grid-template-columns:repeat(15,minmax(0,1fr))}.large-grid-rows-15{grid-template-rows:repeat(15,minmax(0,1fr))}.large-grid-cols-16{grid-template-columns:repeat(16,minmax(0,1fr))}.large-grid-rows-16{grid-template-rows:repeat(16,minmax(0,1fr))}.large-grid-cols-17{grid-template-columns:repeat(17,minmax(0,1fr))}.large-grid-rows-17{grid-template-rows:repeat(17,minmax(0,1fr))}.large-grid-cols-18{grid-template-columns:repeat(18,minmax(0,1fr))}.large-grid-rows-18{grid-template-rows:repeat(18,minmax(0,1fr))}.large-grid-cols-19{grid-template-columns:repeat(19,minmax(0,1fr))}.large-grid-rows-19{grid-template-rows:repeat(19,minmax(0,1fr))}.large-grid-cols-20{grid-template-columns:repeat(20,minmax(0,1fr))}.large-grid-rows-20{grid-template-rows:repeat(20,minmax(0,1fr))}}@media (min-width: 1200px){.xlarge-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.xlarge-grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.xlarge-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.xlarge-grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.xlarge-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xlarge-grid-rows-3{grid-template-rows:repeat(3,minmax(0,1fr))}.xlarge-grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.xlarge-grid-rows-4{grid-template-rows:repeat(4,minmax(0,1fr))}.xlarge-grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.xlarge-grid-rows-5{grid-template-rows:repeat(5,minmax(0,1fr))}.xlarge-grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.xlarge-grid-rows-6{grid-template-rows:repeat(6,minmax(0,1fr))}.xlarge-grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.xlarge-grid-rows-7{grid-template-rows:repeat(7,minmax(0,1fr))}.xlarge-grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.xlarge-grid-rows-8{grid-template-rows:repeat(8,minmax(0,1fr))}.xlarge-grid-cols-9{grid-template-columns:repeat(9,minmax(0,1fr))}.xlarge-grid-rows-9{grid-template-rows:repeat(9,minmax(0,1fr))}.xlarge-grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.xlarge-grid-rows-10{grid-template-rows:repeat(10,minmax(0,1fr))}.xlarge-grid-cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}.xlarge-grid-rows-11{grid-template-rows:repeat(11,minmax(0,1fr))}.xlarge-grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.xlarge-grid-rows-12{grid-template-rows:repeat(12,minmax(0,1fr))}.xlarge-grid-cols-13{grid-template-columns:repeat(13,minmax(0,1fr))}.xlarge-grid-rows-13{grid-template-rows:repeat(13,minmax(0,1fr))}.xlarge-grid-cols-14{grid-template-columns:repeat(14,minmax(0,1fr))}.xlarge-grid-rows-14{grid-template-rows:repeat(14,minmax(0,1fr))}.xlarge-grid-cols-15{grid-template-columns:repeat(15,minmax(0,1fr))}.xlarge-grid-rows-15{grid-template-rows:repeat(15,minmax(0,1fr))}.xlarge-grid-cols-16{grid-template-columns:repeat(16,minmax(0,1fr))}.xlarge-grid-rows-16{grid-template-rows:repeat(16,minmax(0,1fr))}.xlarge-grid-cols-17{grid-template-columns:repeat(17,minmax(0,1fr))}.xlarge-grid-rows-17{grid-template-rows:repeat(17,minmax(0,1fr))}.xlarge-grid-cols-18{grid-template-columns:repeat(18,minmax(0,1fr))}.xlarge-grid-rows-18{grid-template-rows:repeat(18,minmax(0,1fr))}.xlarge-grid-cols-19{grid-template-columns:repeat(19,minmax(0,1fr))}.xlarge-grid-rows-19{grid-template-rows:repeat(19,minmax(0,1fr))}.xlarge-grid-cols-20{grid-template-columns:repeat(20,minmax(0,1fr))}.xlarge-grid-rows-20{grid-template-rows:repeat(20,minmax(0,1fr))}}:root{--f7-calendar-height: 340px;--f7-calendar-sheet-landscape-height: 220px;--f7-calendar-popover-width: 320px;--f7-calendar-popover-height: 320px;--f7-calendar-modal-height: 420px;--f7-calendar-modal-max-width: 380px;--f7-calendar-week-header-bg-color: transparent;--f7-calendar-footer-padding: 0 8px;--f7-calendar-week-header-font-size: 11px;--f7-calendar-disabled-text-color: #d4d4d4;--f7-calendar-event-dot-size: 4px;--f7-calendar-time-selector-height: 28px;--f7-calendar-picker-pressed-bg-color: rgba(0, 0, 0, .1);--f7-calendar-picker-hover-bg-color: rgba(0, 0, 0, .03);--f7-calendar-time-selector-bg-color: rgba(0, 0, 0, .05)}:root .dark,:root.dark{--f7-calendar-picker-pressed-bg-color: rgba(255, 255, 255, .08);--f7-calendar-picker-hover-bg-color: rgba(255, 255, 255, .03);--f7-calendar-time-selector-bg-color: rgba(255, 255, 255, .1)}.ios{--f7-calendar-selected-text-color: #fff;--f7-calendar-header-height: 44px;--f7-calendar-header-font-size: 17px;--f7-calendar-header-font-weight: 600;--f7-calendar-header-padding: 0 8px;--f7-calendar-footer-height: 44px;--f7-calendar-footer-font-size: 17px;--f7-calendar-week-header-height: 18px;--f7-calendar-day-font-size: 15px;--f7-calendar-day-size: 30px;--f7-calendar-picker-font-size: 17px;--f7-calendar-time-selector-font-size: 17px;--f7-calendar-modal-border-radius: 4px;--f7-calendar-modal-box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--f7-calendar-prev-next-text-color: #c8c8c8;--f7-calendar-sheet-border-color: #929499;--f7-calendar-sheet-bg-color: #fff;--f7-calendar-week-header-text-color: #5e5e5e;--f7-calendar-modal-bg-color: #fff;--f7-calendar-day-text-color: #000;--f7-calendar-today-text-color: #000;--f7-calendar-today-bg-color: #e3e3e3}.ios .dark,.ios.dark{--f7-calendar-prev-next-text-color: #5e5e5e;--f7-calendar-sheet-border-color: var(--f7-bars-border-color);--f7-calendar-sheet-bg-color: #121212;--f7-calendar-week-header-text-color: #aaa;--f7-calendar-modal-bg-color: #121212;--f7-calendar-day-text-color: #fff;--f7-calendar-today-text-color: #fff;--f7-calendar-today-bg-color: #333}.md{--f7-calendar-sheet-border-color: transparent;--f7-calendar-header-height: 64px;--f7-calendar-header-font-size: 24px;--f7-calendar-header-font-weight: 400;--f7-calendar-header-padding: 0 24px;--f7-calendar-footer-height: 56px;--f7-calendar-footer-font-size: 14px;--f7-calendar-week-header-height: 24px;--f7-calendar-day-font-size: 14px;--f7-calendar-today-bg-color: none;--f7-calendar-day-size: 32px;--f7-calendar-picker-font-size: 14px;--f7-calendar-time-selector-font-size: 14px;--f7-calendar-modal-border-radius: 28px;--f7-calendar-modal-box-shadow: none}.md,.md .dark,.md [class*=color-]{--f7-calendar-sheet-bg-color: var(--f7-md-surface-1);--f7-calendar-selected-text-color: var(--f7-md-on-primary);--f7-calendar-week-header-text-color: var(--f7-md-on-surface-variant);--f7-calendar-day-text-color: var(--f7-md-on-surface);--f7-calendar-prev-next-text-color: rgba(var(--f7-md-on-surface-variant-rgb), .55);--f7-calendar-today-text-color: var(--f7-theme-color);--f7-calendar-modal-bg-color: var(--f7-md-surface-1)}.calendar{overflow:hidden;height:var(--f7-calendar-height);width:100%;display:flex;flex-direction:column}.calendar.modal-in{display:flex}@media (orientation: landscape) and (max-height: 415px){.calendar.calendar-sheet{height:var(--f7-calendar-sheet-landscape-height)}.calendar.calendar-modal{height:calc(100vh - var(--f7-navbar-height))}}.calendar.calendar-inline,.calendar.calendar-popover .calendar{position:relative}.calendar-sheet{--f7-sheet-border-color: var(--f7-calendar-sheet-border-color);background:var(--f7-calendar-sheet-bg-color);padding-bottom:var(--f7-safe-area-bottom);height:calc(var(--f7-calendar-height) + var(--f7-safe-area-bottom))}.calendar-sheet:before{z-index:600}.calendar-sheet .toolbar:before,.calendar-modal .toolbar:before,.calendar-popover .toolbar:before{display:none}.calendar-popover{width:var(--f7-calendar-popover-width)}.calendar-popover .toolbar-top,.calendar-popover .calendar-header{border-radius:var(--f7-popover-border-radius) var(--f7-popover-border-radius) 0 0;overflow:hidden}.calendar-popover .calendar-header+.toolbar-top{border-radius:0}.calendar-popover .toolbar-bottom,.calendar-popover .calendar-footer{border-radius:0 0 var(--f7-popover-border-radius) var(--f7-popover-border-radius)}.calendar-popover .calendar{height:var(--f7-calendar-popover-height);position:relative;z-index:1}.calendar-popover .calendar-month-picker,.calendar-popover .calendar-year-picker,.calendar-popover .calendar-time-picker{border-radius:var(--f7-popover-border-radius)}.calendar-popover .calendar-month-picker .picker,.calendar-popover .calendar-year-picker .picker,.calendar-popover .calendar-time-picker .picker{height:100%;display:flex;flex-direction:column}.calendar-header{width:100%;position:relative;overflow:hidden;flex-shrink:0;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;padding:var(--f7-calendar-header-padding);background-color:var(--f7-calendar-header-bg-color, var(--f7-bars-bg-color));color:var(--f7-calendar-header-text-color, var(--f7-bars-text-color));height:var(--f7-calendar-header-height);line-height:var(--f7-calendar-header-height);font-size:var(--f7-calendar-header-font-size);font-weight:var(--f7-calendar-header-font-weight)}.calendar-header a{color:var(--f7-calendar-header-link-color, var(--f7-bars-link-color, var(--f7-theme-color)))}.calendar-footer{width:100%;flex-shrink:0;padding:var(--f7-calendar-footer-padding);background-color:var(--f7-calendar-footer-bg-color, var(--f7-bars-bg-color));color:var(--f7-calendar-footer-text-color, var(--f7-bars-text-color));height:var(--f7-calendar-footer-height);font-size:var(--f7-calendar-header-font-size);display:flex;justify-content:flex-end;box-sizing:border-box;align-items:center;position:relative}.calendar-footer a{color:var(--f7-calendar-footer-link-color, var(--f7-bars-link-color, var(--f7-theme-color)))}.calendar-footer:before{content:"";position:absolute;background-color:var(--f7-calendar-footer-border-color, var(--f7-bars-border-color));display:block;z-index:15;top:0;right:auto;bottom:auto;left:0;height:1px;width:100%;transform-origin:50% 0%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.calendar-modal{position:absolute;height:var(--f7-calendar-modal-height);overflow:hidden;top:50%;left:50%;min-width:300px;max-width:var(--f7-calendar-modal-max-width);transform:translate3d(-50%,100vh,0);transition-property:transform;display:flex;z-index:13500;background:var(--f7-calendar-modal-bg-color);width:90%;border-radius:var(--f7-calendar-modal-border-radius);box-shadow:var(--f7-calendar-modal-box-shadow);transition-timing-function:cubic-bezier(0,1,.2,1)}.calendar-modal.modal-in,.calendar-modal.modal-out{transition-duration:.4s}.calendar-modal.modal-in{transform:translate3d(-50%,-50%,0)}.calendar-modal.modal-out{transform:translate3d(-50%,100vh,0)}.calendar-week-header{display:flex;box-sizing:border-box;position:relative;font-size:var(--f7-calendar-week-header-font-size);background-color:var(--f7-calendar-week-header-bg-color, var(--f7-bars-bg-color));color:var(--f7-calendar-week-header-text-color, var(--f7-bars-text-color));height:var(--f7-calendar-week-header-height);padding-left:var(--f7-safe-area-left);padding-right:var(--f7-safe-area-right)}.calendar-week-header .calendar-week-day{flex-shrink:1;width:calc(100% / 7);text-align:center;line-height:var(--f7-calendar-week-header-height)}.calendar-months{width:100%;height:100%;overflow:hidden;position:relative;flex-shrink:10}.calendar-months-wrapper{position:relative;width:100%;height:100%;transition:.3s}.calendar-month{display:flex;flex-direction:column;width:100%;height:100%;position:absolute;left:0;top:0}.calendar-row{height:16.66666667%;display:flex;flex-shrink:1;width:100%;position:relative;box-sizing:border-box;padding-left:var(--f7-safe-area-left);padding-right:var(--f7-safe-area-right)}.calendar-modal .calendar-months:first-child .calendar-row:first-child:before,.calendar-popover .calendar-months:first-child .calendar-row:first-child:before{display:none!important}.calendar-day{flex-shrink:1;display:flex;justify-content:center;align-items:center;box-sizing:border-box;width:14.28571429%;text-align:center;cursor:pointer;z-index:20;color:var(--f7-calendar-day-text-color);height:100%;font-size:var(--f7-calendar-day-font-size)}.calendar-day-today .calendar-day-number{color:var(--f7-calendar-today-text-color, var(--f7-theme-color));background-color:var(--f7-calendar-today-bg-color)}.calendar-day-prev,.calendar-day-next{color:var(--f7-calendar-prev-next-text-color)}.calendar-day-disabled{color:var(--f7-calendar-disabled-text-color);cursor:auto}.calendar-day-selected .calendar-day-number{color:var(--f7-calendar-selected-text-color);background-color:var(--f7-calendar-selected-bg-color, var(--f7-theme-color))}.calendar-day-number{display:inline-block;border-radius:50%;position:relative;width:var(--f7-calendar-day-size);height:var(--f7-calendar-day-size);line-height:var(--f7-calendar-day-size)}.calendar-day-events{position:absolute;display:flex;left:0;width:100%;top:100%;align-items:center;justify-content:center;margin-top:1px}.calendar-day-event{width:var(--f7-calendar-event-dot-size);height:var(--f7-calendar-event-dot-size);border-radius:calc(var(--f7-calendar-event-dot-size) / 2);background-color:var(--f7-calendar-event-bg-color)}.calendar-day-event+.calendar-day-event{margin-left:2px}.calendar-day-selected-range,.calendar-day-selected-left,.calendar-day-selected-right{position:relative}.calendar-day-selected-range:before,.calendar-day-selected-left:before,.calendar-day-selected-right:before{width:100%;height:var(--f7-calendar-day-size);content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);z-index:-1;background-color:var(--f7-calendar-selected-bg-color, var(--f7-theme-color));opacity:.2}.calendar-day-selected-range:first-child:before,.calendar-day-selected-left:before{left:auto;right:0;width:calc(50% + var(--f7-calendar-day-size) / 2);border-radius:var(--f7-calendar-day-size) 0 0 var(--f7-calendar-day-size)}.calendar-day-selected-range:last-child:before,.calendar-day-selected-right:before{width:calc(50% + var(--f7-calendar-day-size) / 2);border-radius:0 var(--f7-calendar-day-size) var(--f7-calendar-day-size) 0}.calendar-day-selected-left:last-child:before,.calendar-day-selected-right:first-child:before{display:none}.calendar-day-selected-left.calendar-day-selected-right:before{content:none;display:none}.calendar-day-selected-range .calendar-day-number{background-color:transparent;color:inherit}.calendar-month-selector,.calendar-year-selector{display:flex;justify-content:space-between;align-items:center;width:50%;max-width:200px;flex-shrink:10;margin-left:auto;margin-right:auto}.calendar-month-selector .calendar-day-number,.calendar-year-selector .calendar-day-number{flex-shrink:1;position:relative;overflow:hidden;text-overflow:ellipsis}.calendar-month-selector a.icon-only,.calendar-year-selector a.icon-only{min-width:36px}.calendar-month-picker,.calendar-year-picker,.calendar-time-picker{position:relative;width:100%;height:100%;-webkit-user-select:none;user-select:none;background:transparent}.calendar-month-picker .picker-columns,.calendar-year-picker .picker-columns{text-align:center}.calendar-month-picker-item,.calendar-year-picker-item{display:flex;justify-content:center;align-items:center;position:relative;overflow:hidden;cursor:pointer;transition-duration:.1s;box-sizing:border-box}.calendar-month-picker-item span,.calendar-year-picker-item span{white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;position:relative;overflow:hidden;pointer-events:none}.calendar-month-picker-item.active-state,.calendar-year-picker-item.active-state{background:var(--f7-calendar-picker-pressed-bg-color)}.calendar-month-picker-item{padding:5px}.sheet-modal .calendar-month-picker-item{width:25%;height:33.33333333%}.sheet-modal .calendar-month-picker-item:nth-child(4n+1):before{display:none!important}.sheet-modal .calendar-month-picker-item:nth-child(n+9):after{display:none!important}.popover .calendar-month-picker-item,.calendar-modal .calendar-month-picker-item{width:33.33333333%;height:25%}.popover .calendar-month-picker-item:nth-child(3n+1):before,.calendar-modal .calendar-month-picker-item:nth-child(3n+1):before{display:none!important}.popover .calendar-month-picker-item:nth-child(n+10):after,.calendar-modal .calendar-month-picker-item:nth-child(n+10):after{display:none!important}.calendar-month-picker-item-current,.calendar-year-picker-item-current{color:var(--f7-calendar-picker-selected-text-color, var(--f7-theme-color))}.calendar-year-picker{overflow:auto;--webkit-overflow-scrolling: touch}.calendar-year-picker-item{height:34px;line-height:34px;width:100%}.calendar-time-selector{flex-shrink:0;font-size:var(--f7-calendar-time-selector-font-size);position:relative;display:flex;justify-content:space-between;align-items:center;padding:12px 16px}.calendar-time-selector a{overflow:hidden;position:relative;justify-content:center;align-items:center;display:flex;box-sizing:border-box;height:var(--f7-calendar-time-selector-height);background-color:var(--f7-calendar-time-selector-bg-color);padding:0 16px;border-radius:8px}.calendar-time-selector>span{font-weight:500}.calendar-time-selector .segmented{margin-left:8px}.calendar-time-picker-popover,.calendar-year-picker-popover,.calendar-month-picker-popover{height:240px;width:240px}.calendar-time-picker-popover .popover-inner,.calendar-year-picker-popover .popover-inner,.calendar-month-picker-popover .popover-inner{height:100%;overflow:hidden}.calendar-time-picker{--f7-picker-popover-height: 100%;--f7-picker-inline-height: 100%}.calendar-time-picker .toolbar{flex-shrink:0;top:0!important}.calendar-time-picker .picker{height:100%;display:flex;flex-direction:column}:root{--f7-picker-height: 260px;--f7-picker-inline-height: 200px;--f7-picker-popover-height: 260px;--f7-picker-popover-width: 280px;--f7-picker-landscape-height: 200px;--f7-picker-item-height: 36px}.ios{--f7-picker-column-font-size: 20px;--f7-picker-item-selected-text-color: #000;--f7-picker-item-selected-bg-color: rgba(0, 0, 0, .12);--f7-picker-divider-text-color: #000;--f7-picker-item-text-color: rgba(0, 0, 0, .45)}.ios .dark,.ios.dark{--f7-picker-item-selected-text-color: #fff;--f7-picker-item-selected-bg-color: rgba(255, 255, 255, .1);--f7-picker-divider-text-color: #fff;--f7-picker-item-text-color: rgba(255, 255, 255, .55)}.md{--f7-picker-column-font-size: 20px}.md,.md .dark,.md [class*=color-]{--f7-picker-item-selected-text-color: var(--f7-md-on-surface);--f7-picker-item-text-color: var(--f7-md-on-surface-variant);--f7-picker-divider-text-color: var(--f7-md-on-surface);--f7-picker-item-selected-border-color: var(--f7-md-outline)}.picker{width:100%;height:var(--f7-picker-height)}.picker.picker-inline{height:var(--f7-picker-inline-height)}.popover .picker{height:var(--f7-picker-popover-height)}@media (orientation: landscape) and (max-height: 415px){.picker:not(.picker-inline){height:var(--f7-picker-landscape-height)}}.picker.sheet-modal{background:var(--f7-picker-sheet-bg-color, var(--f7-sheet-bg-color))}.picker-popover{width:var(--f7-picker-popover-width)}.picker-popover .toolbar{background:none;border-radius:var(--f7-popover-border-radius) var(--f7-popover-border-radius) 0 0}.picker-popover .toolbar:before{display:none!important}.picker-popover .toolbar+.picker-columns{height:calc(100% - var(--f7-toolbar-height))}.picker-columns{display:flex;overflow:hidden;justify-content:center;padding:0;text-align:right;height:100%;position:relative;font-size:var(--f7-picker-column-font-size);--f7-picker-mask-bg-color: transparent}.popover .picker-columns{border-radius:0 0 var(--f7-popover-border-radius) var(--f7-popover-border-radius)}.picker-columns:before,.picker-columns:after{content:"";position:absolute;left:0;width:100%;height:20%;z-index:100;pointer-events:none}.page .picker-columns{--f7-picker-mask-bg-color: var(--f7-page-bg-color)}.block-strong .picker-columns{--f7-picker-mask-bg-color: var(--f7-block-strong-bg-color)}.picker-sheet .picker-columns{--f7-picker-mask-bg-color: var(--f7-picker-sheet-bg-color, var(--f7-sheet-bg-color))}.picker-popover .picker-columns{--f7-picker-mask-bg-color: var(--f7-popover-bg-color)}.picker-columns:before{top:0;background-image:linear-gradient(to bottom,var(--f7-picker-mask-bg-color),transparent)}.picker-columns:after{bottom:0;background-image:linear-gradient(to top,var(--f7-picker-mask-bg-color),transparent)}.picker-column{position:relative;max-height:100%;z-index:10}.picker-column.picker-column-first.picker-column-last{width:100%}.picker-column.picker-column-left{text-align:left}.picker-column.picker-column-center{text-align:center}.picker-column.picker-column-right{text-align:right}.picker-column.picker-column-divider{display:flex;align-items:center;color:var(--f7-picker-divider-text-color)}.picker-items{overflow:auto;scroll-snap-type:y mandatory;height:100%;box-sizing:border-box;padding:var(--f7-picker-scroll-padding, 0px) 0px;scrollbar-width:none;scrollbar-color:transparent}.picker-items::-webkit-scrollbar{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:0px;display:none;opacity:0;background:transparent}.picker-items::-webkit-scrollbar-track{box-shadow:none;background:transparent}.picker-items::-webkit-scrollbar-thumb{background-color:transparent;outline:none;border-radius:9999px;position:relative}.picker-item{height:var(--f7-picker-item-height);line-height:var(--f7-picker-item-height);white-space:nowrap;position:relative;overflow:hidden;text-overflow:ellipsis;left:0;top:0;width:100%;box-sizing:border-box;color:var(--f7-picker-item-text-color);cursor:pointer;scroll-snap-align:center}.picker-item span{padding:0 10px}.picker-item.picker-item-far{pointer-events:none}.picker-item.picker-item-selected{color:var(--f7-picker-item-selected-text-color);transform:translateZ(0) rotateX(0)}.picker-column-free-mode .picker-item{scroll-snap-align:none}.picker-center-highlight{height:var(--f7-picker-item-height);box-sizing:border-box;position:absolute;top:50%;margin-top:calc(-1 * var(--f7-picker-item-height) / 2);pointer-events:none}.picker-3d .picker-columns{overflow:hidden}.picker-3d .picker-column,.picker-3d .picker-items,.picker-3d .picker-item{transform-style:preserve-3d}.picker-3d .picker-column{overflow:visible}.picker-3d .picker-item{perspective:1200px;overflow:visible}.picker-3d .picker-item>span{-webkit-backface-visibility:hidden;backface-visibility:hidden;display:block;transform-style:preserve-3d;position:relative;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box;max-width:100%;transform-origin:center center -100px}.ios .picker-center-highlight{left:16px;right:16px;background-color:var(--f7-picker-item-selected-bg-color);border-radius:8px}.popover .ios .picker-center-highlight{left:8px;right:8px}.md .picker-center-highlight{left:0;right:0;border-top:1px solid var(--f7-md-outline);border-bottom:1px solid var(--f7-md-outline)}.infinite-scroll-preloader{margin-left:auto;margin-right:auto;text-align:center}.infinite-scroll-preloader.preloader{display:block}.ios .infinite-scroll-preloader{margin-top:35px;margin-bottom:35px}.ios .infinite-scroll-preloader .preloader,.ios .infinite-scroll-preloader.preloader{width:27px;height:27px}.md .infinite-scroll-preloader{margin-top:32px;margin-bottom:32px}.ios{--f7-ptr-preloader-size: 28px;--f7-ptr-size: 44px}.md{--f7-ptr-preloader-size: 22px;--f7-ptr-size: 40px}.md,.md .dark,.md [class*=color-]{--f7-ptr-preloader-bg-color: var(--f7-md-surface-1);--f7-ptr-preloader-color: var(--f7-md-primary)}.ptr-preloader{position:relative;top:var(--f7-ptr-top, 0);height:var(--f7-ptr-size);pointer-events:none}.ptr-preloader .preloader{position:absolute;left:50%;width:var(--f7-ptr-preloader-size);height:var(--f7-ptr-preloader-size);margin-left:calc(-1 * var(--f7-ptr-preloader-size) / 2);margin-top:calc(-1 * var(--f7-ptr-preloader-size) / 2);top:50%;visibility:hidden}.ptr-bottom .ptr-preloader{top:auto;bottom:0;position:fixed}.ptr-with-navbar-large-transparent .ptr-preloader,.ptr-with-navbar-transparent .ptr-preloader{top:calc(-1 * var(--f7-page-navbar-offset, 0px) + var(--f7-safe-area-top))}.ios .ptr-preloader{margin-bottom:calc(-1 * var(--f7-ptr-size));width:100%;left:0;top:0;position:relative}.ios .ptr-preloader .preloader{visibility:visible}.ios .ptr-content:not(.ptr-refreshing):not(.ptr-pull-up) .ptr-preloader .preloader,.ios .ptr-content:not(.ptr-refreshing):not(.ptr-pull-up) .ptr-preloader .preloader-inner{animation:none}.ios .ptr-content:not(.ptr-refreshing):not(.ptr-pull-up):not(.ptr-pull-down) .ptr-preloader .preloader-inner-line,.ios .ptr-content.ptr-closing .ptr-preloader .preloader-inner-line{opacity:0!important}.ios .ptr-transitioning>*,.ios .ptr-refreshing>*{transition-duration:.2s;transition-property:transform}.ios .ptr-transitioning .ptr-preloader .preloader-inner-line{transition-duration:.2s}.ios .ptr-pull-up .ptr-preloader .preloader{animation:ios-ptr-preloader-spin 1s ease-out forwards}.ios .ptr-refreshing:not(.ptr-bottom){transform:none}.ios .ptr-refreshing:not(.ptr-bottom)>*{transform:translate3d(0,var(--f7-ptr-size),0)}.ios .ptr-refreshing:not(.ptr-bottom)>.ptr-preloader{transform:translateZ(0)}.ios .ptr-bottom .ptr-preloader{margin-bottom:0;margin-top:calc(-1 * var(--f7-ptr-size));position:relative}.ios .ptr-bottom.ptr-transitioning>*,.ios .ptr-bottom.ptr-refreshing>*{transition-duration:.3s;transition-property:transform}.ios .ptr-bottom.ptr-refreshing{transform:none}.ios .ptr-bottom.ptr-refreshing>*{transform:translate3d(0,calc(-1 * var(--f7-ptr-size)),0)}.ios .ptr-bottom.ptr-refreshing>.ptr-preloader{transform:translateZ(0)}@keyframes ios-ptr-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(135deg)}}.md{--f7-ptr-top: -4px}.md .ptr-preloader{width:var(--f7-ptr-size);border-radius:50%;background:var(--f7-ptr-preloader-bg-color);--f7-preloader-color: var(--f7-ptr-preloader-color);margin-top:calc(-1 * var(--f7-ptr-size));z-index:100;box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;left:50%;margin-left:calc(-1 * var(--f7-ptr-size) / 2)}.md .ptr-preloader .preloader circle{stroke-width:4}.md .ptr-arrow{width:22px;height:22px;box-sizing:border-box;border:3px solid var(--f7-preloader-color);position:absolute;left:50%;top:50%;margin-left:-11px;margin-top:-11px;border-left-color:transparent;border-radius:50%;opacity:1;transform:rotate(150deg)}.md .ptr-arrow:after{content:"";width:0px;height:0px;position:absolute;left:-5px;bottom:0;border-bottom-width:6px;border-bottom-style:solid;border-bottom-color:inherit;border-left:5px solid transparent;border-right:5px solid transparent;transform:rotate(-40deg)}.md .ptr-content:not(.ptr-refreshing):not(.ptr-pull-up) .ptr-preloader .preloader,.md .ptr-content:not(.ptr-refreshing):not(.ptr-pull-up) .ptr-preloader .preloader-inner,.md .ptr-content:not(.ptr-refreshing):not(.ptr-pull-up) .ptr-preloader circle{animation:none}.md .ptr-refreshing .ptr-preloader .preloader,.md .ptr-pull-up .ptr-preloader .preloader{visibility:visible}.md .ptr-refreshing .ptr-arrow,.md .ptr-pull-up .ptr-arrow{visibility:hidden}.md .ptr-refreshing .ptr-preloader{transform:translate3d(0,66px,0)}.md .ptr-transitioning .ptr-arrow{transition:.3s}.md .ptr-pull-up .ptr-arrow{transition:.4s;transform:rotate(620deg)!important;opacity:0}.md .ptr-transitioning .ptr-preloader,.md .ptr-refreshing .ptr-preloader{transition-duration:.3s;transition-property:transform,opacity}.md .ptr-bottom .ptr-preloader{margin-top:0;margin-bottom:calc(-1 * var(--f7-ptr-size) - 4px)}.md .ptr-bottom.ptr-refreshing .ptr-preloader{transform:translate3d(0,-66px,0)}.md .ptr-with-navbar-large-transparent .ptr-preloader,.md .ptr-with-navbar-transparent .ptr-preloader{opacity:0}.md .ptr-with-navbar-large-transparent.ptr-pull-down .ptr-preloader,.md .ptr-with-navbar-transparent.ptr-pull-down .ptr-preloader,.md .ptr-with-navbar-large-transparent.ptr-pull-up .ptr-preloader,.md .ptr-with-navbar-transparent.ptr-pull-up .ptr-preloader,.md .ptr-with-navbar-large-transparent.ptr-refreshing .ptr-preloader,.md .ptr-with-navbar-transparent.ptr-refreshing .ptr-preloader{opacity:1}.md .ptr-with-navbar-large-transparent.ptr-closing .ptr-preloader,.md .ptr-with-navbar-transparent.ptr-closing .ptr-preloader{opacity:0;transition-duration:.3s}:root{--f7-table-head-font-size: 12px;--f7-table-body-font-size: 14px;--f7-table-footer-font-size: 12px;--f7-table-input-height: 24px;--f7-table-input-font-size: 14px;--f7-table-collapsible-cell-padding: 16px;--f7-table-link-icon-only-icon-size: 20px;--f7-table-head-bg-color: transparent;--f7-table-card-header-bg-color: transparent;--f7-table-card-header-height: 64px;--f7-table-cell-padding-vertical: 0px;--f7-table-sortable-icon-color: #000}:root .dark,:root.dark{--f7-table-sortable-icon-color: #fff;--f7-table-input-text-color: #fff}.ios{--f7-table-head-font-weight: 600;--f7-table-head-cell-height: 44px;--f7-table-head-icon-size: 18px;--f7-table-body-cell-height: 44px;--f7-table-cell-padding-horizontal: 16px;--f7-table-edge-cell-padding-horizontal: 16px;--f7-table-label-cell-padding-horizontal: 16px;--f7-table-checkbox-cell-width: 22px;--f7-table-title-font-size: 17px;--f7-table-title-font-weight: 600;--f7-table-footer-height: 44px;--f7-table-head-text-color: rgba(0, 0, 0, .45);--f7-table-cell-border-color: rgba(0, 0, 0, .22);--f7-table-selected-row-bg-color: rgba(0, 0, 0, .03);--f7-table-footer-text-color: rgba(0, 0, 0, .45);--f7-table-input-text-color: #000}.ios .dark,.ios.dark{--f7-table-head-text-color: rgba(255, 255, 255, .55);--f7-table-cell-border-color: rgba(255, 255, 255, .15);--f7-table-footer-text-color: rgba(255, 255, 255, .55);--f7-table-selected-row-bg-color: rgba(255, 255, 255, .08)}.md{--f7-table-head-font-weight: 500;--f7-table-head-cell-height: 56px;--f7-table-head-icon-size: 16px;--f7-table-body-cell-height: 48px;--f7-table-cell-padding-horizontal: 28px;--f7-table-edge-cell-padding-horizontal: 24px;--f7-table-label-cell-padding-horizontal: 24px;--f7-table-checkbox-cell-width: 18px;--f7-table-title-font-size: 20px;--f7-table-title-font-weight: 400;--f7-table-footer-height: 56px;--f7-table-actions-cell-link-color: rgba(0, 0, 0, .54);--f7-table-actions-link-color: rgba(0, 0, 0, .54);--f7-table-input-text-color: #212121}.md .dark,.md.dark{--f7-table-actions-cell-link-color: rgba(255, 255, 255, .54);--f7-table-actions-link-color: rgba(255, 255, 255, .54)}.md,.md .dark,.md [class*=color-]{--f7-table-head-text-color: var(--f7-md-on-surface-variant);--f7-table-footer-text-color: var(--f7-md-on-surface-variant);--f7-table-selected-row-bg-color: var(--f7-md-secondary-container);--f7-table-cell-border-color: var(--f7-md-outline)}.data-table{overflow-x:auto}.data-table table,table.data-table{width:100%;border:none;padding:0;margin:0;border-collapse:collapse;text-align:left}.data-table thead th,.data-table thead td{font-size:var(--f7-table-head-font-size);font-weight:var(--f7-table-head-font-weight);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:16px;height:var(--f7-table-head-cell-height);background-color:var(--f7-table-head-bg-color)}.data-table thead th:not(.sortable-cell-active),.data-table thead td:not(.sortable-cell-active){color:var(--f7-table-head-text-color)}.data-table thead i.icon,.data-table thead i.f7-icons,.data-table thead i.material-icons{vertical-align:top;font-size:var(--f7-table-head-icon-size)}.data-table tbody{font-size:var(--f7-table-body-font-size)}.data-table tbody th,.data-table tbody td{height:var(--f7-table-body-cell-height)}.data-table tbody tr.data-table-row-selected,.device-desktop .data-table tbody tr:hover{background:var(--f7-table-selected-row-bg-color)}.data-table tbody td:before,.data-table tbody th:before{content:"";position:absolute;background-color:var(--f7-table-cell-border-color);display:block;z-index:15;top:0;right:auto;bottom:auto;left:0;height:1px;width:100%;transform-origin:50% 0%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.data-table th,.data-table td{--f7-table-cell-padding-left: var(--f7-table-cell-padding-horizontal);--f7-table-cell-padding-right: var(--f7-table-cell-padding-horizontal);padding-top:var(--f7-table-cell-padding-vertical);padding-bottom:var(--f7-table-cell-padding-vertical);padding-left:var(--f7-table-cell-padding-left);padding-right:var(--f7-table-cell-padding-right);position:relative;box-sizing:border-box}.data-table th:first-child,.data-table td:first-child{--f7-table-cell-padding-left: var(--f7-table-edge-cell-padding-horizontal)}.data-table th:last-child,.data-table td:last-child{--f7-table-cell-padding-right: var(--f7-table-edge-cell-padding-horizontal)}.data-table th.label-cell,.data-table td.label-cell{--f7-table-cell-padding-left: var(--f7-table-label-cell-padding-horizontal);--f7-table-cell-padding-right: var(--f7-table-label-cell-padding-horizontal)}.data-table th.numeric-cell,.data-table td.numeric-cell{text-align:right}.data-table th.checkbox-cell,.data-table td.checkbox-cell{overflow:visible;width:var(--f7-table-checkbox-cell-width)}.data-table th.checkbox-cell label+span,.data-table td.checkbox-cell label+span{margin-left:8px}.data-table th.checkbox-cell:first-child,.data-table td.checkbox-cell:first-child{padding-right:calc(var(--f7-table-cell-padding-right) / 2)}.data-table th.checkbox-cell:first-child+td,.data-table td.checkbox-cell:first-child+td,.data-table th.checkbox-cell:first-child+th,.data-table td.checkbox-cell:first-child+th{padding-left:calc(var(--f7-table-cell-padding-left) / 2)}.data-table th.checkbox-cell:last-child,.data-table td.checkbox-cell:last-child{padding-left:calc(var(--f7-table-cell-padding-left) / 2)}.data-table th.actions-cell,.data-table td.actions-cell{text-align:right;white-space:nowrap}.data-table th.actions-cell a.link,.data-table td.actions-cell a.link{color:var(--f7-table-actions-cell-link-color, var(--f7-theme-color))}.data-table th a.icon-only,.data-table td a.icon-only,.card .data-table th a.icon-only,.card .data-table td a.icon-only,.card.data-table th a.icon-only,.card.data-table td a.icon-only{display:inline-block;vertical-align:middle;text-align:center;font-size:0;min-width:0}.data-table th a.icon-only i,.data-table td a.icon-only i,.card .data-table th a.icon-only i,.card .data-table td a.icon-only i,.card.data-table th a.icon-only i,.card.data-table td a.icon-only i{font-size:var(--f7-table-link-icon-only-icon-size);vertical-align:middle}.data-table .sortable-cell:not(.input-cell){cursor:pointer;position:relative}.data-table .sortable-cell.input-cell .table-head-label{cursor:pointer;position:relative}.data-table .sortable-cell:not(.numeric-cell):not(.input-cell):after,.data-table .sortable-cell.numeric-cell:not(.input-cell):before,.data-table .sortable-cell:not(.numeric-cell).input-cell>.table-head-label:after,.data-table .sortable-cell.numeric-cell.input-cell>.table-head-label:before{content:"arrow_bottom_md";font-family:framework7-core-icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga";text-align:center;display:block;width:100%;height:100%;font-size:20px;display:inline-block;vertical-align:top;width:16px;height:16px;color:var(--f7-table-sortable-icon-color);font-size:13px;line-height:16px;transition-duration:.3s;transform:rotate(0);opacity:0}.device-desktop .data-table .sortable-cell:not(.sortable-cell-active):hover:after,.device-desktop .data-table .sortable-cell:not(.sortable-cell-active) .table-head-label:hover:after,.device-desktop .data-table .sortable-cell:not(.sortable-cell-active):hover:before,.device-desktop .data-table .sortable-cell:not(.sortable-cell-active) .table-head-label:hover:before{opacity:.54}.data-table .sortable-cell.sortable-cell-active:after,.data-table .sortable-cell.sortable-cell-active .table-head-label:after,.data-table .sortable-cell.sortable-cell-active:before,.data-table .sortable-cell.sortable-cell-active .table-head-label:before{opacity:.87!important}.data-table .sortable-cell.sortable-desc:after,.data-table .table-head-label:after,.data-table .sortable-cell.sortable-desc:before,.data-table .table-head-label:before{transform:rotate(180deg)!important}.data-table.card .card-header,.card .data-table .card-header,.data-table.card .card-footer,.card .data-table .card-footer{padding-left:var(--f7-table-edge-cell-padding-horizontal);padding-right:var(--f7-table-edge-cell-padding-horizontal)}.data-table.card .card-header,.card .data-table .card-header{min-height:var(--f7-table-card-header-height);background-color:var(--f7-table-card-header-bg-color)}.data-table.card .card-content,.card .data-table .card-content{overflow-x:auto}.data-table.card .card-footer,.card .data-table .card-footer{min-height:var(--f7-table-footer-height)}.data-table .data-table-title{font-size:var(--f7-table-title-font-size);font-weight:var(--f7-table-title-font-weight)}.data-table .data-table-links,.data-table .data-table-actions{display:flex}.data-table .data-table-links .button{min-width:64px}.data-table .data-table-actions{margin-left:auto;align-items:center}.data-table .data-table-actions a.link{color:var(--f7-table-actions-link-color, var(--f7-theme-color));min-width:0}.data-table .data-table-actions a.link.icon-only{line-height:1;justify-content:center;padding:0}.data-table .data-table-header,.data-table .data-table-header-selected{display:flex;justify-content:space-between;align-items:center;width:100%}.data-table .card-header>.data-table-header,.data-table .card-header>.data-table-header-selected{padding-top:var(--f7-card-header-padding-vertical);padding-bottom:var(--f7-card-header-padding-vertical);height:100%;margin-top:calc(-1 * var(--f7-card-header-padding-vertical));margin-bottom:calc(-1 * var(--f7-card-header-padding-vertical));min-height:var(--f7-table-card-header-height);padding-left:var(--f7-table-edge-cell-padding-horizontal);padding-right:var(--f7-table-edge-cell-padding-horizontal);margin-left:calc(-1 * var(--f7-table-edge-cell-padding-horizontal));margin-right:calc(-1 * var(--f7-table-edge-cell-padding-horizontal))}.data-table .data-table-header-selected{background:rgba(var(--f7-theme-color-rgb),.1);display:none}.data-table.data-table-has-checked .data-table-header{display:none}.data-table.data-table-has-checked .data-table-header-selected{display:flex}.data-table .data-table-title-selected{font-size:14px;color:var(--f7-theme-color)}.data-table .data-table-footer{display:flex;align-items:center;box-sizing:border-box;position:relative;font-size:var(--f7-table-footer-font-size);overflow:hidden;min-height:var(--f7-table-footer-height);color:var(--f7-table-footer-text-color);justify-content:flex-end}.data-table .data-table-footer:before{content:"";position:absolute;background-color:var(--f7-table-cell-border-color);display:block;z-index:15;top:0;right:auto;bottom:auto;left:0;height:1px;width:100%;transform-origin:50% 0%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.data-table .data-table-rows-select,.data-table .data-table-pagination{display:flex;align-items:center}.data-table .input-cell{padding-top:8px;padding-bottom:8px;height:auto;vertical-align:top}.data-table .input-cell .table-head-label+.input{margin-top:4px}.data-table .input-cell .input{height:var(--f7-table-input-height)}.data-table .input-cell .input input,.data-table .input-cell .input textarea,.data-table .input-cell .input select{height:var(--f7-table-input-height);color:var(--f7-table-input-text-color);font-size:var(--f7-table-input-font-size)}@media (max-width: 480px) and (orientation: portrait){.data-table.data-table-collapsible thead{display:none}.data-table.data-table-collapsible tbody,.data-table.data-table-collapsible tr,.data-table.data-table-collapsible td{display:block}.data-table.data-table-collapsible tr{position:relative}.data-table.data-table-collapsible tr:before{content:"";position:absolute;background-color:var(--f7-table-cell-border-color);display:block;z-index:15;top:0;right:auto;bottom:auto;left:0;height:1px;width:100%;transform-origin:50% 0%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.data-table.data-table-collapsible tr:hover{background-color:inherit}.data-table.data-table-collapsible td{--f7-table-cell-padding-left: var(--f7-table-collapsible-cell-padding);--f7-table-cell-padding-right: var(--f7-table-collapsible-cell-padding);height:auto;min-height:var(--f7-table-body-cell-height);display:flex;align-content:center;align-items:center;justify-content:flex-start;text-align:left}.data-table.data-table-collapsible td:before{display:none!important}.data-table.data-table-collapsible td:not(.checkbox-cell):before{width:40%;display:block!important;content:attr(data-collapsible-title);position:relative;height:auto;background:none!important;transform:none!important;font-size:var(--f7-table-head-font-size);font-weight:var(--f7-table-head-font-weight);color:var(--f7-table-head-text-color);margin-right:16px;flex-shrink:0}.data-table.data-table-collapsible td.checkbox-cell{position:absolute;top:0;left:0}.data-table.data-table-collapsible td.checkbox-cell+td{padding-left:16px}.data-table.data-table-collapsible td.checkbox-cell~td{margin-left:32px}}.data-table .xsmall-only,.data-table .xsmall-landscape-only{display:none}@media (min-width: 480px){.data-table .xsmall-only{display:table-cell}}@media (min-width: 480px) and (orientation: landscape){.data-table .xsmall-landscape-only{display:table-cell}}.data-table .small-only,.data-table .small-landscape-only{display:none}@media (min-width: 568px){.data-table .small-only{display:table-cell}}@media (min-width: 568px) and (orientation: landscape){.data-table .small-landscape-only{display:table-cell}}.data-table .medium-only,.data-table .medium-landscape-only{display:none}@media (min-width: 768px){.data-table .medium-only{display:table-cell}}@media (min-width: 768px) and (orientation: landscape){.data-table .medium-landscape-only{display:table-cell}}.data-table .large-only,.data-table .large-landscape-only{display:none}@media (min-width: 1024px){.data-table .large-only{display:table-cell}}@media (min-width: 1024px) and (orientation: landscape){.data-table .large-landscape-only{display:table-cell}}.data-table .xlarge-only,.data-table .xlarge-landscape-only{display:none}@media (min-width: 1200px){.data-table .xlarge-only{display:table-cell}}@media (min-width: 1200px) and (orientation: landscape){.data-table .xlarge-landscape-only{display:table-cell}}.ios .data-table th.actions-cell a.link+a.link,.ios .data-table td.actions-cell a.link+a.link{margin-left:16px}.ios .sortable-cell:not(.numeric-cell):after{margin-left:5px}.ios .sortable-cell.numeric-cell:before{margin-right:5px}.ios .data-table-links a.link+a.link,.ios .data-table-actions a.link+a.link,.ios .data-table-links .button+.button,.ios .data-table-actions .button+.button{margin-left:16px}.ios .data-table-actions a.link.icon-only,.ios .data-table-rows-select a.link,.ios .data-table-pagination a.link{width:44px;height:44px}.ios .data-table-rows-select+.data-table-pagination{margin-left:30px}.ios .data-table-rows-select .input{margin-left:20px}.ios .data-table-pagination-label{margin-right:16px}.md .data-table th.actions-cell a.link+a.link,.md .data-table td.actions-cell a.link+a.link{margin-left:24px}.md .data-table th.actions-cell a.icon-only,.md .data-table td.actions-cell a.icon-only{width:24px;height:24px;line-height:24px}.md .sortable-cell:not(.numeric-cell):after{margin-left:8px}.md .sortable-cell.numeric-cell:before{margin-right:8px}.md .data-table-links a.link+a.link,.md .data-table-actions a.link+a.link,.md .data-table-links .button+.button,.md .data-table-actions .button+.button{margin-left:24px}.md .data-table-actions a.link.icon-only{width:24px;height:24px;overflow:visible}.md .data-table-actions a.link.icon-only.active-state{background:none}.md .data-table-rows-select a.link,.md .data-table-pagination a.link{width:48px;height:48px}.md .data-table-rows-select+.data-table-pagination{margin-left:32px}.md .data-table-rows-select .input{margin-left:24px}.md .data-table-pagination-label{margin-right:20px}.md .input-cell .input-clear-button{transform:scale(.8)}:root{--f7-fab-margin: 16px;--f7-fab-extended-text-font-size: 14px;--f7-fab-label-padding: 4px 12px;--f7-fab-label-font-size: inherit;--f7-fab-button-size: 40px}.ios{--f7-fab-text-color: #fff;--f7-fab-border-radius: 50px;--f7-fab-size: 50px;--f7-fab-box-shadow: 0px 2px 4px rgba(0, 0, 0, .4);--f7-fab-extended-text-transform: uppercase;--f7-fab-extended-size: 50px;--f7-fab-extended-text-padding: 0 20px;--f7-fab-extended-text-font-weight: 600;--f7-fab-extended-text-letter-spacing: 0;--f7-fab-label-border-radius: 4px;--f7-fab-label-box-shadow: 0px 1px 2px rgba(0, 0, 0, .4);--f7-fab-label-text-color: #333;--f7-fab-label-bg-color: #fff}.md{--f7-fab-border-radius: 16px;--f7-fab-size: 56px;--f7-fab-box-shadow: 0px 1px 2px rgba(0, 0, 0, .25);--f7-fab-extended-size: 56px;--f7-fab-extended-text-padding: 0 16px;--f7-fab-extended-text-font-weight: 500;--f7-fab-extended-text-letter-spacing: 0;--f7-fab-extended-text-transform: none;--f7-fab-label-border-radius: 8px;--f7-fab-label-box-shadow: 0px 1px 2px rgba(0, 0, 0, .25)}.md,.md .dark,.md [class*=color-]{--f7-fab-bg-color: var(--f7-md-primary-container);--f7-fab-text-color: var(--f7-md-on-primary-container);--f7-fab-label-text-color: var(--f7-md-on-surface);--f7-fab-label-bg-color: var(--f7-md-surface-5)}.fab-backdrop{z-index:1400}.fab{position:absolute;z-index:1500}.fab a{--f7-touch-ripple-color: var(--f7-touch-ripple-white)}.fab-left-top,.fab-left-center,.fab-left-bottom{left:calc(var(--f7-fab-margin) + var(--f7-safe-area-left))}.fab-right-top,.fab-right-center,.fab-right-bottom{right:calc(var(--f7-fab-margin) + var(--f7-safe-area-right))}.fab-left-top,.fab-center-top,.fab-right-top{top:var(--f7-fab-margin)}.fab-left-bottom,.fab-center-bottom,.fab-right-bottom{bottom:calc(var(--f7-fab-margin) + var(--f7-safe-area-bottom))}.fab-center-top,.fab-center-center,.fab-center-bottom{left:50%;transform:translate(-50%)}.fab-left-center,.fab-center-center,.fab-right-center{top:50%;transform:translateY(-50%)}.fab-center-center{top:50%;left:50%;transform:translate(-50%) translateY(-50%)}.fab>a,.fab-buttons a{background-color:var(--f7-fab-bg-color, var(--f7-theme-color));width:var(--f7-fab-size);height:var(--f7-fab-size);box-shadow:var(--f7-fab-box-shadow);border-radius:var(--f7-fab-border-radius);position:relative;transition-duration:.3s;display:flex;align-items:center;justify-content:center;overflow:hidden;z-index:1;color:var(--f7-fab-text-color)}.fab>a i{position:absolute;left:50%;top:50%;transform:translate3d(-50%,-50%,0) rotate(0) scale(1);transition:.3s}.fab>a i+i{transform:translate3d(-50%,-50%,0) rotate(-90deg) scale(.5);opacity:0}.fab-buttons a{border-radius:var(--f7-fab-border-radius);width:var(--f7-fab-button-size);height:var(--f7-fab-button-size)}.fab-buttons{display:flex;visibility:hidden;pointer-events:none;position:absolute}.fab-buttons a{opacity:0}.fab-opened:not(.fab-morph)>a i{transform:translate3d(-50%,-50%,0) rotate(90deg) scale(.5);opacity:0}.fab-opened:not(.fab-morph)>a i+i{transform:translate3d(-50%,-50%,0) rotate(0) scale(1);opacity:1}.fab-opened .fab-buttons{visibility:visible;pointer-events:auto}.fab-opened .fab-buttons a{opacity:1;transform:translateZ(0) scale(1)!important}.fab-opened .fab-buttons a:nth-child(2){transition-delay:50ms}.fab-opened .fab-buttons a:nth-child(3){transition-delay:.1s}.fab-opened .fab-buttons a:nth-child(4){transition-delay:.15s}.fab-opened .fab-buttons a:nth-child(5){transition-delay:.2s}.fab-opened .fab-buttons a:nth-child(6){transition-delay:.25s}.fab-buttons-top,.fab-buttons-bottom{left:50%;width:var(--f7-fab-button-size);margin-left:calc(-1 * var(--f7-fab-button-size) / 2)}.fab-buttons-top{bottom:100%;margin-bottom:16px;flex-direction:column-reverse}.fab-buttons-top a{transform:translate3d(0,8px,0) scale(.3);transform-origin:center bottom}.fab-buttons-top a+a{margin-bottom:16px}.fab-buttons-bottom{top:100%;margin-top:16px;flex-direction:column}.fab-buttons-bottom a{transform:translate3d(0,-8px,0) scale(.3);transform-origin:center top}.fab-buttons-bottom a+a{margin-top:16px}.fab-buttons-left,.fab-buttons-right{top:50%;height:var(--f7-fab-button-size);margin-top:calc(-1 * var(--f7-fab-button-size) / 2)}.fab-buttons-left{right:100%;margin-right:16px;flex-direction:row-reverse}.fab-buttons-left a{transform:translate3d(8px,0,0) scale(.3);transform-origin:right center}.fab-buttons-left a+a{margin-right:16px}.fab-buttons-right{left:100%;margin-left:16px}.fab-buttons-right a{transform:translate3d(-8px,0,0) scale(.3);transform-origin:left center}.fab-buttons-right a+a{margin-left:16px}.fab-buttons-center{left:0%;top:0%;width:100%;height:100%}.fab-buttons-center a{position:absolute}.fab-buttons-center a:nth-child(1){left:50%;margin-left:calc(-1 * var(--f7-fab-button-size) / 2);bottom:100%;margin-bottom:16px;transform:translateY(-8px) scale(.3);transform-origin:center bottom}.fab-buttons-center a:nth-child(2){left:100%;margin-top:calc(-1 * var(--f7-fab-button-size) / 2);top:50%;margin-left:16px;transform:translate(-8px) scale(.3);transform-origin:left center}.fab-buttons-center a:nth-child(3){left:50%;margin-left:calc(-1 * var(--f7-fab-button-size) / 2);top:100%;margin-top:16px;transform:translateY(8px) scale(.3);transform-origin:center top}.fab-buttons-center a:nth-child(4){right:100%;margin-top:calc(-1 * var(--f7-fab-button-size) / 2);top:50%;margin-right:16px;transform:translate(8px) scale(.3);transform-origin:right center}.fab-morph{border-radius:var(--f7-fab-border-radius);background:var(--f7-fab-bg-color, var(--f7-theme-color));box-shadow:var(--f7-fab-box-shadow)}.fab-morph>a{box-shadow:none;background:none!important}.fab-opened.fab-morph>a i{opacity:0}.fab-morph,.fab-morph>a,.fab-morph-target{transition-duration:.25s}.fab-morph-target:not(.fab-morph-target-visible){display:none}.fab-extended{width:auto;min-width:var(--f7-fab-extended-size)}.fab-extended>a{width:100%;height:var(--f7-fab-extended-size)}.fab-extended>a i{left:calc(var(--f7-fab-extended-size) / 2)}.fab-extended i~.fab-text{padding-left:var(--f7-fab-extended-size)}.fab-extended>a{width:100%!important}.fab-text{box-sizing:border-box;font-size:var(--f7-fab-extended-text-font-size);padding:var(--f7-fab-extended-text-padding);font-weight:var(--f7-fab-extended-text-font-weight);letter-spacing:var(--f7-fab-extended-text-letter-spacing);text-transform:var(--f7-fab-extended-text-transform)}.fab-label-button{overflow:visible!important}.fab-label{position:absolute;top:50%;padding:var(--f7-fab-label-padding);border-radius:var(--f7-fab-label-border-radius);background:var(--f7-fab-label-bg-color);color:var(--f7-fab-label-text-color);box-shadow:var(--f7-fab-label-box-shadow);white-space:nowrap;transform:translateY(-50%);pointer-events:none;font-size:var(--f7-fab-label-font-size)}.fab-right-top .fab-label,.fab-right-center .fab-label,.fab-right-bottom .fab-label{right:100%;margin-right:8px}.fab-left-top .fab-label,.fab-left-center .fab-label,.fab-left-bottom .fab-label{left:100%;margin-left:8px}.navbar~* .fab-left-top,.navbar~* .fab-center-top,.navbar~* .fab-right-top,.navbar~.fab-left-top,.navbar~.fab-center-top,.navbar~.fab-right-top,.navbars~* .fab-left-top,.navbars~* .fab-center-top,.navbars~* .fab-right-top,.navbars~.fab-left-top,.navbars~.fab-center-top,.navbars~.fab-right-top{margin-top:calc(var(--f7-navbar-height) + var(--f7-safe-area-top))}.toolbar-top~* .fab-left-top,.toolbar-top~* .fab-center-top,.toolbar-top~* .fab-right-top,.toolbar-top~.fab-left-top,.toolbar-top~.fab-center-top,.toolbar-top~.fab-right-top,.ios .toolbar-top-ios~* .fab-left-top,.ios .toolbar-top-ios~* .fab-center-top,.ios .toolbar-top-ios~* .fab-right-top,.ios .toolbar-top-ios~.fab-left-top,.ios .toolbar-top-ios~.fab-center-top,.ios .toolbar-top-ios~.fab-right-top,.md .toolbar-top-md~* .fab-left-top,.md .toolbar-top-md~* .fab-center-top,.md .toolbar-top-md~* .fab-right-top,.md .toolbar-top-md~.fab-left-top,.md .toolbar-top-md~.fab-center-top,.md .toolbar-top-md~.fab-right-top{margin-top:var(--f7-toolbar-height)}.toolbar-bottom~* .fab-left-bottom,.toolbar-bottom~* .fab-center-bottom,.toolbar-bottom~* .fab-right-bottom,.toolbar-bottom~.fab-left-bottom,.toolbar-bottom~.fab-center-bottom,.toolbar-bottom~.fab-right-bottom,.ios .toolbar-bottom-ios~* .fab-left-bottom,.ios .toolbar-bottom-ios~* .fab-center-bottom,.ios .toolbar-bottom-ios~* .fab-right-bottom,.ios .toolbar-bottom-ios~.fab-left-bottom,.ios .toolbar-bottom-ios~.fab-center-bottom,.ios .toolbar-bottom-ios~.fab-right-bottom,.md .toolbar-bottom-md~* .fab-left-bottom,.md .toolbar-bottom-md~* .fab-center-bottom,.md .toolbar-bottom-md~* .fab-right-bottom,.md .toolbar-bottom-md~.fab-left-bottom,.md .toolbar-bottom-md~.fab-center-bottom,.md .toolbar-bottom-md~.fab-right-bottom{margin-bottom:var(--f7-toolbar-height)}.tabbar-icons.toolbar-bottom~* .fab-left-bottom,.tabbar-icons.toolbar-bottom~* .fab-center-bottom,.tabbar-icons.toolbar-bottom~* .fab-right-bottom,.tabbar-icons.toolbar-bottom~.fab-left-bottom,.tabbar-icons.toolbar-bottom~.fab-center-bottom,.tabbar-icons.toolbar-bottom~.fab-right-bottom,.ios .tabbar-icons.toolbar-bottom-ios~* .fab-left-bottom,.ios .tabbar-icons.toolbar-bottom-ios~* .fab-center-bottom,.ios .tabbar-icons.toolbar-bottom-ios~* .fab-right-bottom,.ios .tabbar-icons.toolbar-bottom-ios~.fab-left-bottom,.ios .tabbar-icons.toolbar-bottom-ios~.fab-center-bottom,.ios .tabbar-icons.toolbar-bottom-ios~.fab-right-bottom,.md .tabbar-icons.toolbar-bottom-md~* .fab-left-bottom,.md .tabbar-icons.toolbar-bottom-md~* .fab-center-bottom,.md .tabbar-icons.toolbar-bottom-md~* .fab-right-bottom,.md .tabbar-icons.toolbar-bottom-md~.fab-left-bottom,.md .tabbar-icons.toolbar-bottom-md~.fab-center-bottom,.md .tabbar-icons.toolbar-bottom-md~.fab-right-bottom{margin-bottom:var(--f7-tabbar-icons-height)}.tabbar-icons.toolbar-top~* .fab-left-bottom,.tabbar-icons.toolbar-top~* .fab-center-bottom,.tabbar-icons.toolbar-top~* .fab-right-bottom,.tabbar-icons.toolbar-top~.fab-left-bottom,.tabbar-icons.toolbar-top~.fab-center-bottom,.tabbar-icons.toolbar-top~.fab-right-bottom,.ios .tabbar-icons.toolbar-top-ios~* .fab-left-bottom,.ios .tabbar-icons.toolbar-top-ios~* .fab-center-bottom,.ios .tabbar-icons.toolbar-top-ios~* .fab-right-bottom,.ios .tabbar-icons.toolbar-top-ios~.fab-left-bottom,.ios .tabbar-icons.toolbar-top-ios~.fab-center-bottom,.ios .tabbar-icons.toolbar-top-ios~.fab-right-bottom,.md .tabbar-icons.toolbar-top-md~* .fab-left-bottom,.md .tabbar-icons.toolbar-top-md~* .fab-center-bottom,.md .tabbar-icons.toolbar-top-md~* .fab-right-bottom,.md .tabbar-icons.toolbar-top-md~.fab-left-bottom,.md .tabbar-icons.toolbar-top-md~.fab-center-bottom,.md .tabbar-icons.toolbar-top-md~.fab-right-bottom{margin-top:var(--f7-tabbar-icons-height)}.messagebar~* .fab-left-bottom,.messagebar~* .fab-center-bottom,.messagebar~* .fab-right-bottom,.messagebar~.fab-left-bottom,.messagebar~.fab-center-bottom,.messagebar~.fab-right-bottom{margin-bottom:var(--f7-messagebar-height)}.navbar+.toolbar-top~* .fab-left-top,.ios .navbar+.toolbar-top-ios~* .fab-left-top,.md .navbar+.toolbar-top-ios~* .fab-left-top,.navbar+.toolbar-top~* .fab-center-top,.ios .navbar+.toolbar-top-ios~* .fab-center-top,.md .navbar+.toolbar-top-ios~* .fab-center-top,.navbar+.toolbar-top~* .fab-right-top,.ios .navbar+.toolbar-top-ios~* .fab-right-top,.md .navbar+.toolbar-top-ios~* .fab-right-top,.navbar+.toolbar-top~.fab-left-top,.ios .navbar+.toolbar-top-ios~.fab-left-top,.md .navbar+.toolbar-top-ios~.fab-left-top,.navbar+.toolbar-top~.fab-center-top,.ios .navbar+.toolbar-top-ios~.fab-center-top,.md .navbar+.toolbar-top-ios~.fab-center-top,.navbar+.toolbar-top~.fab-right-top,.ios .navbar+.toolbar-top-ios~.fab-right-top,.md .navbar+.toolbar-top-ios~.fab-right-top{margin-top:calc(var(--f7-toolbar-height) + var(--f7-navbar-height) + var(--f7-safe-area-top))}.navbar+.toolbar-top.tabbar-icons~* .fab-left-top,.ios .navbar+.toolbar-top-ios.tabbar-icons~* .fab-left-top,.md .navbar+.toolbar-top-ios.tabbar-icons~* .fab-left-top,.navbar+.toolbar-top.tabbar-icons~* .fab-center-top,.ios .navbar+.toolbar-top-ios.tabbar-icons~* .fab-center-top,.md .navbar+.toolbar-top-ios.tabbar-icons~* .fab-center-top,.navbar+.toolbar-top.tabbar-icons~* .fab-right-top,.ios .navbar+.toolbar-top-ios.tabbar-icons~* .fab-right-top,.md .navbar+.toolbar-top-ios.tabbar-icons~* .fab-right-top,.navbar+.toolbar-top.tabbar-icons~.fab-left-top,.ios .navbar+.toolbar-top-ios.tabbar-icons~.fab-left-top,.md .navbar+.toolbar-top-ios.tabbar-icons~.fab-left-top,.navbar+.toolbar-top.tabbar-icons~.fab-center-top,.ios .navbar+.toolbar-top-ios.tabbar-icons~.fab-center-top,.md .navbar+.toolbar-top-ios.tabbar-icons~.fab-center-top,.navbar+.toolbar-top.tabbar-icons~.fab-right-top,.ios .navbar+.toolbar-top-ios.tabbar-icons~.fab-right-top,.md .navbar+.toolbar-top-ios.tabbar-icons~.fab-right-top{margin-top:calc(var(--f7-tabbar-icons-height) + var(--f7-navbar-height) + var(--f7-safe-area-top))}.navbars+.toolbar-top~* .fab-left-top,.ios .navbars+.toolbar-top-ios~* .fab-left-top,.navbars+.toolbar-top~* .fab-center-top,.ios .navbars+.toolbar-top-ios~* .fab-center-top,.navbars+.toolbar-top~* .fab-right-top,.ios .navbars+.toolbar-top-ios~* .fab-right-top,.navbars+.toolbar-top~.fab-left-top,.ios .navbars+.toolbar-top-ios~.fab-left-top,.navbars+.toolbar-top~.fab-center-top,.ios .navbars+.toolbar-top-ios~.fab-center-top,.navbars+.toolbar-top~.fab-right-top,.ios .navbars+.toolbar-top-ios~.fab-right-top{margin-top:calc(var(--f7-toolbar-height) + var(--f7-navbar-height) + var(--f7-safe-area-top))}.navbars+.toolbar-top.tabbar-icons~* .fab-left-top,.ios .navbars+.toolbar-top-ios.tabbar-icons~* .fab-left-top,.navbars+.toolbar-top.tabbar-icons~* .fab-center-top,.ios .navbars+.toolbar-top-ios.tabbar-icons~* .fab-center-top,.navbars+.toolbar-top.tabbar-icons~* .fab-right-top,.ios .navbars+.toolbar-top-ios.tabbar-icons~* .fab-right-top,.navbars+.toolbar-top.tabbar-icons~.fab-left-top,.ios .navbars+.toolbar-top-ios.tabbar-icons~.fab-left-top,.navbars+.toolbar-top.tabbar-icons~.fab-center-top,.ios .navbars+.toolbar-top-ios.tabbar-icons~.fab-center-top,.navbars+.toolbar-top.tabbar-icons~.fab-right-top,.ios .navbars+.toolbar-top-ios.tabbar-icons~.fab-right-top{margin-top:calc(var(--f7-tabbar-icons-height) + var(--f7-navbar-height) + var(--f7-safe-area-top))}.ios .fab>a.active-state,.ios .fab-buttons a.active-state{transition-duration:0ms;background-color:var(--f7-fab-pressed-bg-color, var(--f7-theme-color-shade))}.md .fab>a.active-state,.md .fab-buttons a.active-state{background-color:var(--f7-fab-pressed-bg-color, var(--f7-fab-bg-color, var(--f7-theme-color)))}:root{--f7-searchbar-input-border-width: 0px;--f7-searchbar-input-border-color: transparent}.ios{--f7-searchbar-height: 44px;--f7-searchbar-inner-padding-left: 8px;--f7-searchbar-inner-padding-right: 8px;--f7-searchbar-input-font-size: 17px;--f7-searchbar-input-border-radius: 8px;--f7-searchbar-input-height: 32px;--f7-searchbar-inline-input-height: 32px;--f7-searchbar-input-padding-horizontal: 28px;--f7-searchbar-backdrop-bg-color: rgba(0, 0, 0, .4);--f7-searchbar-in-page-content-margin: 0px;--f7-searchbar-in-page-content-box-shadow: none;--f7-searchbar-in-page-content-border-radius: 0;--f7-searchbar-in-page-content-input-border-radius: 0;--f7-searchbar-placeholder-color: rgba(0, 0, 0, .4);--f7-searchbar-input-text-color: #000;--f7-searchbar-search-icon-color: rgba(0, 0, 0, .4);--f7-searchbar-input-bg-color: #e4e4e4}.ios .dark,.ios.dark{--f7-searchbar-placeholder-color: rgba(255, 255, 255, .4);--f7-searchbar-input-text-color: #fff;--f7-searchbar-search-icon-color: rgba(255, 255, 255, .4);--f7-searchbar-input-bg-color: #2a2a2a}.md{--f7-searchbar-border-color: transparent;--f7-searchbar-height: 48px;--f7-searchbar-inner-padding-left: 8px;--f7-searchbar-inner-padding-right: 8px;--f7-searchbar-input-font-size: 16px;--f7-searchbar-input-border-radius: 24px;--f7-searchbar-input-height: 48px;--f7-searchbar-inline-input-height: 48px;--f7-searchbar-inline-input-border-radius: 24px;--f7-searchbar-input-padding-horizontal: 16px;--f7-searchbar-inline-input-padding-horizontal: 16px;--f7-searchbar-backdrop-bg-color: rgba(0, 0, 0, .25);--f7-searchbar-in-page-content-margin: 16px 0;--f7-searchbar-in-page-content-box-shadow: none;--f7-searchbar-in-page-content-border-radius: 24px;--f7-searchbar-in-page-content-input-border-radius: 24px;--f7-searchbar-bg-color: transparent}.md,.md .dark,.md [class*=color-]{--f7-searchbar-link-color: var(--f7-md-on-surface);--f7-searchbar-search-icon-color: var(--f7-md-on-surface);--f7-searchbar-input-clear-button-color: var(--f7-md-on-surface);--f7-searchbar-placeholder-color: var(--f7-md-on-surface-variant);--f7-searchbar-input-bg-color: var(--f7-md-secondary-container);--f7-searchbar-input-text-color: var(--f7-md-on-surface)}.searchbar{--f7-link-highlight-color: var(--f7-link-highlight-black);width:100%;position:relative;z-index:200;height:var(--f7-searchbar-height);background-color:var(--f7-searchbar-bg-color, var(--f7-bars-bg-color))}.dark .searchbar{--f7-link-highlight-color: var(--f7-link-highlight-white)}.searchbar input[type=search]::-webkit-search-decoration{display:none}@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))){.ios-translucent-bars .searchbar{background-color:rgba(var(--f7-searchbar-bg-color-rgb, var(--f7-bars-bg-color-rgb)),var(--f7-bars-translucent-opacity));-webkit-backdrop-filter:saturate(180%) blur(var(--f7-bars-translucent-blur));backdrop-filter:saturate(180%) blur(var(--f7-bars-translucent-blur))}}.ios .subnavbar .searchbar{background-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.ios .subnavbar .searchbar:after{display:none!important}.searchbar.no-outline:after{display:none!important}.searchbar:after{content:"";position:absolute;background-color:var(--f7-searchbar-border-color, var(--f7-bars-border-color));display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.page>.searchbar:not(.searchbar-inline){z-index:600}.searchbar input[type=text],.searchbar input[type=search]{box-sizing:border-box;width:100%;height:100%;display:block;border:var(--f7-searchbar-input-border-width) solid var(--f7-searchbar-input-border-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;font-weight:400;color:var(--f7-searchbar-input-text-color);font-size:var(--f7-searchbar-input-font-size);background-color:var(--f7-searchbar-input-bg-color);border-radius:var(--f7-searchbar-input-border-radius);position:relative;padding:0;padding-left:calc(var(--f7-searchbar-input-padding-horizontal) + var(--f7-searchbar-input-extra-padding-left, 0px));padding-right:calc(var(--f7-searchbar-input-padding-horizontal) + var(--f7-searchbar-input-extra-padding-right, 0px))}.searchbar input[type=text]::placeholder,.searchbar input[type=search]::placeholder{color:var(--f7-searchbar-placeholder-color);opacity:1}.searchbar input::-webkit-search-cancel-button{-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar .searchbar-input-wrap{flex-shrink:1;width:100%;height:var(--f7-searchbar-input-height);position:relative}.searchbar a{color:var(--f7-searchbar-link-color, var(--f7-bars-link-color, var(--f7-theme-color)))}.page>.searchbar:not(.searchbar-inline){position:absolute;left:0;top:0}.page-content .searchbar:not(.searchbar-inline){border-radius:var(--f7-searchbar-in-page-content-border-radius);margin:var(--f7-searchbar-in-page-content-margin);width:auto;box-shadow:var(--f7-searchbar-in-page-content-box-shadow)}.page-content .searchbar:not(.searchbar-inline) .searchbar-inner,.page-content .searchbar:not(.searchbar-inline) input[type=text],.page-content .searchbar:not(.searchbar-inline) input[type=search]{border-radius:var(--f7-searchbar-in-page-content-input-border-radius, var(--f7-searchbar-input-border-radius))}.searchbar .input-clear-button{color:var(--f7-searchbar-input-clear-button-color, var(--f7-input-clear-button-color))}.searchbar-expandable{--f7-searchbar-expandable-size: var(--f7-searchbar-height);position:absolute;transition-duration:.3s;pointer-events:none}.navbar .searchbar-expandable{background:transparent}.navbar .searchbar-expandable:after{display:none!important}.navbar .searchbar.searchbar-expandable{--f7-searchbar-expandable-size: calc(var(--f7-navbar-height) + var(--f7-safe-area-top))}.navbar .searchbar.searchbar-expandable .searchbar-inner{top:var(--f7-safe-area-top);height:calc(100% - var(--f7-safe-area-top))}.toolbar .searchbar.searchbar-expandable{--f7-searchbar-expandable-size: var(--f7-toolbar-height)}.subnavbar .searchbar.searchbar-expandable{--f7-searchbar-expandable-size: var(--f7-subnavbar-height)}.tabbar-icons .searchbar.searchbar-expandable{--f7-searchbar-expandable-size: var(--f7-tabbar-icons-height)}.searchbar-inner{position:absolute;left:0;top:0;width:100%;height:100%;display:flex;align-items:center;box-sizing:border-box;padding:0 calc(var(--f7-searchbar-inner-padding-right) + var(--f7-safe-area-right)) 0 calc(var(--f7-searchbar-inner-padding-left) + var(--f7-safe-area-left))}.searchbar-disable-button{cursor:pointer;pointer-events:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;outline:0;padding:0;margin:0;width:auto;opacity:0}.searchbar-icon{pointer-events:none;background-position:center;background-repeat:no-repeat}.searchbar-icon:after{color:var(--f7-searchbar-search-icon-color);font-family:framework7-core-icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga";text-align:center;display:block;width:100%;height:100%;font-size:20px}.searchbar-backdrop{position:absolute;left:0;top:0;width:100%;height:100%;z-index:100;opacity:0;pointer-events:none;transition-duration:.3s;transform:translateZ(0);background:var(--f7-searchbar-backdrop-bg-color)}.searchbar-backdrop.searchbar-backdrop-in{opacity:1;pointer-events:auto}.page-content>.searchbar-backdrop{position:fixed}.searchbar-not-found{display:none}.hidden-by-searchbar,.list .hidden-by-searchbar,.list.li.hidden-by-searchbar,.list li.hidden-by-searchbar{display:none!important}.navbar.with-searchbar-expandable-enabled-no-transition,.navbar.with-searchbar-expandable-enabled{--f7-navbar-large-collapse-progress: 1}.navbar.with-searchbar-expandable-enabled .navbar-bg,.navbar.with-searchbar-expandable-enabled .title-large,.navbar.with-searchbar-expandable-enabled .title-large-text,.navbar.with-searchbar-expandable-closing .navbar-bg,.navbar.with-searchbar-expandable-closing .title-large,.navbar.with-searchbar-expandable-closing .title-large-text{transition-duration:.3s}.page-content.with-searchbar-expandable-enabled{height:calc(100% + var(--f7-navbar-large-title-height));transform:translateY(calc(-1 * var(--f7-navbar-large-title-height)));transition-duration:.3s;transition-property:transform}.page-content.with-searchbar-expandable-closing{transition-duration:.3s}.navbar~.page:not(.no-navbar)>.searchbar,.navbars~.page:not(.no-navbar)>.searchbar,.page>.navbar~.searchbar{top:calc(var(--f7-navbar-height) + var(--f7-safe-area-top))}.navbar~.page-with-navbar-large:not(.no-navbar) .searchbar,.navbars~.page-with-navbar-large:not(.no-navbar) .searchbar,.page-with-navbar-large .navbar~.searchbar,.page-with-navbar-large .navbar~* .searchbar{top:calc(var(--f7-navbar-height) + var(--f7-navbar-large-title-height) + var(--f7-safe-area-top));transform:translate3d(0,calc(-1 * var(--f7-navbar-large-collapse-progress) * var(--f7-navbar-large-title-height)),0)}.navbars~.page-with-navbar-large:not(.no-navbar) .page-content .searchbar,.page-with-navbar-large .page-content .searchbar{top:0;transform:none}.searchbar~*{--f7-page-searchbar-offset: var(--f7-searchbar-height)}.page>.toolbar-top~.searchbar,.ios .page>.toolbar-top-ios~.searchbar,.md .page>.toolbar-top-md~.searchbar{top:var(--f7-toolbar-height)}.page>.tabbar-icons.toolbar-top~.searchbar,.ios .page>.tabbar-icons.toolbar-top-ios~.searchbar,.md .page>.tabbar-icons.toolbar-top-md~.searchbar{top:var(--f7-tabbar-icons-height)}.page>.navbar~.toolbar-top~.searchbar,.ios .page>.navbar~.toolbar-top-ios~.searchbar,.md .page>.navbar~.toolbar-top-md~.searchbar{top:calc(var(--f7-navbar-height) + var(--f7-toolbar-height) + var(--f7-safe-area-top))}.page>.navbar~.tabbar-icons.toolbar-top~.searchbar,.ios .page>.navbar~.tabbar-icons.toolbar-top-ios~.searchbar,.md .page>.navbar~.tabbar-icons.toolbar-top-md~.searchbar{top:calc(var(--f7-navbar-height) + var(--f7-tabbar-icons-height) + var(--f7-safe-area-top))}.searchbar.searchbar-inline{width:auto;height:auto;background-color:transparent;background-image:none}.searchbar.searchbar-inline:after,.searchbar.searchbar-inline:before{display:none!important}.searchbar.searchbar-inline .searchbar-input-wrap{height:var(--f7-searchbar-inline-input-height, var(--f7-searchbar-input-height))}.searchbar.searchbar-inline .searchbar-inner{padding:0;position:static;width:auto;height:auto}.searchbar.searchbar-inline input[type=text],.searchbar.searchbar-inline input[type=search]{font-size:var(--f7-searchbar-inline-input-font-size, var(--f7-searchbar-input-font-size));border-radius:var(--f7-searchbar-inline-input-border-radius, var(--f7-searchbar-input-border-radius));padding-left:calc(var(--f7-searchbar-inline-input-padding-horizontal, var(--f7-searchbar-input-padding-horizontal)) + var(--f7-searchbar-input-extra-padding-left, 0px));padding-right:calc(var(--f7-searchbar-inline-input-padding-horizontal, var(--f7-searchbar-input-padding-horizontal)) + var(--f7-searchbar-input-extra-padding-right, 0px))}.ios .searchbar input[type=search],.ios .searchbar input[type=text]{z-index:30}.ios .searchbar .input-clear-button{z-index:40;right:7px}.ios .searchbar-icon{width:13px;height:13px;position:absolute;top:50%;margin-top:-6px;z-index:40;left:8px}.ios .searchbar-icon:after{content:"search_ios";line-height:13px}.ios .searchbar-disable-button{font-size:17px;flex-shrink:0;transform:translateZ(0);transition-duration:.3s;color:var(--f7-searchbar-link-color, var(--f7-bars-link-color, var(--f7-theme-color)));display:none}.ios .searchbar-disable-button.active-state{transition-duration:0ms;opacity:.3!important}.ios .searchbar-enabled .searchbar-disable-button{pointer-events:auto;opacity:1;margin-left:8px}.ios .searchbar:not(.searchbar-enabled) .searchbar-disable-button{transition-duration:.3s!important}.ios .searchbar-expandable{left:0;bottom:0;opacity:1;width:100%;height:0%;transform:translateZ(0);overflow:hidden}.ios .searchbar-expandable .searchbar-disable-button{margin-left:8px;opacity:1;display:block}.ios .searchbar-expandable .searchbar-inner{height:var(--f7-searchbar-expandable-size)}.ios .navbar.with-searchbar-expandable-enabled .navbar-bg,.ios .navbar.with-searchbar-expandable-closing .navbar-bg{transition-property:transform,opacity}.ios .navbar.with-searchbar-expandable-enabled .navbar-bg,.ios .navbar.with-searchbar-expandable-closing .navbar-bg,.ios .navbar.with-searchbar-expandable-enabled .left,.ios .navbar.with-searchbar-expandable-closing .left,.ios .navbar.with-searchbar-expandable-enabled .title,.ios .navbar.with-searchbar-expandable-closing .title,.ios .navbar.with-searchbar-expandable-enabled .right,.ios .navbar.with-searchbar-expandable-closing .right{transition-duration:.3s}.ios .navbar.with-searchbar-expandable-enabled .left,.ios .navbar.with-searchbar-expandable-enabled-no-transition .left,.ios .navbar.with-searchbar-expandable-enabled .title,.ios .navbar.with-searchbar-expandable-enabled-no-transition .title,.ios .navbar.with-searchbar-expandable-enabled .right,.ios .navbar.with-searchbar-expandable-enabled-no-transition .right{transform:translateY(calc(-1 * var(--f7-navbar-height)));opacity:0!important}.ios .searchbar-expandable.searchbar-enabled{opacity:1;height:var(--f7-searchbar-expandable-size);pointer-events:auto}.md .searchbar-icon,.md .searchbar-disable-button{position:absolute;top:50%;transition-duration:.3s}.md .searchbar-icon{width:48px;height:48px;left:0;top:0;display:flex;align-items:center;justify-content:center;left:var(--f7-safe-area-left)}.md .searchbar-icon:after{width:auto;height:auto;content:"search_md";line-height:1.2}.md .searchbar-disable-button{width:48px;height:48px;transform:rotate(-90deg) scale(.5);font-size:0!important;display:block;margin-top:-24px;color:var(--f7-searchbar-link-color, var(--f7-bars-link-color, var(--f7-theme-color)));left:calc(var(--f7-searchbar-inner-padding-left) + var(--f7-safe-area-left))}.md .searchbar-disable-button:after{font-family:framework7-core-icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga";text-align:center;display:block;width:100%;height:100%;font-size:20px;line-height:48px;content:"arrow_left_md"}.md .searchbar-enabled:not(.searchbar-enabled-no-disable-button) .searchbar-disable-button{transform:rotate(0) scale(1);pointer-events:auto;opacity:1}.md .searchbar-enabled:not(.searchbar-enabled-no-disable-button) .searchbar-icon{opacity:0;transform:rotate(90deg) scale(.5)}.md .searchbar{--f7-searchbar-input-extra-padding-left: 34px}.md .searchbar .input-clear-button{width:48px;height:48px;margin-top:-24px;right:0}.md .searchbar .input-clear-button:after{line-height:48px;content:"delete_round_md";opacity:1}.md .searchbar .input-clear-button:before{display:none}.md .searchbar-inline{--f7-searchbar-input-extra-padding-left: 32px}.md .page>.searchbar,.md .subnavbar .searchbar,.md .searchbar-expandable{--f7-searchbar-input-extra-padding-left: 34px}.md .page>.searchbar .searchbar-disable-button,.md .subnavbar .searchbar .searchbar-disable-button,.md .searchbar-expandable .searchbar-disable-button{left:calc(var(--f7-searchbar-inner-padding-left) + var(--f7-safe-area-left))}.md .page>.searchbar .searchbar-icon,.md .subnavbar .searchbar .searchbar-icon,.md .searchbar-expandable .searchbar-icon{left:var(--f7-safe-area-left)}.md .searchbar-expandable{--f7-searchbar-inner-padding-left: 4px;--f7-searchbar-inner-padding-right: 4px;height:var(--f7-searchbar-expandable-size);opacity:0;bottom:0;border-radius:calc(var(--f7-searchbar-expandable-size));width:calc(var(--f7-searchbar-expandable-size));margin-top:calc(var(--f7-searchbar-expandable-size) * -1 / 2);transform:translateZ(0);background-color:var(--f7-searchbar-input-bg-color);left:100%;margin-left:calc(var(--f7-searchbar-expandable-size) * -1)}.md .searchbar-expandable.searchbar-enabled{width:100%;border-radius:0;opacity:1;pointer-events:auto;margin-top:0;left:0;margin-left:0}:root{--f7-message-text-header-opacity: .65;--f7-message-text-header-font-size: 12px;--f7-message-text-footer-opacity: .65;--f7-message-text-footer-font-size: 12px;--f7-message-bubble-line-height: 1.2;--f7-message-header-font-size: 12px;--f7-message-footer-font-size: 11px;--f7-message-name-font-size: 12px;--f7-message-name-font-weight: inherit;--f7-message-avatar-border-radius: 50%;--f7-messages-title-font-weight: inherit;--f7-message-typing-indicator-bg-color: #000}:root .dark,:root.dark{--f7-message-typing-indicator-bg-color: #fff}.ios{--f7-message-text-header-text-color: inherit;--f7-message-text-footer-text-color: inherit;--f7-messages-title-font-size: 11px;--f7-message-avatar-size: 29px;--f7-message-margin: 10px;--f7-message-bubble-min-height: 32px;--f7-message-bubble-font-size: 17px;--f7-message-bubble-border-radius: 16px;--f7-message-bubble-padding-vertical: 6px;--f7-message-bubble-padding-horizontal: 16px;--f7-message-typing-indicator-opacity: .35;--f7-message-sent-text-color: #fff;--f7-messages-content-bg-color: #fff;--f7-message-received-text-color: #000;--f7-message-received-bg-color: #e5e5ea;--f7-messages-title-text-color: rgba(0, 0, 0, .45);--f7-message-header-text-color: rgba(0, 0, 0, .45);--f7-message-footer-text-color: rgba(0, 0, 0, .45);--f7-message-name-text-color: rgba(0, 0, 0, .45)}.ios .dark,.ios.dark{--f7-message-received-bg-color: #252525;--f7-message-received-text-color: #fff;--f7-messages-content-bg-color: transparent;--f7-messages-title-text-color: rgba(255, 255, 255, .54);--f7-message-header-text-color: rgba(255, 255, 255, .54);--f7-message-name-text-color: rgba(255, 255, 255, .54);--f7-message-footer-text-color: rgba(255, 255, 255, .54)}.md{--f7-messages-content-bg-color: transparent;--f7-messages-title-font-size: 12px;--f7-message-avatar-size: 32px;--f7-message-margin: 16px;--f7-message-bubble-min-height: 40px;--f7-message-bubble-font-size: 16px;--f7-message-bubble-border-radius: 20px;--f7-message-bubble-padding-vertical: 10px;--f7-message-bubble-padding-horizontal: 16px;--f7-message-typing-indicator-opacity: .6}.md,.md .dark,.md [class*=color-]{--f7-message-sent-bg-color: var(--f7-md-primary);--f7-message-sent-text-color: var(--f7-md-on-primary);--f7-message-received-bg-color: var(--f7-md-surface-variant);--f7-message-received-text-color: var(--f7-md-on-surface);--f7-message-text-header-text-color: var(--f7-md-on-surface-variant);--f7-message-text-footer-text-color: var(--f7-md-on-surface-variant);--f7-messages-title-text-color: var(--f7-md-on-surface-variant);--f7-message-header-text-color: var(--f7-md-on-surface-variant);--f7-message-footer-text-color: var(--f7-md-on-surface-variant);--f7-message-name-text-color: var(--f7-md-on-surface-variant)}.messages-content,.messages{background:var(--f7-messages-content-bg-color)}.messages{display:flex;flex-direction:column;min-height:100%;position:relative;z-index:1}.messages-title,.message{margin-top:var(--f7-message-margin)}.messages-title:last-child,.message:last-child{margin-bottom:var(--f7-message-margin)}.messages-title{text-align:center;width:100%;line-height:1;color:var(--f7-messages-title-text-color);font-size:var(--f7-messages-title-font-size);font-weight:var(--f7-messages-title-font-weight)}.message{max-width:70%;box-sizing:border-box;display:flex;align-items:flex-end;position:relative;z-index:1;transform:translateZ(0)}.message-avatar{border-radius:var(--f7-message-avatar-border-radius);position:relative;background-size:cover;align-self:flex-end;flex-shrink:0;width:var(--f7-message-avatar-size);height:var(--f7-message-avatar-size)}.message-content{position:relative;display:flex;flex-direction:column}.message-header,.message-footer,.message-name{line-height:1}.message-header{color:var(--f7-message-header-text-color);font-size:var(--f7-message-header-font-size)}.message-footer{color:var(--f7-message-footer-text-color);font-size:var(--f7-message-footer-font-size);margin-bottom:-1em}.message-name{color:var(--f7-message-name-text-color);font-size:var(--f7-message-name-font-size);font-weight:var(--f7-message-name-font-weight)}.message-bubble{box-sizing:border-box;word-break:break-word;display:flex;flex-direction:column;position:relative;line-height:var(--f7-message-bubble-line-height);font-size:var(--f7-message-bubble-font-size);border-radius:var(--f7-message-bubble-border-radius);padding:var(--f7-message-bubble-padding-vertical) var(--f7-message-bubble-padding-horizontal);min-height:var(--f7-message-bubble-min-height)}.message-image img{display:block;max-width:100%;height:auto;width:auto}.message-text-header,.message-text-footer{line-height:1}.message-text-header{color:var(--f7-message-text-header-text-color);opacity:var(--f7-message-text-header-opacity);font-size:var(--f7-message-text-header-font-size)}.message-text-footer{color:var(--f7-message-text-footer-text-color);opacity:var(--f7-message-text-footer-opacity);font-size:var(--f7-message-text-footer-font-size)}.message-text{text-align:left}.message-sent{text-align:right;flex-direction:row-reverse;align-self:flex-end}.message-sent .message-bubble{color:var(--f7-message-sent-text-color);background:var(--f7-message-sent-bg-color, var(--f7-theme-color))}.message-sent .message-content{align-items:flex-end}.message-received{flex-direction:row}.message-received .message-bubble{color:var(--f7-message-received-text-color);background:var(--f7-message-received-bg-color)}.message-received .message-content{align-items:flex-start}.message:not(.message-last) .message-avatar{opacity:0}.message:not(.message-first) .message-name{display:none}.message.message-same-name .message-name,.message.message-same-header .message-header,.message.message-same-footer .message-footer{display:none}.message-appear-from-bottom{animation:message-appear-from-bottom .3s}.message-appear-from-top{animation:message-appear-from-top .3s}.message-typing-indicator{display:inline-block;font-size:0;vertical-align:middle}.message-typing-indicator>div{display:inline-block;position:relative;background:var(--f7-message-typing-indicator-bg-color);opacity:var(--f7-message-typing-indicator-opacity);vertical-align:middle;border-radius:50%}@keyframes message-appear-from-bottom{0%{transform:translate3d(0,100%,0)}to{transform:translateZ(0)}}@keyframes message-appear-from-top{0%{transform:translate3d(0,-100%,0)}to{transform:translateZ(0)}}.ios .messages-title b,.ios .message-header b,.ios .message-footer b,.ios .message-name b{font-weight:600}.ios .message-header,.ios .message-name{margin-bottom:3px}.ios .message-footer{margin-top:3px}.ios .message-bubble{min-width:48px}.ios .message-image{margin:var(--f7-message-bubble-padding-vertical) calc(-1 * var(--f7-message-bubble-padding-horizontal))}.ios .message-image:first-child{margin-top:calc(-1 * var(--f7-message-bubble-padding-vertical))}.ios .message-image:first-child img{border-top-left-radius:var(--f7-message-bubble-border-radius);border-top-right-radius:var(--f7-message-bubble-border-radius)}.ios .message-image:last-child{margin-bottom:calc(-1 * var(--f7-message-bubble-padding-vertical))}.ios .message-image:last-child img{border-bottom-left-radius:var(--f7-message-bubble-border-radius);border-bottom-right-radius:var(--f7-message-bubble-border-radius)}.ios .message-text-header{margin-bottom:3px}.ios .message-text-footer{margin-top:3px}.ios .message-received{margin-left:calc(10px + var(--f7-safe-area-left))}.ios .message-received .message-header,.ios .message-received .message-footer,.ios .message-received .message-name{margin-left:var(--f7-message-bubble-padding-horizontal)}.ios .message-received .message-bubble{padding-left:calc(var(--f7-message-bubble-padding-horizontal) + 6px);-webkit-mask-box-image:url("data:image/svg+xml;charset=utf-8,") 50% 42% 46% 56%}.ios .message-received .message-image{margin-left:calc(-1 * (var(--f7-message-bubble-padding-horizontal) + 6px))}.ios .message-received.message-tail .message-bubble{border-radius:var(--f7-message-bubble-border-radius) var(--f7-message-bubble-border-radius) var(--f7-message-bubble-border-radius) 0}.ios .message-received.message-tail:not(.message-typing) .message-bubble{-webkit-mask-box-image:url("data:image/svg+xml;charset=utf-8,") 50% 42% 46% 56%}.ios .message-received.message-tail:not(.message-typing) .message-bubble .message-image:last-child img{border-bottom-left-radius:0}.ios .message-sent{margin-right:calc(10px + var(--f7-safe-area-right))}.ios .message-sent .message-header,.ios .message-sent .message-footer,.ios .message-sent .message-name{margin-right:var(--f7-message-bubble-padding-horizontal)}.ios .message-sent .message-bubble{padding-right:calc(var(--f7-message-bubble-padding-horizontal) + 6px);-webkit-mask-box-image:url("data:image/svg+xml;charset=utf-8,") 50% 56% 46% 42%}.ios .message-sent .message-image{margin-right:calc(-1 * (var(--f7-message-bubble-padding-horizontal) + 6px))}.ios .message-sent.message-tail .message-bubble{border-radius:var(--f7-message-bubble-border-radius) var(--f7-message-bubble-border-radius) 0 var(--f7-message-bubble-border-radius)}.ios .message-sent.message-tail .message-bubble{-webkit-mask-box-image:url("data:image/svg+xml;charset=utf-8,") 50% 56% 46% 42%}.ios .message-sent.message-tail .message-bubble .message-image:last-child img{border-bottom-right-radius:0}.ios .message+.message:not(.message-first){margin-top:1px}.ios .message-received.message-typing .message-content:after,.ios .message-received.message-typing .message-content:before{content:"";position:absolute;background:var(--f7-message-received-bg-color);border-radius:50%}.ios .message-received.message-typing .message-content:after{width:11px;height:11px;left:4px;bottom:0}.ios .message-received.message-typing .message-content:before{width:6px;height:6px;left:-1px;bottom:-4px}.ios .message-typing-indicator>div{width:9px;height:9px}.ios .message-typing-indicator>div+div{margin-left:4px}.ios .message-typing-indicator>div:nth-child(1){animation:ios-message-typing-indicator .9s infinite}.ios .message-typing-indicator>div:nth-child(2){animation:ios-message-typing-indicator .9s .15s infinite}.ios .message-typing-indicator>div:nth-child(3){animation:ios-message-typing-indicator .9s .3s infinite}@keyframes ios-message-typing-indicator{0%{opacity:.35}25%{opacity:.2}50%{opacity:.2}}.md .messages-title b,.md .message-header b,.md .message-footer b,.md .message-name b{font-weight:500}.md .message-header,.md .message-name{margin-bottom:2px}.md .message-footer{margin-top:2px}.md .message-text-header{margin-bottom:4px}.md .message-text-footer{margin-top:4px}.md .message-image{margin:calc(-1 * var(--f7-message-bubble-padding-vertical)) calc(-1 * var(--f7-message-bubble-padding-horizontal))}.md .message-image,.md .message-image img{border-radius:var(--f7-message-bubble-border-radius)}.md .message-received{margin-left:calc(8px + var(--f7-safe-area-left))}.md .message-received .message-name,.md .message-received .message-header,.md .message-received .message-footer{margin-left:16px}.md .message-received.message-first:not(.message-last) .message-bubble,.md .message-received.message-first:not(.message-last) .message-image,.md .message-received.message-first:not(.message-last) .message-image img{border-bottom-left-radius:4px}.md .message-received.message-last:not(.message-first) .message-bubble,.md .message-received.message-last:not(.message-first) .message-image,.md .message-received.message-last:not(.message-first) .message-image img{border-top-left-radius:4px}.md .message-received:not(.message-last):not(.message-first) .message-bubble,.md .message-received:not(.message-last):not(.message-first) .message-image,.md .message-received:not(.message-last):not(.message-first) .message-image img{border-bottom-left-radius:4px;border-top-left-radius:4px}.md .message-received .message-avatar+.message-content{margin-left:8px}.md .message-sent{margin-right:calc(8px + var(--f7-safe-area-right))}.md .message-sent .message-name,.md .message-sent .message-header,.md .message-sent .message-footer{margin-right:16px}.md .message-sent.message-first:not(.message-last) .message-bubble,.md .message-sent.message-first:not(.message-last) .message-image,.md .message-sent.message-first:not(.message-last) .message-image img{border-bottom-right-radius:4px}.md .message-sent.message-last:not(.message-first) .message-bubble,.md .message-sent.message-last:not(.message-first) .message-image,.md .message-sent.message-last:not(.message-first) .message-image img{border-top-right-radius:4px}.md .message-sent:not(.message-last):not(.message-first) .message-bubble,.md .message-sent:not(.message-last):not(.message-first) .message-image,.md .message-sent:not(.message-last):not(.message-first) .message-image img{border-bottom-right-radius:4px;border-top-right-radius:4px}.md .message-sent .message-avatar+.message-content{margin-right:var(--f7-message-bubble-padding-horizontal)}.md .message+.message:not(.message-first){margin-top:2px}.md .message-typing-indicator>div{width:6px;height:6px}.md .message-typing-indicator>div+div{margin-left:6px}.md .message-typing-indicator>div:nth-child(1){animation:md-message-typing-indicator .9s infinite}.md .message-typing-indicator>div:nth-child(2){animation:md-message-typing-indicator .9s .15s infinite}.md .message-typing-indicator>div:nth-child(3){animation:md-message-typing-indicator .9s .3s infinite}@keyframes md-message-typing-indicator{0%{transform:translateY(0)}25%{transform:translateY(-5px)}50%{transform:translateY(0)}}:root{--f7-messagebar-attachments-height: 155px;--f7-messagebar-sheet-height: 252px;--f7-messagebar-sheet-landscape-height: 192px}.ios{--f7-messagebar-height: 44px;--f7-messagebar-font-size: 17px;--f7-messagebar-textarea-bg-color: transparent;--f7-messagebar-border-color: transparent;--f7-messagebar-textarea-border-radius: 17px;--f7-messagebar-textarea-padding: 6px 16px;--f7-messagebar-textarea-height: 34px;--f7-messagebar-textarea-font-size: 17px;--f7-messagebar-textarea-line-height: 20px;--f7-messagebar-sheet-bg-color: #d1d5da;--f7-messagebar-sheet-border-color: transparent;--f7-messagebar-attachment-border-radius: 12px;--f7-messagebar-attachment-height: 155px;--f7-messagebar-attachment-landscape-height: 120px;--f7-messagebar-textarea-placeholder-color: rgba(0, 0, 0, .4);--f7-messagebar-textarea-text-color: #000;--f7-messagebar-textarea-border: 1px solid #c8c8cd;--f7-messagebar-attachments-border-color: #c8c8cd;--f7-messagebar-bg-color: #fff;--f7-messagebar-bg-color-rgb: 255, 255, 255}.ios .dark,.ios.dark{--f7-messagebar-textarea-placeholder-color: rgba(255, 255, 255, .4);--f7-messagebar-textarea-text-color: #fff;--f7-messagebar-textarea-border: 1px solid var(--f7-bars-border-color);--f7-messagebar-attachments-border-color: var(--f7-bars-border-color);--f7-messagebar-bg-color: var(--f7-bars-bg-color);--f7-messagebar-bg-color-rgb: var(--f7-bars-bg-color-rgb)}.md{--f7-messagebar-height: 64px;--f7-messagebar-font-size: 16px;--f7-messagebar-textarea-border-radius: 24px;--f7-messagebar-textarea-padding: 12px 16px;--f7-messagebar-textarea-height: 48px;--f7-messagebar-textarea-font-size: 16px;--f7-messagebar-textarea-line-height: 22px;--f7-messagebar-textarea-border: 1px solid transparent;--f7-messagebar-attachment-border-radius: 12px;--f7-messagebar-attachment-height: 72px;--f7-messagebar-attachment-landscape-height: 72px;--f7-messagebar-border-color: transparent;--f7-messagebar-attachments-border-color: transparent}.md,.md .dark,.md [class*=color-]{--f7-messagebar-textarea-placeholder-color: var(--f7-md-on-surface-variant);--f7-messagebar-textarea-bg-color: var(--f7-md-surface-variant);--f7-messagebar-bg-color: var(--f7-md-surface);--f7-messagebar-textarea-text-color: var(--f7-md-on-surface);--f7-messagebar-sheet-bg-color: var(--f7-md-surface);--f7-messagebar-sheet-border-color: var(--f7-md-outline-variant);--f7-messagebar-link-color: var(--f7-md-on-surface)}.messagebar{transform:translateZ(0);background:var(--f7-messagebar-bg-color);height:auto;min-height:var(--f7-messagebar-height);font-size:var(--f7-messagebar-font-size);padding-bottom:var(--f7-safe-area-bottom);bottom:0}.messagebar:before{content:"";position:absolute;background-color:var(--f7-messagebar-border-color);display:block;z-index:15;top:0;right:auto;bottom:auto;left:0;height:1px;width:100%;transform-origin:50% 0%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))){.ios-translucent-bars .messagebar{background-color:rgba(var(--f7-messagebar-bg-color-rgb),var(--f7-bars-translucent-opacity));-webkit-backdrop-filter:saturate(180%) blur(var(--f7-bars-translucent-blur));backdrop-filter:saturate(180%) blur(var(--f7-bars-translucent-blur))}}.messagebar.no-outline:before{display:none!important}.messagebar.toolbar-hidden:after{display:none!important}.messagebar .toolbar-inner{top:auto;position:relative;height:auto;bottom:auto;padding-left:calc(var(--f7-messagebar-inner-padding-left, var(--f7-toolbar-inner-padding-left)) + var(--f7-safe-area-left));padding-right:calc(var(--f7-messagebar-inner-padding-right, var(--f7-toolbar-inner-padding-right)) + var(--f7-safe-area-right))}.messagebar.messagebar-sheet-visible>.toolbar-inner{bottom:0}.messagebar .messagebar-area{width:100%;flex-shrink:1;overflow:hidden;position:relative}.messagebar textarea{width:100%;flex-shrink:1;background-color:var(--f7-messagebar-textarea-bg-color);border-radius:var(--f7-messagebar-textarea-border-radius);padding:var(--f7-messagebar-textarea-padding);height:var(--f7-messagebar-textarea-height);color:var(--f7-messagebar-textarea-text-color);font-size:var(--f7-messagebar-textarea-font-size);line-height:var(--f7-messagebar-textarea-line-height);border:var(--f7-messagebar-textarea-border)}.messagebar textarea::placeholder{color:var(--f7-messagebar-textarea-placeholder-color)}.messagebar a.link{align-self:flex-end;flex-shrink:0;color:var(--f7-messagebar-link-color, var(--f7-theme-color))}.messagebar-attachments{width:100%;overflow:auto;-webkit-overflow-scrolling:touch;font-size:0;white-space:nowrap;box-sizing:border-box;position:relative}.messagebar:not(.messagebar-attachments-visible) .messagebar-attachments{display:none}.messagebar-attachment{background-size:cover;background-position:center;background-repeat:no-repeat;display:inline-block;vertical-align:middle;white-space:normal;height:var(--f7-messagebar-attachment-height);position:relative;border-radius:var(--f7-messagebar-attachment-border-radius)}@media (orientation: landscape){.messagebar-attachment{height:var(--f7-messagebar-attachment-landscape-height)}}.messagebar-attachment img{display:block;width:auto;height:100%;border-radius:var(--f7-messagebar-attachment-border-radius)}.messagebar-sheet{overflow:auto;-webkit-overflow-scrolling:touch;display:flex;flex-wrap:wrap;flex-direction:column;align-content:flex-start;height:var(--f7-messagebar-sheet-height);background-color:var(--f7-messagebar-sheet-bg-color);border-top:1px solid var(--f7-messagebar-sheet-border-color);padding-left:var(--f7-safe-area-left);padding-right:var(--f7-safe-area-right)}@media (orientation: landscape){.messagebar-sheet{height:var(--f7-messagebar-sheet-landscape-height)}}.messagebar-sheet-image{background-size:cover;background-position:center;background-repeat:no-repeat}.messagebar-sheet-image>img{width:100%;height:100%;object-fit:cover;object-position:center;border-radius:inherit;transition-duration:.2s}.messagebar-attachment-delete{display:block;position:absolute;border-radius:50%;box-sizing:border-box;cursor:pointer}.messagebar-attachment-delete:after,.messagebar-attachment-delete:before{position:absolute;content:"";left:50%;top:50%}.messagebar-attachment-delete:after{transform:rotate(45deg)}.messagebar-attachment-delete:before{transform:rotate(-45deg)}.messagebar:not(.messagebar-sheet-visible) .messagebar-sheet{display:none}.messagebar~*{--f7-page-toolbar-bottom-offset: var(--f7-messagebar-height)}.ios .messagebar a.link.icon-only:first-child{margin-left:-8px}.ios .messagebar a.link.icon-only:last-child{margin-right:-8px}.ios .messagebar a.link:not(.icon-only)+.messagebar-area{margin-left:8px}.ios .messagebar .messagebar-area+a.link:not(.icon-only){margin-left:8px}.ios .messagebar-area{margin-top:5px;margin-bottom:5px}.ios .messagebar-attachments{padding:5px;border-radius:var(--f7-messagebar-textarea-border-radius) var(--f7-messagebar-textarea-border-radius) 0 0;border:1px solid var(--f7-messagebar-attachments-border-color);border-bottom:none}.ios .messagebar-attachments-visible .messagebar-attachments+textarea{border-radius:0 0 var(--f7-messagebar-textarea-border-radius) var(--f7-messagebar-textarea-border-radius)}.ios .messagebar-attachment{font-size:14px}.ios .messagebar-attachment+.messagebar-attachment{margin-left:8px}.ios .messagebar-attachment-delete{right:5px;top:5px;width:20px;height:20px;background:#7d7e80;border:2px solid #fff;box-shadow:0 0 2px #0003}.ios .messagebar-attachment-delete:after,.ios .messagebar-attachment-delete:before{width:10px;height:2px;background:#fff;margin-left:-5px;margin-top:-1px}.ios .messagebar-sheet-image,.ios .messagebar-sheet-item{box-sizing:border-box;flex-shrink:0;margin-top:1px;position:relative;overflow:hidden;height:calc((var(--f7-messagebar-sheet-height) - 2px) / 2);width:calc((var(--f7-messagebar-sheet-height) - 2px) / 2);margin-left:1px}@media (orientation: landscape){.ios .messagebar-sheet-image,.ios .messagebar-sheet-item{width:calc((var(--f7-messagebar-sheet-landscape-height) - 2px) / 2);height:calc((var(--f7-messagebar-sheet-landscape-height) - 2px) / 2)}}.ios .messagebar-sheet-image .icon-checkbox,.ios .messagebar-sheet-item .icon-checkbox,.ios .messagebar-sheet-image .icon-radio,.ios .messagebar-sheet-item .icon-radio{position:absolute;right:8px;bottom:8px;z-index:1}.md .messagebar{--f7-toolbar-link-height: var(--f7-messagebar-height)}.md .messagebar-attachments{padding:16px 16px 0;border-bottom:1px solid var(--f7-messagebar-attachments-border-color)}.md .messagebar-attachment img{width:var(--f7-messagebar-attachment-height);height:var(--f7-messagebar-attachment-height);object-fit:cover;object-position:center}.md .messagebar-attachment+.messagebar-attachment{margin-left:16px}.md .messagebar-attachments-visible .messagebar-attachments{background:var(--f7-messagebar-textarea-bg-color);border-radius:var(--f7-messagebar-textarea-border-radius) var(--f7-messagebar-textarea-border-radius) 0 0}.md .messagebar-attachments-visible textarea{border-top-left-radius:0;border-top-right-radius:0}.md .messagebar-area{margin-top:8px;margin-bottom:8px}.md .messagebar-attachment-delete{right:-6px;top:-6px;width:24px;height:24px;background-color:var(--f7-md-inverse-surface);border-radius:24px;border:2px solid var(--f7-messagebar-textarea-bg-color)}.md .messagebar-attachment-delete:after,.md .messagebar-attachment-delete:before{width:12px;height:2px;background:var(--f7-messagebar-textarea-bg-color);margin-left:-6px;margin-top:-1px}.md .messagebar-sheet-image,.md .messagebar-sheet-item{--f7-touch-ripple-color: transparent;box-sizing:border-box;flex-shrink:0;margin-top:8px;position:relative;overflow:hidden;height:calc((var(--f7-messagebar-sheet-height) - 24px) / 2);width:calc((var(--f7-messagebar-sheet-height) - 24px) / 2);border-radius:4px;margin-left:8px}@media (orientation: landscape){.md .messagebar-sheet-image,.md .messagebar-sheet-item{width:calc((var(--f7-messagebar-sheet-landscape-height) - 8px) / 2);height:calc((var(--f7-messagebar-sheet-landscape-height) - 24px) / 2)}}.md .messagebar-sheet-image input:checked~img,.md .messagebar-sheet-item input:checked~img{transform:scale(.85)}.md .messagebar-sheet-image input:checked~.icon-checkbox,.md .messagebar-sheet-item input:checked~.icon-checkbox,.md .messagebar-sheet-image input:checked~.icon-radio,.md .messagebar-sheet-item input:checked~.icon-radio{transform:translate(-50%,-50%) scale(1)}.md .messagebar-sheet-image .icon-checkbox,.md .messagebar-sheet-item .icon-checkbox,.md .messagebar-sheet-image .icon-radio,.md .messagebar-sheet-item .icon-radio{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(.85);border:none;z-index:1;--f7-checkbox-inactive-color: var(--f7-md-surface);--f7-checkbox-active-color: var(--f7-md-surface)}.md .messagebar-sheet-image .icon-checkbox:after,.md .messagebar-sheet-item .icon-checkbox:after,.md .messagebar-sheet-image .icon-radio:after,.md .messagebar-sheet-item .icon-radio:after{color:var(--f7-md-on-surface);font-size:18px;width:auto;height:100%;line-height:32px;left:0;position:static}@font-face{font-family:swiper-icons;src:url(data:application/font-woff;charset=utf-8;base64,\ d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA);font-weight:400;font-style:normal}:root{--swiper-theme-color: #007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;overflow:clip;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-slide,.swiper-3d .swiper-cube-shadow{transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color: #fff}.swiper-lazy-preloader-black{--swiper-preloader-color: #000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper:after{content:"";position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper:after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper:after{width:1px;height:var(--swiper-virtual-size)}:root{--swiper-navigation-size: 44px}.swiper-button-prev,.swiper-button-next{position:absolute;top:var(--swiper-navigation-top-offset, 50%);width:calc(var(--swiper-navigation-size) / 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size) / 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color, var(--swiper-theme-color))}.swiper-button-prev.swiper-button-disabled,.swiper-button-next.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-prev.swiper-button-hidden,.swiper-button-next.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-prev,.swiper-navigation-disabled .swiper-button-next{display:none!important}.swiper-button-prev svg,.swiper-button-next svg{width:100%;height:100%;object-fit:contain;transform-origin:center}.swiper-rtl .swiper-button-prev svg,.swiper-rtl .swiper-button-next svg{transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset, 10px);right:auto}.swiper-button-lock{display:none}.swiper-button-prev:after,.swiper-button-next:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;font-feature-settings:;font-variant:initial;line-height:1}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:"prev"}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset, 10px);left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:"next"}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translateZ(0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-pagination-fraction,.swiper-pagination-custom,.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal{bottom:var(--swiper-pagination-bottom, 8px);top:var(--swiper-pagination-top, auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));height:var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius, 50%);background:var(--swiper-pagination-bullet-inactive-color, #000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color, var(--swiper-theme-color))}.swiper-vertical>.swiper-pagination-bullets,.swiper-pagination-vertical.swiper-pagination-bullets{right:var(--swiper-pagination-right, 8px);left:var(--swiper-pagination-left, auto);top:50%;transform:translate3d(0,-50%,0)}.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap, 6px) 0;display:block}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap, 4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translate(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color, inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, .25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color, var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size, 4px);left:0;top:0}.swiper-vertical>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite{width:var(--swiper-pagination-progressbar-size, 4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius, 10px);position:relative;-ms-touch-action:none;background:var(--swiper-scrollbar-bg-color, rgba(0, 0, 0, .1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset, 1%);bottom:var(--swiper-scrollbar-bottom, 4px);top:var(--swiper-scrollbar-top, auto);z-index:50;height:var(--swiper-scrollbar-size, 4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%))}.swiper-vertical>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-vertical{position:absolute;left:var(--swiper-scrollbar-left, auto);right:var(--swiper-scrollbar-right, 4px);top:var(--swiper-scrollbar-sides-offset, 1%);z-index:50;width:var(--swiper-scrollbar-size, 4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color, rgba(0, 0, 0, .5));border-radius:var(--swiper-scrollbar-border-radius, 10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.swiper-zoom-container>img,.swiper-zoom-container>svg,.swiper-zoom-container>canvas{max-width:100%;max-height:100%;object-fit:contain}.swiper-slide-zoomed{cursor:move;touch-action:none}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-fade .swiper-slide-active,.swiper-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube{overflow:visible}.swiper-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-cube.swiper-rtl .swiper-slide{transform-origin:100% 0}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-next,.swiper-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:"";background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-cube .swiper-slide-next+.swiper-slide{pointer-events:auto;visibility:visible}.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-top,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-bottom,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-left,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-right{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-flip{overflow:visible}.swiper-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-flip .swiper-slide-active,.swiper-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-top,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-bottom,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-left,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-right{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-creative .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper-cards{overflow:visible}.swiper-cards .swiper-slide{transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}:root{--f7-photobrowser-bg-color: #fff;--f7-photobrowser-bars-bg-color: rgba(var(--f7-bars-bg-color-rgb), .95);--f7-photobrowser-bars-text-color: var(--f7-bars-text-color);--f7-photobrowser-bars-link-color: var(--f7-bars-link-color);--f7-photobrowser-caption-font-size: 13px;--f7-photobrowser-caption-font-weight: 500;--f7-photobrowser-caption-light-text-color: #000;--f7-photobrowser-caption-dark-text-color: #fff;--f7-photobrowser-exposed-bg-color: #000;--f7-photobrowser-dark-bg-color: #000;--f7-photobrowser-dark-bars-bg-color: rgba(27, 27, 27, .8);--f7-photobrowser-dark-bars-text-color: #fff;--f7-photobrowser-dark-bars-link-color: #fff}.photo-browser{position:absolute;left:0;top:0;width:100%;height:100%;z-index:400}.photo-browser-standalone.modal-in{transition-duration:0ms;animation:photo-browser-in .4s}.photo-browser-standalone.modal-out{transition-duration:0ms;animation:photo-browser-out .4s!important}.photo-browser-standalone.modal-out.swipe-close-to-bottom,.photo-browser-standalone.modal-out.swipe-close-to-top{animation:none!important}.photo-browser-standalone.photo-browser-transitioning{transition:.4s;animation:none!important}.photo-browser-popup.modal-out.swipe-close-to-bottom,.photo-browser-popup.modal-out.swipe-close-to-top{transition-duration:.3s}.photo-browser-popup.modal-out.swipe-close-to-bottom{transform:translate3d(0,100vh,0)}.photo-browser-popup.modal-out.swipe-close-to-top{transform:translate3d(0,-100vh,0)}.photo-browser-page{background:none}.photo-browser-page .toolbar{transform:none}.photo-browser-popup{background:none}.photo-browser-of{margin:0 5px}.photo-browser-captions{pointer-events:none;position:absolute;left:0;width:100%;bottom:var(--f7-safe-area-bottom);z-index:10;opacity:1;transition-duration:.4s}.photo-browser-captions.photo-browser-captions-exposed{opacity:0}.toolbar~.toolbar.photo-browser-thumbs{bottom:calc(var(--f7-toolbar-height) + var(--f7-safe-area-bottom))}.page~.photo-browser-page:not(.photo-browser-exposed) .toolbar~.toolbar.photo-browser-thumbs,.photo-browser-popup:not(.photo-browser-exposed) .toolbar~.toolbar.photo-browser-thumbs,.photo-browser-standalone:not(.photo-browser-exposed) .toolbar~.toolbar.photo-browser-thumbs{height:var(--f7-toolbar-height)}.photo-browser-exposed .toolbar~.toolbar.photo-browser-thumbs{transform:translate3d(0,calc(var(--f7-toolbar-height) + var(--f7-safe-area-bottom, 0)),0)}.photo-browser-exposed .toolbar~.toolbar.photo-browser-thumbs .swiper{height:calc(100% - var(--f7-safe-area-bottom, 0))}.navbar+.toolbar.photo-browser-thumbs .swiper{height:calc(100% - var(--f7-safe-area-bottom, 0))}.toolbar~.photo-browser-captions{bottom:calc(var(--f7-toolbar-height) + var(--f7-safe-area-bottom));transform:translateZ(0)}.toolbar~.photo-browser-captions.photo-browser-captions-exposed{transform:translateZ(0)}.toolbar~.toolbar~.photo-browser-captions{bottom:calc(var(--f7-toolbar-height) * 2 + var(--f7-safe-area-bottom))}.toolbar~.toolbar~.photo-browser-captions.photo-browser-captions-exposed{transform:translate3d(0,var(--f7-toolbar-height),0)}.photo-browser-thumbs{transition-property:transform,background-color,color}.photo-browser-thumbs .swiper{width:100%;height:100%}.photo-browser-thumbs .swiper-slide{width:auto;display:flex;align-items:center;justify-content:center}.photo-browser-thumbs img{width:auto;height:75%;display:block;border-radius:2px;min-width:4px}.photo-browser-thumbs .swiper-slide img{transform:translate(-4px);transition-duration:.15s}.photo-browser-thumbs .swiper-slide-active img{transform:scale(1.2)}.photo-browser-thumbs .swiper-slide-active~.swiper-slide img{transform:translate(4px)}.photo-browser-caption{box-sizing:border-box;transition-duration:.4s;position:absolute;bottom:0;left:0;opacity:0;padding:4px 5px;width:100%;text-align:center;font-size:var(--f7-photobrowser-caption-font-size);font-weight:var(--f7-photobrowser-caption-font-weight)}@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))){.ios-translucent-bars .photo-browser-caption{-webkit-backdrop-filter:saturate(180%) blur(var(--f7-bars-translucent-blur));backdrop-filter:saturate(180%) blur(var(--f7-bars-translucent-blur))}}.photo-browser-caption:empty{display:none}.photo-browser-caption.photo-browser-caption-active{opacity:1}.photo-browser-captions-light .photo-browser-caption{color:var(--f7-photobrowser-caption-light-text-color)}.photo-browser-captions-dark .photo-browser-caption,.dark .photo-browser-caption{color:var(--f7-photobrowser-caption-dark-text-color)}.photo-browser-swiper-container{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;background:var(--f7-photobrowser-bg-color);transition:.4s;transition-property:background-color;touch-action:none}.photo-browser-prev.swiper-button-disabled,.photo-browser-next.swiper-button-disabled{opacity:.3;pointer-events:none}.photo-browser-slide{width:100%;height:100%;position:relative;overflow:hidden;display:flex;justify-content:center;align-items:center;flex-shrink:0;box-sizing:border-box}.photo-browser-slide span.swiper-zoom-container{display:none}.photo-browser-slide img{width:auto;height:auto;max-width:100%;max-height:100%;display:none}.photo-browser-slide.swiper-slide-active span.swiper-zoom-container,.photo-browser-slide.swiper-slide-next span.swiper-zoom-container,.photo-browser-slide.swiper-slide-prev span.swiper-zoom-container{display:flex}.photo-browser-slide.swiper-slide-active img,.photo-browser-slide.swiper-slide-next img,.photo-browser-slide.swiper-slide-prev img{display:inline}.photo-browser-slide.swiper-slide-active.photo-browser-slide-lazy .preloader,.photo-browser-slide.swiper-slide-next.photo-browser-slide-lazy .preloader,.photo-browser-slide.swiper-slide-prev.photo-browser-slide-lazy .preloader{display:block}.photo-browser-slide iframe{width:100%;height:100%}.photo-browser-slide .preloader{display:none;position:absolute;width:42px;height:42px;margin-left:-21px;margin-top:-21px;left:50%;top:50%}.navbar-photo-browser .right .link svg,.navbar-photo-browser .right .link i{width:24px;height:24px;display:block}.photo-browser-page .navbar-bg,.navbar-photo-browser .navbar-bg,.photo-browser-page .toolbar,.photo-browser-caption{background-color:var(--f7-photobrowser-bars-bg-color, rgba(var(--f7-bars-bg-color-rgb), .95))}.photo-browser-page{touch-action:none}.photo-browser-page .navbar,.photo-browser-page .toolbar{transform:translateZ(0);transition-duration:.4s;color:var(--f7-photobrowser-bars-text-color, var(--f7-bars-text-color))}.photo-browser-page .navbar a,.photo-browser-page .toolbar a{color:var(--f7-photobrowser-bars-link-color, var(--f7-bars-link-color, var(--f7-theme-color)))}.photo-browser-exposed .navbar,.photo-browser-exposed .toolbar:not(.photo-browser-thumbs){opacity:0;visibility:hidden;pointer-events:none}.photo-browser-exposed .toolbar:not(.photo-browser-thumbs)~.photo-browser-captions,.photo-browser-exposed .toolbar~.toolbar.photo-browser-thumbs~.photo-browser-captions{transform:translate3d(0,var(--f7-toolbar-height),0)}.photo-browser-exposed .photo-browser-swiper-container{background:var(--f7-photobrowser-exposed-bg-color)}.photo-browser-exposed .photo-browser-thumbs,.photo-browser-dark .photo-browser-thumbs,.photo-browser-exposed .toolbar,.photo-browser-dark .toolbar{background-color:var(--f7-photobrowser-dark-bars-bg-color)}.photo-browser-exposed .photo-browser-caption,.photo-browser-dark .photo-browser-caption{color:var(--f7-photobrowser-caption-dark-text-color);background-color:var(--f7-photobrowser-dark-bars-bg-color)}.view.with-photo-browser-page-exposed .navbar{opacity:0;pointer-events:none}.photo-browser-page .toolbar:before,.photo-browser-page .toolbar:after{display:none!important}.photo-browser-page-dark .navbar-bg,.navbar-photo-browser-dark .navbar-bg{background:var(--f7-photobrowser-dark-bars-bg-color)}.photo-browser-page-dark .navbar-bg:before,.navbar-photo-browser-dark .navbar-bg:before,.photo-browser-page-dark .navbar-bg:after,.navbar-photo-browser-dark .navbar-bg:after{display:none!important}.navbar-photo-browser-dark,.photo-browser-dark .navbar,.photo-browser-dark .toolbar,.photo-browser-page-dark .navbar,.photo-browser-page-dark .toolbar{color:var(--f7-photobrowser-dark-bars-text-color)}.navbar-photo-browser-dark a,.photo-browser-dark .navbar a,.photo-browser-dark .toolbar a,.photo-browser-page-dark .navbar a,.photo-browser-page-dark .toolbar a{color:var(--f7-photobrowser-dark-bars-link-color)}.photo-browser-dark .photo-browser-swiper-container,.photo-browser-page-dark .photo-browser-swiper-container{background:var(--f7-photobrowser-dark-bg-color)}@keyframes photo-browser-in{0%{transform:translateZ(0) scale(.5);opacity:0}50%{transform:translateZ(0) scale(1.05);opacity:1}to{transform:translateZ(0) scale(1);opacity:1}}@keyframes photo-browser-out{0%{transform:translateZ(0) scale(1);opacity:1}50%{transform:translateZ(0) scale(1.05);opacity:1}to{transform:translateZ(0) scale(.5);opacity:0}}:root{--f7-notification-max-width: 568px;--f7-notification-subtitle-text-transform: none;--f7-notification-subtitle-line-height: 1.35;--f7-notification-text-text-transform: none;--f7-notification-text-font-weight: 400}.ios{--f7-notification-margin: 8px;--f7-notification-padding-horizontal: 10px;--f7-notification-padding-vertical: 10px;--f7-notification-border-radius: 12px;--f7-notification-box-shadow: 0px 5px 25px -10px rgba(0, 0, 0, .7);--f7-notification-icon-size: 20px;--f7-notification-title-font-size: 13px;--f7-notification-title-text-transform: uppercase;--f7-notification-title-line-height: 1.4;--f7-notification-title-font-weight: 400;--f7-notification-title-letter-spacing: .02em;--f7-notification-title-right-font-size: 13px;--f7-notification-subtitle-font-size: 15px;--f7-notification-subtitle-font-weight: 600;--f7-notification-text-font-size: 15px;--f7-notification-text-line-height: 1.2;--f7-notification-bg-color: rgba(250, 250, 250, .95);--f7-notification-bg-color-rgb: 255, 255, 255;--f7-notification-title-color: #000;--f7-notification-title-right-color: rgba(0, 0, 0, .45);--f7-notification-subtitle-color: #000;--f7-notification-text-color: #000}.ios .dark,.ios.dark{--f7-notification-bg-color: rgba(30, 30, 30, .95);--f7-notification-bg-color-rgb: 30, 30, 30;--f7-notification-title-color: #fff;--f7-notification-text-color: #fff;--f7-notification-subtitle-color: #fff;--f7-notification-title-right-color: rgba(255, 255, 255, .55)}.md{--f7-notification-margin: 16px;--f7-notification-padding-vertical: 20px;--f7-notification-padding-horizontal: 16px;--f7-notification-border-radius: 16px;--f7-notification-box-shadow: none;--f7-notification-icon-size: 24px;--f7-notification-title-font-size: 16px;--f7-notification-title-text-transform: none;--f7-notification-title-line-height: 1.35;--f7-notification-title-font-weight: 500;--f7-notification-title-right-font-size: 12px;--f7-notification-subtitle-font-size: 14px;--f7-notification-subtitle-font-weight: 400;--f7-notification-text-font-size: 14px;--f7-notification-text-line-height: 1.35}.md,.md .dark,.md [class*=color-]{--f7-notification-title-color: var(--f7-md-on-surface);--f7-notification-bg-color: var(--f7-md-surface-5);--f7-notification-text-color: var(--f7-md-on-surface-variant);--f7-notification-title-right-color: var(--f7-md-on-surface-variant);--f7-notification-subtitle-color: var(--f7-md-on-surface)}.notification{position:absolute;left:var(--f7-notification-margin);top:var(--f7-notification-margin);width:calc(100% - var(--f7-notification-margin) * 2);z-index:20000;font-size:14px;margin:0;border:none;display:none;box-sizing:border-box;transition-property:transform;direction:ltr;max-width:var(--f7-notification-max-width);padding:var(--f7-notification-padding-vertical) var(--f7-notification-padding-horizontal);border-radius:var(--f7-notification-border-radius);box-shadow:var(--f7-notification-box-shadow);background:var(--f7-notification-bg-color);margin-top:var(--f7-safe-area-top)}@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))){.ios-translucent-modals .notification{background-color:rgba(var(--f7-notification-bg-color-rgb),.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}@media (min-width: 568px){.notification{left:50%;width:var(--f7-notification-max-width);margin-left:calc(-1 * var(--f7-notification-max-width) / 2)}}.notification-title{color:var(--f7-notification-title-color, var(--f7-theme-color));font-size:var(--f7-notification-title-font-size);text-transform:var(--f7-notification-title-text-transform);line-height:var(--f7-notification-title-line-height);font-weight:var(--f7-notification-title-font-weight);letter-spacing:var(--f7-notification-title-letter-spacing)}.notification-subtitle{color:var(--f7-notification-subtitle-color);font-size:var(--f7-notification-subtitle-font-size);text-transform:var(--f7-notification-subtitle-text-transform);line-height:var(--f7-notification-subtitle-line-height);font-weight:var(--f7-notification-subtitle-font-weight)}.notification-text{color:var(--f7-notification-text-color);font-size:var(--f7-notification-text-font-size);text-transform:var(--f7-notification-text-text-transform);line-height:var(--f7-notification-text-line-height);font-weight:var(--f7-notification-text-font-weight)}.notification-title-right-text{color:var(--f7-notification-title-right-color);font-size:var(--f7-notification-title-right-font-size)}.notification-icon{font-size:0;line-height:var(--f7-notification-icon-size)}.notification-icon i,.notification-icon{width:var(--f7-notification-icon-size)!important;height:var(--f7-notification-icon-size)!important}.notification-icon i{font-size:var(--f7-notification-icon-size)}.notification-icon img{height:var(--f7-notification-icon-size)}.notification-header{display:flex;justify-content:flex-start;align-items:center}.notification-close-button{margin-left:auto;cursor:pointer;position:relative}.notification-close-button:after{font-family:framework7-core-icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga";display:block;width:100%;height:100%;font-size:20px;position:absolute;left:50%;top:50%;text-align:center}.ios .notification{transition-duration:.45s;transform:translate3d(0,-200%,0)}.ios .notification.modal-in{transform:translateZ(0);opacity:1}.ios .notification.modal-out{transform:translate3d(0,-200%,0)}.ios .notification-icon{margin-right:8px}.ios .notification-header+.notification-content{margin-top:10px}.ios .notification-title-right-text{margin-right:6px;margin-left:auto}.ios .notification-title-right-text+.notification-close-button{margin-left:10px}.ios .notification-close-button{font-size:14px;width:20px;height:20px;opacity:.3;transition-duration:.3s}.ios .notification-close-button.active-state{transition-duration:0ms;opacity:.1}.ios .notification-close-button:after{color:#000;content:"notification_close_ios";font-size:.65em;line-height:44px;width:44px;height:44px;margin-left:-22px;margin-top:-22px}.ios .dark .notification-close-button:after,.ios.dark .notification-close-button:after{color:#fff}.md .notification{transform:translate3d(0,-150%,0)}.md .notification.modal-in{transition-duration:.5s;transform:translateZ(0);transition-timing-function:cubic-bezier(0,.8,.34,1)}.md .notification.modal-in.notification-transitioning{transition-duration:.2s}.md .notification.modal-out{animation:none;transition-duration:.2s;transition-timing-function:ease-in;transform:translate3d(0,-150%,0)}.md .notification-with-icon .notification-icon{position:absolute;left:var(--f7-notification-padding-horizontal);top:var(--f7-notification-padding-vertical)}.md .notification-with-icon .notification-content,.md .notification-with-icon .notification-header{margin-left:calc(var(--f7-notification-icon-size) + 16px)}.md .notification-icon{margin-right:8px}.md .notification-subtitle+.notification-text{margin-top:4px}.md .notification-header+.notification-content{margin-top:8px}.md .notification-title-right-text{margin-left:4px}.md .notification-title-right-text:before{content:"";width:3px;height:3px;border-radius:50%;display:inline-block;vertical-align:middle;margin-right:4px;background:var(--f7-notification-title-right-color)}.md .notification-close-button{width:16px;height:16px;transition-duration:.3s}.md .notification-close-button:before,.md .notification-close-button:after{width:48px;height:48px;left:50%;top:50%;margin-left:-24px;margin-top:-24px}.md .notification-close-button:after{color:var(--f7-md-on-surface-variant);content:"delete_round_md";line-height:48px;font-size:24px}@keyframes notification-md-in{0%{transform:translate3d(0,-150%,0)}50%{transform:translate3d(0,10%,0)}to{transform:translateZ(0)}}:root{--f7-autocomplete-dropdown-placeholder-color: #a9a9a9;--f7-autocomplete-dropdown-preloader-size: 20px;--f7-autocomplete-dropdown-font-size: var(--f7-list-font-size)}.ios{--f7-autocomplete-dropdown-box-shadow: 0px 3px 3px rgba(0, 0, 0, .2);--f7-autocomplete-dropdown-text-matching-font-weight: 600;--f7-autocomplete-dropdown-bg-color: #fff;--f7-autocomplete-dropdown-text-color: #000;--f7-autocomplete-dropdown-text-matching-color: #000}.ios .dark,.ios.dark{--f7-autocomplete-dropdown-bg-color: #1c1c1d;--f7-autocomplete-dropdown-text-color: #fff;--f7-autocomplete-dropdown-text-matching-color: #fff}.md{--f7-autocomplete-dropdown-box-shadow: none;--f7-autocomplete-dropdown-text-matching-font-weight: 500;--f7-autocomplete-dropdown-text-matching-color: #000}.md .dark,.md.dark{--f7-autocomplete-dropdown-text-matching-color: #fff}.md,.md .dark,.md [class*=color-]{--f7-autocomplete-dropdown-bg-color: var(--f7-md-surface-2);--f7-autocomplete-dropdown-text-color: var(--f7-md-on-surface)}.autocomplete-page .autocomplete-found{display:block}.autocomplete-page .autocomplete-not-found{display:none}.autocomplete-page .autocomplete-values{display:block}.autocomplete-page .list ul:empty{display:none}.autocomplete-preloader:not(.autocomplete-preloader-visible){visibility:hidden}.autocomplete-preloader:not(.autocomplete-preloader-visible),.autocomplete-preloader:not(.autocomplete-preloader-visible) *{animation:none}.autocomplete-dropdown{background:var(--f7-autocomplete-dropdown-bg-color);box-shadow:var(--f7-autocomplete-dropdown-box-shadow);box-sizing:border-box;position:absolute;z-index:500;width:100%;left:0}.autocomplete-dropdown .autocomplete-dropdown-inner{position:relative;overflow:auto;-webkit-overflow-scrolling:touch;height:100%;z-index:1}.autocomplete-dropdown .autocomplete-preloader{display:none;position:absolute;bottom:100%;width:var(--f7-autocomplete-dropdown-preloader-size);height:var(--f7-autocomplete-dropdown-preloader-size)}.autocomplete-dropdown .autocomplete-preloader-visible{display:block}.autocomplete-dropdown .autocomplete-dropdown-placeholder{color:var(--f7-autocomplete-dropdown-placeholder-color)}.autocomplete-dropdown .list{margin:0;color:var(--f7-autocomplete-dropdown-text-color);font-size:var(--f7-autocomplete-dropdown-font-size)}.autocomplete-dropdown .list b{color:var(--f7-autocomplete-dropdown-text-matching-color);font-weight:var(--f7-autocomplete-dropdown-text-matching-font-weight)}.autocomplete-dropdown .list ul{background:none!important}.autocomplete-dropdown .list ul:before,.autocomplete-dropdown .list ul:after{display:none!important}.autocomplete-dropdown .autocomplete-dropdown-selected{background:var(--f7-autocomplete-dropdown-selected-bg-color, rgba(var(--f7-theme-color-rgb), .2))}.searchbar-input-wrap .autocomplete-dropdown{background-color:var(--f7-searchbar-input-bg-color, var(--f7-searchbar-bg-color));border-radius:var(--f7-searchbar-input-border-radius);margin-top:calc(-1 * var(--f7-searchbar-input-height));top:100%;z-index:-1}.searchbar-input-wrap .autocomplete-dropdown .autocomplete-dropdown-inner{padding-top:var(--f7-searchbar-input-height)}.searchbar-input-wrap .autocomplete-dropdown .autocomplete-dropdown-placeholder{color:var(--f7-searchbar-placeholder-color)}.searchbar-input-wrap .autocomplete-dropdown li:last-child{border-radius:0 0 var(--f7-searchbar-input-border-radius) var(--f7-searchbar-input-border-radius);position:relative;overflow:hidden}.searchbar-input-wrap .autocomplete-dropdown .item-content{padding-left:calc(var(--f7-searchbar-input-padding-horizontal) + var(--f7-searchbar-input-extra-padding-left, 0px))}.ios .autocomplete-dropdown .autocomplete-preloader{right:16px;margin-bottom:12px}.md .autocomplete-page .navbar .autocomplete-preloader{margin-right:8px}.md .autocomplete-popup .navbar .autocomplete-preloader{margin-left:8px;margin-right:16px}.md .autocomplete-dropdown .autocomplete-preloader{right:16px;margin-bottom:8px}.md .autocomplete-dropdown .autocomplete-preloader circle{stroke-width:3}:root{--f7-tooltip-padding: 8px 16px;--f7-tooltip-font-size: 14px;--f7-tooltip-font-weight: 500;--f7-tooltip-desktop-padding: 6px 8px;--f7-tooltip-desktop-font-size: 12px}.ios{--f7-tooltip-border-radius: 4px;--f7-tooltip-bg-color: rgba(0, 0, 0, .87);--f7-tooltip-text-color: #fff}.md{--f7-tooltip-border-radius: 8px}.md,.md .dark,.md [class*=color-]{--f7-tooltip-bg-color: var(--f7-md-secondary);--f7-tooltip-text-color: var(--f7-md-on-secondary)}.tooltip{position:absolute;z-index:20000;background:var(--f7-tooltip-bg-color);border-radius:var(--f7-tooltip-border-radius);padding:var(--f7-tooltip-padding);color:var(--f7-tooltip-text-color);font-size:var(--f7-tooltip-font-size);font-weight:var(--f7-tooltip-font-weight);box-sizing:border-box;line-height:1.2;opacity:0;transform:scale(.9);transition-duration:.15s;transition-property:opacity,transform;z-index:99000}.tooltip.tooltip-in{transform:scale(1);opacity:1}.tooltip.tooltip-out{opacity:0;transform:scale(1)}.device-desktop .tooltip{font-size:var(--f7-tooltip-desktop-font-size);padding:var(--f7-tooltip-desktop-padding)}.gauge{position:relative;text-align:center;margin-left:auto;margin-right:auto;display:inline-block}.gauge-svg,.gauge svg{max-width:100%;height:auto}.gauge-svg circle,.gauge svg circle,.gauge-svg path,.gauge svg path{transition-duration:.4s}.skeleton-block{height:1em;background:var(--skeleton-color)!important;width:100%;display:block}@font-face{font-family:skeleton;src:url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAAAYAAA0AAAAAESgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABMAAAABoAAAAclcTxx09TLzIAAAFMAAAASwAAAGBRtV1jY21hcAAAAZgAAAC9AAABamglddJjdnQgAAACWAAAAAQAAAAEABEBRGdhc3AAAAJcAAAACAAAAAj//wADZ2x5ZgAAAmQAAACTAAAJdL6KsfZoZWFkAAAC+AAAAC4AAAA2GgvLb2hoZWEAAAMoAAAAGgAAACQC8ADFaG10eAAAA0QAAAATAAAAtAMAABFsb2NhAAADWAAAAK4AAACuaF5mEm1heHAAAAQIAAAAHwAAACAAmgA5bmFtZQAABCgAAAE5AAACNKbyxURwb3N0AAAFZAAAAJkAAADOCL0Ic3icY2BgYGQAgts30q6A6DvfXCthNABZwwgPAAB4nGNgYWRgnMDAysDA6MOYxsDA4A6lvzJIMrQwMDAxsHIywAAjAxIISHNNYWhgUGCoZTzw/wCDHuMBBgeYGsYDQB4DUI4RAOnYC70AeJxjYGBgZoBgGQZGBhBIAfIYwXwWBg8gzcfAwcDEwMagxKDFYM0QyxDPUPv/P1BcgUGNQYfBEchP/P///+P/D/7f/3/r/83/N6DmIAFGNga4ICMTkGBCVwB0AgsrkMHGzsHJxcDNw8vHLyAoJCwiKiYuISkFViMtIysnr6CopKyiqqauoamlraOrp29gaGRsYmpmzmDBYGllbWNrZ+/g6OTs4urm7uHp5e3j6+cfEBgUHBKK7iL6AwBJLiG7AAAAABEBRAAAAAH//wACeJztzrENwjAUBNA7O4nrXzBAREEHEm5dsERWyApZIStkBip7ggzCCmyAEmxCQYNESfG7r3un04eBAJjYwcLhGIlTSK7C/Ryb+haSNflEtCWuS5xcw0dILLkXLwcvexmHvme3XIU+rxFYZ4Jz3sROWiEuBgug9tXMh7lN21djxbu1Nf/pZzU1NTU1NbWf7QnZ5mwOAHicY2BkYGAAYrZdrHLx/DZfGbiZGEDgzjfXSgT9/wAjA+MBIJeDASwNAA4cCj0AAHicY2BkYGA88P8Agx6QAQSMYIQCWABQZgK3AAB4nGNkYBBkAAJGKB4KAAAOfQAVAAAAACoAKgAqADgARgBUAGIAcAB+AIwAmgCoALYAxADYAOYA9AECARABHgEsAToBSAFWAWQBcgGAAY4BnAGqAbgBxgHUAeIB8AH+AgwCGgIoAjYCRAJSAmACbgJ8AooCmAKmArQCwgLQAt4C7AL6AwgDFgMkAzIDQANOA1wDagN4A4YDlAOiA7ADvgPMA9oD6AP2BAQEEgQgBC4EPARKBFgEZgR0BIIEkASeBKwEugAAeJxjYGRgYAhj4GBgYgABEMnIABJzYNADCQAADScA1AB4nH2PvW7CMBSFj/krXSpeoJKHDiAR6mRAFStSVIkFMWToFhErWCQkMmFAVR+hax+hY5+vY0+MWTqQ6Mqfj4/vPQbwgB8IXL4xNp4Fhvj03MEdvj138YRfzz0MxbPnPkbizfOA+gedonfP3drdallghHfPHc798tzFKzNcuMc+j577kOLF84D6HktUqHGGhUGOHRpIZt5iwjWCYoWYkhMUSJHRVbIslRXdKanVS/Yw7hTLqj5bk+8aOd5OZKSicCqTIs1Maaxc7VJbpGVtMjqP2EPzuubQCgcKe13opiJtKOY4ud6WW52fipQQO2PjVkuHdilnzCmxYP1veVHbNwSYs64vQlwdmriyuZbRTMmFvI4mRmEwD9rcNxMmFC0Nxs9R/EOXRLk0SLQ9GjZUKpwppeStbn/Mg1tYAAAAeJxdzlkzggEARuGn1EXUWEJFubJU1iyRJcbQJoRC9t/dn8k3XXZu3plz8c4RNmI4kAkmZJzXkQ2bEBEVM2lKXMK0GbPmJM1bsCglHTwsWZaVs2LVmnUb8gqKNm3ZtmPXnpJ9Bw4dKTt2ouLUmXMXqi5duXbjVk1dQ1PLnbZ7Dx51PHn2oqsXdL151/fh05dvP379/QOXKRMwAAAA) format("woff");font-weight:100,200,300,400,500,600,700,800,900;font-style:normal,italic;font-display:block}.skeleton-text{font-family:skeleton!important;-webkit-user-select:none;user-select:none}.skeleton-text,.skeleton-text *{color:var(--skeleton-color)!important;letter-spacing:-.03em!important}.skeleton-image{display:inline-block}.skeleton-image svg{max-width:100%;height:auto}.skeleton-image polygon{fill:var(--skeleton-color)}.skeleton-image path{fill:var(--skeleton-icon-color)}.skeleton-avatar{display:inline-block}.skeleton-avatar svg{max-width:100%;height:auto}.skeleton-avatar rect{fill:var(--skeleton-color)}.skeleton-avatar path{fill:var(--skeleton-icon-color)}.skeleton-effect-blink,.skeleton-effect-wave{-webkit-mask-image:linear-gradient(to right,transparent 0%,black 25%,black 75%,transparent 100%);mask-image:linear-gradient(to right,transparent 0%,black 25%,black 75%,transparent 100%);-webkit-mask-size:200% 100%;mask-size:200% 100%;-webkit-mask-repeat:repeat;mask-repeat:repeat;-webkit-mask-position:50% top;mask-position:50% top;animation:skeleton-effect-wave 1s infinite}.skeleton-effect-fade{animation:skeleton-effect-fade 1s infinite}.skeleton-effect-pulse{animation:skeleton-effect-pulse 1s infinite}@keyframes skeleton-effect-fade{0%{opacity:1}50%{opacity:.2}to{opacity:1}}@keyframes skeleton-effect-wave{0%{-webkit-mask-position:50% top;mask-position:50% top}to{-webkit-mask-position:-150% top;mask-position:-150% top}}@keyframes skeleton-effect-pulse{0%{transform:scale(1)}40%{transform:scale(1)}50%{transform:scale(.975)}to{transform:scale(1)}}:root{--skeleton-color: #ccc;--skeleton-icon-color: rgba(0, 0, 0, .25)}.dark{--skeleton-color: #515151;--skeleton-icon-color: rgba(255, 255, 255, .25)}:root{--f7-color-picker-popover-width: 350px;--f7-color-picker-slider-size: 6px;--f7-color-picker-slider-knob-size: 16px;--f7-color-picker-bar-size: 50px;--f7-color-picker-bar-min-height: 260px;--f7-color-picker-value-width: 64px;--f7-color-picker-value-height: 32px;--f7-color-picker-value-font-size: 16px;--f7-color-picker-value-border-radius: 4px;--f7-color-picker-hex-value-width: 84px;--f7-color-picker-label-font-size: 14px;--f7-color-picker-label-width: 10px;--f7-color-picker-label-height: 14px;--f7-color-picker-sb-spectrum-height: 260px;--f7-color-picker-sb-spectrum-handle-size: 16px;--f7-color-picker-wheel-width: 330px;--f7-color-picker-palette-value-width: 36px;--f7-color-picker-palette-value-height: 36px;--f7-color-picker-initial-current-color-height: 40px;--f7-color-picker-initial-current-color-border-radius: 4px;--f7-color-picker-sheet-bg-color: #fff;--f7-color-picker-popup-bg-color: #fff;--f7-color-picker-value-bg-color: rgba(0, 0, 0, .05);--f7-color-picker-group-bg-color: rgba(0, 0, 0, .05);--f7-color-picker-group-value-bg-color: #fff}:root .dark,:root.dark{--f7-color-picker-sheet-bg-color: #121212;--f7-color-picker-popup-bg-color: #121212;--f7-color-picker-value-bg-color: rgba(255, 255, 255, .1);--f7-color-picker-group-bg-color: #000;--f7-color-picker-group-value-bg-color: rgba(255, 255, 255, .12)}.color-picker{overflow:hidden;width:100%;display:flex;flex-direction:column}.color-picker.color-picker-inline,.color-picker-popover .color-picker,.color-picker-popup .color-picker{position:relative}.color-picker-sheet-modal{background:var(--f7-color-picker-sheet-bg-color)}.color-picker-sheet-modal:before{z-index:600}.color-picker-sheet-modal .sheet-modal-inner{margin-bottom:var(--f7-safe-area-bottom)}.color-picker-popup .page{background:var(--f7-color-picker-popup-bg-color)}.color-picker-popup .page-content{padding-bottom:var(--f7-safe-area-bottom)}.color-picker-popover .color-picker,.color-picker-popup .color-picker,.color-picker-page .color-picker{height:100%}.color-picker-popover .color-picker .toolbar,.color-picker-popup .color-picker .toolbar,.color-picker-page .color-picker .toolbar{position:absolute}.color-picker-popover{width:var(--f7-color-picker-popover-width);max-width:90vw;max-height:80vh}.md .color-picker-popover .popover-inner{padding:8px}.color-picker-popover .color-picker{max-height:80vh}.color-picker-popover .toolbar-top{border-top-left-radius:var(--f7-popover-border-radius);border-top-right-radius:var(--f7-popover-border-radius)}.color-picker-popover .color-picker-module-palette{overflow:hidden;flex-shrink:0}.color-picker-popover .color-picker-module-palette:first-child{border-top-left-radius:var(--f7-popover-border-radius);border-top-right-radius:var(--f7-popover-border-radius)}.color-picker-popover .color-picker-module-palette:last-child{border-bottom-left-radius:var(--f7-popover-border-radius);border-bottom-right-radius:var(--f7-popover-border-radius)}.color-picker-popover .color-picker-module-palette:first-child:last-child{border-radius:var(--f7-popover-border-radius)}.color-picker-popover .toolbar~.page-content .color-picker-module-palette:first-child{border-top-left-radius:0;border-top-right-radius:0}.color-picker-popup .page-content,.color-picker-popover .page-content,.color-picker-sheet-modal .page-content,.color-picker-page .page-content{display:flex;justify-content:flex-start;align-items:stretch;flex-direction:column;overflow-x:hidden}.color-picker-module{margin-top:5px}.color-picker-module:last-child{margin-bottom:5px}.color-picker-module-sb-spectrum,.color-picker-module-hs-spectrum{margin-left:10px;margin-right:10px}.color-picker-module-sb-spectrum:first-child,.color-picker-module-hs-spectrum:first-child{margin-top:10px}.color-picker-module-sb-spectrum .color-picker-sb-spectrum,.color-picker-module-hs-spectrum .color-picker-sb-spectrum,.color-picker-module-sb-spectrum .color-picker-hs-spectrum,.color-picker-module-hs-spectrum .color-picker-hs-spectrum{height:var(--f7-color-picker-sb-spectrum-height)}.ios .color-picker-module-sb-spectrum .color-picker-sb-spectrum,.ios .color-picker-module-hs-spectrum .color-picker-sb-spectrum,.ios .color-picker-module-sb-spectrum .color-picker-hs-spectrum,.ios .color-picker-module-hs-spectrum .color-picker-hs-spectrum{border-radius:4px}.md .color-picker-module-sb-spectrum .color-picker-sb-spectrum,.md .color-picker-module-hs-spectrum .color-picker-sb-spectrum,.md .color-picker-module-sb-spectrum .color-picker-hs-spectrum,.md .color-picker-module-hs-spectrum .color-picker-hs-spectrum{border-radius:12px}.md .color-picker-module-sb-spectrum .color-picker-sb-spectrum:after,.md .color-picker-module-hs-spectrum .color-picker-sb-spectrum:after,.md .color-picker-module-sb-spectrum .color-picker-hs-spectrum:after,.md .color-picker-module-hs-spectrum .color-picker-hs-spectrum:after{border-radius:inherit}.color-picker-sb-spectrum{background-color:#000;background-image:linear-gradient(to bottom,rgba(0,0,0,0) 0%,#000 100%),linear-gradient(to left,rgba(255,255,255,0) 0%,#fff 100%);position:relative}.color-picker-hs-spectrum{position:relative;background-image:linear-gradient(to right,hsl(0,100%,50%),hsl(60,100%,50%),hsl(120,100%,50%),hsl(180,100%,50%),hsl(240,100%,50%),hsl(300,100%,50%),hsl(0,100%,50%))}.color-picker-hs-spectrum:after{content:"";position:absolute;left:0;top:0;width:100%;height:100%;background-image:linear-gradient(to bottom,rgba(255,255,255,0),#ffffff)}.color-picker-sb-spectrum-handle,.color-picker-hs-spectrum-handle{width:4px;height:4px;position:absolute;left:-2px;top:-2px;z-index:1}.color-picker-sb-spectrum-handle:after,.color-picker-hs-spectrum-handle:after{background-color:inherit;content:"";position:absolute;width:var(--f7-color-picker-sb-spectrum-handle-size);height:var(--f7-color-picker-sb-spectrum-handle-size);border:1px solid #fff;border-radius:50%;box-shadow:0 0 2px #00000080;box-sizing:border-box;left:50%;top:50%;transform:translate(-50%,-50%);transition:.15s;transition-property:transform;transform-origin:center}.color-picker-sb-spectrum-handle.color-picker-sb-spectrum-handle-pressed:after,.color-picker-hs-spectrum-handle.color-picker-sb-spectrum-handle-pressed:after,.color-picker-sb-spectrum-handle.color-picker-hs-spectrum-handle-pressed:after,.color-picker-hs-spectrum-handle.color-picker-hs-spectrum-handle-pressed:after{transform:scale(1.5) translate(-33.333%,-33.333%)}.color-picker-module-wheel{margin-left:10px;margin-right:10px}.color-picker-wheel{position:relative;width:var(--f7-color-picker-wheel-width);max-width:100%;height:auto;font-size:0;margin-left:auto;margin-right:auto}.color-picker-wheel svg{width:100%;height:auto}.color-picker-wheel .color-picker-wheel-handle{width:16.66666667%;height:16.66666667%;position:absolute;box-sizing:border-box;border:2px solid #fff;box-shadow:0 0 5px #00000080;background:red;border-radius:50%;left:0;top:0}.color-picker-wheel .color-picker-sb-spectrum{width:45%;height:45%;left:50%;top:50%;transform:translate3d(-50%,-50%,0);position:absolute}.color-picker-slider-wrap{display:flex;align-items:center;margin-bottom:2px}.color-picker-slider-wrap+.color-picker-slider-wrap{margin-top:5px}.color-picker-hex-wrap{justify-content:space-between;display:flex;align-items:center}.color-picker-slider-label,.color-picker-hex-label{font-size:var(--f7-color-picker-label-font-size);width:var(--f7-color-picker-label-size);flex-shrink:0;margin-right:12px}.color-picker-hex-label{width:auto}.color-picker-bar-value,.color-picker-slider-value,.color-picker-hex-value{width:var(--f7-color-picker-value-width);height:var(--f7-color-picker-value-height);background:var(--f7-color-picker-value-bg-color);border-radius:var(--f7-color-picker-value-border-radius);text-align:center;font-size:var(--f7-color-picker-value-font-size);display:flex;justify-content:center;align-items:center;flex-shrink:0;margin-left:10px}.color-picker-bar-value input,.color-picker-slider-value input,.color-picker-hex-value input{width:100%;height:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;outline:0;background:transparent;color:inherit;font-family:inherit;font-size:inherit;text-align:center;display:block;border-radius:4px}.color-picker-bar-value input::-webkit-inner-spin-button,.color-picker-slider-value input::-webkit-inner-spin-button,.color-picker-hex-value input::-webkit-inner-spin-button,.color-picker-bar-value input::-webkit-outer-spin-button,.color-picker-slider-value input::-webkit-outer-spin-button,.color-picker-hex-value input::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0;display:none}.color-picker-hex-value{width:var(--f7-color-picker-hex-value-width)}.color-picker-hex-value:first-child{margin-left:auto}.color-picker-slider{--f7-range-bar-active-bg-color: transparent;--f7-range-bar-size: var(--f7-color-picker-slider-size);--f7-range-bar-border-radius: var(--f7-color-picker-slider-size);--f7-range-knob-size: var(--f7-color-picker-slider-knob-size);--f7-range-knob-box-shadow: 0 1px 2px rgba(0, 0, 0, .3)}.color-picker-slider .range-knob{transition-duration:.2s;transition-property:transform}.color-picker-slider .range-knob:after{width:30px;height:30px;margin-left:-16px;margin-top:-16px}.color-picker-slider .range-knob-active-state .range-knob{transform:scale(1.5)}.md .color-picker-slider.range-slider-min:not(.range-slider-dual) .range-knob{background:var(--f7-range-knob-color)!important;border:none}.color-picker-module-rgb-bars{display:flex;justify-content:space-around;justify-content:space-evenly;align-items:stretch;height:100%;min-height:var(--f7-color-picker-bar-min-height);padding-bottom:10px;padding-top:10px;box-sizing:border-box}.color-picker-bar-wrap{display:flex;align-items:center;flex-direction:column-reverse}.color-picker-bar{--f7-range-bar-active-bg-color: transparent;--f7-range-bar-size: var(--f7-color-picker-bar-size);--f7-range-bar-border-radius: 2px;--f7-range-knob-size: 6px;--f7-range-knob-box-shadow: 0 0px 3px rgba(0, 0, 0, .3);--f7-range-knob-color: #fff}.color-picker-bar .range-knob{transition-duration:0ms;transition-property:transform;border-radius:3px}.color-picker-bar .range-knob-wrap{height:6px;width:calc(var(--f7-color-picker-bar-size) - 4px);margin-left:calc(-.5 * (var(--f7-color-picker-bar-size) - 4px))}.color-picker-bar .range-knob-active-state .range-knob{transform:scale(1)}.md .color-picker-bar.range-slider-min:not(.range-slider-dual) .range-knob{background:var(--f7-range-knob-color)!important;border:none}.color-picker-bar-label{font-size:var(--f7-color-picker-label-size);margin-top:12px;line-height:1;height:var(--f7-color-picker-label-height);flex-shrink:0}.color-picker-bar-value{margin-left:0;margin-bottom:10px}.color-picker-slider-alpha{--f7-range-knob-color: #fff}.color-picker-slider-alpha .range-bar{background-image:linear-gradient(to right,rgba(0,0,0,0),#000),linear-gradient(to right,rgba(255,255,255,.2) 50%,rgba(0,0,0,.2) 50%),linear-gradient(to left,rgba(255,255,255,.2) 50%,rgba(0,0,0,.2) 50%);background-size:100% 100%,6px 3px,6px 3px;background-position:0 0,0px 3px,0 0;background-repeat:repeat-y,repeat-x,repeat-x}.color-picker-slider-hue .range-bar{background-image:linear-gradient(to right,hsl(0,100%,50%),hsl(60,100%,50%),hsl(120,100%,50%),hsl(180,100%,50%),hsl(240,100%,50%),hsl(300,100%,50%),hsl(0,100%,50%))}.color-picker-slider-brightness .range-bar{background-image:linear-gradient(to right,#000,#fff)}.color-picker-module-palette{margin-top:16px}.color-picker-module-palette:first-child{margin-top:0}.color-picker-module-palette:last-child{margin-bottom:0}.color-picker-module-palette:first-child:last-child{margin:0}.color-picker-palette{display:flex;flex-wrap:wrap}.color-picker-palette-row{width:100%;display:flex;flex-wrap:nowrap}.color-picker-palette-row .color-picker-palette-value{width:100%}.color-picker-palette-value{width:var(--f7-color-picker-palette-value-width);height:var(--f7-color-picker-palette-value-height);cursor:pointer}.color-picker-module-initial-current-colors,.color-picker-module-current-color{margin-left:10px;margin-right:10px;border-radius:var(--f7-color-picker-initial-current-color-border-radius);overflow:hidden;flex-shrink:0}.color-picker-initial-color,.color-picker-current-color{height:var(--f7-color-picker-initial-current-color-height)}.color-picker-initial-current-colors{display:flex}.color-picker-initial-current-colors .color-picker-initial-color,.color-picker-initial-current-colors .color-picker-current-color{width:50%}.color-picker-module-rgb-sliders,.color-picker-module-hsb-sliders,.color-picker-module-alpha-slider,.color-picker-module-hue-slider,.color-picker-module-brightness-slider,.color-picker-module-hex{margin-left:10px;margin-right:10px}.color-picker-grouped-modules .color-picker-module-rgb-sliders,.color-picker-grouped-modules .color-picker-module-hsb-sliders,.color-picker-grouped-modules .color-picker-module-alpha-slider,.color-picker-grouped-modules .color-picker-module-hue-slider,.color-picker-grouped-modules .color-picker-module-brightness-slider,.color-picker-grouped-modules .color-picker-module-hex{background:var(--f7-color-picker-group-bg-color);padding:8px;border-radius:8px;margin-top:16px;margin-left:8px;margin-right:8px}.color-picker-grouped-modules .color-picker-module-rgb-sliders:last-child,.color-picker-grouped-modules .color-picker-module-hsb-sliders:last-child,.color-picker-grouped-modules .color-picker-module-alpha-slider:last-child,.color-picker-grouped-modules .color-picker-module-hue-slider:last-child,.color-picker-grouped-modules .color-picker-module-brightness-slider:last-child,.color-picker-grouped-modules .color-picker-module-hex:last-child{margin-bottom:16px}.color-picker-grouped-modules .color-picker-slider-value,.color-picker-grouped-modules .color-picker-hex-value{background:var(--f7-color-picker-group-value-bg-color)}.color-picker-grouped-modules .color-picker-slider-label,.color-picker-grouped-modules .color-picker-hex-label,.color-picker-grouped-modules .color-picker-module-rgb-sliders .range-slider:first-child,.color-picker-grouped-modules .color-picker-module-hsb-sliders .range-slider:first-child,.color-picker-grouped-modules .color-picker-module-alpha-slider .range-slider:first-child,.color-picker-grouped-modules .color-picker-module-hue-slider .range-slider:first-child,.color-picker-grouped-modules .color-picker-module-brightness-slider .range-slider:first-child{margin-left:5px}.color-picker-grouped-modules .color-picker-module-rgb-sliders .range-slider:last-child,.color-picker-grouped-modules .color-picker-module-hsb-sliders .range-slider:last-child,.color-picker-grouped-modules .color-picker-module-alpha-slider .range-slider:last-child,.color-picker-grouped-modules .color-picker-module-hue-slider .range-slider:last-child,.color-picker-grouped-modules .color-picker-module-brightness-slider .range-slider:last-child{margin-right:5px}:root{--f7-treeview-item-height: 34px;--f7-treeview-item-padding-left: 16px;--f7-treeview-item-padding-right: 16px;--f7-treeview-toggle-size: 24px;--f7-treeview-children-offset: 29px;--f7-treeview-label-font-weight: 400;--f7-treeview-label-text-color: inherit;--f7-treeview-icon-size: 24px;--f7-treeview-toggle-color: rgba(0, 0, 0, .5);--f7-treeview-toggle-hover-bg-color: rgba(0, 0, 0, .1);--f7-treeview-toggle-pressed-bg-color: rgba(0, 0, 0, .15);--f7-treeview-icon-color: rgba(0, 0, 0, .5);--f7-treeview-selectable-hover-bg-color: rgba(0, 0, 0, .1);--f7-treeview-link-hover-bg-color: rgba(0, 0, 0, .1);--f7-treeview-link-pressed-bg-color: rgba(0, 0, 0, .15)}:root .dark,:root.dark{--f7-treeview-toggle-color: rgba(255, 255, 255, .5);--f7-treeview-toggle-hover-bg-color: rgba(255, 255, 255, .03);--f7-treeview-toggle-pressed-bg-color: rgba(255, 255, 255, .1);--f7-treeview-icon-color: rgba(255, 255, 255, .75);--f7-treeview-selectable-hover-bg-color: rgba(255, 255, 255, .03);--f7-treeview-link-hover-bg-color: rgba(255, 255, 255, .03);--f7-treeview-link-pressed-bg-color: rgba(255, 255, 255, .11)}.ios{--f7-treeview-label-font-size: 17px}.md{--f7-treeview-label-font-size: 16px}.treeview-item-root{padding-left:var(--f7-treeview-item-padding-left);padding-right:var(--f7-treeview-item-padding-right);min-height:var(--f7-treeview-item-height);display:flex;align-items:center;justify-content:flex-start}.treeview-item-content{display:flex;justify-content:flex-start;align-items:center}.treeview-item-content>i,.treeview-item-content>.f7-icons,.treeview-item-content>.material-icons{font-size:var(--f7-treeview-icon-size);color:var(--f7-treeview-icon-color)}.treeview-item-content:first-child{margin-left:calc(var(--f7-treeview-toggle-size) + 5px)}.treeview-item-content>*+*{margin-left:5px}.treeview-item-label{font-size:var(--f7-treeview-label-font-size);font-weight:var(--f7-treeview-label-font-weight);color:var(--f7-treeview-label-text-color)}.treeview-toggle{width:var(--f7-treeview-toggle-size);height:var(--f7-treeview-toggle-size);cursor:pointer;border-radius:4px;background-color:#0000;transition-duration:.2s;position:relative;margin-right:5px}.treeview-toggle.active-state{background-color:var(--f7-treeview-toggle-pressed-bg-color)}.treeview-toggle:after{transition-duration:.2s;content:"";position:absolute;left:50%;top:50%;width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;transform:translate(-50%,-50%);border-left:6px solid var(--f7-treeview-toggle-color)}.treeview-toggle-hidden{opacity:0;pointer-events:none;visibility:hidden}.treeview-preloader{--f7-preloader-size: var(--f7-treeview-toggle-size);margin-right:calc(-1 * var(--f7-treeview-toggle-size))}.treeview-item-children{display:none}.treeview-item-opened>.treeview-item-children{display:block}.treeview-item-opened>.treeview-item-root .treeview-toggle:after{transform:translate(-50%,-50%) rotate(90deg)}a.treeview-item-root{color:var(--f7-treeview-label-text-color)}.treeview-item-selectable>.treeview-item-root,.treeview-item-selectable.treeview-item-root{cursor:pointer;transition-duration:.15s}a.treeview-item-root{transition-duration:.15s}a.treeview-item-root.active-state{background:var(--f7-treeview-link-pressed-bg-color)}.treeview-item-toggle>.treeview-item-root,.treeview-item-toggle.treeview-item-root{cursor:pointer}.treeview-item-selected>.treeview-item-root,.treeview-item-selected.treeview-item-root{background:var(--f7-treeview-selectable-selected-bg-color, rgba(var(--f7-theme-color-rgb), .2))}.treeview-item .treeview-item .treeview-item-root{padding-left:calc(var(--f7-treeview-item-padding-left) + var(--f7-treeview-children-offset) * 1)}.treeview-item .treeview-item .treeview-item .treeview-item-root{padding-left:calc(var(--f7-treeview-item-padding-left) + var(--f7-treeview-children-offset) * 2)}.treeview-item .treeview-item .treeview-item .treeview-item .treeview-item-root{padding-left:calc(var(--f7-treeview-item-padding-left) + var(--f7-treeview-children-offset) * 3)}.treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item-root{padding-left:calc(var(--f7-treeview-item-padding-left) + var(--f7-treeview-children-offset) * 4)}.treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item-root{padding-left:calc(var(--f7-treeview-item-padding-left) + var(--f7-treeview-children-offset) * 5)}.treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item-root{padding-left:calc(var(--f7-treeview-item-padding-left) + var(--f7-treeview-children-offset) * 6)}.treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item-root{padding-left:calc(var(--f7-treeview-item-padding-left) + var(--f7-treeview-children-offset) * 7)}.treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item-root{padding-left:calc(var(--f7-treeview-item-padding-left) + var(--f7-treeview-children-offset) * 8)}.treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item-root{padding-left:calc(var(--f7-treeview-item-padding-left) + var(--f7-treeview-children-offset) * 9)}.treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item .treeview-item-root{padding-left:calc(var(--f7-treeview-item-padding-left) + var(--f7-treeview-children-offset) * 10)}:root{--f7-text-editor-font-size: inherit;--f7-text-editor-font-weight: inherit;--f7-text-editor-border-width: 1px;--f7-text-editor-height: 250px;--f7-text-editor-margin: 16px;--f7-text-editor-padding: 8px;--f7-text-editor-button-bg-color: transparent;--f7-text-editor-button-size: 28px;--f7-text-editor-button-icon-size: 20px;--f7-text-editor-button-margin: 2px;--f7-text-editor-text-color: #000;--f7-text-editor-bg-color: #fff;--f7-text-editor-button-divider-color: rgba(0, 0, 0, .15)}:root .dark,:root.dark{--f7-text-editor-bg-color: #121212;--f7-text-editor-text-color: #fff;--f7-text-editor-button-divider-color: rgba(255, 255, 255, .15)}.ios{--f7-text-editor-toolbar-padding: 6px;--f7-text-editor-button-border-radius: 2px;--f7-text-editor-placeholder-color: rgba(0, 0, 0, .35);--f7-text-editor-toolbar-border-color: rgba(0, 0, 0, .25);--f7-text-editor-toolbar-bg-color: #fff;--f7-text-editor-border-color: rgba(0, 0, 0, .1);--f7-text-editor-button-text-color: #333}.ios .dark,.ios.dark{--f7-text-editor-placeholder-color: rgba(255, 255, 255, .35);--f7-text-editor-toolbar-bg-color: #121212;--f7-text-editor-toolbar-border-color: rgba(255, 255, 255, .1);--f7-text-editor-toolbar-bg-color: #202020;--f7-text-editor-border-color: rgba(255, 255, 255, .1);--f7-text-editor-button-text-color: #fff}.md{--f7-text-editor-button-border-radius: 8px;--f7-text-editor-toolbar-padding: 8px}.md,.md .dark,.md [class*=color-]{--f7-text-editor-placeholder-color: var(--f7-md-on-surface-variant);--f7-text-editor-toolbar-bg-color: var(--f7-md-surface-1);--f7-text-editor-border-color: var(--f7-md-outline);--f7-text-editor-button-text-color: var(--f7-md-on-surface)}.text-editor{margin:var(--f7-text-editor-margin);background-color:var(--f7-text-editor-bg-color);display:block;position:relative;border:var(--f7-text-editor-border-width) solid var(--f7-text-editor-border-color);display:flex;flex-direction:column;align-items:stretch;height:var(--f7-text-editor-height);box-sizing:border-box}.text-editor.text-editor-resizable{height:auto}.text-editor-toolbar{display:flex;flex-wrap:wrap;background:var(--f7-text-editor-toolbar-bg-color);z-index:100;position:relative;position:sticky;left:0;top:0;padding:var(--f7-text-editor-toolbar-padding);flex-shrink:0;box-sizing:border-box}.text-editor-toolbar:after{content:"";position:absolute;background-color:var(--f7-text-editor-toolbar-border-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}button.text-editor-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;padding:0;margin:0;outline:0;font-family:inherit;background:transparent;cursor:pointer;box-shadow:none;border-radius:var(--f7-text-editor-button-border-radius);position:relative;z-index:1;display:flex;width:auto;overflow:hidden;width:var(--f7-text-editor-button-size);height:var(--f7-text-editor-button-size);align-items:center;justify-content:center;margin:var(--f7-text-editor-button-margin);box-sizing:border-box;color:var(--f7-text-editor-button-text-color);background-color:var(--f7-text-editor-button-bg-color);flex-shrink:0}button.text-editor-button i,button.text-editor-button .f7-icons,button.text-editor-button .material-icons{font-size:var(--f7-text-editor-button-icon-size);font-style:normal}button.text-editor-button i sup,button.text-editor-button .f7-icons sup,button.text-editor-button .material-icons sup,button.text-editor-button i sub,button.text-editor-button .f7-icons sub,button.text-editor-button .material-icons sub{font-size:60%}.text-editor-button-divider{width:1px;background:var(--f7-text-editor-button-divider-color);margin:0 2px;flex-shrink:0}.text-editor-content{-webkit-user-modify:read-write;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;outline:0;height:100%;-webkit-user-select:text;user-select:text;padding:var(--f7-text-editor-padding);overflow:auto;flex-shrink:10;box-sizing:border-box;color:var(--f7-text-editor-text-color);font-size:var(--f7-text-editor-font-size);font-weight:var(--f7-text-editor-font-weight)}.text-editor-content .text-editor-placeholder{pointer-events:none;color:var(--f7-text-editor-placeholder-color)}.text-editor-content img{max-width:100%}.text-editor-content a{pointer-events:none}.text-editor-popover{z-index:12500;width:auto;max-width:80vw}.text-editor-popover .popover-inner{display:flex;flex-wrap:wrap;padding:3px}.text-editor-keyboard-toolbar{position:absolute;z-index:6000;--f7-safe-area-bottom: 0px}.text-editor-keyboard-toolbar .toolbar-inner{justify-content:flex-start!important;overflow:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;scrollbar-color:transparent}.text-editor-keyboard-toolbar .toolbar-inner::-webkit-scrollbar{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:0px;display:none;opacity:0;background:transparent}.text-editor-keyboard-toolbar .toolbar-inner::-webkit-scrollbar-track{box-shadow:none;background:transparent}.text-editor-keyboard-toolbar .toolbar-inner::-webkit-scrollbar-thumb{background-color:transparent;outline:none;border-radius:9999px;position:relative}.text-editor-keyboard-toolbar .toolbar-inner .text-editor-button-divider{height:100%}.item-input .text-editor{border:none;margin:0;background-color:var(--f7-input-bg-color, transparent)}.item-input .text-editor-content{padding-top:var(--f7-textarea-padding-vertical);padding-bottom:var(--f7-textarea-padding-vertical);padding-left:var(--f7-input-padding-left);padding-right:var(--f7-input-padding-right);color:var(--f7-input-text-color);font-size:var(--f7-input-font-size)}.item-input .text-editor-toolbar{box-shadow:none}.item-input .text-editor-toolbar:after{display:none!important}.item-input-outline .text-editor-content{border-radius:var(--f7-input-outline-border-radius)}.ios button.text-editor-button{transition:opacity .3s}.ios button.text-editor-button.active-state{opacity:.3;transition-duration:0ms}.md button.text-editor-button{--f7-touch-ripple-color: rgba(var(--f7-theme-color-rgb), .25)}.md .text-editor-keyboard-toolbar .toolbar-inner{padding-left:8px;padding-right:8px}.pie-chart{position:relative}.pie-chart svg{display:block;width:100%;font-size:0;height:auto;margin:0 auto}.pie-chart path{transition-duration:.15s}.pie-chart-hidden{opacity:.4}.pie-chart-tooltip{pointer-events:none;text-align:left;font-size:12px;line-height:1.4;white-space:nowrap;width:auto;max-width:none}.pie-chart-tooltip-label{display:flex;align-items:center}.pie-chart-tooltip-color{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:4px}:root{--f7-area-chart-current-line-stroke-width: 2px;--f7-area-chart-current-line-stroke: rgba(0, 0, 0, .15);--f7-area-chart-axis-text-color: inherit;--f7-area-chart-axis-height: 1px;--f7-area-chart-axis-font-size: 10px;--f7-area-chart-axis-font-weight: 500;--f7-area-chart-tooltip-font-size: 12px;--f7-area-chart-tooltip-total-font-size: 16px;--f7-area-chart-tooltip-total-font-weight: bold;--f7-area-chart-tooltip-color-size: 10px;--f7-area-chart-legend-font-size: 14px;--f7-area-chart-legend-font-weight: 500;--f7-area-chart-legend-text-color: inherit;--f7-area-chart-legend-padding: 4px 8px;--f7-area-chart-legend-border-radius: 4px;--f7-area-chart-legend-color-size: 14px;--f7-area-chart-line-stroke-width: 2px;--f7-area-chart-axis-bg-color: rgba(0, 0, 0, .15);--f7-area-chart-legend-disabled-text-color: rgba(0, 0, 0, .22)}:root .dark,:root.dark{--f7-area-chart-axis-bg-color: rgba(255, 255, 255, .15);--f7-area-chart-legend-disabled-text-color: rgba(255, 255, 255, .22)}.ios{--f7-area-chart-tooltip-total-label-text-color: rgba(255, 255, 255, .75)}.md{--f7-area-chart-tooltip-total-label-text-color: inherit}.area-chart{position:relative}.area-chart svg{display:block;width:100%;font-size:0;height:auto;margin:0 auto}.area-chart path{fill:none;stroke-width:var(--f7-area-chart-line-stroke-width)}.area-chart-current-line{stroke:var(--f7-area-chart-current-line-stroke);stroke-width:var(--f7-area-chart-current-line-stroke-width)}.area-chart-axis{height:var(--f7-area-chart-axis-height);background:var(--f7-area-chart-axis-bg-color);color:var(--f7-area-chart-axis-text-color);display:flex;font-size:var(--f7-area-chart-axis-font-size);font-weight:var(--f7-area-chart-axis-font-weight);justify-content:space-between;line-height:1;margin-bottom:2em}.area-chart-axis>span{padding-top:10px;width:0;display:flex;align-items:flex-start;justify-content:center;white-space:nowrap}.area-chart-axis>span:first-child{justify-content:flex-start}.area-chart-axis>span:last-child{justify-content:flex-end}.area-chart-tooltip{pointer-events:none;text-align:left;font-size:var(--f7-area-chart-tooltip-font-size);line-height:1.4}.area-chart-tooltip-label{color:var(--f7-area-chart-tooltip-total-label-text-color)}.area-chart-tooltip-total{font-size:var(--f7-area-chart-tooltip-total-font-size);font-weight:var(--f7-area-chart-tooltip-total-font-weight)}.area-chart-tooltip-list{list-style:none;margin:0;padding:0}.area-chart-tooltip-list li{white-space:nowrap}.area-chart-tooltip-list span{display:inline-block;width:var(--f7-area-chart-tooltip-color-size);height:var(--f7-area-chart-tooltip-color-size);border-radius:50%;margin-right:4px}.area-chart-axis~.area-chart-legend{margin-top:2em}.area-chart-legend{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;font-size:var(--f7-area-chart-legend-font-size);width:100%;margin-top:1em}.area-chart-legend-button{-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;background-color:transparent;border-radius:0;border:none;outline:0!important;cursor:pointer;font-family:inherit;font-size:inherit;box-shadow:none!important}.area-chart-legend-item{position:relative;color:var(--f7-area-chart-legend-text-color);width:auto;display:flex;align-items:center;font-weight:var(--f7-area-chart-legend-font-weight);transition-duration:.2s;padding:var(--f7-area-chart-legend-padding);border-radius:var(--f7-area-chart-legend-border-radius);overflow:hidden}.area-chart-legend-item span{width:var(--f7-area-chart-legend-color-size);height:var(--f7-area-chart-legend-color-size);margin-right:4px;border-radius:50%;transition-duration:.2s}.area-chart-legend-item-hidden{color:var(--f7-area-chart-legend-disabled-text-color)}.area-chart-legend-item-hidden span{background-color:var(--f7-area-chart-legend-disabled-text-color)!important}:root{--f7-breadcrumbs-spacing: 12px;--f7-breadcrumbs-padding: 2px 0;--f7-breadcrumbs-icon-size: 24px;--f7-breadcrumbs-separator-color: rgba(0, 0, 0, .35)}:root .dark,:root.dark{--f7-breadcrumbs-separator-color: rgba(255, 255, 255, .35)}.ios{--f7-breadcrumbs-item-bg-color: transparent;--f7-breadcrumbs-collapsed-border-radius: 4px;--f7-breadcrumbs-collapsed-padding: 0px 6px;--f7-breadcrumbs-separator-icon: "chevron_right_ios";--f7-breadcrumbs-font-size: 17px;--f7-breadcrumbs-item-border-radius: 0px;--f7-breadcrumbs-item-padding: 0px;--f7-breadcrumbs-item-font-weight: normal;--f7-breadcrumbs-item-active-font-weight: 600;--f7-breadcrumbs-item-color: rgba(0, 0, 0, .55);--f7-breadcrumbs-item-active-color: #000;--f7-breadcrumbs-collapsed-bg-color: rgba(0, 0, 0, .15);--f7-breadcrumbs-collapsed-color: rgba(0, 0, 0, .75)}.ios .dark,.ios.dark{--f7-breadcrumbs-item-color: rgba(255, 255, 255, .75);--f7-breadcrumbs-item-active-color: #fff;--f7-breadcrumbs-collapsed-bg-color: rgba(255, 255, 255, .15);--f7-breadcrumbs-collapsed-color: rgba(255, 255, 255, .75)}.md{--f7-breadcrumbs-collapsed-border-radius: 8px;--f7-breadcrumbs-collapsed-padding: 12px 8px;--f7-breadcrumbs-separator-icon: "chevron_right_md";--f7-breadcrumbs-font-size: 14px;--f7-breadcrumbs-item-border-radius: 8px;--f7-breadcrumbs-item-padding: 4px 8px;--f7-breadcrumbs-item-font-weight: 500;--f7-breadcrumbs-item-active-font-weight: 500}.md,.md .dark,.md [class*=color-]{--f7-breadcrumbs-item-color: var(--f7-theme-color);--f7-breadcrumbs-item-bg-color: var(--f7-md-secondary-container);--f7-breadcrumbs-item-active-color: var(--f7-md-on-secondary-container);--f7-breadcrumbs-collapsed-color: var(--f7-theme-color);--f7-breadcrumbs-collapsed-bg-color: var(--f7-md-secondary-container)}.breadcrumbs{display:flex;align-items:center;justify-content:flex-start;font-size:var(--f7-breadcrumbs-font-size);overflow:auto;white-space:nowrap;padding:var(--f7-breadcrumbs-padding);scrollbar-width:none;scrollbar-color:transparent}.breadcrumbs::-webkit-scrollbar{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:0px;display:none;opacity:0;background:transparent}.breadcrumbs::-webkit-scrollbar-track{box-shadow:none;background:transparent}.breadcrumbs::-webkit-scrollbar-thumb{background-color:transparent;outline:none;border-radius:9999px;position:relative}.breadcrumbs-separator,.breadcrumbs-item,.breadcrumbs-collapsed{flex-shrink:0;--f7-touch-ripple-color: transparent !important}.breadcrumbs-separator+.breadcrumbs-separator,.breadcrumbs-separator+.breadcrumbs-item,.breadcrumbs-separator+.breadcrumbs-collapsed,.breadcrumbs-item+.breadcrumbs-separator,.breadcrumbs-item+.breadcrumbs-item,.breadcrumbs-item+.breadcrumbs-collapsed,.breadcrumbs-collapsed+.breadcrumbs-separator,.breadcrumbs-collapsed+.breadcrumbs-item,.breadcrumbs-collapsed+.breadcrumbs-collapsed{margin-left:var(--f7-breadcrumbs-spacing)}.breadcrumbs-item{color:var(--f7-breadcrumbs-item-color);font-weight:var(--f7-breadcrumbs-item-font-weight);padding:var(--f7-breadcrumbs-item-padding);background-color:var(--f7-breadcrumbs-item-bg-color);display:flex;align-items:center;border-radius:var(--f7-breadcrumbs-item-border-radius)}.breadcrumbs-item .icon{font-size:var(--f7-breadcrumbs-icon-size);width:var(--f7-breadcrumbs-icon-size);height:var(--f7-breadcrumbs-icon-size)}.breadcrumbs-item a{color:inherit;--f7-touch-ripple-color: transparent !important}.breadcrumbs-item-active{color:var(--f7-breadcrumbs-item-active-color, var(--f7-breadcrumbs-item-color));font-weight:var(--f7-breadcrumbs-item-active-font-weight)}.breadcrumbs-separator{color:var(--f7-breadcrumbs-separator-color);height:24px;overflow:hidden;display:flex;align-items:center}.breadcrumbs-separator:after{font-family:framework7-core-icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga";text-align:center;display:block;width:100%;height:100%;font-size:20px;content:var(--f7-breadcrumbs-separator-icon);width:12px}.ios .breadcrumbs-separator:after{font-size:12px;height:11px}.md .breadcrumbs-separator:after{font-size:18px;height:18px}.breadcrumbs-collapsed{display:flex;align-items:center;padding:var(--f7-breadcrumbs-collapsed-padding);background:var(--f7-breadcrumbs-collapsed-bg-color);min-height:1em;border-radius:var(--f7-breadcrumbs-collapsed-border-radius);cursor:pointer}.breadcrumbs-collapsed:before,.breadcrumbs-collapsed:after,.breadcrumbs-collapsed span{content:"";width:4px;height:4px;background:var(--f7-breadcrumbs-collapsed-color);border-radius:50%}.breadcrumbs-collapsed span{margin:0 3px}:root{--f7-typography-padding: 16px;--f7-typography-margin: 16px}.display-flex{display:flex!important}.display-block{display:block!important}.display-inline-flex{display:inline-flex!important}.display-inline-block{display:inline-block!important}.display-inline{display:inline!important}.display-none{display:none!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-shrink-2{flex-shrink:2!important}.flex-shrink-3{flex-shrink:3!important}.flex-shrink-4{flex-shrink:4!important}.flex-shrink-5{flex-shrink:5!important}.flex-shrink-6{flex-shrink:6!important}.flex-shrink-7{flex-shrink:7!important}.flex-shrink-8{flex-shrink:8!important}.flex-shrink-9{flex-shrink:9!important}.flex-shrink-10{flex-shrink:10!important}.flex-direction-row{flex-direction:row!important}.flex-direction-row-reverse{flex-direction:row-reverse!important}.flex-direction-column{flex-direction:column!important}.flex-direction-column-reverse{flex-direction:column-reverse!important}.justify-content-flex-start{justify-content:flex-start!important}.justify-content-center{justify-content:center!important}.justify-content-flex-end{justify-content:flex-end!important}.justify-content-space-between{justify-content:space-between!important}.justify-content-space-around{justify-content:space-around!important}.justify-content-space-evenly{justify-content:space-evenly!important}.justify-content-stretch{justify-content:stretch!important}.justify-content-start{justify-content:start!important}.justify-content-end{justify-content:end!important}.justify-content-left{justify-content:left!important}.justify-content-right{justify-content:right!important}.align-content-flex-start{align-content:flex-start!important}.align-content-flex-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-space-between{align-content:space-between!important}.align-content-space-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-items-baseline{align-items:baseline!important}.align-items-flex-start{align-items:flex-start!important}.align-items-flex-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-stretch{align-items:stretch!important}.align-self-flex-start{align-self:flex-start!important}.align-self-flex-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-stretch{align-self:stretch!important}.text-align-left{text-align:left!important}.text-align-center{text-align:center!important}.text-align-right{text-align:right!important}.text-align-justify{text-align:justify!important}.float-left{float:left!important}.float-right{float:right!important}.float-none{float:none!important}.vertical-align-bottom{vertical-align:bottom!important}.vertical-align-middle{vertical-align:middle!important}.vertical-align-top{vertical-align:top!important}.no-padding{padding:0!important}.no-padding-left{padding-left:0!important}.no-padding-right{padding-right:0!important}.no-padding-horizontal{padding-left:0!important;padding-right:0!important}.no-padding-top{padding-top:0!important}.no-padding-bottom{padding-bottom:0!important}.no-padding-vertical{padding-top:0!important;padding-bottom:0!important}.no-margin{margin:0!important}.no-margin-left{margin-left:0!important}.no-margin-right{margin-right:0!important}.no-margin-horizontal{margin-left:0!important;margin-right:0!important}.no-margin-top{margin-top:0!important}.no-margin-bottom{margin-bottom:0!important}.no-margin-vertical{margin-top:0!important;margin-bottom:0!important}.width-auto{width:auto!important}.width-100{width:100%!important}.padding{padding:var(--f7-typography-padding)!important}.padding-half{padding:calc(var(--f7-typography-padding) / 2)!important}.padding-top{padding-top:var(--f7-typography-padding)!important}.padding-top-half{padding-top:calc(var(--f7-typography-padding) / 2)!important}.padding-bottom{padding-bottom:var(--f7-typography-padding)!important}.padding-bottom-half{padding-bottom:calc(var(--f7-typography-padding) / 2)!important}.padding-left{padding-left:var(--f7-typography-padding)!important}.padding-left-half{padding-left:calc(var(--f7-typography-padding) / 2)!important}.padding-right{padding-right:var(--f7-typography-padding)!important}.padding-right-half{padding-right:calc(var(--f7-typography-padding) / 2)!important}.padding-vertical{padding-top:var(--f7-typography-padding)!important;padding-bottom:var(--f7-typography-padding)!important}.padding-vertical-half{padding-top:calc(var(--f7-typography-padding) / 2)!important;padding-bottom:calc(var(--f7-typography-padding) / 2)!important}.padding-horizontal{padding-left:var(--f7-typography-padding)!important;padding-right:var(--f7-typography-padding)!important}.padding-horizontal-half{padding-left:calc(var(--f7-typography-padding) / 2)!important;padding-right:calc(var(--f7-typography-padding) / 2)!important}.margin{margin:var(--f7-typography-margin)!important}.margin-half{margin:calc(var(--f7-typography-margin) / 2)!important}.margin-top{margin-top:var(--f7-typography-margin)!important}.margin-top-half{margin-top:calc(var(--f7-typography-margin) / 2)!important}.margin-bottom{margin-bottom:var(--f7-typography-margin)!important}.margin-bottom-half{margin-bottom:calc(var(--f7-typography-margin) / 2)!important}.margin-left{margin-left:var(--f7-typography-margin)!important}.margin-left-half{margin-left:calc(var(--f7-typography-margin) / 2)!important}.margin-right{margin-right:var(--f7-typography-margin)!important}.margin-right-half{margin-right:calc(var(--f7-typography-margin) / 2)!important}.margin-vertical{margin-top:var(--f7-typography-margin)!important;margin-bottom:var(--f7-typography-margin)!important}.margin-vertical-half{margin-top:calc(var(--f7-typography-margin) / 2)!important;margin-bottom:calc(var(--f7-typography-margin) / 2)!important}.margin-horizontal{margin-left:var(--f7-typography-margin)!important;margin-right:var(--f7-typography-margin)!important}.margin-horizontal-half{margin-left:calc(var(--f7-typography-margin) / 2)!important;margin-right:calc(var(--f7-typography-margin) / 2)!important}[class*=text-color-]{color:var(--f7-theme-color-text-color)!important}[class*=bg-color-]{background-color:var(--f7-theme-color-bg-color)!important}[class*=border-color-]{border-color:var(--f7-theme-color-border-color)!important}@font-face{font-family:Material Icons;font-style:normal;font-weight:400;src:local("Material Icons"),local("MaterialIcons-Regular"),url(/assets/material-icons-8265f647.woff2) format("woff2"),url(/assets/material-icons-fd84f88b.woff) format("woff")}.material-icons{font-family:Material Icons;font-weight:400;font-style:normal;font-size:24px;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}@font-face{font-family:Framework7 Icons;font-style:normal;font-weight:400;src:url(/assets/Framework7Icons-Regular-a42aa071.woff2) format("woff2"),url(/assets/Framework7Icons-Regular-eba1e821.woff) format("woff")}.f7-icons{font-family:Framework7 Icons;font-weight:400;font-style:normal;font-size:28px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga";text-align:center}@font-face{font-family:OptimaRegular;src:url(OptimaRegular.ttf)}.osd{width:100vw;height:100vh}.osd-image-outer{display:flex;height:600px;align-items:center}.osd-image-container{display:flex;margin-left:40px;margin-top:40px;opacity:1;transition:opacity .4s ease-in-out,transform .4s ease-in-out}.osd-image{object-fit:contain;border-radius:20px;border:8px solid white;height:100%;max-width:600px;max-height:600px}.osd-question-container{display:flex;width:calc(100vw - 80px);position:absolute;bottom:0;margin-left:40px;margin-right:40px;margin-bottom:20px;left:0;transition:opacity .4s ease-in-out}.osd-logo{width:350px}.osd-question{margin-left:40px;background-image:linear-gradient(to bottom,rgb(242,163,37),rgb(210,114,20));width:calc(100vw - 470px);min-height:130px;border-radius:20px;transition:opacity .4s ease-in-out,transform .4s ease-in-out}.osd-question-flex{display:flex;align-content:center;height:100%;min-height:130px}.osd-question-title-container{position:absolute;background-image:linear-gradient(to bottom,rgb(242,88,10),rgb(210,6,5));padding:15px;margin-left:40px;top:-40px;height:30px;border-radius:20px}.osd-question-title,.osd-question-text{color:#fff;margin:0;font-family:OptimaRegular}.osd-question-title{font-size:30px}.osd-question-text{font-size:40px;padding:30px 20px 20px;display:flex;align-self:center}.osd-answer-container{display:flex;margin-left:40px;margin-top:20px;flex-wrap:wrap;column-gap:38px}.osd-answer{min-width:690px;max-width:690px;height:60px;background-image:linear-gradient(to bottom,#ACACAC,gray);margin-bottom:20px;border-radius:20px;display:flex;align-items:center;padding-left:15px;transition:opacity .4s ease-in-out,transform .4s ease-in-out}.osd-answer-correct{background-image:linear-gradient(to bottom,#00A300,green)}.osd-answer-text{color:#fff;margin:0;font-family:OptimaRegular}.osd-answer-emoji{margin-right:10px;font-size:30px}.osd-nodisplay{display:none!important}.osd-transparent{opacity:0}.osd-image-state-small{transform:scale(.9)}.osd-image-state-big{transform:scale(1.1)}.osd-timer-container{display:flex;position:fixed;width:100vw;bottom:10px;justify-content:center}.osd-timer{font-family:OptimaRegular;font-size:128px;color:#fff;margin:0}.osd-clock{font-family:OptimaRegular;font-size:30px;position:fixed;left:20px;bottom:7px}.osd-stats{width:500px;height:350px}.osd-stats-container{background-color:#fff;border-radius:20px;padding:20px;width:500px;height:350px}.osd-stats-canvas{width:500px;height:350px}:root{--f7-toolbar-font-size: 12px}.page-registration{--f7-list-inset-side-margin: 0px;--f7-list-margin-vertical: 5px}.view-main{background-color:#000}.lobby-main-box{padding:10px;margin:10px;background-color:#fffc;border-radius:20px;color:#000;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);min-width:300px;min-height:300px}.dark-background-page{background-color:#000;color:#fff}.headline-no-margin{margin-bottom:0}.portal-block{margin-top:20px;margin-bottom:20px}.portal-container{background-color:#fffc;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:20px;color:#000;padding:15px}.portal-container-top{margin-bottom:15px}.portal-container-loading{display:flex;justify-content:center;align-items:center;flex-direction:column}.portal-container-fullheight{height:calc(100vh - 158px);overflow-y:scroll}.portal-container-remainingheight{flex-grow:1}.portal-container-divider{display:flex;flex-direction:column}.portal-no-margin{margin:0}.portal-no-margin-top{margin-top:10px}.portal-no-margin-bottom{margin-bottom:10px}.live-question-separator{height:1px;background-color:gray;margin-top:5px}.messages-portal{min-height:calc(100% - 100px);max-height:calc(100vh - 265px);overflow-y:auto;background:none}.messagebar-area{background-color:#fff;border-radius:16px}.scoreboard-small{height:calc(100vh - 520px)}.chat-list-selected{background-color:var(--f7-ios-primary-shade)}.messagebar-backoffice textarea{color:#000}.messagebar-backoffice textarea::placeholder{color:gray}.background-video{width:100vw;height:100vh;object-fit:cover;position:fixed;left:0;right:0;top:0;bottom:0;z-index:-1}.question-title-multiline{text-overflow:unset;overflow:unset;overflow-wrap:anywhere;white-space:break-spaces}.multiline-list .item-title{white-space:break-spaces} diff --git a/index.html b/index.html index e567e91..6cb694b 100644 --- a/index.html +++ b/index.html @@ -14,8 +14,8 @@ - - + +