diff --git a/LICENSE b/LICENSE index bdde495..fe1a19e 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020-2024 bluefox +Copyright (c) 2020-2025 bluefox Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index e187244..fb731e2 100644 --- a/README.md +++ b/README.md @@ -32,8 +32,8 @@ sendTo('cameras.0', 'image', { The result is always in `jpg` format. Supported cameras: -- Reolink E1 Pro via RTSP (important, without `Pro` it will not work) -- Eufy via eusec adapter +- `Reolink E1 Pro` via RTSP (important, without `Pro` it will not work) +- `Eufy` via eusec adapter - [HiKam](https://support.hikam.de/support/solutions/articles/16000070656-zugriff-auf-kameras-der-2-generation-via-onvif-f%C3%BCr-s6-q8-a7-2-generation-) of second and third generation via ONVIF (für S6, Q8, A7 2. Generation), A7 Pro, A9 - [WIWICam M1 via HiKam adapter](https://www.wiwacam.com/de/mw1-minikamera-kurzanleitung-und-faq/) - RTSP Native - if your camera supports RTSP protocol @@ -47,7 +47,7 @@ This is URL request for image, where all parameters are in URL, but you can prov ### FFmpeg If you want to access snapshots on RTSP cameras, you can use ffmpeg. You need to install ffmpeg on your system: -- Windows has precompiled ffmpeg and there is no need to download anything. (Windows version is taken from here: https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-essentials.7z) +- Windows has precompiled ffmpeg and there is no need to download anything. (Windows version is taken from here: https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-full.7z) - Linux: `sudo apt-get install ffmpeg -y` Here is an example of how to add Reolink E1: @@ -56,8 +56,8 @@ Here is an example of how to add Reolink E1: ## How to add a new camera (For developers) To add a new camera, you must create a Pull Request on GitHub with the following changes: -- Add new file into `cameras` folder. This is a backend to read the single image from the camera. -- Add GUI file in the `src/src/Types/` folder. This is the configuration dialog for the camera +- Add a new file into `cameras` folder. This is a backend to read the single image from the camera. +- Add a GUI file in the `src/src/Types/` folder. This is the configuration dialog for the camera - Add this dialog in `src/src/Tabs/Cameras.js` file analogical as other cameras are added. Only two lines should be added: - Import new configuration dialog like `import RTSPMyCamConfig from '../Types/RTSPMyCam';` - Extend `TYPES` structure with the new camera like `mycam: { Config: RTSPMyCamConfig, name: 'MyCam' },` @@ -140,7 +140,7 @@ To add a new camera, you must create a Pull Request on GitHub with the following ## License MIT License -Copyright (c) 2020-2024 bluefox +Copyright (c) 2020-2025 bluefox Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/admin/assets/index-DSdrsOJ-.js b/admin/assets/index-DSdrsOJ-.js new file mode 100644 index 0000000..ecbe3c8 --- /dev/null +++ b/admin/assets/index-DSdrsOJ-.js @@ -0,0 +1,614 @@ +var cj=Object.defineProperty;var vC=t=>{throw TypeError(t)};var uj=(t,e,r)=>e in t?cj(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var dj=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Y=(t,e,r)=>uj(t,typeof e!="symbol"?e+"":e,r),pj=(t,e,r)=>e.has(t)||vC("Cannot "+r);var bC=(t,e,r)=>(pj(t,e,"read from private field"),r?r.call(t):e.get(t)),wC=(t,e,r)=>e.has(t)?vC("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r);var vet=dj((Nn,Mn)=>{function fj(t,e){for(var r=0;rn[o]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function r(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(o){if(o.ep)return;o.ep=!0;const s=r(o);fetch(o.href,s)}})();var Sp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function da(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var x_={exports:{}},Lc={},S_={exports:{}},_t={};/** + * @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 xC;function hj(){if(xC)return _t;xC=1;var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),a=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),d=Symbol.iterator;function _(L){return L===null||typeof L!="object"?null:(L=d&&L[d]||L["@@iterator"],typeof L=="function"?L:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,w={};function x(L,Q,fe){this.props=L,this.context=Q,this.refs=w,this.updater=fe||g}x.prototype.isReactComponent={},x.prototype.setState=function(L,Q){if(typeof L!="object"&&typeof L!="function"&&L!=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,L,Q,"setState")},x.prototype.forceUpdate=function(L){this.updater.enqueueForceUpdate(this,L,"forceUpdate")};function C(){}C.prototype=x.prototype;function M(L,Q,fe){this.props=L,this.context=Q,this.refs=w,this.updater=fe||g}var $=M.prototype=new C;$.constructor=M,v($,x.prototype),$.isPureReactComponent=!0;var E=Array.isArray,k=Object.prototype.hasOwnProperty,T={current:null},A={key:!0,ref:!0,__self:!0,__source:!0};function I(L,Q,fe){var me,ye={},we=null,Me=null;if(Q!=null)for(me in Q.ref!==void 0&&(Me=Q.ref),Q.key!==void 0&&(we=""+Q.key),Q)k.call(Q,me)&&!A.hasOwnProperty(me)&&(ye[me]=Q[me]);var Oe=arguments.length-2;if(Oe===1)ye.children=fe;else if(1>>1,Q=Z[L];if(0>>1;Lo(ye,ne))weo(Me,ye)?(Z[L]=Me,Z[we]=ne,L=we):(Z[L]=ye,Z[me]=ne,L=me);else if(weo(Me,ne))Z[L]=Me,Z[we]=ne,L=we;else break e}}return J}function o(Z,J){var ne=Z.sortIndex-J.sortIndex;return ne!==0?ne:Z.id-J.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;t.unstable_now=function(){return s.now()}}else{var a=Date,l=a.now();t.unstable_now=function(){return a.now()-l}}var u=[],p=[],h=1,d=null,_=3,g=!1,v=!1,w=!1,x=typeof setTimeout=="function"?setTimeout:null,C=typeof clearTimeout=="function"?clearTimeout:null,M=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function $(Z){for(var J=r(p);J!==null;){if(J.callback===null)n(p);else if(J.startTime<=Z)n(p),J.sortIndex=J.expirationTime,e(u,J);else break;J=r(p)}}function E(Z){if(w=!1,$(Z),!v)if(r(u)!==null)v=!0,X(k);else{var J=r(p);J!==null&&re(E,J.startTime-Z)}}function k(Z,J){v=!1,w&&(w=!1,C(I),I=-1),g=!0;var ne=_;try{for($(J),d=r(u);d!==null&&(!(d.expirationTime>J)||Z&&!F());){var L=d.callback;if(typeof L=="function"){d.callback=null,_=d.priorityLevel;var Q=L(d.expirationTime<=J);J=t.unstable_now(),typeof Q=="function"?d.callback=Q:d===r(u)&&n(u),$(J)}else n(u);d=r(u)}if(d!==null)var fe=!0;else{var me=r(p);me!==null&&re(E,me.startTime-J),fe=!1}return fe}finally{d=null,_=ne,g=!1}}var T=!1,A=null,I=-1,j=5,O=-1;function F(){return!(t.unstable_now()-OZ||125L?(Z.sortIndex=ne,e(p,Z),r(u)===null&&Z===r(p)&&(w?(C(I),I=-1):w=!0,re(E,ne-L))):(Z.sortIndex=Q,e(u,Z),v||g||(v=!0,X(k))),Z},t.unstable_shouldYield=F,t.unstable_wrapCallback=function(Z){var J=_;return function(){var ne=_;_=J;try{return Z.apply(this,arguments)}finally{_=ne}}}}(k_)),k_}var $C;function yj(){return $C||($C=1,E_.exports=gj()),E_.exports}/** + * @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 TC;function vj(){if(TC)return un;TC=1;var t=ri(),e=yj();function r(i){for(var c="https://reactjs.org/docs/error-decoder.html?invariant="+i,f=1;f"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),u=Object.prototype.hasOwnProperty,p=/^[: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]*$/,h={},d={};function _(i){return u.call(d,i)?!0:u.call(h,i)?!1:p.test(i)?d[i]=!0:(h[i]=!0,!1)}function g(i,c,f,y){if(f!==null&&f.type===0)return!1;switch(typeof c){case"function":case"symbol":return!0;case"boolean":return y?!1:f!==null?!f.acceptsBooleans:(i=i.toLowerCase().slice(0,5),i!=="data-"&&i!=="aria-");default:return!1}}function v(i,c,f,y){if(c===null||typeof c>"u"||g(i,c,f,y))return!0;if(y)return!1;if(f!==null)switch(f.type){case 3:return!c;case 4:return c===!1;case 5:return isNaN(c);case 6:return isNaN(c)||1>c}return!1}function w(i,c,f,y,b,S,P){this.acceptsBooleans=c===2||c===3||c===4,this.attributeName=y,this.attributeNamespace=b,this.mustUseProperty=f,this.propertyName=i,this.type=c,this.sanitizeURL=S,this.removeEmptyString=P}var x={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(i){x[i]=new w(i,0,!1,i,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(i){var c=i[0];x[c]=new w(c,1,!1,i[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(i){x[i]=new w(i,2,!1,i.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(i){x[i]=new w(i,2,!1,i,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(i){x[i]=new w(i,3,!1,i.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(i){x[i]=new w(i,3,!0,i,null,!1,!1)}),["capture","download"].forEach(function(i){x[i]=new w(i,4,!1,i,null,!1,!1)}),["cols","rows","size","span"].forEach(function(i){x[i]=new w(i,6,!1,i,null,!1,!1)}),["rowSpan","start"].forEach(function(i){x[i]=new w(i,5,!1,i.toLowerCase(),null,!1,!1)});var C=/[\-:]([a-z])/g;function M(i){return i[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(i){var c=i.replace(C,M);x[c]=new w(c,1,!1,i,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(i){var c=i.replace(C,M);x[c]=new w(c,1,!1,i,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(i){var c=i.replace(C,M);x[c]=new w(c,1,!1,i,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(i){x[i]=new w(i,1,!1,i.toLowerCase(),null,!1,!1)}),x.xlinkHref=new w("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(i){x[i]=new w(i,1,!1,i.toLowerCase(),null,!0,!0)});function $(i,c,f,y){var b=x.hasOwnProperty(c)?x[c]:null;(b!==null?b.type!==0:y||!(2z||b[P]!==S[z]){var W=` +`+b[P].replace(" at new "," at ");return i.displayName&&W.includes("")&&(W=W.replace("",i.displayName)),W}while(1<=P&&0<=z);break}}}finally{fe=!1,Error.prepareStackTrace=f}return(i=i?i.displayName||i.name:"")?Q(i):""}function ye(i){switch(i.tag){case 5:return Q(i.type);case 16:return Q("Lazy");case 13:return Q("Suspense");case 19:return Q("SuspenseList");case 0:case 2:case 15:return i=me(i.type,!1),i;case 11:return i=me(i.type.render,!1),i;case 1:return i=me(i.type,!0),i;default:return""}}function we(i){if(i==null)return null;if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case A:return"Fragment";case T:return"Portal";case j:return"Profiler";case I:return"StrictMode";case q:return"Suspense";case U:return"SuspenseList"}if(typeof i=="object")switch(i.$$typeof){case F:return(i.displayName||"Context")+".Consumer";case O:return(i._context.displayName||"Context")+".Provider";case H:var c=i.render;return i=i.displayName,i||(i=c.displayName||c.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case B:return c=i.displayName||null,c!==null?c:we(i.type)||"Memo";case X:c=i._payload,i=i._init;try{return we(i(c))}catch{}}return null}function Me(i){var c=i.type;switch(i.tag){case 24:return"Cache";case 9:return(c.displayName||"Context")+".Consumer";case 10:return(c._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return i=c.render,i=i.displayName||i.name||"",c.displayName||(i!==""?"ForwardRef("+i+")":"ForwardRef");case 7:return"Fragment";case 5:return c;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return we(c);case 8:return c===I?"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 c=="function")return c.displayName||c.name||null;if(typeof c=="string")return c}return null}function Oe(i){switch(typeof i){case"boolean":case"number":case"string":case"undefined":return i;case"object":return i;default:return""}}function Pe(i){var c=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(c==="checkbox"||c==="radio")}function ke(i){var c=Pe(i)?"checked":"value",f=Object.getOwnPropertyDescriptor(i.constructor.prototype,c),y=""+i[c];if(!i.hasOwnProperty(c)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var b=f.get,S=f.set;return Object.defineProperty(i,c,{configurable:!0,get:function(){return b.call(this)},set:function(P){y=""+P,S.call(this,P)}}),Object.defineProperty(i,c,{enumerable:f.enumerable}),{getValue:function(){return y},setValue:function(P){y=""+P},stopTracking:function(){i._valueTracker=null,delete i[c]}}}}function He(i){i._valueTracker||(i._valueTracker=ke(i))}function Ae(i){if(!i)return!1;var c=i._valueTracker;if(!c)return!0;var f=c.getValue(),y="";return i&&(y=Pe(i)?i.checked?"true":"false":i.value),i=y,i!==f?(c.setValue(i),!0):!1}function it(i){if(i=i||(typeof document<"u"?document:void 0),typeof i>"u")return null;try{return i.activeElement||i.body}catch{return i.body}}function Ie(i,c){var f=c.checked;return ne({},c,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:f??i._wrapperState.initialChecked})}function $e(i,c){var f=c.defaultValue==null?"":c.defaultValue,y=c.checked!=null?c.checked:c.defaultChecked;f=Oe(c.value!=null?c.value:f),i._wrapperState={initialChecked:y,initialValue:f,controlled:c.type==="checkbox"||c.type==="radio"?c.checked!=null:c.value!=null}}function ie(i,c){c=c.checked,c!=null&&$(i,"checked",c,!1)}function se(i,c){ie(i,c);var f=Oe(c.value),y=c.type;if(f!=null)y==="number"?(f===0&&i.value===""||i.value!=f)&&(i.value=""+f):i.value!==""+f&&(i.value=""+f);else if(y==="submit"||y==="reset"){i.removeAttribute("value");return}c.hasOwnProperty("value")?qe(i,c.type,f):c.hasOwnProperty("defaultValue")&&qe(i,c.type,Oe(c.defaultValue)),c.checked==null&&c.defaultChecked!=null&&(i.defaultChecked=!!c.defaultChecked)}function ze(i,c,f){if(c.hasOwnProperty("value")||c.hasOwnProperty("defaultValue")){var y=c.type;if(!(y!=="submit"&&y!=="reset"||c.value!==void 0&&c.value!==null))return;c=""+i._wrapperState.initialValue,f||c===i.value||(i.value=c),i.defaultValue=c}f=i.name,f!==""&&(i.name=""),i.defaultChecked=!!i._wrapperState.initialChecked,f!==""&&(i.name=f)}function qe(i,c,f){(c!=="number"||it(i.ownerDocument)!==i)&&(f==null?i.defaultValue=""+i._wrapperState.initialValue:i.defaultValue!==""+f&&(i.defaultValue=""+f))}var rt=Array.isArray;function st(i,c,f,y){if(i=i.options,c){c={};for(var b=0;b"+c.valueOf().toString()+"",c=Je.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;c.firstChild;)i.appendChild(c.firstChild)}});function yt(i,c){if(c){var f=i.firstChild;if(f&&f===i.lastChild&&f.nodeType===3){f.nodeValue=c;return}}i.textContent=c}var je={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},St=["Webkit","ms","Moz","O"];Object.keys(je).forEach(function(i){St.forEach(function(c){c=c+i.charAt(0).toUpperCase()+i.substring(1),je[c]=je[i]})});function Tt(i,c,f){return c==null||typeof c=="boolean"||c===""?"":f||typeof c!="number"||c===0||je.hasOwnProperty(i)&&je[i]?(""+c).trim():c+"px"}function wt(i,c){i=i.style;for(var f in c)if(c.hasOwnProperty(f)){var y=f.indexOf("--")===0,b=Tt(f,c[f],y);f==="float"&&(f="cssFloat"),y?i.setProperty(f,b):i[f]=b}}var ae=ne({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 ve(i,c){if(c){if(ae[i]&&(c.children!=null||c.dangerouslySetInnerHTML!=null))throw Error(r(137,i));if(c.dangerouslySetInnerHTML!=null){if(c.children!=null)throw Error(r(60));if(typeof c.dangerouslySetInnerHTML!="object"||!("__html"in c.dangerouslySetInnerHTML))throw Error(r(61))}if(c.style!=null&&typeof c.style!="object")throw Error(r(62))}}function Ue(i,c){if(i.indexOf("-")===-1)return typeof c.is=="string";switch(i){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 tt=null;function Ct(i){return i=i.target||i.srcElement||window,i.correspondingUseElement&&(i=i.correspondingUseElement),i.nodeType===3?i.parentNode:i}var Ir=null,Rr=null,nn=null;function _a(i){if(i=Ec(i)){if(typeof Ir!="function")throw Error(r(280));var c=i.stateNode;c&&(c=Fd(c),Ir(i.stateNode,i.type,c))}}function Ss(i){Rr?nn?nn.push(i):nn=[i]:Rr=i}function hd(){if(Rr){var i=Rr,c=nn;if(nn=Rr=null,_a(i),c)for(i=0;i>>=0,i===0?32:31-(kI(i)/$I|0)|0}var bd=64,wd=4194304;function ic(i){switch(i&-i){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 i&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return i&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return i}}function xd(i,c){var f=i.pendingLanes;if(f===0)return 0;var y=0,b=i.suspendedLanes,S=i.pingedLanes,P=f&268435455;if(P!==0){var z=P&~b;z!==0?y=ic(z):(S&=P,S!==0&&(y=ic(S)))}else P=f&~b,P!==0?y=ic(P):S!==0&&(y=ic(S));if(y===0)return 0;if(c!==0&&c!==y&&!(c&b)&&(b=y&-y,S=c&-c,b>=S||b===16&&(S&4194240)!==0))return c;if(y&4&&(y|=f&16),c=i.entangledLanes,c!==0)for(i=i.entanglements,c&=y;0f;f++)c.push(i);return c}function lc(i,c,f){i.pendingLanes|=c,c!==536870912&&(i.suspendedLanes=0,i.pingedLanes=0),i=i.eventTimes,c=31-to(c),i[c]=f}function NI(i,c){var f=i.pendingLanes&~c;i.pendingLanes=c,i.suspendedLanes=0,i.pingedLanes=0,i.expiredLanes&=c,i.mutableReadLanes&=c,i.entangledLanes&=c,c=i.entanglements;var y=i.eventTimes;for(i=i.expirationTimes;0=_c),px=" ",fx=!1;function hx(i,c){switch(i){case"keyup":return sR.indexOf(c.keyCode)!==-1;case"keydown":return c.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function mx(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var bi=!1;function iR(i,c){switch(i){case"compositionend":return mx(c);case"keypress":return c.which!==32?null:(fx=!0,px);case"textInput":return i=c.data,i===px&&fx?null:i;default:return null}}function lR(i,c){if(bi)return i==="compositionend"||!rm&&hx(i,c)?(i=ax(),$d=Yh=Ts=null,bi=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(c.ctrlKey||c.altKey||c.metaKey)||c.ctrlKey&&c.altKey){if(c.char&&1=c)return{node:f,offset:c-i};i=y}e:{for(;f;){if(f.nextSibling){f=f.nextSibling;break e}f=f.parentNode}f=void 0}f=xx(f)}}function Cx(i,c){return i&&c?i===c?!0:i&&i.nodeType===3?!1:c&&c.nodeType===3?Cx(i,c.parentNode):"contains"in i?i.contains(c):i.compareDocumentPosition?!!(i.compareDocumentPosition(c)&16):!1:!1}function Ex(){for(var i=window,c=it();c instanceof i.HTMLIFrameElement;){try{var f=typeof c.contentWindow.location.href=="string"}catch{f=!1}if(f)i=c.contentWindow;else break;c=it(i.document)}return c}function sm(i){var c=i&&i.nodeName&&i.nodeName.toLowerCase();return c&&(c==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||c==="textarea"||i.contentEditable==="true")}function gR(i){var c=Ex(),f=i.focusedElem,y=i.selectionRange;if(c!==f&&f&&f.ownerDocument&&Cx(f.ownerDocument.documentElement,f)){if(y!==null&&sm(f)){if(c=y.start,i=y.end,i===void 0&&(i=c),"selectionStart"in f)f.selectionStart=c,f.selectionEnd=Math.min(i,f.value.length);else if(i=(c=f.ownerDocument||document)&&c.defaultView||window,i.getSelection){i=i.getSelection();var b=f.textContent.length,S=Math.min(y.start,b);y=y.end===void 0?S:Math.min(y.end,b),!i.extend&&S>y&&(b=y,y=S,S=b),b=Sx(f,S);var P=Sx(f,y);b&&P&&(i.rangeCount!==1||i.anchorNode!==b.node||i.anchorOffset!==b.offset||i.focusNode!==P.node||i.focusOffset!==P.offset)&&(c=c.createRange(),c.setStart(b.node,b.offset),i.removeAllRanges(),S>y?(i.addRange(c),i.extend(P.node,P.offset)):(c.setEnd(P.node,P.offset),i.addRange(c)))}}for(c=[],i=f;i=i.parentNode;)i.nodeType===1&&c.push({element:i,left:i.scrollLeft,top:i.scrollTop});for(typeof f.focus=="function"&&f.focus(),f=0;f=document.documentMode,wi=null,am=null,bc=null,im=!1;function kx(i,c,f){var y=f.window===f?f.document:f.nodeType===9?f:f.ownerDocument;im||wi==null||wi!==it(y)||(y=wi,"selectionStart"in y&&sm(y)?y={start:y.selectionStart,end:y.selectionEnd}:(y=(y.ownerDocument&&y.ownerDocument.defaultView||window).getSelection(),y={anchorNode:y.anchorNode,anchorOffset:y.anchorOffset,focusNode:y.focusNode,focusOffset:y.focusOffset}),bc&&vc(bc,y)||(bc=y,y=Id(am,"onSelect"),0ki||(i.current=vm[ki],vm[ki]=null,ki--)}function qt(i,c){ki++,vm[ki]=i.current,i.current=c}var Ms={},jr=Ns(Ms),on=Ns(!1),va=Ms;function $i(i,c){var f=i.type.contextTypes;if(!f)return Ms;var y=i.stateNode;if(y&&y.__reactInternalMemoizedUnmaskedChildContext===c)return y.__reactInternalMemoizedMaskedChildContext;var b={},S;for(S in f)b[S]=c[S];return y&&(i=i.stateNode,i.__reactInternalMemoizedUnmaskedChildContext=c,i.__reactInternalMemoizedMaskedChildContext=b),b}function sn(i){return i=i.childContextTypes,i!=null}function zd(){Xt(on),Xt(jr)}function Bx(i,c,f){if(jr.current!==Ms)throw Error(r(168));qt(jr,c),qt(on,f)}function Wx(i,c,f){var y=i.stateNode;if(c=c.childContextTypes,typeof y.getChildContext!="function")return f;y=y.getChildContext();for(var b in y)if(!(b in c))throw Error(r(108,Me(i)||"Unknown",b));return ne({},f,y)}function Ld(i){return i=(i=i.stateNode)&&i.__reactInternalMemoizedMergedChildContext||Ms,va=jr.current,qt(jr,i),qt(on,on.current),!0}function Ux(i,c,f){var y=i.stateNode;if(!y)throw Error(r(169));f?(i=Wx(i,c,va),y.__reactInternalMemoizedMergedChildContext=i,Xt(on),Xt(jr),qt(jr,i)):Xt(on),qt(on,f)}var Ko=null,Bd=!1,bm=!1;function Hx(i){Ko===null?Ko=[i]:Ko.push(i)}function OR(i){Bd=!0,Hx(i)}function As(){if(!bm&&Ko!==null){bm=!0;var i=0,c=Pt;try{var f=Ko;for(Pt=1;i>=P,b-=P,Zo=1<<32-to(c)+b|f<lt?(Er=et,et=null):Er=et.sibling;var kt=de(K,et,ee[lt],be);if(kt===null){et===null&&(et=Er);break}i&&et&&kt.alternate===null&&c(K,et),V=S(kt,V,lt),Qe===null?Be=kt:Qe.sibling=kt,Qe=kt,et=Er}if(lt===ee.length)return f(K,et),Yt&&wa(K,lt),Be;if(et===null){for(;ltlt?(Er=et,et=null):Er=et.sibling;var Ws=de(K,et,kt.value,be);if(Ws===null){et===null&&(et=Er);break}i&&et&&Ws.alternate===null&&c(K,et),V=S(Ws,V,lt),Qe===null?Be=Ws:Qe.sibling=Ws,Qe=Ws,et=Er}if(kt.done)return f(K,et),Yt&&wa(K,lt),Be;if(et===null){for(;!kt.done;lt++,kt=ee.next())kt=ge(K,kt.value,be),kt!==null&&(V=S(kt,V,lt),Qe===null?Be=kt:Qe.sibling=kt,Qe=kt);return Yt&&wa(K,lt),Be}for(et=y(K,et);!kt.done;lt++,kt=ee.next())kt=De(et,K,lt,kt.value,be),kt!==null&&(i&&kt.alternate!==null&&et.delete(kt.key===null?lt:kt.key),V=S(kt,V,lt),Qe===null?Be=kt:Qe.sibling=kt,Qe=kt);return i&&et.forEach(function(lj){return c(K,lj)}),Yt&&wa(K,lt),Be}function pr(K,V,ee,be){if(typeof ee=="object"&&ee!==null&&ee.type===A&&ee.key===null&&(ee=ee.props.children),typeof ee=="object"&&ee!==null){switch(ee.$$typeof){case k:e:{for(var Be=ee.key,Qe=V;Qe!==null;){if(Qe.key===Be){if(Be=ee.type,Be===A){if(Qe.tag===7){f(K,Qe.sibling),V=b(Qe,ee.props.children),V.return=K,K=V;break e}}else if(Qe.elementType===Be||typeof Be=="object"&&Be!==null&&Be.$$typeof===X&&Yx(Be)===Qe.type){f(K,Qe.sibling),V=b(Qe,ee.props),V.ref=kc(K,Qe,ee),V.return=K,K=V;break e}f(K,Qe);break}else c(K,Qe);Qe=Qe.sibling}ee.type===A?(V=Oa(ee.props.children,K.mode,be,ee.key),V.return=K,K=V):(be=mp(ee.type,ee.key,ee.props,null,K.mode,be),be.ref=kc(K,V,ee),be.return=K,K=be)}return P(K);case T:e:{for(Qe=ee.key;V!==null;){if(V.key===Qe)if(V.tag===4&&V.stateNode.containerInfo===ee.containerInfo&&V.stateNode.implementation===ee.implementation){f(K,V.sibling),V=b(V,ee.children||[]),V.return=K,K=V;break e}else{f(K,V);break}else c(K,V);V=V.sibling}V=g_(ee,K.mode,be),V.return=K,K=V}return P(K);case X:return Qe=ee._init,pr(K,V,Qe(ee._payload),be)}if(rt(ee))return Fe(K,V,ee,be);if(J(ee))return Le(K,V,ee,be);qd(K,ee)}return typeof ee=="string"&&ee!==""||typeof ee=="number"?(ee=""+ee,V!==null&&V.tag===6?(f(K,V.sibling),V=b(V,ee),V.return=K,K=V):(f(K,V),V=__(ee,K.mode,be),V.return=K,K=V),P(K)):f(K,V)}return pr}var Ni=Kx(!0),Zx=Kx(!1),Vd=Ns(null),Gd=null,Mi=null,km=null;function $m(){km=Mi=Gd=null}function Tm(i){var c=Vd.current;Xt(Vd),i._currentValue=c}function Om(i,c,f){for(;i!==null;){var y=i.alternate;if((i.childLanes&c)!==c?(i.childLanes|=c,y!==null&&(y.childLanes|=c)):y!==null&&(y.childLanes&c)!==c&&(y.childLanes|=c),i===f)break;i=i.return}}function Ai(i,c){Gd=i,km=Mi=null,i=i.dependencies,i!==null&&i.firstContext!==null&&(i.lanes&c&&(an=!0),i.firstContext=null)}function Fn(i){var c=i._currentValue;if(km!==i)if(i={context:i,memoizedValue:c,next:null},Mi===null){if(Gd===null)throw Error(r(308));Mi=i,Gd.dependencies={lanes:0,firstContext:i}}else Mi=Mi.next=i;return c}var xa=null;function Dm(i){xa===null?xa=[i]:xa.push(i)}function Qx(i,c,f,y){var b=c.interleaved;return b===null?(f.next=f,Dm(c)):(f.next=b.next,b.next=f),c.interleaved=f,es(i,y)}function es(i,c){i.lanes|=c;var f=i.alternate;for(f!==null&&(f.lanes|=c),f=i,i=i.return;i!==null;)i.childLanes|=c,f=i.alternate,f!==null&&(f.childLanes|=c),f=i,i=i.return;return f.tag===3?f.stateNode:null}var Ps=!1;function Nm(i){i.updateQueue={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function eS(i,c){i=i.updateQueue,c.updateQueue===i&&(c.updateQueue={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,effects:i.effects})}function ts(i,c){return{eventTime:i,lane:c,tag:0,payload:null,callback:null,next:null}}function Is(i,c,f){var y=i.updateQueue;if(y===null)return null;if(y=y.shared,Et&2){var b=y.pending;return b===null?c.next=c:(c.next=b.next,b.next=c),y.pending=c,es(i,f)}return b=y.interleaved,b===null?(c.next=c,Dm(y)):(c.next=b.next,b.next=c),y.interleaved=c,es(i,f)}function Xd(i,c,f){if(c=c.updateQueue,c!==null&&(c=c.shared,(f&4194240)!==0)){var y=c.lanes;y&=i.pendingLanes,f|=y,c.lanes=f,qh(i,f)}}function tS(i,c){var f=i.updateQueue,y=i.alternate;if(y!==null&&(y=y.updateQueue,f===y)){var b=null,S=null;if(f=f.firstBaseUpdate,f!==null){do{var P={eventTime:f.eventTime,lane:f.lane,tag:f.tag,payload:f.payload,callback:f.callback,next:null};S===null?b=S=P:S=S.next=P,f=f.next}while(f!==null);S===null?b=S=c:S=S.next=c}else b=S=c;f={baseState:y.baseState,firstBaseUpdate:b,lastBaseUpdate:S,shared:y.shared,effects:y.effects},i.updateQueue=f;return}i=f.lastBaseUpdate,i===null?f.firstBaseUpdate=c:i.next=c,f.lastBaseUpdate=c}function Jd(i,c,f,y){var b=i.updateQueue;Ps=!1;var S=b.firstBaseUpdate,P=b.lastBaseUpdate,z=b.shared.pending;if(z!==null){b.shared.pending=null;var W=z,te=W.next;W.next=null,P===null?S=te:P.next=te,P=W;var he=i.alternate;he!==null&&(he=he.updateQueue,z=he.lastBaseUpdate,z!==P&&(z===null?he.firstBaseUpdate=te:z.next=te,he.lastBaseUpdate=W))}if(S!==null){var ge=b.baseState;P=0,he=te=W=null,z=S;do{var de=z.lane,De=z.eventTime;if((y&de)===de){he!==null&&(he=he.next={eventTime:De,lane:0,tag:z.tag,payload:z.payload,callback:z.callback,next:null});e:{var Fe=i,Le=z;switch(de=c,De=f,Le.tag){case 1:if(Fe=Le.payload,typeof Fe=="function"){ge=Fe.call(De,ge,de);break e}ge=Fe;break e;case 3:Fe.flags=Fe.flags&-65537|128;case 0:if(Fe=Le.payload,de=typeof Fe=="function"?Fe.call(De,ge,de):Fe,de==null)break e;ge=ne({},ge,de);break e;case 2:Ps=!0}}z.callback!==null&&z.lane!==0&&(i.flags|=64,de=b.effects,de===null?b.effects=[z]:de.push(z))}else De={eventTime:De,lane:de,tag:z.tag,payload:z.payload,callback:z.callback,next:null},he===null?(te=he=De,W=ge):he=he.next=De,P|=de;if(z=z.next,z===null){if(z=b.shared.pending,z===null)break;de=z,z=de.next,de.next=null,b.lastBaseUpdate=de,b.shared.pending=null}}while(!0);if(he===null&&(W=ge),b.baseState=W,b.firstBaseUpdate=te,b.lastBaseUpdate=he,c=b.shared.interleaved,c!==null){b=c;do P|=b.lane,b=b.next;while(b!==c)}else S===null&&(b.shared.lanes=0);Ea|=P,i.lanes=P,i.memoizedState=ge}}function rS(i,c,f){if(i=c.effects,c.effects=null,i!==null)for(c=0;cf?f:4,i(!0);var y=Rm.transition;Rm.transition={};try{i(!1),c()}finally{Pt=f,Rm.transition=y}}function wS(){return zn().memoizedState}function AR(i,c,f){var y=zs(i);if(f={lane:y,action:f,hasEagerState:!1,eagerState:null,next:null},xS(i))SS(c,f);else if(f=Qx(i,c,f,y),f!==null){var b=Zr();io(f,i,y,b),CS(f,c,y)}}function PR(i,c,f){var y=zs(i),b={lane:y,action:f,hasEagerState:!1,eagerState:null,next:null};if(xS(i))SS(c,b);else{var S=i.alternate;if(i.lanes===0&&(S===null||S.lanes===0)&&(S=c.lastRenderedReducer,S!==null))try{var P=c.lastRenderedState,z=S(P,f);if(b.hasEagerState=!0,b.eagerState=z,ro(z,P)){var W=c.interleaved;W===null?(b.next=b,Dm(c)):(b.next=W.next,W.next=b),c.interleaved=b;return}}catch{}finally{}f=Qx(i,c,b,y),f!==null&&(b=Zr(),io(f,i,y,b),CS(f,c,y))}}function xS(i){var c=i.alternate;return i===rr||c!==null&&c===rr}function SS(i,c){Dc=Zd=!0;var f=i.pending;f===null?c.next=c:(c.next=f.next,f.next=c),i.pending=c}function CS(i,c,f){if(f&4194240){var y=c.lanes;y&=i.pendingLanes,f|=y,c.lanes=f,qh(i,f)}}var tp={readContext:Fn,useCallback:Fr,useContext:Fr,useEffect:Fr,useImperativeHandle:Fr,useInsertionEffect:Fr,useLayoutEffect:Fr,useMemo:Fr,useReducer:Fr,useRef:Fr,useState:Fr,useDebugValue:Fr,useDeferredValue:Fr,useTransition:Fr,useMutableSource:Fr,useSyncExternalStore:Fr,useId:Fr,unstable_isNewReconciler:!1},IR={readContext:Fn,useCallback:function(i,c){return Co().memoizedState=[i,c===void 0?null:c],i},useContext:Fn,useEffect:fS,useImperativeHandle:function(i,c,f){return f=f!=null?f.concat([i]):null,Qd(4194308,4,_S.bind(null,c,i),f)},useLayoutEffect:function(i,c){return Qd(4194308,4,i,c)},useInsertionEffect:function(i,c){return Qd(4,2,i,c)},useMemo:function(i,c){var f=Co();return c=c===void 0?null:c,i=i(),f.memoizedState=[i,c],i},useReducer:function(i,c,f){var y=Co();return c=f!==void 0?f(c):c,y.memoizedState=y.baseState=c,i={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:c},y.queue=i,i=i.dispatch=AR.bind(null,rr,i),[y.memoizedState,i]},useRef:function(i){var c=Co();return i={current:i},c.memoizedState=i},useState:dS,useDebugValue:Um,useDeferredValue:function(i){return Co().memoizedState=i},useTransition:function(){var i=dS(!1),c=i[0];return i=MR.bind(null,i[1]),Co().memoizedState=i,[c,i]},useMutableSource:function(){},useSyncExternalStore:function(i,c,f){var y=rr,b=Co();if(Yt){if(f===void 0)throw Error(r(407));f=f()}else{if(f=c(),Cr===null)throw Error(r(349));Ca&30||aS(y,c,f)}b.memoizedState=f;var S={value:f,getSnapshot:c};return b.queue=S,fS(lS.bind(null,y,S,i),[i]),y.flags|=2048,Ac(9,iS.bind(null,y,S,f,c),void 0,null),f},useId:function(){var i=Co(),c=Cr.identifierPrefix;if(Yt){var f=Qo,y=Zo;f=(y&~(1<<32-to(y)-1)).toString(32)+f,c=":"+c+"R"+f,f=Nc++,0<\/script>",i=i.removeChild(i.firstChild)):typeof y.is=="string"?i=P.createElement(f,{is:y.is}):(i=P.createElement(f),f==="select"&&(P=i,y.multiple?P.multiple=!0:y.size&&(P.size=y.size))):i=P.createElementNS(i,f),i[xo]=c,i[Cc]=y,HS(i,c,!1,!1),c.stateNode=i;e:{switch(P=Ue(f,y),f){case"dialog":Gt("cancel",i),Gt("close",i),b=y;break;case"iframe":case"object":case"embed":Gt("load",i),b=y;break;case"video":case"audio":for(b=0;bFi&&(c.flags|=128,y=!0,Pc(S,!1),c.lanes=4194304)}else{if(!y)if(i=Yd(P),i!==null){if(c.flags|=128,y=!0,f=i.updateQueue,f!==null&&(c.updateQueue=f,c.flags|=4),Pc(S,!0),S.tail===null&&S.tailMode==="hidden"&&!P.alternate&&!Yt)return zr(c),null}else 2*dr()-S.renderingStartTime>Fi&&f!==1073741824&&(c.flags|=128,y=!0,Pc(S,!1),c.lanes=4194304);S.isBackwards?(P.sibling=c.child,c.child=P):(f=S.last,f!==null?f.sibling=P:c.child=P,S.last=P)}return S.tail!==null?(c=S.tail,S.rendering=c,S.tail=c.sibling,S.renderingStartTime=dr(),c.sibling=null,f=tr.current,qt(tr,y?f&1|2:f&1),c):(zr(c),null);case 22:case 23:return f_(),y=c.memoizedState!==null,i!==null&&i.memoizedState!==null!==y&&(c.flags|=8192),y&&c.mode&1?kn&1073741824&&(zr(c),c.subtreeFlags&6&&(c.flags|=8192)):zr(c),null;case 24:return null;case 25:return null}throw Error(r(156,c.tag))}function UR(i,c){switch(xm(c),c.tag){case 1:return sn(c.type)&&zd(),i=c.flags,i&65536?(c.flags=i&-65537|128,c):null;case 3:return Pi(),Xt(on),Xt(jr),Im(),i=c.flags,i&65536&&!(i&128)?(c.flags=i&-65537|128,c):null;case 5:return Am(c),null;case 13:if(Xt(tr),i=c.memoizedState,i!==null&&i.dehydrated!==null){if(c.alternate===null)throw Error(r(340));Di()}return i=c.flags,i&65536?(c.flags=i&-65537|128,c):null;case 19:return Xt(tr),null;case 4:return Pi(),null;case 10:return Tm(c.type._context),null;case 22:case 23:return f_(),null;case 24:return null;default:return null}}var sp=!1,Lr=!1,HR=typeof WeakSet=="function"?WeakSet:Set,Re=null;function Ri(i,c){var f=i.ref;if(f!==null)if(typeof f=="function")try{f(null)}catch(y){ar(i,c,y)}else f.current=null}function t_(i,c,f){try{f()}catch(y){ar(i,c,y)}}var GS=!1;function qR(i,c){if(fm=Ed,i=Ex(),sm(i)){if("selectionStart"in i)var f={start:i.selectionStart,end:i.selectionEnd};else e:{f=(f=i.ownerDocument)&&f.defaultView||window;var y=f.getSelection&&f.getSelection();if(y&&y.rangeCount!==0){f=y.anchorNode;var b=y.anchorOffset,S=y.focusNode;y=y.focusOffset;try{f.nodeType,S.nodeType}catch{f=null;break e}var P=0,z=-1,W=-1,te=0,he=0,ge=i,de=null;t:for(;;){for(var De;ge!==f||b!==0&&ge.nodeType!==3||(z=P+b),ge!==S||y!==0&&ge.nodeType!==3||(W=P+y),ge.nodeType===3&&(P+=ge.nodeValue.length),(De=ge.firstChild)!==null;)de=ge,ge=De;for(;;){if(ge===i)break t;if(de===f&&++te===b&&(z=P),de===S&&++he===y&&(W=P),(De=ge.nextSibling)!==null)break;ge=de,de=ge.parentNode}ge=De}f=z===-1||W===-1?null:{start:z,end:W}}else f=null}f=f||{start:0,end:0}}else f=null;for(hm={focusedElem:i,selectionRange:f},Ed=!1,Re=c;Re!==null;)if(c=Re,i=c.child,(c.subtreeFlags&1028)!==0&&i!==null)i.return=c,Re=i;else for(;Re!==null;){c=Re;try{var Fe=c.alternate;if(c.flags&1024)switch(c.tag){case 0:case 11:case 15:break;case 1:if(Fe!==null){var Le=Fe.memoizedProps,pr=Fe.memoizedState,K=c.stateNode,V=K.getSnapshotBeforeUpdate(c.elementType===c.type?Le:oo(c.type,Le),pr);K.__reactInternalSnapshotBeforeUpdate=V}break;case 3:var ee=c.stateNode.containerInfo;ee.nodeType===1?ee.textContent="":ee.nodeType===9&&ee.documentElement&&ee.removeChild(ee.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(be){ar(c,c.return,be)}if(i=c.sibling,i!==null){i.return=c.return,Re=i;break}Re=c.return}return Fe=GS,GS=!1,Fe}function Ic(i,c,f){var y=c.updateQueue;if(y=y!==null?y.lastEffect:null,y!==null){var b=y=y.next;do{if((b.tag&i)===i){var S=b.destroy;b.destroy=void 0,S!==void 0&&t_(c,f,S)}b=b.next}while(b!==y)}}function ap(i,c){if(c=c.updateQueue,c=c!==null?c.lastEffect:null,c!==null){var f=c=c.next;do{if((f.tag&i)===i){var y=f.create;f.destroy=y()}f=f.next}while(f!==c)}}function r_(i){var c=i.ref;if(c!==null){var f=i.stateNode;switch(i.tag){case 5:i=f;break;default:i=f}typeof c=="function"?c(i):c.current=i}}function XS(i){var c=i.alternate;c!==null&&(i.alternate=null,XS(c)),i.child=null,i.deletions=null,i.sibling=null,i.tag===5&&(c=i.stateNode,c!==null&&(delete c[xo],delete c[Cc],delete c[ym],delete c[$R],delete c[TR])),i.stateNode=null,i.return=null,i.dependencies=null,i.memoizedProps=null,i.memoizedState=null,i.pendingProps=null,i.stateNode=null,i.updateQueue=null}function JS(i){return i.tag===5||i.tag===3||i.tag===4}function YS(i){e:for(;;){for(;i.sibling===null;){if(i.return===null||JS(i.return))return null;i=i.return}for(i.sibling.return=i.return,i=i.sibling;i.tag!==5&&i.tag!==6&&i.tag!==18;){if(i.flags&2||i.child===null||i.tag===4)continue e;i.child.return=i,i=i.child}if(!(i.flags&2))return i.stateNode}}function n_(i,c,f){var y=i.tag;if(y===5||y===6)i=i.stateNode,c?f.nodeType===8?f.parentNode.insertBefore(i,c):f.insertBefore(i,c):(f.nodeType===8?(c=f.parentNode,c.insertBefore(i,f)):(c=f,c.appendChild(i)),f=f._reactRootContainer,f!=null||c.onclick!==null||(c.onclick=jd));else if(y!==4&&(i=i.child,i!==null))for(n_(i,c,f),i=i.sibling;i!==null;)n_(i,c,f),i=i.sibling}function o_(i,c,f){var y=i.tag;if(y===5||y===6)i=i.stateNode,c?f.insertBefore(i,c):f.appendChild(i);else if(y!==4&&(i=i.child,i!==null))for(o_(i,c,f),i=i.sibling;i!==null;)o_(i,c,f),i=i.sibling}var $r=null,so=!1;function Rs(i,c,f){for(f=f.child;f!==null;)KS(i,c,f),f=f.sibling}function KS(i,c,f){if(wo&&typeof wo.onCommitFiberUnmount=="function")try{wo.onCommitFiberUnmount(vd,f)}catch{}switch(f.tag){case 5:Lr||Ri(f,c);case 6:var y=$r,b=so;$r=null,Rs(i,c,f),$r=y,so=b,$r!==null&&(so?(i=$r,f=f.stateNode,i.nodeType===8?i.parentNode.removeChild(f):i.removeChild(f)):$r.removeChild(f.stateNode));break;case 18:$r!==null&&(so?(i=$r,f=f.stateNode,i.nodeType===8?gm(i.parentNode,f):i.nodeType===1&&gm(i,f),fc(i)):gm($r,f.stateNode));break;case 4:y=$r,b=so,$r=f.stateNode.containerInfo,so=!0,Rs(i,c,f),$r=y,so=b;break;case 0:case 11:case 14:case 15:if(!Lr&&(y=f.updateQueue,y!==null&&(y=y.lastEffect,y!==null))){b=y=y.next;do{var S=b,P=S.destroy;S=S.tag,P!==void 0&&(S&2||S&4)&&t_(f,c,P),b=b.next}while(b!==y)}Rs(i,c,f);break;case 1:if(!Lr&&(Ri(f,c),y=f.stateNode,typeof y.componentWillUnmount=="function"))try{y.props=f.memoizedProps,y.state=f.memoizedState,y.componentWillUnmount()}catch(z){ar(f,c,z)}Rs(i,c,f);break;case 21:Rs(i,c,f);break;case 22:f.mode&1?(Lr=(y=Lr)||f.memoizedState!==null,Rs(i,c,f),Lr=y):Rs(i,c,f);break;default:Rs(i,c,f)}}function ZS(i){var c=i.updateQueue;if(c!==null){i.updateQueue=null;var f=i.stateNode;f===null&&(f=i.stateNode=new HR),c.forEach(function(y){var b=ej.bind(null,i,y);f.has(y)||(f.add(y),y.then(b,b))})}}function ao(i,c){var f=c.deletions;if(f!==null)for(var y=0;yb&&(b=P),y&=~S}if(y=b,y=dr()-y,y=(120>y?120:480>y?480:1080>y?1080:1920>y?1920:3e3>y?3e3:4320>y?4320:1960*GR(y/1960))-y,10i?16:i,Fs===null)var y=!1;else{if(i=Fs,Fs=null,dp=0,Et&6)throw Error(r(331));var b=Et;for(Et|=4,Re=i.current;Re!==null;){var S=Re,P=S.child;if(Re.flags&16){var z=S.deletions;if(z!==null){for(var W=0;Wdr()-i_?$a(i,0):a_|=f),cn(i,c)}function dC(i,c){c===0&&(i.mode&1?(c=wd,wd<<=1,!(wd&130023424)&&(wd=4194304)):c=1);var f=Zr();i=es(i,c),i!==null&&(lc(i,c,f),cn(i,f))}function QR(i){var c=i.memoizedState,f=0;c!==null&&(f=c.retryLane),dC(i,f)}function ej(i,c){var f=0;switch(i.tag){case 13:var y=i.stateNode,b=i.memoizedState;b!==null&&(f=b.retryLane);break;case 19:y=i.stateNode;break;default:throw Error(r(314))}y!==null&&y.delete(c),dC(i,f)}var pC;pC=function(i,c,f){if(i!==null)if(i.memoizedProps!==c.pendingProps||on.current)an=!0;else{if(!(i.lanes&f)&&!(c.flags&128))return an=!1,BR(i,c,f);an=!!(i.flags&131072)}else an=!1,Yt&&c.flags&1048576&&qx(c,Ud,c.index);switch(c.lanes=0,c.tag){case 2:var y=c.type;op(i,c),i=c.pendingProps;var b=$i(c,jr.current);Ai(c,f),b=Fm(null,c,y,i,b,f);var S=zm();return c.flags|=1,typeof b=="object"&&b!==null&&typeof b.render=="function"&&b.$$typeof===void 0?(c.tag=1,c.memoizedState=null,c.updateQueue=null,sn(y)?(S=!0,Ld(c)):S=!1,c.memoizedState=b.state!==null&&b.state!==void 0?b.state:null,Nm(c),b.updater=rp,c.stateNode=b,b._reactInternals=c,qm(c,y,i,f),c=Jm(null,c,y,!0,S,f)):(c.tag=0,Yt&&S&&wm(c),Kr(null,c,b,f),c=c.child),c;case 16:y=c.elementType;e:{switch(op(i,c),i=c.pendingProps,b=y._init,y=b(y._payload),c.type=y,b=c.tag=rj(y),i=oo(y,i),b){case 0:c=Xm(null,c,y,i,f);break e;case 1:c=FS(null,c,y,i,f);break e;case 11:c=AS(null,c,y,i,f);break e;case 14:c=PS(null,c,y,oo(y.type,i),f);break e}throw Error(r(306,y,""))}return c;case 0:return y=c.type,b=c.pendingProps,b=c.elementType===y?b:oo(y,b),Xm(i,c,y,b,f);case 1:return y=c.type,b=c.pendingProps,b=c.elementType===y?b:oo(y,b),FS(i,c,y,b,f);case 3:e:{if(zS(c),i===null)throw Error(r(387));y=c.pendingProps,S=c.memoizedState,b=S.element,eS(i,c),Jd(c,y,null,f);var P=c.memoizedState;if(y=P.element,S.isDehydrated)if(S={element:y,isDehydrated:!1,cache:P.cache,pendingSuspenseBoundaries:P.pendingSuspenseBoundaries,transitions:P.transitions},c.updateQueue.baseState=S,c.memoizedState=S,c.flags&256){b=Ii(Error(r(423)),c),c=LS(i,c,y,f,b);break e}else if(y!==b){b=Ii(Error(r(424)),c),c=LS(i,c,y,f,b);break e}else for(En=Ds(c.stateNode.containerInfo.firstChild),Cn=c,Yt=!0,no=null,f=Zx(c,null,y,f),c.child=f;f;)f.flags=f.flags&-3|4096,f=f.sibling;else{if(Di(),y===b){c=rs(i,c,f);break e}Kr(i,c,y,f)}c=c.child}return c;case 5:return nS(c),i===null&&Cm(c),y=c.type,b=c.pendingProps,S=i!==null?i.memoizedProps:null,P=b.children,mm(y,b)?P=null:S!==null&&mm(y,S)&&(c.flags|=32),jS(i,c),Kr(i,c,P,f),c.child;case 6:return i===null&&Cm(c),null;case 13:return BS(i,c,f);case 4:return Mm(c,c.stateNode.containerInfo),y=c.pendingProps,i===null?c.child=Ni(c,null,y,f):Kr(i,c,y,f),c.child;case 11:return y=c.type,b=c.pendingProps,b=c.elementType===y?b:oo(y,b),AS(i,c,y,b,f);case 7:return Kr(i,c,c.pendingProps,f),c.child;case 8:return Kr(i,c,c.pendingProps.children,f),c.child;case 12:return Kr(i,c,c.pendingProps.children,f),c.child;case 10:e:{if(y=c.type._context,b=c.pendingProps,S=c.memoizedProps,P=b.value,qt(Vd,y._currentValue),y._currentValue=P,S!==null)if(ro(S.value,P)){if(S.children===b.children&&!on.current){c=rs(i,c,f);break e}}else for(S=c.child,S!==null&&(S.return=c);S!==null;){var z=S.dependencies;if(z!==null){P=S.child;for(var W=z.firstContext;W!==null;){if(W.context===y){if(S.tag===1){W=ts(-1,f&-f),W.tag=2;var te=S.updateQueue;if(te!==null){te=te.shared;var he=te.pending;he===null?W.next=W:(W.next=he.next,he.next=W),te.pending=W}}S.lanes|=f,W=S.alternate,W!==null&&(W.lanes|=f),Om(S.return,f,c),z.lanes|=f;break}W=W.next}}else if(S.tag===10)P=S.type===c.type?null:S.child;else if(S.tag===18){if(P=S.return,P===null)throw Error(r(341));P.lanes|=f,z=P.alternate,z!==null&&(z.lanes|=f),Om(P,f,c),P=S.sibling}else P=S.child;if(P!==null)P.return=S;else for(P=S;P!==null;){if(P===c){P=null;break}if(S=P.sibling,S!==null){S.return=P.return,P=S;break}P=P.return}S=P}Kr(i,c,b.children,f),c=c.child}return c;case 9:return b=c.type,y=c.pendingProps.children,Ai(c,f),b=Fn(b),y=y(b),c.flags|=1,Kr(i,c,y,f),c.child;case 14:return y=c.type,b=oo(y,c.pendingProps),b=oo(y.type,b),PS(i,c,y,b,f);case 15:return IS(i,c,c.type,c.pendingProps,f);case 17:return y=c.type,b=c.pendingProps,b=c.elementType===y?b:oo(y,b),op(i,c),c.tag=1,sn(y)?(i=!0,Ld(c)):i=!1,Ai(c,f),kS(c,y,b),qm(c,y,b,f),Jm(null,c,y,!0,i,f);case 19:return US(i,c,f);case 22:return RS(i,c,f)}throw Error(r(156,c.tag))};function fC(i,c){return V1(i,c)}function tj(i,c,f,y){this.tag=i,this.key=f,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=c,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=y,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Bn(i,c,f,y){return new tj(i,c,f,y)}function m_(i){return i=i.prototype,!(!i||!i.isReactComponent)}function rj(i){if(typeof i=="function")return m_(i)?1:0;if(i!=null){if(i=i.$$typeof,i===H)return 11;if(i===B)return 14}return 2}function Bs(i,c){var f=i.alternate;return f===null?(f=Bn(i.tag,c,i.key,i.mode),f.elementType=i.elementType,f.type=i.type,f.stateNode=i.stateNode,f.alternate=i,i.alternate=f):(f.pendingProps=c,f.type=i.type,f.flags=0,f.subtreeFlags=0,f.deletions=null),f.flags=i.flags&14680064,f.childLanes=i.childLanes,f.lanes=i.lanes,f.child=i.child,f.memoizedProps=i.memoizedProps,f.memoizedState=i.memoizedState,f.updateQueue=i.updateQueue,c=i.dependencies,f.dependencies=c===null?null:{lanes:c.lanes,firstContext:c.firstContext},f.sibling=i.sibling,f.index=i.index,f.ref=i.ref,f}function mp(i,c,f,y,b,S){var P=2;if(y=i,typeof i=="function")m_(i)&&(P=1);else if(typeof i=="string")P=5;else e:switch(i){case A:return Oa(f.children,b,S,c);case I:P=8,b|=8;break;case j:return i=Bn(12,f,c,b|2),i.elementType=j,i.lanes=S,i;case q:return i=Bn(13,f,c,b),i.elementType=q,i.lanes=S,i;case U:return i=Bn(19,f,c,b),i.elementType=U,i.lanes=S,i;case re:return _p(f,b,S,c);default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case O:P=10;break e;case F:P=9;break e;case H:P=11;break e;case B:P=14;break e;case X:P=16,y=null;break e}throw Error(r(130,i==null?i:typeof i,""))}return c=Bn(P,f,c,b),c.elementType=i,c.type=y,c.lanes=S,c}function Oa(i,c,f,y){return i=Bn(7,i,y,c),i.lanes=f,i}function _p(i,c,f,y){return i=Bn(22,i,y,c),i.elementType=re,i.lanes=f,i.stateNode={isHidden:!1},i}function __(i,c,f){return i=Bn(6,i,null,c),i.lanes=f,i}function g_(i,c,f){return c=Bn(4,i.children!==null?i.children:[],i.key,c),c.lanes=f,c.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},c}function nj(i,c,f,y,b){this.tag=c,this.containerInfo=i,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Hh(0),this.expirationTimes=Hh(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Hh(0),this.identifierPrefix=y,this.onRecoverableError=b,this.mutableSourceEagerHydrationData=null}function y_(i,c,f,y,b,S,P,z,W){return i=new nj(i,c,f,z,W),c===1?(c=1,S===!0&&(c|=8)):c=0,S=Bn(3,null,null,c),i.current=S,S.stateNode=i,S.memoizedState={element:y,isDehydrated:f,cache:null,transitions:null,pendingSuspenseBoundaries:null},Nm(S),i}function oj(i,c,f){var y=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),C_.exports=vj(),C_.exports}var DC;function bj(){if(DC)return Cp;DC=1;var t=sN();return Cp.createRoot=t.createRoot,Cp.hydrateRoot=t.hydrateRoot,Cp}var wj=bj();const xj="cameras-admin",Sj="2.1.2",Cj={"@iobroker/adapter-react-v5":"^7.4.19","@material-ui/icons":"^4.11.3","@mui/icons-material":"^6.4.1","@mui/material":"^6.4.1","@types/react":"^18.3.18","@types/react-dom":"^18.3.1","@vitejs/plugin-react":"^4.3.4",react:"^18.3.1","react-dom":"^18.3.1","react-icons":"^5.4.0"},Ej={start:"vite --host",build:"vite build",lint:"eslint -c eslint.config.mjs","check-ts":"tsc --noEmit --checkJS false",tsc:"tsc --project tsconfig.json"},kj={extends:"react-app"},$j="http://127.0.0.1:8081",Tj=["127.0.0.1"],Oj=".",Dj=[">0.2%","not dead","not ie <= 11","not op_mini all"],Nj={name:xj,version:Sj,private:!0,dependencies:Cj,scripts:Ej,eslintConfig:kj,proxy:$j,allowedHosts:Tj,homepage:Oj,browserslist:Dj};window.location.hostname==="localhost"||window.location.hostname==="[::1]"||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/);function Mj(){"serviceWorker"in navigator&&navigator.serviceWorker.ready.then(t=>t.unregister())}function ms(t,...e){const r=new URL(`https://mui.com/production-error/?code=${t}`);return e.forEach(n=>r.searchParams.append("args[]",n)),`Minified MUI error #${t}; visit ${r} for the full message.`}const ho="$$material";function _f(){return _f=Object.assign?Object.assign.bind():function(t){for(var e=1;e0?Nr(Gl,--vn):0,Il--,gr===10&&(Il=1,Yf--),gr}function An(){return gr=vn2||Nu(gr)>3?"":" "}function qj(t,e){for(;--e&&An()&&!(gr<48||gr>102||gr>57&&gr<65||gr>70&&gr<97););return Gu(t,of()+(e<6&&zo()==32&&An()==32))}function Sb(t){for(;An();)switch(gr){case t:return vn;case 34:case 39:t!==34&&t!==39&&Sb(gr);break;case 40:t===41&&Sb(t);break;case 92:An();break}return vn}function Vj(t,e){for(;An()&&t+gr!==57;)if(t+gr===84&&zo()===47)break;return"/*"+Gu(e,vn-1)+"*"+Jf(t===47?t:An())}function Gj(t){for(;!Nu(zo());)An();return Gu(t,vn)}function Xj(t){return pN(af("",null,null,null,[""],t=dN(t),0,[0],t))}function af(t,e,r,n,o,s,a,l,u){for(var p=0,h=0,d=a,_=0,g=0,v=0,w=1,x=1,C=1,M=0,$="",E=o,k=s,T=n,A=$;x;)switch(v=M,M=An()){case 40:if(v!=108&&Nr(A,d-1)==58){xb(A+=Dt(sf(M),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:A+=sf(M);break;case 9:case 10:case 13:case 32:A+=Hj(v);break;case 92:A+=qj(of()-1,7);continue;case 47:switch(zo()){case 42:case 47:Ep(Jj(Vj(An(),of()),e,r),u);break;default:A+="/"}break;case 123*w:l[p++]=No(A)*C;case 125*w:case 59:case 0:switch(M){case 0:case 125:x=0;case 59+h:C==-1&&(A=Dt(A,/\f/g,"")),g>0&&No(A)-d&&Ep(g>32?MC(A+";",n,r,d-1):MC(Dt(A," ","")+";",n,r,d-2),u);break;case 59:A+=";";default:if(Ep(T=NC(A,e,r,p,h,o,l,$,E=[],k=[],d),s),M===123)if(h===0)af(A,e,T,T,E,s,d,l,k);else switch(_===99&&Nr(A,3)===110?100:_){case 100:case 108:case 109:case 115:af(t,T,T,n&&Ep(NC(t,T,T,0,0,o,l,$,o,E=[],d),k),o,k,d,l,n?E:k);break;default:af(A,T,T,T,[""],k,0,l,k)}}p=h=g=0,w=C=1,$=A="",d=a;break;case 58:d=1+No(A),g=v;default:if(w<1){if(M==123)--w;else if(M==125&&w++==0&&Uj()==125)continue}switch(A+=Jf(M),M*w){case 38:C=h>0?1:(A+="\f",-1);break;case 44:l[p++]=(No(A)-1)*C,C=1;break;case 64:zo()===45&&(A+=sf(An())),_=zo(),h=d=No($=A+=Gj(of())),M++;break;case 45:v===45&&No(A)==2&&(w=0)}}return s}function NC(t,e,r,n,o,s,a,l,u,p,h){for(var d=o-1,_=o===0?s:[""],g=J0(_),v=0,w=0,x=0;v0?_[C]+" "+M:Dt(M,/&\f/g,_[C])))&&(u[x++]=$);return Kf(t,e,r,o===0?G0:l,u,p,h)}function Jj(t,e,r){return Kf(t,e,r,iN,Jf(Wj()),Du(t,2,-2),0)}function MC(t,e,r,n){return Kf(t,e,r,X0,Du(t,0,n),Du(t,n+1,-1),n)}function Tl(t,e){for(var r="",n=J0(t),o=0;o6)switch(Nr(t,e+1)){case 109:if(Nr(t,e+4)!==45)break;case 102:return Dt(t,/(.+:)(.+)-([^]+)/,"$1"+Ot+"$2-$3$1"+gf+(Nr(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~xb(t,"stretch")?hN(Dt(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(Nr(t,e+1)!==115)break;case 6444:switch(Nr(t,No(t)-3-(~xb(t,"!important")&&10))){case 107:return Dt(t,":",":"+Ot)+t;case 101:return Dt(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ot+(Nr(t,14)===45?"inline-":"")+"box$3$1"+Ot+"$2$3$1"+Br+"$2box$3")+t}break;case 5936:switch(Nr(t,e+11)){case 114:return Ot+t+Br+Dt(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return Ot+t+Br+Dt(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return Ot+t+Br+Dt(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return Ot+t+Br+t+t}return t}var o5=function(e,r,n,o){if(e.length>-1&&!e.return)switch(e.type){case X0:e.return=hN(e.value,e.length);break;case lN:return Tl([Bc(e,{value:Dt(e.value,"@","@"+Ot)})],o);case G0:if(e.length)return Bj(e.props,function(s){switch(Lj(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Tl([Bc(e,{props:[Dt(s,/:(read-\w+)/,":"+gf+"$1")]})],o);case"::placeholder":return Tl([Bc(e,{props:[Dt(s,/:(plac\w+)/,":"+Ot+"input-$1")]}),Bc(e,{props:[Dt(s,/:(plac\w+)/,":"+gf+"$1")]}),Bc(e,{props:[Dt(s,/:(plac\w+)/,Br+"input-$1")]})],o)}return""})}},s5=[o5],mN=function(e){var r=e.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(w){var x=w.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(w),w.setAttribute("data-s",""))})}var o=e.stylisPlugins||s5,s={},a,l=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(w){for(var x=w.getAttribute("data-emotion").split(" "),C=1;C=4;++n,o-=4)r=t.charCodeAt(n)&255|(t.charCodeAt(++n)&255)<<8|(t.charCodeAt(++n)&255)<<16|(t.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,e=(r&65535)*1540483477+((r>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(o){case 3:e^=(t.charCodeAt(n+2)&255)<<16;case 2:e^=(t.charCodeAt(n+1)&255)<<8;case 1:e^=t.charCodeAt(n)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var d5={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},p5=/[A-Z]|^ms/g,f5=/_EMO_([^_]+?)_([^]*?)_EMO_/g,gN=function(e){return e.charCodeAt(1)===45},jC=function(e){return e!=null&&typeof e!="boolean"},O_=fN(function(t){return gN(t)?t:t.replace(p5,"-$&").toLowerCase()}),FC=function(e,r){switch(e){case"animation":case"animationName":if(typeof r=="string")return r.replace(f5,function(n,o,s){return Mo={name:o,styles:s,next:Mo},o})}return d5[e]!==1&&!gN(e)&&typeof r=="number"&&r!==0?r+"px":r};function Mu(t,e,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var o=r;if(o.anim===1)return Mo={name:o.name,styles:o.styles,next:Mo},o.name;var s=r;if(s.styles!==void 0){var a=s.next;if(a!==void 0)for(;a!==void 0;)Mo={name:a.name,styles:a.styles,next:Mo},a=a.next;var l=s.styles+";";return l}return h5(t,e,r)}case"function":{if(t!==void 0){var u=Mo,p=r(t);return Mo=u,Mu(t,e,p)}break}}var h=r;if(e==null)return h;var d=e[h];return d!==void 0?d:h}function h5(t,e,r){var n="";if(Array.isArray(r))for(var o=0;o96?E5:k5},WC=function(e,r,n){var o;if(r){var s=r.shouldForwardProp;o=e.__emotion_forwardProp&&s?function(a){return e.__emotion_forwardProp(a)&&s(a)}:s}return typeof o!="function"&&n&&(o=e.__emotion_forwardProp),o},$5=function(e){var r=e.cache,n=e.serialized,o=e.isStringTag;return Y0(r,n,o),vN(function(){return K0(r,n,o)}),null},T5=function t(e,r){var n=e.__emotion_real===e,o=n&&e.__emotion_base||e,s,a;r!==void 0&&(s=r.label,a=r.target);var l=WC(e,r,n),u=l||BC(o),p=!u("as");return function(){var h=arguments,d=n&&e.__emotion_styles!==void 0?e.__emotion_styles.slice(0):[];if(s!==void 0&&d.push("label:"+s+";"),h[0]==null||h[0].raw===void 0)d.push.apply(d,h);else{var _=h[0];d.push(_[0]);for(var g=h.length,v=1;v{const r=mN(t);return r.sheet=new e({key:r.key,nonce:r.sheet.nonce,container:r.sheet.container,speedy:r.sheet.isSpeedy,prepend:r.sheet.prepend,insertionPoint:r.sheet.insertionPoint}),r};let kb;if(typeof document=="object"){let t=document.querySelector('[name="emotion-insertion-point"]');if(!t){t=document.createElement("meta"),t.setAttribute("name","emotion-insertion-point"),t.setAttribute("content","");const r=document.querySelector("head");r&&r.prepend(t)}class e extends aN{insert(n,o){return this.key&&this.key.endsWith("global")&&(this.before=t),super.insert(n,o)}}kb=P5({key:"css",insertionPoint:t},e)}function VC(t){const{injectFirst:e,children:r}=t;return e&&kb?D.jsx(_5,{value:kb,children:r}):r}function I5(t){return t==null||Object.keys(t).length===0}function wN(t){const{styles:e,defaultTheme:r={}}=t,n=typeof e=="function"?o=>e(I5(o)?r:o):e;return D.jsx(x5,{styles:n})}/** + * @mui/styled-engine v6.4.0 + * + * @license MIT + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */function xN(t,e){return Eb(t,e)}function R5(t,e){Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=e(t.__emotion_styles))}const GC=[];function XC(t){return GC[0]=t,Xu(GC)}var A_={exports:{}},jt={};/** + * @license React + * react-is.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var JC;function j5(){if(JC)return jt;JC=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),a=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),_=Symbol.for("react.offscreen"),g=Symbol.for("react.client.reference");function v(w){if(typeof w=="object"&&w!==null){var x=w.$$typeof;switch(x){case t:switch(w=w.type,w){case r:case o:case n:case u:case p:return w;default:switch(w=w&&w.$$typeof,w){case a:case l:case d:case h:return w;case s:return w;default:return x}}case e:return x}}}return jt.ContextConsumer=s,jt.ContextProvider=a,jt.Element=t,jt.ForwardRef=l,jt.Fragment=r,jt.Lazy=d,jt.Memo=h,jt.Portal=e,jt.Profiler=o,jt.StrictMode=n,jt.Suspense=u,jt.SuspenseList=p,jt.isContextConsumer=function(w){return v(w)===s},jt.isContextProvider=function(w){return v(w)===a},jt.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===t},jt.isForwardRef=function(w){return v(w)===l},jt.isFragment=function(w){return v(w)===r},jt.isLazy=function(w){return v(w)===d},jt.isMemo=function(w){return v(w)===h},jt.isPortal=function(w){return v(w)===e},jt.isProfiler=function(w){return v(w)===o},jt.isStrictMode=function(w){return v(w)===n},jt.isSuspense=function(w){return v(w)===u},jt.isSuspenseList=function(w){return v(w)===p},jt.isValidElementType=function(w){return typeof w=="string"||typeof w=="function"||w===r||w===o||w===n||w===u||w===p||w===_||typeof w=="object"&&w!==null&&(w.$$typeof===d||w.$$typeof===h||w.$$typeof===a||w.$$typeof===s||w.$$typeof===l||w.$$typeof===g||w.getModuleId!==void 0)},jt.typeOf=v,jt}var YC;function F5(){return YC||(YC=1,A_.exports=j5()),A_.exports}var SN=F5();function Io(t){if(typeof t!="object"||t===null)return!1;const e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function CN(t){if(N.isValidElement(t)||SN.isValidElementType(t)||!Io(t))return t;const e={};return Object.keys(t).forEach(r=>{e[r]=CN(t[r])}),e}function Xr(t,e,r={clone:!0}){const n=r.clone?{...t}:t;return Io(t)&&Io(e)&&Object.keys(e).forEach(o=>{N.isValidElement(e[o])||SN.isValidElementType(e[o])?n[o]=e[o]:Io(e[o])&&Object.prototype.hasOwnProperty.call(t,o)&&Io(t[o])?n[o]=Xr(t[o],e[o],r):r.clone?n[o]=Io(e[o])?CN(e[o]):e[o]:n[o]=e[o]}),n}const z5=t=>{const e=Object.keys(t).map(r=>({key:r,val:t[r]}))||[];return e.sort((r,n)=>r.val-n.val),e.reduce((r,n)=>({...r,[n.key]:n.val}),{})};function L5(t){const{values:e={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=t,s=z5(e),a=Object.keys(s);function l(_){return`@media (min-width:${typeof e[_]=="number"?e[_]:_}${r})`}function u(_){return`@media (max-width:${(typeof e[_]=="number"?e[_]:_)-n/100}${r})`}function p(_,g){const v=a.indexOf(g);return`@media (min-width:${typeof e[_]=="number"?e[_]:_}${r}) and (max-width:${(v!==-1&&typeof e[a[v]]=="number"?e[a[v]]:g)-n/100}${r})`}function h(_){return a.indexOf(_)+1n.startsWith("@container")).sort((n,o)=>{var a,l;const s=/min-width:\s*([0-9.]+)/;return+(((a=n.match(s))==null?void 0:a[1])||0)-+(((l=o.match(s))==null?void 0:l[1])||0)});return r.length?r.reduce((n,o)=>{const s=e[o];return delete n[o],n[o]=s,n},{...e}):e}function W5(t,e){return e==="@"||e.startsWith("@")&&(t.some(r=>e.startsWith(`@${r}`))||!!e.match(/^@\d/))}function U5(t,e){const r=e.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;const[,n,o]=r,s=Number.isNaN(+n)?n||0:+n;return t.containerQueries(o).up(s)}function H5(t){const e=(s,a)=>s.replace("@media",a?`@container ${a}`:"@container");function r(s,a){s.up=(...l)=>e(t.breakpoints.up(...l),a),s.down=(...l)=>e(t.breakpoints.down(...l),a),s.between=(...l)=>e(t.breakpoints.between(...l),a),s.only=(...l)=>e(t.breakpoints.only(...l),a),s.not=(...l)=>{const u=e(t.breakpoints.not(...l),a);return u.includes("not all and")?u.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):u}}const n={},o=s=>(r(n,s),n);return r(o),{...t,containerQueries:o}}const q5={borderRadius:4};function vu(t,e){return e?Xr(t,e,{clone:!1}):t}const Zf={xs:0,sm:600,md:900,lg:1200,xl:1536},KC={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${Zf[t]}px)`},V5={containerQueries:t=>({up:e=>{let r=typeof e=="number"?e:Zf[e]||e;return typeof r=="number"&&(r=`${r}px`),t?`@container ${t} (min-width:${r})`:`@container (min-width:${r})`}})};function _s(t,e,r){const n=t.theme||{};if(Array.isArray(e)){const s=n.breakpoints||KC;return e.reduce((a,l,u)=>(a[s.up(s.keys[u])]=r(e[u]),a),{})}if(typeof e=="object"){const s=n.breakpoints||KC;return Object.keys(e).reduce((a,l)=>{if(W5(s.keys,l)){const u=U5(n.containerQueries?n:V5,l);u&&(a[u]=r(e[l],l))}else if(Object.keys(s.values||Zf).includes(l)){const u=s.up(l);a[u]=r(e[l],l)}else{const u=l;a[u]=e[u]}return a},{})}return r(e)}function G5(t={}){var r;return((r=t.keys)==null?void 0:r.reduce((n,o)=>{const s=t.up(o);return n[s]={},n},{}))||{}}function X5(t,e){return t.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},e)}function pe(t){if(typeof t!="string")throw new Error(ms(7));return t.charAt(0).toUpperCase()+t.slice(1)}function Qf(t,e,r=!0){if(!e||typeof e!="string")return null;if(t&&t.vars&&r){const n=`vars.${e}`.split(".").reduce((o,s)=>o&&o[s]?o[s]:null,t);if(n!=null)return n}return e.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,t)}function yf(t,e,r,n=r){let o;return typeof t=="function"?o=t(r):Array.isArray(t)?o=t[r]||n:o=Qf(t,r)||n,e&&(o=e(o,n,t)),o}function hr(t){const{prop:e,cssProperty:r=t.prop,themeKey:n,transform:o}=t,s=a=>{if(a[e]==null)return null;const l=a[e],u=a.theme,p=Qf(u,n)||{};return _s(a,l,d=>{let _=yf(p,o,d);return d===_&&typeof d=="string"&&(_=yf(p,o,`${e}${d==="default"?"":pe(d)}`,d)),r===!1?_:{[r]:_}})};return s.propTypes={},s.filterProps=[e],s}function J5(t){const e={};return r=>(e[r]===void 0&&(e[r]=t(r)),e[r])}const Y5={m:"margin",p:"padding"},K5={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},ZC={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Z5=J5(t=>{if(t.length>2)if(ZC[t])t=ZC[t];else return[t];const[e,r]=t.split(""),n=Y5[e],o=K5[r]||"";return Array.isArray(o)?o.map(s=>n+s):[n+o]}),ew=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],tw=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...ew,...tw];function Yu(t,e,r,n){const o=Qf(t,e,!0)??r;return typeof o=="number"||typeof o=="string"?s=>typeof s=="string"?s:typeof o=="string"?`calc(${s} * ${o})`:o*s:Array.isArray(o)?s=>{if(typeof s=="string")return s;const a=Math.abs(s),l=o[a];return s>=0?l:typeof l=="number"?-l:`-${l}`}:typeof o=="function"?o:()=>{}}function rw(t){return Yu(t,"spacing",8)}function Ku(t,e){return typeof e=="string"||e==null?e:t(e)}function Q5(t,e){return r=>t.reduce((n,o)=>(n[o]=Ku(e,r),n),{})}function e4(t,e,r,n){if(!e.includes(r))return null;const o=Z5(r),s=Q5(o,n),a=t[r];return _s(t,a,s)}function EN(t,e){const r=rw(t.theme);return Object.keys(t).map(n=>e4(t,e,n,r)).reduce(vu,{})}function ir(t){return EN(t,ew)}ir.propTypes={};ir.filterProps=ew;function lr(t){return EN(t,tw)}lr.propTypes={};lr.filterProps=tw;function kN(t=8,e=rw({spacing:t})){if(t.mui)return t;const r=(...n)=>(n.length===0?[1]:n).map(s=>{const a=e(s);return typeof a=="number"?`${a}px`:a}).join(" ");return r.mui=!0,r}function eh(...t){const e=t.reduce((n,o)=>(o.filterProps.forEach(s=>{n[s]=o}),n),{}),r=n=>Object.keys(n).reduce((o,s)=>e[s]?vu(o,e[s](n)):o,{});return r.propTypes={},r.filterProps=t.reduce((n,o)=>n.concat(o.filterProps),[]),r}function qn(t){return typeof t!="number"?t:`${t}px solid`}function eo(t,e){return hr({prop:t,themeKey:"borders",transform:e})}const t4=eo("border",qn),r4=eo("borderTop",qn),n4=eo("borderRight",qn),o4=eo("borderBottom",qn),s4=eo("borderLeft",qn),a4=eo("borderColor"),i4=eo("borderTopColor"),l4=eo("borderRightColor"),c4=eo("borderBottomColor"),u4=eo("borderLeftColor"),d4=eo("outline",qn),p4=eo("outlineColor"),th=t=>{if(t.borderRadius!==void 0&&t.borderRadius!==null){const e=Yu(t.theme,"shape.borderRadius",4),r=n=>({borderRadius:Ku(e,n)});return _s(t,t.borderRadius,r)}return null};th.propTypes={};th.filterProps=["borderRadius"];eh(t4,r4,n4,o4,s4,a4,i4,l4,c4,u4,th,d4,p4);const rh=t=>{if(t.gap!==void 0&&t.gap!==null){const e=Yu(t.theme,"spacing",8),r=n=>({gap:Ku(e,n)});return _s(t,t.gap,r)}return null};rh.propTypes={};rh.filterProps=["gap"];const nh=t=>{if(t.columnGap!==void 0&&t.columnGap!==null){const e=Yu(t.theme,"spacing",8),r=n=>({columnGap:Ku(e,n)});return _s(t,t.columnGap,r)}return null};nh.propTypes={};nh.filterProps=["columnGap"];const oh=t=>{if(t.rowGap!==void 0&&t.rowGap!==null){const e=Yu(t.theme,"spacing",8),r=n=>({rowGap:Ku(e,n)});return _s(t,t.rowGap,r)}return null};oh.propTypes={};oh.filterProps=["rowGap"];const f4=hr({prop:"gridColumn"}),h4=hr({prop:"gridRow"}),m4=hr({prop:"gridAutoFlow"}),_4=hr({prop:"gridAutoColumns"}),g4=hr({prop:"gridAutoRows"}),y4=hr({prop:"gridTemplateColumns"}),v4=hr({prop:"gridTemplateRows"}),b4=hr({prop:"gridTemplateAreas"}),w4=hr({prop:"gridArea"});eh(rh,nh,oh,f4,h4,m4,_4,g4,y4,v4,b4,w4);function Ol(t,e){return e==="grey"?e:t}const x4=hr({prop:"color",themeKey:"palette",transform:Ol}),S4=hr({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ol}),C4=hr({prop:"backgroundColor",themeKey:"palette",transform:Ol});eh(x4,S4,C4);function Tn(t){return t<=1&&t!==0?`${t*100}%`:t}const E4=hr({prop:"width",transform:Tn}),nw=t=>{if(t.maxWidth!==void 0&&t.maxWidth!==null){const e=r=>{var o,s,a,l,u;const n=((a=(s=(o=t.theme)==null?void 0:o.breakpoints)==null?void 0:s.values)==null?void 0:a[r])||Zf[r];return n?((u=(l=t.theme)==null?void 0:l.breakpoints)==null?void 0:u.unit)!=="px"?{maxWidth:`${n}${t.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:Tn(r)}};return _s(t,t.maxWidth,e)}return null};nw.filterProps=["maxWidth"];const k4=hr({prop:"minWidth",transform:Tn}),$4=hr({prop:"height",transform:Tn}),T4=hr({prop:"maxHeight",transform:Tn}),O4=hr({prop:"minHeight",transform:Tn});hr({prop:"size",cssProperty:"width",transform:Tn});hr({prop:"size",cssProperty:"height",transform:Tn});const D4=hr({prop:"boxSizing"});eh(E4,nw,k4,$4,T4,O4,D4);const Zu={border:{themeKey:"borders",transform:qn},borderTop:{themeKey:"borders",transform:qn},borderRight:{themeKey:"borders",transform:qn},borderBottom:{themeKey:"borders",transform:qn},borderLeft:{themeKey:"borders",transform:qn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:qn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:th},color:{themeKey:"palette",transform:Ol},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ol},backgroundColor:{themeKey:"palette",transform:Ol},p:{style:lr},pt:{style:lr},pr:{style:lr},pb:{style:lr},pl:{style:lr},px:{style:lr},py:{style:lr},padding:{style:lr},paddingTop:{style:lr},paddingRight:{style:lr},paddingBottom:{style:lr},paddingLeft:{style:lr},paddingX:{style:lr},paddingY:{style:lr},paddingInline:{style:lr},paddingInlineStart:{style:lr},paddingInlineEnd:{style:lr},paddingBlock:{style:lr},paddingBlockStart:{style:lr},paddingBlockEnd:{style:lr},m:{style:ir},mt:{style:ir},mr:{style:ir},mb:{style:ir},ml:{style:ir},mx:{style:ir},my:{style:ir},margin:{style:ir},marginTop:{style:ir},marginRight:{style:ir},marginBottom:{style:ir},marginLeft:{style:ir},marginX:{style:ir},marginY:{style:ir},marginInline:{style:ir},marginInlineStart:{style:ir},marginInlineEnd:{style:ir},marginBlock:{style:ir},marginBlockStart:{style:ir},marginBlockEnd:{style:ir},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:rh},rowGap:{style:oh},columnGap:{style:nh},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Tn},maxWidth:{style:nw},minWidth:{transform:Tn},height:{transform:Tn},maxHeight:{transform:Tn},minHeight:{transform:Tn},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function N4(...t){const e=t.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(e);return t.every(n=>r.size===Object.keys(n).length)}function M4(t,e){return typeof t=="function"?t(e):t}function A4(){function t(r,n,o,s){const a={[r]:n,theme:o},l=s[r];if(!l)return{[r]:n};const{cssProperty:u=r,themeKey:p,transform:h,style:d}=l;if(n==null)return null;if(p==="typography"&&n==="inherit")return{[r]:n};const _=Qf(o,p)||{};return d?d(a):_s(a,n,v=>{let w=yf(_,h,v);return v===w&&typeof v=="string"&&(w=yf(_,h,`${r}${v==="default"?"":pe(v)}`,v)),u===!1?w:{[u]:w}})}function e(r){const{sx:n,theme:o={}}=r||{};if(!n)return null;const s=o.unstable_sxConfig??Zu;function a(l){let u=l;if(typeof l=="function")u=l(o);else if(typeof l!="object")return l;if(!u)return null;const p=G5(o.breakpoints),h=Object.keys(p);let d=p;return Object.keys(u).forEach(_=>{const g=M4(u[_],o);if(g!=null)if(typeof g=="object")if(s[_])d=vu(d,t(_,g,o,s));else{const v=_s({theme:o},g,w=>({[_]:w}));N4(v,g)?d[_]=e({sx:g,theme:o}):d=vu(d,v)}else d=vu(d,t(_,g,o,s))}),B5(o,X5(h,d))}return Array.isArray(n)?n.map(a):a(n)}return e}const aa=A4();aa.filterProps=["sx"];function P4(t,e){var n;const r=this;if(r.vars){if(!((n=r.colorSchemes)!=null&&n[t])||typeof r.getColorSchemeSelector!="function")return{};let o=r.getColorSchemeSelector(t);return o==="&"?e:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:e})}return r.palette.mode===t?e:{}}function sh(t={},...e){const{breakpoints:r={},palette:n={},spacing:o,shape:s={},...a}=t,l=L5(r),u=kN(o);let p=Xr({breakpoints:l,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:u,shape:{...q5,...s}},a);return p=H5(p),p.applyStyles=P4,p=e.reduce((h,d)=>Xr(h,d),p),p.unstable_sxConfig={...Zu,...a==null?void 0:a.unstable_sxConfig},p.unstable_sx=function(d){return aa({sx:d,theme:this})},p}function I4(t){return Object.keys(t).length===0}function ow(t=null){const e=N.useContext(Ju);return!e||I4(e)?t:e}const R4=sh();function Qu(t=R4){return ow(t)}function j4({styles:t,themeId:e,defaultTheme:r={}}){const n=Qu(r),o=typeof t=="function"?t(e&&n[e]||n):t;return D.jsx(wN,{styles:o})}const F4=t=>{var n;const e={systemProps:{},otherProps:{}},r=((n=t==null?void 0:t.theme)==null?void 0:n.unstable_sxConfig)??Zu;return Object.keys(t).forEach(o=>{r[o]?e.systemProps[o]=t[o]:e.otherProps[o]=t[o]}),e};function sw(t){const{sx:e,...r}=t,{systemProps:n,otherProps:o}=F4(r);let s;return Array.isArray(e)?s=[n,...e]:typeof e=="function"?s=(...a)=>{const l=e(...a);return Io(l)?{...n,...l}:n}:s={...n,...e},{...o,sx:s}}const QC=t=>t,z4=()=>{let t=QC;return{configure(e){t=e},generate(e){return t(e)},reset(){t=QC}}},$N=z4();function TN(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t)){var o=t.length;for(e=0;el!=="theme"&&l!=="sx"&&l!=="as"})(aa);return N.forwardRef(function(u,p){const h=Qu(r),{className:d,component:_="div",...g}=sw(u);return D.jsx(s,{as:_,ref:p,className:ON(d,o?o(n):n),theme:e&&h[e]||h,...g})})}const B4={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Ye(t,e,r="Mui"){const n=B4[e];return n?`${r}-${n}`:`${$N.generate(t)}-${e}`}function Xe(t,e,r="Mui"){const n={};return e.forEach(o=>{n[o]=Ye(t,o,r)}),n}function DN(t){const{variants:e,...r}=t,n={variants:e,style:XC(r),isProcessed:!0};return n.style===r||e&&e.forEach(o=>{typeof o.style!="function"&&(o.style=XC(o.style))}),n}const W4=sh();function P_(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}function U4(t){return t?(e,r)=>r[t]:null}function H4(t,e,r){t.theme=V4(t.theme)?r:t.theme[e]||t.theme}function lf(t,e){const r=typeof e=="function"?e(t):e;if(Array.isArray(r))return r.flatMap(n=>lf(t,n));if(Array.isArray(r==null?void 0:r.variants)){let n;if(r.isProcessed)n=r.style;else{const{variants:o,...s}=r;n=s}return NN(t,r.variants,[n])}return r!=null&&r.isProcessed?r.style:r}function NN(t,e,r=[]){var o;let n;e:for(let s=0;s{R5(l,k=>k.filter(T=>T!==aa));const{name:p,slot:h,skipVariantsResolver:d,skipSx:_,overridesResolver:g=U4(X4(h)),...v}=u,w=d!==void 0?d:h&&h!=="Root"&&h!=="root"||!1,x=_||!1;let C=P_;h==="Root"||h==="root"?C=n:h?C=o:G4(l)&&(C=void 0);const M=xN(l,{shouldForwardProp:C,label:q4(),...v}),$=k=>{if(typeof k=="function"&&k.__emotion_real!==k)return function(A){return lf(A,k)};if(Io(k)){const T=DN(k);return T.variants?function(I){return lf(I,T)}:T.style}return k},E=(...k)=>{const T=[],A=k.map($),I=[];if(T.push(s),p&&g&&I.push(function(H){var X,re;const U=(re=(X=H.theme.components)==null?void 0:X[p])==null?void 0:re.styleOverrides;if(!U)return null;const B={};for(const Z in U)B[Z]=lf(H,U[Z]);return g(H,B)}),p&&!w&&I.push(function(H){var B,X;const q=H.theme,U=(X=(B=q==null?void 0:q.components)==null?void 0:B[p])==null?void 0:X.variants;return U?NN(H,U):null}),x||I.push(aa),Array.isArray(A[0])){const F=A.shift(),H=new Array(T.length).fill(""),q=new Array(I.length).fill("");let U;U=[...H,...F,...q],U.raw=[...H,...F.raw,...q],T.unshift(U)}const j=[...T,...A,...I],O=M(...j);return l.muiName&&(O.muiName=l.muiName),O};return M.withConfig&&(E.withConfig=M.withConfig),E}}function q4(t,e){return void 0}function V4(t){for(const e in t)return!1;return!0}function G4(t){return typeof t=="string"&&t.charCodeAt(0)>96}function X4(t){return t&&t.charAt(0).toLowerCase()+t.slice(1)}const J4=MN();function Au(t,e){const r={...e};for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)){const o=n;if(o==="components"||o==="slots")r[o]={...t[o],...r[o]};else if(o==="componentsProps"||o==="slotProps"){const s=t[o],a=e[o];if(!a)r[o]=s||{};else if(!s)r[o]=a;else{r[o]={...a};for(const l in s)if(Object.prototype.hasOwnProperty.call(s,l)){const u=l;r[o][u]=Au(s[u],a[u])}}}else r[o]===void 0&&(r[o]=t[o])}return r}function AN(t){const{theme:e,name:r,props:n}=t;return!e||!e.components||!e.components[r]||!e.components[r].defaultProps?n:Au(e.components[r].defaultProps,n)}function Y4({props:t,name:e,defaultTheme:r,themeId:n}){let o=Qu(r);return n&&(o=o[n]||o),AN({theme:o,name:e,props:t})}const bn=typeof window<"u"?N.useLayoutEffect:N.useEffect;function K4(t,e,r,n,o){const[s,a]=N.useState(()=>o&&r?r(t).matches:n?n(t).matches:e);return bn(()=>{if(!r)return;const l=r(t),u=()=>{a(l.matches)};return u(),l.addEventListener("change",u),()=>{l.removeEventListener("change",u)}},[t,r]),s}const Z4={...mf},PN=Z4.useSyncExternalStore;function Q4(t,e,r,n,o){const s=N.useCallback(()=>e,[e]),a=N.useMemo(()=>{if(o&&r)return()=>r(t).matches;if(n!==null){const{matches:h}=n(t);return()=>h}return s},[s,t,n,o,r]),[l,u]=N.useMemo(()=>{if(r===null)return[s,()=>()=>{}];const h=r(t);return[()=>h.matches,d=>(h.addEventListener("change",d),()=>{h.removeEventListener("change",d)})]},[s,r,t]);return PN(u,l,a)}function e3(t={}){const{themeId:e}=t;return function(n,o={}){let s=ow();s&&e&&(s=s[e]||s);const a=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:l=!1,matchMedia:u=a?window.matchMedia:null,ssrMatchMedia:p=null,noSsr:h=!1}=AN({name:"MuiUseMediaQuery",props:o,theme:s});let d=typeof n=="function"?n(s):n;return d=d.replace(/^@media( ?)/m,""),(PN!==void 0?Q4:K4)(d,l,u,p,h)}}function t3(t,e=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(e,Math.min(t,r))}function aw(t,e=0,r=1){return t3(t,e,r)}function r3(t){t=t.slice(1);const e=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let r=t.match(e);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function ia(t){if(t.type)return t;if(t.charAt(0)==="#")return ia(r3(t));const e=t.indexOf("("),r=t.substring(0,e);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(ms(9,t));let n=t.substring(e+1,t.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(ms(10,o))}else n=n.split(",");return n=n.map(s=>parseFloat(s)),{type:r,values:n,colorSpace:o}}const n3=t=>{const e=ia(t);return e.values.slice(0,3).map((r,n)=>e.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},su=(t,e)=>{try{return n3(t)}catch{return t}};function ah(t){const{type:e,colorSpace:r}=t;let{values:n}=t;return e.includes("rgb")?n=n.map((o,s)=>s<3?parseInt(o,10):o):e.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),e.includes("color")?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${e}(${n})`}function IN(t){t=ia(t);const{values:e}=t,r=e[0],n=e[1]/100,o=e[2]/100,s=n*Math.min(o,1-o),a=(p,h=(p+r/30)%12)=>o-s*Math.max(Math.min(h-3,9-h,1),-1);let l="rgb";const u=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return t.type==="hsla"&&(l+="a",u.push(e[3])),ah({type:l,values:u})}function $b(t){t=ia(t);let e=t.type==="hsl"||t.type==="hsla"?ia(IN(t)).values:t.values;return e=e.map(r=>(t.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function o3(t,e){const r=$b(t),n=$b(e);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Ft(t,e){return t=ia(t),e=aw(e),(t.type==="rgb"||t.type==="hsl")&&(t.type+="a"),t.type==="color"?t.values[3]=`/${e}`:t.values[3]=e,ah(t)}function kp(t,e,r){try{return Ft(t,e)}catch{return t}}function ed(t,e){if(t=ia(t),e=aw(e),t.type.includes("hsl"))t.values[2]*=1-e;else if(t.type.includes("rgb")||t.type.includes("color"))for(let r=0;r<3;r+=1)t.values[r]*=1-e;return ah(t)}function zt(t,e,r){try{return ed(t,e)}catch{return t}}function td(t,e){if(t=ia(t),e=aw(e),t.type.includes("hsl"))t.values[2]+=(100-t.values[2])*e;else if(t.type.includes("rgb"))for(let r=0;r<3;r+=1)t.values[r]+=(255-t.values[r])*e;else if(t.type.includes("color"))for(let r=0;r<3;r+=1)t.values[r]+=(1-t.values[r])*e;return ah(t)}function Lt(t,e,r){try{return td(t,e)}catch{return t}}function vf(t,e=.15){return $b(t)>.5?ed(t,e):td(t,e)}function $p(t,e,r){try{return vf(t,e)}catch{return t}}function Tb(...t){return t.reduce((e,r)=>r==null?e:function(...o){e.apply(this,o),r.apply(this,o)},()=>{})}function ih(t,e=166){let r;function n(...o){const s=()=>{t.apply(this,o)};clearTimeout(r),r=setTimeout(s,e)}return n.clear=()=>{clearTimeout(r)},n}function bu(t,e){var r,n,o;return N.isValidElement(t)&&e.indexOf(t.type.muiName??((o=(n=(r=t.type)==null?void 0:r._payload)==null?void 0:n.value)==null?void 0:o.muiName))!==-1}function Pr(t){return t&&t.ownerDocument||document}function go(t){return Pr(t).defaultView||window}function Ob(t,e){typeof t=="function"?t(e):t&&(t.current=e)}let eE=0;function s3(t){const[e,r]=N.useState(t),n=t||e;return N.useEffect(()=>{e==null&&(eE+=1,r(`mui-${eE}`))},[e]),n}const a3={...mf},tE=a3.useId;function Jl(t){if(tE!==void 0){const e=tE();return t??e}return s3(t)}function bf({controlled:t,default:e,name:r,state:n="value"}){const{current:o}=N.useRef(t!==void 0),[s,a]=N.useState(e),l=o?t:s,u=N.useCallback(p=>{o||a(p)},[]);return[l,u]}function _n(t){const e=N.useRef(t);return bn(()=>{e.current=t}),N.useRef((...r)=>(0,e.current)(...r)).current}function sr(...t){return N.useMemo(()=>t.every(e=>e==null)?null:e=>{t.forEach(r=>{Ob(r,e)})},t)}const rE={};function RN(t,e){const r=N.useRef(rE);return r.current===rE&&(r.current=t(e)),r}const i3=[];function l3(t){N.useEffect(t,i3)}class lh{constructor(){Y(this,"currentId",null);Y(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});Y(this,"disposeEffect",()=>this.clear)}static create(){return new lh}start(e,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},e)}}function Ba(){const t=RN(lh.create).current;return l3(t.disposeEffect),t}function wf(t){try{return t.matches(":focus-visible")}catch{}return!1}function jN(t=window){const e=t.document.documentElement.clientWidth;return t.innerWidth-e}const FN=t=>{const e=N.useRef({});return N.useEffect(()=>{e.current=t}),e.current};function Ke(t,e,r=void 0){const n={};for(const o in t){const s=t[o];let a="",l=!0;for(let u=0;un.match(/^on[A-Z]/)&&typeof t[n]=="function"&&!e.includes(n)).forEach(n=>{r[n]=t[n]}),r}function oE(t){if(t===void 0)return{};const e={};return Object.keys(t).filter(r=>!(r.match(/^on[A-Z]/)&&typeof t[r]=="function")).forEach(r=>{e[r]=t[r]}),e}function BN(t){const{getSlotProps:e,additionalProps:r,externalSlotProps:n,externalForwardedProps:o,className:s}=t;if(!e){const g=nE(r==null?void 0:r.className,s,o==null?void 0:o.className,n==null?void 0:n.className),v={...r==null?void 0:r.style,...o==null?void 0:o.style,...n==null?void 0:n.style},w={...r,...o,...n};return g.length>0&&(w.className=g),Object.keys(v).length>0&&(w.style=v),{props:w,internalRef:void 0}}const a=xf({...o,...n}),l=oE(n),u=oE(o),p=e(a),h=nE(p==null?void 0:p.className,r==null?void 0:r.className,s,o==null?void 0:o.className,n==null?void 0:n.className),d={...p==null?void 0:p.style,...r==null?void 0:r.style,...o==null?void 0:o.style,...n==null?void 0:n.style},_={...p,...r,...u,...l};return h.length>0&&(_.className=h),Object.keys(d).length>0&&(_.style=d),{props:_,internalRef:p.ref}}function WN(t,e,r){return typeof t=="function"?t(e,r):t}function yo(t){var d;const{elementType:e,externalSlotProps:r,ownerState:n,skipResolvingSlotProps:o=!1,...s}=t,a=o?{}:WN(r,n),{props:l,internalRef:u}=BN({...s,externalSlotProps:a}),p=sr(u,a==null?void 0:a.ref,(d=t.additionalProps)==null?void 0:d.ref);return zN(e,{...l,ref:p},n)}function ni(t){var e;return parseInt(N.version,10)>=19?((e=t==null?void 0:t.props)==null?void 0:e.ref)||null:(t==null?void 0:t.ref)||null}const UN=N.createContext(null);function iw(){return N.useContext(UN)}const u3=typeof Symbol=="function"&&Symbol.for,d3=u3?Symbol.for("mui.nested"):"__THEME_NESTED__";function p3(t,e){return typeof e=="function"?e(t):{...t,...e}}function f3(t){const{children:e,theme:r}=t,n=iw(),o=N.useMemo(()=>{const s=n===null?{...r}:p3(n,r);return s!=null&&(s[d3]=n!==null),s},[r,n]);return D.jsx(UN.Provider,{value:o,children:e})}const HN=N.createContext();function h3({value:t,...e}){return D.jsx(HN.Provider,{value:t??!0,...e})}const Yl=()=>N.useContext(HN)??!1,qN=N.createContext(void 0);function m3({value:t,children:e}){return D.jsx(qN.Provider,{value:t,children:e})}function _3(t){const{theme:e,name:r,props:n}=t;if(!e||!e.components||!e.components[r])return n;const o=e.components[r];return o.defaultProps?Au(o.defaultProps,n):!o.styleOverrides&&!o.variants?Au(o,n):n}function g3({props:t,name:e}){const r=N.useContext(qN);return _3({props:t,name:e,theme:{components:r}})}const sE={};function aE(t,e,r,n=!1){return N.useMemo(()=>{const o=t&&e[t]||e;if(typeof r=="function"){const s=r(o),a=t?{...e,[t]:s}:s;return n?()=>a:a}return t?{...e,[t]:r}:{...e,...r}},[t,e,r,n])}function VN(t){const{children:e,theme:r,themeId:n}=t,o=ow(sE),s=iw()||sE,a=aE(n,o,r),l=aE(n,s,r,!0),u=(n?a[n]:a).direction==="rtl";return D.jsx(f3,{theme:l,children:D.jsx(Ju.Provider,{value:a,children:D.jsx(h3,{value:u,children:D.jsx(m3,{value:n?a[n].components:a.components,children:e})})})})}const iE={theme:void 0};function y3(t){let e,r;return function(o){let s=e;return(s===void 0||o.theme!==r)&&(iE.theme=o.theme,s=DN(t(iE)),e=s,r=o.theme),s}}const lw="mode",cw="color-scheme",v3="data-color-scheme";function b3(t){const{defaultMode:e="system",defaultLightColorScheme:r="light",defaultDarkColorScheme:n="dark",modeStorageKey:o=lw,colorSchemeStorageKey:s=cw,attribute:a=v3,colorSchemeNode:l="document.documentElement",nonce:u}=t;let p="",h=a;if(a==="class"&&(h=".%s"),a==="data"&&(h="[data-%s]"),h.startsWith(".")){const _=h.substring(1);p+=`${l}.classList.remove('${_}'.replace('%s', light), '${_}'.replace('%s', dark)); + ${l}.classList.add('${_}'.replace('%s', colorScheme));`}const d=h.match(/\[([^\]]+)\]/);if(d){const[_,g]=d[1].split("=");g||(p+=`${l}.removeAttribute('${_}'.replace('%s', light)); + ${l}.removeAttribute('${_}'.replace('%s', dark));`),p+=` + ${l}.setAttribute('${_}'.replace('%s', colorScheme), ${g?`${g}.replace('%s', colorScheme)`:'""'});`}else p+=`${l}.setAttribute('${h}', colorScheme);`;return D.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?u:"",dangerouslySetInnerHTML:{__html:`(function() { +try { + let colorScheme = ''; + const mode = localStorage.getItem('${o}') || '${e}'; + const dark = localStorage.getItem('${s}-dark') || '${n}'; + const light = localStorage.getItem('${s}-light') || '${r}'; + if (mode === 'system') { + // handle system mode + const mql = window.matchMedia('(prefers-color-scheme: dark)'); + if (mql.matches) { + colorScheme = dark + } else { + colorScheme = light + } + } + if (mode === 'light') { + colorScheme = light; + } + if (mode === 'dark') { + colorScheme = dark; + } + if (colorScheme) { + ${p} + } +} catch(e){}})();`}},"mui-color-scheme-init")}function lE(t){if(typeof window<"u"&&typeof window.matchMedia=="function"&&t==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function GN(t,e){if(t.mode==="light"||t.mode==="system"&&t.systemMode==="light")return e("light");if(t.mode==="dark"||t.mode==="system"&&t.systemMode==="dark")return e("dark")}function w3(t){return GN(t,e=>{if(e==="light")return t.lightColorScheme;if(e==="dark")return t.darkColorScheme})}function I_(t,e){if(typeof window>"u")return;let r;try{r=localStorage.getItem(t)||void 0,r||localStorage.setItem(t,e)}catch{}return r||e}function x3(t){const{defaultMode:e="light",defaultLightColorScheme:r,defaultDarkColorScheme:n,supportedColorSchemes:o=[],modeStorageKey:s=lw,colorSchemeStorageKey:a=cw,storageWindow:l=typeof window>"u"?void 0:window,noSsr:u=!1}=t,p=o.join(","),h=o.length>1,[d,_]=N.useState(()=>{const E=I_(s,e),k=I_(`${a}-light`,r),T=I_(`${a}-dark`,n);return{mode:E,systemMode:lE(E),lightColorScheme:k,darkColorScheme:T}}),[g,v]=N.useState(u||!h);N.useEffect(()=>{v(!0)},[]);const w=w3(d),x=N.useCallback(E=>{_(k=>{if(E===k.mode)return k;const T=E??e;try{localStorage.setItem(s,T)}catch{}return{...k,mode:T,systemMode:lE(T)}})},[s,e]),C=N.useCallback(E=>{E?typeof E=="string"?E&&!p.includes(E)?console.error(`\`${E}\` does not exist in \`theme.colorSchemes\`.`):_(k=>{const T={...k};return GN(k,A=>{try{localStorage.setItem(`${a}-${A}`,E)}catch{}A==="light"&&(T.lightColorScheme=E),A==="dark"&&(T.darkColorScheme=E)}),T}):_(k=>{const T={...k},A=E.light===null?r:E.light,I=E.dark===null?n:E.dark;if(A)if(!p.includes(A))console.error(`\`${A}\` does not exist in \`theme.colorSchemes\`.`);else{T.lightColorScheme=A;try{localStorage.setItem(`${a}-light`,A)}catch{}}if(I)if(!p.includes(I))console.error(`\`${I}\` does not exist in \`theme.colorSchemes\`.`);else{T.darkColorScheme=I;try{localStorage.setItem(`${a}-dark`,I)}catch{}}return T}):_(k=>{try{localStorage.setItem(`${a}-light`,r),localStorage.setItem(`${a}-dark`,n)}catch{}return{...k,lightColorScheme:r,darkColorScheme:n}})},[p,a,r,n]),M=N.useCallback(E=>{d.mode==="system"&&_(k=>{const T=E!=null&&E.matches?"dark":"light";return k.systemMode===T?k:{...k,systemMode:T}})},[d.mode]),$=N.useRef(M);return $.current=M,N.useEffect(()=>{if(typeof window.matchMedia!="function"||!h)return;const E=(...T)=>$.current(...T),k=window.matchMedia("(prefers-color-scheme: dark)");return k.addListener(E),E(k),()=>{k.removeListener(E)}},[h]),N.useEffect(()=>{if(l&&h){const E=k=>{const T=k.newValue;typeof k.key=="string"&&k.key.startsWith(a)&&(!T||p.match(T))&&(k.key.endsWith("light")&&C({light:T}),k.key.endsWith("dark")&&C({dark:T})),k.key===s&&(!T||["light","dark","system"].includes(T))&&x(T||e)};return l.addEventListener("storage",E),()=>{l.removeEventListener("storage",E)}}},[C,x,s,a,p,e,l,h]),{...d,mode:g?d.mode:void 0,systemMode:g?d.systemMode:void 0,colorScheme:g?w:void 0,setMode:x,setColorScheme:C}}const S3="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function C3(t){const{themeId:e,theme:r={},modeStorageKey:n=lw,colorSchemeStorageKey:o=cw,disableTransitionOnChange:s=!1,defaultColorScheme:a,resolveTheme:l}=t,u={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},p=N.createContext(void 0),h=()=>N.useContext(p)||u,d={},_={};function g(C){var mt,ue,Ee,ht;const{children:M,theme:$,modeStorageKey:E=n,colorSchemeStorageKey:k=o,disableTransitionOnChange:T=s,storageWindow:A=typeof window>"u"?void 0:window,documentNode:I=typeof document>"u"?void 0:document,colorSchemeNode:j=typeof document>"u"?void 0:document.documentElement,disableNestedContext:O=!1,disableStyleSheetGeneration:F=!1,defaultMode:H="system",noSsr:q}=C,U=N.useRef(!1),B=iw(),X=N.useContext(p),re=!!X&&!O,Z=N.useMemo(()=>$||(typeof r=="function"?r():r),[$]),J=Z[e],ne=J||Z,{colorSchemes:L=d,components:Q=_,cssVarPrefix:fe}=ne,me=Object.keys(L).filter(Ve=>!!L[Ve]).join(","),ye=N.useMemo(()=>me.split(","),[me]),we=typeof a=="string"?a:a.light,Me=typeof a=="string"?a:a.dark,Oe=L[we]&&L[Me]?H:((ue=(mt=L[ne.defaultColorScheme])==null?void 0:mt.palette)==null?void 0:ue.mode)||((Ee=ne.palette)==null?void 0:Ee.mode),{mode:Pe,setMode:ke,systemMode:He,lightColorScheme:Ae,darkColorScheme:it,colorScheme:Ie,setColorScheme:$e}=x3({supportedColorSchemes:ye,defaultLightColorScheme:we,defaultDarkColorScheme:Me,modeStorageKey:E,colorSchemeStorageKey:k,defaultMode:Oe,storageWindow:A,noSsr:q});let ie=Pe,se=Ie;re&&(ie=X.mode,se=X.colorScheme);const ze=N.useMemo(()=>{var yt;const Ve=se||ne.defaultColorScheme,Je=((yt=ne.generateThemeVars)==null?void 0:yt.call(ne))||ne.vars,pt={...ne,components:Q,colorSchemes:L,cssVarPrefix:fe,vars:Je};if(typeof pt.generateSpacing=="function"&&(pt.spacing=pt.generateSpacing()),Ve){const je=L[Ve];je&&typeof je=="object"&&Object.keys(je).forEach(St=>{je[St]&&typeof je[St]=="object"?pt[St]={...pt[St],...je[St]}:pt[St]=je[St]})}return l?l(pt):pt},[ne,se,Q,L,fe]),qe=ne.colorSchemeSelector;bn(()=>{if(se&&j&&qe&&qe!=="media"){const Ve=qe;let Je=qe;if(Ve==="class"&&(Je=".%s"),Ve==="data"&&(Je="[data-%s]"),Ve!=null&&Ve.startsWith("data-")&&!Ve.includes("%s")&&(Je=`[${Ve}="%s"]`),Je.startsWith("."))j.classList.remove(...ye.map(pt=>Je.substring(1).replace("%s",pt))),j.classList.add(Je.substring(1).replace("%s",se));else{const pt=Je.replace("%s",se).match(/\[([^\]]+)\]/);if(pt){const[yt,je]=pt[1].split("=");je||ye.forEach(St=>{j.removeAttribute(yt.replace(se,St))}),j.setAttribute(yt,je?je.replace(/"|'/g,""):"")}else j.setAttribute(Je,se)}}},[se,qe,j,ye]),N.useEffect(()=>{let Ve;if(T&&U.current&&I){const Je=I.createElement("style");Je.appendChild(I.createTextNode(S3)),I.head.appendChild(Je),window.getComputedStyle(I.body),Ve=setTimeout(()=>{I.head.removeChild(Je)},1)}return()=>{clearTimeout(Ve)}},[se,T,I]),N.useEffect(()=>(U.current=!0,()=>{U.current=!1}),[]);const rt=N.useMemo(()=>({allColorSchemes:ye,colorScheme:se,darkColorScheme:it,lightColorScheme:Ae,mode:ie,setColorScheme:$e,setMode:ke,systemMode:He}),[ye,se,it,Ae,ie,$e,ke,He,ze.colorSchemeSelector]);let st=!0;(F||ne.cssVariables===!1||re&&(B==null?void 0:B.cssVarPrefix)===fe)&&(st=!1);const xe=D.jsxs(N.Fragment,{children:[D.jsx(VN,{themeId:J?e:void 0,theme:ze,children:M}),st&&D.jsx(wN,{styles:((ht=ze.generateStyleSheets)==null?void 0:ht.call(ze))||[]})]});return re?xe:D.jsx(p.Provider,{value:rt,children:xe})}const v=typeof a=="string"?a:a.light,w=typeof a=="string"?a:a.dark;return{CssVarsProvider:g,useColorScheme:h,getInitColorSchemeScript:C=>b3({colorSchemeStorageKey:o,defaultLightColorScheme:v,defaultDarkColorScheme:w,modeStorageKey:n,...C})}}function E3(t=""){function e(...n){if(!n.length)return"";const o=n[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${t?`${t}-`:""}${o}${e(...n.slice(1))})`:`, ${o}`}return(n,...o)=>`var(--${t?`${t}-`:""}${n}${e(...o)})`}const cE=(t,e,r,n=[])=>{let o=t;e.forEach((s,a)=>{a===e.length-1?Array.isArray(o)?o[Number(s)]=r:o&&typeof o=="object"&&(o[s]=r):o&&typeof o=="object"&&(o[s]||(o[s]=n.includes(s)?[]:{}),o=o[s])})},k3=(t,e,r)=>{function n(o,s=[],a=[]){Object.entries(o).forEach(([l,u])=>{(!r||!r([...s,l]))&&u!=null&&(typeof u=="object"&&Object.keys(u).length>0?n(u,[...s,l],Array.isArray(u)?[...a,l]:a):e([...s,l],u,a))})}n(t)},$3=(t,e)=>typeof e=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>t.includes(n))||t[t.length-1].toLowerCase().includes("opacity")?e:`${e}px`:e;function R_(t,e){const{prefix:r,shouldSkipGeneratingVar:n}=e||{},o={},s={},a={};return k3(t,(l,u,p)=>{if((typeof u=="string"||typeof u=="number")&&(!n||!n(l,u))){const h=`--${r?`${r}-`:""}${l.join("-")}`,d=$3(l,u);Object.assign(o,{[h]:d}),cE(s,l,`var(${h})`,p),cE(a,l,`var(${h}, ${d})`,p)}},l=>l[0]==="vars"),{css:o,vars:s,varsWithDefaults:a}}function T3(t,e={}){const{getSelector:r=x,disableCssColorScheme:n,colorSchemeSelector:o}=e,{colorSchemes:s={},components:a,defaultColorScheme:l="light",...u}=t,{vars:p,css:h,varsWithDefaults:d}=R_(u,e);let _=d;const g={},{[l]:v,...w}=s;if(Object.entries(w||{}).forEach(([$,E])=>{const{vars:k,css:T,varsWithDefaults:A}=R_(E,e);_=Xr(_,A),g[$]={css:T,vars:k}}),v){const{css:$,vars:E,varsWithDefaults:k}=R_(v,e);_=Xr(_,k),g[l]={css:$,vars:E}}function x($,E){var T,A;let k=o;if(o==="class"&&(k=".%s"),o==="data"&&(k="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(k=`[${o}="%s"]`),$){if(k==="media")return t.defaultColorScheme===$?":root":{[`@media (prefers-color-scheme: ${((A=(T=s[$])==null?void 0:T.palette)==null?void 0:A.mode)||$})`]:{":root":E}};if(k)return t.defaultColorScheme===$?`:root, ${k.replace("%s",String($))}`:k.replace("%s",String($))}return":root"}return{vars:_,generateThemeVars:()=>{let $={...p};return Object.entries(g).forEach(([,{vars:E}])=>{$=Xr($,E)}),$},generateStyleSheets:()=>{var I,j;const $=[],E=t.defaultColorScheme||"light";function k(O,F){Object.keys(F).length&&$.push(typeof O=="string"?{[O]:{...F}}:O)}k(r(void 0,{...h}),h);const{[E]:T,...A}=g;if(T){const{css:O}=T,F=(j=(I=s[E])==null?void 0:I.palette)==null?void 0:j.mode,H=!n&&F?{colorScheme:F,...O}:{...O};k(r(E,{...H}),H)}return Object.entries(A).forEach(([O,{css:F}])=>{var U,B;const H=(B=(U=s[O])==null?void 0:U.palette)==null?void 0:B.mode,q=!n&&H?{colorScheme:H,...F}:{...F};k(r(O,{...q}),q)}),$}}}function O3(t){return function(r){return t==="media"?`@media (prefers-color-scheme: ${r})`:t?t.startsWith("data-")&&!t.includes("%s")?`[${t}="${r}"] &`:t==="class"?`.${r} &`:t==="data"?`[data-${r}] &`:`${t.replace("%s",r)} &`:"&"}}const D3=(t,e)=>t.filter(r=>e.includes(r)),Kl=(t,e,r)=>{const n=t.keys[0];Array.isArray(e)?e.forEach((o,s)=>{r((a,l)=>{s<=t.keys.length-1&&(s===0?Object.assign(a,l):a[t.up(t.keys[s])]=l)},o)}):e&&typeof e=="object"?(Object.keys(e).length>t.keys.length?t.keys:D3(t.keys,Object.keys(e))).forEach(s=>{if(t.keys.includes(s)){const a=e[s];a!==void 0&&r((l,u)=>{n===s?Object.assign(l,u):l[t.up(s)]=u},a)}}):(typeof e=="number"||typeof e=="string")&&r((o,s)=>{Object.assign(o,s)},e)};function Sf(t){return`--Grid-${t}Spacing`}function ch(t){return`--Grid-parent-${t}Spacing`}const uE="--Grid-columns",Dl="--Grid-parent-columns",N3=({theme:t,ownerState:e})=>{const r={};return Kl(t.breakpoints,e.size,(n,o)=>{let s={};o==="grow"&&(s={flexBasis:0,flexGrow:1,maxWidth:"100%"}),o==="auto"&&(s={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),typeof o=="number"&&(s={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${o} / var(${Dl}) - (var(${Dl}) - ${o}) * (var(${ch("column")}) / var(${Dl})))`}),n(r,s)}),r},M3=({theme:t,ownerState:e})=>{const r={};return Kl(t.breakpoints,e.offset,(n,o)=>{let s={};o==="auto"&&(s={marginLeft:"auto"}),typeof o=="number"&&(s={marginLeft:o===0?"0px":`calc(100% * ${o} / var(${Dl}) + var(${ch("column")}) * ${o} / var(${Dl}))`}),n(r,s)}),r},A3=({theme:t,ownerState:e})=>{if(!e.container)return{};const r={[uE]:12};return Kl(t.breakpoints,e.columns,(n,o)=>{const s=o??12;n(r,{[uE]:s,"> *":{[Dl]:s}})}),r},P3=({theme:t,ownerState:e})=>{if(!e.container)return{};const r={};return Kl(t.breakpoints,e.rowSpacing,(n,o)=>{var a;const s=typeof o=="string"?o:(a=t.spacing)==null?void 0:a.call(t,o);n(r,{[Sf("row")]:s,"> *":{[ch("row")]:s}})}),r},I3=({theme:t,ownerState:e})=>{if(!e.container)return{};const r={};return Kl(t.breakpoints,e.columnSpacing,(n,o)=>{var a;const s=typeof o=="string"?o:(a=t.spacing)==null?void 0:a.call(t,o);n(r,{[Sf("column")]:s,"> *":{[ch("column")]:s}})}),r},R3=({theme:t,ownerState:e})=>{if(!e.container)return{};const r={};return Kl(t.breakpoints,e.direction,(n,o)=>{n(r,{flexDirection:o})}),r},j3=({ownerState:t})=>({minWidth:0,boxSizing:"border-box",...t.container&&{display:"flex",flexWrap:"wrap",...t.wrap&&t.wrap!=="wrap"&&{flexWrap:t.wrap},gap:`var(${Sf("row")}) var(${Sf("column")})`}}),F3=t=>{const e=[];return Object.entries(t).forEach(([r,n])=>{n!==!1&&n!==void 0&&e.push(`grid-${r}-${String(n)}`)}),e},z3=(t,e="xs")=>{function r(n){return n===void 0?!1:typeof n=="string"&&!Number.isNaN(Number(n))||typeof n=="number"&&n>0}if(r(t))return[`spacing-${e}-${String(t)}`];if(typeof t=="object"&&!Array.isArray(t)){const n=[];return Object.entries(t).forEach(([o,s])=>{r(s)&&n.push(`spacing-${o}-${String(s)}`)}),n}return[]},L3=t=>t===void 0?[]:typeof t=="object"?Object.entries(t).map(([e,r])=>`direction-${e}-${r}`):[`direction-xs-${String(t)}`],B3=sh(),W3=J4("div",{name:"MuiGrid",slot:"Root",overridesResolver:(t,e)=>e.root});function U3(t){return Y4({props:t,name:"MuiGrid",defaultTheme:B3})}function H3(t={}){const{createStyledComponent:e=W3,useThemeProps:r=U3,useTheme:n=Qu,componentName:o="MuiGrid"}=t,s=(p,h)=>{const{container:d,direction:_,spacing:g,wrap:v,size:w}=p,x={root:["root",d&&"container",v!=="wrap"&&`wrap-xs-${String(v)}`,...L3(_),...F3(w),...d?z3(g,h.breakpoints.keys[0]):[]]};return Ke(x,C=>Ye(o,C),{})};function a(p,h,d=()=>!0){const _={};return p===null||(Array.isArray(p)?p.forEach((g,v)=>{g!==null&&d(g)&&h.keys[v]&&(_[h.keys[v]]=g)}):typeof p=="object"?Object.keys(p).forEach(g=>{const v=p[g];v!=null&&d(v)&&(_[g]=v)}):_[h.keys[0]]=p),_}const l=e(A3,I3,P3,N3,R3,j3,M3),u=N.forwardRef(function(h,d){const _=n(),g=r(h),v=sw(g),{className:w,children:x,columns:C=12,container:M=!1,component:$="div",direction:E="row",wrap:k="wrap",size:T={},offset:A={},spacing:I=0,rowSpacing:j=I,columnSpacing:O=I,unstable_level:F=0,...H}=v,q=a(T,_.breakpoints,L=>L!==!1),U=a(A,_.breakpoints),B=h.columns??(F?void 0:C),X=h.spacing??(F?void 0:I),re=h.rowSpacing??h.spacing??(F?void 0:j),Z=h.columnSpacing??h.spacing??(F?void 0:O),J={...v,level:F,columns:B,container:M,direction:E,wrap:k,spacing:X,rowSpacing:re,columnSpacing:Z,size:q,offset:U},ne=s(J,_);return D.jsx(l,{ref:d,as:$,ownerState:J,className:ON(ne.root,w),...H,children:N.Children.map(x,L=>{var Q;return N.isValidElement(L)&&bu(L,["Grid"])&&M&&L.props.container?N.cloneElement(L,{unstable_level:((Q=L.props)==null?void 0:Q.unstable_level)??F+1}):L})})});return u.muiName="Grid",u}const Pu={black:"#000",white:"#fff"},Db={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Li={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Bi={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Dr={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Wi={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Ui={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Hi={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};function XN(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Pu.white,default:Pu.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const q3=XN();function JN(){return{text:{primary:Pu.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Pu.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const dE=JN();function pE(t,e,r,n){const o=n.light||n,s=n.dark||n*1.5;t[e]||(t.hasOwnProperty(r)?t[e]=t[r]:e==="light"?t.light=td(t.main,o):e==="dark"&&(t.dark=ed(t.main,s)))}function V3(t="light"){return t==="dark"?{main:Wi[200],light:Wi[50],dark:Wi[400]}:{main:Wi[700],light:Wi[400],dark:Wi[800]}}function G3(t="light"){return t==="dark"?{main:Li[200],light:Li[50],dark:Li[400]}:{main:Li[500],light:Li[300],dark:Li[700]}}function X3(t="light"){return t==="dark"?{main:Bi[500],light:Bi[300],dark:Bi[700]}:{main:Bi[700],light:Bi[400],dark:Bi[800]}}function J3(t="light"){return t==="dark"?{main:Ui[400],light:Ui[300],dark:Ui[700]}:{main:Ui[700],light:Ui[500],dark:Ui[900]}}function Y3(t="light"){return t==="dark"?{main:Hi[400],light:Hi[300],dark:Hi[700]}:{main:Hi[800],light:Hi[500],dark:Hi[900]}}function K3(t="light"){return t==="dark"?{main:Dr[400],light:Dr[300],dark:Dr[700]}:{main:"#ed6c02",light:Dr[500],dark:Dr[900]}}function uw(t){const{mode:e="light",contrastThreshold:r=3,tonalOffset:n=.2,...o}=t,s=t.primary||V3(e),a=t.secondary||G3(e),l=t.error||X3(e),u=t.info||J3(e),p=t.success||Y3(e),h=t.warning||K3(e);function d(w){return o3(w,dE.text.primary)>=r?dE.text.primary:q3.text.primary}const _=({color:w,name:x,mainShade:C=500,lightShade:M=300,darkShade:$=700})=>{if(w={...w},!w.main&&w[C]&&(w.main=w[C]),!w.hasOwnProperty("main"))throw new Error(ms(11,x?` (${x})`:"",C));if(typeof w.main!="string")throw new Error(ms(12,x?` (${x})`:"",JSON.stringify(w.main)));return pE(w,"light",M,n),pE(w,"dark",$,n),w.contrastText||(w.contrastText=d(w.main)),w};let g;return e==="light"?g=XN():e==="dark"&&(g=JN()),Xr({common:{...Pu},mode:e,primary:_({color:s,name:"primary"}),secondary:_({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:_({color:l,name:"error"}),warning:_({color:h,name:"warning"}),info:_({color:u,name:"info"}),success:_({color:p,name:"success"}),grey:Db,contrastThreshold:r,getContrastText:d,augmentColor:_,tonalOffset:n,...g},o)}function Z3(t){const e={};return Object.entries(t).forEach(n=>{const[o,s]=n;typeof s=="object"&&(e[o]=`${s.fontStyle?`${s.fontStyle} `:""}${s.fontVariant?`${s.fontVariant} `:""}${s.fontWeight?`${s.fontWeight} `:""}${s.fontStretch?`${s.fontStretch} `:""}${s.fontSize||""}${s.lineHeight?`/${s.lineHeight} `:""}${s.fontFamily||""}`)}),e}function Q3(t,e){return{toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}},...e}}function eF(t){return Math.round(t*1e5)/1e5}const fE={textTransform:"uppercase"},hE='"Roboto", "Helvetica", "Arial", sans-serif';function YN(t,e){const{fontFamily:r=hE,fontSize:n=14,fontWeightLight:o=300,fontWeightRegular:s=400,fontWeightMedium:a=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:p,pxToRem:h,...d}=typeof e=="function"?e(t):e,_=n/14,g=h||(x=>`${x/u*_}rem`),v=(x,C,M,$,E)=>({fontFamily:r,fontWeight:x,fontSize:g(C),lineHeight:M,...r===hE?{letterSpacing:`${eF($/C)}em`}:{},...E,...p}),w={h1:v(o,96,1.167,-1.5),h2:v(o,60,1.2,-.5),h3:v(s,48,1.167,0),h4:v(s,34,1.235,.25),h5:v(s,24,1.334,0),h6:v(a,20,1.6,.15),subtitle1:v(s,16,1.75,.15),subtitle2:v(a,14,1.57,.1),body1:v(s,16,1.5,.15),body2:v(s,14,1.43,.15),button:v(a,14,1.75,.4,fE),caption:v(s,12,1.66,.4),overline:v(s,12,2.66,1,fE),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Xr({htmlFontSize:u,pxToRem:g,fontFamily:r,fontSize:n,fontWeightLight:o,fontWeightRegular:s,fontWeightMedium:a,fontWeightBold:l,...w},d,{clone:!1})}const tF=.2,rF=.14,nF=.12;function Kt(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,${tF})`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,${rF})`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,${nF})`].join(",")}const oF=["none",Kt(0,2,1,-1,0,1,1,0,0,1,3,0),Kt(0,3,1,-2,0,2,2,0,0,1,5,0),Kt(0,3,3,-2,0,3,4,0,0,1,8,0),Kt(0,2,4,-1,0,4,5,0,0,1,10,0),Kt(0,3,5,-1,0,5,8,0,0,1,14,0),Kt(0,3,5,-1,0,6,10,0,0,1,18,0),Kt(0,4,5,-2,0,7,10,1,0,2,16,1),Kt(0,5,5,-3,0,8,10,1,0,3,14,2),Kt(0,5,6,-3,0,9,12,1,0,3,16,2),Kt(0,6,6,-3,0,10,14,1,0,4,18,3),Kt(0,6,7,-4,0,11,15,1,0,4,20,3),Kt(0,7,8,-4,0,12,17,2,0,5,22,4),Kt(0,7,8,-4,0,13,19,2,0,5,24,4),Kt(0,7,9,-4,0,14,21,2,0,5,26,4),Kt(0,8,9,-5,0,15,22,2,0,6,28,5),Kt(0,8,10,-5,0,16,24,2,0,6,30,5),Kt(0,8,11,-5,0,17,26,2,0,6,32,5),Kt(0,9,11,-5,0,18,28,2,0,7,34,6),Kt(0,9,12,-6,0,19,29,2,0,7,36,6),Kt(0,10,13,-6,0,20,31,3,0,8,38,7),Kt(0,10,13,-6,0,21,33,3,0,8,40,7),Kt(0,10,14,-6,0,22,35,3,0,8,42,7),Kt(0,11,14,-7,0,23,36,3,0,9,44,8),Kt(0,11,15,-7,0,24,38,3,0,9,46,8)],sF={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},aF={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function mE(t){return`${Math.round(t)}ms`}function iF(t){if(!t)return 0;const e=t/36;return Math.min(Math.round((4+15*e**.25+e/5)*10),3e3)}function lF(t){const e={...sF,...t.easing},r={...aF,...t.duration};return{getAutoHeightDuration:iF,create:(o=["all"],s={})=>{const{duration:a=r.standard,easing:l=e.easeInOut,delay:u=0,...p}=s;return(Array.isArray(o)?o:[o]).map(h=>`${h} ${typeof a=="string"?a:mE(a)} ${l} ${typeof u=="string"?u:mE(u)}`).join(",")},...t,easing:e,duration:r}}const cF={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function uF(t){return Io(t)||typeof t>"u"||typeof t=="string"||typeof t=="boolean"||typeof t=="number"||Array.isArray(t)}function KN(t={}){const e={...t};function r(n){const o=Object.entries(n);for(let s=0;sXr(g,v),_),_.unstable_sxConfig={...Zu,...p==null?void 0:p.unstable_sxConfig},_.unstable_sx=function(v){return aa({sx:v,theme:this})},_.toRuntimeSource=KN,_}function Mb(t){let e;return t<1?e=5.11916*t**2:e=4.5*Math.log(t+1)+2,Math.round(e*10)/1e3}const dF=[...Array(25)].map((t,e)=>{if(e===0)return"none";const r=Mb(e);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function ZN(t){return{inputPlaceholder:t==="dark"?.5:.42,inputUnderline:t==="dark"?.7:.42,switchTrackDisabled:t==="dark"?.2:.12,switchTrack:t==="dark"?.3:.38}}function QN(t){return t==="dark"?dF:[]}function pF(t){const{palette:e={mode:"light"},opacity:r,overlays:n,...o}=t,s=uw(e);return{palette:s,opacity:{...ZN(s.mode),...r},overlays:n||QN(s.mode),...o}}function fF(t){var e;return!!t[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!t[0].match(/sxConfig$/)||t[0]==="palette"&&!!((e=t[1])!=null&&e.match(/(mode|contrastThreshold|tonalOffset)/))}const hF=t=>[...[...Array(25)].map((e,r)=>`--${t?`${t}-`:""}overlays-${r}`),`--${t?`${t}-`:""}palette-AppBar-darkBg`,`--${t?`${t}-`:""}palette-AppBar-darkColor`],mF=t=>(e,r)=>{const n=t.rootSelector||":root",o=t.colorSchemeSelector;let s=o;if(o==="class"&&(s=".%s"),o==="data"&&(s="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(s=`[${o}="%s"]`),t.defaultColorScheme===e){if(e==="dark"){const a={};return hF(t.cssVarPrefix).forEach(l=>{a[l]=r[l],delete r[l]}),s==="media"?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:a}}:s?{[s.replace("%s",e)]:a,[`${n}, ${s.replace("%s",e)}`]:r}:{[n]:{...r,...a}}}if(s&&s!=="media")return`${n}, ${s.replace("%s",String(e))}`}else if(e){if(s==="media")return{[`@media (prefers-color-scheme: ${String(e)})`]:{[n]:r}};if(s)return s.replace("%s",String(e))}return n};function _F(t,e){e.forEach(r=>{t[r]||(t[r]={})})}function oe(t,e,r){!t[e]&&r&&(t[e]=r)}function au(t){return typeof t!="string"||!t.startsWith("hsl")?t:IN(t)}function os(t,e){`${e}Channel`in t||(t[`${e}Channel`]=su(au(t[e])))}function gF(t){return typeof t=="number"?`${t}px`:typeof t=="string"||typeof t=="function"||Array.isArray(t)?t:"8px"}const ko=t=>{try{return t()}catch{}},yF=(t="mui")=>E3(t);function j_(t,e,r,n){if(!e)return;e=e===!0?{}:e;const o=n==="dark"?"dark":"light";if(!r){t[n]=pF({...e,palette:{mode:o,...e==null?void 0:e.palette}});return}const{palette:s,...a}=Nb({...r,palette:{mode:o,...e==null?void 0:e.palette}});return t[n]={...e,palette:s,opacity:{...ZN(o),...e==null?void 0:e.opacity},overlays:(e==null?void 0:e.overlays)||QN(o)},a}function vF(t={},...e){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:s="mui",shouldSkipGeneratingVar:a=fF,colorSchemeSelector:l=r.light&&r.dark?"media":void 0,rootSelector:u=":root",...p}=t,h=Object.keys(r)[0],d=n||(r.light&&h!=="light"?"light":h),_=yF(s),{[d]:g,light:v,dark:w,...x}=r,C={...x};let M=g;if((d==="dark"&&!("dark"in r)||d==="light"&&!("light"in r))&&(M=!0),!M)throw new Error(ms(21,d));const $=j_(C,M,p,d);v&&!C.light&&j_(C,v,void 0,"light"),w&&!C.dark&&j_(C,w,void 0,"dark");let E={defaultColorScheme:d,...$,cssVarPrefix:s,colorSchemeSelector:l,rootSelector:u,getCssVar:_,colorSchemes:C,font:{...Z3($.typography),...$.font},spacing:gF(p.spacing)};Object.keys(E.colorSchemes).forEach(j=>{const O=E.colorSchemes[j].palette,F=H=>{const q=H.split("-"),U=q[1],B=q[2];return _(H,O[U][B])};if(O.mode==="light"&&(oe(O.common,"background","#fff"),oe(O.common,"onBackground","#000")),O.mode==="dark"&&(oe(O.common,"background","#000"),oe(O.common,"onBackground","#fff")),_F(O,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),O.mode==="light"){oe(O.Alert,"errorColor",zt(O.error.light,.6)),oe(O.Alert,"infoColor",zt(O.info.light,.6)),oe(O.Alert,"successColor",zt(O.success.light,.6)),oe(O.Alert,"warningColor",zt(O.warning.light,.6)),oe(O.Alert,"errorFilledBg",F("palette-error-main")),oe(O.Alert,"infoFilledBg",F("palette-info-main")),oe(O.Alert,"successFilledBg",F("palette-success-main")),oe(O.Alert,"warningFilledBg",F("palette-warning-main")),oe(O.Alert,"errorFilledColor",ko(()=>O.getContrastText(O.error.main))),oe(O.Alert,"infoFilledColor",ko(()=>O.getContrastText(O.info.main))),oe(O.Alert,"successFilledColor",ko(()=>O.getContrastText(O.success.main))),oe(O.Alert,"warningFilledColor",ko(()=>O.getContrastText(O.warning.main))),oe(O.Alert,"errorStandardBg",Lt(O.error.light,.9)),oe(O.Alert,"infoStandardBg",Lt(O.info.light,.9)),oe(O.Alert,"successStandardBg",Lt(O.success.light,.9)),oe(O.Alert,"warningStandardBg",Lt(O.warning.light,.9)),oe(O.Alert,"errorIconColor",F("palette-error-main")),oe(O.Alert,"infoIconColor",F("palette-info-main")),oe(O.Alert,"successIconColor",F("palette-success-main")),oe(O.Alert,"warningIconColor",F("palette-warning-main")),oe(O.AppBar,"defaultBg",F("palette-grey-100")),oe(O.Avatar,"defaultBg",F("palette-grey-400")),oe(O.Button,"inheritContainedBg",F("palette-grey-300")),oe(O.Button,"inheritContainedHoverBg",F("palette-grey-A100")),oe(O.Chip,"defaultBorder",F("palette-grey-400")),oe(O.Chip,"defaultAvatarColor",F("palette-grey-700")),oe(O.Chip,"defaultIconColor",F("palette-grey-700")),oe(O.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),oe(O.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),oe(O.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),oe(O.LinearProgress,"primaryBg",Lt(O.primary.main,.62)),oe(O.LinearProgress,"secondaryBg",Lt(O.secondary.main,.62)),oe(O.LinearProgress,"errorBg",Lt(O.error.main,.62)),oe(O.LinearProgress,"infoBg",Lt(O.info.main,.62)),oe(O.LinearProgress,"successBg",Lt(O.success.main,.62)),oe(O.LinearProgress,"warningBg",Lt(O.warning.main,.62)),oe(O.Skeleton,"bg",`rgba(${F("palette-text-primaryChannel")} / 0.11)`),oe(O.Slider,"primaryTrack",Lt(O.primary.main,.62)),oe(O.Slider,"secondaryTrack",Lt(O.secondary.main,.62)),oe(O.Slider,"errorTrack",Lt(O.error.main,.62)),oe(O.Slider,"infoTrack",Lt(O.info.main,.62)),oe(O.Slider,"successTrack",Lt(O.success.main,.62)),oe(O.Slider,"warningTrack",Lt(O.warning.main,.62));const H=$p(O.background.default,.8);oe(O.SnackbarContent,"bg",H),oe(O.SnackbarContent,"color",ko(()=>O.getContrastText(H))),oe(O.SpeedDialAction,"fabHoverBg",$p(O.background.paper,.15)),oe(O.StepConnector,"border",F("palette-grey-400")),oe(O.StepContent,"border",F("palette-grey-400")),oe(O.Switch,"defaultColor",F("palette-common-white")),oe(O.Switch,"defaultDisabledColor",F("palette-grey-100")),oe(O.Switch,"primaryDisabledColor",Lt(O.primary.main,.62)),oe(O.Switch,"secondaryDisabledColor",Lt(O.secondary.main,.62)),oe(O.Switch,"errorDisabledColor",Lt(O.error.main,.62)),oe(O.Switch,"infoDisabledColor",Lt(O.info.main,.62)),oe(O.Switch,"successDisabledColor",Lt(O.success.main,.62)),oe(O.Switch,"warningDisabledColor",Lt(O.warning.main,.62)),oe(O.TableCell,"border",Lt(kp(O.divider,1),.88)),oe(O.Tooltip,"bg",kp(O.grey[700],.92))}if(O.mode==="dark"){oe(O.Alert,"errorColor",Lt(O.error.light,.6)),oe(O.Alert,"infoColor",Lt(O.info.light,.6)),oe(O.Alert,"successColor",Lt(O.success.light,.6)),oe(O.Alert,"warningColor",Lt(O.warning.light,.6)),oe(O.Alert,"errorFilledBg",F("palette-error-dark")),oe(O.Alert,"infoFilledBg",F("palette-info-dark")),oe(O.Alert,"successFilledBg",F("palette-success-dark")),oe(O.Alert,"warningFilledBg",F("palette-warning-dark")),oe(O.Alert,"errorFilledColor",ko(()=>O.getContrastText(O.error.dark))),oe(O.Alert,"infoFilledColor",ko(()=>O.getContrastText(O.info.dark))),oe(O.Alert,"successFilledColor",ko(()=>O.getContrastText(O.success.dark))),oe(O.Alert,"warningFilledColor",ko(()=>O.getContrastText(O.warning.dark))),oe(O.Alert,"errorStandardBg",zt(O.error.light,.9)),oe(O.Alert,"infoStandardBg",zt(O.info.light,.9)),oe(O.Alert,"successStandardBg",zt(O.success.light,.9)),oe(O.Alert,"warningStandardBg",zt(O.warning.light,.9)),oe(O.Alert,"errorIconColor",F("palette-error-main")),oe(O.Alert,"infoIconColor",F("palette-info-main")),oe(O.Alert,"successIconColor",F("palette-success-main")),oe(O.Alert,"warningIconColor",F("palette-warning-main")),oe(O.AppBar,"defaultBg",F("palette-grey-900")),oe(O.AppBar,"darkBg",F("palette-background-paper")),oe(O.AppBar,"darkColor",F("palette-text-primary")),oe(O.Avatar,"defaultBg",F("palette-grey-600")),oe(O.Button,"inheritContainedBg",F("palette-grey-800")),oe(O.Button,"inheritContainedHoverBg",F("palette-grey-700")),oe(O.Chip,"defaultBorder",F("palette-grey-700")),oe(O.Chip,"defaultAvatarColor",F("palette-grey-300")),oe(O.Chip,"defaultIconColor",F("palette-grey-300")),oe(O.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),oe(O.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),oe(O.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),oe(O.LinearProgress,"primaryBg",zt(O.primary.main,.5)),oe(O.LinearProgress,"secondaryBg",zt(O.secondary.main,.5)),oe(O.LinearProgress,"errorBg",zt(O.error.main,.5)),oe(O.LinearProgress,"infoBg",zt(O.info.main,.5)),oe(O.LinearProgress,"successBg",zt(O.success.main,.5)),oe(O.LinearProgress,"warningBg",zt(O.warning.main,.5)),oe(O.Skeleton,"bg",`rgba(${F("palette-text-primaryChannel")} / 0.13)`),oe(O.Slider,"primaryTrack",zt(O.primary.main,.5)),oe(O.Slider,"secondaryTrack",zt(O.secondary.main,.5)),oe(O.Slider,"errorTrack",zt(O.error.main,.5)),oe(O.Slider,"infoTrack",zt(O.info.main,.5)),oe(O.Slider,"successTrack",zt(O.success.main,.5)),oe(O.Slider,"warningTrack",zt(O.warning.main,.5));const H=$p(O.background.default,.98);oe(O.SnackbarContent,"bg",H),oe(O.SnackbarContent,"color",ko(()=>O.getContrastText(H))),oe(O.SpeedDialAction,"fabHoverBg",$p(O.background.paper,.15)),oe(O.StepConnector,"border",F("palette-grey-600")),oe(O.StepContent,"border",F("palette-grey-600")),oe(O.Switch,"defaultColor",F("palette-grey-300")),oe(O.Switch,"defaultDisabledColor",F("palette-grey-600")),oe(O.Switch,"primaryDisabledColor",zt(O.primary.main,.55)),oe(O.Switch,"secondaryDisabledColor",zt(O.secondary.main,.55)),oe(O.Switch,"errorDisabledColor",zt(O.error.main,.55)),oe(O.Switch,"infoDisabledColor",zt(O.info.main,.55)),oe(O.Switch,"successDisabledColor",zt(O.success.main,.55)),oe(O.Switch,"warningDisabledColor",zt(O.warning.main,.55)),oe(O.TableCell,"border",zt(kp(O.divider,1),.68)),oe(O.Tooltip,"bg",kp(O.grey[700],.92))}os(O.background,"default"),os(O.background,"paper"),os(O.common,"background"),os(O.common,"onBackground"),os(O,"divider"),Object.keys(O).forEach(H=>{const q=O[H];H!=="tonalOffset"&&q&&typeof q=="object"&&(q.main&&oe(O[H],"mainChannel",su(au(q.main))),q.light&&oe(O[H],"lightChannel",su(au(q.light))),q.dark&&oe(O[H],"darkChannel",su(au(q.dark))),q.contrastText&&oe(O[H],"contrastTextChannel",su(au(q.contrastText))),H==="text"&&(os(O[H],"primary"),os(O[H],"secondary")),H==="action"&&(q.active&&os(O[H],"active"),q.selected&&os(O[H],"selected")))})}),E=e.reduce((j,O)=>Xr(j,O),E);const k={prefix:s,disableCssColorScheme:o,shouldSkipGeneratingVar:a,getSelector:mF(E)},{vars:T,generateThemeVars:A,generateStyleSheets:I}=T3(E,k);return E.vars=T,Object.entries(E.colorSchemes[E.defaultColorScheme]).forEach(([j,O])=>{E[j]=O}),E.generateThemeVars=A,E.generateStyleSheets=I,E.generateSpacing=function(){return kN(p.spacing,rw(this))},E.getColorSchemeSelector=O3(l),E.spacing=E.generateSpacing(),E.shouldSkipGeneratingVar=a,E.unstable_sxConfig={...Zu,...p==null?void 0:p.unstable_sxConfig},E.unstable_sx=function(O){return aa({sx:O,theme:this})},E.toRuntimeSource=KN,E}function _E(t,e,r){t.colorSchemes&&r&&(t.colorSchemes[e]={...r!==!0&&r,palette:uw({...r===!0?{}:r.palette,mode:e})})}function Iu(t={},...e){const{palette:r,cssVariables:n=!1,colorSchemes:o=r?void 0:{light:!0},defaultColorScheme:s=r==null?void 0:r.mode,...a}=t,l=s||"light",u=o==null?void 0:o[l],p={...o,...r?{[l]:{...typeof u!="boolean"&&u,palette:r}}:void 0};if(n===!1){if(!("colorSchemes"in t))return Nb(t,...e);let h=r;"palette"in t||p[l]&&(p[l]!==!0?h=p[l].palette:l==="dark"&&(h={mode:"dark"}));const d=Nb({...t,palette:h},...e);return d.defaultColorScheme=l,d.colorSchemes=p,d.palette.mode==="light"&&(d.colorSchemes.light={...p.light!==!0&&p.light,palette:d.palette},_E(d,"dark",p.dark)),d.palette.mode==="dark"&&(d.colorSchemes.dark={...p.dark!==!0&&p.dark,palette:d.palette},_E(d,"light",p.light)),d}return!r&&!("light"in p)&&l==="light"&&(p.light=!0),vF({...a,colorSchemes:p,defaultColorScheme:l,...typeof n!="boolean"&&n},...e)}const dw=Iu();function ys(){const t=Qu(dw);return t[ho]||t}function eM(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const xr=t=>eM(t)&&t!=="classes",le=MN({themeId:ho,defaultTheme:dw,rootShouldForwardProp:xr});function gE({theme:t,...e}){const r=ho in t?t[ho]:void 0;return D.jsx(VN,{...e,themeId:r?ho:void 0,theme:r||t})}const Tp={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:bF,useColorScheme:wet,getInitColorSchemeScript:xet}=C3({themeId:ho,theme:()=>Iu({cssVariables:!0}),colorSchemeStorageKey:Tp.colorSchemeStorageKey,modeStorageKey:Tp.modeStorageKey,defaultColorScheme:{light:Tp.defaultLightColorScheme,dark:Tp.defaultDarkColorScheme},resolveTheme:t=>{const e={...t,typography:YN(t.palette,t.typography)};return e.unstable_sx=function(n){return aa({sx:n,theme:this})},e}}),wF=bF;function yE({theme:t,...e}){return typeof t=="function"?D.jsx(gE,{theme:t,...e}):"colorSchemes"in(ho in t?t[ho]:t)?D.jsx(wF,{theme:t,...e}):D.jsx(gE,{theme:t,...e})}function tM(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t)){var o=t.length;for(e=0;et({theme:n,...r}):t})}}function CF(){return sw}const Ge=y3;function Ze(t){return g3(t)}function EF(t){return Ye("MuiSvgIcon",t)}Xe("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const kF=t=>{const{color:e,fontSize:r,classes:n}=t,o={root:["root",e!=="inherit"&&`color${pe(e)}`,`fontSize${pe(r)}`]};return Ke(o,EF,n)},$F=le("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.color!=="inherit"&&e[`color${pe(r.color)}`],e[`fontSize${pe(r.fontSize)}`]]}})(Ge(({theme:t})=>{var e,r,n,o,s,a,l,u,p,h,d,_,g,v;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(o=(e=t.transitions)==null?void 0:e.create)==null?void 0:o.call(e,"fill",{duration:(n=(r=(t.vars??t).transitions)==null?void 0:r.duration)==null?void 0:n.shorter}),variants:[{props:w=>!w.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((a=(s=t.typography)==null?void 0:s.pxToRem)==null?void 0:a.call(s,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((u=(l=t.typography)==null?void 0:l.pxToRem)==null?void 0:u.call(l,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((h=(p=t.typography)==null?void 0:p.pxToRem)==null?void 0:h.call(p,35))||"2.1875rem"}},...Object.entries((t.vars??t).palette).filter(([,w])=>w&&w.main).map(([w])=>{var x,C;return{props:{color:w},style:{color:(C=(x=(t.vars??t).palette)==null?void 0:x[w])==null?void 0:C.main}}}),{props:{color:"action"},style:{color:(_=(d=(t.vars??t).palette)==null?void 0:d.action)==null?void 0:_.active}},{props:{color:"disabled"},style:{color:(v=(g=(t.vars??t).palette)==null?void 0:g.action)==null?void 0:v.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),Ab=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiSvgIcon"}),{children:o,className:s,color:a="inherit",component:l="svg",fontSize:u="medium",htmlColor:p,inheritViewBox:h=!1,titleAccess:d,viewBox:_="0 0 24 24",...g}=n,v=N.isValidElement(o)&&o.type==="svg",w={...n,color:a,component:l,fontSize:u,instanceFontSize:e.fontSize,inheritViewBox:h,viewBox:_,hasSvgAsChild:v},x={};h||(x.viewBox=_);const C=kF(w);return D.jsxs($F,{as:l,className:Ce(C.root,s),focusable:"false",color:p,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:r,...x,...g,...v&&o.props,ownerState:w,children:[v?o.props.children:o,d?D.jsx("title",{children:d}):null]})});Ab.muiName="SvgIcon";function Ne(t,e){function r(n,o){return D.jsx(Ab,{"data-testid":`${e}Icon`,ref:o,...n,children:t})}return r.muiName=Ab.muiName,N.memo(N.forwardRef(r))}function rM(t,e){if(t==null)return{};var r={};for(var n in t)if({}.hasOwnProperty.call(t,n)){if(e.indexOf(n)!==-1)continue;r[n]=t[n]}return r}function Pb(t,e){return Pb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},Pb(t,e)}function nM(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Pb(t,e)}var oM=sN();const Op=da(oM),vE={disabled:!1},Cf=m.createContext(null);var TF=function(e){return e.scrollTop},iu="unmounted",Ra="exited",ja="entering",nl="entered",Ib="exiting",qo=function(t){nM(e,t);function e(n,o){var s;s=t.call(this,n,o)||this;var a=o,l=a&&!a.isMounting?n.enter:n.appear,u;return s.appearStatus=null,n.in?l?(u=Ra,s.appearStatus=ja):u=nl:n.unmountOnExit||n.mountOnEnter?u=iu:u=Ra,s.state={status:u},s.nextCallback=null,s}e.getDerivedStateFromProps=function(o,s){var a=o.in;return a&&s.status===iu?{status:Ra}:null};var r=e.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(o){var s=null;if(o!==this.props){var a=this.state.status;this.props.in?a!==ja&&a!==nl&&(s=ja):(a===ja||a===nl)&&(s=Ib)}this.updateStatus(!1,s)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var o=this.props.timeout,s,a,l;return s=a=l=o,o!=null&&typeof o!="number"&&(s=o.exit,a=o.enter,l=o.appear!==void 0?o.appear:a),{exit:s,enter:a,appear:l}},r.updateStatus=function(o,s){if(o===void 0&&(o=!1),s!==null)if(this.cancelNextCallback(),s===ja){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:Op.findDOMNode(this);a&&TF(a)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ra&&this.setState({status:iu})},r.performEnter=function(o){var s=this,a=this.props.enter,l=this.context?this.context.isMounting:o,u=this.props.nodeRef?[l]:[Op.findDOMNode(this),l],p=u[0],h=u[1],d=this.getTimeouts(),_=l?d.appear:d.enter;if(!o&&!a||vE.disabled){this.safeSetState({status:nl},function(){s.props.onEntered(p)});return}this.props.onEnter(p,h),this.safeSetState({status:ja},function(){s.props.onEntering(p,h),s.onTransitionEnd(_,function(){s.safeSetState({status:nl},function(){s.props.onEntered(p,h)})})})},r.performExit=function(){var o=this,s=this.props.exit,a=this.getTimeouts(),l=this.props.nodeRef?void 0:Op.findDOMNode(this);if(!s||vE.disabled){this.safeSetState({status:Ra},function(){o.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:Ib},function(){o.props.onExiting(l),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:Ra},function(){o.props.onExited(l)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(o,s){s=this.setNextCallback(s),this.setState(o,s)},r.setNextCallback=function(o){var s=this,a=!0;return this.nextCallback=function(l){a&&(a=!1,s.nextCallback=null,o(l))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},r.onTransitionEnd=function(o,s){this.setNextCallback(s);var a=this.props.nodeRef?this.props.nodeRef.current:Op.findDOMNode(this),l=o==null&&!this.props.addEndListener;if(!a||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var u=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],p=u[0],h=u[1];this.props.addEndListener(p,h)}o!=null&&setTimeout(this.nextCallback,o)},r.render=function(){var o=this.state.status;if(o===iu)return null;var s=this.props,a=s.children;s.in,s.mountOnEnter,s.unmountOnExit,s.appear,s.enter,s.exit,s.timeout,s.addEndListener,s.onEnter,s.onEntering,s.onEntered,s.onExit,s.onExiting,s.onExited,s.nodeRef;var l=rM(s,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return m.createElement(Cf.Provider,{value:null},typeof a=="function"?a(o,l):m.cloneElement(m.Children.only(a),l))},e}(m.Component);qo.contextType=Cf;qo.propTypes={};function qi(){}qo.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:qi,onEntering:qi,onEntered:qi,onExit:qi,onExiting:qi,onExited:qi};qo.UNMOUNTED=iu;qo.EXITED=Ra;qo.ENTERING=ja;qo.ENTERED=nl;qo.EXITING=Ib;function OF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pw(t,e){var r=function(s){return e&&N.isValidElement(s)?e(s):s},n=Object.create(null);return t&&N.Children.map(t,function(o){return o}).forEach(function(o){n[o.key]=r(o)}),n}function DF(t,e){t=t||{},e=e||{};function r(h){return h in e?e[h]:t[h]}var n=Object.create(null),o=[];for(var s in t)s in e?o.length&&(n[s]=o,o=[]):o.push(s);var a,l={};for(var u in e){if(n[u])for(a=0;at.scrollTop;function Ef(t,e){const{timeout:r,easing:n,style:o={}}=t;return{duration:o.transitionDuration??(typeof r=="number"?r:r[e.mode]||0),easing:o.transitionTimingFunction??(typeof n=="object"?n[e.mode]:n),delay:o.transitionDelay}}function IF(t){return Ye("MuiPaper",t)}Xe("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const RF=t=>{const{square:e,elevation:r,variant:n,classes:o}=t,s={root:["root",n,!e&&"rounded",n==="elevation"&&`elevation${r}`]};return Ke(s,IF,o)},jF=le("div",{name:"MuiPaper",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[r.variant],!r.square&&e.rounded,r.variant==="elevation"&&e[`elevation${r.elevation}`]]}})(Ge(({theme:t})=>({backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow"),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:t.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(t.vars||t).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),oi=N.forwardRef(function(e,r){var g;const n=Ze({props:e,name:"MuiPaper"}),o=ys(),{className:s,component:a="div",elevation:l=1,square:u=!1,variant:p="elevation",...h}=n,d={...n,component:a,elevation:l,square:u,variant:p},_=RF(d);return D.jsx(jF,{as:a,ownerState:d,className:Ce(_.root,s),ref:r,...h,style:{...p==="elevation"&&{"--Paper-shadow":(o.vars||o).shadows[l],...o.vars&&{"--Paper-overlay":(g=o.vars.overlays)==null?void 0:g[l]},...!o.vars&&o.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Ft("#fff",Mb(l))}, ${Ft("#fff",Mb(l))})`}},...h.style}})});function or(t,e){const{className:r,elementType:n,ownerState:o,externalForwardedProps:s,internalForwardedProps:a,shouldForwardComponentProp:l=!1,...u}=e,{component:p,slots:h={[t]:void 0},slotProps:d={[t]:void 0},..._}=s,g=h[t]||n,v=WN(d[t],o),{props:{component:w,...x},internalRef:C}=BN({className:r,...u,externalForwardedProps:t==="root"?_:void 0,externalSlotProps:v}),M=sr(C,v==null?void 0:v.ref,e.ref),$=t==="root"?w||p:w,E=zN(g,{...t==="root"&&!p&&!h[t]&&a,...t!=="root"&&!h[t]&&a,...x,...$&&!l&&{as:$},...$&&l&&{component:$},ref:M},o);return[g,E]}class kf{constructor(){Y(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new kf}static use(){const e=RN(kf.create).current,[r,n]=N.useState(!1);return e.shouldMount=r,e.setShouldMount=n,N.useEffect(e.mountEffect,[r]),e}mount(){return this.mounted||(this.mounted=zF(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...e){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.start(...e)})}stop(...e){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.stop(...e)})}pulsate(...e){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.pulsate(...e)})}}function FF(){return kf.use()}function zF(){let t,e;const r=new Promise((n,o)=>{t=n,e=o});return r.resolve=t,r.reject=e,r}function LF(t){const{className:e,classes:r,pulsate:n=!1,rippleX:o,rippleY:s,rippleSize:a,in:l,onExited:u,timeout:p}=t,[h,d]=N.useState(!1),_=Ce(e,r.ripple,r.rippleVisible,n&&r.ripplePulsate),g={width:a,height:a,top:-(a/2)+s,left:-(a/2)+o},v=Ce(r.child,h&&r.childLeaving,n&&r.childPulsate);return!l&&!h&&d(!0),N.useEffect(()=>{if(!l&&u!=null){const w=setTimeout(u,p);return()=>{clearTimeout(w)}}},[u,l,p]),D.jsx("span",{className:_,style:g,children:D.jsx("span",{className:v})})}const Hn=Xe("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Rb=550,BF=80,WF=pa` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`,UF=pa` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`,HF=pa` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`,qF=le("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),VF=le(LF,{name:"MuiTouchRipple",slot:"Ripple"})` + opacity: 0; + position: absolute; + + &.${Hn.rippleVisible} { + opacity: 0.3; + transform: scale(1); + animation-name: ${WF}; + animation-duration: ${Rb}ms; + animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut}; + } + + &.${Hn.ripplePulsate} { + animation-duration: ${({theme:t})=>t.transitions.duration.shorter}ms; + } + + & .${Hn.child} { + opacity: 1; + display: block; + width: 100%; + height: 100%; + border-radius: 50%; + background-color: currentColor; + } + + & .${Hn.childLeaving} { + opacity: 0; + animation-name: ${UF}; + animation-duration: ${Rb}ms; + animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut}; + } + + & .${Hn.childPulsate} { + position: absolute; + /* @noflip */ + left: 0px; + top: 0; + animation-name: ${HF}; + animation-duration: 2500ms; + animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut}; + animation-iteration-count: infinite; + animation-delay: 200ms; + } +`,GF=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiTouchRipple"}),{center:o=!1,classes:s={},className:a,...l}=n,[u,p]=N.useState([]),h=N.useRef(0),d=N.useRef(null);N.useEffect(()=>{d.current&&(d.current(),d.current=null)},[u]);const _=N.useRef(!1),g=Ba(),v=N.useRef(null),w=N.useRef(null),x=N.useCallback(E=>{const{pulsate:k,rippleX:T,rippleY:A,rippleSize:I,cb:j}=E;p(O=>[...O,D.jsx(VF,{classes:{ripple:Ce(s.ripple,Hn.ripple),rippleVisible:Ce(s.rippleVisible,Hn.rippleVisible),ripplePulsate:Ce(s.ripplePulsate,Hn.ripplePulsate),child:Ce(s.child,Hn.child),childLeaving:Ce(s.childLeaving,Hn.childLeaving),childPulsate:Ce(s.childPulsate,Hn.childPulsate)},timeout:Rb,pulsate:k,rippleX:T,rippleY:A,rippleSize:I},h.current)]),h.current+=1,d.current=j},[s]),C=N.useCallback((E={},k={},T=()=>{})=>{const{pulsate:A=!1,center:I=o||k.pulsate,fakeElement:j=!1}=k;if((E==null?void 0:E.type)==="mousedown"&&_.current){_.current=!1;return}(E==null?void 0:E.type)==="touchstart"&&(_.current=!0);const O=j?null:w.current,F=O?O.getBoundingClientRect():{width:0,height:0,left:0,top:0};let H,q,U;if(I||E===void 0||E.clientX===0&&E.clientY===0||!E.clientX&&!E.touches)H=Math.round(F.width/2),q=Math.round(F.height/2);else{const{clientX:B,clientY:X}=E.touches&&E.touches.length>0?E.touches[0]:E;H=Math.round(B-F.left),q=Math.round(X-F.top)}if(I)U=Math.sqrt((2*F.width**2+F.height**2)/3),U%2===0&&(U+=1);else{const B=Math.max(Math.abs((O?O.clientWidth:0)-H),H)*2+2,X=Math.max(Math.abs((O?O.clientHeight:0)-q),q)*2+2;U=Math.sqrt(B**2+X**2)}E!=null&&E.touches?v.current===null&&(v.current=()=>{x({pulsate:A,rippleX:H,rippleY:q,rippleSize:U,cb:T})},g.start(BF,()=>{v.current&&(v.current(),v.current=null)})):x({pulsate:A,rippleX:H,rippleY:q,rippleSize:U,cb:T})},[o,x,g]),M=N.useCallback(()=>{C({},{pulsate:!0})},[C]),$=N.useCallback((E,k)=>{if(g.clear(),(E==null?void 0:E.type)==="touchend"&&v.current){v.current(),v.current=null,g.start(0,()=>{$(E,k)});return}v.current=null,p(T=>T.length>0?T.slice(1):T),d.current=k},[g]);return N.useImperativeHandle(r,()=>({pulsate:M,start:C,stop:$}),[M,C,$]),D.jsx(qF,{className:Ce(Hn.root,s.root,a),ref:w,...l,children:D.jsx(fw,{component:null,exit:!0,children:u})})});function XF(t){return Ye("MuiButtonBase",t)}const JF=Xe("MuiButtonBase",["root","disabled","focusVisible"]),YF=t=>{const{disabled:e,focusVisible:r,focusVisibleClassName:n,classes:o}=t,a=Ke({root:["root",e&&"disabled",r&&"focusVisible"]},XF,o);return r&&n&&(a.root+=` ${n}`),a},KF=le("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${JF.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),vs=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiButtonBase"}),{action:o,centerRipple:s=!1,children:a,className:l,component:u="button",disabled:p=!1,disableRipple:h=!1,disableTouchRipple:d=!1,focusRipple:_=!1,focusVisibleClassName:g,LinkComponent:v="a",onBlur:w,onClick:x,onContextMenu:C,onDragLeave:M,onFocus:$,onFocusVisible:E,onKeyDown:k,onKeyUp:T,onMouseDown:A,onMouseLeave:I,onMouseUp:j,onTouchEnd:O,onTouchMove:F,onTouchStart:H,tabIndex:q=0,TouchRippleProps:U,touchRippleRef:B,type:X,...re}=n,Z=N.useRef(null),J=FF(),ne=sr(J.ref,B),[L,Q]=N.useState(!1);p&&L&&Q(!1),N.useImperativeHandle(o,()=>({focusVisible:()=>{Q(!0),Z.current.focus()}}),[]);const fe=J.shouldMount&&!h&&!p;N.useEffect(()=>{L&&_&&!h&&J.pulsate()},[h,_,L,J]);const me=ss(J,"start",A,d),ye=ss(J,"stop",C,d),we=ss(J,"stop",M,d),Me=ss(J,"stop",j,d),Oe=ss(J,"stop",xe=>{L&&xe.preventDefault(),I&&I(xe)},d),Pe=ss(J,"start",H,d),ke=ss(J,"stop",O,d),He=ss(J,"stop",F,d),Ae=ss(J,"stop",xe=>{wf(xe.target)||Q(!1),w&&w(xe)},!1),it=_n(xe=>{Z.current||(Z.current=xe.currentTarget),wf(xe.target)&&(Q(!0),E&&E(xe)),$&&$(xe)}),Ie=()=>{const xe=Z.current;return u&&u!=="button"&&!(xe.tagName==="A"&&xe.href)},$e=_n(xe=>{_&&!xe.repeat&&L&&xe.key===" "&&J.stop(xe,()=>{J.start(xe)}),xe.target===xe.currentTarget&&Ie()&&xe.key===" "&&xe.preventDefault(),k&&k(xe),xe.target===xe.currentTarget&&Ie()&&xe.key==="Enter"&&!p&&(xe.preventDefault(),x&&x(xe))}),ie=_n(xe=>{_&&xe.key===" "&&L&&!xe.defaultPrevented&&J.stop(xe,()=>{J.pulsate(xe)}),T&&T(xe),x&&xe.target===xe.currentTarget&&Ie()&&xe.key===" "&&!xe.defaultPrevented&&x(xe)});let se=u;se==="button"&&(re.href||re.to)&&(se=v);const ze={};se==="button"?(ze.type=X===void 0?"button":X,ze.disabled=p):(!re.href&&!re.to&&(ze.role="button"),p&&(ze["aria-disabled"]=p));const qe=sr(r,Z),rt={...n,centerRipple:s,component:u,disabled:p,disableRipple:h,disableTouchRipple:d,focusRipple:_,tabIndex:q,focusVisible:L},st=YF(rt);return D.jsxs(KF,{as:se,className:Ce(st.root,l),ownerState:rt,onBlur:Ae,onClick:x,onContextMenu:ye,onFocus:it,onKeyDown:$e,onKeyUp:ie,onMouseDown:me,onMouseLeave:Oe,onMouseUp:Me,onDragLeave:we,onTouchEnd:ke,onTouchMove:He,onTouchStart:Pe,ref:qe,tabIndex:p?-1:q,type:X,...ze,...re,children:[a,fe?D.jsx(GF,{ref:ne,center:s,...U}):null]})});function ss(t,e,r,n=!1){return _n(o=>(r&&r(o),n||t[e](o),!0))}function ZF(t){return typeof t.main=="string"}function QF(t,e=[]){if(!ZF(t))return!1;for(const r of e)if(!t.hasOwnProperty(r)||typeof t[r]!="string")return!1;return!0}function ur(t=[]){return([,e])=>e&&QF(e,t)}function ez(t){return Ye("MuiCircularProgress",t)}Xe("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Us=44,jb=pa` + 0% { + transform: rotate(0deg); + } + + 100% { + transform: rotate(360deg); + } +`,Fb=pa` + 0% { + stroke-dasharray: 1px, 200px; + stroke-dashoffset: 0; + } + + 50% { + stroke-dasharray: 100px, 200px; + stroke-dashoffset: -15px; + } + + 100% { + stroke-dasharray: 1px, 200px; + stroke-dashoffset: -126px; + } +`,tz=typeof jb!="string"?Xl` + animation: ${jb} 1.4s linear infinite; + `:null,rz=typeof Fb!="string"?Xl` + animation: ${Fb} 1.4s ease-in-out infinite; + `:null,nz=t=>{const{classes:e,variant:r,color:n,disableShrink:o}=t,s={root:["root",r,`color${pe(n)}`],svg:["svg"],circle:["circle",`circle${pe(r)}`,o&&"circleDisableShrink"]};return Ke(s,ez,e)},oz=le("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[r.variant],e[`color${pe(r.color)}`]]}})(Ge(({theme:t})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:t.transitions.create("transform")}},{props:{variant:"indeterminate"},style:tz||{animation:`${jb} 1.4s linear infinite`}},...Object.entries(t.palette).filter(ur()).map(([e])=>({props:{color:e},style:{color:(t.vars||t).palette[e].main}}))]}))),sz=le("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(t,e)=>e.svg})({display:"block"}),az=le("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.circle,e[`circle${pe(r.variant)}`],r.disableShrink&&e.circleDisableShrink]}})(Ge(({theme:t})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:t.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:e})=>e.variant==="indeterminate"&&!e.disableShrink,style:rz||{animation:`${Fb} 1.4s ease-in-out infinite`}}]}))),rd=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiCircularProgress"}),{className:o,color:s="primary",disableShrink:a=!1,size:l=40,style:u,thickness:p=3.6,value:h=0,variant:d="indeterminate",..._}=n,g={...n,color:s,disableShrink:a,size:l,thickness:p,value:h,variant:d},v=nz(g),w={},x={},C={};if(d==="determinate"){const M=2*Math.PI*((Us-p)/2);w.strokeDasharray=M.toFixed(3),C["aria-valuenow"]=Math.round(h),w.strokeDashoffset=`${((100-h)/100*M).toFixed(3)}px`,x.transform="rotate(-90deg)"}return D.jsx(oz,{className:Ce(v.root,o),style:{width:l,height:l,...x,...u},ownerState:g,ref:r,role:"progressbar",...C,..._,children:D.jsx(sz,{className:v.svg,ownerState:g,viewBox:`${Us/2} ${Us/2} ${Us} ${Us}`,children:D.jsx(az,{className:v.circle,style:w,ownerState:g,cx:Us,cy:Us,r:(Us-p)/2,fill:"none",strokeWidth:p})})})});function iz(t){return Ye("MuiIconButton",t)}const bE=Xe("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),lz=t=>{const{classes:e,disabled:r,color:n,edge:o,size:s,loading:a}=t,l={root:["root",a&&"loading",r&&"disabled",n!=="default"&&`color${pe(n)}`,o&&`edge${pe(o)}`,`size${pe(s)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return Ke(l,iz,e)},cz=le(vs,{name:"MuiIconButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.loading&&e.loading,r.color!=="default"&&e[`color${pe(r.color)}`],r.edge&&e[`edge${pe(r.edge)}`],e[`size${pe(r.size)}`]]}})(Ge(({theme:t})=>({textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),variants:[{props:e=>!e.disableRipple,style:{"--IconButton-hoverBg":t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:Ft(t.palette.action.active,t.palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),Ge(({theme:t})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(t.palette).filter(ur()).map(([e])=>({props:{color:e},style:{color:(t.vars||t).palette[e].main}})),...Object.entries(t.palette).filter(ur()).map(([e])=>({props:{color:e},style:{"--IconButton-hoverBg":t.vars?`rgba(${(t.vars||t).palette[e].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Ft((t.vars||t).palette[e].main,t.palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:t.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:t.typography.pxToRem(28)}}],[`&.${bE.disabled}`]:{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled},[`&.${bE.loading}`]:{color:"transparent"}}))),uz=le("span",{name:"MuiIconButton",slot:"LoadingIndicator",overridesResolver:(t,e)=>e.loadingIndicator})(({theme:t})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(t.vars||t).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),dt=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiIconButton"}),{edge:o=!1,children:s,className:a,color:l="default",disabled:u=!1,disableFocusRipple:p=!1,size:h="medium",id:d,loading:_=null,loadingIndicator:g,...v}=n,w=Jl(d),x=g??D.jsx(rd,{"aria-labelledby":w,color:"inherit",size:16}),C={...n,edge:o,color:l,disabled:u,disableFocusRipple:p,loading:_,loadingIndicator:x,size:h},M=lz(C);return D.jsxs(cz,{id:w,className:Ce(M.root,a),centerRipple:!0,focusRipple:!p,disabled:u||_,ref:r,...v,ownerState:C,children:[typeof _=="boolean"&&D.jsx("span",{className:M.loadingWrapper,style:{display:"contents"},children:D.jsx(uz,{className:M.loadingIndicator,ownerState:C,children:_&&x})}),s]})});function dz(t){return Ye("MuiTypography",t)}const wE=Xe("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),pz={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},fz=CF(),hz=t=>{const{align:e,gutterBottom:r,noWrap:n,paragraph:o,variant:s,classes:a}=t,l={root:["root",s,t.align!=="inherit"&&`align${pe(e)}`,r&&"gutterBottom",n&&"noWrap",o&&"paragraph"]};return Ke(l,dz,a)},mz=le("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.variant&&e[r.variant],r.align!=="inherit"&&e[`align${pe(r.align)}`],r.noWrap&&e.noWrap,r.gutterBottom&&e.gutterBottom,r.paragraph&&e.paragraph]}})(Ge(({theme:t})=>{var e;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(t.typography).filter(([r,n])=>r!=="inherit"&&n&&typeof n=="object").map(([r,n])=>({props:{variant:r},style:n})),...Object.entries(t.palette).filter(ur()).map(([r])=>({props:{color:r},style:{color:(t.vars||t).palette[r].main}})),...Object.entries(((e=t.palette)==null?void 0:e.text)||{}).filter(([,r])=>typeof r=="string").map(([r])=>({props:{color:`text${pe(r)}`},style:{color:(t.vars||t).palette.text[r]}})),{props:({ownerState:r})=>r.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:r})=>r.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:r})=>r.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:r})=>r.paragraph,style:{marginBottom:16}}]}})),xE={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Fo=N.forwardRef(function(e,r){const{color:n,...o}=Ze({props:e,name:"MuiTypography"}),s=!pz[n],a=fz({...o,...s&&{color:n}}),{align:l="inherit",className:u,component:p,gutterBottom:h=!1,noWrap:d=!1,paragraph:_=!1,variant:g="body1",variantMapping:v=xE,...w}=a,x={...a,align:l,color:n,className:u,component:p,gutterBottom:h,noWrap:d,paragraph:_,variant:g,variantMapping:v},C=p||(_?"p":v[g]||xE[g])||"span",M=hz(x);return D.jsx(mz,{as:C,ref:r,className:Ce(M.root,u),...w,ownerState:x,style:{...l!=="inherit"&&{"--Typography-textAlign":l},...w.style}})});function _z(t){return Ye("MuiAppBar",t)}Xe("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const gz=t=>{const{color:e,position:r,classes:n}=t,o={root:["root",`color${pe(e)}`,`position${pe(r)}`]};return Ke(o,_z,n)},SE=(t,e)=>t?`${t==null?void 0:t.replace(")","")}, ${e})`:e,yz=le(oi,{name:"MuiAppBar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[`position${pe(r.position)}`],e[`color${pe(r.color)}`]]}})(Ge(({theme:t})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}},{props:{color:"inherit"},style:{"--AppBar-color":"inherit"}},{props:{color:"default"},style:{"--AppBar-background":t.vars?t.vars.palette.AppBar.defaultBg:t.palette.grey[100],"--AppBar-color":t.vars?t.vars.palette.text.primary:t.palette.getContrastText(t.palette.grey[100]),...t.applyStyles("dark",{"--AppBar-background":t.vars?t.vars.palette.AppBar.defaultBg:t.palette.grey[900],"--AppBar-color":t.vars?t.vars.palette.text.primary:t.palette.getContrastText(t.palette.grey[900])})}},...Object.entries(t.palette).filter(ur(["contrastText"])).map(([e])=>({props:{color:e},style:{"--AppBar-background":(t.vars??t).palette[e].main,"--AppBar-color":(t.vars??t).palette[e].contrastText}})),{props:e=>e.enableColorOnDark===!0&&!["inherit","transparent"].includes(e.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:e=>e.enableColorOnDark===!1&&!["inherit","transparent"].includes(e.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...t.applyStyles("dark",{backgroundColor:t.vars?SE(t.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:t.vars?SE(t.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...t.applyStyles("dark",{backgroundImage:"none"})}}]}))),aM=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiAppBar"}),{className:o,color:s="primary",enableColorOnDark:a=!1,position:l="fixed",...u}=n,p={...n,color:s,position:l,enableColorOnDark:a},h=gz(p);return D.jsx(yz,{square:!0,component:"header",ownerState:p,elevation:4,className:Ce(h.root,o,l==="fixed"&&"mui-fixed"),ref:r,...u})});var gn="top",Kn="bottom",Zn="right",yn="left",hw="auto",nd=[gn,Kn,Zn,yn],Rl="start",Ru="end",vz="clippingParents",iM="viewport",Wc="popper",bz="reference",CE=nd.reduce(function(t,e){return t.concat([e+"-"+Rl,e+"-"+Ru])},[]),lM=[].concat(nd,[hw]).reduce(function(t,e){return t.concat([e,e+"-"+Rl,e+"-"+Ru])},[]),wz="beforeRead",xz="read",Sz="afterRead",Cz="beforeMain",Ez="main",kz="afterMain",$z="beforeWrite",Tz="write",Oz="afterWrite",Dz=[wz,xz,Sz,Cz,Ez,kz,$z,Tz,Oz];function Uo(t){return t?(t.nodeName||"").toLowerCase():null}function Pn(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Ga(t){var e=Pn(t).Element;return t instanceof e||t instanceof Element}function Xn(t){var e=Pn(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function mw(t){if(typeof ShadowRoot>"u")return!1;var e=Pn(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function Nz(t){var e=t.state;Object.keys(e.elements).forEach(function(r){var n=e.styles[r]||{},o=e.attributes[r]||{},s=e.elements[r];!Xn(s)||!Uo(s)||(Object.assign(s.style,n),Object.keys(o).forEach(function(a){var l=o[a];l===!1?s.removeAttribute(a):s.setAttribute(a,l===!0?"":l)}))})}function Mz(t){var e=t.state,r={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,r.popper),e.styles=r,e.elements.arrow&&Object.assign(e.elements.arrow.style,r.arrow),function(){Object.keys(e.elements).forEach(function(n){var o=e.elements[n],s=e.attributes[n]||{},a=Object.keys(e.styles.hasOwnProperty(n)?e.styles[n]:r[n]),l=a.reduce(function(u,p){return u[p]="",u},{});!Xn(o)||!Uo(o)||(Object.assign(o.style,l),Object.keys(s).forEach(function(u){o.removeAttribute(u)}))})}}const Az={name:"applyStyles",enabled:!0,phase:"write",fn:Nz,effect:Mz,requires:["computeStyles"]};function Lo(t){return t.split("-")[0]}var Ha=Math.max,$f=Math.min,jl=Math.round;function zb(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function cM(){return!/^((?!chrome|android).)*safari/i.test(zb())}function Fl(t,e,r){e===void 0&&(e=!1),r===void 0&&(r=!1);var n=t.getBoundingClientRect(),o=1,s=1;e&&Xn(t)&&(o=t.offsetWidth>0&&jl(n.width)/t.offsetWidth||1,s=t.offsetHeight>0&&jl(n.height)/t.offsetHeight||1);var a=Ga(t)?Pn(t):window,l=a.visualViewport,u=!cM()&&r,p=(n.left+(u&&l?l.offsetLeft:0))/o,h=(n.top+(u&&l?l.offsetTop:0))/s,d=n.width/o,_=n.height/s;return{width:d,height:_,top:h,right:p+d,bottom:h+_,left:p,x:p,y:h}}function _w(t){var e=Fl(t),r=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-r)<=1&&(r=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:r,height:n}}function uM(t,e){var r=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(r&&mw(r)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function gs(t){return Pn(t).getComputedStyle(t)}function Pz(t){return["table","td","th"].indexOf(Uo(t))>=0}function fa(t){return((Ga(t)?t.ownerDocument:t.document)||window.document).documentElement}function uh(t){return Uo(t)==="html"?t:t.assignedSlot||t.parentNode||(mw(t)?t.host:null)||fa(t)}function EE(t){return!Xn(t)||gs(t).position==="fixed"?null:t.offsetParent}function Iz(t){var e=/firefox/i.test(zb()),r=/Trident/i.test(zb());if(r&&Xn(t)){var n=gs(t);if(n.position==="fixed")return null}var o=uh(t);for(mw(o)&&(o=o.host);Xn(o)&&["html","body"].indexOf(Uo(o))<0;){var s=gs(o);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||e&&s.willChange==="filter"||e&&s.filter&&s.filter!=="none")return o;o=o.parentNode}return null}function od(t){for(var e=Pn(t),r=EE(t);r&&Pz(r)&&gs(r).position==="static";)r=EE(r);return r&&(Uo(r)==="html"||Uo(r)==="body"&&gs(r).position==="static")?e:r||Iz(t)||e}function gw(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function wu(t,e,r){return Ha(t,$f(e,r))}function Rz(t,e,r){var n=wu(t,e,r);return n>r?r:n}function dM(){return{top:0,right:0,bottom:0,left:0}}function pM(t){return Object.assign({},dM(),t)}function fM(t,e){return e.reduce(function(r,n){return r[n]=t,r},{})}var jz=function(e,r){return e=typeof e=="function"?e(Object.assign({},r.rects,{placement:r.placement})):e,pM(typeof e!="number"?e:fM(e,nd))};function Fz(t){var e,r=t.state,n=t.name,o=t.options,s=r.elements.arrow,a=r.modifiersData.popperOffsets,l=Lo(r.placement),u=gw(l),p=[yn,Zn].indexOf(l)>=0,h=p?"height":"width";if(!(!s||!a)){var d=jz(o.padding,r),_=_w(s),g=u==="y"?gn:yn,v=u==="y"?Kn:Zn,w=r.rects.reference[h]+r.rects.reference[u]-a[u]-r.rects.popper[h],x=a[u]-r.rects.reference[u],C=od(s),M=C?u==="y"?C.clientHeight||0:C.clientWidth||0:0,$=w/2-x/2,E=d[g],k=M-_[h]-d[v],T=M/2-_[h]/2+$,A=wu(E,T,k),I=u;r.modifiersData[n]=(e={},e[I]=A,e.centerOffset=A-T,e)}}function zz(t){var e=t.state,r=t.options,n=r.element,o=n===void 0?"[data-popper-arrow]":n;o!=null&&(typeof o=="string"&&(o=e.elements.popper.querySelector(o),!o)||uM(e.elements.popper,o)&&(e.elements.arrow=o))}const Lz={name:"arrow",enabled:!0,phase:"main",fn:Fz,effect:zz,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function zl(t){return t.split("-")[1]}var Bz={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Wz(t,e){var r=t.x,n=t.y,o=e.devicePixelRatio||1;return{x:jl(r*o)/o||0,y:jl(n*o)/o||0}}function kE(t){var e,r=t.popper,n=t.popperRect,o=t.placement,s=t.variation,a=t.offsets,l=t.position,u=t.gpuAcceleration,p=t.adaptive,h=t.roundOffsets,d=t.isFixed,_=a.x,g=_===void 0?0:_,v=a.y,w=v===void 0?0:v,x=typeof h=="function"?h({x:g,y:w}):{x:g,y:w};g=x.x,w=x.y;var C=a.hasOwnProperty("x"),M=a.hasOwnProperty("y"),$=yn,E=gn,k=window;if(p){var T=od(r),A="clientHeight",I="clientWidth";if(T===Pn(r)&&(T=fa(r),gs(T).position!=="static"&&l==="absolute"&&(A="scrollHeight",I="scrollWidth")),T=T,o===gn||(o===yn||o===Zn)&&s===Ru){E=Kn;var j=d&&T===k&&k.visualViewport?k.visualViewport.height:T[A];w-=j-n.height,w*=u?1:-1}if(o===yn||(o===gn||o===Kn)&&s===Ru){$=Zn;var O=d&&T===k&&k.visualViewport?k.visualViewport.width:T[I];g-=O-n.width,g*=u?1:-1}}var F=Object.assign({position:l},p&&Bz),H=h===!0?Wz({x:g,y:w},Pn(r)):{x:g,y:w};if(g=H.x,w=H.y,u){var q;return Object.assign({},F,(q={},q[E]=M?"0":"",q[$]=C?"0":"",q.transform=(k.devicePixelRatio||1)<=1?"translate("+g+"px, "+w+"px)":"translate3d("+g+"px, "+w+"px, 0)",q))}return Object.assign({},F,(e={},e[E]=M?w+"px":"",e[$]=C?g+"px":"",e.transform="",e))}function Uz(t){var e=t.state,r=t.options,n=r.gpuAcceleration,o=n===void 0?!0:n,s=r.adaptive,a=s===void 0?!0:s,l=r.roundOffsets,u=l===void 0?!0:l,p={placement:Lo(e.placement),variation:zl(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,kE(Object.assign({},p,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:u})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,kE(Object.assign({},p,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const Hz={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Uz,data:{}};var Dp={passive:!0};function qz(t){var e=t.state,r=t.instance,n=t.options,o=n.scroll,s=o===void 0?!0:o,a=n.resize,l=a===void 0?!0:a,u=Pn(e.elements.popper),p=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&p.forEach(function(h){h.addEventListener("scroll",r.update,Dp)}),l&&u.addEventListener("resize",r.update,Dp),function(){s&&p.forEach(function(h){h.removeEventListener("scroll",r.update,Dp)}),l&&u.removeEventListener("resize",r.update,Dp)}}const Vz={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:qz,data:{}};var Gz={left:"right",right:"left",bottom:"top",top:"bottom"};function cf(t){return t.replace(/left|right|bottom|top/g,function(e){return Gz[e]})}var Xz={start:"end",end:"start"};function $E(t){return t.replace(/start|end/g,function(e){return Xz[e]})}function yw(t){var e=Pn(t),r=e.pageXOffset,n=e.pageYOffset;return{scrollLeft:r,scrollTop:n}}function vw(t){return Fl(fa(t)).left+yw(t).scrollLeft}function Jz(t,e){var r=Pn(t),n=fa(t),o=r.visualViewport,s=n.clientWidth,a=n.clientHeight,l=0,u=0;if(o){s=o.width,a=o.height;var p=cM();(p||!p&&e==="fixed")&&(l=o.offsetLeft,u=o.offsetTop)}return{width:s,height:a,x:l+vw(t),y:u}}function Yz(t){var e,r=fa(t),n=yw(t),o=(e=t.ownerDocument)==null?void 0:e.body,s=Ha(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Ha(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-n.scrollLeft+vw(t),u=-n.scrollTop;return gs(o||r).direction==="rtl"&&(l+=Ha(r.clientWidth,o?o.clientWidth:0)-s),{width:s,height:a,x:l,y:u}}function bw(t){var e=gs(t),r=e.overflow,n=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function hM(t){return["html","body","#document"].indexOf(Uo(t))>=0?t.ownerDocument.body:Xn(t)&&bw(t)?t:hM(uh(t))}function xu(t,e){var r;e===void 0&&(e=[]);var n=hM(t),o=n===((r=t.ownerDocument)==null?void 0:r.body),s=Pn(n),a=o?[s].concat(s.visualViewport||[],bw(n)?n:[]):n,l=e.concat(a);return o?l:l.concat(xu(uh(a)))}function Lb(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Kz(t,e){var r=Fl(t,!1,e==="fixed");return r.top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r}function TE(t,e,r){return e===iM?Lb(Jz(t,r)):Ga(e)?Kz(e,r):Lb(Yz(fa(t)))}function Zz(t){var e=xu(uh(t)),r=["absolute","fixed"].indexOf(gs(t).position)>=0,n=r&&Xn(t)?od(t):t;return Ga(n)?e.filter(function(o){return Ga(o)&&uM(o,n)&&Uo(o)!=="body"}):[]}function Qz(t,e,r,n){var o=e==="clippingParents"?Zz(t):[].concat(e),s=[].concat(o,[r]),a=s[0],l=s.reduce(function(u,p){var h=TE(t,p,n);return u.top=Ha(h.top,u.top),u.right=$f(h.right,u.right),u.bottom=$f(h.bottom,u.bottom),u.left=Ha(h.left,u.left),u},TE(t,a,n));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function mM(t){var e=t.reference,r=t.element,n=t.placement,o=n?Lo(n):null,s=n?zl(n):null,a=e.x+e.width/2-r.width/2,l=e.y+e.height/2-r.height/2,u;switch(o){case gn:u={x:a,y:e.y-r.height};break;case Kn:u={x:a,y:e.y+e.height};break;case Zn:u={x:e.x+e.width,y:l};break;case yn:u={x:e.x-r.width,y:l};break;default:u={x:e.x,y:e.y}}var p=o?gw(o):null;if(p!=null){var h=p==="y"?"height":"width";switch(s){case Rl:u[p]=u[p]-(e[h]/2-r[h]/2);break;case Ru:u[p]=u[p]+(e[h]/2-r[h]/2);break}}return u}function ju(t,e){e===void 0&&(e={});var r=e,n=r.placement,o=n===void 0?t.placement:n,s=r.strategy,a=s===void 0?t.strategy:s,l=r.boundary,u=l===void 0?vz:l,p=r.rootBoundary,h=p===void 0?iM:p,d=r.elementContext,_=d===void 0?Wc:d,g=r.altBoundary,v=g===void 0?!1:g,w=r.padding,x=w===void 0?0:w,C=pM(typeof x!="number"?x:fM(x,nd)),M=_===Wc?bz:Wc,$=t.rects.popper,E=t.elements[v?M:_],k=Qz(Ga(E)?E:E.contextElement||fa(t.elements.popper),u,h,a),T=Fl(t.elements.reference),A=mM({reference:T,element:$,strategy:"absolute",placement:o}),I=Lb(Object.assign({},$,A)),j=_===Wc?I:T,O={top:k.top-j.top+C.top,bottom:j.bottom-k.bottom+C.bottom,left:k.left-j.left+C.left,right:j.right-k.right+C.right},F=t.modifiersData.offset;if(_===Wc&&F){var H=F[o];Object.keys(O).forEach(function(q){var U=[Zn,Kn].indexOf(q)>=0?1:-1,B=[gn,Kn].indexOf(q)>=0?"y":"x";O[q]+=H[B]*U})}return O}function e6(t,e){e===void 0&&(e={});var r=e,n=r.placement,o=r.boundary,s=r.rootBoundary,a=r.padding,l=r.flipVariations,u=r.allowedAutoPlacements,p=u===void 0?lM:u,h=zl(n),d=h?l?CE:CE.filter(function(v){return zl(v)===h}):nd,_=d.filter(function(v){return p.indexOf(v)>=0});_.length===0&&(_=d);var g=_.reduce(function(v,w){return v[w]=ju(t,{placement:w,boundary:o,rootBoundary:s,padding:a})[Lo(w)],v},{});return Object.keys(g).sort(function(v,w){return g[v]-g[w]})}function t6(t){if(Lo(t)===hw)return[];var e=cf(t);return[$E(t),e,$E(e)]}function r6(t){var e=t.state,r=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var o=r.mainAxis,s=o===void 0?!0:o,a=r.altAxis,l=a===void 0?!0:a,u=r.fallbackPlacements,p=r.padding,h=r.boundary,d=r.rootBoundary,_=r.altBoundary,g=r.flipVariations,v=g===void 0?!0:g,w=r.allowedAutoPlacements,x=e.options.placement,C=Lo(x),M=C===x,$=u||(M||!v?[cf(x)]:t6(x)),E=[x].concat($).reduce(function(me,ye){return me.concat(Lo(ye)===hw?e6(e,{placement:ye,boundary:h,rootBoundary:d,padding:p,flipVariations:v,allowedAutoPlacements:w}):ye)},[]),k=e.rects.reference,T=e.rects.popper,A=new Map,I=!0,j=E[0],O=0;O=0,B=U?"width":"height",X=ju(e,{placement:F,boundary:h,rootBoundary:d,altBoundary:_,padding:p}),re=U?q?Zn:yn:q?Kn:gn;k[B]>T[B]&&(re=cf(re));var Z=cf(re),J=[];if(s&&J.push(X[H]<=0),l&&J.push(X[re]<=0,X[Z]<=0),J.every(function(me){return me})){j=F,I=!1;break}A.set(F,J)}if(I)for(var ne=v?3:1,L=function(ye){var we=E.find(function(Me){var Oe=A.get(Me);if(Oe)return Oe.slice(0,ye).every(function(Pe){return Pe})});if(we)return j=we,"break"},Q=ne;Q>0;Q--){var fe=L(Q);if(fe==="break")break}e.placement!==j&&(e.modifiersData[n]._skip=!0,e.placement=j,e.reset=!0)}}const n6={name:"flip",enabled:!0,phase:"main",fn:r6,requiresIfExists:["offset"],data:{_skip:!1}};function OE(t,e,r){return r===void 0&&(r={x:0,y:0}),{top:t.top-e.height-r.y,right:t.right-e.width+r.x,bottom:t.bottom-e.height+r.y,left:t.left-e.width-r.x}}function DE(t){return[gn,Zn,Kn,yn].some(function(e){return t[e]>=0})}function o6(t){var e=t.state,r=t.name,n=e.rects.reference,o=e.rects.popper,s=e.modifiersData.preventOverflow,a=ju(e,{elementContext:"reference"}),l=ju(e,{altBoundary:!0}),u=OE(a,n),p=OE(l,o,s),h=DE(u),d=DE(p);e.modifiersData[r]={referenceClippingOffsets:u,popperEscapeOffsets:p,isReferenceHidden:h,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":d})}const s6={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:o6};function a6(t,e,r){var n=Lo(t),o=[yn,gn].indexOf(n)>=0?-1:1,s=typeof r=="function"?r(Object.assign({},e,{placement:t})):r,a=s[0],l=s[1];return a=a||0,l=(l||0)*o,[yn,Zn].indexOf(n)>=0?{x:l,y:a}:{x:a,y:l}}function i6(t){var e=t.state,r=t.options,n=t.name,o=r.offset,s=o===void 0?[0,0]:o,a=lM.reduce(function(h,d){return h[d]=a6(d,e.rects,s),h},{}),l=a[e.placement],u=l.x,p=l.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=p),e.modifiersData[n]=a}const l6={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:i6};function c6(t){var e=t.state,r=t.name;e.modifiersData[r]=mM({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const u6={name:"popperOffsets",enabled:!0,phase:"read",fn:c6,data:{}};function d6(t){return t==="x"?"y":"x"}function p6(t){var e=t.state,r=t.options,n=t.name,o=r.mainAxis,s=o===void 0?!0:o,a=r.altAxis,l=a===void 0?!1:a,u=r.boundary,p=r.rootBoundary,h=r.altBoundary,d=r.padding,_=r.tether,g=_===void 0?!0:_,v=r.tetherOffset,w=v===void 0?0:v,x=ju(e,{boundary:u,rootBoundary:p,padding:d,altBoundary:h}),C=Lo(e.placement),M=zl(e.placement),$=!M,E=gw(C),k=d6(E),T=e.modifiersData.popperOffsets,A=e.rects.reference,I=e.rects.popper,j=typeof w=="function"?w(Object.assign({},e.rects,{placement:e.placement})):w,O=typeof j=="number"?{mainAxis:j,altAxis:j}:Object.assign({mainAxis:0,altAxis:0},j),F=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,H={x:0,y:0};if(T){if(s){var q,U=E==="y"?gn:yn,B=E==="y"?Kn:Zn,X=E==="y"?"height":"width",re=T[E],Z=re+x[U],J=re-x[B],ne=g?-I[X]/2:0,L=M===Rl?A[X]:I[X],Q=M===Rl?-I[X]:-A[X],fe=e.elements.arrow,me=g&&fe?_w(fe):{width:0,height:0},ye=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:dM(),we=ye[U],Me=ye[B],Oe=wu(0,A[X],me[X]),Pe=$?A[X]/2-ne-Oe-we-O.mainAxis:L-Oe-we-O.mainAxis,ke=$?-A[X]/2+ne+Oe+Me+O.mainAxis:Q+Oe+Me+O.mainAxis,He=e.elements.arrow&&od(e.elements.arrow),Ae=He?E==="y"?He.clientTop||0:He.clientLeft||0:0,it=(q=F==null?void 0:F[E])!=null?q:0,Ie=re+Pe-it-Ae,$e=re+ke-it,ie=wu(g?$f(Z,Ie):Z,re,g?Ha(J,$e):J);T[E]=ie,H[E]=ie-re}if(l){var se,ze=E==="x"?gn:yn,qe=E==="x"?Kn:Zn,rt=T[k],st=k==="y"?"height":"width",xe=rt+x[ze],mt=rt-x[qe],ue=[gn,yn].indexOf(C)!==-1,Ee=(se=F==null?void 0:F[k])!=null?se:0,ht=ue?xe:rt-A[st]-I[st]-Ee+O.altAxis,Ve=ue?rt+A[st]+I[st]-Ee-O.altAxis:mt,Je=g&&ue?Rz(ht,rt,Ve):wu(g?ht:xe,rt,g?Ve:mt);T[k]=Je,H[k]=Je-rt}e.modifiersData[n]=H}}const f6={name:"preventOverflow",enabled:!0,phase:"main",fn:p6,requiresIfExists:["offset"]};function h6(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function m6(t){return t===Pn(t)||!Xn(t)?yw(t):h6(t)}function _6(t){var e=t.getBoundingClientRect(),r=jl(e.width)/t.offsetWidth||1,n=jl(e.height)/t.offsetHeight||1;return r!==1||n!==1}function g6(t,e,r){r===void 0&&(r=!1);var n=Xn(e),o=Xn(e)&&_6(e),s=fa(e),a=Fl(t,o,r),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(n||!n&&!r)&&((Uo(e)!=="body"||bw(s))&&(l=m6(e)),Xn(e)?(u=Fl(e,!0),u.x+=e.clientLeft,u.y+=e.clientTop):s&&(u.x=vw(s))),{x:a.left+l.scrollLeft-u.x,y:a.top+l.scrollTop-u.y,width:a.width,height:a.height}}function y6(t){var e=new Map,r=new Set,n=[];t.forEach(function(s){e.set(s.name,s)});function o(s){r.add(s.name);var a=[].concat(s.requires||[],s.requiresIfExists||[]);a.forEach(function(l){if(!r.has(l)){var u=e.get(l);u&&o(u)}}),n.push(s)}return t.forEach(function(s){r.has(s.name)||o(s)}),n}function v6(t){var e=y6(t);return Dz.reduce(function(r,n){return r.concat(e.filter(function(o){return o.phase===n}))},[])}function b6(t){var e;return function(){return e||(e=new Promise(function(r){Promise.resolve().then(function(){e=void 0,r(t())})})),e}}function w6(t){var e=t.reduce(function(r,n){var o=r[n.name];return r[n.name]=o?Object.assign({},o,n,{options:Object.assign({},o.options,n.options),data:Object.assign({},o.data,n.data)}):n,r},{});return Object.keys(e).map(function(r){return e[r]})}var NE={placement:"bottom",modifiers:[],strategy:"absolute"};function ME(){for(var t=arguments.length,e=new Array(t),r=0;r{s||l(E6(o)||document.body)},[o,s]),bn(()=>{if(a&&!s)return Ob(r,a),()=>{Ob(r,null)}},[r,a,s]),s){if(N.isValidElement(n)){const p={ref:u};return N.cloneElement(n,p)}return n}return a&&oM.createPortal(n,a)});function k6(t){return Ye("MuiPopper",t)}Xe("MuiPopper",["root"]);function $6(t,e){if(e==="ltr")return t;switch(t){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return t}}function Bb(t){return typeof t=="function"?t():t}function T6(t){return t.nodeType!==void 0}const O6=t=>{const{classes:e}=t;return Ke({root:["root"]},k6,e)},D6={},N6=N.forwardRef(function(e,r){const{anchorEl:n,children:o,direction:s,disablePortal:a,modifiers:l,open:u,placement:p,popperOptions:h,popperRef:d,slotProps:_={},slots:g={},TransitionProps:v,ownerState:w,...x}=e,C=N.useRef(null),M=sr(C,r),$=N.useRef(null),E=sr($,d),k=N.useRef(E);bn(()=>{k.current=E},[E]),N.useImperativeHandle(d,()=>$.current,[]);const T=$6(p,s),[A,I]=N.useState(T),[j,O]=N.useState(Bb(n));N.useEffect(()=>{$.current&&$.current.forceUpdate()}),N.useEffect(()=>{n&&O(Bb(n))},[n]),bn(()=>{if(!j||!u)return;const B=Z=>{I(Z.placement)};let X=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:Z})=>{B(Z)}}];l!=null&&(X=X.concat(l)),h&&h.modifiers!=null&&(X=X.concat(h.modifiers));const re=C6(j,C.current,{placement:T,...h,modifiers:X});return k.current(re),()=>{re.destroy(),k.current(null)}},[j,a,l,u,h,T]);const F={placement:A};v!==null&&(F.TransitionProps=v);const H=O6(e),q=g.root??"div",U=yo({elementType:q,externalSlotProps:_.root,externalForwardedProps:x,additionalProps:{role:"tooltip",ref:M},ownerState:e,className:H.root});return D.jsx(q,{...U,children:typeof o=="function"?o(F):o})}),M6=N.forwardRef(function(e,r){const{anchorEl:n,children:o,container:s,direction:a="ltr",disablePortal:l=!1,keepMounted:u=!1,modifiers:p,open:h,placement:d="bottom",popperOptions:_=D6,popperRef:g,style:v,transition:w=!1,slotProps:x={},slots:C={},...M}=e,[$,E]=N.useState(!0),k=()=>{E(!1)},T=()=>{E(!0)};if(!u&&!h&&(!w||$))return null;let A;if(s)A=s;else if(n){const O=Bb(n);A=O&&T6(O)?Pr(O).body:Pr(null).body}const I=!h&&u&&(!w||$)?"none":void 0,j=w?{in:h,onEnter:k,onExited:T}:void 0;return D.jsx(_M,{disablePortal:l,container:A,children:D.jsx(N6,{anchorEl:n,direction:a,disablePortal:l,modifiers:p,ref:r,open:w?!$:h,placement:d,popperOptions:_,popperRef:g,slotProps:x,slots:C,...M,style:{position:"fixed",top:0,left:0,display:I,...v},TransitionProps:j,children:o})})}),A6=le(M6,{name:"MuiPopper",slot:"Root",overridesResolver:(t,e)=>e.root})({}),gM=N.forwardRef(function(e,r){const n=Yl(),o=Ze({props:e,name:"MuiPopper"}),{anchorEl:s,component:a,components:l,componentsProps:u,container:p,disablePortal:h,keepMounted:d,modifiers:_,open:g,placement:v,popperOptions:w,popperRef:x,transition:C,slots:M,slotProps:$,...E}=o,k=(M==null?void 0:M.root)??(l==null?void 0:l.Root),T={anchorEl:s,container:p,disablePortal:h,keepMounted:d,modifiers:_,open:g,placement:v,popperOptions:w,popperRef:x,transition:C,...E};return D.jsx(A6,{as:a,direction:n?"rtl":"ltr",slots:{root:k},slotProps:$??u,...T,ref:r})});function Np(t){return parseInt(t,10)||0}const P6={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function I6(t){return t==null||Object.keys(t).length===0||t.outerHeightStyle===0&&!t.overflowing}const R6=N.forwardRef(function(e,r){const{onChange:n,maxRows:o,minRows:s=1,style:a,value:l,...u}=e,{current:p}=N.useRef(l!=null),h=N.useRef(null),d=sr(r,h),_=N.useRef(null),g=N.useRef(null),v=N.useCallback(()=>{const C=h.current,$=go(C).getComputedStyle(C);if($.width==="0px")return{outerHeightStyle:0,overflowing:!1};const E=g.current;E.style.width=$.width,E.value=C.value||e.placeholder||"x",E.value.slice(-1)===` +`&&(E.value+=" ");const k=$.boxSizing,T=Np($.paddingBottom)+Np($.paddingTop),A=Np($.borderBottomWidth)+Np($.borderTopWidth),I=E.scrollHeight;E.value="x";const j=E.scrollHeight;let O=I;s&&(O=Math.max(Number(s)*j,O)),o&&(O=Math.min(Number(o)*j,O)),O=Math.max(O,j);const F=O+(k==="border-box"?T+A:0),H=Math.abs(O-I)<=1;return{outerHeightStyle:F,overflowing:H}},[o,s,e.placeholder]),w=N.useCallback(()=>{const C=v();if(I6(C))return;const M=C.outerHeightStyle,$=h.current;_.current!==M&&(_.current=M,$.style.height=`${M}px`),$.style.overflow=C.overflowing?"hidden":""},[v]);bn(()=>{const C=()=>{w()};let M;const $=ih(C),E=h.current,k=go(E);k.addEventListener("resize",$);let T;return typeof ResizeObserver<"u"&&(T=new ResizeObserver(C),T.observe(E)),()=>{$.clear(),cancelAnimationFrame(M),k.removeEventListener("resize",$),T&&T.disconnect()}},[v,w]),bn(()=>{w()});const x=C=>{p||w(),n&&n(C)};return D.jsxs(N.Fragment,{children:[D.jsx("textarea",{value:l,onChange:x,ref:d,rows:s,style:a,...u}),D.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:g,tabIndex:-1,style:{...P6.shadow,...a,paddingTop:0,paddingBottom:0}})]})});function Fu(t){return typeof t=="string"}function ha({props:t,states:e,muiFormControl:r}){return e.reduce((n,o)=>(n[o]=t[o],r&&typeof t[o]>"u"&&(n[o]=r[o]),n),{})}const ww=N.createContext(void 0);function Vo(){return N.useContext(ww)}function AE(t){return t!=null&&!(Array.isArray(t)&&t.length===0)}function Tf(t,e=!1){return t&&(AE(t.value)&&t.value!==""||e&&AE(t.defaultValue)&&t.defaultValue!=="")}function j6(t){return t.startAdornment}function F6(t){return Ye("MuiInputBase",t)}const Ll=Xe("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var PE;const dh=(t,e)=>{const{ownerState:r}=t;return[e.root,r.formControl&&e.formControl,r.startAdornment&&e.adornedStart,r.endAdornment&&e.adornedEnd,r.error&&e.error,r.size==="small"&&e.sizeSmall,r.multiline&&e.multiline,r.color&&e[`color${pe(r.color)}`],r.fullWidth&&e.fullWidth,r.hiddenLabel&&e.hiddenLabel]},ph=(t,e)=>{const{ownerState:r}=t;return[e.input,r.size==="small"&&e.inputSizeSmall,r.multiline&&e.inputMultiline,r.type==="search"&&e.inputTypeSearch,r.startAdornment&&e.inputAdornedStart,r.endAdornment&&e.inputAdornedEnd,r.hiddenLabel&&e.inputHiddenLabel]},z6=t=>{const{classes:e,color:r,disabled:n,error:o,endAdornment:s,focused:a,formControl:l,fullWidth:u,hiddenLabel:p,multiline:h,readOnly:d,size:_,startAdornment:g,type:v}=t,w={root:["root",`color${pe(r)}`,n&&"disabled",o&&"error",u&&"fullWidth",a&&"focused",l&&"formControl",_&&_!=="medium"&&`size${pe(_)}`,h&&"multiline",g&&"adornedStart",s&&"adornedEnd",p&&"hiddenLabel",d&&"readOnly"],input:["input",n&&"disabled",v==="search"&&"inputTypeSearch",h&&"inputMultiline",_==="small"&&"inputSizeSmall",p&&"inputHiddenLabel",g&&"inputAdornedStart",s&&"inputAdornedEnd",d&&"readOnly"]};return Ke(w,F6,e)},fh=le("div",{name:"MuiInputBase",slot:"Root",overridesResolver:dh})(Ge(({theme:t})=>({...t.typography.body1,color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Ll.disabled}`]:{color:(t.vars||t).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:e})=>e.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:e,size:r})=>e.multiline&&r==="small",style:{paddingTop:1}},{props:({ownerState:e})=>e.fullWidth,style:{width:"100%"}}]}))),hh=le("input",{name:"MuiInputBase",slot:"Input",overridesResolver:ph})(Ge(({theme:t})=>{const e=t.palette.mode==="light",r={color:"currentColor",...t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:e?.42:.5},transition:t.transitions.create("opacity",{duration:t.transitions.duration.shorter})},n={opacity:"0 !important"},o=t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:e?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Ll.formControl} &`]:{"&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${Ll.disabled}`]:{opacity:1,WebkitTextFillColor:(t.vars||t).palette.text.disabled},variants:[{props:({ownerState:s})=>!s.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:s})=>s.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),IE=SF({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),xw=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:s,autoFocus:a,className:l,color:u,components:p={},componentsProps:h={},defaultValue:d,disabled:_,disableInjectingGlobalStyles:g,endAdornment:v,error:w,fullWidth:x=!1,id:C,inputComponent:M="input",inputProps:$={},inputRef:E,margin:k,maxRows:T,minRows:A,multiline:I=!1,name:j,onBlur:O,onChange:F,onClick:H,onFocus:q,onKeyDown:U,onKeyUp:B,placeholder:X,readOnly:re,renderSuffix:Z,rows:J,size:ne,slotProps:L={},slots:Q={},startAdornment:fe,type:me="text",value:ye,...we}=n,Me=$.value!=null?$.value:ye,{current:Oe}=N.useRef(Me!=null),Pe=N.useRef(),ke=N.useCallback(je=>{},[]),He=sr(Pe,E,$.ref,ke),[Ae,it]=N.useState(!1),Ie=Vo(),$e=ha({props:n,muiFormControl:Ie,states:["color","disabled","error","hiddenLabel","size","required","filled"]});$e.focused=Ie?Ie.focused:Ae,N.useEffect(()=>{!Ie&&_&&Ae&&(it(!1),O&&O())},[Ie,_,Ae,O]);const ie=Ie&&Ie.onFilled,se=Ie&&Ie.onEmpty,ze=N.useCallback(je=>{Tf(je)?ie&&ie():se&&se()},[ie,se]);bn(()=>{Oe&&ze({value:Me})},[Me,ze,Oe]);const qe=je=>{q&&q(je),$.onFocus&&$.onFocus(je),Ie&&Ie.onFocus?Ie.onFocus(je):it(!0)},rt=je=>{O&&O(je),$.onBlur&&$.onBlur(je),Ie&&Ie.onBlur?Ie.onBlur(je):it(!1)},st=(je,...St)=>{if(!Oe){const Tt=je.target||Pe.current;if(Tt==null)throw new Error(ms(1));ze({value:Tt.value})}$.onChange&&$.onChange(je,...St),F&&F(je,...St)};N.useEffect(()=>{ze(Pe.current)},[]);const xe=je=>{Pe.current&&je.currentTarget===je.target&&Pe.current.focus(),H&&H(je)};let mt=M,ue=$;I&&mt==="input"&&(J?ue={type:void 0,minRows:J,maxRows:J,...ue}:ue={type:void 0,maxRows:T,minRows:A,...ue},mt=R6);const Ee=je=>{ze(je.animationName==="mui-auto-fill-cancel"?Pe.current:{value:"x"})};N.useEffect(()=>{Ie&&Ie.setAdornedStart(!!fe)},[Ie,fe]);const ht={...n,color:$e.color||"primary",disabled:$e.disabled,endAdornment:v,error:$e.error,focused:$e.focused,formControl:Ie,fullWidth:x,hiddenLabel:$e.hiddenLabel,multiline:I,size:$e.size,startAdornment:fe,type:me},Ve=z6(ht),Je=Q.root||p.Root||fh,pt=L.root||h.root||{},yt=Q.input||p.Input||hh;return ue={...ue,...L.input??h.input},D.jsxs(N.Fragment,{children:[!g&&typeof IE=="function"&&(PE||(PE=D.jsx(IE,{}))),D.jsxs(Je,{...pt,ref:r,onClick:xe,...we,...!Fu(Je)&&{ownerState:{...ht,...pt.ownerState}},className:Ce(Ve.root,pt.className,l,re&&"MuiInputBase-readOnly"),children:[fe,D.jsx(ww.Provider,{value:null,children:D.jsx(yt,{"aria-invalid":$e.error,"aria-describedby":o,autoComplete:s,autoFocus:a,defaultValue:d,disabled:$e.disabled,id:C,onAnimationStart:Ee,name:j,placeholder:X,readOnly:re,required:$e.required,rows:J,value:Me,onKeyDown:U,onKeyUp:B,type:me,...ue,...!Fu(yt)&&{as:mt,ownerState:{...ht,...ue.ownerState}},ref:He,className:Ce(Ve.input,ue.className,re&&"MuiInputBase-readOnly"),onBlur:rt,onChange:st,onFocus:qe})}),v,Z?Z({...$e,startAdornment:fe}):null]})]})});function L6(t){return Ye("MuiInput",t)}const Uc={...Ll,...Xe("MuiInput",["root","underline","input"])};function B6(t){return Ye("MuiOutlinedInput",t)}const $o={...Ll,...Xe("MuiOutlinedInput",["root","notchedOutline","input"])};function W6(t){return Ye("MuiFilledInput",t)}const Da={...Ll,...Xe("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},U6=Ne(D.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),H6={entering:{opacity:1},entered:{opacity:1}},Wb=N.forwardRef(function(e,r){const n=ys(),o={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:s,appear:a=!0,children:l,easing:u,in:p,onEnter:h,onEntered:d,onEntering:_,onExit:g,onExited:v,onExiting:w,style:x,timeout:C=o,TransitionComponent:M=qo,...$}=e,E=N.useRef(null),k=sr(E,ni(l),r),T=U=>B=>{if(U){const X=E.current;B===void 0?U(X):U(X,B)}},A=T(_),I=T((U,B)=>{sM(U);const X=Ef({style:x,timeout:C,easing:u},{mode:"enter"});U.style.webkitTransition=n.transitions.create("opacity",X),U.style.transition=n.transitions.create("opacity",X),h&&h(U,B)}),j=T(d),O=T(w),F=T(U=>{const B=Ef({style:x,timeout:C,easing:u},{mode:"exit"});U.style.webkitTransition=n.transitions.create("opacity",B),U.style.transition=n.transitions.create("opacity",B),g&&g(U)}),H=T(v),q=U=>{s&&s(E.current,U)};return D.jsx(M,{appear:a,in:p,nodeRef:E,onEnter:I,onEntered:j,onEntering:A,onExit:F,onExited:H,onExiting:O,addEndListener:q,timeout:C,...$,children:(U,{ownerState:B,...X})=>N.cloneElement(l,{style:{opacity:0,visibility:U==="exited"&&!p?"hidden":void 0,...H6[U],...x,...l.props.style},ref:k,...X})})});function q6(t){return Ye("MuiBackdrop",t)}Xe("MuiBackdrop",["root","invisible"]);const V6=t=>{const{classes:e,invisible:r}=t;return Ke({root:["root",r&&"invisible"]},q6,e)},G6=le("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.invisible&&e.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),yM=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiBackdrop"}),{children:o,className:s,component:a="div",invisible:l=!1,open:u,components:p={},componentsProps:h={},slotProps:d={},slots:_={},TransitionComponent:g,transitionDuration:v,...w}=n,x={...n,component:a,invisible:l},C=V6(x),M={transition:g,root:p.Root,..._},$={...h,...d},E={slots:M,slotProps:$},[k,T]=or("root",{elementType:G6,externalForwardedProps:E,className:Ce(C.root,s),ownerState:x}),[A,I]=or("transition",{elementType:Wb,externalForwardedProps:E,ownerState:x});return D.jsx(A,{in:u,timeout:v,...w,...I,children:D.jsx(k,{"aria-hidden":!0,...T,classes:C,ref:r,children:o})})});function X6(t){const{badgeContent:e,invisible:r=!1,max:n=99,showZero:o=!1}=t,s=FN({badgeContent:e,max:n});let a=r;r===!1&&e===0&&!o&&(a=!0);const{badgeContent:l,max:u=n}=a?s:t,p=l&&Number(l)>u?`${u}+`:l;return{badgeContent:l,invisible:a,max:u,displayValue:p}}function J6(t){return Ye("MuiBadge",t)}const Hs=Xe("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]),F_=10,z_=4,Y6=t=>{const{color:e,anchorOrigin:r,invisible:n,overlap:o,variant:s,classes:a={}}=t,l={root:["root"],badge:["badge",s,n&&"invisible",`anchorOrigin${pe(r.vertical)}${pe(r.horizontal)}`,`anchorOrigin${pe(r.vertical)}${pe(r.horizontal)}${pe(o)}`,`overlap${pe(o)}`,e!=="default"&&`color${pe(e)}`]};return Ke(l,J6,a)},K6=le("span",{name:"MuiBadge",slot:"Root",overridesResolver:(t,e)=>e.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),Z6=le("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.badge,e[r.variant],e[`anchorOrigin${pe(r.anchorOrigin.vertical)}${pe(r.anchorOrigin.horizontal)}${pe(r.overlap)}`],r.color!=="default"&&e[`color${pe(r.color)}`],r.invisible&&e.invisible]}})(Ge(({theme:t})=>({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:t.typography.fontFamily,fontWeight:t.typography.fontWeightMedium,fontSize:t.typography.pxToRem(12),minWidth:F_*2,lineHeight:1,padding:"0 6px",height:F_*2,borderRadius:F_,zIndex:1,transition:t.transitions.create("transform",{easing:t.transitions.easing.easeInOut,duration:t.transitions.duration.enteringScreen}),variants:[...Object.entries(t.palette).filter(ur(["contrastText"])).map(([e])=>({props:{color:e},style:{backgroundColor:(t.vars||t).palette[e].main,color:(t.vars||t).palette[e].contrastText}})),{props:{variant:"dot"},style:{borderRadius:z_,height:z_*2,minWidth:z_*2,padding:0}},{props:({ownerState:e})=>e.anchorOrigin.vertical==="top"&&e.anchorOrigin.horizontal==="right"&&e.overlap==="rectangular",style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${Hs.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:e})=>e.anchorOrigin.vertical==="bottom"&&e.anchorOrigin.horizontal==="right"&&e.overlap==="rectangular",style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${Hs.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:e})=>e.anchorOrigin.vertical==="top"&&e.anchorOrigin.horizontal==="left"&&e.overlap==="rectangular",style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${Hs.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:e})=>e.anchorOrigin.vertical==="bottom"&&e.anchorOrigin.horizontal==="left"&&e.overlap==="rectangular",style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${Hs.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:e})=>e.anchorOrigin.vertical==="top"&&e.anchorOrigin.horizontal==="right"&&e.overlap==="circular",style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${Hs.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:e})=>e.anchorOrigin.vertical==="bottom"&&e.anchorOrigin.horizontal==="right"&&e.overlap==="circular",style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${Hs.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:e})=>e.anchorOrigin.vertical==="top"&&e.anchorOrigin.horizontal==="left"&&e.overlap==="circular",style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${Hs.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:e})=>e.anchorOrigin.vertical==="bottom"&&e.anchorOrigin.horizontal==="left"&&e.overlap==="circular",style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${Hs.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:{invisible:!0},style:{transition:t.transitions.create("transform",{easing:t.transitions.easing.easeInOut,duration:t.transitions.duration.leavingScreen})}}]})));function RE(t){return{vertical:(t==null?void 0:t.vertical)??"top",horizontal:(t==null?void 0:t.horizontal)??"right"}}const jE=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiBadge"}),{anchorOrigin:o,className:s,classes:a,component:l,components:u={},componentsProps:p={},children:h,overlap:d="rectangular",color:_="default",invisible:g=!1,max:v=99,badgeContent:w,slots:x,slotProps:C,showZero:M=!1,variant:$="standard",...E}=n,{badgeContent:k,invisible:T,max:A,displayValue:I}=X6({max:v,invisible:g,badgeContent:w,showZero:M}),j=FN({anchorOrigin:RE(o),color:_,overlap:d,variant:$,badgeContent:w}),O=T||k==null&&$!=="dot",{color:F=_,overlap:H=d,anchorOrigin:q,variant:U=$}=O?j:n,B=RE(q),X=U!=="dot"?I:void 0,re={...n,badgeContent:k,invisible:O,max:A,displayValue:X,showZero:M,anchorOrigin:B,color:F,overlap:H,variant:U},Z=Y6(re),J=(x==null?void 0:x.root)??u.Root??K6,ne=(x==null?void 0:x.badge)??u.Badge??Z6,L=(C==null?void 0:C.root)??p.root,Q=(C==null?void 0:C.badge)??p.badge,fe=yo({elementType:J,externalSlotProps:L,externalForwardedProps:E,additionalProps:{ref:r,as:l},ownerState:re,className:Ce(L==null?void 0:L.className,Z.root,s)}),me=yo({elementType:ne,externalSlotProps:Q,ownerState:re,className:Ce(Z.badge,Q==null?void 0:Q.className)});return D.jsxs(J,{...fe,children:[h,D.jsx(ne,{...me,children:X})]})}),Q6=Xe("MuiBox",["root"]),eL=Iu(),nt=L4({themeId:ho,defaultTheme:eL,defaultClassName:Q6.root,generateClassName:$N.generate}),tL=Ne(D.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz"),rL=le(vs)(Ge(({theme:t})=>({display:"flex",marginLeft:`calc(${t.spacing(1)} * 0.5)`,marginRight:`calc(${t.spacing(1)} * 0.5)`,...t.palette.mode==="light"?{backgroundColor:t.palette.grey[100],color:t.palette.grey[700]}:{backgroundColor:t.palette.grey[700],color:t.palette.grey[100]},borderRadius:2,"&:hover, &:focus":{...t.palette.mode==="light"?{backgroundColor:t.palette.grey[200]}:{backgroundColor:t.palette.grey[600]}},"&:active":{boxShadow:t.shadows[0],...t.palette.mode==="light"?{backgroundColor:vf(t.palette.grey[200],.12)}:{backgroundColor:vf(t.palette.grey[600],.12)}}}))),nL=le(tL)({width:24,height:16});function oL(t){const{slots:e={},slotProps:r={},...n}=t,o=t;return D.jsx("li",{children:D.jsx(rL,{focusRipple:!0,...n,ownerState:o,children:D.jsx(nL,{as:e.CollapsedIcon,ownerState:o,...r.collapsedIcon})})})}function sL(t){return Ye("MuiBreadcrumbs",t)}const aL=Xe("MuiBreadcrumbs",["root","ol","li","separator"]),iL=t=>{const{classes:e}=t;return Ke({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},sL,e)},lL=le(Fo,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(t,e)=>[{[`& .${aL.li}`]:e.li},e.root]})({}),cL=le("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(t,e)=>e.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),uL=le("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(t,e)=>e.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function dL(t,e,r,n){return t.reduce((o,s,a)=>(a{const I=()=>{x(!0);const j=E.current.querySelector("a[href],button,[tabindex]");j&&j.focus()};return d+h>=A.length?A:[...A.slice(0,d),D.jsx(oL,{"aria-label":p,slots:{CollapsedIcon:l.CollapsedIcon},slotProps:{collapsedIcon:$},onClick:I},"ellipsis"),...A.slice(A.length-h,A.length)]},T=N.Children.toArray(o).filter(A=>N.isValidElement(A)).map((A,I)=>D.jsx("li",{className:M.li,children:A},`child-${I}`));return D.jsx(lL,{ref:r,component:a,color:"textSecondary",className:Ce(M.root,s),ownerState:C,...v,children:D.jsx(cL,{className:M.ol,ref:E,ownerState:C,children:dL(w||_&&T.length<=_?T:k(T),M.separator,g,C)})})});function fL(t){return Ye("MuiButton",t)}const Na=Xe("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),hL=N.createContext({}),mL=N.createContext(void 0),_L=t=>{const{color:e,disableElevation:r,fullWidth:n,size:o,variant:s,loading:a,loadingPosition:l,classes:u}=t,p={root:["root",a&&"loading",s,`${s}${pe(e)}`,`size${pe(o)}`,`${s}Size${pe(o)}`,`color${pe(e)}`,r&&"disableElevation",n&&"fullWidth",a&&`loadingPosition${pe(l)}`],startIcon:["icon","startIcon",`iconSize${pe(o)}`],endIcon:["icon","endIcon",`iconSize${pe(o)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},h=Ke(p,fL,u);return{...u,...h}},vM=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],gL=le(vs,{shouldForwardProp:t=>xr(t)||t==="classes",name:"MuiButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[r.variant],e[`${r.variant}${pe(r.color)}`],e[`size${pe(r.size)}`],e[`${r.variant}Size${pe(r.size)}`],r.color==="inherit"&&e.colorInherit,r.disableElevation&&e.disableElevation,r.fullWidth&&e.fullWidth,r.loading&&e.loading]}})(Ge(({theme:t})=>{const e=t.palette.mode==="light"?t.palette.grey[300]:t.palette.grey[800],r=t.palette.mode==="light"?t.palette.grey.A100:t.palette.grey[700];return{...t.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create(["background-color","box-shadow","border-color","color"],{duration:t.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${Na.disabled}`]:{color:(t.vars||t).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(t.vars||t).shadows[2],"&:hover":{boxShadow:(t.vars||t).shadows[4],"@media (hover: none)":{boxShadow:(t.vars||t).shadows[2]}},"&:active":{boxShadow:(t.vars||t).shadows[8]},[`&.${Na.focusVisible}`]:{boxShadow:(t.vars||t).shadows[6]},[`&.${Na.disabled}`]:{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${Na.disabled}`]:{border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(t.palette).filter(ur()).map(([n])=>({props:{color:n},style:{"--variant-textColor":(t.vars||t).palette[n].main,"--variant-outlinedColor":(t.vars||t).palette[n].main,"--variant-outlinedBorder":t.vars?`rgba(${t.vars.palette[n].mainChannel} / 0.5)`:Ft(t.palette[n].main,.5),"--variant-containedColor":(t.vars||t).palette[n].contrastText,"--variant-containedBg":(t.vars||t).palette[n].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(t.vars||t).palette[n].dark,"--variant-textBg":t.vars?`rgba(${t.vars.palette[n].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Ft(t.palette[n].main,t.palette.action.hoverOpacity),"--variant-outlinedBorder":(t.vars||t).palette[n].main,"--variant-outlinedBg":t.vars?`rgba(${t.vars.palette[n].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Ft(t.palette[n].main,t.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":t.vars?t.vars.palette.Button.inheritContainedBg:e,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":t.vars?t.vars.palette.Button.inheritContainedHoverBg:r,"--variant-textBg":t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:Ft(t.palette.text.primary,t.palette.action.hoverOpacity),"--variant-outlinedBg":t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:Ft(t.palette.text.primary,t.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:t.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:t.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:t.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Na.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Na.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:t.transitions.create(["background-color","box-shadow","border-color"],{duration:t.transitions.duration.short}),[`&.${Na.loading}`]:{color:"transparent"}}}]}})),yL=le("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.startIcon,r.loading&&e.startIconLoadingStart,e[`iconSize${pe(r.size)}`]]}})(({theme:t})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...vM]})),vL=le("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.endIcon,r.loading&&e.endIconLoadingEnd,e[`iconSize${pe(r.size)}`]]}})(({theme:t})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...vM]})),bL=le("span",{name:"MuiButton",slot:"LoadingIndicator",overridesResolver:(t,e)=>e.loadingIndicator})(({theme:t})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(t.vars||t).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),FE=le("span",{name:"MuiButton",slot:"LoadingIconPlaceholder",overridesResolver:(t,e)=>e.loadingIconPlaceholder})({display:"inline-block",width:"1em",height:"1em"}),gt=N.forwardRef(function(e,r){const n=N.useContext(hL),o=N.useContext(mL),s=Au(n,e),a=Ze({props:s,name:"MuiButton"}),{children:l,color:u="primary",component:p="button",className:h,disabled:d=!1,disableElevation:_=!1,disableFocusRipple:g=!1,endIcon:v,focusVisibleClassName:w,fullWidth:x=!1,id:C,loading:M=null,loadingIndicator:$,loadingPosition:E="center",size:k="medium",startIcon:T,type:A,variant:I="text",...j}=a,O=Jl(C),F=$??D.jsx(rd,{"aria-labelledby":O,color:"inherit",size:16}),H={...a,color:u,component:p,disabled:d,disableElevation:_,disableFocusRipple:g,fullWidth:x,loading:M,loadingIndicator:F,loadingPosition:E,size:k,type:A,variant:I},q=_L(H),U=(T||M&&E==="start")&&D.jsx(yL,{className:q.startIcon,ownerState:H,children:T||D.jsx(FE,{className:q.loadingIconPlaceholder,ownerState:H})}),B=(v||M&&E==="end")&&D.jsx(vL,{className:q.endIcon,ownerState:H,children:v||D.jsx(FE,{className:q.loadingIconPlaceholder,ownerState:H})}),X=o||"",re=typeof M=="boolean"?D.jsx("span",{className:q.loadingWrapper,style:{display:"contents"},children:M&&D.jsx(bL,{className:q.loadingIndicator,ownerState:H,children:F})}):null;return D.jsxs(gL,{ownerState:H,className:Ce(n.className,q.root,h,X),component:p,disabled:d||M,focusRipple:!g,focusVisibleClassName:Ce(q.focusVisible,w),ref:r,type:A,id:O,...j,classes:q,children:[U,E!=="end"&&re,l,E==="end"&&re,B]})});function wL(t){return Ye("PrivateSwitchBase",t)}Xe("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const xL=t=>{const{classes:e,checked:r,disabled:n,edge:o}=t,s={root:["root",r&&"checked",n&&"disabled",o&&`edge${pe(o)}`],input:["input"]};return Ke(s,wL,e)},SL=le(vs)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:t,ownerState:e})=>t==="start"&&e.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:t,ownerState:e})=>t==="end"&&e.size!=="small",style:{marginRight:-12}}]}),CL=le("input",{shouldForwardProp:xr})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Sw=N.forwardRef(function(e,r){const{autoFocus:n,checked:o,checkedIcon:s,className:a,defaultChecked:l,disabled:u,disableFocusRipple:p=!1,edge:h=!1,icon:d,id:_,inputProps:g,inputRef:v,name:w,onBlur:x,onChange:C,onFocus:M,readOnly:$,required:E=!1,tabIndex:k,type:T,value:A,...I}=e,[j,O]=bf({controlled:o,default:!!l,name:"SwitchBase",state:"checked"}),F=Vo(),H=J=>{M&&M(J),F&&F.onFocus&&F.onFocus(J)},q=J=>{x&&x(J),F&&F.onBlur&&F.onBlur(J)},U=J=>{if(J.nativeEvent.defaultPrevented)return;const ne=J.target.checked;O(ne),C&&C(J,ne)};let B=u;F&&typeof B>"u"&&(B=F.disabled);const X=T==="checkbox"||T==="radio",re={...e,checked:j,disabled:B,disableFocusRipple:p,edge:h},Z=xL(re);return D.jsxs(SL,{component:"span",className:Ce(Z.root,a),centerRipple:!0,focusRipple:!p,disabled:B,tabIndex:null,role:void 0,onFocus:H,onBlur:q,ownerState:re,ref:r,...I,children:[D.jsx(CL,{autoFocus:n,checked:o,defaultChecked:l,className:Z.input,disabled:B,id:X?_:void 0,name:w,onChange:U,readOnly:$,ref:v,required:E,ownerState:re,tabIndex:k,type:T,...T==="checkbox"&&A===void 0?{}:{value:A},...g}),j?s:d]})}),EL=Ne(D.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),kL=Ne(D.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),$L=Ne(D.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function TL(t){return Ye("MuiCheckbox",t)}const L_=Xe("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),OL=t=>{const{classes:e,indeterminate:r,color:n,size:o}=t,s={root:["root",r&&"indeterminate",`color${pe(n)}`,`size${pe(o)}`]},a=Ke(s,TL,e);return{...e,...a}},DL=le(Sw,{shouldForwardProp:t=>xr(t)||t==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.indeterminate&&e.indeterminate,e[`size${pe(r.size)}`],r.color!=="default"&&e[`color${pe(r.color)}`]]}})(Ge(({theme:t})=>({color:(t.vars||t).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:Ft(t.palette.action.active,t.palette.action.hoverOpacity)}}},...Object.entries(t.palette).filter(ur()).map(([e])=>({props:{color:e,disableRipple:!1},style:{"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Ft(t.palette[e].main,t.palette.action.hoverOpacity)}}})),...Object.entries(t.palette).filter(ur()).map(([e])=>({props:{color:e},style:{[`&.${L_.checked}, &.${L_.indeterminate}`]:{color:(t.vars||t).palette[e].main},[`&.${L_.disabled}`]:{color:(t.vars||t).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),NL=D.jsx(kL,{}),ML=D.jsx(EL,{}),AL=D.jsx($L,{}),Ut=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiCheckbox"}),{checkedIcon:o=NL,color:s="primary",icon:a=ML,indeterminate:l=!1,indeterminateIcon:u=AL,inputProps:p,size:h="medium",disableRipple:d=!1,className:_,...g}=n,v=l?u:a,w=l?u:o,x={...n,disableRipple:d,color:s,indeterminate:l,size:h},C=OL(x);return D.jsx(DL,{type:"checkbox",inputProps:{"data-indeterminate":l,...p},icon:N.cloneElement(v,{fontSize:v.props.fontSize??h}),checkedIcon:N.cloneElement(w,{fontSize:w.props.fontSize??h}),ownerState:x,ref:r,className:Ce(C.root,_),disableRipple:d,...g,classes:C})});function zE(t){return t.substring(2).toLowerCase()}function PL(t,e){return e.documentElement.clientWidth(setTimeout(()=>{u.current=!0},0),()=>{u.current=!1}),[]);const h=sr(ni(e),l),d=_n(v=>{const w=p.current;p.current=!1;const x=Pr(l.current);if(!u.current||!l.current||"clientX"in v&&PL(v,x))return;if(a.current){a.current=!1;return}let C;v.composedPath?C=v.composedPath().includes(l.current):C=!x.documentElement.contains(v.target)||l.current.contains(v.target),!C&&(r||!w)&&o(v)}),_=v=>w=>{p.current=!0;const x=e.props[v];x&&x(w)},g={ref:h};return s!==!1&&(g[s]=_(s)),N.useEffect(()=>{if(s!==!1){const v=zE(s),w=Pr(l.current),x=()=>{a.current=!0};return w.addEventListener(v,d),w.addEventListener("touchmove",x),()=>{w.removeEventListener(v,d),w.removeEventListener("touchmove",x)}}},[d,s]),n!==!1&&(g[n]=_(n)),N.useEffect(()=>{if(n!==!1){const v=zE(n),w=Pr(l.current);return w.addEventListener(v,d),()=>{w.removeEventListener(v,d)}}},[d,n]),N.cloneElement(e,g)}function RL(t){const e=Pr(t);return e.body===t?go(t).innerWidth>e.documentElement.clientWidth:t.scrollHeight>t.clientHeight}function Su(t,e){e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}function LE(t){return parseInt(go(t).getComputedStyle(t).paddingRight,10)||0}function jL(t){const r=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(t.tagName),n=t.tagName==="INPUT"&&t.getAttribute("type")==="hidden";return r||n}function BE(t,e,r,n,o){const s=[e,r,...n];[].forEach.call(t.children,a=>{const l=!s.includes(a),u=!jL(a);l&&u&&Su(a,o)})}function B_(t,e){let r=-1;return t.some((n,o)=>e(n)?(r=o,!0):!1),r}function FL(t,e){const r=[],n=t.container;if(!e.disableScrollLock){if(RL(n)){const a=jN(go(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${LE(n)+a}px`;const l=Pr(n).querySelectorAll(".mui-fixed");[].forEach.call(l,u=>{r.push({value:u.style.paddingRight,property:"padding-right",el:u}),u.style.paddingRight=`${LE(u)+a}px`})}let s;if(n.parentNode instanceof DocumentFragment)s=Pr(n).body;else{const a=n.parentElement,l=go(n);s=(a==null?void 0:a.nodeName)==="HTML"&&l.getComputedStyle(a).overflowY==="scroll"?a:n}r.push({value:s.style.overflow,property:"overflow",el:s},{value:s.style.overflowX,property:"overflow-x",el:s},{value:s.style.overflowY,property:"overflow-y",el:s}),s.style.overflow="hidden"}return()=>{r.forEach(({value:s,el:a,property:l})=>{s?a.style.setProperty(l,s):a.style.removeProperty(l)})}}function zL(t){const e=[];return[].forEach.call(t.children,r=>{r.getAttribute("aria-hidden")==="true"&&e.push(r)}),e}class LL{constructor(){this.modals=[],this.containers=[]}add(e,r){let n=this.modals.indexOf(e);if(n!==-1)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&Su(e.modalRef,!1);const o=zL(r);BE(r,e.mount,e.modalRef,o,!0);const s=B_(this.containers,a=>a.container===r);return s!==-1?(this.containers[s].modals.push(e),n):(this.containers.push({modals:[e],container:r,restore:null,hiddenSiblings:o}),n)}mount(e,r){const n=B_(this.containers,s=>s.modals.includes(e)),o=this.containers[n];o.restore||(o.restore=FL(o,r))}remove(e,r=!0){const n=this.modals.indexOf(e);if(n===-1)return n;const o=B_(this.containers,a=>a.modals.includes(e)),s=this.containers[o];if(s.modals.splice(s.modals.indexOf(e),1),this.modals.splice(n,1),s.modals.length===0)s.restore&&s.restore(),e.modalRef&&Su(e.modalRef,r),BE(s.container,e.mount,e.modalRef,s.hiddenSiblings,!1),this.containers.splice(o,1);else{const a=s.modals[s.modals.length-1];a.modalRef&&Su(a.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}const BL=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function WL(t){const e=parseInt(t.getAttribute("tabindex")||"",10);return Number.isNaN(e)?t.contentEditable==="true"||(t.nodeName==="AUDIO"||t.nodeName==="VIDEO"||t.nodeName==="DETAILS")&&t.getAttribute("tabindex")===null?0:t.tabIndex:e}function UL(t){if(t.tagName!=="INPUT"||t.type!=="radio"||!t.name)return!1;const e=n=>t.ownerDocument.querySelector(`input[type="radio"]${n}`);let r=e(`[name="${t.name}"]:checked`);return r||(r=e(`[name="${t.name}"]`)),r!==t}function HL(t){return!(t.disabled||t.tagName==="INPUT"&&t.type==="hidden"||UL(t))}function qL(t){const e=[],r=[];return Array.from(t.querySelectorAll(BL)).forEach((n,o)=>{const s=WL(n);s===-1||!HL(n)||(s===0?e.push(n):r.push({documentOrder:o,tabIndex:s,node:n}))}),r.sort((n,o)=>n.tabIndex===o.tabIndex?n.documentOrder-o.documentOrder:n.tabIndex-o.tabIndex).map(n=>n.node).concat(e)}function VL(){return!0}function GL(t){const{children:e,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:o=!1,getTabbable:s=qL,isEnabled:a=VL,open:l}=t,u=N.useRef(!1),p=N.useRef(null),h=N.useRef(null),d=N.useRef(null),_=N.useRef(null),g=N.useRef(!1),v=N.useRef(null),w=sr(ni(e),v),x=N.useRef(null);N.useEffect(()=>{!l||!v.current||(g.current=!r)},[r,l]),N.useEffect(()=>{if(!l||!v.current)return;const $=Pr(v.current);return v.current.contains($.activeElement)||(v.current.hasAttribute("tabIndex")||v.current.setAttribute("tabIndex","-1"),g.current&&v.current.focus()),()=>{o||(d.current&&d.current.focus&&(u.current=!0,d.current.focus()),d.current=null)}},[l]),N.useEffect(()=>{if(!l||!v.current)return;const $=Pr(v.current),E=A=>{x.current=A,!(n||!a()||A.key!=="Tab")&&$.activeElement===v.current&&A.shiftKey&&(u.current=!0,h.current&&h.current.focus())},k=()=>{var j,O;const A=v.current;if(A===null)return;if(!$.hasFocus()||!a()||u.current){u.current=!1;return}if(A.contains($.activeElement)||n&&$.activeElement!==p.current&&$.activeElement!==h.current)return;if($.activeElement!==_.current)_.current=null;else if(_.current!==null)return;if(!g.current)return;let I=[];if(($.activeElement===p.current||$.activeElement===h.current)&&(I=s(v.current)),I.length>0){const F=!!((j=x.current)!=null&&j.shiftKey&&((O=x.current)==null?void 0:O.key)==="Tab"),H=I[0],q=I[I.length-1];typeof H!="string"&&typeof q!="string"&&(F?q.focus():H.focus())}else A.focus()};$.addEventListener("focusin",k),$.addEventListener("keydown",E,!0);const T=setInterval(()=>{$.activeElement&&$.activeElement.tagName==="BODY"&&k()},50);return()=>{clearInterval(T),$.removeEventListener("focusin",k),$.removeEventListener("keydown",E,!0)}},[r,n,o,a,l,s]);const C=$=>{d.current===null&&(d.current=$.relatedTarget),g.current=!0,_.current=$.target;const E=e.props.onFocus;E&&E($)},M=$=>{d.current===null&&(d.current=$.relatedTarget),g.current=!0};return D.jsxs(N.Fragment,{children:[D.jsx("div",{tabIndex:l?0:-1,onFocus:M,ref:p,"data-testid":"sentinelStart"}),N.cloneElement(e,{ref:w,onFocus:C}),D.jsx("div",{tabIndex:l?0:-1,onFocus:M,ref:h,"data-testid":"sentinelEnd"})]})}function XL(t){return typeof t=="function"?t():t}function JL(t){return t?t.props.hasOwnProperty("in"):!1}const WE=()=>{},Mp=new LL;function YL(t){const{container:e,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,closeAfterTransition:o=!1,onTransitionEnter:s,onTransitionExited:a,children:l,onClose:u,open:p,rootRef:h}=t,d=N.useRef({}),_=N.useRef(null),g=N.useRef(null),v=sr(g,h),[w,x]=N.useState(!p),C=JL(l);let M=!0;(t["aria-hidden"]==="false"||t["aria-hidden"]===!1)&&(M=!1);const $=()=>Pr(_.current),E=()=>(d.current.modalRef=g.current,d.current.mount=_.current,d.current),k=()=>{Mp.mount(E(),{disableScrollLock:n}),g.current&&(g.current.scrollTop=0)},T=_n(()=>{const B=XL(e)||$().body;Mp.add(E(),B),g.current&&k()}),A=()=>Mp.isTopModal(E()),I=_n(B=>{_.current=B,B&&(p&&A()?k():g.current&&Su(g.current,M))}),j=N.useCallback(()=>{Mp.remove(E(),M)},[M]);N.useEffect(()=>()=>{j()},[j]),N.useEffect(()=>{p?T():(!C||!o)&&j()},[p,j,C,o,T]);const O=B=>X=>{var re;(re=B.onKeyDown)==null||re.call(B,X),!(X.key!=="Escape"||X.which===229||!A())&&(r||(X.stopPropagation(),u&&u(X,"escapeKeyDown")))},F=B=>X=>{var re;(re=B.onClick)==null||re.call(B,X),X.target===X.currentTarget&&u&&u(X,"backdropClick")};return{getRootProps:(B={})=>{const X=xf(t);delete X.onTransitionEnter,delete X.onTransitionExited;const re={...X,...B};return{role:"presentation",...re,onKeyDown:O(re),ref:v}},getBackdropProps:(B={})=>{const X=B;return{"aria-hidden":!0,...X,onClick:F(X),open:p}},getTransitionProps:()=>{const B=()=>{x(!1),s&&s()},X=()=>{x(!0),a&&a(),o&&j()};return{onEnter:Tb(B,(l==null?void 0:l.props.onEnter)??WE),onExited:Tb(X,(l==null?void 0:l.props.onExited)??WE)}},rootRef:v,portalRef:I,isTopModal:A,exited:w,hasTransition:C}}function KL(t){return Ye("MuiModal",t)}Xe("MuiModal",["root","hidden","backdrop"]);const ZL=t=>{const{open:e,exited:r,classes:n}=t;return Ke({root:["root",!e&&r&&"hidden"],backdrop:["backdrop"]},KL,n)},QL=le("div",{name:"MuiModal",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,!r.open&&r.exited&&e.hidden]}})(Ge(({theme:t})=>({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:e})=>!e.open&&e.exited,style:{visibility:"hidden"}}]}))),e8=le(yM,{name:"MuiModal",slot:"Backdrop",overridesResolver:(t,e)=>e.backdrop})({zIndex:-1}),bM=N.forwardRef(function(e,r){const n=Ze({name:"MuiModal",props:e}),{BackdropComponent:o=e8,BackdropProps:s,classes:a,className:l,closeAfterTransition:u=!1,children:p,container:h,component:d,components:_={},componentsProps:g={},disableAutoFocus:v=!1,disableEnforceFocus:w=!1,disableEscapeKeyDown:x=!1,disablePortal:C=!1,disableRestoreFocus:M=!1,disableScrollLock:$=!1,hideBackdrop:E=!1,keepMounted:k=!1,onBackdropClick:T,onClose:A,onTransitionEnter:I,onTransitionExited:j,open:O,slotProps:F={},slots:H={},theme:q,...U}=n,B={...n,closeAfterTransition:u,disableAutoFocus:v,disableEnforceFocus:w,disableEscapeKeyDown:x,disablePortal:C,disableRestoreFocus:M,disableScrollLock:$,hideBackdrop:E,keepMounted:k},{getRootProps:X,getBackdropProps:re,getTransitionProps:Z,portalRef:J,isTopModal:ne,exited:L,hasTransition:Q}=YL({...B,rootRef:r}),fe={...B,exited:L},me=ZL(fe),ye={};if(p.props.tabIndex===void 0&&(ye.tabIndex="-1"),Q){const{onEnter:Ae,onExited:it}=Z();ye.onEnter=Ae,ye.onExited=it}const we={...U,slots:{root:_.Root,backdrop:_.Backdrop,...H},slotProps:{...g,...F}},[Me,Oe]=or("root",{elementType:QL,externalForwardedProps:we,getSlotProps:X,additionalProps:{ref:r,as:d},ownerState:fe,className:Ce(l,me==null?void 0:me.root,!fe.open&&fe.exited&&(me==null?void 0:me.hidden))}),[Pe,ke]=or("backdrop",{elementType:o,externalForwardedProps:we,additionalProps:s,getSlotProps:Ae=>re({...Ae,onClick:it=>{T&&T(it),Ae!=null&&Ae.onClick&&Ae.onClick(it)}}),className:Ce(s==null?void 0:s.className,me==null?void 0:me.backdrop),ownerState:fe}),He=sr(s==null?void 0:s.ref,ke.ref);return!k&&!O&&(!Q||L)?null:D.jsx(_M,{ref:J,container:h,disablePortal:C,children:D.jsxs(Me,{...Oe,children:[!E&&o?D.jsx(Pe,{...ke,ref:He}):null,D.jsx(GL,{disableEnforceFocus:w,disableAutoFocus:v,disableRestoreFocus:M,isEnabled:ne,open:O,children:N.cloneElement(p,ye)})]})})});function t8(t){return Ye("MuiDialog",t)}const W_=Xe("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),wM=N.createContext({}),r8=le(yM,{name:"MuiDialog",slot:"Backdrop",overrides:(t,e)=>e.backdrop})({zIndex:-1}),n8=t=>{const{classes:e,scroll:r,maxWidth:n,fullWidth:o,fullScreen:s}=t,a={root:["root"],container:["container",`scroll${pe(r)}`],paper:["paper",`paperScroll${pe(r)}`,`paperWidth${pe(String(n))}`,o&&"paperFullWidth",s&&"paperFullScreen"]};return Ke(a,t8,e)},o8=le(bM,{name:"MuiDialog",slot:"Root",overridesResolver:(t,e)=>e.root})({"@media print":{position:"absolute !important"}}),s8=le("div",{name:"MuiDialog",slot:"Container",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.container,e[`scroll${pe(r.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),a8=le(oi,{name:"MuiDialog",slot:"Paper",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.paper,e[`scrollPaper${pe(r.scroll)}`],e[`paperWidth${pe(String(r.maxWidth))}`],r.fullWidth&&e.paperFullWidth,r.fullScreen&&e.paperFullScreen]}})(Ge(({theme:t})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:e})=>!e.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:t.breakpoints.unit==="px"?Math.max(t.breakpoints.values.xs,444):`max(${t.breakpoints.values.xs}${t.breakpoints.unit}, 444px)`,[`&.${W_.paperScrollBody}`]:{[t.breakpoints.down(Math.max(t.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(t.breakpoints.values).filter(e=>e!=="xs").map(e=>({props:{maxWidth:e},style:{maxWidth:`${t.breakpoints.values[e]}${t.breakpoints.unit}`,[`&.${W_.paperScrollBody}`]:{[t.breakpoints.down(t.breakpoints.values[e]+32*2)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:e})=>e.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:e})=>e.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${W_.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),Mr=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiDialog"}),o=ys(),s={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{"aria-describedby":a,"aria-labelledby":l,"aria-modal":u=!0,BackdropComponent:p,BackdropProps:h,children:d,className:_,disableEscapeKeyDown:g=!1,fullScreen:v=!1,fullWidth:w=!1,maxWidth:x="sm",onBackdropClick:C,onClick:M,onClose:$,open:E,PaperComponent:k=oi,PaperProps:T={},scroll:A="paper",slots:I={},slotProps:j={},TransitionComponent:O=Wb,transitionDuration:F=s,TransitionProps:H,...q}=n,U={...n,disableEscapeKeyDown:g,fullScreen:v,fullWidth:w,maxWidth:x,scroll:A},B=n8(U),X=N.useRef(),re=Ie=>{X.current=Ie.target===Ie.currentTarget},Z=Ie=>{M&&M(Ie),X.current&&(X.current=null,C&&C(Ie),$&&$(Ie,"backdropClick"))},J=Jl(l),ne=N.useMemo(()=>({titleId:J}),[J]),L={transition:O,...I},Q={transition:H,paper:T,backdrop:h,...j},fe={slots:L,slotProps:Q},[me,ye]=or("root",{elementType:o8,shouldForwardComponentProp:!0,externalForwardedProps:fe,ownerState:U,className:Ce(B.root,_),ref:r}),[we,Me]=or("backdrop",{elementType:r8,shouldForwardComponentProp:!0,externalForwardedProps:fe,ownerState:U}),[Oe,Pe]=or("paper",{elementType:a8,shouldForwardComponentProp:!0,externalForwardedProps:fe,ownerState:U,className:Ce(B.paper,T.className)}),[ke,He]=or("container",{elementType:s8,externalForwardedProps:fe,ownerState:U,className:Ce(B.container)}),[Ae,it]=or("transition",{elementType:Wb,externalForwardedProps:fe,ownerState:U,additionalProps:{appear:!0,in:E,timeout:F,role:"presentation"}});return D.jsx(me,{closeAfterTransition:!0,slots:{backdrop:we},slotProps:{backdrop:{transitionDuration:F,as:p,...Me}},disableEscapeKeyDown:g,onClose:$,open:E,onClick:Z,...ye,...q,children:D.jsx(Ae,{...it,children:D.jsx(ke,{onMouseDown:re,...He,children:D.jsx(Oe,{as:k,elevation:24,role:"dialog","aria-describedby":a,"aria-labelledby":J,"aria-modal":u,...Pe,children:D.jsx(wM.Provider,{value:ne,children:d})})})})})});function i8(t){return Ye("MuiDialogActions",t)}Xe("MuiDialogActions",["root","spacing"]);const l8=t=>{const{classes:e,disableSpacing:r}=t;return Ke({root:["root",!r&&"spacing"]},i8,e)},c8=le("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,!r.disableSpacing&&e.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:t})=>!t.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),qr=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiDialogActions"}),{className:o,disableSpacing:s=!1,...a}=n,l={...n,disableSpacing:s},u=l8(l);return D.jsx(c8,{className:Ce(u.root,o),ownerState:l,ref:r,...a})});function u8(t){return Ye("MuiDialogContent",t)}Xe("MuiDialogContent",["root","dividers"]);function d8(t){return Ye("MuiDialogTitle",t)}const p8=Xe("MuiDialogTitle",["root"]),f8=t=>{const{classes:e,dividers:r}=t;return Ke({root:["root",r&&"dividers"]},u8,e)},h8=le("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.dividers&&e.dividers]}})(Ge(({theme:t})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:e})=>e.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(t.vars||t).palette.divider}`,borderBottom:`1px solid ${(t.vars||t).palette.divider}`}},{props:({ownerState:e})=>!e.dividers,style:{[`.${p8.root} + &`]:{paddingTop:0}}}]}))),Vr=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiDialogContent"}),{className:o,dividers:s=!1,...a}=n,l={...n,dividers:s},u=f8(l);return D.jsx(h8,{className:Ce(u.root,o),ownerState:l,ref:r,...a})});function m8(t){return Ye("MuiDialogContentText",t)}Xe("MuiDialogContentText",["root"]);const _8=t=>{const{classes:e}=t,n=Ke({root:["root"]},m8,e);return{...e,...n}},g8=le(Fo,{shouldForwardProp:t=>xr(t)||t==="classes",name:"MuiDialogContentText",slot:"Root",overridesResolver:(t,e)=>e.root})({}),oa=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiDialogContentText"}),{children:o,className:s,...a}=n,l=_8(a);return D.jsx(g8,{component:"p",variant:"body1",color:"textSecondary",ref:r,ownerState:a,className:Ce(l.root,s),...n,classes:l})}),y8=t=>{const{classes:e}=t;return Ke({root:["root"]},d8,e)},v8=le(Fo,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(t,e)=>e.root})({padding:"16px 24px",flex:"0 0 auto"}),Ar=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiDialogTitle"}),{className:o,id:s,...a}=n,l=n,u=y8(l),{titleId:p=s}=N.useContext(wM);return D.jsx(v8,{component:"h2",className:Ce(u.root,o),ownerState:l,ref:r,variant:"h6",id:s??p,...a})}),UE=Xe("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);function b8(t){return Ye("MuiFab",t)}const HE=Xe("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"]),w8=t=>{const{color:e,variant:r,classes:n,size:o}=t,s={root:["root",r,`size${pe(o)}`,e==="inherit"?"colorInherit":e]},a=Ke(s,b8,n);return{...n,...a}},x8=le(vs,{name:"MuiFab",slot:"Root",shouldForwardProp:t=>xr(t)||t==="classes",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[r.variant],e[`size${pe(r.size)}`],r.color==="inherit"&&e.colorInherit,e[pe(r.size)],e[r.color]]}})(Ge(({theme:t})=>{var e,r;return{...t.typography.button,minHeight:36,transition:t.transitions.create(["background-color","box-shadow","border-color"],{duration:t.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,zIndex:(t.vars||t).zIndex.fab,boxShadow:(t.vars||t).shadows[6],"&:active":{boxShadow:(t.vars||t).shadows[12]},color:t.vars?t.vars.palette.text.primary:(r=(e=t.palette).getContrastText)==null?void 0:r.call(e,t.palette.grey[300]),backgroundColor:(t.vars||t).palette.grey[300],"&:hover":{backgroundColor:(t.vars||t).palette.grey.A100,"@media (hover: none)":{backgroundColor:(t.vars||t).palette.grey[300]},textDecoration:"none"},[`&.${HE.focusVisible}`]:{boxShadow:(t.vars||t).shadows[6]},variants:[{props:{size:"small"},style:{width:40,height:40}},{props:{size:"medium"},style:{width:48,height:48}},{props:{variant:"extended"},style:{borderRadius:48/2,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48}},{props:{variant:"extended",size:"small"},style:{width:"auto",padding:"0 8px",borderRadius:34/2,minWidth:34,height:34}},{props:{variant:"extended",size:"medium"},style:{width:"auto",padding:"0 16px",borderRadius:40/2,minWidth:40,height:40}},{props:{color:"inherit"},style:{color:"inherit"}}]}}),Ge(({theme:t})=>({variants:[...Object.entries(t.palette).filter(ur(["dark","contrastText"])).map(([e])=>({props:{color:e},style:{color:(t.vars||t).palette[e].contrastText,backgroundColor:(t.vars||t).palette[e].main,"&:hover":{backgroundColor:(t.vars||t).palette[e].dark,"@media (hover: none)":{backgroundColor:(t.vars||t).palette[e].main}}}}))]})),Ge(({theme:t})=>({[`&.${HE.disabled}`]:{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).palette.action.disabledBackground}}))),ps=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiFab"}),{children:o,className:s,color:a="default",component:l="button",disabled:u=!1,disableFocusRipple:p=!1,focusVisibleClassName:h,size:d="large",variant:_="circular",...g}=n,v={...n,color:a,component:l,disabled:u,disableFocusRipple:p,size:d,variant:_},w=w8(v);return D.jsx(x8,{className:Ce(w.root,s),component:l,disabled:u,focusRipple:!p,focusVisibleClassName:Ce(w.focusVisible,h),ownerState:v,ref:r,...g,classes:w,children:o})}),S8=t=>{const{classes:e,disableUnderline:r,startAdornment:n,endAdornment:o,size:s,hiddenLabel:a,multiline:l}=t,u={root:["root",!r&&"underline",n&&"adornedStart",o&&"adornedEnd",s==="small"&&`size${pe(s)}`,a&&"hiddenLabel",l&&"multiline"],input:["input"]},p=Ke(u,W6,e);return{...e,...p}},C8=le(fh,{shouldForwardProp:t=>xr(t)||t==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[...dh(t,e),!r.disableUnderline&&e.underline]}})(Ge(({theme:t})=>{const e=t.palette.mode==="light",r=e?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",n=e?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",o=e?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",s=e?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:t.vars?t.vars.palette.FilledInput.bg:n,borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),"&:hover":{backgroundColor:t.vars?t.vars.palette.FilledInput.hoverBg:o,"@media (hover: none)":{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:n}},[`&.${Da.focused}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:n},[`&.${Da.disabled}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.disabledBg:s},variants:[{props:({ownerState:a})=>!a.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Da.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Da.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`:r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Da.disabled}, .${Da.error}):before`]:{borderBottom:`1px solid ${(t.vars||t).palette.text.primary}`},[`&.${Da.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(t.palette).filter(ur()).map(([a])=>{var l;return{props:{disableUnderline:!1,color:a},style:{"&::after":{borderBottom:`2px solid ${(l=(t.vars||t).palette[a])==null?void 0:l.main}`}}}}),{props:({ownerState:a})=>a.startAdornment,style:{paddingLeft:12}},{props:({ownerState:a})=>a.endAdornment,style:{paddingRight:12}},{props:({ownerState:a})=>a.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:a,size:l})=>a.multiline&&l==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:a})=>a.multiline&&a.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:a})=>a.multiline&&a.hiddenLabel&&a.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),E8=le(hh,{name:"MuiFilledInput",slot:"Input",overridesResolver:ph})(Ge(({theme:t})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:t.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:t.palette.mode==="light"?null:"#fff",caretColor:t.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...t.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}},{props:({ownerState:e})=>e.hiddenLabel&&e.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:e})=>e.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),Cw=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiFilledInput"}),{disableUnderline:o=!1,components:s={},componentsProps:a,fullWidth:l=!1,hiddenLabel:u,inputComponent:p="input",multiline:h=!1,slotProps:d,slots:_={},type:g="text",...v}=n,w={...n,disableUnderline:o,fullWidth:l,inputComponent:p,multiline:h,type:g},x=S8(n),C={root:{ownerState:w},input:{ownerState:w}},M=d??a?Xr(C,d??a):C,$=_.root??s.Root??C8,E=_.input??s.Input??E8;return D.jsx(xw,{slots:{root:$,input:E},slotProps:M,fullWidth:l,inputComponent:p,multiline:h,ref:r,type:g,...v,classes:x})});Cw.muiName="Input";function k8(t){return Ye("MuiFormControl",t)}Xe("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const $8=t=>{const{classes:e,margin:r,fullWidth:n}=t,o={root:["root",r!=="none"&&`margin${pe(r)}`,n&&"fullWidth"]};return Ke(o,k8,e)},T8=le("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[`margin${pe(r.margin)}`],r.fullWidth&&e.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),Ro=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiFormControl"}),{children:o,className:s,color:a="primary",component:l="div",disabled:u=!1,error:p=!1,focused:h,fullWidth:d=!1,hiddenLabel:_=!1,margin:g="none",required:v=!1,size:w="medium",variant:x="outlined",...C}=n,M={...n,color:a,component:l,disabled:u,error:p,fullWidth:d,hiddenLabel:_,margin:g,required:v,size:w,variant:x},$=$8(M),[E,k]=N.useState(()=>{let B=!1;return o&&N.Children.forEach(o,X=>{if(!bu(X,["Input","Select"]))return;const re=bu(X,["Select"])?X.props.input:X;re&&j6(re.props)&&(B=!0)}),B}),[T,A]=N.useState(()=>{let B=!1;return o&&N.Children.forEach(o,X=>{bu(X,["Input","Select"])&&(Tf(X.props,!0)||Tf(X.props.inputProps,!0))&&(B=!0)}),B}),[I,j]=N.useState(!1);u&&I&&j(!1);const O=h!==void 0&&!u?h:I;let F;N.useRef(!1);const H=N.useCallback(()=>{A(!0)},[]),q=N.useCallback(()=>{A(!1)},[]),U=N.useMemo(()=>({adornedStart:E,setAdornedStart:k,color:a,disabled:u,error:p,filled:T,focused:O,fullWidth:d,hiddenLabel:_,size:w,onBlur:()=>{j(!1)},onFocus:()=>{j(!0)},onEmpty:q,onFilled:H,registerEffect:F,required:v,variant:x}),[E,a,u,p,T,O,d,_,F,q,H,v,w,x]);return D.jsx(ww.Provider,{value:U,children:D.jsx(T8,{as:l,ownerState:M,className:Ce($.root,s),ref:r,...C,children:o})})});function O8(t){return Ye("MuiFormControlLabel",t)}const lu=Xe("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),D8=t=>{const{classes:e,disabled:r,labelPlacement:n,error:o,required:s}=t,a={root:["root",r&&"disabled",`labelPlacement${pe(n)}`,o&&"error",s&&"required"],label:["label",r&&"disabled"],asterisk:["asterisk",o&&"error"]};return Ke(a,O8,e)},N8=le("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[{[`& .${lu.label}`]:e.label},e.root,e[`labelPlacement${pe(r.labelPlacement)}`]]}})(Ge(({theme:t})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${lu.disabled}`]:{cursor:"default"},[`& .${lu.label}`]:{[`&.${lu.disabled}`]:{color:(t.vars||t).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:e})=>e==="start"||e==="top"||e==="bottom",style:{marginLeft:16}}]}))),M8=le("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(t,e)=>e.asterisk})(Ge(({theme:t})=>({[`&.${lu.error}`]:{color:(t.vars||t).palette.error.main}}))),at=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiFormControlLabel"}),{checked:o,className:s,componentsProps:a={},control:l,disabled:u,disableTypography:p,inputRef:h,label:d,labelPlacement:_="end",name:g,onChange:v,required:w,slots:x={},slotProps:C={},value:M,...$}=n,E=Vo(),k=u??l.props.disabled??(E==null?void 0:E.disabled),T=w??l.props.required,A={disabled:k,required:T};["checked","name","onChange","value","inputRef"].forEach(B=>{typeof l.props[B]>"u"&&typeof n[B]<"u"&&(A[B]=n[B])});const I=ha({props:n,muiFormControl:E,states:["error"]}),j={...n,disabled:k,labelPlacement:_,required:T,error:I.error},O=D8(j),F={slots:x,slotProps:{...a,...C}},[H,q]=or("typography",{elementType:Fo,externalForwardedProps:F,ownerState:j});let U=d;return U!=null&&U.type!==Fo&&!p&&(U=D.jsx(H,{component:"span",...q,className:Ce(O.label,q==null?void 0:q.className),children:U})),D.jsxs(N8,{className:Ce(O.root,s),ownerState:j,ref:r,...$,children:[N.cloneElement(l,A),T?D.jsxs("div",{children:[U,D.jsxs(M8,{ownerState:j,"aria-hidden":!0,className:O.asterisk,children:[" ","*"]})]}):U]})});function A8(t){return Ye("MuiFormGroup",t)}Xe("MuiFormGroup",["root","row","error"]);const P8=t=>{const{classes:e,row:r,error:n}=t;return Ke({root:["root",r&&"row",n&&"error"]},A8,e)},I8=le("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.row&&e.row]}})({display:"flex",flexDirection:"column",flexWrap:"wrap",variants:[{props:{row:!0},style:{flexDirection:"row"}}]}),U_=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiFormGroup"}),{className:o,row:s=!1,...a}=n,l=Vo(),u=ha({props:n,muiFormControl:l,states:["error"]}),p={...n,row:s,error:u.error},h=P8(p);return D.jsx(I8,{className:Ce(h.root,o),ownerState:p,ref:r,...a})});function R8(t){return Ye("MuiFormHelperText",t)}const qE=Xe("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var VE;const j8=t=>{const{classes:e,contained:r,size:n,disabled:o,error:s,filled:a,focused:l,required:u}=t,p={root:["root",o&&"disabled",s&&"error",n&&`size${pe(n)}`,r&&"contained",l&&"focused",a&&"filled",u&&"required"]};return Ke(p,R8,e)},F8=le("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.size&&e[`size${pe(r.size)}`],r.contained&&e.contained,r.filled&&e.filled]}})(Ge(({theme:t})=>({color:(t.vars||t).palette.text.secondary,...t.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${qE.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${qE.error}`]:{color:(t.vars||t).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:e})=>e.contained,style:{marginLeft:14,marginRight:14}}]}))),z8=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiFormHelperText"}),{children:o,className:s,component:a="p",disabled:l,error:u,filled:p,focused:h,margin:d,required:_,variant:g,...v}=n,w=Vo(),x=ha({props:n,muiFormControl:w,states:["variant","size","disabled","error","filled","focused","required"]}),C={...n,component:a,contained:x.variant==="filled"||x.variant==="outlined",variant:x.variant,size:x.size,disabled:x.disabled,error:x.error,filled:x.filled,focused:x.focused,required:x.required};delete C.ownerState;const M=j8(C);return D.jsx(F8,{as:a,className:Ce(M.root,s),ref:r,...v,ownerState:C,children:o===" "?VE||(VE=D.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):o})});function L8(t){return Ye("MuiFormLabel",t)}const Cu=Xe("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),B8=t=>{const{classes:e,color:r,focused:n,disabled:o,error:s,filled:a,required:l}=t,u={root:["root",`color${pe(r)}`,o&&"disabled",s&&"error",a&&"filled",n&&"focused",l&&"required"],asterisk:["asterisk",s&&"error"]};return Ke(u,L8,e)},W8=le("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.color==="secondary"&&e.colorSecondary,r.filled&&e.filled]}})(Ge(({theme:t})=>({color:(t.vars||t).palette.text.secondary,...t.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(t.palette).filter(ur()).map(([e])=>({props:{color:e},style:{[`&.${Cu.focused}`]:{color:(t.vars||t).palette[e].main}}})),{props:{},style:{[`&.${Cu.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${Cu.error}`]:{color:(t.vars||t).palette.error.main}}}]}))),U8=le("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(t,e)=>e.asterisk})(Ge(({theme:t})=>({[`&.${Cu.error}`]:{color:(t.vars||t).palette.error.main}}))),H8=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiFormLabel"}),{children:o,className:s,color:a,component:l="label",disabled:u,error:p,filled:h,focused:d,required:_,...g}=n,v=Vo(),w=ha({props:n,muiFormControl:v,states:["color","required","focused","disabled","error","filled"]}),x={...n,color:w.color||"primary",component:l,disabled:w.disabled,error:w.error,filled:w.filled,focused:w.focused,required:w.required},C=B8(x);return D.jsxs(W8,{as:l,ownerState:x,className:Ce(C.root,s),ref:r,...g,children:[o,w.required&&D.jsxs(U8,{ownerState:x,"aria-hidden":!0,className:C.asterisk,children:[" ","*"]})]})}),Qs=H3({createStyledComponent:le("div",{name:"MuiGrid2",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.container&&e.container]}}),componentName:"MuiGrid2",useThemeProps:t=>Ze({props:t,name:"MuiGrid2"}),useTheme:ys});function Ub(t){return`scale(${t}, ${t**2})`}const q8={entering:{opacity:1,transform:Ub(1)},entered:{opacity:1,transform:"none"}},H_=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),zu=N.forwardRef(function(e,r){const{addEndListener:n,appear:o=!0,children:s,easing:a,in:l,onEnter:u,onEntered:p,onEntering:h,onExit:d,onExited:_,onExiting:g,style:v,timeout:w="auto",TransitionComponent:x=qo,...C}=e,M=Ba(),$=N.useRef(),E=ys(),k=N.useRef(null),T=sr(k,ni(s),r),A=B=>X=>{if(B){const re=k.current;X===void 0?B(re):B(re,X)}},I=A(h),j=A((B,X)=>{sM(B);const{duration:re,delay:Z,easing:J}=Ef({style:v,timeout:w,easing:a},{mode:"enter"});let ne;w==="auto"?(ne=E.transitions.getAutoHeightDuration(B.clientHeight),$.current=ne):ne=re,B.style.transition=[E.transitions.create("opacity",{duration:ne,delay:Z}),E.transitions.create("transform",{duration:H_?ne:ne*.666,delay:Z,easing:J})].join(","),u&&u(B,X)}),O=A(p),F=A(g),H=A(B=>{const{duration:X,delay:re,easing:Z}=Ef({style:v,timeout:w,easing:a},{mode:"exit"});let J;w==="auto"?(J=E.transitions.getAutoHeightDuration(B.clientHeight),$.current=J):J=X,B.style.transition=[E.transitions.create("opacity",{duration:J,delay:re}),E.transitions.create("transform",{duration:H_?J:J*.666,delay:H_?re:re||J*.333,easing:Z})].join(","),B.style.opacity=0,B.style.transform=Ub(.75),d&&d(B)}),q=A(_),U=B=>{w==="auto"&&M.start($.current||0,B),n&&n(k.current,B)};return D.jsx(x,{appear:o,in:l,nodeRef:k,onEnter:j,onEntered:O,onEntering:I,onExit:H,onExited:q,onExiting:F,addEndListener:U,timeout:w==="auto"?null:w,...C,children:(B,{ownerState:X,...re})=>N.cloneElement(s,{style:{opacity:0,transform:Ub(.75),visibility:B==="exited"&&!l?"hidden":void 0,...q8[B],...v,...s.props.style},ref:T,...re})})});zu&&(zu.muiSupportAuto=!0);const V8=e3({themeId:ho}),G8=t=>{const{classes:e,disableUnderline:r}=t,o=Ke({root:["root",!r&&"underline"],input:["input"]},L6,e);return{...e,...o}},X8=le(fh,{shouldForwardProp:t=>xr(t)||t==="classes",name:"MuiInput",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[...dh(t,e),!r.disableUnderline&&e.underline]}})(Ge(({theme:t})=>{let r=t.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return t.vars&&(r=`rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:n})=>n.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:n})=>!n.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Uc.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Uc.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Uc.disabled}, .${Uc.error}):before`]:{borderBottom:`2px solid ${(t.vars||t).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${Uc.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(t.palette).filter(ur()).map(([n])=>({props:{color:n,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(t.vars||t).palette[n].main}`}}}))]}})),J8=le(hh,{name:"MuiInput",slot:"Input",overridesResolver:ph})({}),po=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiInput"}),{disableUnderline:o=!1,components:s={},componentsProps:a,fullWidth:l=!1,inputComponent:u="input",multiline:p=!1,slotProps:h,slots:d={},type:_="text",...g}=n,v=G8(n),x={root:{ownerState:{disableUnderline:o}}},C=h??a?Xr(h??a,x):x,M=d.root??s.Root??X8,$=d.input??s.Input??J8;return D.jsx(xw,{slots:{root:M,input:$},slotProps:C,fullWidth:l,inputComponent:u,multiline:p,ref:r,type:_,...g,classes:v})});po.muiName="Input";function Y8(t){return Ye("MuiInputLabel",t)}Xe("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const K8=t=>{const{classes:e,formControl:r,size:n,shrink:o,disableAnimation:s,variant:a,required:l}=t,u={root:["root",r&&"formControl",!s&&"animated",o&&"shrink",n&&n!=="normal"&&`size${pe(n)}`,a],asterisk:[l&&"asterisk"]},p=Ke(u,Y8,e);return{...e,...p}},Z8=le(H8,{shouldForwardProp:t=>xr(t)||t==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[{[`& .${Cu.asterisk}`]:e.asterisk},e.root,r.formControl&&e.formControl,r.size==="small"&&e.sizeSmall,r.shrink&&e.shrink,!r.disableAnimation&&e.animated,r.focused&&e.focused,e[r.variant]]}})(Ge(({theme:t})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:e})=>e.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:e})=>e.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:e})=>!e.disableAnimation,style:{transition:t.transitions.create(["color","transform","max-width"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:e,ownerState:r})=>e==="filled"&&r.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:e,ownerState:r,size:n})=>e==="filled"&&r.shrink&&n==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:e,ownerState:r})=>e==="outlined"&&r.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),qa=N.forwardRef(function(e,r){const n=Ze({name:"MuiInputLabel",props:e}),{disableAnimation:o=!1,margin:s,shrink:a,variant:l,className:u,...p}=n,h=Vo();let d=a;typeof d>"u"&&h&&(d=h.filled||h.focused||h.adornedStart);const _=ha({props:n,muiFormControl:h,states:["size","variant","required","focused"]}),g={...n,disableAnimation:o,formControl:h,shrink:d,size:_.size,variant:_.variant,required:_.required,focused:_.focused},v=K8(g);return D.jsx(Z8,{"data-shrink":d,ref:r,className:Ce(v.root,u),...p,ownerState:g,classes:v})});function Q8(t){return Ye("MuiLinearProgress",t)}Xe("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","bar1","bar2","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const Hb=4,qb=pa` + 0% { + left: -35%; + right: 100%; + } + + 60% { + left: 100%; + right: -90%; + } + + 100% { + left: 100%; + right: -90%; + } +`,e9=typeof qb!="string"?Xl` + animation: ${qb} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; + `:null,Vb=pa` + 0% { + left: -200%; + right: 100%; + } + + 60% { + left: 107%; + right: -8%; + } + + 100% { + left: 107%; + right: -8%; + } +`,t9=typeof Vb!="string"?Xl` + animation: ${Vb} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite; + `:null,Gb=pa` + 0% { + opacity: 1; + background-position: 0 -23px; + } + + 60% { + opacity: 0; + background-position: 0 -23px; + } + + 100% { + opacity: 1; + background-position: -200px -23px; + } +`,r9=typeof Gb!="string"?Xl` + animation: ${Gb} 3s infinite linear; + `:null,n9=t=>{const{classes:e,variant:r,color:n}=t,o={root:["root",`color${pe(n)}`,r],dashed:["dashed",`dashedColor${pe(n)}`],bar1:["bar","bar1",`barColor${pe(n)}`,(r==="indeterminate"||r==="query")&&"bar1Indeterminate",r==="determinate"&&"bar1Determinate",r==="buffer"&&"bar1Buffer"],bar2:["bar","bar2",r!=="buffer"&&`barColor${pe(n)}`,r==="buffer"&&`color${pe(n)}`,(r==="indeterminate"||r==="query")&&"bar2Indeterminate",r==="buffer"&&"bar2Buffer"]};return Ke(o,Q8,e)},Ew=(t,e)=>t.vars?t.vars.palette.LinearProgress[`${e}Bg`]:t.palette.mode==="light"?td(t.palette[e].main,.62):ed(t.palette[e].main,.5),o9=le("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[`color${pe(r.color)}`],e[r.variant]]}})(Ge(({theme:t})=>({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},variants:[...Object.entries(t.palette).filter(ur()).map(([e])=>({props:{color:e},style:{backgroundColor:Ew(t,e)}})),{props:({ownerState:e})=>e.color==="inherit"&&e.variant!=="buffer",style:{"&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}}},{props:{variant:"buffer"},style:{backgroundColor:"transparent"}},{props:{variant:"query"},style:{transform:"rotate(180deg)"}}]}))),s9=le("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.dashed,e[`dashedColor${pe(r.color)}`]]}})(Ge(({theme:t})=>({position:"absolute",marginTop:0,height:"100%",width:"100%",backgroundSize:"10px 10px",backgroundPosition:"0 -23px",variants:[{props:{color:"inherit"},style:{opacity:.3,backgroundImage:"radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)"}},...Object.entries(t.palette).filter(ur()).map(([e])=>{const r=Ew(t,e);return{props:{color:e},style:{backgroundImage:`radial-gradient(${r} 0%, ${r} 16%, transparent 42%)`}}})]})),r9||{animation:`${Gb} 3s infinite linear`}),a9=le("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.bar,e.bar1,e[`barColor${pe(r.color)}`],(r.variant==="indeterminate"||r.variant==="query")&&e.bar1Indeterminate,r.variant==="determinate"&&e.bar1Determinate,r.variant==="buffer"&&e.bar1Buffer]}})(Ge(({theme:t})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[{props:{color:"inherit"},style:{backgroundColor:"currentColor"}},...Object.entries(t.palette).filter(ur()).map(([e])=>({props:{color:e},style:{backgroundColor:(t.vars||t).palette[e].main}})),{props:{variant:"determinate"},style:{transition:`transform .${Hb}s linear`}},{props:{variant:"buffer"},style:{zIndex:1,transition:`transform .${Hb}s linear`}},{props:({ownerState:e})=>e.variant==="indeterminate"||e.variant==="query",style:{width:"auto"}},{props:({ownerState:e})=>e.variant==="indeterminate"||e.variant==="query",style:e9||{animation:`${qb} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`}}]}))),i9=le("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.bar,e.bar2,e[`barColor${pe(r.color)}`],(r.variant==="indeterminate"||r.variant==="query")&&e.bar2Indeterminate,r.variant==="buffer"&&e.bar2Buffer]}})(Ge(({theme:t})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[...Object.entries(t.palette).filter(ur()).map(([e])=>({props:{color:e},style:{"--LinearProgressBar2-barColor":(t.vars||t).palette[e].main}})),{props:({ownerState:e})=>e.variant!=="buffer"&&e.color!=="inherit",style:{backgroundColor:"var(--LinearProgressBar2-barColor, currentColor)"}},{props:({ownerState:e})=>e.variant!=="buffer"&&e.color==="inherit",style:{backgroundColor:"currentColor"}},{props:{color:"inherit"},style:{opacity:.3}},...Object.entries(t.palette).filter(ur()).map(([e])=>({props:{color:e,variant:"buffer"},style:{backgroundColor:Ew(t,e),transition:`transform .${Hb}s linear`}})),{props:({ownerState:e})=>e.variant==="indeterminate"||e.variant==="query",style:{width:"auto"}},{props:({ownerState:e})=>e.variant==="indeterminate"||e.variant==="query",style:t9||{animation:`${Vb} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`}}]}))),l9=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiLinearProgress"}),{className:o,color:s="primary",value:a,valueBuffer:l,variant:u="indeterminate",...p}=n,h={...n,color:s,variant:u},d=n9(h),_=Yl(),g={},v={bar1:{},bar2:{}};if((u==="determinate"||u==="buffer")&&a!==void 0){g["aria-valuenow"]=Math.round(a),g["aria-valuemin"]=0,g["aria-valuemax"]=100;let w=a-100;_&&(w=-w),v.bar1.transform=`translateX(${w}%)`}if(u==="buffer"&&l!==void 0){let w=(l||0)-100;_&&(w=-w),v.bar2.transform=`translateX(${w}%)`}return D.jsxs(o9,{className:Ce(d.root,o),ownerState:h,role:"progressbar",...g,ref:r,...p,children:[u==="buffer"?D.jsx(s9,{className:d.dashed,ownerState:h}):null,D.jsx(a9,{className:d.bar1,ownerState:h,style:v.bar1}),u==="determinate"?null:D.jsx(i9,{className:d.bar2,ownerState:h,style:v.bar2})]})}),mo=N.createContext({});function c9(t){return Ye("MuiList",t)}Xe("MuiList",["root","padding","dense","subheader"]);const u9=t=>{const{classes:e,disablePadding:r,dense:n,subheader:o}=t;return Ke({root:["root",!r&&"padding",n&&"dense",o&&"subheader"]},c9,e)},d9=le("ul",{name:"MuiList",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,!r.disablePadding&&e.padding,r.dense&&e.dense,r.subheader&&e.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:t})=>!t.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:t})=>t.subheader,style:{paddingTop:0}}]}),Xb=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiList"}),{children:o,className:s,component:a="ul",dense:l=!1,disablePadding:u=!1,subheader:p,...h}=n,d=N.useMemo(()=>({dense:l}),[l]),_={...n,component:a,dense:l,disablePadding:u},g=u9(_);return D.jsx(mo.Provider,{value:d,children:D.jsxs(d9,{as:a,className:Ce(g.root,s),ref:r,ownerState:_,...h,children:[p,o]})})});function p9(t){return Ye("MuiListItem",t)}Xe("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);function f9(t){return Ye("MuiListItemButton",t)}const ol=Xe("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),h9=(t,e)=>{const{ownerState:r}=t;return[e.root,r.dense&&e.dense,r.alignItems==="flex-start"&&e.alignItemsFlexStart,r.divider&&e.divider,!r.disableGutters&&e.gutters]},m9=t=>{const{alignItems:e,classes:r,dense:n,disabled:o,disableGutters:s,divider:a,selected:l}=t,p=Ke({root:["root",n&&"dense",!s&&"gutters",a&&"divider",o&&"disabled",e==="flex-start"&&"alignItemsFlexStart",l&&"selected"]},f9,r);return{...r,...p}},_9=le(vs,{shouldForwardProp:t=>xr(t)||t==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:h9})(Ge(({theme:t})=>({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ol.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:Ft(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${ol.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:Ft(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${ol.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:Ft(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:Ft(t.palette.primary.main,t.palette.action.selectedOpacity)}},[`&.${ol.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${ol.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},variants:[{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.dense,style:{paddingTop:4,paddingBottom:4}}]}))),GE=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiListItemButton"}),{alignItems:o="center",autoFocus:s=!1,component:a="div",children:l,dense:u=!1,disableGutters:p=!1,divider:h=!1,focusVisibleClassName:d,selected:_=!1,className:g,...v}=n,w=N.useContext(mo),x=N.useMemo(()=>({dense:u||w.dense||!1,alignItems:o,disableGutters:p}),[o,w.dense,u,p]),C=N.useRef(null);bn(()=>{s&&C.current&&C.current.focus()},[s]);const M={...n,alignItems:o,dense:x.dense,disableGutters:p,divider:h,selected:_},$=m9(M),E=sr(C,r);return D.jsx(mo.Provider,{value:x,children:D.jsx(_9,{ref:E,href:v.href||v.to,component:(v.href||v.to)&&a==="div"?"button":a,focusVisibleClassName:Ce($.focusVisible,d),ownerState:M,className:Ce($.root,g),...v,classes:$,children:l})})});function g9(t){return Ye("MuiListItemSecondaryAction",t)}Xe("MuiListItemSecondaryAction",["root","disableGutters"]);const y9=t=>{const{disableGutters:e,classes:r}=t;return Ke({root:["root",e&&"disableGutters"]},g9,r)},v9=le("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.disableGutters&&e.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:t})=>t.disableGutters,style:{right:0}}]}),xM=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiListItemSecondaryAction"}),{className:o,...s}=n,a=N.useContext(mo),l={...n,disableGutters:a.disableGutters},u=y9(l);return D.jsx(v9,{className:Ce(u.root,o),ownerState:l,ref:r,...s})});xM.muiName="ListItemSecondaryAction";const b9=(t,e)=>{const{ownerState:r}=t;return[e.root,r.dense&&e.dense,r.alignItems==="flex-start"&&e.alignItemsFlexStart,r.divider&&e.divider,!r.disableGutters&&e.gutters,!r.disablePadding&&e.padding,r.hasSecondaryAction&&e.secondaryAction]},w9=t=>{const{alignItems:e,classes:r,dense:n,disableGutters:o,disablePadding:s,divider:a,hasSecondaryAction:l}=t;return Ke({root:["root",n&&"dense",!o&&"gutters",!s&&"padding",a&&"divider",e==="flex-start"&&"alignItemsFlexStart",l&&"secondaryAction"],container:["container"]},p9,r)},x9=le("div",{name:"MuiListItem",slot:"Root",overridesResolver:b9})(Ge(({theme:t})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>!e.disablePadding&&e.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:e})=>!e.disablePadding&&!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>!e.disablePadding&&!!e.secondaryAction,style:{paddingRight:48}},{props:({ownerState:e})=>!!e.secondaryAction,style:{[`& > .${ol.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:e})=>e.button,style:{transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:({ownerState:e})=>e.hasSecondaryAction,style:{paddingRight:48}}]}))),S9=le("li",{name:"MuiListItem",slot:"Container",overridesResolver:(t,e)=>e.container})({position:"relative"}),C9=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiListItem"}),{alignItems:o="center",children:s,className:a,component:l,components:u={},componentsProps:p={},ContainerComponent:h="li",ContainerProps:{className:d,..._}={},dense:g=!1,disableGutters:v=!1,disablePadding:w=!1,divider:x=!1,secondaryAction:C,slotProps:M={},slots:$={},...E}=n,k=N.useContext(mo),T=N.useMemo(()=>({dense:g||k.dense||!1,alignItems:o,disableGutters:v}),[o,k.dense,g,v]),A=N.useRef(null),I=N.Children.toArray(s),j=I.length&&bu(I[I.length-1],["ListItemSecondaryAction"]),O={...n,alignItems:o,dense:T.dense,disableGutters:v,disablePadding:w,divider:x,hasSecondaryAction:j},F=w9(O),H=sr(A,r),q=$.root||u.Root||x9,U=M.root||p.root||{},B={className:Ce(F.root,U.className,a),...E};let X=l||"li";return j?(X=!B.component&&!l?"div":X,h==="li"&&(X==="li"?X="div":B.component==="li"&&(B.component="div")),D.jsx(mo.Provider,{value:T,children:D.jsxs(S9,{as:h,className:Ce(F.container,d),ref:H,ownerState:O,..._,children:[D.jsx(q,{...U,...!Fu(q)&&{as:X,ownerState:{...O,...U.ownerState}},...B,children:I}),I.pop()]})})):D.jsx(mo.Provider,{value:T,children:D.jsxs(q,{...U,as:X,ref:H,...!Fu(q)&&{ownerState:{...O,...U.ownerState}},...B,children:[I,C&&D.jsx(xM,{children:C})]})})});function E9(t){return Ye("MuiListItemIcon",t)}const XE=Xe("MuiListItemIcon",["root","alignItemsFlexStart"]),k9=t=>{const{alignItems:e,classes:r}=t;return Ke({root:["root",e==="flex-start"&&"alignItemsFlexStart"]},E9,r)},$9=le("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.alignItems==="flex-start"&&e.alignItemsFlexStart]}})(Ge(({theme:t})=>({minWidth:56,color:(t.vars||t).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),sl=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiListItemIcon"}),{className:o,...s}=n,a=N.useContext(mo),l={...n,alignItems:a.alignItems},u=k9(l);return D.jsx($9,{className:Ce(u.root,o),ownerState:l,ref:r,...s})});function T9(t){return Ye("MuiListItemText",t)}const Cl=Xe("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),O9=t=>{const{classes:e,inset:r,primary:n,secondary:o,dense:s}=t;return Ke({root:["root",r&&"inset",s&&"dense",n&&o&&"multiline"],primary:["primary"],secondary:["secondary"]},T9,e)},D9=le("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[{[`& .${Cl.primary}`]:e.primary},{[`& .${Cl.secondary}`]:e.secondary},e.root,r.inset&&e.inset,r.primary&&r.secondary&&e.multiline,r.dense&&e.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[`.${wE.root}:where(& .${Cl.primary})`]:{display:"block"},[`.${wE.root}:where(& .${Cl.secondary})`]:{display:"block"},variants:[{props:({ownerState:t})=>t.primary&&t.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:t})=>t.inset,style:{paddingLeft:56}}]}),Xs=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiListItemText"}),{children:o,className:s,disableTypography:a=!1,inset:l=!1,primary:u,primaryTypographyProps:p,secondary:h,secondaryTypographyProps:d,slots:_={},slotProps:g={},...v}=n,{dense:w}=N.useContext(mo);let x=u??o,C=h;const M={...n,disableTypography:a,inset:l,primary:!!x,secondary:!!C,dense:w},$=O9(M),E={slots:_,slotProps:{primary:p,secondary:d,...g}},[k,T]=or("primary",{className:$.primary,elementType:Fo,externalForwardedProps:E,ownerState:M}),[A,I]=or("secondary",{className:$.secondary,elementType:Fo,externalForwardedProps:E,ownerState:M});return x!=null&&x.type!==Fo&&!a&&(x=D.jsx(k,{variant:w?"body2":"body1",component:T!=null&&T.variant?void 0:"span",...T,children:x})),C!=null&&C.type!==Fo&&!a&&(C=D.jsx(A,{variant:"body2",color:"textSecondary",...I,children:C})),D.jsxs(D9,{className:Ce($.root,s),ownerState:M,ref:r,...v,children:[x,C]})});function q_(t,e,r){return t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:r?null:t.firstChild}function JE(t,e,r){return t===e?r?t.firstChild:t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:r?null:t.lastChild}function SM(t,e){if(e===void 0)return!0;let r=t.innerText;return r===void 0&&(r=t.textContent),r=r.trim().toLowerCase(),r.length===0?!1:e.repeating?r[0]===e.keys[0]:r.startsWith(e.keys.join(""))}function Hc(t,e,r,n,o,s){let a=!1,l=o(t,e,e?r:!1);for(;l;){if(l===t.firstChild){if(a)return!1;a=!0}const u=n?!1:l.disabled||l.getAttribute("aria-disabled")==="true";if(!l.hasAttribute("tabindex")||!SM(l,s)||u)l=o(t,l,r);else return l.focus(),!0}return!1}const N9=N.forwardRef(function(e,r){const{actions:n,autoFocus:o=!1,autoFocusItem:s=!1,children:a,className:l,disabledItemsFocusable:u=!1,disableListWrap:p=!1,onKeyDown:h,variant:d="selectedMenu",..._}=e,g=N.useRef(null),v=N.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});bn(()=>{o&&g.current.focus()},[o]),N.useImperativeHandle(n,()=>({adjustStyleForScrollbar:($,{direction:E})=>{const k=!g.current.style.width;if($.clientHeight{const E=g.current,k=$.key;if($.ctrlKey||$.metaKey||$.altKey){h&&h($);return}const A=Pr(E).activeElement;if(k==="ArrowDown")$.preventDefault(),Hc(E,A,p,u,q_);else if(k==="ArrowUp")$.preventDefault(),Hc(E,A,p,u,JE);else if(k==="Home")$.preventDefault(),Hc(E,null,p,u,q_);else if(k==="End")$.preventDefault(),Hc(E,null,p,u,JE);else if(k.length===1){const I=v.current,j=k.toLowerCase(),O=performance.now();I.keys.length>0&&(O-I.lastTime>500?(I.keys=[],I.repeating=!0,I.previousKeyMatched=!0):I.repeating&&j!==I.keys[0]&&(I.repeating=!1)),I.lastTime=O,I.keys.push(j);const F=A&&!I.repeating&&SM(A,I);I.previousKeyMatched&&(F||Hc(E,A,!1,u,q_,I))?$.preventDefault():I.previousKeyMatched=!1}h&&h($)},x=sr(g,r);let C=-1;N.Children.forEach(a,($,E)=>{if(!N.isValidElement($)){C===E&&(C+=1,C>=a.length&&(C=-1));return}$.props.disabled||(d==="selectedMenu"&&$.props.selected||C===-1)&&(C=E),C===E&&($.props.disabled||$.props.muiSkipListHighlight||$.type.muiSkipListHighlight)&&(C+=1,C>=a.length&&(C=-1))});const M=N.Children.map(a,($,E)=>{if(E===C){const k={};return s&&(k.autoFocus=!0),$.props.tabIndex===void 0&&d==="selectedMenu"&&(k.tabIndex=0),N.cloneElement($,k)}return $});return D.jsx(Xb,{role:"menu",ref:x,className:l,onKeyDown:w,tabIndex:o?0:-1,..._,children:M})});function M9(t){return Ye("MuiPopover",t)}Xe("MuiPopover",["root","paper"]);function YE(t,e){let r=0;return typeof e=="number"?r=e:e==="center"?r=t.height/2:e==="bottom"&&(r=t.height),r}function KE(t,e){let r=0;return typeof e=="number"?r=e:e==="center"?r=t.width/2:e==="right"&&(r=t.width),r}function ZE(t){return[t.horizontal,t.vertical].map(e=>typeof e=="number"?`${e}px`:e).join(" ")}function V_(t){return typeof t=="function"?t():t}const A9=t=>{const{classes:e}=t;return Ke({root:["root"],paper:["paper"]},M9,e)},P9=le(bM,{name:"MuiPopover",slot:"Root",overridesResolver:(t,e)=>e.root})({}),CM=le(oi,{name:"MuiPopover",slot:"Paper",overridesResolver:(t,e)=>e.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),I9=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiPopover"}),{action:o,anchorEl:s,anchorOrigin:a={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:u="anchorEl",children:p,className:h,container:d,elevation:_=8,marginThreshold:g=16,open:v,PaperProps:w={},slots:x={},slotProps:C={},transformOrigin:M={vertical:"top",horizontal:"left"},TransitionComponent:$=zu,transitionDuration:E="auto",TransitionProps:{onEntering:k,...T}={},disableScrollLock:A=!1,...I}=n,j=(C==null?void 0:C.paper)??w,O=N.useRef(),F={...n,anchorOrigin:a,anchorReference:u,elevation:_,marginThreshold:g,externalPaperSlotProps:j,transformOrigin:M,TransitionComponent:$,transitionDuration:E,TransitionProps:T},H=A9(F),q=N.useCallback(()=>{if(u==="anchorPosition")return l;const ke=V_(s),Ae=(ke&&ke.nodeType===1?ke:Pr(O.current).body).getBoundingClientRect();return{top:Ae.top+YE(Ae,a.vertical),left:Ae.left+KE(Ae,a.horizontal)}},[s,a.horizontal,a.vertical,l,u]),U=N.useCallback(ke=>({vertical:YE(ke,M.vertical),horizontal:KE(ke,M.horizontal)}),[M.horizontal,M.vertical]),B=N.useCallback(ke=>{const He={width:ke.offsetWidth,height:ke.offsetHeight},Ae=U(He);if(u==="none")return{top:null,left:null,transformOrigin:ZE(Ae)};const it=q();let Ie=it.top-Ae.vertical,$e=it.left-Ae.horizontal;const ie=Ie+He.height,se=$e+He.width,ze=go(V_(s)),qe=ze.innerHeight-g,rt=ze.innerWidth-g;if(g!==null&&Ieqe){const st=ie-qe;Ie-=st,Ae.vertical+=st}if(g!==null&&$ert){const st=se-rt;$e-=st,Ae.horizontal+=st}return{top:`${Math.round(Ie)}px`,left:`${Math.round($e)}px`,transformOrigin:ZE(Ae)}},[s,u,q,U,g]),[X,re]=N.useState(v),Z=N.useCallback(()=>{const ke=O.current;if(!ke)return;const He=B(ke);He.top!==null&&ke.style.setProperty("top",He.top),He.left!==null&&(ke.style.left=He.left),ke.style.transformOrigin=He.transformOrigin,re(!0)},[B]);N.useEffect(()=>(A&&window.addEventListener("scroll",Z),()=>window.removeEventListener("scroll",Z)),[s,A,Z]);const J=(ke,He)=>{k&&k(ke,He),Z()},ne=()=>{re(!1)};N.useEffect(()=>{v&&Z()}),N.useImperativeHandle(o,()=>v?{updatePosition:()=>{Z()}}:null,[v,Z]),N.useEffect(()=>{if(!v)return;const ke=ih(()=>{Z()}),He=go(s);return He.addEventListener("resize",ke),()=>{ke.clear(),He.removeEventListener("resize",ke)}},[s,v,Z]);let L=E;E==="auto"&&!$.muiSupportAuto&&(L=void 0);const Q=d||(s?Pr(V_(s)).body:void 0),fe={slots:x,slotProps:{...C,paper:j}},[me,ye]=or("paper",{elementType:CM,externalForwardedProps:fe,additionalProps:{elevation:_,className:Ce(H.paper,j==null?void 0:j.className),style:X?j.style:{...j.style,opacity:0}},ownerState:F}),[we,{slotProps:Me,...Oe}]=or("root",{elementType:P9,externalForwardedProps:fe,additionalProps:{slotProps:{backdrop:{invisible:!0}},container:Q,open:v},ownerState:F,className:Ce(H.root,h)}),Pe=sr(O,ye.ref);return D.jsx(we,{...Oe,...!Fu(we)&&{slotProps:Me,disableScrollLock:A},...I,ref:r,children:D.jsx($,{appear:!0,in:v,onEntering:J,onExited:ne,timeout:L,...T,children:D.jsx(me,{...ye,ref:Pe,children:p})})})});function R9(t){return Ye("MuiMenu",t)}Xe("MuiMenu",["root","paper","list"]);const j9={vertical:"top",horizontal:"right"},F9={vertical:"top",horizontal:"left"},z9=t=>{const{classes:e}=t;return Ke({root:["root"],paper:["paper"],list:["list"]},R9,e)},L9=le(I9,{shouldForwardProp:t=>xr(t)||t==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(t,e)=>e.root})({}),B9=le(CM,{name:"MuiMenu",slot:"Paper",overridesResolver:(t,e)=>e.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),W9=le(N9,{name:"MuiMenu",slot:"List",overridesResolver:(t,e)=>e.list})({outline:0}),Eu=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiMenu"}),{autoFocus:o=!0,children:s,className:a,disableAutoFocusItem:l=!1,MenuListProps:u={},onClose:p,open:h,PaperProps:d={},PopoverClasses:_,transitionDuration:g="auto",TransitionProps:{onEntering:v,...w}={},variant:x="selectedMenu",slots:C={},slotProps:M={},...$}=n,E=Yl(),k={...n,autoFocus:o,disableAutoFocusItem:l,MenuListProps:u,onEntering:v,PaperProps:d,transitionDuration:g,TransitionProps:w,variant:x},T=z9(k),A=o&&!l&&h,I=N.useRef(null),j=(X,re)=>{I.current&&I.current.adjustStyleForScrollbar(X,{direction:E?"rtl":"ltr"}),v&&v(X,re)},O=X=>{X.key==="Tab"&&(X.preventDefault(),p&&p(X,"tabKeyDown"))};let F=-1;N.Children.map(s,(X,re)=>{N.isValidElement(X)&&(X.props.disabled||(x==="selectedMenu"&&X.props.selected||F===-1)&&(F=re))});const H=C.paper??B9,q=M.paper??d,U=yo({elementType:C.root,externalSlotProps:M.root,ownerState:k,className:[T.root,a]}),B=yo({elementType:H,externalSlotProps:q,ownerState:k,className:T.paper});return D.jsx(L9,{onClose:p,anchorOrigin:{vertical:"bottom",horizontal:E?"right":"left"},transformOrigin:E?j9:F9,slots:{paper:H,root:C.root},slotProps:{root:U,paper:B},open:h,ref:r,transitionDuration:g,TransitionProps:{onEntering:j,...w},ownerState:k,...$,classes:_,children:D.jsx(W9,{onKeyDown:O,actions:I,autoFocus:o&&(F===-1||l),autoFocusItem:A,variant:x,...u,className:Ce(T.list,u.className),children:s})})});function U9(t){return Ye("MuiMenuItem",t)}const qc=Xe("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),H9=(t,e)=>{const{ownerState:r}=t;return[e.root,r.dense&&e.dense,r.divider&&e.divider,!r.disableGutters&&e.gutters]},q9=t=>{const{disabled:e,dense:r,divider:n,disableGutters:o,selected:s,classes:a}=t,u=Ke({root:["root",r&&"dense",e&&"disabled",!o&&"gutters",n&&"divider",s&&"selected"]},U9,a);return{...a,...u}},V9=le(vs,{shouldForwardProp:t=>xr(t)||t==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:H9})(Ge(({theme:t})=>({...t.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${qc.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:Ft(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${qc.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:Ft(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${qc.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:Ft(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:Ft(t.palette.primary.main,t.palette.action.selectedOpacity)}},[`&.${qc.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${qc.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},[`& + .${UE.root}`]:{marginTop:t.spacing(1),marginBottom:t.spacing(1)},[`& + .${UE.inset}`]:{marginLeft:52},[`& .${Cl.root}`]:{marginTop:0,marginBottom:0},[`& .${Cl.inset}`]:{paddingLeft:36},[`& .${XE.root}`]:{minWidth:36},variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:e})=>!e.dense,style:{[t.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:e})=>e.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...t.typography.body2,[`& .${XE.root} svg`]:{fontSize:"1.25rem"}}}]}))),xt=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiMenuItem"}),{autoFocus:o=!1,component:s="li",dense:a=!1,divider:l=!1,disableGutters:u=!1,focusVisibleClassName:p,role:h="menuitem",tabIndex:d,className:_,...g}=n,v=N.useContext(mo),w=N.useMemo(()=>({dense:a||v.dense||!1,disableGutters:u}),[v.dense,a,u]),x=N.useRef(null);bn(()=>{o&&x.current&&x.current.focus()},[o]);const C={...n,dense:w.dense,divider:l,disableGutters:u},M=q9(n),$=sr(x,r);let E;return n.disabled||(E=d!==void 0?d:-1),D.jsx(mo.Provider,{value:w,children:D.jsx(V9,{ref:$,role:h,tabIndex:E,component:s,focusVisibleClassName:Ce(M.focusVisible,p),className:Ce(M.root,_),...g,ownerState:C,classes:M})})});function G9(t){return Ye("MuiNativeSelect",t)}const kw=Xe("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),X9=t=>{const{classes:e,variant:r,disabled:n,multiple:o,open:s,error:a}=t,l={select:["select",r,n&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${pe(r)}`,s&&"iconOpen",n&&"disabled"]};return Ke(l,G9,e)},EM=le("select")(({theme:t})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${kw.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},variants:[{props:({ownerState:e})=>e.variant!=="filled"&&e.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}}]})),J9=le(EM,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:xr,overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.select,e[r.variant],r.error&&e.error,{[`&.${kw.multiple}`]:e.multiple}]}})({}),kM=le("svg")(({theme:t})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${kw.disabled}`]:{color:(t.vars||t).palette.action.disabled},variants:[{props:({ownerState:e})=>e.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),Y9=le(kM,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.icon,r.variant&&e[`icon${pe(r.variant)}`],r.open&&e.iconOpen]}})({}),K9=N.forwardRef(function(e,r){const{className:n,disabled:o,error:s,IconComponent:a,inputRef:l,variant:u="standard",...p}=e,h={...e,disabled:o,variant:u,error:s},d=X9(h);return D.jsxs(N.Fragment,{children:[D.jsx(J9,{ownerState:h,className:Ce(d.select,n),disabled:o,ref:l||r,...p}),e.multiple?null:D.jsx(Y9,{as:a,ownerState:h,className:d.icon})]})});var QE;const Z9=le("fieldset",{shouldForwardProp:xr})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),Q9=le("legend",{shouldForwardProp:xr})(Ge(({theme:t})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:e})=>!e.withLabel,style:{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})}},{props:({ownerState:e})=>e.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:e})=>e.withLabel&&e.notched,style:{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}}]})));function eB(t){const{children:e,classes:r,className:n,label:o,notched:s,...a}=t,l=o!=null&&o!=="",u={...t,notched:s,withLabel:l};return D.jsx(Z9,{"aria-hidden":!0,className:n,ownerState:u,...a,children:D.jsx(Q9,{ownerState:u,children:l?D.jsx("span",{children:o}):QE||(QE=D.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})}const tB=t=>{const{classes:e}=t,n=Ke({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},B6,e);return{...e,...n}},rB=le(fh,{shouldForwardProp:t=>xr(t)||t==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:dh})(Ge(({theme:t})=>{const e=t.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(t.vars||t).shape.borderRadius,[`&:hover .${$o.notchedOutline}`]:{borderColor:(t.vars||t).palette.text.primary},"@media (hover: none)":{[`&:hover .${$o.notchedOutline}`]:{borderColor:t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:e}},[`&.${$o.focused} .${$o.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(t.palette).filter(ur()).map(([r])=>({props:{color:r},style:{[`&.${$o.focused} .${$o.notchedOutline}`]:{borderColor:(t.vars||t).palette[r].main}}})),{props:{},style:{[`&.${$o.error} .${$o.notchedOutline}`]:{borderColor:(t.vars||t).palette.error.main},[`&.${$o.disabled} .${$o.notchedOutline}`]:{borderColor:(t.vars||t).palette.action.disabled}}},{props:({ownerState:r})=>r.startAdornment,style:{paddingLeft:14}},{props:({ownerState:r})=>r.endAdornment,style:{paddingRight:14}},{props:({ownerState:r})=>r.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:r,size:n})=>r.multiline&&n==="small",style:{padding:"8.5px 14px"}}]}})),nB=le(eB,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(t,e)=>e.notchedOutline})(Ge(({theme:t})=>{const e=t.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:e}})),oB=le(hh,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:ph})(Ge(({theme:t})=>({padding:"16.5px 14px",...!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:t.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:t.palette.mode==="light"?null:"#fff",caretColor:t.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...t.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:e})=>e.multiline,style:{padding:0}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}}]}))),$w=N.forwardRef(function(e,r){var n;const o=Ze({props:e,name:"MuiOutlinedInput"}),{components:s={},fullWidth:a=!1,inputComponent:l="input",label:u,multiline:p=!1,notched:h,slots:d={},type:_="text",...g}=o,v=tB(o),w=Vo(),x=ha({props:o,muiFormControl:w,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),C={...o,color:x.color||"primary",disabled:x.disabled,error:x.error,focused:x.focused,formControl:w,fullWidth:a,hiddenLabel:x.hiddenLabel,multiline:p,size:x.size,type:_},M=d.root??s.Root??rB,$=d.input??s.Input??oB;return D.jsx(xw,{slots:{root:M,input:$},renderSuffix:E=>D.jsx(nB,{ownerState:C,className:v.notchedOutline,label:u!=null&&u!==""&&x.required?n||(n=D.jsxs(N.Fragment,{children:[u," ","*"]})):u,notched:typeof h<"u"?h:!!(E.startAdornment||E.filled||E.focused)}),fullWidth:a,inputComponent:l,multiline:p,ref:r,type:_,...g,classes:{...v,notchedOutline:null}})});$w.muiName="Input";const sB=Ne(D.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),aB=Ne(D.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),iB=le("span",{shouldForwardProp:xr})({position:"relative",display:"flex"}),lB=le(sB)({transform:"scale(1)"}),cB=le(aB)(Ge(({theme:t})=>({left:0,position:"absolute",transform:"scale(0)",transition:t.transitions.create("transform",{easing:t.transitions.easing.easeIn,duration:t.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:"scale(1)",transition:t.transitions.create("transform",{easing:t.transitions.easing.easeOut,duration:t.transitions.duration.shortest})}}]})));function $M(t){const{checked:e=!1,classes:r={},fontSize:n}=t,o={...t,checked:e};return D.jsxs(iB,{className:r.root,ownerState:o,children:[D.jsx(lB,{fontSize:n,className:r.background,ownerState:o}),D.jsx(cB,{fontSize:n,className:r.dot,ownerState:o})]})}const uB=N.createContext(void 0);function dB(){return N.useContext(uB)}function pB(t){return Ye("MuiRadio",t)}const ek=Xe("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),fB=t=>{const{classes:e,color:r,size:n}=t,o={root:["root",`color${pe(r)}`,n!=="medium"&&`size${pe(n)}`]};return{...e,...Ke(o,pB,e)}},hB=le(Sw,{shouldForwardProp:t=>xr(t)||t==="classes",name:"MuiRadio",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.size!=="medium"&&e[`size${pe(r.size)}`],e[`color${pe(r.color)}`]]}})(Ge(({theme:t})=>({color:(t.vars||t).palette.text.secondary,[`&.${ek.disabled}`]:{color:(t.vars||t).palette.action.disabled},variants:[{props:{color:"default",disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:Ft(t.palette.action.active,t.palette.action.hoverOpacity)}}},...Object.entries(t.palette).filter(ur()).map(([e])=>({props:{color:e,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Ft(t.palette[e].main,t.palette.action.hoverOpacity)}}})),...Object.entries(t.palette).filter(ur()).map(([e])=>({props:{color:e,disabled:!1},style:{[`&.${ek.checked}`]:{color:(t.vars||t).palette[e].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})));function mB(t,e){return typeof e=="object"&&e!==null?t===e:String(t)===String(e)}const tk=D.jsx($M,{checked:!0}),rk=D.jsx($M,{}),Vt=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiRadio"}),{checked:o,checkedIcon:s=tk,color:a="primary",icon:l=rk,name:u,onChange:p,size:h="medium",className:d,disabled:_,disableRipple:g=!1,...v}=n,w=Vo();let x=_;w&&typeof x>"u"&&(x=w.disabled),x??(x=!1);const C={...n,disabled:x,disableRipple:g,color:a,size:h},M=fB(C),$=dB();let E=o;const k=Tb(p,$&&$.onChange);let T=u;return $&&(typeof E>"u"&&(E=mB($.value,n.value)),typeof T>"u"&&(T=$.name)),D.jsx(hB,{type:"radio",icon:N.cloneElement(l,{fontSize:rk.props.fontSize??h}),checkedIcon:N.cloneElement(s,{fontSize:tk.props.fontSize??h}),disabled:x,ownerState:C,classes:M,name:T,checked:E,onChange:k,ref:r,className:Ce(M.root,d),...v})});function TM(t){return Ye("MuiSelect",t)}const Vc=Xe("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var nk;const _B=le(EM,{name:"MuiSelect",slot:"Select",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[{[`&.${Vc.select}`]:e.select},{[`&.${Vc.select}`]:e[r.variant]},{[`&.${Vc.error}`]:e.error},{[`&.${Vc.multiple}`]:e.multiple}]}})({[`&.${Vc.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),gB=le(kM,{name:"MuiSelect",slot:"Icon",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.icon,r.variant&&e[`icon${pe(r.variant)}`],r.open&&e.iconOpen]}})({}),yB=le("input",{shouldForwardProp:t=>eM(t)&&t!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(t,e)=>e.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function ok(t,e){return typeof e=="object"&&e!==null?t===e:String(t)===String(e)}function vB(t){return t==null||typeof t=="string"&&!t.trim()}const bB=t=>{const{classes:e,variant:r,disabled:n,multiple:o,open:s,error:a}=t,l={select:["select",r,n&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${pe(r)}`,s&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]};return Ke(l,TM,e)},wB=N.forwardRef(function(e,r){var wt;const{"aria-describedby":n,"aria-label":o,autoFocus:s,autoWidth:a,children:l,className:u,defaultOpen:p,defaultValue:h,disabled:d,displayEmpty:_,error:g=!1,IconComponent:v,inputRef:w,labelId:x,MenuProps:C={},multiple:M,name:$,onBlur:E,onChange:k,onClose:T,onFocus:A,onOpen:I,open:j,readOnly:O,renderValue:F,required:H,SelectDisplayProps:q={},tabIndex:U,type:B,value:X,variant:re="standard",...Z}=e,[J,ne]=bf({controlled:X,default:h,name:"Select"}),[L,Q]=bf({controlled:j,default:p,name:"Select"}),fe=N.useRef(null),me=N.useRef(null),[ye,we]=N.useState(null),{current:Me}=N.useRef(j!=null),[Oe,Pe]=N.useState(),ke=sr(r,w),He=N.useCallback(ae=>{me.current=ae,ae&&we(ae)},[]),Ae=ye==null?void 0:ye.parentNode;N.useImperativeHandle(ke,()=>({focus:()=>{me.current.focus()},node:fe.current,value:J}),[J]),N.useEffect(()=>{p&&L&&ye&&!Me&&(Pe(a?null:Ae.clientWidth),me.current.focus())},[ye,a]),N.useEffect(()=>{s&&me.current.focus()},[s]),N.useEffect(()=>{if(!x)return;const ae=Pr(me.current).getElementById(x);if(ae){const ve=()=>{getSelection().isCollapsed&&me.current.focus()};return ae.addEventListener("click",ve),()=>{ae.removeEventListener("click",ve)}}},[x]);const it=(ae,ve)=>{ae?I&&I(ve):T&&T(ve),Me||(Pe(a?null:Ae.clientWidth),Q(ae))},Ie=ae=>{ae.button===0&&(ae.preventDefault(),me.current.focus(),it(!0,ae))},$e=ae=>{it(!1,ae)},ie=N.Children.toArray(l),se=ae=>{const ve=ie.find(Ue=>Ue.props.value===ae.target.value);ve!==void 0&&(ne(ve.props.value),k&&k(ae,ve))},ze=ae=>ve=>{let Ue;if(ve.currentTarget.hasAttribute("tabindex")){if(M){Ue=Array.isArray(J)?J.slice():[];const tt=J.indexOf(ae.props.value);tt===-1?Ue.push(ae.props.value):Ue.splice(tt,1)}else Ue=ae.props.value;if(ae.props.onClick&&ae.props.onClick(ve),J!==Ue&&(ne(Ue),k)){const tt=ve.nativeEvent||ve,Ct=new tt.constructor(tt.type,tt);Object.defineProperty(Ct,"target",{writable:!0,value:{value:Ue,name:$}}),k(Ct,ae)}M||it(!1,ve)}},qe=ae=>{O||[" ","ArrowUp","ArrowDown","Enter"].includes(ae.key)&&(ae.preventDefault(),it(!0,ae))},rt=ye!==null&&L,st=ae=>{!rt&&E&&(Object.defineProperty(ae,"target",{writable:!0,value:{value:J,name:$}}),E(ae))};delete Z["aria-invalid"];let xe,mt;const ue=[];let Ee=!1;(Tf({value:J})||_)&&(F?xe=F(J):Ee=!0);const ht=ie.map(ae=>{if(!N.isValidElement(ae))return null;let ve;if(M){if(!Array.isArray(J))throw new Error(ms(2));ve=J.some(Ue=>ok(Ue,ae.props.value)),ve&&Ee&&ue.push(ae.props.children)}else ve=ok(J,ae.props.value),ve&&Ee&&(mt=ae.props.children);return N.cloneElement(ae,{"aria-selected":ve?"true":"false",onClick:ze(ae),onKeyUp:Ue=>{Ue.key===" "&&Ue.preventDefault(),ae.props.onKeyUp&&ae.props.onKeyUp(Ue)},role:"option",selected:ve,value:void 0,"data-value":ae.props.value})});Ee&&(M?ue.length===0?xe=null:xe=ue.reduce((ae,ve,Ue)=>(ae.push(ve),Ue{const{classes:e}=t,n=Ke({root:["root"]},TM,e);return{...e,...n}},Tw={name:"MuiSelect",overridesResolver:(t,e)=>e.root,shouldForwardProp:t=>xr(t)&&t!=="variant",slot:"Root"},SB=le(po,Tw)(""),CB=le($w,Tw)(""),EB=le(Cw,Tw)(""),Gr=N.forwardRef(function(e,r){const n=Ze({name:"MuiSelect",props:e}),{autoWidth:o=!1,children:s,classes:a={},className:l,defaultOpen:u=!1,displayEmpty:p=!1,IconComponent:h=U6,id:d,input:_,inputProps:g,label:v,labelId:w,MenuProps:x,multiple:C=!1,native:M=!1,onClose:$,onOpen:E,open:k,renderValue:T,SelectDisplayProps:A,variant:I="outlined",...j}=n,O=M?K9:wB,F=Vo(),H=ha({props:n,muiFormControl:F,states:["variant","error"]}),q=H.variant||I,U={...n,variant:q,classes:a},B=xB(U),{root:X,...re}=B,Z=_||{standard:D.jsx(SB,{ownerState:U}),outlined:D.jsx(CB,{label:v,ownerState:U}),filled:D.jsx(EB,{ownerState:U})}[q],J=sr(r,ni(Z));return D.jsx(N.Fragment,{children:N.cloneElement(Z,{inputComponent:O,inputProps:{children:s,error:H.error,IconComponent:h,variant:q,type:void 0,multiple:C,...M?{id:d}:{autoWidth:o,defaultOpen:u,displayEmpty:p,labelId:w,MenuProps:x,onClose:$,onOpen:E,open:k,renderValue:T,SelectDisplayProps:{id:d,...A}},...g,classes:g?Xr(re,g.classes):re,..._?_.props.inputProps:{}},...(C&&M||p)&&q==="outlined"?{notched:!0}:{},ref:J,className:Ce(Z.props.className,l,B.root),...!_&&{variant:q},...j})})});Gr.muiName="Select";function kB(t={}){const{autoHideDuration:e=null,disableWindowBlurListener:r=!1,onClose:n,open:o,resumeHideDuration:s}=t,a=Ba();N.useEffect(()=>{if(!o)return;function C(M){M.defaultPrevented||M.key==="Escape"&&(n==null||n(M,"escapeKeyDown"))}return document.addEventListener("keydown",C),()=>{document.removeEventListener("keydown",C)}},[o,n]);const l=_n((C,M)=>{n==null||n(C,M)}),u=_n(C=>{!n||C==null||a.start(C,()=>{l(null,"timeout")})});N.useEffect(()=>(o&&u(e),a.clear),[o,e,u,a]);const p=C=>{n==null||n(C,"clickaway")},h=a.clear,d=N.useCallback(()=>{e!=null&&u(s??e*.5)},[e,s,u]),_=C=>M=>{const $=C.onBlur;$==null||$(M),d()},g=C=>M=>{const $=C.onFocus;$==null||$(M),h()},v=C=>M=>{const $=C.onMouseEnter;$==null||$(M),h()},w=C=>M=>{const $=C.onMouseLeave;$==null||$(M),d()};return N.useEffect(()=>{if(!r&&o)return window.addEventListener("focus",d),window.addEventListener("blur",h),()=>{window.removeEventListener("focus",d),window.removeEventListener("blur",h)}},[r,o,d,h]),{getRootProps:(C={})=>{const M={...xf(t),...xf(C)};return{role:"presentation",...C,...M,onBlur:_(M),onFocus:g(M),onMouseEnter:v(M),onMouseLeave:w(M)}},onClickAway:p}}function $B(t){return Ye("MuiSnackbarContent",t)}Xe("MuiSnackbarContent",["root","message","action"]);const TB=t=>{const{classes:e}=t;return Ke({root:["root"],action:["action"],message:["message"]},$B,e)},OB=le(oi,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(t,e)=>e.root})(Ge(({theme:t})=>{const e=t.palette.mode==="light"?.8:.98,r=vf(t.palette.background.default,e);return{...t.typography.body2,color:t.vars?t.vars.palette.SnackbarContent.color:t.palette.getContrastText(r),backgroundColor:t.vars?t.vars.palette.SnackbarContent.bg:r,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,flexGrow:1,[t.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}}})),DB=le("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(t,e)=>e.message})({padding:"8px 0"}),NB=le("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(t,e)=>e.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),MB=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiSnackbarContent"}),{action:o,className:s,message:a,role:l="alert",...u}=n,p=n,h=TB(p);return D.jsxs(OB,{role:l,square:!0,elevation:6,className:Ce(h.root,s),ownerState:p,ref:r,...u,children:[D.jsx(DB,{className:h.message,ownerState:p,children:a}),o?D.jsx(NB,{className:h.action,ownerState:p,children:o}):null]})});function AB(t){return Ye("MuiSnackbar",t)}Xe("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const PB=t=>{const{classes:e,anchorOrigin:r}=t,n={root:["root",`anchorOrigin${pe(r.vertical)}${pe(r.horizontal)}`]};return Ke(n,AB,e)},sk=le("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[`anchorOrigin${pe(r.anchorOrigin.vertical)}${pe(r.anchorOrigin.horizontal)}`]]}})(Ge(({theme:t})=>({zIndex:(t.vars||t).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center",variants:[{props:({ownerState:e})=>e.anchorOrigin.vertical==="top",style:{top:8,[t.breakpoints.up("sm")]:{top:24}}},{props:({ownerState:e})=>e.anchorOrigin.vertical!=="top",style:{bottom:8,[t.breakpoints.up("sm")]:{bottom:24}}},{props:({ownerState:e})=>e.anchorOrigin.horizontal==="left",style:{justifyContent:"flex-start",[t.breakpoints.up("sm")]:{left:24,right:"auto"}}},{props:({ownerState:e})=>e.anchorOrigin.horizontal==="right",style:{justifyContent:"flex-end",[t.breakpoints.up("sm")]:{right:24,left:"auto"}}},{props:({ownerState:e})=>e.anchorOrigin.horizontal==="center",style:{[t.breakpoints.up("sm")]:{left:"50%",right:"auto",transform:"translateX(-50%)"}}}]}))),Of=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiSnackbar"}),o=ys(),s={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{action:a,anchorOrigin:{vertical:l,horizontal:u}={vertical:"bottom",horizontal:"left"},autoHideDuration:p=null,children:h,className:d,ClickAwayListenerProps:_,ContentProps:g,disableWindowBlurListener:v=!1,message:w,onBlur:x,onClose:C,onFocus:M,onMouseEnter:$,onMouseLeave:E,open:k,resumeHideDuration:T,TransitionComponent:A=zu,transitionDuration:I=s,TransitionProps:{onEnter:j,onExited:O,...F}={},...H}=n,q={...n,anchorOrigin:{vertical:l,horizontal:u},autoHideDuration:p,disableWindowBlurListener:v,TransitionComponent:A,transitionDuration:I},U=PB(q),{getRootProps:B,onClickAway:X}=kB({...q}),[re,Z]=N.useState(!0),J=yo({elementType:sk,getSlotProps:B,externalForwardedProps:H,ownerState:q,additionalProps:{ref:r},className:[U.root,d]}),ne=Q=>{Z(!0),O&&O(Q)},L=(Q,fe)=>{Z(!1),j&&j(Q,fe)};return!k&&re?null:D.jsx(IL,{onClickAway:X,..._,children:D.jsx(sk,{...J,children:D.jsx(A,{appear:!0,in:k,timeout:I,direction:l==="top"?"down":"up",onEnter:L,onExited:ne,...F,children:h||D.jsx(MB,{message:w,action:a,...g})})})})});function IB(t){return Ye("MuiTooltip",t)}const cr=Xe("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function RB(t){return Math.round(t*1e5)/1e5}const jB=t=>{const{classes:e,disableInteractive:r,arrow:n,touch:o,placement:s}=t,a={popper:["popper",!r&&"popperInteractive",n&&"popperArrow"],tooltip:["tooltip",n&&"tooltipArrow",o&&"touch",`tooltipPlacement${pe(s.split("-")[0])}`],arrow:["arrow"]};return Ke(a,IB,e)},FB=le(gM,{name:"MuiTooltip",slot:"Popper",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.popper,!r.disableInteractive&&e.popperInteractive,r.arrow&&e.popperArrow,!r.open&&e.popperClose]}})(Ge(({theme:t})=>({zIndex:(t.vars||t).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:e})=>!e.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:e})=>!e,style:{pointerEvents:"none"}},{props:({ownerState:e})=>e.arrow,style:{[`&[data-popper-placement*="bottom"] .${cr.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${cr.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${cr.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${cr.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="right"] .${cr.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="right"] .${cr.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="left"] .${cr.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="left"] .${cr.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),zB=le("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.tooltip,r.touch&&e.touch,r.arrow&&e.tooltipArrow,e[`tooltipPlacement${pe(r.placement.split("-")[0])}`]]}})(Ge(({theme:t})=>({backgroundColor:t.vars?t.vars.palette.Tooltip.bg:Ft(t.palette.grey[700],.92),borderRadius:(t.vars||t).shape.borderRadius,color:(t.vars||t).palette.common.white,fontFamily:t.typography.fontFamily,padding:"4px 8px",fontSize:t.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:t.typography.fontWeightMedium,[`.${cr.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${cr.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${cr.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${cr.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:e})=>e.arrow,style:{position:"relative",margin:0}},{props:({ownerState:e})=>e.touch,style:{padding:"8px 16px",fontSize:t.typography.pxToRem(14),lineHeight:`${RB(16/14)}em`,fontWeight:t.typography.fontWeightRegular}},{props:({ownerState:e})=>!e.isRtl,style:{[`.${cr.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${cr.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:e})=>!e.isRtl&&e.touch,style:{[`.${cr.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${cr.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:e})=>!!e.isRtl,style:{[`.${cr.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${cr.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:e})=>!!e.isRtl&&e.touch,style:{[`.${cr.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${cr.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${cr.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${cr.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),LB=le("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(t,e)=>e.arrow})(Ge(({theme:t})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:t.vars?t.vars.palette.Tooltip.bg:Ft(t.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let Ap=!1;const ak=new lh;let Gc={x:0,y:0};function Pp(t,e){return(r,...n)=>{e&&e(r,...n),t(r,...n)}}const wr=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiTooltip"}),{arrow:o=!1,children:s,classes:a,components:l={},componentsProps:u={},describeChild:p=!1,disableFocusListener:h=!1,disableHoverListener:d=!1,disableInteractive:_=!1,disableTouchListener:g=!1,enterDelay:v=100,enterNextDelay:w=0,enterTouchDelay:x=700,followCursor:C=!1,id:M,leaveDelay:$=0,leaveTouchDelay:E=1500,onClose:k,onOpen:T,open:A,placement:I="bottom",PopperComponent:j,PopperProps:O={},slotProps:F={},slots:H={},title:q,TransitionComponent:U,TransitionProps:B,...X}=n,re=N.isValidElement(s)?s:D.jsx("span",{children:s}),Z=ys(),J=Yl(),[ne,L]=N.useState(),[Q,fe]=N.useState(null),me=N.useRef(!1),ye=_||C,we=Ba(),Me=Ba(),Oe=Ba(),Pe=Ba(),[ke,He]=bf({controlled:A,default:!1,name:"Tooltip",state:"open"});let Ae=ke;const it=Jl(M),Ie=N.useRef(),$e=_n(()=>{Ie.current!==void 0&&(document.body.style.WebkitUserSelect=Ie.current,Ie.current=void 0),Pe.clear()});N.useEffect(()=>$e,[$e]);const ie=ft=>{ak.clear(),Ap=!0,He(!0),T&&!Ae&&T(ft)},se=_n(ft=>{ak.start(800+$,()=>{Ap=!1}),He(!1),k&&Ae&&k(ft),we.start(Z.transitions.duration.shortest,()=>{me.current=!1})}),ze=ft=>{me.current&&ft.type!=="touchstart"||(ne&&ne.removeAttribute("title"),Me.clear(),Oe.clear(),v||Ap&&w?Me.start(Ap?w:v,()=>{ie(ft)}):ie(ft))},qe=ft=>{Me.clear(),Oe.start($,()=>{se(ft)})},[,rt]=N.useState(!1),st=ft=>{wf(ft.target)||(rt(!1),qe(ft))},xe=ft=>{ne||L(ft.currentTarget),wf(ft.target)&&(rt(!0),ze(ft))},mt=ft=>{me.current=!0;const Yr=re.props;Yr.onTouchStart&&Yr.onTouchStart(ft)},ue=ft=>{mt(ft),Oe.clear(),we.clear(),$e(),Ie.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Pe.start(x,()=>{document.body.style.WebkitUserSelect=Ie.current,ze(ft)})},Ee=ft=>{re.props.onTouchEnd&&re.props.onTouchEnd(ft),$e(),Oe.start(E,()=>{se(ft)})};N.useEffect(()=>{if(!Ae)return;function ft(Yr){Yr.key==="Escape"&&se(Yr)}return document.addEventListener("keydown",ft),()=>{document.removeEventListener("keydown",ft)}},[se,Ae]);const ht=sr(ni(re),L,r);!q&&q!==0&&(Ae=!1);const Ve=N.useRef(),Je=ft=>{const Yr=re.props;Yr.onMouseMove&&Yr.onMouseMove(ft),Gc={x:ft.clientX,y:ft.clientY},Ve.current&&Ve.current.update()},pt={},yt=typeof q=="string";p?(pt.title=!Ae&&yt&&!d?q:null,pt["aria-describedby"]=Ae?it:null):(pt["aria-label"]=yt?q:null,pt["aria-labelledby"]=Ae&&!yt?it:null);const je={...pt,...X,...re.props,className:Ce(X.className,re.props.className),onTouchStart:mt,ref:ht,...C?{onMouseMove:Je}:{}},St={};g||(je.onTouchStart=ue,je.onTouchEnd=Ee),d||(je.onMouseOver=Pp(ze,je.onMouseOver),je.onMouseLeave=Pp(qe,je.onMouseLeave),ye||(St.onMouseOver=ze,St.onMouseLeave=qe)),h||(je.onFocus=Pp(xe,je.onFocus),je.onBlur=Pp(st,je.onBlur),ye||(St.onFocus=xe,St.onBlur=st));const Tt={...n,isRtl:J,arrow:o,disableInteractive:ye,placement:I,PopperComponentProp:j,touch:me.current},wt=typeof F.popper=="function"?F.popper(Tt):F.popper,ae=N.useMemo(()=>{var Yr,nc;let ft=[{name:"arrow",enabled:!!Q,options:{element:Q,padding:4}}];return(Yr=O.popperOptions)!=null&&Yr.modifiers&&(ft=ft.concat(O.popperOptions.modifiers)),(nc=wt==null?void 0:wt.popperOptions)!=null&&nc.modifiers&&(ft=ft.concat(wt.popperOptions.modifiers)),{...O.popperOptions,...wt==null?void 0:wt.popperOptions,modifiers:ft}},[Q,O.popperOptions,wt==null?void 0:wt.popperOptions]),ve=jB(Tt),Ue=typeof F.transition=="function"?F.transition(Tt):F.transition,tt={slots:{popper:l.Popper,transition:l.Transition??U,tooltip:l.Tooltip,arrow:l.Arrow,...H},slotProps:{arrow:F.arrow??u.arrow,popper:{...O,...wt??u.popper},tooltip:F.tooltip??u.tooltip,transition:{...B,...Ue??u.transition}}},[Ct,Ir]=or("popper",{elementType:FB,externalForwardedProps:tt,ownerState:Tt,className:Ce(ve.popper,O==null?void 0:O.className)}),[Rr,nn]=or("transition",{elementType:zu,externalForwardedProps:tt,ownerState:Tt}),[_a,Ss]=or("tooltip",{elementType:zB,className:ve.tooltip,externalForwardedProps:tt,ownerState:Tt}),[hd,md]=or("arrow",{elementType:LB,className:ve.arrow,externalForwardedProps:tt,ownerState:Tt,ref:fe});return D.jsxs(N.Fragment,{children:[N.cloneElement(re,je),D.jsx(Ct,{as:j??gM,placement:I,anchorEl:C?{getBoundingClientRect:()=>({top:Gc.y,left:Gc.x,right:Gc.x,bottom:Gc.y,width:0,height:0})}:ne,popperRef:Ve,open:ne?Ae:!1,id:it,transition:!0,...St,...Ir,popperOptions:ae,children:({TransitionProps:ft})=>D.jsx(Rr,{timeout:Z.transitions.duration.shorter,...ft,...nn,children:D.jsxs(_a,{...Ss,children:[q,o?D.jsx(hd,{...md}):null]})})})]})});function BB(t){return Ye("MuiSwitch",t)}const tn=Xe("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),WB=t=>{const{classes:e,edge:r,size:n,color:o,checked:s,disabled:a}=t,l={root:["root",r&&`edge${pe(r)}`,`size${pe(n)}`],switchBase:["switchBase",`color${pe(o)}`,s&&"checked",a&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},u=Ke(l,BB,e);return{...e,...u}},UB=le("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.edge&&e[`edge${pe(r.edge)}`],e[`size${pe(r.size)}`]]}})({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${tn.thumb}`]:{width:16,height:16},[`& .${tn.switchBase}`]:{padding:4,[`&.${tn.checked}`]:{transform:"translateX(16px)"}}}}]}),HB=le(Sw,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.switchBase,{[`& .${tn.input}`]:e.input},r.color!=="default"&&e[`color${pe(r.color)}`]]}})(Ge(({theme:t})=>({position:"absolute",top:0,left:0,zIndex:1,color:t.vars?t.vars.palette.Switch.defaultColor:`${t.palette.mode==="light"?t.palette.common.white:t.palette.grey[300]}`,transition:t.transitions.create(["left","transform"],{duration:t.transitions.duration.shortest}),[`&.${tn.checked}`]:{transform:"translateX(20px)"},[`&.${tn.disabled}`]:{color:t.vars?t.vars.palette.Switch.defaultDisabledColor:`${t.palette.mode==="light"?t.palette.grey[100]:t.palette.grey[600]}`},[`&.${tn.checked} + .${tn.track}`]:{opacity:.5},[`&.${tn.disabled} + .${tn.track}`]:{opacity:t.vars?t.vars.opacity.switchTrackDisabled:`${t.palette.mode==="light"?.12:.2}`},[`& .${tn.input}`]:{left:"-100%",width:"300%"}})),Ge(({theme:t})=>({"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:Ft(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(t.palette).filter(ur(["light"])).map(([e])=>({props:{color:e},style:{[`&.${tn.checked}`]:{color:(t.vars||t).palette[e].main,"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Ft(t.palette[e].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${tn.disabled}`]:{color:t.vars?t.vars.palette.Switch[`${e}DisabledColor`]:`${t.palette.mode==="light"?td(t.palette[e].main,.62):ed(t.palette[e].main,.55)}`}},[`&.${tn.checked} + .${tn.track}`]:{backgroundColor:(t.vars||t).palette[e].main}}}))]}))),qB=le("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(t,e)=>e.track})(Ge(({theme:t})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:t.vars?t.vars.palette.common.onBackground:`${t.palette.mode==="light"?t.palette.common.black:t.palette.common.white}`,opacity:t.vars?t.vars.opacity.switchTrack:`${t.palette.mode==="light"?.38:.3}`}))),VB=le("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(t,e)=>e.thumb})(Ge(({theme:t})=>({boxShadow:(t.vars||t).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),cu=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiSwitch"}),{className:o,color:s="primary",edge:a=!1,size:l="medium",sx:u,...p}=n,h={...n,color:s,edge:a,size:l},d=WB(h),_=D.jsx(VB,{className:d.thumb,ownerState:h});return D.jsxs(UB,{className:Ce(d.root,o),sx:u,ownerState:h,children:[D.jsx(HB,{type:"checkbox",icon:_,checkedIcon:_,ref:r,ownerState:h,...p,classes:{...d,root:d.switchBase}}),D.jsx(qB,{className:d.track,ownerState:h})]})});function GB(t){return Ye("MuiTab",t)}const Wn=Xe("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper","icon"]),XB=t=>{const{classes:e,textColor:r,fullWidth:n,wrapped:o,icon:s,label:a,selected:l,disabled:u}=t,p={root:["root",s&&a&&"labelIcon",`textColor${pe(r)}`,n&&"fullWidth",o&&"wrapped",l&&"selected",u&&"disabled"],icon:["iconWrapper","icon"]};return Ke(p,GB,e)},JB=le(vs,{name:"MuiTab",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.label&&r.icon&&e.labelIcon,e[`textColor${pe(r.textColor)}`],r.fullWidth&&e.fullWidth,r.wrapped&&e.wrapped,{[`& .${Wn.iconWrapper}`]:e.iconWrapper},{[`& .${Wn.icon}`]:e.icon}]}})(Ge(({theme:t})=>({...t.typography.button,maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center",lineHeight:1.25,variants:[{props:({ownerState:e})=>e.label&&(e.iconPosition==="top"||e.iconPosition==="bottom"),style:{flexDirection:"column"}},{props:({ownerState:e})=>e.label&&e.iconPosition!=="top"&&e.iconPosition!=="bottom",style:{flexDirection:"row"}},{props:({ownerState:e})=>e.icon&&e.label,style:{minHeight:72,paddingTop:9,paddingBottom:9}},{props:({ownerState:e,iconPosition:r})=>e.icon&&e.label&&r==="top",style:{[`& > .${Wn.icon}`]:{marginBottom:6}}},{props:({ownerState:e,iconPosition:r})=>e.icon&&e.label&&r==="bottom",style:{[`& > .${Wn.icon}`]:{marginTop:6}}},{props:({ownerState:e,iconPosition:r})=>e.icon&&e.label&&r==="start",style:{[`& > .${Wn.icon}`]:{marginRight:t.spacing(1)}}},{props:({ownerState:e,iconPosition:r})=>e.icon&&e.label&&r==="end",style:{[`& > .${Wn.icon}`]:{marginLeft:t.spacing(1)}}},{props:{textColor:"inherit"},style:{color:"inherit",opacity:.6,[`&.${Wn.selected}`]:{opacity:1},[`&.${Wn.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}}},{props:{textColor:"primary"},style:{color:(t.vars||t).palette.text.secondary,[`&.${Wn.selected}`]:{color:(t.vars||t).palette.primary.main},[`&.${Wn.disabled}`]:{color:(t.vars||t).palette.text.disabled}}},{props:{textColor:"secondary"},style:{color:(t.vars||t).palette.text.secondary,[`&.${Wn.selected}`]:{color:(t.vars||t).palette.secondary.main},[`&.${Wn.disabled}`]:{color:(t.vars||t).palette.text.disabled}}},{props:({ownerState:e})=>e.fullWidth,style:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"}},{props:({ownerState:e})=>e.wrapped,style:{fontSize:t.typography.pxToRem(12)}}]}))),Js=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiTab"}),{className:o,disabled:s=!1,disableFocusRipple:a=!1,fullWidth:l,icon:u,iconPosition:p="top",indicator:h,label:d,onChange:_,onClick:g,onFocus:v,selected:w,selectionFollowsFocus:x,textColor:C="inherit",value:M,wrapped:$=!1,...E}=n,k={...n,disabled:s,disableFocusRipple:a,selected:w,icon:!!u,iconPosition:p,label:!!d,fullWidth:l,textColor:C,wrapped:$},T=XB(k),A=u&&d&&N.isValidElement(u)?N.cloneElement(u,{className:Ce(T.icon,u.props.className)}):u,I=O=>{!w&&_&&_(O,M),g&&g(O)},j=O=>{x&&!w&&_&&_(O,M),v&&v(O)};return D.jsxs(JB,{focusRipple:!a,className:Ce(T.root,o),ref:r,role:"tab","aria-selected":w,disabled:s,onClick:I,onFocus:j,ownerState:k,tabIndex:w?0:-1,...E,children:[p==="top"||p==="start"?D.jsxs(N.Fragment,{children:[A,d]}):D.jsxs(N.Fragment,{children:[d,A]}),h]})});function YB(t){return Ye("MuiToolbar",t)}Xe("MuiToolbar",["root","gutters","regular","dense"]);const KB=t=>{const{classes:e,disableGutters:r,variant:n}=t;return Ke({root:["root",!r&&"gutters",n]},YB,e)},ZB=le("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,!r.disableGutters&&e.gutters,e[r.variant]]}})(Ge(({theme:t})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:t.spacing(2),paddingRight:t.spacing(2),[t.breakpoints.up("sm")]:{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:t.mixins.toolbar}]}))),OM=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiToolbar"}),{className:o,component:s="div",disableGutters:a=!1,variant:l="regular",...u}=n,p={...n,component:s,disableGutters:a,variant:l},h=KB(p);return D.jsx(ZB,{as:s,className:Ce(h.root,o),ref:r,ownerState:p,...u})}),QB=Ne(D.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),e7=Ne(D.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function t7(t){return(1+Math.sin(Math.PI*t-Math.PI/2))/2}function r7(t,e,r,n={},o=()=>{}){const{ease:s=t7,duration:a=300}=n;let l=null;const u=e[t];let p=!1;const h=()=>{p=!0},d=_=>{if(p){o(new Error("Animation cancelled"));return}l===null&&(l=_);const g=Math.min(1,(_-l)/a);if(e[t]=s(g)*(r-u)+u,g>=1){requestAnimationFrame(()=>{o(null)});return}requestAnimationFrame(d)};return u===r?(o(new Error("Element already at target position")),h):(requestAnimationFrame(d),h)}const n7={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function o7(t){const{onChange:e,...r}=t,n=N.useRef(),o=N.useRef(null),s=()=>{n.current=o.current.offsetHeight-o.current.clientHeight};return bn(()=>{const a=ih(()=>{const u=n.current;s(),u!==n.current&&e(n.current)}),l=go(o.current);return l.addEventListener("resize",a),()=>{a.clear(),l.removeEventListener("resize",a)}},[e]),N.useEffect(()=>{s(),e(n.current)},[e]),D.jsx("div",{style:n7,...r,ref:o})}function s7(t){return Ye("MuiTabScrollButton",t)}const a7=Xe("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),i7=t=>{const{classes:e,orientation:r,disabled:n}=t;return Ke({root:["root",r,n&&"disabled"]},s7,e)},l7=le(vs,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.orientation&&e[r.orientation]]}})({width:40,flexShrink:0,opacity:.8,[`&.${a7.disabled}`]:{opacity:0},variants:[{props:{orientation:"vertical"},style:{width:"100%",height:40,"& svg":{transform:"var(--TabScrollButton-svgRotate)"}}}]}),c7=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiTabScrollButton"}),{className:o,slots:s={},slotProps:a={},direction:l,orientation:u,disabled:p,...h}=n,d=Yl(),_={isRtl:d,...n},g=i7(_),v=s.StartScrollButtonIcon??QB,w=s.EndScrollButtonIcon??e7,x=yo({elementType:v,externalSlotProps:a.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:_}),C=yo({elementType:w,externalSlotProps:a.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:_});return D.jsx(l7,{component:"div",className:Ce(g.root,o),ref:r,role:null,ownerState:_,tabIndex:null,...h,style:{...h.style,...u==="vertical"&&{"--TabScrollButton-svgRotate":`rotate(${d?-90:90}deg)`}},children:l==="left"?D.jsx(v,{...x}):D.jsx(w,{...C})})});function u7(t){return Ye("MuiTabs",t)}const G_=Xe("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),ik=(t,e)=>t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:t.firstChild,lk=(t,e)=>t===e?t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:t.lastChild,Ip=(t,e,r)=>{let n=!1,o=r(t,e);for(;o;){if(o===t.firstChild){if(n)return;n=!0}const s=o.disabled||o.getAttribute("aria-disabled")==="true";if(!o.hasAttribute("tabindex")||s)o=r(t,o);else{o.focus();return}}},d7=t=>{const{vertical:e,fixed:r,hideScrollbar:n,scrollableX:o,scrollableY:s,centered:a,scrollButtonsHideMobile:l,classes:u}=t;return Ke({root:["root",e&&"vertical"],scroller:["scroller",r&&"fixed",n&&"hideScrollbar",o&&"scrollableX",s&&"scrollableY"],flexContainer:["flexContainer",e&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",l&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[n&&"hideScrollbar"]},u7,u)},p7=le("div",{name:"MuiTabs",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[{[`& .${G_.scrollButtons}`]:e.scrollButtons},{[`& .${G_.scrollButtons}`]:r.scrollButtonsHideMobile&&e.scrollButtonsHideMobile},e.root,r.vertical&&e.vertical]}})(Ge(({theme:t})=>({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex",variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:"column"}},{props:({ownerState:e})=>e.scrollButtonsHideMobile,style:{[`& .${G_.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}}}]}))),f7=le("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.scroller,r.fixed&&e.fixed,r.hideScrollbar&&e.hideScrollbar,r.scrollableX&&e.scrollableX,r.scrollableY&&e.scrollableY]}})({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap",variants:[{props:({ownerState:t})=>t.fixed,style:{overflowX:"hidden",width:"100%"}},{props:({ownerState:t})=>t.hideScrollbar,style:{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}},{props:({ownerState:t})=>t.scrollableX,style:{overflowX:"auto",overflowY:"hidden"}},{props:({ownerState:t})=>t.scrollableY,style:{overflowY:"auto",overflowX:"hidden"}}]}),h7=le("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.flexContainer,r.vertical&&e.flexContainerVertical,r.centered&&e.centered]}})({display:"flex",variants:[{props:({ownerState:t})=>t.vertical,style:{flexDirection:"column"}},{props:({ownerState:t})=>t.centered,style:{justifyContent:"center"}}]}),m7=le("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(t,e)=>e.indicator})(Ge(({theme:t})=>({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create(),variants:[{props:{indicatorColor:"primary"},style:{backgroundColor:(t.vars||t).palette.primary.main}},{props:{indicatorColor:"secondary"},style:{backgroundColor:(t.vars||t).palette.secondary.main}},{props:({ownerState:e})=>e.vertical,style:{height:"100%",width:2,right:0}}]}))),_7=le(o7)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),ck={},DM=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiTabs"}),o=ys(),s=Yl(),{"aria-label":a,"aria-labelledby":l,action:u,centered:p=!1,children:h,className:d,component:_="div",allowScrollButtonsMobile:g=!1,indicatorColor:v="primary",onChange:w,orientation:x="horizontal",ScrollButtonComponent:C=c7,scrollButtons:M="auto",selectionFollowsFocus:$,slots:E={},slotProps:k={},TabIndicatorProps:T={},TabScrollButtonProps:A={},textColor:I="primary",value:j,variant:O="standard",visibleScrollbar:F=!1,...H}=n,q=O==="scrollable",U=x==="vertical",B=U?"scrollTop":"scrollLeft",X=U?"top":"left",re=U?"bottom":"right",Z=U?"clientHeight":"clientWidth",J=U?"height":"width",ne={...n,component:_,allowScrollButtonsMobile:g,indicatorColor:v,orientation:x,vertical:U,scrollButtons:M,textColor:I,variant:O,visibleScrollbar:F,fixed:!q,hideScrollbar:q&&!F,scrollableX:q&&!U,scrollableY:q&&U,centered:p&&!q,scrollButtonsHideMobile:!g},L=d7(ne),Q=yo({elementType:E.StartScrollButtonIcon,externalSlotProps:k.startScrollButtonIcon,ownerState:ne}),fe=yo({elementType:E.EndScrollButtonIcon,externalSlotProps:k.endScrollButtonIcon,ownerState:ne}),[me,ye]=N.useState(!1),[we,Me]=N.useState(ck),[Oe,Pe]=N.useState(!1),[ke,He]=N.useState(!1),[Ae,it]=N.useState(!1),[Ie,$e]=N.useState({overflow:"hidden",scrollbarWidth:0}),ie=new Map,se=N.useRef(null),ze=N.useRef(null),qe=()=>{const ae=se.current;let ve;if(ae){const tt=ae.getBoundingClientRect();ve={clientWidth:ae.clientWidth,scrollLeft:ae.scrollLeft,scrollTop:ae.scrollTop,scrollWidth:ae.scrollWidth,top:tt.top,bottom:tt.bottom,left:tt.left,right:tt.right}}let Ue;if(ae&&j!==!1){const tt=ze.current.children;if(tt.length>0){const Ct=tt[ie.get(j)];Ue=Ct?Ct.getBoundingClientRect():null}}return{tabsMeta:ve,tabMeta:Ue}},rt=_n(()=>{const{tabsMeta:ae,tabMeta:ve}=qe();let Ue=0,tt;U?(tt="top",ve&&ae&&(Ue=ve.top-ae.top+ae.scrollTop)):(tt=s?"right":"left",ve&&ae&&(Ue=(s?-1:1)*(ve[tt]-ae[tt]+ae.scrollLeft)));const Ct={[tt]:Ue,[J]:ve?ve[J]:0};if(typeof we[tt]!="number"||typeof we[J]!="number")Me(Ct);else{const Ir=Math.abs(we[tt]-Ct[tt]),Rr=Math.abs(we[J]-Ct[J]);(Ir>=1||Rr>=1)&&Me(Ct)}}),st=(ae,{animation:ve=!0}={})=>{ve?r7(B,se.current,ae,{duration:o.transitions.duration.standard}):se.current[B]=ae},xe=ae=>{let ve=se.current[B];U?ve+=ae:ve+=ae*(s?-1:1),st(ve)},mt=()=>{const ae=se.current[Z];let ve=0;const Ue=Array.from(ze.current.children);for(let tt=0;ttae){tt===0&&(ve=ae);break}ve+=Ct[Z]}return ve},ue=()=>{xe(-1*mt())},Ee=()=>{xe(mt())},ht=N.useCallback(ae=>{$e({overflow:null,scrollbarWidth:ae})},[]),Ve=()=>{const ae={};ae.scrollbarSizeListener=q?D.jsx(_7,{onChange:ht,className:Ce(L.scrollableX,L.hideScrollbar)}):null;const Ue=q&&(M==="auto"&&(Oe||ke)||M===!0);return ae.scrollButtonStart=Ue?D.jsx(C,{slots:{StartScrollButtonIcon:E.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:Q},orientation:x,direction:s?"right":"left",onClick:ue,disabled:!Oe,...A,className:Ce(L.scrollButtons,A.className)}):null,ae.scrollButtonEnd=Ue?D.jsx(C,{slots:{EndScrollButtonIcon:E.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:fe},orientation:x,direction:s?"left":"right",onClick:Ee,disabled:!ke,...A,className:Ce(L.scrollButtons,A.className)}):null,ae},Je=_n(ae=>{const{tabsMeta:ve,tabMeta:Ue}=qe();if(!(!Ue||!ve)){if(Ue[X]ve[re]){const tt=ve[B]+(Ue[re]-ve[re]);st(tt,{animation:ae})}}}),pt=_n(()=>{q&&M!==!1&&it(!Ae)});N.useEffect(()=>{const ae=ih(()=>{se.current&&rt()});let ve;const Ue=Ir=>{Ir.forEach(Rr=>{Rr.removedNodes.forEach(nn=>{ve==null||ve.unobserve(nn)}),Rr.addedNodes.forEach(nn=>{ve==null||ve.observe(nn)})}),ae(),pt()},tt=go(se.current);tt.addEventListener("resize",ae);let Ct;return typeof ResizeObserver<"u"&&(ve=new ResizeObserver(ae),Array.from(ze.current.children).forEach(Ir=>{ve.observe(Ir)})),typeof MutationObserver<"u"&&(Ct=new MutationObserver(Ue),Ct.observe(ze.current,{childList:!0})),()=>{ae.clear(),tt.removeEventListener("resize",ae),Ct==null||Ct.disconnect(),ve==null||ve.disconnect()}},[rt,pt]),N.useEffect(()=>{const ae=Array.from(ze.current.children),ve=ae.length;if(typeof IntersectionObserver<"u"&&ve>0&&q&&M!==!1){const Ue=ae[0],tt=ae[ve-1],Ct={root:se.current,threshold:.99},Ir=Ss=>{Pe(!Ss[0].isIntersecting)},Rr=new IntersectionObserver(Ir,Ct);Rr.observe(Ue);const nn=Ss=>{He(!Ss[0].isIntersecting)},_a=new IntersectionObserver(nn,Ct);return _a.observe(tt),()=>{Rr.disconnect(),_a.disconnect()}}},[q,M,Ae,h==null?void 0:h.length]),N.useEffect(()=>{ye(!0)},[]),N.useEffect(()=>{rt()}),N.useEffect(()=>{Je(ck!==we)},[Je,we]),N.useImperativeHandle(u,()=>({updateIndicator:rt,updateScrollButtons:pt}),[rt,pt]);const yt=D.jsx(m7,{...T,className:Ce(L.indicator,T.className),ownerState:ne,style:{...we,...T.style}});let je=0;const St=N.Children.map(h,ae=>{if(!N.isValidElement(ae))return null;const ve=ae.props.value===void 0?je:ae.props.value;ie.set(ve,je);const Ue=ve===j;return je+=1,N.cloneElement(ae,{fullWidth:O==="fullWidth",indicator:Ue&&!me&&yt,selected:Ue,selectionFollowsFocus:$,onChange:w,textColor:I,value:ve,...je===1&&j===!1&&!ae.props.tabIndex?{tabIndex:0}:{}})}),Tt=ae=>{const ve=ze.current,Ue=Pr(ve).activeElement;if(Ue.getAttribute("role")!=="tab")return;let Ct=x==="horizontal"?"ArrowLeft":"ArrowUp",Ir=x==="horizontal"?"ArrowRight":"ArrowDown";switch(x==="horizontal"&&s&&(Ct="ArrowRight",Ir="ArrowLeft"),ae.key){case Ct:ae.preventDefault(),Ip(ve,Ue,lk);break;case Ir:ae.preventDefault(),Ip(ve,Ue,ik);break;case"Home":ae.preventDefault(),Ip(ve,null,ik);break;case"End":ae.preventDefault(),Ip(ve,null,lk);break}},wt=Ve();return D.jsxs(p7,{className:Ce(L.root,d),ownerState:ne,ref:r,as:_,...H,children:[wt.scrollButtonStart,wt.scrollbarSizeListener,D.jsxs(f7,{className:L.scroller,ownerState:ne,style:{overflow:Ie.overflow,[U?`margin${s?"Left":"Right"}`:"marginBottom"]:F?void 0:-Ie.scrollbarWidth},ref:se,children:[D.jsx(h7,{"aria-label":a,"aria-labelledby":l,"aria-orientation":x==="vertical"?"vertical":null,className:L.flexContainer,ownerState:ne,onKeyDown:Tt,ref:ze,role:"tablist",children:St}),me&&yt]}),wt.scrollButtonEnd]})});function g7(t){return Ye("MuiTextField",t)}Xe("MuiTextField",["root"]);const y7={standard:po,filled:Cw,outlined:$w},v7=t=>{const{classes:e}=t;return Ke({root:["root"]},g7,e)},b7=le(Ro,{name:"MuiTextField",slot:"Root",overridesResolver:(t,e)=>e.root})({}),ot=N.forwardRef(function(e,r){const n=Ze({props:e,name:"MuiTextField"}),{autoComplete:o,autoFocus:s=!1,children:a,className:l,color:u="primary",defaultValue:p,disabled:h=!1,error:d=!1,FormHelperTextProps:_,fullWidth:g=!1,helperText:v,id:w,InputLabelProps:x,inputProps:C,InputProps:M,inputRef:$,label:E,maxRows:k,minRows:T,multiline:A=!1,name:I,onBlur:j,onChange:O,onFocus:F,placeholder:H,required:q=!1,rows:U,select:B=!1,SelectProps:X,slots:re={},slotProps:Z={},type:J,value:ne,variant:L="outlined",...Q}=n,fe={...n,autoFocus:s,color:u,disabled:h,error:d,fullWidth:g,multiline:A,required:q,select:B,variant:L},me=v7(fe),ye=Jl(w),we=v&&ye?`${ye}-helper-text`:void 0,Me=E&&ye?`${ye}-label`:void 0,Oe=y7[L],Pe={slots:re,slotProps:{input:M,inputLabel:x,htmlInput:C,formHelperText:_,select:X,...Z}},ke={},He=Pe.slotProps.inputLabel;L==="outlined"&&(He&&typeof He.shrink<"u"&&(ke.notched=He.shrink),ke.label=E),B&&((!X||!X.native)&&(ke.id=void 0),ke["aria-describedby"]=void 0);const[Ae,it]=or("input",{elementType:Oe,externalForwardedProps:Pe,additionalProps:ke,ownerState:fe}),[Ie,$e]=or("inputLabel",{elementType:qa,externalForwardedProps:Pe,ownerState:fe}),[ie,se]=or("htmlInput",{elementType:"input",externalForwardedProps:Pe,ownerState:fe}),[ze,qe]=or("formHelperText",{elementType:z8,externalForwardedProps:Pe,ownerState:fe}),[rt,st]=or("select",{elementType:Gr,externalForwardedProps:Pe,ownerState:fe}),xe=D.jsx(Ae,{"aria-describedby":we,autoComplete:o,autoFocus:s,defaultValue:p,fullWidth:g,multiline:A,name:I,rows:U,maxRows:k,minRows:T,type:J,value:ne,id:ye,inputRef:$,onBlur:j,onChange:O,onFocus:F,placeholder:H,inputProps:se,slots:{input:re.htmlInput?ie:void 0},...it});return D.jsxs(b7,{className:Ce(me.root,l),disabled:h,error:d,fullWidth:g,ref:r,required:q,color:u,variant:L,ownerState:fe,...Q,children:[E!=null&&E!==""&&D.jsx(Ie,{htmlFor:ye,id:Me,...$e,children:E}),B?D.jsx(rt,{"aria-describedby":we,id:ye,labelId:Me,value:ne,input:xe,...st,children:a}):xe,v&&D.jsx(ze,{id:we,...qe,children:v})]})}),X_=11/23/100;function uk(t){const e={r:0,g:0,b:0};if(t.length===7)e.r=parseInt(t.substr(1,2),16),e.g=parseInt(t.substr(3,2),16),e.b=parseInt(t.substr(5,2),16);else if(t.length===4){const r=t.substr(1,1),n=t.substr(2,1),o=t.substr(3,1);e.r=parseInt(r+r,16),e.g=parseInt(n+n,16),e.b=parseInt(o+o,16)}return e}function w7(t){return`#${Math.round(t.r).toString(16)}${Math.round(t.g).toString(16)}${Math.round(t.b).toString(16)}`}function x7(t,e,r){const n=uk(t),o=uk(e);return n.r+=o.r*(.05+X_*(r-1)),n.g+=o.g*(.05+X_*(r-1)),n.b+=o.b*(.05+X_*(r-1)),w7(n)}function dk(t,e){const r={};for(let n=1;n<=24;n++)r[`elevation${n}`]={backgroundColor:x7(t,e,n)};return r}function S7(t,e){var a,l,u,p,h,d,_,g,v,w,x;let r,n;t==="dark"?(n={MuiAppBar:{colorDefault:{backgroundColor:"#272727"}},MuiLink:{root:{textTransform:"uppercase",transition:"color .3s ease",color:Dr[200],"&:hover":{color:Dr[100]}}},MuiPaper:dk("#121212","#fff")},r={name:t,palette:{mode:"dark",background:{paper:"#121212",default:"#121212"},primary:{main:"#4dabf5"},secondary:{main:"#436a93"},expert:"#14bb00",text:{primary:"#ffffff",secondary:"#ffffff"}}}):t==="blue"?(n={MuiAppBar:{colorDefault:{backgroundColor:"#3399CC"}},MuiLink:{root:{textTransform:"uppercase",transition:"color .3s ease",color:Dr[400],"&:hover":{color:Dr[300]}}}},r={name:t,palette:{mode:"dark",background:{paper:"#151d21",default:"#151d21"},primary:{main:"#4dabf5"},secondary:{main:"#436a93"},expert:"#14bb00",text:{primary:"#ffffff",secondary:"#ffffff"}}}):t==="colored"?(n={MuiAppBar:{colorDefault:{backgroundColor:"#2a3135"}},MuiLink:{root:{textTransform:"uppercase",transition:"color .3s ease",color:Dr[200],"&:hover":{color:Dr[100]}}},MuiPaper:dk("#151d21","#fff")},r={name:t,palette:{mode:"light",primary:{main:"#3399CC"},secondary:{main:"#164477"},expert:"#96fc96"}}):t==="PT"?(n={MuiAppBar:{colorDefault:{backgroundColor:"#0F99DE"}},MuiLink:{root:{textTransform:"uppercase",transition:"color .3s ease",color:Dr[400],"&:hover":{color:Dr[300]}}}},r={name:t,palette:{mode:"light",primary:{main:"#0F99DE"},secondary:{main:"#88A536"},expert:"#BD1B24"}}):t==="DX"?(n={MuiAppBar:{colorDefault:{backgroundColor:"#a9a9a9"}},MuiLink:{root:{textTransform:"uppercase",transition:"color .3s ease",color:Dr[400],"&:hover":{color:Dr[300]}}}},r={name:t,palette:{mode:"light",primary:{main:"#F5F5F7"},secondary:{main:"#a9a9a9"},expert:"#BD1B24",text:{primary:"#007AFE",secondary:"#007AFE",disabled:"#007AFEAA"}}}):(n={MuiLink:{root:{textTransform:"uppercase",transition:"color .3s ease",color:Dr[400],"&:hover":{color:Dr[300]}}}},r={name:t,palette:{mode:"light",primary:{main:"#3399CC",dark:"#256c97",light:"#76d0fd"},secondary:{main:"#164477"},expert:"#14bb00"}}),r.toolbar={height:48},r.saveToolbar={background:(l=(a=r.palette)==null?void 0:a.primary)==null?void 0:l.main,button:{borderRadius:3,height:32}},r.palette&&(r.palette.grey={main:Db[300],dark:Db[400]});const o=Iu(r),s=o.palette;return Iu(o,{components:{...n,MuiButton:{variants:[{props:{variant:"contained",color:"grey"},style:{backgroundColor:(u=s.grey)==null?void 0:u[300],color:s.getContrastText&&((p=s.grey)!=null&&p[300])?s.getContrastText(s.grey[300]):void 0}},{props:{variant:"outlined",color:"grey"},style:{color:(h=s.text)==null?void 0:h.primary,borderColor:s.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)","&.Mui-disabled":{border:`1px solid ${(d=s.action)==null?void 0:d.disabledBackground}`},"&:hover":{borderColor:s.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)",backgroundColor:Ft(((_=s.text)==null?void 0:_.primary)||"",((g=s.action)==null?void 0:g.hoverOpacity)||.04)}}},{props:{variant:"text",color:"grey"},style:{color:(v=s.text)==null?void 0:v.primary,"&:hover":{backgroundColor:Ft(((w=s.text)==null?void 0:w.primary)||"",((x=s.action)==null?void 0:x.hoverOpacity)||.04)}}}]}}})}function C7(){let t,e;const r=new Promise((n,o)=>{t=n,e=o});return r.resolve=t,r.reject=e,r}function E7(t){return(t==null?void 0:t.rows.map(e=>e.value).filter(e=>!!e))??[]}function pk(t){return t!=null&&t.startsWith("system.host.")||(t=`system.host.${t}`),t}function fk(t){return new Promise(e=>{setTimeout(e,t)})}function Rp(t){t=(t||"").toString();const e=t[0]==="*",r=t[t.length-1]==="*";return t=t.replace(/[-/\\^$+?.()|[\]{}]/g,"\\$&").replace(/\*/g,".*"),(e?"":"^")+t+(r?"":"$")}var Ao;(function(t){t[t.CONNECTING=0]="CONNECTING",t[t.CONNECTED=1]="CONNECTED",t[t.OBJECTS_LOADED=2]="OBJECTS_LOADED",t[t.READY=3]="READY"})(Ao||(Ao={}));var ea;(function(t){t.PERMISSION_ERROR="permissionError",t.NOT_CONNECTED="notConnectedError",t.TIMEOUT="timeout",t.NOT_ADMIN="Allowed only in admin",t.NOT_SUPPORTED="Not supported"})(ea||(ea={}));ea.PERMISSION_ERROR;ea.NOT_CONNECTED;const k7=["material","echarts","vis"];class ds{constructor(e){Y(this,"props");Y(this,"ignoreState","");Y(this,"connected",!1);Y(this,"subscribed",!1);Y(this,"firstConnect",!0);Y(this,"waitForRestart",!1);Y(this,"loaded",!1);Y(this,"simStates",{});Y(this,"statesSubscribes",{});Y(this,"filesSubscribes",{});Y(this,"objectsSubscribes",{});Y(this,"objects",{});Y(this,"states",{});Y(this,"acl",null);Y(this,"isSecure",!1);Y(this,"onReadyDone",!1);Y(this,"onConnectionHandlers",[]);Y(this,"onLogHandlers",[]);Y(this,"onCmdStdoutHandler");Y(this,"onCmdStderrHandler");Y(this,"onCmdExitHandler");Y(this,"_socket");Y(this,"_waitForSocketPromise");Y(this,"_waitForFirstConnectionPromise",C7());Y(this,"_instanceSubscriptions",{});Y(this,"_promises",{});Y(this,"_authTimer");Y(this,"_systemConfig");Y(this,"systemLang","en");this.props=this.applyDefaultProps(e),this.waitForSocketLib().then(()=>this.startSocket()).catch(r=>{alert(`Socket connection could not be initialized: ${r}`)})}applyDefaultProps(e){return{...e,protocol:e.protocol||window.location.protocol,host:e.host||window.location.hostname,port:e.port||(window.location.port==="3000"?8081:window.location.port),ioTimeout:Math.max(e.ioTimeout||2e4,2e4),cmdTimeout:Math.max(e.cmdTimeout||5e3,5e3),admin5only:e.admin5only||!1,autoSubscribes:e.autoSubscribes??[],autoSubscribeLog:e.autoSubscribeLog??!1,doNotLoadACL:e.doNotLoadACL??!0,doNotLoadAllObjects:e.doNotLoadAllObjects??!0}}onError(e){(this.props.onError??console.error)(e)}get systemConfig(){return this._systemConfig}static isWeb(){return window.socketUrl!==void 0}waitForSocketLib(){return this._waitForSocketPromise?this._waitForSocketPromise:(this._waitForSocketPromise=new Promise(async(e,r)=>{if(typeof window.io>"u"&&typeof window.iob>"u")if(typeof window.registerSocketOnLoad=="function")window.registerSocketOnLoad(()=>e());else{for(let n=1;n<=30;n++){if(window.io||window.iob)return e();await fk(100)}r(new Error("Socket library could not be loaded!"))}else e()}),this._waitForSocketPromise)}async startSocket(){if(this._socket)return;let e=this.props.host,r=this.props.port,n=(this.props.protocol||window.location.protocol).replace(":",""),o=window.location.pathname;if(window.location.hostname==="iobroker.net"||window.location.hostname==="iobroker.pro")o="";else{if(window.socketUrl){const l=new URL(window.socketUrl);e=l.hostname,r=l.port,n=l.protocol.replace(":","")}const a=o.lastIndexOf("/");if(a!==-1&&(o=o.substring(0,a+1)),ds.isWeb()){const l=o.split("/");l.length>2&&(l.pop(),l.pop(),k7.includes(l[l.length-1])&&l.pop(),o=l.join("/"),o.endsWith("/")||(o+="/"))}}const s=r?`${n}://${e}:${r}`:`${n}://${e}`;return this._socket=(window.io||window.iob).connect(s,{path:o.endsWith("/")?`${o}socket.io`:`${o}/socket.io`,query:"ws=true",name:this.props.name,timeout:this.props.ioTimeout,uuid:this.props.uuid,token:this.props.token}),this._socket.on("connect",a=>{this.onReadyDone=!1,a!==!0?(this.connected=!0,setTimeout(()=>this.getVersion().then(l=>{const[u,p,h]=l.version.split(".");parseInt(u,10)*1e4+parseInt(p,10)*100+parseInt(h,10)<40102?(this._authTimer=null,this.onPreConnect(!1,!1)):this._socket.emit("authenticate",(_,g)=>this.onPreConnect(_,g))}).catch(l=>this.onError({message:l.toString(),operation:"getVersion"})),500)):this._socket.emit("authenticate",(l,u)=>{this.onPreConnect(l,u)})}),this._socket.on("reconnect",()=>{var a,l;this.onReadyDone=!1,(l=(a=this.props).onProgress)==null||l.call(a,Ao.READY),this.connected=!0,this.waitForRestart?window.location.reload():(this._subscribe(!0),this.onConnectionHandlers.forEach(u=>u(!0)))}),this._socket.on("disconnect",()=>{var a,l;this.onReadyDone=!1,this.connected=!1,this.subscribed=!1,(l=(a=this.props).onProgress)==null||l.call(a,Ao.CONNECTING),this.onConnectionHandlers.forEach(u=>u(!1))}),this._socket.on("reauthenticate",()=>this.authenticate()),this._socket.on("log",a=>{var l,u;(u=(l=this.props).onLog)==null||u.call(l,a),this.onLogHandlers.forEach(p=>p(a))}),this._socket.on("error",a=>{let l;a==null?l="":typeof a.toString=="function"?l=a.toString():(l=JSON.stringify(a),console.error(`Received strange error: ${l}`)),l.includes("User not authorized")?this.authenticate():l.includes("websocket error")?(console.error(`Socket Error => reload: ${a}`),window.location.reload()):console.error(`Socket Error: ${a}`)}),this._socket.on("connect_error",a=>console.error(`Connect error: ${a}`)),this._socket.on("permissionError",a=>this.onError({message:"no permission",operation:a.operation,type:a.type,id:a.id||""})),this._socket.on("objectChange",(a,l)=>{setTimeout(()=>this.objectChange(a,l),0)}),this._socket.on("stateChange",(a,l)=>{setTimeout(()=>this.stateChange(a,l),0)}),this._socket.on("im",(a,l,u)=>{setTimeout(()=>this.instanceMessage(a,l,u),0)}),this._socket.on("fileChange",(a,l,u)=>{setTimeout(()=>this.fileChange(a,l,u),0)}),this._socket.on("cmdStdout",(a,l)=>{var u;(u=this.onCmdStdoutHandler)==null||u.call(this,a,l)}),this._socket.on("cmdStderr",(a,l)=>{var u;(u=this.onCmdStderrHandler)==null||u.call(this,a,l)}),this._socket.on("cmdExit",(a,l)=>{var u;(u=this.onCmdExitHandler)==null||u.call(this,a,l)}),Promise.resolve()}onPreConnect(e,r){var n,o;this._authTimer&&(clearTimeout(this._authTimer),this._authTimer=null),this.connected=!0,this.isSecure=r,this.waitForRestart?window.location.reload():(this.firstConnect?this.loadData().catch(s=>console.error(`Cannot load data: ${s}`)):(o=(n=this.props).onProgress)==null||o.call(n,Ao.READY),this._subscribe(!0),this.onConnectionHandlers.forEach(s=>s(!0))),this._waitForFirstConnectionPromise.resolve()}static isCloud(){return window.location.hostname.includes("amazonaws.com")||window.location.hostname.includes("iobroker.in")?!0:typeof window.socketUrl>"u"?!1:window.socketUrl.includes("iobroker.in")||window.socketUrl.includes("amazonaws")}isConnected(){return this.connected}waitForFirstConnection(){return this._waitForFirstConnectionPromise}async getUserPermissions(){return this.request({commandTimeout:!1,executor:(e,r)=>{this._socket.emit("getUserPermissions",(n,o)=>{n?r(n):e(o)})}})}async loadData(){if(this.loaded)return;const e=10;for(let r=1;r<=e;r++){if(this.doLoadData().catch(n=>console.error(`Cannot load data: ${n}`)),this.loaded)return;await fk(ds.isCloud()?5e3:1e3)}}async doLoadData(){var e,r,n,o,s,a,l,u,p;if(!this.loaded){if(!this.props.doNotLoadACL)try{this.acl=await this.getUserPermissions()}catch(h){this.onError(`Cannot read user permissions: ${h}`);return}try{this.props.admin5only&&!ds.isWeb()&&(!window.vendorPrefix||window.vendorPrefix==="@@vendorPrefix@@")?this._systemConfig=await this.getCompactSystemConfig():this._systemConfig=await this.getSystemConfig()}catch(h){this.onError(`Cannot read system config: ${h}`);return}this._systemConfig&&(this.systemLang=(e=this._systemConfig.common)==null?void 0:e.language,this.systemLang||(this.systemLang=window.navigator.userLanguage||window.navigator.language,/^(en|de|ru|pt|nl|fr|it|es|pl|uk)-?/.test(this.systemLang)?this.systemLang=this.systemLang.substring(0,2):/^(en|de|ru|pt|nl|fr|it|es|pl|uk|zh-cn)$/.test(this.systemLang)||(this.systemLang="en"),this._systemConfig.common.language=this.systemLang)),(n=(r=this.props).onLanguage)==null||n.call(r,this.systemLang),this.loaded=!0,(s=(o=this.props).onProgress)==null||s.call(o,Ao.CONNECTED),this.firstConnect=!1,this.props.doNotLoadAllObjects?this.props.admin5only?this.objects={}:this.objects={"system.config":this._systemConfig}:this.objects=await this.getObjects(),(l=(a=this.props).onProgress)==null||l.call(a,Ao.READY),this.onReadyDone||(this.onReadyDone=!0,(p=(u=this.props).onReady)==null||p.call(u,this.objects))}}authenticate(){window.location.search.includes("&href=")?window.location.href=`${window.location.protocol}//${window.location.host}${window.location.pathname}${window.location.search}${window.location.hash}`:window.location.href=`${window.location.protocol}//${window.location.host}${window.location.pathname}?login&href=${window.location.search}${window.location.hash}`}async subscribeState(...e){let r,n,o;e.length===3?[r,n,o]=e:([r,o]=e,n=!1);let s;if(Array.isArray(r)?s=r:s=[r],typeof o!="function")throw new Error("The state change handler must be a function!");const a=[];for(let l=0;ll.includes("*"))){let l;for(let u=0;uconsole.error(`Cannot call state change handler: ${_}`))}}}else try{const l=await(ds.isWeb()?this.getStates(s):this.getForeignStates(s));if(l)for(const[u,p]of Object.entries(l)){const h=o(u,p);h instanceof Promise&&h.catch(d=>console.error(`Cannot call state change handler: ${d}`))}}catch(l){console.error(`Cannot getState "${s.join(", ")}": ${l.message}`);return}}async subscribeStateAsync(e,r){return this.subscribeState(e,r)}unsubscribeState(e,r){var s;let n;Array.isArray(e)?n=e:n=[e];const o=[];for(let a=0;a{try{const h=p(e,r,n);h instanceof Promise&&h.catch(d=>console.error(`Cannot call object change handler: ${d}`))}catch(h){console.error(`Error by callback of objectChange: ${h}`)}});if(o){const l=(a=(s=this.props).onObjectChange)==null?void 0:a.call(s,e,r);l instanceof Promise&&l.catch(u=>console.error(`Cannot call object change handler: ${u}`))}}stateChange(e,r){for(const n of Object.values(this.statesSubscribes))if(n.reg.test(e))for(const o of n.cbs)try{const s=o(e,r??null);s instanceof Promise&&s.catch(a=>console.error(`Cannot call state change handler: ${a}`))}catch(s){console.error(`Error by callback of stateChanged: ${s}`)}}instanceMessage(e,r,n){var o;(o=this._instanceSubscriptions[r])==null||o.forEach(s=>{if(s.messageType===e){const a=s.callback(n,r,e);a instanceof Promise&&a.catch(l=>console.error(`Cannot call instance message handler: ${l}`))}})}fileChange(e,r,n){for(const o of Object.values(this.filesSubscribes))if(o.regId.test(e)&&o.regFilePattern.test(r))for(const s of o.cbs)try{s(e,r,n)}catch(a){console.error(`Error by callback of fileChange: ${a}`)}}async subscribeFiles(e,r,n){if(typeof n!="function")throw new Error("The state change handler must be a function!");let o;Array.isArray(r)?o=r:o=[r];const s=[];for(let a=0;a{const d={elapsed:!1,clearTimeout:()=>{}};let _;n!==!1&&(_=setTimeout(()=>{d.elapsed=!0,o==null||o(),e&&this._promises[e]instanceof Promise&&delete this._promises[e],h(new Error(ea.TIMEOUT))},n??this.props.cmdTimeout),d.clearTimeout=()=>{clearTimeout(_)});try{await l(p,h,d)}catch(g){e&&this._promises[e]instanceof Promise&&delete this._promises[e],h(new Error(g.toString()))}});return e&&(this._promises[e]=u),u}resetCache(e,r){r?Object.keys(this._promises).filter(n=>n.startsWith(e)).forEach(n=>{delete this._promises[n]}):delete this._promises[e]}getStates(e){return this.request({commandTimeout:!1,executor:(r,n)=>{this._socket.emit("getStates",e,(o,s)=>{this.states=s??{},o?n(o):r(this.states)})}})}getState(e){return this.request({commandTimeout:!1,executor:(r,n)=>{if(e&&e===this.ignoreState){r(this.simStates[e]||{val:null,ack:!0});return}this._socket.emit("getState",e,(o,s)=>{o?n(o):r(s)})}})}getBinaryState(e){return this.request({commandTimeout:!1,executor:(r,n)=>{this._socket.emit("getBinaryState",e,(o,s)=>{o?n(o):r(s)})}})}setBinaryState(e,r){return this.request({commandTimeout:!1,executor:(n,o)=>{this._socket.emit("setBinaryState",e,r,s=>{s?o(s):n()})}})}setState(e,r,n){return typeof n=="boolean"&&(r={val:r,ack:n}),this.request({commandTimeout:!1,executor:(o,s)=>{if(e&&e===this.ignoreState){let a;if(typeof n=="boolean"||typeof r=="object"&&r.val!==void 0?a=r:a={val:r,ack:!1,ts:Date.now(),lc:Date.now(),from:"system.adapter.vis.0"},this.simStates[e]=a,this.statesSubscribes[e])for(const l of this.statesSubscribes[e].cbs)try{const u=l(e,a);u instanceof Promise&&u.catch(p=>console.error(`Cannot call state change handler: ${p}`))}catch(u){console.error(`Error by callback of stateChanged: ${u}`)}o();return}this._socket.emit("setState",e,r,a=>{a?s(a):o()})}})}getObjects(e,r){return this.request({commandTimeout:!1,executor:(n,o)=>{if(!e&&this.objects){n(this.objects);return}this._socket.emit(ds.isWeb()?"getObjects":"getAllObjects",(s,a)=>{var l,u;r||(u=(l=this.props).onProgress)==null||u.call(l,Ao.OBJECTS_LOADED),s?o(s):(this.objects=a??{},n(this.objects))})}})}getObjectsById(e){return this.request({commandTimeout:!1,executor:(r,n)=>{this._socket.emit("getObjects",e,(o,s)=>{o?n(o):r(s)})}})}_subscribe(e){var r,n;if(e&&!this.subscribed){this.subscribed=!0,(r=this.props.autoSubscribes)!=null&&r.length&&this._socket.emit("subscribeObjects",this.props.autoSubscribes);const o=Object.keys(this.objectsSubscribes);o.length&&this._socket.emit("subscribeObjects",o),Object.keys(this.objectsSubscribes).forEach(s=>this._socket.emit("subscribeObjects",s)),this.props.autoSubscribeLog&&this._socket.emit("requireLog",!0),Object.keys(this.statesSubscribes).forEach(s=>this._socket.emit("subscribe",s)),Object.keys(this.filesSubscribes).forEach(s=>{const[a,l]=s.split("$%$");this._socket.emit("subscribeFiles",a,l)})}else if(!e&&this.subscribed){this.subscribed=!1,(n=this.props.autoSubscribes)!=null&&n.length&&this._socket.emit("unsubscribeObjects",this.props.autoSubscribes);const o=Object.keys(this.objectsSubscribes);o.length&&this._socket.emit("unsubscribeObjects",o),this.props.autoSubscribeLog&&this._socket.emit("requireLog",!1),Object.keys(this.statesSubscribes).forEach(s=>this._socket.emit("unsubscribe",s)),Object.keys(this.filesSubscribes).forEach(s=>{const[a,l]=s.split("$%$");this._socket.emit("unsubscribeFiles",a,l)})}}requireLog(e){return this.request({commandTimeout:!1,executor:(r,n)=>{this._socket.emit("requireLog",e,o=>{o?n(o):r()})}})}delObject(e,r=!1){return this.request({commandTimeout:!1,executor:(n,o)=>{this._socket.emit("delObject",e,{maintenance:r},s=>{s?o(s):n()})}})}delObjects(e,r){return this.request({commandTimeout:!1,executor:(n,o)=>{this._socket.emit("delObjects",e,{maintenance:r},s=>{s?o(s):n()})}})}setObject(e,r){return r?(r=JSON.parse(JSON.stringify(r)),delete r.from,delete r.user,delete r.ts,this.request({commandTimeout:!1,executor:(n,o)=>{this._socket.emit("setObject",e,r,s=>{s?o(s):n()})}})):Promise.reject(new Error("Null object is not allowed"))}getObject(e){return this.request({commandTimeout:!1,executor:(r,n)=>{if(e&&e===this.ignoreState){r({_id:this.ignoreState,type:"state",common:{name:"ignored state",type:"mixed"}});return}this._socket.emit("getObject",e,(o,s)=>{o?n(o):r(s)})}})}sendTo(e,r,n){return this.request({commandTimeout:!1,executor:o=>{this._socket.emit("sendTo",e,r,n,s=>{o(s)})}})}extendObject(e,r){return r?(r=JSON.parse(JSON.stringify(r)),delete r.from,delete r.user,delete r.ts,this.request({commandTimeout:!1,executor:(n,o)=>{this._socket.emit("extendObject",e,r,s=>{s?o(s):n()})}})):Promise.reject(new Error("Null object is not allowed"))}registerLogHandler(e){this.onLogHandlers.includes(e)||this.onLogHandlers.push(e)}unregisterLogHandler(e){const r=this.onLogHandlers.indexOf(e);r!==-1&&this.onLogHandlers.splice(r,1)}registerConnectionHandler(e){this.onConnectionHandlers.includes(e)||this.onConnectionHandlers.push(e)}unregisterConnectionHandler(e){const r=this.onConnectionHandlers.indexOf(e);r!==-1&&this.onConnectionHandlers.splice(r,1)}registerCmdStdoutHandler(e){this.onCmdStdoutHandler=e}unregisterCmdStdoutHandler(){this.onCmdStdoutHandler=void 0}registerCmdStderrHandler(e){this.onCmdStderrHandler=e}unregisterCmdStderrHandler(){this.onCmdStderrHandler=void 0}registerCmdExitHandler(e){this.onCmdExitHandler=e}unregisterCmdExitHandler(){this.onCmdExitHandler=void 0}getEnums(e,r){return this.request({cacheKey:`enums_${e||"all"}`,forceUpdate:r,commandTimeout:!1,executor:(n,o)=>{this._socket.emit("getObjectView","system","enum",{startkey:`enum.${e||""}`,endkey:e?`enum.${e}.香`:"enum.香"},(s,a)=>{if(s)o(s);else{const l={};if(a)for(let u=0;u{n=n||"",o=o||"香",this._socket.emit("getObjectView",e,r,{startkey:n,endkey:o},(l,u)=>{if(l)a(l);else{const p={};if(u&&u.rows)for(let h=0;h{this._socket.emit("getObjectView","system","meta",{startkey:"",endkey:"香"},(n,o)=>{var s;n?r(n):e((s=o.rows)==null?void 0:s.map(a=>a.value).filter(a=>!!a))})}})}readDir(e,r){return this.request({commandTimeout:!1,executor:(n,o)=>{this._socket.emit("readDir",e,r,(s,a)=>{s?o(s):n(a)})}})}readFile(e,r,n){return this.request({commandTimeout:!1,executor:(o,s)=>{this._socket.emit(n?"readFile64":"readFile",e,r,(a,l,u)=>{a?s(a):o({file:l,mimeType:u})})}})}writeFile64(e,r,n){return this.request({commandTimeout:!1,executor:(o,s)=>{if(typeof n=="string")this._socket.emit("writeFile",e,r,n,a=>{a?s(a):o()});else{const a=btoa(new Uint8Array(n).reduce((l,u)=>l+String.fromCharCode(u),""));this._socket.emit("writeFile64",e,r,a,l=>{l?s(l):o()})}}})}deleteFile(e,r){return this.request({commandTimeout:!1,executor:(n,o)=>{this._socket.emit("deleteFile",e,r,s=>{s?o(s):n()})}})}deleteFolder(e,r){return this.request({commandTimeout:!1,executor:(n,o)=>{this._socket.emit("deleteFolder",e,r,s=>{s?o(s):n()})}})}rename(e,r,n){return this.request({commandTimeout:!1,executor:(o,s)=>{this._socket.emit("rename",e,r,n,a=>{a?s(a):o()})}})}renameFile(e,r,n){return this.request({commandTimeout:!1,executor:(o,s)=>{this._socket.emit("renameFile",e,r,n,a=>{a?s(a):o()})}})}cmdExec(e,r,n,o){return this.request({commandTimeout:o,executor:(s,a,l)=>{e=pk(e),this._socket.emit("cmdExec",e,n,r,u=>{l.elapsed||(l.clearTimeout(),u?a(u):s())})}})}getSystemConfig(e){return this.request({cacheKey:"systemConfig",forceUpdate:e,commandTimeout:!1,executor:async r=>{let n=await this.getObject("system.config");n??(n={}),n.common??(n.common={}),n.native??(n.native={}),r(n)}})}getCompactSystemConfig(e){return this.request({cacheKey:"systemConfigCommon",forceUpdate:e,commandTimeout:!1,requireAdmin:!0,executor:(r,n)=>{this._socket.emit("getCompactSystemConfig",(o,s)=>{o?n(o):(s??(s={}),s.common??(s.common={}),s.native??(s.native={}),r(s))})}})}getForeignStates(e){return this.request({commandTimeout:!1,executor:(r,n)=>{this._socket.emit("getForeignStates",e||"*",(o,s)=>{o?n(o):r(s??{})})}})}getForeignObjects(e,r){return this.request({commandTimeout:!1,executor:(n,o)=>{this._socket.emit("getForeignObjects",e||"*",r,(s,a)=>{s?o(s):n(a)})}})}setSystemConfig(e){return this.setObject("system.config",e)}getRawSocket(){return this._socket}getHistory(e,r){return this.request({commandTimeout:!1,executor:(n,o)=>{this._socket.emit("getHistory",e,r,(s,a)=>{s?o(s):n(a)})}})}getHistoryEx(e,r){return this.request({commandTimeout:!1,executor:(n,o)=>{this._socket.emit("getHistory",e,r,(s,a,l,u)=>{s?o(s):n({values:a,sessionId:u,step:l})})}})}getIpAddresses(e,r){return e=pk(e),this.request({cacheKey:`IPs_${e}`,forceUpdate:r,commandTimeout:!1,executor:async n=>{const o=await this.getObject(e);n((o==null?void 0:o.common.address)??[])}})}getVersion(e){return this.request({cacheKey:"version",forceUpdate:e,commandTimeout:!1,executor:(r,n)=>{this._socket.emit("getVersion",(o,s,a)=>{o&&!s&&typeof o=="string"&&o.match(/\d+\.\d+\.\d+/)?r({version:o,serverName:"socketio"}):o?n(o):r({version:s,serverName:a})})}})}getWebServerName(){return this.request({cacheKey:"webName",commandTimeout:!1,executor:(e,r)=>{this._socket.emit("getAdapterName",(n,o)=>{n?r(n):e(o)})}})}fileExists(e,r){return this.request({commandTimeout:!1,executor:(n,o)=>{this._socket.emit("fileExists",e,r,(s,a)=>{s?o(s):n(!!a)})}})}getCurrentUser(){return this.request({commandTimeout:!1,executor:e=>{this._socket.emit("authEnabled",(r,n)=>{e(n)})}})}getUuid(){return this.request({cacheKey:"uuid",commandTimeout:!1,executor:async e=>{var n;const r=await this.getObject("system.meta.uuid");e((n=r==null?void 0:r.native)==null?void 0:n.uuid)}})}checkFeatureSupported(e,r){return this.request({cacheKey:`supportedFeatures_${e}`,forceUpdate:r,commandTimeout:!1,executor:(n,o)=>{this._socket.emit("checkFeatureSupported",e,(s,a)=>{s?o(s):n(a)})}})}getAdapterInstances(e,r){return typeof e=="boolean"&&(r=e,e=""),e=e||"",this.request({cacheKey:`instances_${e}`,forceUpdate:r,commandTimeout:!1,executor:async n=>{const o=e?`system.adapter.${e}.`:"system.adapter.",s=`${o}香`,a=await this.getObjectViewSystem("instance",o,s),l=Object.values(a);n(e?l.filter(u=>u.common.name===e):l)}})}getAdapters(e,r){return typeof e=="boolean"&&(r=e,e=""),e=e||"",this.request({cacheKey:`adapter_${e}`,forceUpdate:r,commandTimeout:!1,executor:async n=>{const o=await this.getObjectViewSystem("adapter",`system.adapter.${e||""}`,`system.adapter.${e||"香"}`),s=Object.values(o);n(e?s.filter(a=>a.common.name===e):s)}})}getGroups(e){return this.request({cacheKey:"groups",forceUpdate:e,commandTimeout:!1,executor:(r,n)=>{this._socket.emit("getObjectView","system","group",{startkey:"system.group.",endkey:"system.group.香"},(o,s)=>{o?n(o):r(E7(s))})}})}logout(){return this.request({commandTimeout:!1,executor:(e,r)=>{this._socket.emit("logout",n=>{n?r(n):e(null)})}})}subscribeOnInstance(e,r,n,o){return this.request({commandTimeout:!1,executor:(s,a)=>{this._socket.emit("clientSubscribe",e,r,n,(l,u)=>{l?a(l):u&&(u.error?a(u.error):(e.startsWith("system.adapter.")||(e=`system.adapter.${e}`),this._instanceSubscriptions[e]=this._instanceSubscriptions[e]||[],this._instanceSubscriptions[e].find(p=>p.messageType===r&&p.callback===o)||this._instanceSubscriptions[e].push({messageType:r,callback:o}),s(u)))})}})}unsubscribeFromInstance(e,r,n){var a;e.startsWith("system.adapter.")||(e=`system.adapter.${e}`);let o;const s=[];do{o=!1;const l=(a=this._instanceSubscriptions[e])==null?void 0:a.findIndex(u=>(!r||u.messageType===r)&&(!n||u.callback===n));if(l!=null&&l!==-1){o=!0;const u=this._instanceSubscriptions[e][l].messageType;this._instanceSubscriptions[e].splice(l,1),this._instanceSubscriptions[e].length||delete this._instanceSubscriptions[e],this._instanceSubscriptions[e]&&this._instanceSubscriptions[e].find(h=>h.messageType===u)||s.push(this.request({commandTimeout:!1,executor:(h,d)=>{this._socket.emit("clientUnsubscribe",e,r,(_,g)=>_?d(_):h(g))}}))}}while(o&&(!n||!r));return s.length?Promise.all(s).then(l=>!!l.find(u=>u)):Promise.resolve(!1)}log(e,r){return e?this.request({commandTimeout:!1,executor:n=>(this._socket.emit("log",e,r),n(null))}):Promise.resolve(null)}setStateToIgnore(e){this.ignoreState=e}}const Wt=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Va="8.52.0",Nt=globalThis;function mh(t,e,r){const n=Nt,o=n.__SENTRY__=n.__SENTRY__||{},s=o[Va]=o[Va]||{};return s[t]||(s[t]=e())}const si=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,$7="Sentry Logger ",Jb=["debug","info","warn","error","log","assert","trace"],Df={};function ai(t){if(!("console"in Nt))return t();const e=Nt.console,r={},n=Object.keys(Df);n.forEach(o=>{const s=Df[o];r[o]=e[o],e[o]=s});try{return t()}finally{n.forEach(o=>{e[o]=r[o]})}}function T7(){let t=!1;const e={enable:()=>{t=!0},disable:()=>{t=!1},isEnabled:()=>t};return si?Jb.forEach(r=>{e[r]=(...n)=>{t&&ai(()=>{Nt.console[r](`${$7}[${r}]:`,...n)})}}):Jb.forEach(r=>{e[r]=()=>{}}),e}const ct=mh("logger",T7),NM=50,Xa="?",hk=/\(error: (.*)\)/,mk=/captureMessage|captureException/;function MM(...t){const e=t.sort((r,n)=>r[0]-n[0]).map(r=>r[1]);return(r,n=0,o=0)=>{const s=[],a=r.split(` +`);for(let l=n;l1024)continue;const p=hk.test(u)?u.replace(hk,"$1"):u;if(!p.match(/\S*Error: /)){for(const h of e){const d=h(p);if(d){s.push(d);break}}if(s.length>=NM+o)break}}return D7(s.slice(o))}}function O7(t){return Array.isArray(t)?MM(...t):t}function D7(t){if(!t.length)return[];const e=Array.from(t);return/sentryWrapped/.test(jp(e).function||"")&&e.pop(),e.reverse(),mk.test(jp(e).function||"")&&(e.pop(),mk.test(jp(e).function||"")&&e.pop()),e.slice(0,NM).map(r=>({...r,filename:r.filename||jp(e).filename,function:r.function||Xa}))}function jp(t){return t[t.length-1]||{}}const J_="";function la(t){try{return!t||typeof t!="function"?J_:t.name||J_}catch{return J_}}function _k(t){const e=t.exception;if(e){const r=[];try{return e.values.forEach(n=>{n.stacktrace.frames&&r.push(...n.stacktrace.frames)}),r}catch{return}}}const uf={},gk={};function ii(t,e){uf[t]=uf[t]||[],uf[t].push(e)}function li(t,e){if(!gk[t]){gk[t]=!0;try{e()}catch(r){si&&ct.error(`Error while instrumenting ${t}`,r)}}}function _o(t,e){const r=t&&uf[t];if(r)for(const n of r)try{n(e)}catch(o){si&&ct.error(`Error while triggering instrumentation handler. +Type: ${t} +Name: ${la(n)} +Error:`,o)}}let Y_=null;function N7(t){const e="error";ii(e,t),li(e,M7)}function M7(){Y_=Nt.onerror,Nt.onerror=function(t,e,r,n,o){return _o("error",{column:n,error:o,line:r,msg:t,url:e}),Y_?Y_.apply(this,arguments):!1},Nt.onerror.__SENTRY_INSTRUMENTED__=!0}let K_=null;function A7(t){const e="unhandledrejection";ii(e,t),li(e,P7)}function P7(){K_=Nt.onunhandledrejection,Nt.onunhandledrejection=function(t){return _o("unhandledrejection",t),K_?K_.apply(this,arguments):!0},Nt.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function _h(){return Ow(Nt),Nt}function Ow(t){const e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||Va,e[Va]=e[Va]||{}}const AM=Object.prototype.toString;function Dw(t){switch(AM.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return Ja(t,Error)}}function Zl(t,e){return AM.call(t)===`[object ${e}]`}function PM(t){return Zl(t,"ErrorEvent")}function yk(t){return Zl(t,"DOMError")}function I7(t){return Zl(t,"DOMException")}function fs(t){return Zl(t,"String")}function Nw(t){return typeof t=="object"&&t!==null&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function Mw(t){return t===null||Nw(t)||typeof t!="object"&&typeof t!="function"}function Bl(t){return Zl(t,"Object")}function gh(t){return typeof Event<"u"&&Ja(t,Event)}function R7(t){return typeof Element<"u"&&Ja(t,Element)}function j7(t){return Zl(t,"RegExp")}function yh(t){return!!(t&&t.then&&typeof t.then=="function")}function F7(t){return Bl(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function Ja(t,e){try{return t instanceof e}catch{return!1}}function IM(t){return!!(typeof t=="object"&&t!==null&&(t.__isVue||t._isVue))}const Aw=Nt,z7=80;function RM(t,e={}){if(!t)return"";try{let r=t;const n=5,o=[];let s=0,a=0;const l=" > ",u=l.length;let p;const h=Array.isArray(e)?e:e.keyAttrs,d=!Array.isArray(e)&&e.maxStringLength||z7;for(;r&&s++1&&a+o.length*u+p.length>=d));)o.push(p),a+=p.length,r=r.parentNode;return o.reverse().join(l)}catch{return""}}function L7(t,e){const r=t,n=[];if(!r||!r.tagName)return"";if(Aw.HTMLElement&&r instanceof HTMLElement&&r.dataset){if(r.dataset.sentryComponent)return r.dataset.sentryComponent;if(r.dataset.sentryElement)return r.dataset.sentryElement}n.push(r.tagName.toLowerCase());const o=e&&e.length?e.filter(a=>r.getAttribute(a)).map(a=>[a,r.getAttribute(a)]):null;if(o&&o.length)o.forEach(a=>{n.push(`[${a[0]}="${a[1]}"]`)});else{r.id&&n.push(`#${r.id}`);const a=r.className;if(a&&fs(a)){const l=a.split(/\s+/);for(const u of l)n.push(`.${u}`)}}const s=["aria-label","type","name","title","alt"];for(const a of s){const l=r.getAttribute(a);l&&n.push(`[${a}="${l}"]`)}return n.join("")}function B7(){try{return Aw.document.location.href}catch{return""}}function W7(t){if(!Aw.HTMLElement)return null;let e=t;const r=5;for(let n=0;nU7(t,n,r))}function Dn(t,e,r){if(!(e in t))return;const n=t[e],o=r(n);typeof o=="function"&&jM(o,n);try{t[e]=o}catch{si&&ct.log(`Failed to replace method "${e}" in object`,t)}}function Ya(t,e,r){try{Object.defineProperty(t,e,{value:r,writable:!0,configurable:!0})}catch{si&&ct.log(`Failed to add non-enumerable property "${e}" to object`,t)}}function jM(t,e){try{const r=e.prototype||{};t.prototype=e.prototype=r,Ya(t,"__sentry_original__",e)}catch{}}function Pw(t){return t.__sentry_original__}function FM(t){if(Dw(t))return{message:t.message,name:t.name,stack:t.stack,...wk(t)};if(gh(t)){const e={type:t.type,target:bk(t.target),currentTarget:bk(t.currentTarget),...wk(t)};return typeof CustomEvent<"u"&&Ja(t,CustomEvent)&&(e.detail=t.detail),e}else return t}function bk(t){try{return R7(t)?RM(t):Object.prototype.toString.call(t)}catch{return""}}function wk(t){if(typeof t=="object"&&t!==null){const e={};for(const r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}else return{}}function H7(t,e=40){const r=Object.keys(FM(t));r.sort();const n=r[0];if(!n)return"[object has no keys]";if(n.length>=e)return Nl(n,e);for(let o=r.length;o>0;o--){const s=r.slice(0,o).join(", ");if(!(s.length>e))return o===r.length?s:Nl(s,e)}return""}function Gn(t){return Yb(t,new Map)}function Yb(t,e){if(q7(t)){const r=e.get(t);if(r!==void 0)return r;const n={};e.set(t,n);for(const o of Object.getOwnPropertyNames(t))typeof t[o]<"u"&&(n[o]=Yb(t[o],e));return n}if(Array.isArray(t)){const r=e.get(t);if(r!==void 0)return r;const n=[];return e.set(t,n),t.forEach(o=>{n.push(Yb(o,e))}),n}return t}function q7(t){if(!Bl(t))return!1;try{const e=Object.getPrototypeOf(t).constructor.name;return!e||e==="Object"}catch{return!0}}const zM=1e3;function sd(){return Date.now()/zM}function V7(){const{performance:t}=Nt;if(!t||!t.now)return sd;const e=Date.now()-t.now(),r=t.timeOrigin==null?e:t.timeOrigin;return()=>(r+t.now())/zM}const hs=V7();(()=>{const{performance:t}=Nt;if(!t||!t.now)return;const e=3600*1e3,r=t.now(),n=Date.now(),o=t.timeOrigin?Math.abs(t.timeOrigin+r-n):e,s=oMath.random()*16;try{if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");e&&e.getRandomValues&&(r=()=>{const n=new Uint8Array(1);return e.getRandomValues(n),n[0]})}catch{}return("10000000100040008000"+1e11).replace(/[018]/g,n=>(n^(r()&15)>>n/4).toString(16))}function LM(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function Ys(t){const{message:e,event_id:r}=t;if(e)return e;const n=LM(t);return n?n.type&&n.value?`${n.type}: ${n.value}`:n.type||n.value||r||"":r||""}function Kb(t,e,r){const n=t.exception=t.exception||{},o=n.values=n.values||[],s=o[0]=o[0]||{};s.value||(s.value=e||""),s.type||(s.type="Error")}function Wl(t,e){const r=LM(t);if(!r)return;const n={type:"generic",handled:!0},o=r.mechanism;if(r.mechanism={...n,...o,...e},e&&"data"in e){const s={...o&&o.data,...e.data};r.mechanism.data=s}}function xk(t){if(G7(t))return!0;try{Ya(t,"__sentry_captured__",!0)}catch{}return!1}function G7(t){try{return t.__sentry_captured__}catch{}}var cs;(function(t){t[t.PENDING=0]="PENDING";const r=1;t[t.RESOLVED=r]="RESOLVED";const n=2;t[t.REJECTED=n]="REJECTED"})(cs||(cs={}));function Ka(t){return new Vn(e=>{e(t)})}function Nf(t){return new Vn((e,r)=>{r(t)})}class Vn{constructor(e){Vn.prototype.__init.call(this),Vn.prototype.__init2.call(this),Vn.prototype.__init3.call(this),Vn.prototype.__init4.call(this),this._state=cs.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(r){this._reject(r)}}then(e,r){return new Vn((n,o)=>{this._handlers.push([!1,s=>{if(!e)n(s);else try{n(e(s))}catch(a){o(a)}},s=>{if(!r)o(s);else try{n(r(s))}catch(a){o(a)}}]),this._executeHandlers()})}catch(e){return this.then(r=>r,e)}finally(e){return new Vn((r,n)=>{let o,s;return this.then(a=>{s=!1,o=a,e&&e()},a=>{s=!0,o=a,e&&e()}).then(()=>{if(s){n(o);return}r(o)})})}__init(){this._resolve=e=>{this._setResult(cs.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(cs.REJECTED,e)}}__init3(){this._setResult=(e,r)=>{if(this._state===cs.PENDING){if(yh(r)){r.then(this._resolve,this._reject);return}this._state=e,this._value=r,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===cs.PENDING)return;const e=this._handlers.slice();this._handlers=[],e.forEach(r=>{r[0]||(this._state===cs.RESOLVED&&r[1](this._value),this._state===cs.REJECTED&&r[2](this._value),r[0]=!0)})}}}function X7(t){const e=hs(),r={sid:Jn(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>Y7(r)};return Ul(r,t),r}function Ul(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),!t.did&&!e.did&&(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||hs(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=e.sid.length===32?e.sid:Jn()),e.init!==void 0&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),typeof e.started=="number"&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if(typeof e.duration=="number")t.duration=e.duration;else{const r=t.timestamp-t.started;t.duration=r>=0?r:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),typeof e.errors=="number"&&(t.errors=e.errors),e.status&&(t.status=e.status)}function J7(t,e){let r={};t.status==="ok"&&(r={status:"exited"}),Ul(t,r)}function Y7(t){return Gn({sid:`${t.sid}`,init:t.init,started:new Date(t.started*1e3).toISOString(),timestamp:new Date(t.timestamp*1e3).toISOString(),status:t.status,errors:t.errors,did:typeof t.did=="number"||typeof t.did=="string"?`${t.did}`:void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}})}function Sk(){return Jn()}function Zb(){return Jn().substring(16)}function bh(t,e,r=2){if(!e||typeof e!="object"||r<=0)return e;if(t&&e&&Object.keys(e).length===0)return t;const n={...t};for(const o in e)Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=bh(n[o],e[o],r-1));return n}const Qb="_sentrySpan";function Ck(t,e){e?Ya(t,Qb,e):delete t[Qb]}function Ek(t){return t[Qb]}const K7=100;class Iw{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:Sk(),spanId:Zb()}}clone(){const e=new Iw;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,Ck(e,Ek(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&Ul(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,r){return this._tags={...this._tags,[e]:r},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,r){return this._extra={...this._extra,[e]:r},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,r){return r===null?delete this._contexts[e]:this._contexts[e]=r,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const r=typeof e=="function"?e(this):e,[n,o]=r instanceof Za?[r.getScopeData(),r.getRequestSession()]:Bl(r)?[e,e.requestSession]:[],{tags:s,extra:a,user:l,contexts:u,level:p,fingerprint:h=[],propagationContext:d}=n||{};return this._tags={...this._tags,...s},this._extra={...this._extra,...a},this._contexts={...this._contexts,...u},l&&Object.keys(l).length&&(this._user=l),p&&(this._level=p),h.length&&(this._fingerprint=h),d&&(this._propagationContext=d),o&&(this._requestSession=o),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,Ck(this,void 0),this._attachments=[],this.setPropagationContext({traceId:Sk()}),this._notifyScopeListeners(),this}addBreadcrumb(e,r){const n=typeof r=="number"?r:K7;if(n<=0)return this;const o={timestamp:sd(),...e};return this._breadcrumbs.push(o),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client&&this._client.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:Ek(this)}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=bh(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext={spanId:Zb(),...e},this}getPropagationContext(){return this._propagationContext}captureException(e,r){const n=r&&r.event_id?r.event_id:Jn();if(!this._client)return ct.warn("No client configured on scope - will not capture exception!"),n;const o=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:o,...r,event_id:n},this),n}captureMessage(e,r,n){const o=n&&n.event_id?n.event_id:Jn();if(!this._client)return ct.warn("No client configured on scope - will not capture message!"),o;const s=new Error(e);return this._client.captureMessage(e,r,{originalException:e,syntheticException:s,...n,event_id:o},this),o}captureEvent(e,r){const n=r&&r.event_id?r.event_id:Jn();return this._client?(this._client.captureEvent(e,{...r,event_id:n},this),n):(ct.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}const Za=Iw;function Z7(){return mh("defaultCurrentScope",()=>new Za)}function Q7(){return mh("defaultIsolationScope",()=>new Za)}class eW{constructor(e,r){let n;e?n=e:n=new Za;let o;r?o=r:o=new Za,this._stack=[{scope:n}],this._isolationScope=o}withScope(e){const r=this._pushScope();let n;try{n=e(r)}catch(o){throw this._popScope(),o}return yh(n)?n.then(o=>(this._popScope(),o),o=>{throw this._popScope(),o}):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function Hl(){const t=_h(),e=Ow(t);return e.stack=e.stack||new eW(Z7(),Q7())}function tW(t){return Hl().withScope(t)}function rW(t,e){const r=Hl();return r.withScope(()=>(r.getStackTop().scope=t,e(t)))}function kk(t){return Hl().withScope(()=>t(Hl().getIsolationScope()))}function nW(){return{withIsolationScope:kk,withScope:tW,withSetScope:rW,withSetIsolationScope:(t,e)=>kk(e),getCurrentScope:()=>Hl().getScope(),getIsolationScope:()=>Hl().getIsolationScope()}}function Rw(t){const e=Ow(t);return e.acs?e.acs:nW()}function Go(){const t=_h();return Rw(t).getCurrentScope()}function ad(){const t=_h();return Rw(t).getIsolationScope()}function oW(){return mh("globalScope",()=>new Za)}function sW(...t){const e=_h(),r=Rw(e);if(t.length===2){const[n,o]=t;return n?r.withSetScope(n,o):r.withScope(o)}return r.withScope(t[0])}function Jr(){return Go().getClient()}function aW(t){const e=t.getPropagationContext(),{traceId:r,spanId:n,parentSpanId:o}=e;return Gn({trace_id:r,span_id:n,parent_span_id:o})}const iW="_sentryMetrics";function lW(t){const e=t[iW];if(!e)return;const r={};for(const[,[n,o]]of e)(r[n]||(r[n]=[])).push(Gn(o));return r}const cW="sentry.source",uW="sentry.sample_rate",dW="sentry.op",pW="sentry.origin",fW=0,hW=1,mW="sentry-",_W=/^sentry-/;function gW(t){const e=yW(t);if(!e)return;const r=Object.entries(e).reduce((n,[o,s])=>{if(o.match(_W)){const a=o.slice(mW.length);n[a]=s}return n},{});if(Object.keys(r).length>0)return r}function yW(t){if(!(!t||!fs(t)&&!Array.isArray(t)))return Array.isArray(t)?t.reduce((e,r)=>{const n=$k(r);return Object.entries(n).forEach(([o,s])=>{e[o]=s}),e},{}):$k(t)}function $k(t){return t.split(",").map(e=>e.split("=").map(r=>decodeURIComponent(r.trim()))).reduce((e,[r,n])=>(r&&n&&(e[r]=n),e),{})}const vW=1;let Tk=!1;function bW(t){const{spanId:e,traceId:r,isRemote:n}=t.spanContext(),o=n?e:jw(t).parent_span_id,s=n?Zb():e;return Gn({parent_span_id:o,span_id:s,trace_id:r})}function Ok(t){return typeof t=="number"?Dk(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?Dk(t.getTime()):hs()}function Dk(t){return t>9999999999?t/1e3:t}function jw(t){if(xW(t))return t.getSpanJSON();try{const{spanId:e,traceId:r}=t.spanContext();if(wW(t)){const{attributes:n,startTime:o,name:s,endTime:a,parentSpanId:l,status:u}=t;return Gn({span_id:e,trace_id:r,data:n,description:s,parent_span_id:l,start_timestamp:Ok(o),timestamp:Ok(a)||void 0,status:CW(u),op:n[dW],origin:n[pW],_metrics_summary:lW(t)})}return{span_id:e,trace_id:r}}catch{return{}}}function wW(t){const e=t;return!!e.attributes&&!!e.startTime&&!!e.name&&!!e.endTime&&!!e.status}function xW(t){return typeof t.getSpanJSON=="function"}function SW(t){const{traceFlags:e}=t.spanContext();return e===vW}function CW(t){if(!(!t||t.code===fW))return t.code===hW?"ok":t.message||"unknown_error"}const EW="_sentryRootSpan";function BM(t){return t[EW]||t}function kW(){Tk||(ai(()=>{console.warn("[Sentry] Deprecation warning: Returning null from `beforeSendSpan` will be disallowed from SDK version 9.0.0 onwards. The callback will only support mutating spans. To drop certain spans, configure the respective integrations directly.")}),Tk=!0)}function $W(t){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const e=Jr(),r=e&&e.getOptions();return!!r&&(r.enableTracing||"tracesSampleRate"in r||"tracesSampler"in r)}const Fw="production",TW="_frozenDsc";function WM(t,e){const r=e.getOptions(),{publicKey:n}=e.getDsn()||{},o=Gn({environment:r.environment||Fw,release:r.release,public_key:n,trace_id:t});return e.emit("createDsc",o),o}function OW(t,e){const r=e.getPropagationContext();return r.dsc||WM(r.traceId,t)}function DW(t){const e=Jr();if(!e)return{};const r=BM(t),n=r[TW];if(n)return n;const o=r.spanContext().traceState,s=o&&o.get("sentry.dsc"),a=s&&gW(s);if(a)return a;const l=WM(t.spanContext().traceId,e),u=jw(r),p=u.data||{},h=p[uW];h!=null&&(l.sample_rate=`${h}`);const d=p[cW],_=u.description;return d!=="url"&&_&&(l.transaction=_),$W()&&(l.sampled=String(SW(r))),e.emit("createDsc",l,r),l}function NW(t){if(typeof t=="boolean")return Number(t);const e=typeof t=="string"?parseFloat(t):t;if(typeof e!="number"||isNaN(e)||e<0||e>1){Wt&&ct.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(t)} of type ${JSON.stringify(typeof t)}.`);return}return e}const MW=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function AW(t){return t==="http"||t==="https"}function wh(t,e=!1){const{host:r,path:n,pass:o,port:s,projectId:a,protocol:l,publicKey:u}=t;return`${l}://${u}${e&&o?`:${o}`:""}@${r}${s?`:${s}`:""}/${n&&`${n}/`}${a}`}function PW(t){const e=MW.exec(t);if(!e){ai(()=>{console.error(`Invalid Sentry Dsn: ${t}`)});return}const[r,n,o="",s="",a="",l=""]=e.slice(1);let u="",p=l;const h=p.split("/");if(h.length>1&&(u=h.slice(0,-1).join("/"),p=h.pop()),p){const d=p.match(/^\d+/);d&&(p=d[0])}return UM({host:s,pass:o,path:u,projectId:p,port:a,protocol:r,publicKey:n})}function UM(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function IW(t){if(!si)return!0;const{port:e,projectId:r,protocol:n}=t;return["protocol","publicKey","host","projectId"].find(a=>t[a]?!1:(ct.error(`Invalid Sentry Dsn: ${a} missing`),!0))?!1:r.match(/^\d+$/)?AW(n)?e&&isNaN(parseInt(e,10))?(ct.error(`Invalid Sentry Dsn: Invalid port ${e}`),!1):!0:(ct.error(`Invalid Sentry Dsn: Invalid protocol ${n}`),!1):(ct.error(`Invalid Sentry Dsn: Invalid projectId ${r}`),!1)}function RW(t){const e=typeof t=="string"?PW(t):UM(t);if(!(!e||!IW(e)))return e}function jW(){const t=typeof WeakSet=="function",e=t?new WeakSet:[];function r(o){if(t)return e.has(o)?!0:(e.add(o),!1);for(let s=0;sr?HM(t,e-1,r):n}function e0(t,e,r=1/0,n=1/0,o=jW()){const[s,a]=o;if(e==null||["boolean","string"].includes(typeof e)||typeof e=="number"&&Number.isFinite(e))return e;const l=FW(t,e);if(!l.startsWith("[object "))return l;if(e.__sentry_skip_normalization__)return e;const u=typeof e.__sentry_override_normalization_depth__=="number"?e.__sentry_override_normalization_depth__:r;if(u===0)return l.replace("object ","");if(s(e))return"[Circular ~]";const p=e;if(p&&typeof p.toJSON=="function")try{const g=p.toJSON();return e0("",g,u-1,n,o)}catch{}const h=Array.isArray(e)?[]:{};let d=0;const _=FM(e);for(const g in _){if(!Object.prototype.hasOwnProperty.call(_,g))continue;if(d>=n){h[g]="[MaxProperties ~]";break}const v=_[g];h[g]=e0(g,v,u-1,n,o),d++}return a(e),h}function FW(t,e){try{if(t==="domain"&&e&&typeof e=="object"&&e._events)return"[Domain]";if(t==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&e===global)return"[Global]";if(typeof window<"u"&&e===window)return"[Window]";if(typeof document<"u"&&e===document)return"[Document]";if(IM(e))return"[VueViewModel]";if(F7(e))return"[SyntheticEvent]";if(typeof e=="number"&&!Number.isFinite(e))return`[${e}]`;if(typeof e=="function")return`[Function: ${la(e)}]`;if(typeof e=="symbol")return`[${String(e)}]`;if(typeof e=="bigint")return`[BigInt: ${String(e)}]`;const r=zW(e);return/^HTML(\w*)Element$/.test(r)?`[HTMLElement: ${r}]`:`[object ${r}]`}catch(r){return`**non-serializable** (${r})`}}function zW(t){const e=Object.getPrototypeOf(t);return e?e.constructor.name:"null prototype"}function LW(t){return~-encodeURI(t).split(/%..|./).length}function BW(t){return LW(JSON.stringify(t))}function id(t,e=[]){return[t,e]}function WW(t,e){const[r,n]=t;return[r,[...n,e]]}function Nk(t,e){const r=t[1];for(const n of r){const o=n[0].type;if(e(n,o))return!0}return!1}function t0(t){return Nt.__SENTRY__&&Nt.__SENTRY__.encodePolyfill?Nt.__SENTRY__.encodePolyfill(t):new TextEncoder().encode(t)}function UW(t){const[e,r]=t;let n=JSON.stringify(e);function o(s){typeof n=="string"?n=typeof s=="string"?n+s:[t0(n),s]:n.push(typeof s=="string"?t0(s):s)}for(const s of r){const[a,l]=s;if(o(` +${JSON.stringify(a)} +`),typeof l=="string"||l instanceof Uint8Array)o(l);else{let u;try{u=JSON.stringify(l)}catch{u=JSON.stringify(us(l))}o(u)}}return typeof n=="string"?n:HW(n)}function HW(t){const e=t.reduce((o,s)=>o+s.length,0),r=new Uint8Array(e);let n=0;for(const o of t)r.set(o,n),n+=o.length;return r}function qW(t){const e=typeof t.data=="string"?t0(t.data):t.data;return[Gn({type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType}),e]}const VW={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket",raw_security:"security"};function Mk(t){return VW[t]}function qM(t){if(!t||!t.sdk)return;const{name:e,version:r}=t.sdk;return{name:e,version:r}}function GW(t,e,r,n){const o=t.sdkProcessingMetadata&&t.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:t.event_id,sent_at:new Date().toISOString(),...e&&{sdk:e},...!!r&&n&&{dsn:wh(n)},...o&&{trace:Gn({...o})}}}function XW(t,e){return e&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=[...t.sdk.integrations||[],...e.integrations||[]],t.sdk.packages=[...t.sdk.packages||[],...e.packages||[]]),t}function JW(t,e,r,n){const o=qM(r),s={sent_at:new Date().toISOString(),...o&&{sdk:o},...!!n&&e&&{dsn:wh(e)}},a="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()];return id(s,[a])}function YW(t,e,r,n){const o=qM(r),s=t.type&&t.type!=="replay_event"?t.type:"event";XW(t,r&&r.sdk);const a=GW(t,o,n,e);return delete t.sdkProcessingMetadata,id(a,[[{type:s},t]])}function r0(t,e,r,n=0){return new Vn((o,s)=>{const a=t[n];if(e===null||typeof a!="function")o(e);else{const l=a({...e},r);Wt&&a.id&&l===null&&ct.log(`Event processor "${a.id}" dropped event`),yh(l)?l.then(u=>r0(t,u,r,n+1).then(o)).then(null,s):r0(t,l,r,n+1).then(o).then(null,s)}})}let Fp,Ak,zp;function KW(t){const e=Nt._sentryDebugIds;if(!e)return{};const r=Object.keys(e);return zp&&r.length===Ak||(Ak=r.length,zp=r.reduce((n,o)=>{Fp||(Fp={});const s=Fp[o];if(s)n[s[0]]=s[1];else{const a=t(o);for(let l=a.length-1;l>=0;l--){const u=a[l],p=u&&u.filename,h=e[o];if(p&&h){n[p]=h,Fp[o]=[p,h];break}}}return n},{})),zp}function ZW(t,e){const{fingerprint:r,span:n,breadcrumbs:o,sdkProcessingMetadata:s}=e;QW(t,e),n&&rU(t,n),nU(t,r),eU(t,o),tU(t,s)}function Pk(t,e){const{extra:r,tags:n,user:o,contexts:s,level:a,sdkProcessingMetadata:l,breadcrumbs:u,fingerprint:p,eventProcessors:h,attachments:d,propagationContext:_,transactionName:g,span:v}=e;Lp(t,"extra",r),Lp(t,"tags",n),Lp(t,"user",o),Lp(t,"contexts",s),t.sdkProcessingMetadata=bh(t.sdkProcessingMetadata,l,2),a&&(t.level=a),g&&(t.transactionName=g),v&&(t.span=v),u.length&&(t.breadcrumbs=[...t.breadcrumbs,...u]),p.length&&(t.fingerprint=[...t.fingerprint,...p]),h.length&&(t.eventProcessors=[...t.eventProcessors,...h]),d.length&&(t.attachments=[...t.attachments,...d]),t.propagationContext={...t.propagationContext,..._}}function Lp(t,e,r){t[e]=bh(t[e],r,1)}function QW(t,e){const{extra:r,tags:n,user:o,contexts:s,level:a,transactionName:l}=e,u=Gn(r);u&&Object.keys(u).length&&(t.extra={...u,...t.extra});const p=Gn(n);p&&Object.keys(p).length&&(t.tags={...p,...t.tags});const h=Gn(o);h&&Object.keys(h).length&&(t.user={...h,...t.user});const d=Gn(s);d&&Object.keys(d).length&&(t.contexts={...d,...t.contexts}),a&&(t.level=a),l&&t.type!=="transaction"&&(t.transaction=l)}function eU(t,e){const r=[...t.breadcrumbs||[],...e];t.breadcrumbs=r.length?r:void 0}function tU(t,e){t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...e}}function rU(t,e){t.contexts={trace:bW(e),...t.contexts},t.sdkProcessingMetadata={dynamicSamplingContext:DW(e),...t.sdkProcessingMetadata};const r=BM(e),n=jw(r).description;n&&!t.transaction&&t.type==="transaction"&&(t.transaction=n)}function nU(t,e){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],e&&(t.fingerprint=t.fingerprint.concat(e)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}function oU(t,e,r,n,o,s){const{normalizeDepth:a=3,normalizeMaxBreadth:l=1e3}=t,u={...e,event_id:e.event_id||r.event_id||Jn(),timestamp:e.timestamp||sd()},p=r.integrations||t.integrations.map(x=>x.name);sU(u,t),lU(u,p),o&&o.emit("applyFrameMetadata",e),e.type===void 0&&aU(u,t.stackParser);const h=uU(n,r.captureContext);r.mechanism&&Wl(u,r.mechanism);const d=o?o.getEventProcessors():[],_=oW().getScopeData();if(s){const x=s.getScopeData();Pk(_,x)}if(h){const x=h.getScopeData();Pk(_,x)}const g=[...r.attachments||[],..._.attachments];g.length&&(r.attachments=g),ZW(u,_);const v=[...d,..._.eventProcessors];return r0(v,u,r).then(x=>(x&&iU(x),typeof a=="number"&&a>0?cU(x,a,l):x))}function sU(t,e){const{environment:r,release:n,dist:o,maxValueLength:s=250}=e;t.environment=t.environment||r||Fw,!t.release&&n&&(t.release=n),!t.dist&&o&&(t.dist=o),t.message&&(t.message=Nl(t.message,s));const a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=Nl(a.value,s));const l=t.request;l&&l.url&&(l.url=Nl(l.url,s))}function aU(t,e){const r=KW(e);try{t.exception.values.forEach(n=>{n.stacktrace.frames.forEach(o=>{r&&o.filename&&(o.debug_id=r[o.filename])})})}catch{}}function iU(t){const e={};try{t.exception.values.forEach(n=>{n.stacktrace.frames.forEach(o=>{o.debug_id&&(o.abs_path?e[o.abs_path]=o.debug_id:o.filename&&(e[o.filename]=o.debug_id),delete o.debug_id)})})}catch{}if(Object.keys(e).length===0)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const r=t.debug_meta.images;Object.entries(e).forEach(([n,o])=>{r.push({type:"sourcemap",code_file:n,debug_id:o})})}function lU(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}function cU(t,e,r){if(!t)return null;const n={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(o=>({...o,...o.data&&{data:us(o.data,e,r)}}))},...t.user&&{user:us(t.user,e,r)},...t.contexts&&{contexts:us(t.contexts,e,r)},...t.extra&&{extra:us(t.extra,e,r)}};return t.contexts&&t.contexts.trace&&n.contexts&&(n.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(n.contexts.trace.data=us(t.contexts.trace.data,e,r))),t.spans&&(n.spans=t.spans.map(o=>({...o,...o.data&&{data:us(o.data,e,r)}}))),t.contexts&&t.contexts.flags&&n.contexts&&(n.contexts.flags=us(t.contexts.flags,3,r)),n}function uU(t,e){if(!e)return t;const r=t?t.clone():new Za;return r.update(e),r}function dU(t,e){return Go().captureException(t,void 0)}function VM(t,e){return Go().captureEvent(t,e)}function Ik(t){const e=Jr(),r=ad(),n=Go(),{release:o,environment:s=Fw}=e&&e.getOptions()||{},{userAgent:a}=Nt.navigator||{},l=X7({release:o,environment:s,user:n.getUser()||r.getUser(),...a&&{userAgent:a},...t}),u=r.getSession();return u&&u.status==="ok"&&Ul(u,{status:"exited"}),GM(),r.setSession(l),n.setSession(l),l}function GM(){const t=ad(),e=Go(),r=e.getSession()||t.getSession();r&&J7(r),XM(),t.setSession(),e.setSession()}function XM(){const t=ad(),e=Go(),r=Jr(),n=e.getSession()||t.getSession();n&&r&&r.captureSession(n)}function Rk(t=!1){if(t){GM();return}XM()}const pU="7";function fU(t){const e=t.protocol?`${t.protocol}:`:"",r=t.port?`:${t.port}`:"";return`${e}//${t.host}${r}${t.path?`/${t.path}`:""}/api/`}function hU(t){return`${fU(t)}${t.projectId}/envelope/`}function mU(t,e){const r={sentry_version:pU};return t.publicKey&&(r.sentry_key=t.publicKey),e&&(r.sentry_client=`${e.name}/${e.version}`),new URLSearchParams(r).toString()}function _U(t,e,r){return e||`${hU(t)}?${mU(t,r)}`}const jk=[];function gU(t){const e={};return t.forEach(r=>{const{name:n}=r,o=e[n];o&&!o.isDefaultInstance&&r.isDefaultInstance||(e[n]=r)}),Object.values(e)}function yU(t){const e=t.defaultIntegrations||[],r=t.integrations;e.forEach(a=>{a.isDefaultInstance=!0});let n;if(Array.isArray(r))n=[...e,...r];else if(typeof r=="function"){const a=r(e);n=Array.isArray(a)?a:[a]}else n=e;const o=gU(n),s=o.findIndex(a=>a.name==="Debug");if(s>-1){const[a]=o.splice(s,1);o.push(a)}return o}function vU(t,e){const r={};return e.forEach(n=>{n&&JM(t,n,r)}),r}function Fk(t,e){for(const r of e)r&&r.afterAllSetup&&r.afterAllSetup(t)}function JM(t,e,r){if(r[e.name]){Wt&&ct.log(`Integration skipped because it was already installed: ${e.name}`);return}if(r[e.name]=e,jk.indexOf(e.name)===-1&&typeof e.setupOnce=="function"&&(e.setupOnce(),jk.push(e.name)),e.setup&&typeof e.setup=="function"&&e.setup(t),typeof e.preprocessEvent=="function"){const n=e.preprocessEvent.bind(e);t.on("preprocessEvent",(o,s)=>n(o,s,t))}if(typeof e.processEvent=="function"){const n=e.processEvent.bind(e),o=Object.assign((s,a)=>n(s,a,t),{id:e.name});t.addEventProcessor(o)}Wt&&ct.log(`Integration installed: ${e.name}`)}function bU(t,e,r){const n=[{type:"client_report"},{timestamp:sd(),discarded_events:t}];return id(e?{dsn:e}:{},[n])}class jo extends Error{constructor(e,r="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=r}}const zk="Not capturing exception because it's already been captured.";class wU{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=RW(e.dsn):Wt&&ct.warn("No DSN provided, client will not send events."),this._dsn){const o=_U(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:o})}const n=["enableTracing","tracesSampleRate","tracesSampler"].find(o=>o in e&&e[o]==null);n&&ai(()=>{console.warn(`[Sentry] Deprecation warning: \`${n}\` is set to undefined, which leads to tracing being enabled. In v9, a value of \`undefined\` will result in tracing being disabled.`)})}captureException(e,r,n){const o=Jn();if(xk(e))return Wt&&ct.log(zk),o;const s={event_id:o,...r};return this._process(this.eventFromException(e,s).then(a=>this._captureEvent(a,s,n))),s.event_id}captureMessage(e,r,n,o){const s={event_id:Jn(),...n},a=Nw(e)?e:String(e),l=Mw(e)?this.eventFromMessage(a,r,s):this.eventFromException(e,s);return this._process(l.then(u=>this._captureEvent(u,s,o))),s.event_id}captureEvent(e,r,n){const o=Jn();if(r&&r.originalException&&xk(r.originalException))return Wt&&ct.log(zk),o;const s={event_id:o,...r},l=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,s,l||n)),s.event_id}captureSession(e){typeof e.release!="string"?Wt&&ct.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),Ul(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){const r=this._transport;return r?(this.emit("flush"),this._isClientDoneProcessing(e).then(n=>r.flush(e).then(o=>n&&o))):Ka(!0)}close(e){return this.flush(e).then(r=>(this.getOptions().enabled=!1,this.emit("close"),r))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){const r=this._integrations[e.name];JM(this,e,this._integrations),r||Fk(this,[e])}sendEvent(e,r={}){this.emit("beforeSendEvent",e,r);let n=YW(e,this._dsn,this._options._metadata,this._options.tunnel);for(const s of r.attachments||[])n=WW(n,qW(s));const o=this.sendEnvelope(n);o&&o.then(s=>this.emit("afterSendEvent",e,s),null)}sendSession(e){const r=JW(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(e,r,n){if(this._options.sendClientReports){const o=typeof n=="number"?n:1,s=`${e}:${r}`;Wt&&ct.log(`Recording outcome: "${s}"${o>1?` (${o} times)`:""}`),this._outcomes[s]=(this._outcomes[s]||0)+o}}on(e,r){const n=this._hooks[e]=this._hooks[e]||[];return n.push(r),()=>{const o=n.indexOf(r);o>-1&&n.splice(o,1)}}emit(e,...r){const n=this._hooks[e];n&&n.forEach(o=>o(...r))}sendEnvelope(e){return this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport?this._transport.send(e).then(null,r=>(Wt&&ct.error("Error while sending envelope:",r),r)):(Wt&&ct.error("Transport disabled"),Ka({}))}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=vU(this,e),Fk(this,e)}_updateSessionFromEvent(e,r){let n=r.level==="fatal",o=!1;const s=r.exception&&r.exception.values;if(s){o=!0;for(const u of s){const p=u.mechanism;if(p&&p.handled===!1){n=!0;break}}}const a=e.status==="ok";(a&&e.errors===0||a&&n)&&(Ul(e,{...n&&{status:"crashed"},errors:e.errors||Number(o||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new Vn(r=>{let n=0;const o=1,s=setInterval(()=>{this._numProcessing==0?(clearInterval(s),r(!0)):(n+=o,e&&n>=e&&(clearInterval(s),r(!1)))},o)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(e,r,n=Go(),o=ad()){const s=this.getOptions(),a=Object.keys(this._integrations);return!r.integrations&&a.length>0&&(r.integrations=a),this.emit("preprocessEvent",e,r),e.type||o.setLastEventId(e.event_id||r.event_id),oU(s,e,r,n,this,o).then(l=>{if(l===null)return l;l.contexts={trace:aW(n),...l.contexts};const u=OW(this,n);return l.sdkProcessingMetadata={dynamicSamplingContext:u,...l.sdkProcessingMetadata},l})}_captureEvent(e,r={},n){return this._processEvent(e,r,n).then(o=>o.event_id,o=>{if(Wt){const s=o;s.logLevel==="log"?ct.log(s.message):ct.warn(s)}})}_processEvent(e,r,n){const o=this.getOptions(),{sampleRate:s}=o,a=KM(e),l=YM(e),u=e.type||"error",p=`before send for type \`${u}\``,h=typeof s>"u"?void 0:NW(s);if(l&&typeof h=="number"&&Math.random()>h)return this.recordDroppedEvent("sample_rate","error",e),Nf(new jo(`Discarding event because it's not included in the random sample (sampling rate = ${s})`,"log"));const d=u==="replay_event"?"replay":u,g=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,r,n,g).then(v=>{if(v===null)throw this.recordDroppedEvent("event_processor",d,e),new jo("An event processor returned `null`, will not send event.","log");if(r.data&&r.data.__sentry__===!0)return v;const x=SU(this,o,v,r);return xU(x,p)}).then(v=>{if(v===null){if(this.recordDroppedEvent("before_send",d,e),a){const M=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",M)}throw new jo(`${p} returned \`null\`, will not send event.`,"log")}const w=n&&n.getSession();if(!a&&w&&this._updateSessionFromEvent(w,v),a){const C=v.sdkProcessingMetadata&&v.sdkProcessingMetadata.spanCountBeforeProcessing||0,M=v.spans?v.spans.length:0,$=C-M;$>0&&this.recordDroppedEvent("before_send","span",$)}const x=v.transaction_info;if(a&&x&&v.transaction!==e.transaction){const C="custom";v.transaction_info={...x,source:C}}return this.sendEvent(v,r),v}).then(null,v=>{throw v instanceof jo?v:(this.captureException(v,{data:{__sentry__:!0},originalException:v}),new jo(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. +Reason: ${v}`))})}_process(e){this._numProcessing++,e.then(r=>(this._numProcessing--,r),r=>(this._numProcessing--,r))}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.entries(e).map(([r,n])=>{const[o,s]=r.split(":");return{reason:o,category:s,quantity:n}})}_flushOutcomes(){Wt&&ct.log("Flushing outcomes...");const e=this._clearOutcomes();if(e.length===0){Wt&&ct.log("No outcomes to send");return}if(!this._dsn){Wt&&ct.log("No dsn provided, will not send outcomes");return}Wt&&ct.log("Sending outcomes:",e);const r=bU(e,this._options.tunnel&&wh(this._dsn));this.sendEnvelope(r)}}function xU(t,e){const r=`${e} must return \`null\` or a valid event.`;if(yh(t))return t.then(n=>{if(!Bl(n)&&n!==null)throw new jo(r);return n},n=>{throw new jo(`${e} rejected with ${n}`)});if(!Bl(t)&&t!==null)throw new jo(r);return t}function SU(t,e,r,n){const{beforeSend:o,beforeSendTransaction:s,beforeSendSpan:a}=e;if(YM(r)&&o)return o(r,n);if(KM(r)){if(r.spans&&a){const l=[];for(const u of r.spans){const p=a(u);p?l.push(p):(kW(),t.recordDroppedEvent("before_send","span"))}r.spans=l}if(s){if(r.spans){const l=r.spans.length;r.sdkProcessingMetadata={...r.sdkProcessingMetadata,spanCountBeforeProcessing:l}}return s(r,n)}}return r}function YM(t){return t.type===void 0}function KM(t){return t.type==="transaction"}function CU(t,e){e.debug===!0&&(Wt?ct.enable():ai(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),Go().update(e.initialScope);const n=new t(e);return EU(n),n.init(),n}function EU(t){Go().setClient(t)}function kU(t){const e=[];function r(){return t===void 0||e.lengthn(l)).then(null,()=>n(l).then(null,()=>{})),l}function s(a){return new Vn((l,u)=>{let p=e.length;if(!p)return l(!0);const h=setTimeout(()=>{a&&a>0&&l(!1)},a);e.forEach(d=>{Ka(d).then(()=>{--p||(clearTimeout(h),l(!0))},u)})})}return{$:e,add:o,drain:s}}const $U=60*1e3;function TU(t,e=Date.now()){const r=parseInt(`${t}`,10);if(!isNaN(r))return r*1e3;const n=Date.parse(`${t}`);return isNaN(n)?$U:n-e}function OU(t,e){return t[e]||t.all||0}function DU(t,e,r=Date.now()){return OU(t,e)>r}function NU(t,{statusCode:e,headers:r},n=Date.now()){const o={...t},s=r&&r["x-sentry-rate-limits"],a=r&&r["retry-after"];if(s)for(const l of s.trim().split(",")){const[u,p,,,h]=l.split(":",5),d=parseInt(u,10),_=(isNaN(d)?60:d)*1e3;if(!p)o.all=n+_;else for(const g of p.split(";"))g==="metric_bucket"?(!h||h.split(";").includes("custom"))&&(o[g]=n+_):o[g]=n+_}else a?o.all=n+TU(a,n):e===429&&(o.all=n+60*1e3);return o}const MU=64;function AU(t,e,r=kU(t.bufferSize||MU)){let n={};const o=a=>r.drain(a);function s(a){const l=[];if(Nk(a,(d,_)=>{const g=Mk(_);if(DU(n,g)){const v=Lk(d,_);t.recordDroppedEvent("ratelimit_backoff",g,v)}else l.push(d)}),l.length===0)return Ka({});const u=id(a[0],l),p=d=>{Nk(u,(_,g)=>{const v=Lk(_,g);t.recordDroppedEvent(d,Mk(g),v)})},h=()=>e({body:UW(u)}).then(d=>(d.statusCode!==void 0&&(d.statusCode<200||d.statusCode>=300)&&Wt&&ct.warn(`Sentry responded with status code ${d.statusCode} to sent event.`),n=NU(n,d),d),d=>{throw p("network_error"),d});return r.add(h).then(d=>d,d=>{if(d instanceof jo)return Wt&&ct.error("Skipped sending event because buffer is full."),p("queue_overflow"),Ka({});throw d})}return{send:s,flush:o}}function Lk(t,e){if(!(e!=="event"&&e!=="transaction"))return Array.isArray(t)?t[1]:void 0}function PU(t,e,r=[e],n="npm"){const o=t._metadata||{};o.sdk||(o.sdk={name:`sentry.javascript.${e}`,packages:r.map(s=>({name:`${n}:@sentry/${s}`,version:Va})),version:Va}),t._metadata=o}const IU=100;function Qa(t,e){const r=Jr(),n=ad();if(!r)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:s=IU}=r.getOptions();if(s<=0)return;const l={timestamp:sd(),...t},u=o?ai(()=>o(l,e)):l;u!==null&&(r.emit&&r.emit("beforeAddBreadcrumb",u,e),n.addBreadcrumb(u,s))}let Bk;const RU="FunctionToString",Wk=new WeakMap,jU=()=>({name:RU,setupOnce(){Bk=Function.prototype.toString;try{Function.prototype.toString=function(...t){const e=Pw(this),r=Wk.has(Jr())&&e!==void 0?e:this;return Bk.apply(r,t)}}catch{}},setup(t){Wk.set(t,!0)}}),FU=jU,zU=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,"undefined is not an object (evaluating 'a.L')",`can't redefine non-configurable property "solana"`,"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/],LU="InboundFilters",BU=(t={})=>({name:LU,processEvent(e,r,n){const o=n.getOptions(),s=UU(t,o);return HU(e,s)?null:e}}),WU=BU;function UU(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...t.disableErrorDefaults?[]:zU],ignoreTransactions:[...t.ignoreTransactions||[],...e.ignoreTransactions||[]],ignoreInternal:t.ignoreInternal!==void 0?t.ignoreInternal:!0}}function HU(t,e){return e.ignoreInternal&&YU(t)?(Wt&&ct.warn(`Event dropped due to being internal Sentry Error. +Event: ${Ys(t)}`),!0):qU(t,e.ignoreErrors)?(Wt&&ct.warn(`Event dropped due to being matched by \`ignoreErrors\` option. +Event: ${Ys(t)}`),!0):ZU(t)?(Wt&&ct.warn(`Event dropped due to not having an error message, error type or stacktrace. +Event: ${Ys(t)}`),!0):VU(t,e.ignoreTransactions)?(Wt&&ct.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. +Event: ${Ys(t)}`),!0):GU(t,e.denyUrls)?(Wt&&ct.warn(`Event dropped due to being matched by \`denyUrls\` option. +Event: ${Ys(t)}. +Url: ${Mf(t)}`),!0):XU(t,e.allowUrls)?!1:(Wt&&ct.warn(`Event dropped due to not being matched by \`allowUrls\` option. +Event: ${Ys(t)}. +Url: ${Mf(t)}`),!0)}function qU(t,e){return t.type||!e||!e.length?!1:JU(t).some(r=>vh(r,e))}function VU(t,e){if(t.type!=="transaction"||!e||!e.length)return!1;const r=t.transaction;return r?vh(r,e):!1}function GU(t,e){if(!e||!e.length)return!1;const r=Mf(t);return r?vh(r,e):!1}function XU(t,e){if(!e||!e.length)return!0;const r=Mf(t);return r?vh(r,e):!0}function JU(t){const e=[];t.message&&e.push(t.message);let r;try{r=t.exception.values[t.exception.values.length-1]}catch{}return r&&r.value&&(e.push(r.value),r.type&&e.push(`${r.type}: ${r.value}`)),e}function YU(t){try{return t.exception.values[0].type==="SentryError"}catch{}return!1}function KU(t=[]){for(let e=t.length-1;e>=0;e--){const r=t[e];if(r&&r.filename!==""&&r.filename!=="[native code]")return r.filename||null}return null}function Mf(t){try{let e;try{e=t.exception.values[0].stacktrace.frames}catch{}return e?KU(e):null}catch{return Wt&&ct.error(`Cannot extract url for event ${Ys(t)}`),null}}function ZU(t){return t.type||!t.exception||!t.exception.values||t.exception.values.length===0?!1:!t.message&&!t.exception.values.some(e=>e.stacktrace||e.type&&e.type!=="Error"||e.value)}function QU(t,e,r=250,n,o,s,a){if(!s.exception||!s.exception.values||!a||!Ja(a.originalException,Error))return;const l=s.exception.values.length>0?s.exception.values[s.exception.values.length-1]:void 0;l&&(s.exception.values=eH(n0(t,e,o,a.originalException,n,s.exception.values,l,0),r))}function n0(t,e,r,n,o,s,a,l){if(s.length>=r+1)return s;let u=[...s];if(Ja(n[o],Error)){Uk(a,l);const p=t(e,n[o]),h=u.length;Hk(p,o,h,l),u=n0(t,e,r,n[o],o,[p,...u],p,h)}return Array.isArray(n.errors)&&n.errors.forEach((p,h)=>{if(Ja(p,Error)){Uk(a,l);const d=t(e,p),_=u.length;Hk(d,`errors[${h}]`,_,l),u=n0(t,e,r,p,o,[d,...u],d,_)}}),u}function Uk(t,e){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,...t.type==="AggregateError"&&{is_exception_group:!0},exception_id:e}}function Hk(t,e,r,n){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,type:"chained",source:e,exception_id:r,parent_id:n}}function eH(t,e){return t.map(r=>(r.value&&(r.value=Nl(r.value,e)),r))}function Z_(t){if(!t)return{};const e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};const r=e[6]||"",n=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],search:r,hash:n,relative:e[5]+r+n}}function tH(t){const e="console";ii(e,t),li(e,rH)}function rH(){"console"in Nt&&Jb.forEach(function(t){t in Nt.console&&Dn(Nt.console,t,function(e){return Df[t]=e,function(...r){_o("console",{args:r,level:t});const o=Df[t];o&&o.apply(Nt.console,r)}})})}function nH(t){return t==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(t)?t:"log"}const oH="Dedupe",sH=()=>{let t;return{name:oH,processEvent(e){if(e.type)return e;try{if(aH(e,t))return Wt&&ct.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return t=e}}},ZM=sH;function aH(t,e){return e?!!(iH(t,e)||lH(t,e)):!1}function iH(t,e){const r=t.message,n=e.message;return!(!r&&!n||r&&!n||!r&&n||r!==n||!eA(t,e)||!QM(t,e))}function lH(t,e){const r=qk(e),n=qk(t);return!(!r||!n||r.type!==n.type||r.value!==n.value||!eA(t,e)||!QM(t,e))}function QM(t,e){let r=_k(t),n=_k(e);if(!r&&!n)return!0;if(r&&!n||!r&&n||(r=r,n=n,n.length!==r.length))return!1;for(let o=0;o=400&&t<500?"warning":t>=500?"error":void 0}const o0=Nt;function rA(){if(!("fetch"in o0))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function s0(t){return t&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function cH(){if(typeof EdgeRuntime=="string")return!0;if(!rA())return!1;if(s0(o0.fetch))return!0;let t=!1;const e=o0.document;if(e&&typeof e.createElement=="function")try{const r=e.createElement("iframe");r.hidden=!0,e.head.appendChild(r),r.contentWindow&&r.contentWindow.fetch&&(t=s0(r.contentWindow.fetch)),e.head.removeChild(r)}catch(r){si&&ct.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return t}function uH(t,e){const r="fetch";ii(r,t),li(r,()=>dH(void 0,e))}function dH(t,e=!1){e&&!cH()||Dn(Nt,"fetch",function(r){return function(...n){const o=new Error,{method:s,url:a}=pH(n),l={args:n,fetchData:{method:s,url:a},startTimestamp:hs()*1e3,virtualError:o};return _o("fetch",{...l}),r.apply(Nt,n).then(async u=>(_o("fetch",{...l,endTimestamp:hs()*1e3,response:u}),u),u=>{throw _o("fetch",{...l,endTimestamp:hs()*1e3,error:u}),Dw(u)&&u.stack===void 0&&(u.stack=o.stack,Ya(u,"framesToPop",1)),u})}})}function a0(t,e){return!!t&&typeof t=="object"&&!!t[e]}function Vk(t){return typeof t=="string"?t:t?a0(t,"url")?t.url:t.toString?t.toString():"":""}function pH(t){if(t.length===0)return{method:"GET",url:""};if(t.length===2){const[r,n]=t;return{url:Vk(r),method:a0(n,"method")?String(n.method).toUpperCase():"GET"}}const e=t[0];return{url:Vk(e),method:a0(e,"method")?String(e.method).toUpperCase():"GET"}}function fH(){return"npm"}const Bp=Nt;function hH(){const t=Bp.chrome,e=t&&t.app&&t.app.runtime,r="history"in Bp&&!!Bp.history.pushState&&!!Bp.history.replaceState;return!e&&r}const Ht=Nt;let i0=0;function nA(){return i0>0}function mH(){i0++,setTimeout(()=>{i0--})}function ql(t,e={}){function r(o){return typeof o=="function"}if(!r(t))return t;try{const o=t.__sentry_wrapped__;if(o)return typeof o=="function"?o:t;if(Pw(t))return t}catch{return t}const n=function(...o){try{const s=o.map(a=>ql(a,e));return t.apply(this,s)}catch(s){throw mH(),sW(a=>{a.addEventProcessor(l=>(e.mechanism&&(Kb(l,void 0),Wl(l,e.mechanism)),l.extra={...l.extra,arguments:o},l)),dU(s)}),s}};try{for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o])}catch{}jM(n,t),Ya(t,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get(){return t.name}})}catch{}return n}const ld=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function zw(t,e){const r=Lw(t,e),n={type:bH(e),value:wH(e)};return r.length&&(n.stacktrace={frames:r}),n.type===void 0&&n.value===""&&(n.value="Unrecoverable error caught"),n}function _H(t,e,r,n){const o=Jr(),s=o&&o.getOptions().normalizeDepth,a=kH(e),l={__serialized__:HM(e,s)};if(a)return{exception:{values:[zw(t,a)]},extra:l};const u={exception:{values:[{type:gh(e)?e.constructor.name:n?"UnhandledRejection":"Error",value:CH(e,{isUnhandledRejection:n})}]},extra:l};if(r){const p=Lw(t,r);p.length&&(u.exception.values[0].stacktrace={frames:p})}return u}function Q_(t,e){return{exception:{values:[zw(t,e)]}}}function Lw(t,e){const r=e.stacktrace||e.stack||"",n=yH(e),o=vH(e);try{return t(r,n,o)}catch{}return[]}const gH=/Minified React error #\d+;/i;function yH(t){return t&&gH.test(t.message)?1:0}function vH(t){return typeof t.framesToPop=="number"?t.framesToPop:0}function oA(t){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?t instanceof WebAssembly.Exception:!1}function bH(t){const e=t&&t.name;return!e&&oA(t)?t.message&&Array.isArray(t.message)&&t.message.length==2?t.message[0]:"WebAssembly.Exception":e}function wH(t){const e=t&&t.message;return e?e.error&&typeof e.error.message=="string"?e.error.message:oA(t)&&Array.isArray(t.message)&&t.message.length==2?t.message[1]:e:"No error message"}function xH(t,e,r,n){const o=r&&r.syntheticException||void 0,s=Bw(t,e,o,n);return Wl(s),s.level="error",r&&r.event_id&&(s.event_id=r.event_id),Ka(s)}function SH(t,e,r="info",n,o){const s=n&&n.syntheticException||void 0,a=l0(t,e,s,o);return a.level=r,n&&n.event_id&&(a.event_id=n.event_id),Ka(a)}function Bw(t,e,r,n,o){let s;if(PM(e)&&e.error)return Q_(t,e.error);if(yk(e)||I7(e)){const a=e;if("stack"in e)s=Q_(t,e);else{const l=a.name||(yk(a)?"DOMError":"DOMException"),u=a.message?`${l}: ${a.message}`:l;s=l0(t,u,r,n),Kb(s,u)}return"code"in a&&(s.tags={...s.tags,"DOMException.code":`${a.code}`}),s}return Dw(e)?Q_(t,e):Bl(e)||gh(e)?(s=_H(t,e,r,o),Wl(s,{synthetic:!0}),s):(s=l0(t,e,r,n),Kb(s,`${e}`),Wl(s,{synthetic:!0}),s)}function l0(t,e,r,n){const o={};if(n&&r){const s=Lw(t,r);s.length&&(o.exception={values:[{value:e,stacktrace:{frames:s}}]}),Wl(o,{synthetic:!0})}if(Nw(e)){const{__sentry_template_string__:s,__sentry_template_values__:a}=e;return o.logentry={message:s,params:a},o}return o.message=e,o}function CH(t,{isUnhandledRejection:e}){const r=H7(t),n=e?"promise rejection":"exception";return PM(t)?`Event \`ErrorEvent\` captured as ${n} with message \`${t.message}\``:gh(t)?`Event \`${EH(t)}\` (type=${t.type}) captured as ${n}`:`Object captured as ${n} with keys: ${r}`}function EH(t){try{const e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch{}}function kH(t){for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)){const r=t[e];if(r instanceof Error)return r}}function $H(t,{metadata:e,tunnel:r,dsn:n}){const o={event_id:t.event_id,sent_at:new Date().toISOString(),...e&&e.sdk&&{sdk:{name:e.sdk.name,version:e.sdk.version}},...!!r&&!!n&&{dsn:wh(n)}},s=TH(t);return id(o,[s])}function TH(t){return[{type:"user_report"},t]}class OH extends wU{constructor(e){const r={parentSpanIsAlwaysRootSpan:!0,...e},n=Ht.SENTRY_SDK_SOURCE||fH();PU(r,"browser",["browser"],n),super(r),r.sendClientReports&&Ht.document&&Ht.document.addEventListener("visibilitychange",()=>{Ht.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(e,r){return xH(this._options.stackParser,e,r,this._options.attachStacktrace)}eventFromMessage(e,r="info",n){return SH(this._options.stackParser,e,r,n,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled()){ld&&ct.warn("SDK not enabled, will not capture user feedback.");return}const r=$H(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(r)}_prepareEvent(e,r,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,r,n)}}const DH=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,rn=Nt,NH=1e3;let Gk,c0,u0;function MH(t){const e="dom";ii(e,t),li(e,AH)}function AH(){if(!rn.document)return;const t=_o.bind(null,"dom"),e=Xk(t,!0);rn.document.addEventListener("click",e,!1),rn.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach(r=>{const o=rn[r],s=o&&o.prototype;!s||!s.hasOwnProperty||!s.hasOwnProperty("addEventListener")||(Dn(s,"addEventListener",function(a){return function(l,u,p){if(l==="click"||l=="keypress")try{const h=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},d=h[l]=h[l]||{refCount:0};if(!d.handler){const _=Xk(t);d.handler=_,a.call(this,l,_,p)}d.refCount++}catch{}return a.call(this,l,u,p)}}),Dn(s,"removeEventListener",function(a){return function(l,u,p){if(l==="click"||l=="keypress")try{const h=this.__sentry_instrumentation_handlers__||{},d=h[l];d&&(d.refCount--,d.refCount<=0&&(a.call(this,l,d.handler,p),d.handler=void 0,delete h[l]),Object.keys(h).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return a.call(this,l,u,p)}}))})}function PH(t){if(t.type!==c0)return!1;try{if(!t.target||t.target._sentryId!==u0)return!1}catch{}return!0}function IH(t,e){return t!=="keypress"?!1:!e||!e.tagName?!0:!(e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable)}function Xk(t,e=!1){return r=>{if(!r||r._sentryCaptured)return;const n=RH(r);if(IH(r.type,n))return;Ya(r,"_sentryCaptured",!0),n&&!n._sentryId&&Ya(n,"_sentryId",Jn());const o=r.type==="keypress"?"input":r.type;PH(r)||(t({event:r,name:o,global:e}),c0=r.type,u0=n?n._sentryId:void 0),clearTimeout(Gk),Gk=rn.setTimeout(()=>{u0=void 0,c0=void 0},NH)}}function RH(t){try{return t.target}catch{return null}}let Wp;function sA(t){const e="history";ii(e,t),li(e,jH)}function jH(){if(!hH())return;const t=rn.onpopstate;rn.onpopstate=function(...r){const n=rn.location.href,o=Wp;if(Wp=n,_o("history",{from:o,to:n}),t)try{return t.apply(this,r)}catch{}};function e(r){return function(...n){const o=n.length>2?n[2]:void 0;if(o){const s=Wp,a=String(o);Wp=a,_o("history",{from:s,to:a})}return r.apply(this,n)}}Dn(rn.history,"pushState",e),Dn(rn.history,"replaceState",e)}const df={};function FH(t){const e=df[t];if(e)return e;let r=rn[t];if(s0(r))return df[t]=r.bind(rn);const n=rn.document;if(n&&typeof n.createElement=="function")try{const o=n.createElement("iframe");o.hidden=!0,n.head.appendChild(o);const s=o.contentWindow;s&&s[t]&&(r=s[t]),n.head.removeChild(o)}catch(o){DH&&ct.warn(`Could not create sandbox iframe for ${t} check, bailing to window.${t}: `,o)}return r&&(df[t]=r.bind(rn))}function Jk(t){df[t]=void 0}const uu="__sentry_xhr_v3__";function zH(t){const e="xhr";ii(e,t),li(e,LH)}function LH(){if(!rn.XMLHttpRequest)return;const t=XMLHttpRequest.prototype;t.open=new Proxy(t.open,{apply(e,r,n){const o=new Error,s=hs()*1e3,a=fs(n[0])?n[0].toUpperCase():void 0,l=BH(n[1]);if(!a||!l)return e.apply(r,n);r[uu]={method:a,url:l,request_headers:{}},a==="POST"&&l.match(/sentry_key/)&&(r.__sentry_own_request__=!0);const u=()=>{const p=r[uu];if(p&&r.readyState===4){try{p.status_code=r.status}catch{}const h={endTimestamp:hs()*1e3,startTimestamp:s,xhr:r,virtualError:o};_o("xhr",h)}};return"onreadystatechange"in r&&typeof r.onreadystatechange=="function"?r.onreadystatechange=new Proxy(r.onreadystatechange,{apply(p,h,d){return u(),p.apply(h,d)}}):r.addEventListener("readystatechange",u),r.setRequestHeader=new Proxy(r.setRequestHeader,{apply(p,h,d){const[_,g]=d,v=h[uu];return v&&fs(_)&&fs(g)&&(v.request_headers[_.toLowerCase()]=g),p.apply(h,d)}}),e.apply(r,n)}}),t.send=new Proxy(t.send,{apply(e,r,n){const o=r[uu];if(!o)return e.apply(r,n);n[0]!==void 0&&(o.body=n[0]);const s={startTimestamp:hs()*1e3,xhr:r};return _o("xhr",s),e.apply(r,n)}})}function BH(t){if(fs(t))return t;try{return t.toString()}catch{}}function WH(t,e=FH("fetch")){let r=0,n=0;function o(s){const a=s.body.length;r+=a,n++;const l={body:s.body,method:"POST",referrerPolicy:"origin",headers:t.headers,keepalive:r<=6e4&&n<15,...t.fetchOptions};if(!e)return Jk("fetch"),Nf("No fetch implementation available");try{return e(t.url,l).then(u=>(r-=a,n--,{statusCode:u.status,headers:{"x-sentry-rate-limits":u.headers.get("X-Sentry-Rate-Limits"),"retry-after":u.headers.get("Retry-After")}}))}catch(u){return Jk("fetch"),r-=a,n--,Nf(u)}}return AU(t,o)}const UH=30,HH=50;function d0(t,e,r,n){const o={filename:t,function:e===""?Xa:e,in_app:!0};return r!==void 0&&(o.lineno=r),n!==void 0&&(o.colno=n),o}const qH=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,VH=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,GH=/\((\S*)(?::(\d+))(?::(\d+))\)/,XH=t=>{const e=qH.exec(t);if(e){const[,n,o,s]=e;return d0(n,Xa,+o,+s)}const r=VH.exec(t);if(r){if(r[2]&&r[2].indexOf("eval")===0){const a=GH.exec(r[2]);a&&(r[2]=a[1],r[3]=a[2],r[4]=a[3])}const[o,s]=aA(r[1]||Xa,r[2]);return d0(s,o,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}},JH=[UH,XH],YH=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,KH=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,ZH=t=>{const e=YH.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const s=KH.exec(e[3]);s&&(e[1]=e[1]||"eval",e[3]=s[1],e[4]=s[2],e[5]="")}let n=e[3],o=e[1]||Xa;return[o,n]=aA(o,n),d0(n,o,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}},QH=[HH,ZH],eq=[JH,QH],tq=MM(...eq),aA=(t,e)=>{const r=t.indexOf("safari-extension")!==-1,n=t.indexOf("safari-web-extension")!==-1;return r||n?[t.indexOf("@")!==-1?t.split("@")[0]:Xa,r?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]},Up=1024,rq="Breadcrumbs",nq=(t={})=>{const e={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t};return{name:rq,setup(r){e.console&&tH(iq(r)),e.dom&&MH(aq(r,e.dom)),e.xhr&&zH(lq(r)),e.fetch&&uH(cq(r)),e.history&&sA(uq(r)),e.sentry&&r.on("beforeSendEvent",sq(r))}}},oq=nq;function sq(t){return function(r){Jr()===t&&Qa({category:`sentry.${r.type==="transaction"?"transaction":"event"}`,event_id:r.event_id,level:r.level,message:Ys(r)},{event:r})}}function aq(t,e){return function(n){if(Jr()!==t)return;let o,s,a=typeof e=="object"?e.serializeAttribute:void 0,l=typeof e=="object"&&typeof e.maxStringLength=="number"?e.maxStringLength:void 0;l&&l>Up&&(ld&&ct.warn(`\`dom.maxStringLength\` cannot exceed ${Up}, but a value of ${l} was configured. Sentry will use ${Up} instead.`),l=Up),typeof a=="string"&&(a=[a]);try{const p=n.event,h=dq(p)?p.target:p;o=RM(h,{keyAttrs:a,maxStringLength:l}),s=W7(h)}catch{o=""}if(o.length===0)return;const u={category:`ui.${n.name}`,message:o};s&&(u.data={"ui.component_name":s}),Qa(u,{event:n.event,name:n.name,global:n.global})}}function iq(t){return function(r){if(Jr()!==t)return;const n={category:"console",data:{arguments:r.args,logger:"console"},level:nH(r.level),message:vk(r.args," ")};if(r.level==="assert")if(r.args[0]===!1)n.message=`Assertion failed: ${vk(r.args.slice(1)," ")||"console.assert"}`,n.data.arguments=r.args.slice(1);else return;Qa(n,{input:r.args,level:r.level})}}function lq(t){return function(r){if(Jr()!==t)return;const{startTimestamp:n,endTimestamp:o}=r,s=r.xhr[uu];if(!n||!o||!s)return;const{method:a,url:l,status_code:u,body:p}=s,h={method:a,url:l,status_code:u},d={xhr:r.xhr,input:p,startTimestamp:n,endTimestamp:o},_=tA(u);Qa({category:"xhr",data:h,type:"http",level:_},d)}}function cq(t){return function(r){if(Jr()!==t)return;const{startTimestamp:n,endTimestamp:o}=r;if(o&&!(r.fetchData.url.match(/sentry_key/)&&r.fetchData.method==="POST"))if(r.error){const s=r.fetchData,a={data:r.error,input:r.args,startTimestamp:n,endTimestamp:o};Qa({category:"fetch",data:s,level:"error",type:"http"},a)}else{const s=r.response,a={...r.fetchData,status_code:s&&s.status},l={input:r.args,response:s,startTimestamp:n,endTimestamp:o},u=tA(a.status_code);Qa({category:"fetch",data:a,type:"http",level:u},l)}}}function uq(t){return function(r){if(Jr()!==t)return;let n=r.from,o=r.to;const s=Z_(Ht.location.href);let a=n?Z_(n):void 0;const l=Z_(o);(!a||!a.path)&&(a=s),s.protocol===l.protocol&&s.host===l.host&&(o=l.relative),s.protocol===a.protocol&&s.host===a.host&&(n=a.relative),Qa({category:"navigation",data:{from:n,to:o}})}}function dq(t){return!!t&&!!t.target}const pq=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],fq="BrowserApiErrors",hq=(t={})=>{const e={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t};return{name:fq,setupOnce(){e.setTimeout&&Dn(Ht,"setTimeout",Yk),e.setInterval&&Dn(Ht,"setInterval",Yk),e.requestAnimationFrame&&Dn(Ht,"requestAnimationFrame",_q),e.XMLHttpRequest&&"XMLHttpRequest"in Ht&&Dn(XMLHttpRequest.prototype,"send",gq);const r=e.eventTarget;r&&(Array.isArray(r)?r:pq).forEach(yq)}}},mq=hq;function Yk(t){return function(...e){const r=e[0];return e[0]=ql(r,{mechanism:{data:{function:la(t)},handled:!1,type:"instrument"}}),t.apply(this,e)}}function _q(t){return function(e){return t.apply(this,[ql(e,{mechanism:{data:{function:"requestAnimationFrame",handler:la(t)},handled:!1,type:"instrument"}})])}}function gq(t){return function(...e){const r=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(o=>{o in r&&typeof r[o]=="function"&&Dn(r,o,function(s){const a={mechanism:{data:{function:o,handler:la(s)},handled:!1,type:"instrument"}},l=Pw(s);return l&&(a.mechanism.data.handler=la(l)),ql(s,a)})}),t.apply(this,e)}}function yq(t){const r=Ht[t],n=r&&r.prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(Dn(n,"addEventListener",function(o){return function(s,a,l){try{vq(a)&&(a.handleEvent=ql(a.handleEvent,{mechanism:{data:{function:"handleEvent",handler:la(a),target:t},handled:!1,type:"instrument"}}))}catch{}return o.apply(this,[s,ql(a,{mechanism:{data:{function:"addEventListener",handler:la(a),target:t},handled:!1,type:"instrument"}}),l])}}),Dn(n,"removeEventListener",function(o){return function(s,a,l){try{const u=a.__sentry_wrapped__;u&&o.call(this,s,u,l)}catch{}return o.call(this,s,a,l)}}))}function vq(t){return typeof t.handleEvent=="function"}const bq=()=>({name:"BrowserSession",setupOnce(){if(typeof Ht.document>"u"){ld&&ct.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}Ik({ignoreDuration:!0}),Rk(),sA(({from:t,to:e})=>{t!==void 0&&t!==e&&(Ik({ignoreDuration:!0}),Rk())})}}),wq="GlobalHandlers",xq=(t={})=>{const e={onerror:!0,onunhandledrejection:!0,...t};return{name:wq,setupOnce(){Error.stackTraceLimit=50},setup(r){e.onerror&&(Cq(r),Kk("onerror")),e.onunhandledrejection&&(Eq(r),Kk("onunhandledrejection"))}}},Sq=xq;function Cq(t){N7(e=>{const{stackParser:r,attachStacktrace:n}=iA();if(Jr()!==t||nA())return;const{msg:o,url:s,line:a,column:l,error:u}=e,p=Tq(Bw(r,u||o,void 0,n,!1),s,a,l);p.level="error",VM(p,{originalException:u,mechanism:{handled:!1,type:"onerror"}})})}function Eq(t){A7(e=>{const{stackParser:r,attachStacktrace:n}=iA();if(Jr()!==t||nA())return;const o=kq(e),s=Mw(o)?$q(o):Bw(r,o,void 0,n,!0);s.level="error",VM(s,{originalException:o,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function kq(t){if(Mw(t))return t;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch{}return t}function $q(t){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(t)}`}]}}}function Tq(t,e,r,n){const o=t.exception=t.exception||{},s=o.values=o.values||[],a=s[0]=s[0]||{},l=a.stacktrace=a.stacktrace||{},u=l.frames=l.frames||[],p=n,h=r,d=fs(e)&&e.length>0?e:B7();return u.length===0&&u.push({colno:p,filename:d,function:Xa,in_app:!0,lineno:h}),t}function Kk(t){ld&&ct.log(`Global Handler attached: ${t}`)}function iA(){const t=Jr();return t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const Oq=()=>({name:"HttpContext",preprocessEvent(t){if(!Ht.navigator&&!Ht.location&&!Ht.document)return;const e=t.request&&t.request.url||Ht.location&&Ht.location.href,{referrer:r}=Ht.document||{},{userAgent:n}=Ht.navigator||{},o={...t.request&&t.request.headers,...r&&{Referer:r},...n&&{"User-Agent":n}},s={...t.request,...e&&{url:e},headers:o};t.request=s}}),Dq="cause",Nq=5,Mq="LinkedErrors",Aq=(t={})=>{const e=t.limit||Nq,r=t.key||Dq;return{name:Mq,preprocessEvent(n,o,s){const a=s.getOptions();QU(zw,a.stackParser,a.maxValueLength,r,e,n,o)}}},Pq=Aq;function Iq(t){const e=[WU(),FU(),mq(),oq(),Sq(),Pq(),ZM(),Oq()];return t.autoSessionTracking!==!1&&e.push(bq()),e}function Rq(t={}){const e={defaultIntegrations:Iq(t),release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:Ht.SENTRY_RELEASE&&Ht.SENTRY_RELEASE.id?Ht.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0};return t.defaultIntegrations==null&&delete t.defaultIntegrations,{...e,...t}}function jq(){const t=typeof Ht.window<"u"&&Ht;if(!t)return!1;const e=t.chrome?"chrome":"browser",r=t[e],n=r&&r.runtime&&r.runtime.id,o=Ht.location&&Ht.location.href||"",s=["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"],a=!!n&&Ht===Ht.top&&s.some(u=>o.startsWith(`${u}//`)),l=typeof t.nw<"u";return!!n&&!a&&!l}function Fq(t={}){const e=Rq(t);if(!e.skipBrowserExtensionCheck&&jq()){ai(()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")});return}ld&&(rA()||ct.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill."));const r={...e,stackParser:O7(e.stackParser||tq),integrations:yU(e),transport:e.transport||WH};return CU(OH,r)}const p0=Ne(D.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add"),zq=Ne(D.jsx("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"}),"ArrowBack"),Lq=Ne(D.jsx("path",{d:"m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z"}),"ArrowDownward"),Bq=Ne(D.jsx("path",{d:"m10 17 5-5-5-5z"}),"ArrowRight"),Wq=Ne(D.jsx("path",{d:"m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z"}),"ArrowUpward"),Uq=Ne(D.jsx("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm2 11h-3v3.75c0 1.24-1.01 2.25-2.25 2.25S8.5 17.99 8.5 16.75s1.01-2.25 2.25-2.25c.46 0 .89.14 1.25.38V11h4zm-3-4V3.5L18.5 9z"}),"AudioFile"),Hq=Ne([D.jsx("path",{d:"M16.5 12h-9c-.55 0-1 .45-1 1v1h11v-1c0-.55-.45-1-1-1M7.25 8.5h4v2h-4zm5.5 0h4v2h-4z"},"0"),D.jsx("path",{d:"M20 2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-1 15h-1.5v-1.5h-11V17H5v-3.83c0-.66.25-1.26.65-1.72V9c0-1.1.9-2 2-2H11c.37 0 .72.12 1 .32.28-.2.63-.32 1-.32h3.35c1.1 0 2 .9 2 2v2.45c.4.46.65 1.06.65 1.72z"},"1")],"BedroomParent"),qq=Ne(D.jsx("path",{d:"M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2"}),"Bookmark"),Vq=Ne(D.jsx("path",{d:"M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2m0 15-5-2.18L7 18V5h10z"}),"BookmarkBorder"),Gq=Ne(D.jsx("path",{d:"M22 24H2v-4h20zM13.06 5.19l3.75 3.75L7.75 18H4v-3.75zm4.82 2.68-3.75-3.75 1.83-1.83c.39-.39 1.02-.39 1.41 0l2.34 2.34c.39.39.39 1.02 0 1.41z"}),"BorderColor"),lA=Ne(D.jsx("path",{d:"M20 15.31 23.31 12 20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20zM12 18V6c3.31 0 6 2.69 6 6s-2.69 6-6 6"}),"Brightness6"),Xq=Ne(D.jsx("path",{d:"m22.7 19-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9 6 6 9 1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 1.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4"}),"Build"),Jq=Ne(D.jsx("path",{d:"M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 18H4V8h16z"}),"CalendarToday"),Yq=Ne([D.jsx("circle",{cx:"12",cy:"12",r:"3.2"},"0"),D.jsx("path",{d:"M9 2 7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5"},"1")],"CameraAlt"),cd=Ne(D.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"}),"Cancel"),Yn=Ne(D.jsx("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check"),Hr=Ne(D.jsx("path",{d:"M19 6.41 17.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 12z"}),"Close"),Ww=Ne(D.jsx("path",{d:"M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6z"}),"Code"),Kq=Ne(D.jsx("path",{d:"m13.7826 15.1719 2.1213-2.1213 5.9963 5.9962-2.1213 2.1213zM17.5 10c1.93 0 3.5-1.57 3.5-3.5 0-.58-.16-1.12-.41-1.6l-2.7 2.7-1.49-1.49 2.7-2.7c-.48-.25-1.02-.41-1.6-.41C15.57 3 14 4.57 14 6.5c0 .41.08.8.21 1.16l-1.85 1.85-1.78-1.78.71-.71-1.41-1.41L12 3.49c-1.17-1.17-3.07-1.17-4.24 0L4.22 7.03l1.41 1.41H2.81l-.71.71 3.54 3.54.71-.71V9.15l1.41 1.41.71-.71 1.78 1.78-7.41 7.41 2.12 2.12L16.34 9.79c.36.13.75.21 1.16.21"}),"Construction"),Zq=Ne(D.jsx("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"}),"ContentCopy"),cA=Ne(D.jsx("path",{d:"M20 6h-8l-2-2H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2m-1 8h-3v3h-2v-3h-3v-2h3V9h2v3h3z"}),"CreateNewFolder"),Qq=Ne(D.jsx("path",{d:"M4 7v2c0 .55-.45 1-1 1H2v4h1c.55 0 1 .45 1 1v2c0 1.65 1.35 3 3 3h3v-2H7c-.55 0-1-.45-1-1v-2c0-1.3-.84-2.42-2-2.83v-.34C5.16 11.42 6 10.3 6 9V7c0-.55.45-1 1-1h3V4H7C5.35 4 4 5.35 4 7m17 3c-.55 0-1-.45-1-1V7c0-1.65-1.35-3-3-3h-3v2h3c.55 0 1 .45 1 1v2c0 1.3.84 2.42 2 2.83v.34c-1.16.41-2 1.52-2 2.83v2c0 .55-.45 1-1 1h-3v2h3c1.65 0 3-1.35 3-3v-2c0-.55.45-1 1-1h1v-4z"}),"DataObject"),sa=Ne(D.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete"),Uw=Ne(D.jsx("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm2 16H8v-2h8zm0-4H8v-2h8zm-3-5V3.5L18.5 9z"}),"Description"),ku=Ne(D.jsx("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Edit"),eV=Ne(D.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"}),"Error"),tV=Ne(D.jsx("path",{d:"M20 19.59V8l-6-6H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c.45 0 .85-.15 1.19-.4l-4.43-4.43c-.8.52-1.74.83-2.76.83-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5c0 1.02-.31 1.96-.83 2.75zM9 13c0 1.66 1.34 3 3 3s3-1.34 3-3-1.34-3-3-3-3 1.34-3 3"}),"FindInPage"),rV=Ne(D.jsx("path",{d:"M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m0 12H4V8h16z"}),"FolderOpen"),nV=Ne(D.jsx("path",{d:"M20 6h-8l-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m-2.06 11L15 15.28 12.06 17l.78-3.33-2.59-2.24 3.41-.29L15 8l1.34 3.14 3.41.29-2.59 2.24z"}),"FolderSpecial"),oV=Ne(D.jsx("path",{d:"M9.93 13.5h4.14L12 7.98zM20 2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-4.05 16.5-1.14-3H9.17l-1.12 3H5.96l5.11-13h1.86l5.11 13z"}),"FontDownload"),sV=Ne(D.jsx("path",{d:"M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4z"}),"FormatItalic"),aV=Ne(D.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 17h-2v-2h2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25"}),"Help"),iV=Ne(D.jsx("path",{d:"M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2M8.5 13.5l2.5 3.01L14.5 12l4.5 6H5z"}),"Image"),uA=Ne(D.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"}),"Info"),dA=Ne(D.jsx("path",{d:"M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm7 7V3.5L18.5 9z"}),"InsertDriveFile"),lV=Ne(D.jsx("path",{d:"M19 7v4H5.83l3.58-3.59L8 6l-6 6 6 6 1.41-1.41L5.83 13H21V7z"}),"KeyboardReturn"),pA=Ne(D.jsx("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"}),"Link"),cV=Ne(D.jsx("path",{d:"M3 13h2v-2H3zm0 4h2v-2H3zm0-8h2V7H3zm4 4h14v-2H7zm0 4h14v-2H7zM7 7v2h14V7z"}),"List"),uV=Ne(D.jsx("path",{d:"M19 5v14H5V5zm1.1-2H3.9c-.5 0-.9.4-.9.9v16.2c0 .4.4.9.9.9h16.2c.4 0 .9-.5.9-.9V3.9c0-.5-.5-.9-.9-.9M11 7h6v2h-6zm0 4h6v2h-6zm0 4h6v2h-6zM7 7h2v2H7zm0 4h2v2H7zm0 4h2v2H7z"}),"ListAlt"),dV=Ne(D.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-5 14h-2V9h-2V7h4z"}),"LooksOne"),pV=Ne(D.jsx("path",{d:"M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3z"}),"MusicNote"),fA=Ne(D.jsx("path",{d:"M12 6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0 10c2.7 0 5.8 1.29 6 2H6c.23-.72 3.31-2 6-2m0-12C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 10c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4"}),"PersonOutlined"),Af=Ne(D.jsx("path",{d:"M5 4v2h14V4zm0 10h4v6h6v-6h4l-7-7z"}),"Publish"),hA=Ne(D.jsx("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"}),"Refresh"),mA=Ne(D.jsx("path",{d:"m20.2 5.9.8-.8C19.6 3.7 17.8 3 16 3s-3.6.7-5 2.1l.8.8C13 4.8 14.5 4.2 16 4.2s3 .6 4.2 1.7m-.9.8c-.9-.9-2.1-1.4-3.3-1.4s-2.4.5-3.3 1.4l.8.8c.7-.7 1.6-1 2.5-1s1.8.3 2.5 1zM19 13h-2V9h-2v4H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2M8 18H6v-2h2zm3.5 0h-2v-2h2zm3.5 0h-2v-2h2z"}),"Router"),f0=Ne(D.jsx("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z"}),"Save"),fV=Ne(D.jsx("path",{d:"M19 12v7H5v-7H3v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7zm-6 .67 2.59-2.58L17 11.5l-5 5-5-5 1.41-1.41L11 12.67V3h2z"}),"SaveAlt"),h0=Ne(D.jsx("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings"),Zk=Ne(D.jsx("path",{d:"M12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m7-7H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2m-1.75 9c0 .23-.02.46-.05.68l1.48 1.16c.13.11.17.3.08.45l-1.4 2.42c-.09.15-.27.21-.43.15l-1.74-.7c-.36.28-.76.51-1.18.69l-.26 1.85c-.03.17-.18.3-.35.3h-2.8c-.17 0-.32-.13-.35-.29l-.26-1.85c-.43-.18-.82-.41-1.18-.69l-1.74.7c-.16.06-.34 0-.43-.15l-1.4-2.42c-.09-.15-.05-.34.08-.45l1.48-1.16c-.03-.23-.05-.46-.05-.69s.02-.46.05-.68l-1.48-1.16c-.13-.11-.17-.3-.08-.45l1.4-2.42c.09-.15.27-.21.43-.15l1.74.7c.36-.28.76-.51 1.18-.69l.26-1.85c.03-.17.18-.3.35-.3h2.8c.17 0 .32.13.35.29l.26 1.85c.43.18.82.41 1.18.69l1.74-.7c.16-.06.34 0 .43.15l1.4 2.42c.09.15.05.34-.08.45l-1.48 1.16c.03.23.05.46.05.69"}),"SettingsApplications"),hV=Ne(D.jsx("path",{d:"m3.5 18.49 6-6.01 4 4L22 6.92l-1.41-1.41-7.09 7.97-4-4L2 16.99z"}),"ShowChart"),_A=Ne(D.jsx("path",{d:"M11.99 2c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10m3.61 6.34c1.07 0 1.93.86 1.93 1.93s-.86 1.93-1.93 1.93-1.93-.86-1.93-1.93c-.01-1.07.86-1.93 1.93-1.93m-6-1.58c1.3 0 2.36 1.06 2.36 2.36s-1.06 2.36-2.36 2.36-2.36-1.06-2.36-2.36c0-1.31 1.05-2.36 2.36-2.36m0 9.13v3.75c-2.4-.75-4.3-2.6-5.14-4.96 1.05-1.12 3.67-1.69 5.14-1.69.53 0 1.2.08 1.9.22-1.64.87-1.9 2.02-1.9 2.68M11.99 20c-.27 0-.53-.01-.79-.04v-4.07c0-1.42 2.94-2.13 4.4-2.13 1.07 0 2.92.39 3.84 1.15-1.17 2.97-4.06 5.09-7.45 5.09"}),"SupervisedUserCircle"),mV=Ne(D.jsx("path",{d:"M2.5 4v3h5v12h3V7h5V4zm19 5h-9v3h3v7h3v-7h3z"}),"TextFields"),_V=Ne(D.jsx("path",{d:"M16 13h-3V3h-2v10H8l4 4zM4 19v2h16v-2z"}),"VerticalAlignBottom"),gV=Ne(D.jsx("path",{d:"M8 11h3v10h2V11h3l-4-4zM4 3v2h16V3z"}),"VerticalAlignTop"),yV=Ne(D.jsx("path",{d:"M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11z"}),"Videocam"),vV=Ne(D.jsx("path",{d:"M14.67 5v14H9.33V5zm1 14H21V5h-5.33zm-7.34 0V5H3v14z"}),"ViewColumn"),bV=Ne(D.jsx("path",{d:"M14.67 5v6.5H9.33V5zm1 6.5H21V5h-5.33zm-1 7.5v-6.5H9.33V19zm1-6.5V19H21v-6.5zm-7.34 0H3V19h5.33zm0-1V5H3v6.5z"}),"ViewModule"),wV=Ne(D.jsx("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"Visibility"),xV=Ne(D.jsx("path",{d:"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z"}),"Warning"),du=Ne(D.jsx("path",{d:"m1 9 2 2c4.97-4.97 13.03-4.97 18 0l2-2C16.93 2.93 7.08 2.93 1 9m8 8 3 3 3-3c-1.65-1.66-4.34-1.66-6 0m-4-4 2 2c2.76-2.76 7.24-2.76 10 0l2-2C15.14 9.14 8.87 9.14 5 13"}),"Wifi"),Hp=Ne(D.jsx("path",{d:"M22.99 9C19.15 5.16 13.8 3.76 8.84 4.78l2.52 2.52c3.47-.17 6.99 1.05 9.63 3.7zm-4 4c-1.29-1.29-2.84-2.13-4.49-2.56l3.53 3.53zM2 3.05 5.07 6.1C3.6 6.82 2.22 7.78 1 9l1.99 2c1.24-1.24 2.67-2.16 4.2-2.77l2.24 2.24C7.81 10.89 6.27 11.73 5 13v.01L6.99 15c1.36-1.36 3.14-2.04 4.92-2.06L18.98 20l1.27-1.26L3.29 1.79zM9 17l3 3 3-3c-1.65-1.66-4.34-1.66-6 0"}),"WifiOff");function SV(){console.log(` +██╗ ██████╗ ██████╗ ██████╗ ██████╗ ██╗ ██╗███████╗██████╗ +██║██╔═══██╗██╔══██╗██╔══██╗██╔═══██╗██║ ██╔╝██╔════╝██╔══██╗ +██║██║ ██║██████╔╝██████╔╝██║ ██║█████╔╝ █████╗ ██████╔╝ +██║██║ ██║██╔══██╗██╔══██╗██║ ██║██╔═██╗ ██╔══╝ ██╔══██╗ +██║╚██████╔╝██████╔╝██║ ██║╚██████╔╝██║ ██╗███████╗██║ ██║ +╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ +`),console.log("Nice to see you here! :) Join our dev community here https://github.com/ioBroker/ioBroker or here https://github.com/iobroker-community-adapters"),console.log("Help us to create open source project with reactJS!"),console.log("See you :)")}const CV=` +/** + * Copyright 2018-2024 Denis Haev (bluefox) + * + * MIT License + * + **/ + +.logo-background-light, .logo-background-colored { + background: white; +} +.logo-background-dark, .logo-background-blue { + background: black; +} +.logo-div { + position: absolute; + top: 50%; + left: 50%; + -ms-transform: translateX(-50%) translateY(-50%); + -webkit-transform: translate(-50%,-50%); + transform: translate(-50%,-50%); + overflow: hidden; + border-radius: 50%; + z-index: 2; +} +.logo-border { + /*border-color: #164477;*/ + border-top-color: #3399CC; + border-left-color: #164477; + border-bottom-color: #164477; + border-right-color: #164477; + border-radius: 50%; + border-style: solid; + box-sizing: border-box; + width: 100%; + height: 100%; + position: absolute; +} +.logo-top { + position: absolute; + width: 4.5%; + height: 16%; + top: 0; + z-index: 2; +} +.logo-i { + position: absolute; + width: 14.5%; + height: 60%; + top: 20%; + left: 42%; + background: #3399CC; +} +.logo-i-top { + position: absolute; + width: 14.5%; + height: 4%; + left: 42%; + background: #3399CC; + border-radius: 100%; +} +.logo-back { + width: 100%; + height: 100%; + z-index: 0; + overflow: hidden; +} +@keyframes logo-grow { + 0% { + width: 230px; + height: 230px; + transform: translate(-50%,-50%) scale(1); + opacity: 1 + } + 99% { + width: 230px; + height: 230px; + transform: translate(-50%,-50%) scale(10); + opacity: 0; + } + 100% { + width: 0; + height: 0; + opacity: 0; + } +} +@keyframes logo-spin { 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } +@keyframes logo-color-inside-light { + 0% { + background: #FEFEFE; + } + 100% { + background: #3399CC; + } +} +@keyframes logo-color-inside-dark { + 0% { + background: #030303; + } + 100% { + background: #3399CC; + } +} +@keyframes logo-color-inside-colored { + 0% { + background: #FEFEFE; + } + 100% { + background: #3399CC; + } +} +@keyframes logo-color-inside-blue { + 0% { + background: #030303; + } + 100% { + background: #3399CC; + } +} + +@keyframes logo-color-outside-light { + 0% { + border-color: #FEFEFE; + } + 100% { + border-top-color: #3399CC; + border-left-color: #164477; + border-bottom-color: #164477; + border-right-color: #164477; + } +} +@keyframes logo-color-outside-dark { + 0% { + border-color: #040404; + } + 100% { + border-top-color: #3399CC; + border-left-color: #164477; + border-bottom-color: #164477; + border-right-color: #164477; + } +} +@keyframes logo-color-outside-colored { + 0% { + border-color: #FEFEFE; + } + 100% { + border-top-color: #3399CC; + border-left-color: #164477; + border-bottom-color: #164477; + border-right-color: #164477; + } +} +@keyframes logo-color-outside-blue { + 0% { + border-color: #040404; + } + 100% { + border-top-color: #3399CC; + border-left-color: #164477; + border-bottom-color: #164477; + border-right-color: #164477; + } +} + +.logo-animate-wait { + animation: logo-color-outside 1.5s, logo-spin 1.5s linear infinite; +} + +.logo-animate-grow-light { + background: #DDD; +} +.logo-animate-grow-dark { + background: #1d1d1d; +} +.logo-animate-grow-colored { + background: #DDD; +} +.logo-animate-grow-blue { + background: #1d1d1d; +} + +.logo-animate-grow { + display: inline-block; + text-align: center; + z-index: 1; + top: 50%; + left: 50%; + -ms-transform: translateX(-50%) translateY(-50%); + -webkit-transform: translate(-50%,-50%); + transform: translate(-50%,-50%); + width: 245px; + height: 245px; + border-radius: 50%; + position: absolute; + animation: logo-grow 1s 1 ease forwards; +} + +.logo-animate-color-inside-light { + animation: logo-color-inside-light 2.5s; +} +.logo-animate-color-inside-dark { + animation: logo-color-inside-dark 2.5s; +} +.logo-animate-color-inside-colored { + animation: logo-color-inside-colored 2.5s; +} +.logo-animate-color-inside-blue { + animation: logo-color-inside-blue 2.5s; +} + +.logo-animate-color-outside-light { + animation: logo-color-outside-light 1.5s; +} +.logo-animate-color-outside-dark { + animation: logo-color-outside-dark 1.5s; +} +.logo-animate-color-outside-colored { + animation: logo-color-outside-colored 1.5s; +} +.logo-animate-color-outside-blue { + animation: logo-color-outside-blue 1.5s; +} +`;function gA(t){N.useEffect(()=>{if(!window.document.getElementById("loader-iobroker-component")){const n=window.document.createElement("style");n.setAttribute("id","loader-iobroker-component"),n.innerHTML=CV,window.document.head.appendChild(n)}},[]);const e=t.size||234,r=t.themeName||t.theme||t.themeType||"light";return m.createElement("div",{className:`logo-back logo-background-${r}`,style:{backgroundImage:t.backgroundImage&&t.backgroundImage!=="@@loginBackgroundImage@@"?t.backgroundImage:window.loadingBackgroundImage&&window.loadingBackgroundImage!=="@@loginBackgroundImage@@"?`url(${window.loadingBackgroundImage})`:void 0,backgroundColor:t.backgroundColor&&t.backgroundColor!=="@@loginBackgroundColor@@"?t.backgroundColor:window.loadingBackgroundColor&&window.loadingBackgroundColor!=="@@loginBackgroundColor@@"?window.loadingBackgroundColor:void 0,backgroundSize:"cover"}},window.loadingHideLogo==="true"?null:m.createElement(m.Fragment,null,m.createElement("div",{className:"logo-div",style:{width:e,height:e}},m.createElement("div",{className:`logo-top logo-background-${r}`,style:{left:"37%"}}),m.createElement("div",{className:`logo-top logo-background-${r}`,style:{left:"57%"}}),m.createElement("div",{className:`logo-border logo-background-${r} logo-animate-wait`,style:{borderWidth:e*.132}}),m.createElement("div",{className:`logo-i logo-animate-color-inside-${r}`}),m.createElement("div",{className:`logo-i-top logo-animate-color-inside-${r}`,style:{top:"18%"}}),m.createElement("div",{className:`logo-i-top logo-animate-color-inside-${r}`,style:{bottom:"18%"}})),m.createElement("div",{className:`logo-animate-grow logo-animate-grow-${r}`,style:{width:e+11,height:e+11}})))}class $u extends N.Component{constructor(r){super(r);Y(this,"onHashChangedBound");this.onHashChangedBound=this.onHashChanged.bind(this)}componentDidMount(){window.addEventListener("hashchange",this.onHashChangedBound)}componentWillUnmount(){window.removeEventListener("hashchange",this.onHashChangedBound)}onHashChanged(){}static getLocation(){let r=window.location.hash;r=r.replace(/^#/,"");const n=r.split("/").map(o=>{try{return o?decodeURIComponent(o):""}catch{return console.error(`Router: Cannot decode ${o}`),o}});return{tab:n[0]||"",dialog:n[1]||"",id:n[2]||"",arg:n[3]||""}}static doNavigate(r,n,o,s){let a="";const l=$u.getLocation();s!==void 0&&!o&&(o=l.id),o&&!n&&(n=l.dialog),(n&&!r||r===null)&&(r=l.tab),r&&(a=`#${r}`,n&&(a+=`/${n}`,o&&(a+=`/${o}`,s!==void 0&&(a+=`/${s}`)))),window.location.hash!==a&&(window.location.hash=a)}}function EV(){const t=document.getSelection();if(!(t!=null&&t.rangeCount))return()=>{};let e=document.activeElement;const r=[];for(let n=0;n{t.type==="Caret"&&t.removeAllRanges(),t.rangeCount||r.forEach(n=>t.addRange(n)),e&&e.focus()}}const Qk={"text/plain":"Text","text/html":"Url",default:"Text"},kV="Copy to clipboard: #{key}, Enter";function $V(t){const e=`${/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl"}+C`;return t.replace(/#{\s*key\s*}/g,e)}function TV(t,e){let r,n,o,s,a=!1;e=e||{};const l=e.debug||!1;try{if(r=EV(),n=document.createRange(),o=document.getSelection(),s=document.createElement("span"),s.textContent=t,s.ariaHidden="true",s.style.all="unset",s.style.position="fixed",s.style.top="0px",s.style.clip="rect(0, 0, 0, 0)",s.style.whiteSpace="pre",s.style.userSelect="text",s.addEventListener("copy",p=>{var h,d,_,g;if(p.stopPropagation(),e!=null&&e.format)if(p.preventDefault(),typeof p.clipboardData>"u"){l&&console.warn("unable to use e.clipboardData"),l&&console.warn("trying IE specific stuff"),(h=window.clipboardData)==null||h.clearData();const v=Qk[e.format]||Qk.default;(d=window.clipboardData)==null||d.setData(v,t)}else(_=p.clipboardData)==null||_.clearData(),(g=p.clipboardData)==null||g.setData(e.format,t)}),document.body.appendChild(s),n.selectNodeContents(s),o==null||o.addRange(n),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");a=!0}catch(u){l&&console.error("unable to copy using execCommand: ",u),l&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(e.format||"text",t),a=!0}catch(p){l&&console.error("unable to copy using clipboardData: ",p),l&&console.error("falling back to prompt");const h=$V("message"in e?e.message||"":kV);window.prompt(h,t)}}finally{o&&(n&&typeof o.removeRange=="function"?o.removeRange(n):o.removeAllRanges()),s&&document.body.removeChild(s),r&&r()}return a}const It=class It{static setLanguage(e){e&&(It.lang=e)}static extendTranslations(e,r){if(e.prefix){const n=e;if(typeof n.prefix=="string"){const o=n.prefix;delete n.prefix,Object.keys(n).forEach(s=>{const a=s,l={},u=n[a];Object.keys(u).forEach(p=>{p&&u&&(p.startsWith(o)?l[p]=u[p]:l[`${o}${p}`]=u[p])}),e[a]=l})}else console.warn("Found prefix in translations, but it is not a string")}try{if(!r)e.en&&e.de&&e.ru?Object.keys(e).forEach(n=>{const o=n;It.translations[o]=It.translations[o]||{};const s=It.translations[o];Object.assign(s,e[o])}):Object.keys(e).forEach(n=>{const o=e[n];Object.keys(o).forEach(s=>{const a=s,l=It.translations[a];l?l[n]?l[n]!==o[a]&&console.warn(`Translation for word "${n}" in "${a}" was ignored: existing = "${l[n]}", new = ${o[a]}`):l[n]=o[a]:console.warn(`Used unknown language: ${a}`)})});else{It.translations[r]||console.warn(`Used unknown language: ${r}`),It.translations[r]=It.translations[r]||{};const n=It.translations[r];n&&Object.keys(e).forEach(o=>{n[o]?n[o]!==e[o]&&console.warn(`Translation for word "${o}" in "${r}" was ignored: existing = "${n[o]}", new = ${e[o]}`):n[o]=e[o]})}}catch(n){console.error(`Cannot apply translations: ${n}`)}}static setTranslations(e){e&&(It.translations=e)}static getLanguage(){return It.lang}static t(e,...r){const n=It.translations[It.lang];if(n){const o=n[e];if(o)e=o;else if(It.unknownTranslations.includes(e)||(It.unknownTranslations.push(e),!It._disableWarning&&console.log(`Translate: ${e}`)),It.lang!=="en"&&It.translations.en){const s=It.translations.en[e];s&&(e=s)}}for(const o of r)e=e.replace("%s",o);return e}static i18nShow(e){const r={};e?typeof e=="string"?(It.unknownTranslations.forEach(n=>{n.startsWith(e)&&(r[n]=n.replace(e,""))}),console.log(JSON.stringify(r,null,2))):typeof e=="object"&&(It.unknownTranslations.forEach(n=>{e.test(n)&&(r[n]=n)}),console.log(JSON.stringify(r,null,2))):(It.unknownTranslations.forEach(n=>r[n]=n),console.log(JSON.stringify(r,null,2)))}static disableWarning(e){It._disableWarning=!!e}};Y(It,"translations",{}),Y(It,"unknownTranslations",[]),Y(It,"lang",window.sysLang||"en"),Y(It,"_disableWarning",!1);let R=It;window.i18nShow=R.i18nShow;window.i18nDisableWarning=R.disableWarning;const To="material",OV=["Su","Mo","Tu","We","Th","Fr","Sa"],DV=["Jan","Feb","Mar","Apr","Mai","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],eg={0:"0x00 - good",1:"0x01 - general problem",2:"0x02 - no connection problem",16:"0x10 - substitute value from controller",32:"0x20 - substitute initial value",64:"0x40 - substitute value from device or instance",128:"0x80 - substitute value from sensor",17:"0x11 - general problem by instance",65:"0x41 - general problem by device",129:"0x81 - general problem by sensor",18:"0x12 - instance not connected",66:"0x42 - device not connected",130:"0x82 - sensor not connected",68:"0x44 - device reports error",132:"0x84 - sensor reports error"},e$={JVBERi0:"pdf",R0lGODdh:"gif",R0lGODlh:"gif",iVBORw0KGgo:"png","/9j/":"jpg",PHN2Zw:"svg",Qk1:"bmp",AAABAA:"ico"},Bt=class Bt{static CapitalWords(e){return(e||"").split(/[\s_]/).filter(r=>r).map(r=>r?r[0].toUpperCase()+r.substring(1).toLowerCase():"").join(" ")}static formatSeconds(e){const r=Math.floor(e/86400);e%=3600*24;const n=Math.floor(e/3600).toString().padStart(2,"0");e%=3600;const o=Math.floor(e/60).toString().padStart(2,"0");e%=60;const s=Math.floor(e).toString().padStart(2,"0");let a="";return r&&(a+=`${r} ${R.t("ra_daysShortText")} `),a+=`${n}:${o}:${s}`,a}static getObjectName(e,r,n,o,s){var u;const a=e[r];let l;if(typeof n=="string"&&!o&&(o={language:n},n=null),o=o||{},o.language||(o.language=e["system.config"]&&e["system.config"].common&&e["system.config"].common.language||window.sysLang||"en"),n!=null&&n.name){const p=n.name;typeof p=="object"?l=o.language&&p[o.language]||p.en:l=p}else if(s&&((u=a==null?void 0:a.common)!=null&&u.desc)){const p=a.common.desc;typeof p=="object"?l=o.language&&p[o.language]||p.en||p.de||p.ru||"":l=p,l=(l||"").toString().replace(/[_.]/g," "),l===l.toUpperCase()&&(l=l[0]+l.substring(1).toLowerCase())}else if(!s&&(a!=null&&a.common)){const p=a.common.name||a.common.desc;p&&typeof p=="object"?l=o.language&&p[o.language]||p.en||p.de||p.ru||"":l=p,l=(l||"").toString().replace(/[_.]/g," "),l===l.toUpperCase()&&(l=l[0]+l.substring(1).toLowerCase())}else{const p=r.lastIndexOf(".");l=r.substring(p+1).replace(/[_.]/g," "),l=Bt.CapitalWords(l)}return(l==null?void 0:l.trim())||""}static getObjectNameFromObj(e,r,n,o,s){var u,p;const a=e;let l=e&&e._id||"";if(typeof r=="string"&&!n&&(n={language:r},r=null),n=n||{},r!=null&&r.name){const h=r.name;typeof h=="object"?l=n.language&&h[n.language]||h.en:l=h}else if(o&&((u=a==null?void 0:a.common)!=null&&u.desc)){const h=a.common.desc;typeof h=="object"?l=n.language&&h[n.language]||h.en:l=h,l=(l||"").toString().replace(/[_.]/g," "),l===l.toUpperCase()&&(l=l[0]+l.substring(1).toLowerCase())}else if(!o&&((p=a==null?void 0:a.common)!=null&&p.name)){let h=a.common.name;!h&&a.common.desc&&(h=a.common.desc),typeof h=="object"?l=n.language&&h[n.language]||h.en:l=h,l=(l||"").toString().replace(/[_.]/g," "),l===l.toUpperCase()&&(l=l[0]+l.substring(1).toLowerCase())}return s?l:l.trim()}static getSettingsOrder(e,r,n){let o;e&&Object.prototype.hasOwnProperty.call(e,"common")?o=e.common:o=e;let s;if(o!=null&&o.custom){s=o.custom[To];const a=n.user||"admin";if(s&&s[a]){if(r){if(s[a].subOrder&&s[a].subOrder[r])return JSON.parse(JSON.stringify(s[a].subOrder[r]))}else if(s[a].order)return JSON.parse(JSON.stringify(s[a].order))}}return null}static getSettingsCustomURLs(e,r,n){let o;e&&Object.prototype.hasOwnProperty.call(e,"common")?o=e.common:o=e;let s;if(o!=null&&o.custom){s=o.custom[To];const a=n.user||"admin";if(s&&s[a]){if(r){if(s[a].subURLs&&s[a].subURLs[r])return JSON.parse(JSON.stringify(s[a].subURLs[r]))}else if(s[a].URLs)return JSON.parse(JSON.stringify(s[a].URLs))}}return null}static reorder(e,r,n){const o=Array.from(e),[s]=o.splice(r,1);return o.splice(n,0,s),o}static getSettings(e,r,n){let o;const s=(e==null?void 0:e._id)||(r==null?void 0:r.id);let a;if(e&&Object.prototype.hasOwnProperty.call(e,"common")?a=e.common:a=e,a!=null&&a.custom?(o=a.custom,o=o[To]&&o[To][r.user||"admin"]?JSON.parse(JSON.stringify(o[To][r.user||"admin"])):{enabled:!0}):o={enabled:n===void 0?!0:n,useCustom:!1},Object.prototype.hasOwnProperty.call(o,"enabled")||(o.enabled=n===void 0?!0:n),r&&(!o.name&&r.name&&(o.name=r.name),!o.icon&&r.icon&&(o.icon=r.icon),!o.color&&r.color&&(o.color=r.color)),a&&(!o.color&&a.color&&(o.color=a.color),!o.icon&&a.icon&&(o.icon=a.icon),!o.name&&a.name&&(o.name=a.name)),typeof o.name=="object"&&(o.name=r.language&&o.name[r.language]||o.name.en,o.name=(o.name||"").toString().replace(/_/g," "),o.name===o.name.toUpperCase()&&(o.name=o.name[0]+o.name.substring(1).toLowerCase())),!o.name&&s){const l=s.lastIndexOf(".");o.name=s.substring(l+1).replace(/[_.]/g," "),o.name=(o.name||"").toString().replace(/_/g," "),o.name=Bt.CapitalWords(o.name)}return o}static setSettings(e,r,n){if(e){e.common=e.common||{},e.common.custom=e.common.custom||{},e.common.custom[To]=e.common.custom[To]||{},e.common.custom[To][n.user||"admin"]=r;const o=e.common.custom[To][n.user||"admin"];return o.useCommon&&(o.color!==void 0&&(e.common.color=o.color,delete o.color),o.icon!==void 0&&(e.common.icon=o.icon,delete o.icon),o.name!==void 0&&(typeof e.common.name!="object"&&n.language?e.common.name={[n.language]:o.name}:typeof e.common.name=="object"&&n.language&&(e.common.name[n.language]=o.name),delete o.name)),!0}return!1}static getIcon(e,r){return e!=null&&e.icon?e.icon.length<=2?m.createElement("span",{style:r||{}},e.icon):e.icon.startsWith("data:image")?m.createElement("img",{alt:e.name,src:e.icon,style:r||{}}):m.createElement("img",{alt:e.name,src:(e.prefix||"")+e.icon,style:r}):null}static getObjectIcon(e,r){var n;if(typeof e=="object"&&(r=e,e=r==null?void 0:r._id),(n=r==null?void 0:r.common)!=null&&n.icon){let o=r.common.icon;if(typeof o=="string"&&o.length<=2||o.startsWith("data:image"))return o;const s=e.split(".");return s[0]==="system"?o=`adapter/${s[2]}${o.startsWith("/")?"":"/"}${o}`:o=`adapter/${s[0]}${o.startsWith("/")?"":"/"}${o}`,window.location.pathname.match(/adapter\/[^/]+\/[^/]+\.html/)?o=`../../${o}`:window.location.pathname.match(/material\/[.\d]+/)?o=`../../${o}`:window.location.pathname.match(/material\//)&&(o=`../${o}`),o}return null}static splitCamelCase(e){return e?Bt.CapitalWords(e):""}static isUseBright(e,r){if(!e)return r===void 0?!0:r;e=e.toString(),e.startsWith("#")&&(e=e.slice(1));let n,o,s;const a=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);if(a&&a.length===4)n=parseInt(a[1],10),o=parseInt(a[2],10),s=parseInt(a[3],10);else{if(e.length===3&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),e.length===8)e=e.substring(0,6);else if(e.length!==6)return!1;n=parseInt(e.slice(0,2),16),o=parseInt(e.slice(2,4),16),s=parseInt(e.slice(4,6),16)}return n*.299+o*.587+s*.114<=186}static getTimeString(e){if(e=parseFloat(e),Number.isNaN(e))return"--:--";const r=Math.floor(e/3600),n=Math.floor(e%3600/60).toString().padStart(2,"0"),o=(e%60).toString().padStart(2,"0");return r?`${r}:${n}:${o}`:`${n}:${o}`}static getWindDirection(e){return e>=0&&e<11.25?"N":e>=11.25&&e<33.75?"NNE":e>=33.75&&e<56.25?"NE":e>=56.25&&e<78.75?"ENE":e>=78.75&&e<101.25?"E":e>=101.25&&e<123.75?"ESE":e>=123.75&&e<146.25?"SE":e>=146.25&&e<168.75?"SSE":e>=168.75&&e<191.25?"S":e>=191.25&&e<213.75?"SSW":e>=213.75&&e<236.25?"SW":e>=236.25&&e<258.75?"WSW":e>=258.75&&e<281.25?"W":e>=281.25&&e<303.75?"WNW":e>=303.75&&e<326.25?"NW":e>=326.25&&e<348.75?"NNW":"N"}static padding(e){return typeof e=="string"?e.length<2?`0${e}`:e:e<10?`0${e}`:e.toString()}static setDataFormat(e){e&&(Bt.dateFormat=e.toUpperCase().split(/[.-/]/),Bt.dateFormat.splice(Bt.dateFormat.indexOf("YYYY"),1))}static date2string(e){if(typeof e=="string"){if(e=e.trim(),!e)return"";if(e.match(/^[\w\s]+$/))return e;const n=e.match(/(\d{1,4})[-./](\d{1,2})[-./](\d{1,4})/);if(n){const o=[parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3],10)],s=o.find(a=>a>31);if(s!==void 0){o.splice(o.indexOf(s),1);const a=o.find(l=>l>12);a?(o.splice(o.indexOf(a),1),e=new Date(s,o[0]-1,a)):Bt.dateFormat[0][0]==="M"&&Bt.dateFormat[1][0]==="D"?(e=new Date(s,o[0]-1,o[1]),Math.abs(e.getTime()-Date.now())>36e5*24*10&&(e=new Date(s,o[1]-1,o[0]))):Bt.dateFormat[0][0]==="D"&&Bt.dateFormat[1][0]==="M"?(e=new Date(s,o[1]-1,o[0]),Math.abs(e.getTime()-Date.now())>36e5*24*10&&(e=new Date(s,o[0]-1,o[1]))):e=new Date(e)}else e=new Date(e)}else e=new Date(e)}else e=new Date(e);let r=R.t(`ra_dow_${OV[e.getDay()]}`).replace("ra_dow_","");return r+=`. ${e.getDate()} ${R.t(`ra_month_${DV[e.getMonth()]}`).replace("ra_month_","")}`,r}static renderTextWithA(e){let r=e.match(/||[^<]+<\/b>|[^<]+<\/i>/);if(r){const n=[];let o=1;do{const s=e.substring(0,r.index);if(e=e.substring((r.index||0)+r[0].length),s&&n.push(m.createElement("span",{key:`a${o++}`},s)),r[0].startsWith(""))n.push(m.createElement("b",{key:`a${o++}`},r[0].substring(3,r[0].length-4)));else if(r[0].startsWith(""))n.push(m.createElement("i",{key:`a${o++}`},r[0].substring(3,r[0].length-4)));else if(r[0].startsWith("([^<]*)||[^<]+<\/b>|[^<]+<\/i>/):null,!r&&e&&n.push(m.createElement("span",{key:`a${o++}`},e))}while(r);return n}return e}static getSmartName(e,r,n,o){var a,l;if(!r){if(!o)return!e.common||e&&!e.common?e.smartName:e.common.smartName;if(e&&!e.common)return e.smartName;const u=e;return(a=u==null?void 0:u.common)!=null&&a.custom&&u.common.custom[n]?u.common.custom[n].smartName:void 0}if(!o)return e[r].common.smartName;const s=e[r];return(l=s==null?void 0:s.common)!=null&&l.custom&&s.common.custom[n]&&s.common.custom[n].smartName||null}static getSmartNameFromObj(e,r,n){var s,a;if(!n)return!e.common||e&&!e.common?e.smartName:e.common.smartName;if(e&&!e.common)return e.smartName;const o=(a=(s=e==null?void 0:e.common)==null?void 0:s.custom)==null?void 0:a[r];return o?o.smartName:void 0}static enableSmartName(e,r,n){n?(e.common.custom=e.common.custom||{},e.common.custom[r]=e.common.custom[r]||{},e.common.custom[r].smartName={}):e.common.smartName={}}static removeSmartName(e,r,n){n?e.common&&e.common.custom&&e.common.custom[r]&&(e.common.custom[r]=null):e.common.smartName=null}static updateSmartName(e,r,n,o,s,a){const l=R.getLanguage();if(typeof e.common.smartName=="string"){const u=e.common.smartName;e.common.smartName={},e.common.smartName[l]=u}if(e.native&&e.native.byON){delete e.native.byON;let u=e.common.smartName;u&&typeof u!="object"&&(u={en:u,[l]:u}),e.common.smartName=u}if(o!==void 0&&(a?(e.common.custom=e.common.custom||{},e.common.custom[s]=e.common.custom[s]||{},e.common.custom[s].smartName=e.common.custom[s].smartName||{},o?e.common.custom[s].smartName.smartType=o:delete e.common.custom[s].smartName.smartType):(e.common.smartName=e.common.smartName||{},o?e.common.smartName.smartType=o:delete e.common.smartName.smartType)),n!==void 0&&(a?(e.common.custom=e.common.custom||{},e.common.custom[s]=e.common.custom[s]||{},e.common.custom[s].smartName=e.common.custom[s].smartName||{},e.common.custom[s].smartName.byON=n):(e.common.smartName=e.common.smartName||{},e.common.smartName.byON=n)),r!==void 0){let u;if(a?(e.common.custom=e.common.custom||{},e.common.custom[s]=e.common.custom[s]||{},e.common.custom[s].smartName=e.common.custom[s].smartName||{},u=e.common.custom[s].smartName):(e.common.smartName=e.common.smartName||{},u=e.common.smartName),u[l]=r,u&&(!u[l]||u[l]===e.common.name&&(!e.common.role||e.common.role.includes("button")))){delete u[l];let p=!0;for(const h in u)if(Object.prototype.hasOwnProperty.call(u,h)){p=!1;break}if(p)if(a&&e.common.custom&&e.common.custom[s])e.common.custom[s].smartName.byON===void 0?delete e.common.custom[s]:(delete e.common.custom[s].en,delete e.common.custom[s].de,delete e.common.custom[s].ru,delete e.common.custom[s].nl,delete e.common.custom[s].pl,delete e.common.custom[s].it,delete e.common.custom[s].fr,delete e.common.custom[s].pt,delete e.common.custom[s].es,delete e.common.custom[s].uk,delete e.common.custom[s]["zh-cn"]);else if(e.common.smartName&&e.common.smartName.byON!==void 0){const h=e.common.smartName;delete h.en,delete h.de,delete h.ru,delete h.nl,delete h.pl,delete h.it,delete h.fr,delete h.pt,delete h.es,delete h.uk,delete h["zh-cn"]}else e.common.smartName=null}}}static disableSmartName(e,r,n){n?(e.common.custom=e.common.custom||{},e.common.custom[r]=e.common.custom[r]||{},e.common.custom[r].smartName=!1):e.common.smartName=!1}static copyToClipboard(e,r){return r&&(r.stopPropagation(),r.preventDefault()),TV(e)}static getFileExtension(e){const r=(e||"").lastIndexOf(".");return r!==-1?e.substring(r+1).toLowerCase():null}static formatBytes(e){if(Math.abs(e)<1024)return`${e} B`;const r=["KB","MB","GB"];let n=-1;do e/=1024,++n;while(Math.abs(e)>=1024&&n186?`#000000${n||""}`:`#FFFFFF${n||""}`;const l=(255-o).toString(16),u=(255-s).toString(16),p=(255-a).toString(16);return`#${l.padStart(2,"0")}${u.padStart(2,"0")}${p.padStart(2,"0")}${n||""}`}static color2rgb(e){if(e==null||e===""||typeof e!="string")return!1;if(e.startsWith("rgba")){const r=e.match(/rgba?\((\d+),\s*(\d+),\s*(\d+),\s*([.\d]+)\)/);r&&(e=parseInt(r[1],10).toString(16).padStart(2,"0")+parseInt(r[2],10).toString(16).padStart(2,"0")+parseInt(r[2],10).toString(16).padStart(2,"0"))}else if(e.startsWith("rgb")){const r=e.match(/rgb?\((\d+),\s*(\d+),\s*(\d+)\)/);r&&(e=parseInt(r[1],10).toString(16).padStart(2,"0")+parseInt(r[2],10).toString(16).padStart(2,"0")+parseInt(r[2],10).toString(16).padStart(2,"0"))}else e.startsWith("#")&&(e=e.slice(1));return e.length===3&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),e.length!==6&&e.length!==8?(console.warn(`Cannot invert color: ${e}`),!1):[parseInt(e.slice(0,2),16),parseInt(e.slice(2,4),16),parseInt(e.slice(4,6),16)]}static rgb2lab(e){let r=e[0]/255,n=e[1]/255,o=e[2]/255;r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,o=o>.04045?((o+.055)/1.055)**2.4:o/12.92;let s=(r*.4124+n*.3576+o*.1805)/.95047,a=r*.2126+n*.7152+o*.0722,l=(r*.0193+n*.1192+o*.9505)/1.08883;return s=s>.008856?s**.33333333:7.787*s+.137931,a=a>.008856?a**.33333333:7.787*a+.137931,l=l>.008856?l**.33333333:7.787*l+.137931,[116*a-16,500*(s-a),200*(a-l)]}static colorDistance(e,r){const n=Bt.color2rgb(e),o=Bt.color2rgb(r);if(!n||!o)return 0;const s=Bt.rgb2lab(n),a=Bt.rgb2lab(o),l=s[0]-a[0],u=s[1]-a[1],p=s[2]-a[2],h=Math.sqrt(s[1]*s[1]+s[2]*s[2]),d=Math.sqrt(a[1]*a[1]+a[2]*a[2]),_=h-d;let g=u*u+p*p-_*_;g=g<0?0:Math.sqrt(g);const v=1+.045*h,w=1+.015*h,x=l,C=_/v,M=g/w,$=x*x+C*C+M*M;return $<0?0:$}static _toVal(e){let r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(let o=0;o{if(n=n.trim(),n){const o=n.split("="),s=decodeURIComponent(o[0]).trim();if(o.length>1){const a=decodeURIComponent(o[1]);if(a==="true")r[s]=!0;else if(a==="false")r[s]=!1;else{const l=parseFloat(a);l.toString()===a?r[s]=l:r[s]=a}}else r[s]=!0}}),r}static getParentId(e){const r=(e||"").toString().split(".");return r.length>1?(r.pop(),r.join(".")):null}static formatDate(e,r){if(!e)return"";let n;const o=(e.getMonth()+1).toString().padStart(2,"0"),s=e.getDate().toString().padStart(2,"0");return r==="MM/DD/YYYY"?n=`${o}/${s}/${e.getFullYear()}`:n=`${e.getFullYear()}-${o}-${s}`,n+=` ${e.getHours().toString().padStart(2,"0")}:${e.getMinutes().toString().padStart(2,"0")}:${e.getSeconds().toString().padStart(2,"0")}.${e.getMilliseconds().toString().padStart(3,"0")}`,n}static formatTime(e){if(e){e=Math.round(e);const r=Math.floor(e/(3600*24)),n=Math.floor(e%(3600*24)/3600),o=Math.floor(e%3600/60),s=e%60;return r?`${r}.${n.toString().padStart(2,"0")}:${o.toString().padStart(2,"0")}:${s.toString().padStart(2,"0")}`:n?`${n}:${o.toString().padStart(2,"0")}:${s.toString().padStart(2,"0")}`:`0:${o.toString().padStart(2,"0")}:${s.toString().padStart(2,"0")}`}return"0:00:00"}static MDtext2link(e){const r=e.match(/\d+\.\)\s/);return r&&(e=e.replace(r[0],r[0].replace(/\s/," "))),e.replace(/[^a-zA-Zа-яА-Я0-9]/g,"").trim().replace(/\s/g,"").toLowerCase()}static openLink(e,r){e=e.replace(/\/\/([0-9a-f]*:[0-9a-f]*:[0-9a-f]*:[0-9a-f]*:[0-9a-f]*:[0-9a-f]*)(:\d+)?\//i,"//[$1]$2/"),r==="this"?window.location.href=e:window.open(e,r||"_blank")}static MDgetTitle(e){var s;const r=Bt.MDextractHeader(e),n=r.header;let o=r.body;if(!n.title){o=o.replace(/{[^}]*}/g,""),o=o.trim();const a=o.replace(/\r/g,"").split(` +`);for(let l=0;l{if(!a.trim())return;const l=a.indexOf(":");if(l!==-1){const u=a.substring(0,l).trim();let p=a.substring(l+1).trim();p=p.replace(/^['"]|['"]$/g,""),p==="true"?r[u]=!0:p==="false"?r[u]=!1:parseFloat(p).toString()===r[u]?r[u]=parseFloat(p):r[u]=p}else r[a.trim()]=!0}),e=e.substring(n+7))}return{header:r,body:e}}static MDremoveDocsify(e){const r=e.match(/{docsify-[^}]*}/g);return r&&r.forEach(n=>e=e.replace(n,"")),e}static generateFile(e,r){const n=document.createElement("a");n.setAttribute("href",`data:application/json;charset=utf-8,${encodeURIComponent(JSON.stringify(r,null,2))}`),n.setAttribute("download",e),n.style.display="none",document.body.appendChild(n),n.click(),document.body.removeChild(n)}static quality2text(e){const r=e&4294901760,n=eg[e];let o;return n?o=[n]:e&1?o=[eg[1],`0x${(e&65534).toString(16)}`]:e&2?o=[eg[2],`0x${(e&65533).toString(16)}`]:o=[`0x${e.toString(16)}`],r&&o.push(`0x${(r>>16).toString(16).toUpperCase()}`),o}static clone(e){return JSON.parse(JSON.stringify(e))}static getStates(e){var o;const r=(o=e==null?void 0:e.common)==null?void 0:o.states;let n;if(r)if(typeof r=="string"&&r[0]==="{")try{n=JSON.parse(r)}catch{console.error(`Cannot parse states: ${r}`),n=null}else if(typeof r=="string"){const s=r.split(";");n={};for(let a=0;an[a]=s):(e==null?void 0:e.common.type)==="string"?r.forEach(s=>n[s]=s):(e==null?void 0:e.common.type)==="boolean"&&(n.false=r[0],n.true=r[1])):typeof r=="object"&&(n=r);return n||null}static async getSvg(e){const n=await(await fetch(e)).blob();return new Promise(o=>{const s=new FileReader;s.onload=()=>{var a;return o(((a=s.result)==null?void 0:a.toString())||"")},s.readAsDataURL(n)})}static detectMimeType(e){const r=Object.keys(e$).find(n=>e.startsWith(n));return r?e$[r]:null}static isStableRepository(e){return!!(typeof e=="string"&&e.toLowerCase().startsWith("stable")||e&&typeof e!="string"&&e.find(r=>r.toLowerCase().startsWith("stable")))}static isStringInteger(e){return typeof e=="number"?Math.round(e)===e:parseInt(e,10).toString()===e}static isValidDate(e){return e instanceof Date&&!isNaN(e)}static getStyle(e,...r){const n={};for(let o=0;o{if(typeof r[o][s]=="function")n[s]=r[o][s](e);else if(typeof r[o][s]=="object"){const a=r[o][s];n[s]={},Object.keys(a).forEach(l=>{typeof a[l]=="function"?n[s][l]=a(e):(a[l]||a[l]===0)&&(n[s][l]=a[l])})}else(r[o][s]||r[o][s]===0)&&(n[s]=r[o][s])});return n}};Y(Bt,"namespace",To),Y(Bt,"INSTANCES","instances"),Y(Bt,"dateFormat",["DD","MM"]),Y(Bt,"FORBIDDEN_CHARS",/[^._\-/ :!#$%&()+=@^{}|~\p{Ll}\p{Lu}\p{Nd}]+/gu);let Se=Bt;const tg={buttonIcon:{marginRight:8}};class NV extends m.Component{constructor(r){super(r);Y(this,"isIFrame");const n=r.newReact===void 0?!0:r.newReact;if(r.isIFrame!==void 0)this.isIFrame=r.isIFrame;else try{this.isIFrame=!n&&window.self!==window.top}catch{this.isIFrame=!n}}render(){const r=this.props.noTextOnButtons,n={borderRadius:this.props.theme.saveToolbar.button.borderRadius||3,height:this.props.theme.saveToolbar.button.height||32},o={bottom:this.isIFrame?38:0,left:this.props.paddingLeft||0,right:0,position:"absolute",background:this.props.theme.saveToolbar.background};return this.props.dense&&(o.minHeight=48),this.props.error&&(n.border="1px solid red"),m.createElement(OM,{style:o},m.createElement(ps,{variant:"extended","aria-label":"Save",disabled:!this.props.changed||this.props.error,onClick:()=>this.props.onSave(!1),style:n},m.createElement(f0,{style:r?void 0:tg.buttonIcon}),!r&&R.t("ra_Save")),m.createElement(ps,{variant:"extended","aria-label":"Save and close",disabled:!this.props.changed||this.props.error,onClick:()=>this.props.onSave(!0),style:{...n,marginLeft:10}},m.createElement(f0,{style:r?void 0:tg.buttonIcon}),r?"+":R.t("ra_Save and close"),r&&m.createElement(Hr,null)),m.createElement("div",{style:{flexGrow:1}}),m.createElement(ps,{variant:"extended","aria-label":"Close",onClick:()=>this.props.onClose(),style:n},m.createElement(Hr,{style:r?void 0:tg.buttonIcon}),!r&&R.t("ra_Close")))}}const t$={suppress:{fontSize:12},suppressRoot:{marginTop:"16px"}};class yA extends N.Component{constructor(e){if(super(e),!this.props.dialogName&&this.props.suppressQuestionMinutes)throw new Error("dialogName required if suppressQuestionMinutes used");let r=!1;this.props.suppressQuestionMinutes&&(r=parseInt((window._localStorage||window.localStorage).getItem(this.props.dialogName),10)||0,r?Date.now()>r&&((window._localStorage||window.localStorage).removeItem(this.props.dialogName),r=!1):r=!1),this.state={suppress:r}}handleOk(){this.state.suppress&&(window._localStorage||window.localStorage).setItem(this.props.dialogName,Date.now()+(this.props.suppressQuestionMinutes||2)*6e4),this.props.onClose&&this.props.onClose(!0)}handleCancel(){this.props.onClose&&this.props.onClose(!1)}render(){return typeof this.state.suppress=="number"?(setTimeout(()=>this.props.onClose&&this.props.onClose(!0),100),null):m.createElement(Mr,{open:!0,maxWidth:"md",fullWidth:this.props.fullWidth!==void 0?this.props.fullWidth:!0,onClose:(e,r)=>{r!=="backdropClick"&&r!=="escapeKeyDown"&&this.handleCancel()},"aria-labelledby":"ar_confirmation_dialog_title","aria-describedby":"ar_confirmation_dialog_description"},m.createElement(Ar,{id:"ar_confirmation_dialog_title"},this.props.title||R.t("ra_Are you sure?")),m.createElement(Vr,null,m.createElement(oa,{id:"ar_confirmation_dialog_description"},this.props.icon||null,this.props.text,this.props.suppressQuestionMinutes?m.createElement("br",null):null,this.props.suppressQuestionMinutes?m.createElement(at,{sx:{"& .FormControlLabel-label":t$.suppress,"&.FormControlLabel-root":t$.suppressRoot},control:m.createElement(Ut,{id:`ar_dialog_confirm_suppress_${this.props.dialogName||""}`,checked:!!this.state.suppress,onChange:()=>this.setState({suppress:!this.state.suppress})}),label:this.props.suppressText||R.t("ra_Suppress question for next %s minutes",(this.props.suppressQuestionMinutes||2).toString())}):null)),m.createElement(qr,null,m.createElement(gt,{id:`ar_dialog_confirm_ok_${this.props.dialogName||""}`,variant:"contained",onClick:()=>this.handleOk(),color:"primary",autoFocus:!0,startIcon:m.createElement(Yn,null)},this.props.ok||R.t("ra_Ok")),m.createElement(gt,{id:`ar_dialog_confirm_cancel_${this.props.dialogName||""}`,variant:"contained",onClick:()=>this.handleCancel(),color:"grey",startIcon:m.createElement(Hr,null)},this.props.cancel||R.t("ra_Cancel"))))}}class Hw extends N.Component{handleOk(){this.props.onClose&&this.props.onClose()}render(){return m.createElement(Mr,{open:!0,maxWidth:"sm",fullWidth:this.props.fullWidth!==void 0?this.props.fullWidth:!0,onClose:()=>this.handleOk(),"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description"},m.createElement(Ar,{id:"ar_alert_dialog_title"},this.props.title||R.t("ra_Error")),m.createElement(Vr,null,m.createElement(oa,{id:"ar_alert_dialog_description"},this.props.text||R.t("ra_Unknown error!"))),m.createElement(qr,null,m.createElement(gt,{id:"ar_dialog_error_ok",variant:"contained",onClick:()=>this.handleOk(),color:"primary",autoFocus:!0,startIcon:m.createElement(Yn,null)},R.t("ra_Ok"))))}}const MV="Actions",AV="Append",PV="Cancel",IV="Categories",RV="Checked",jV="Delete",FV="Close",zV="Commercial",LV="Configure",BV="Connected",WV="Copied",UV="Create",HV="Crop",qV="Delete",VV="Delete",GV="Discard",XV="Disconnected",JV="Error",YV="Filter",KV="Friday",ZV="Latitude",QV="Longitude",eG="Message",tG="Monday",rG="Name",nG="Objects",oG="Ok",sG="Product",aG="Repeat",iG="Replace",lG="Root",cG="Saturday",uG="Save",dG="Selected",pG="States",fG="Sunday",hG="Thursday",mG="Timestamp",_G="Tuesday",gG="Update",yG="Valid till",vG="Value",bG="Version",wG="Wednesday",xG="Width",SG="Yes",CG="different",EG="Everyone can read object",kG="Everyone can read state",$G="Everyone can write object",TG="Everyone can write state",OG="Group can read object",DG="Group can read state",NG="Group can write object",MG="Group can write state",AG="Owner can read object",PG="Owner can read state",IG="Owner can write object",RG="Owner can write state",jG="Buttons",FG="Changed from",zG="close",LG="Create boolean state",BG="Create channel",WG="Create device",UG="Create number state",HG="Create state",qG="Create string state",VG="days",GG="Fr",XG="Mo",JG="Sa",YG="Su",KG="Th",ZG="Tu",QG="We",eX="Expert mode",tX="All files",rX="Audio",nX="Code/JSON",oX="Images",sX="Text",aX="Video",iX="Settings",lX="without",cX="Function",uX="ID",dX="Name",pX="Role",fX="Room",hX="Type",mX="Invalid settings",_X="Last change",gX="locally",yX="Apr",vX="Aug",bX="Dec",wX="Feb",xX="Jan",SX="Jul",CX="Jun",EX="Mai",kX="Mar",$X="Nov",TX="Oct",OX="Sep",DX="Apr",NX="Aug",MX="Dec",AX="Feb",PX="Jan",IX="Jul",RX="Jun",jX="Mai",FX="Mar",zX="Nov",LX="Oct",BX="Sep",WX="none",UX="Object changed by",HX="Object last changed at",qX="Settings from other adapter %s",VX="Quality code",GX="repeat",XX='To select folder, just hold the key "shift" by clicking the folder.',JX="State changed by",YX="Object changed from",KX="Timestamp",ZX="Acknowledged",QX="Comment",eJ="Copy the state value",tJ="Custom settings",rJ="Delete object",nJ="Edit object",oJ="Edit the state value",sJ="Expires in",aJ="From",iJ="Last changed",lJ="Quality",cJ="Time stamp",uJ="User",dJ="Value",pJ="Value",fJ="Warning: The CRON job will run every minute during the specified period!",hJ="Warning: The CRON job will run every second during the specified period!",mJ="CRON",_J="Date",gJ="Dates",yJ="Day",vJ="Day of week",bJ="Every",wJ="every N days",xJ="every Nth day of the week",SJ="every N day of week",CJ="every N hours",EJ="every N minutes",kJ="every N months",$J="every N seconds",TJ="every day",OJ="every day of the week",DJ="every day of the week",NJ="every hour",MJ="every minute",AJ="every month",PJ="every second",IJ="From",RJ="Hours",jJ="Interval",FJ="Interval between",zJ="Invalid CRON",LJ="Minutes",BJ="months",WJ="Once",UJ="Period",HJ="Seconds",qJ="Simple",VJ="Specific time",GJ="specific dates",XJ="specific day(s) of the week",JJ="specific day of weeks",YJ="specific hours",KJ="specific minutes",ZJ="specific months",QJ="specific seconds",eY="Time",tY="To",rY="Wizard",nY="all",oY="Astro day",sY="Astro night",aY="Dawn",iY="Dusk",lY="Golden hour",cY="Golden hour end",uY="Nadir",dY="Nautical dawn",pY="Nautical dusk",fY="Night",hY="Night end",mY="Solar noon",_Y="Sunrise",gY="Sunrise end",yY="Sunset",vY="Sunset start",bY="at",wY="at %s",xY="every day",SY="every hour",CY="every minute",EY="every month",kY="every %s day",$Y="every %s hours",TY="every %s minutes",OY="every %s months",DY="every %s weeks",NY="every %s years",MY="every week",AY="every year",PY="from %s to %s",IY="never",RY="on %s of %s",jY="on %s and %s of",FY="on every date of",zY="%s",LY="%s and %s",BY="on %s",WY="on %s and %s",UY="on weekends",HY="on working days",qY="will ne be not executed any more, because start is in the past",VY="on %s",GY="from %s",XY="Execute from to",JY="to %s",YY="every",KY="Specific time",ZY="from",QY="From-to",eK="Interval time",tK="invert",rK="none",nK="on",oK="Period",sK="Daily",aK="Dates",iK="Day",lK="Every",cK="Every day",uK="Every month",dK="Every week",pK="Every year",fK="Hours",hK="Minutes",mK="month",_K="Monthly",gK="Once",yK="Specific months",vK="Week",bK="Weekdays",wK="Weekend",xK="Weekly",SK="Workdays",CK="Year",EK="Yearly",kK="Specific time",$K="Time",TK="to",OK="Valid",DK="from",NK="to",MK="Whole day",AK="every month",PK={"ra_%s links from aliases":"%s links from aliases","ra_%s object(s) processed":"%s object(s) processed","ra_%s was imported":"%s was imported","ra_Accept license":"Accept license",ra_Actions:MV,"ra_Add new child object to selected parent":"Add new child object to selected parent","ra_Add objects tree from JSON file":"Add objects tree from JSON file","ra_Add row":"Add row","ra_Advanced options":"Advanced options","ra_All items are filtered out":"All items are filtered out","ra_All objects":"All objects",ra_Append:AV,"ra_Append %s entries or replace existing?":"Append %s entries or replace existing?","ra_Append or replace?":"Append or replace?","ra_Are you sure?":"Are you sure?","ra_Auto (no custom columns)":"Auto (no custom columns)","ra_Back to %s":"Back to %s","ra_Background image":"Background image",ra_Cancel:PV,"ra_Cannot add items with set filter":"Cannot add items with set filter","ra_Cannot decode license":"Cannot decode license","ra_Cannot determine position: System settings are empty and GPS detection is disabled in browser":"Cannot determine position: System settings are empty and GPS detection is disabled in browser",'ra_Cannot find "%s"':'Cannot find "%s"','ra_Cannot read "%s"':'Cannot read "%s"',"ra_Cannot read licenses: %s":"Cannot read licenses: %s","ra_Cannot retrieve options, as instance is offline":"Cannot retrieve options, as instance is offline","ra_Cannot update attribute, because not found in the object":"Cannot update attribute, because not found in the object","ra_Cannot upload":"Cannot upload",ra_Categories:IV,"ra_Chained certificate":"Chained certificate","ra_Change color theme":"Change color theme","ra_Changed from":"Changed from","ra_Channel → State":"Channel → State","ra_Check license":"Check license",ra_Checked:RV,ra_Clear:jV,"ra_Clear filter":"Clear filter","ra_Clear icon":"Clear icon","ra_Clone current row":"Clone current row",ra_Close:FV,"ra_Collapse all nodes":"Collapse all nodes","ra_Collapse one step node":"Collapse one level",ra_Commercial:zV,ra_Configure:LV,"ra_Configure visible columns":"Configure visible columns","ra_Confirm deletion of %s":"Confirm deletion of %s",ra_Connected:BV,ra_Copied:WV,"ra_Copied %s":'Copied "%s"',"ra_Copy content":"Copy content",ra_Create:UV,"ra_Create alias":"Create alias","ra_Create folder":"Create folder","ra_Create new folder in %s":"Create new folder in %s",ra_Crop:HV,"ra_Define CRON...":"Define CRON...","ra_Define functions":"Define functions","ra_Define rooms":"Define rooms","ra_Define schedule":"Define schedule","ra_Define schedule...":"Define schedule...",ra_Del:qV,ra_Delete:VV,"ra_Delete current row":"Delete current row","ra_Deselect all":"Unselect all","ra_Device → Channel → State":"Device → Channel → State",ra_Discard:GV,ra_Disconnected:XV,"ra_Do not export values of states":"Do not export values of states","ra_Do not use let's encrypt":"Do not use let's encrypt","ra_Double click to reset table layout":"Double click to reset table layout","ra_Drag 'n' drop some files here, or click to select files":"Drag 'n' drop some files here, or click to select files","ra_Drop file here":"Drop file here","ra_Drop the files here...":"Drop the file here...","ra_Duplicate name":"Duplicate name","ra_Edit ACL":"Edit ACL","ra_Edit alias":"Edit alias","ra_Edit custom config":"Edit custom config","ra_Edit function":"Edit function","ra_Edit object field":"Edit object field","ra_Edit role":"Edit role","ra_Edit room":"Edit room","ra_Edit value":"Edit value",ra_Error:JV,"ra_Expand all nodes":"Expand all nodes","ra_Expand one step node":"Expand one level","ra_Export data to %s file":"Export data to %s file","ra_Failed to open JSON File":"Failed to open JSON File","ra_Fallback custom certificates":"Fallback custom certificates","ra_File is too big. Max %sk allowed. Try use SVG.":"File is too big. Max %sk allowed. Try use SVG.",ra_Filter:YV,"ra_Filter and Data Actions":"Filter and Data Actions","ra_Filter files":"Filter files","ra_Folder name":"Folder name","ra_Folder → Channel → State":"Folder → Channel → State","ra_Folder → Device → Channel → State":"Folder → Device → Channel → State","ra_Folder → State":"Folder → State","ra_Folders always first":"Folders always first",ra_Friday:KV,"ra_Good luck":"Good luck","ra_Hide empty folders":"Hide empty folders","ra_If no file will be created in the folder, it will disappear after the browser closed":"If no file will be created in the folder, it will disappear after the browser closed","ra_Import data from %s file":"Import data from %s file","ra_Import from %s":"Import from %s","ra_Instance %s is alive":"Instance %s is alive","ra_Instance %s is not alive":"Instance %s is not alive","ra_Instance is not alive":"Instance is not alive","ra_Invalid CRON":"Invalid CRON","ra_Invalid JSON":"Invalid JSON","ra_Invalid answer from server":"Invalid answer from server","ra_Invalid parent folder!":"Invalid parent folder!","ra_Invalid structure":"Invalid structure","ra_JSON editor":"JSON editor","ra_Last change":"Last change",ra_Latitude:ZV,"ra_License %s":"License %s","ra_License agreement":"License agreement","ra_License does not exist":"License does not exist","ra_License expired on %s":"License expired on %s",'ra_License for other product "%s"':'License for other product "%s"',"ra_License is for version %s, but required version is %s.":"License is for version %s, but required version is %s.","ra_License must be converted":"License must be converted to newer version. You can do it in your iobroker.net profile.","ra_License not found in license manager. Do you want to read licenses from iobroker.net?":"License not found in the license manager. Do you want to update licenses from iobroker.net?","ra_Listen on all IPs":"Listen on all IPs","ra_Load configuration from file":"Load configuration from file",ra_Longitude:QV,'ra_May not trigger "updateLicenses"':'May not trigger "updateLicenses"',ra_Message:eG,ra_Monday:tG,"ra_Move down":"Move down","ra_Move up":"Move up",ra_Name:rG,"ra_No data found in file":"No data found in file","ra_No one license found in license manager":"No one license found in license manager","ra_No response from the backend":"No response from the backend",'ra_Non-experts may create new objects only in "0_userdata.0" or "alias.0".':'Non-experts may create new objects only in "0_userdata.0" or "alias.0".',"ra_Not a number":"Not a number",ra_Objects:nG,ra_Ok:oG,"ra_On weekdays":"On weekdays","ra_Only following structures of objects are available:":"Only following structures of objects are available:","ra_Only selected":"Only selected","ra_Owner group":"Owner group","ra_Owner user":"Owner user","ra_Passwords are not equal!":"Passwords are not equal!","ra_Place your files here or click here to open the browse dialog":"Place your files here or click here to open the browse dialog","ra_Please confirm":"Please confirm","ra_Please create license":"Please create license","ra_Please enter the license":"Please enter the license","ra_Please select file...":"Please select file...","ra_Please select object ID...":"Please select object ID...","ra_Port could be used by %s":"Port could be used by %s","ra_Port is already used by %s":"Port is already used by %s","ra_Press ENTER Key to add new item":"Press ENTER Key to add new item","ra_Private certificate":"Private certificate",ra_Product:sG,"ra_Public certificate":"Public certificate","ra_Quality code":"Quality","ra_Refresh tree":"Refresh tree","ra_Reload files":"Reload files",ra_Repeat:aG,ra_Replace:iG,"ra_Request timed out":"Request timed out","ra_Restrict to folder":"Restrict to folder",ra_Root:lG,ra_Saturday:cG,ra_Save:uG,"ra_Save and close":"Save and close","ra_Save configuration to file":"Save configuration to file","ra_Save objects tree as JSON file":"Save objects tree as JSON file","ra_Select all":"Select all","ra_Select color":"Select color","ra_Select predefined icon":"Select predefined icon","ra_Select type of export":"Select type of export",ra_Selected:dG,"ra_Selected %s object(s)":"Selected %s object(s)","ra_Serial number (UUID)":"Serial number (UUID)",'ra_Serial number (UUID) "%s" in license is for other device.':'Serial number (UUID) "%s" in license is for other device.',"ra_Show all folders":"Show all folders","ra_Show lines between rows":"Show lines between rows","ra_Show/Hide object descriptions":"Show/Hide object descriptions","ra_Show/hide filter input":"Show/hide filter input","ra_Some data are not stored. Discard?":"Some data are not stored. Discard?",ra_States:pG,"ra_Suitable license not found in license manager":"Suitable license not found in license manager",ra_Sunday:fG,"ra_Suppress question for next %s minutes":"Suppress question for next %s minutes","ra_System language":"System language","ra_Take browser position":"Take position from browser","ra_Take position from system settings":"Take position from system settings",'ra_The experts may create objects everywhere but from second level (e.g. "vis.0" or "javascript.0").':'The experts may create objects everywhere but from second level (e.g. "vis.0" or "javascript.0").',"ra_The page you are looking for was not found":"The page you are looking for was not found","ra_The schedule will be executed every minute. Are you sure?":"The schedule will be executed every minute. Are you sure?","ra_The schedule will be executed every second. Are you sure?":"The schedule will be executed every second. Are you sure?",ra_Thursday:hG,ra_Timestamp:mG,"ra_Toggle expert mode":"Toggle expert mode","ra_Toggle the states view":"Toggle the states view","ra_Toggle view mode":"Toggle view mode","ra_Too big":"Too big","ra_Too small":"Too small","ra_Transparent dialog":"Transparent dialog",ra_Tuesday:_G,"ra_Unknown error":"Unknown error","ra_Unknown error!":"Unknown error!",ra_Update:gG,"ra_Upload file":"Upload file","ra_Use all available let's encrypt certificates":"Use all available let's encrypt certificates","ra_Use iobroker.acme adapter for letsencrypt certificates":"Use iobroker.acme adapter for letsencrypt certificates","ra_Use system settings for position":"Use system settings for position","ra_Used system settings":"Used system settings","ra_User files":"User files",ra_ValidTill:yG,ra_Value:vG,ra_Version:bG,"ra_View file":"View file","ra_View: %s":"View: %s",ra_Wednesday:wG,ra_Width:xG,ra_Yes:SG,"ra_You can export all objects or just the selected branch.":"You can export all objects or just the selected branch.","ra_You can filter entries by entering here some text":"You can filter entries by entering here some text",ra___different__:CG,ra_aclEveryone_read_object:EG,ra_aclEveryone_read_state:kG,ra_aclEveryone_write_object:$G,ra_aclEveryone_write_state:TG,ra_aclGroup_read_object:OG,ra_aclGroup_read_state:DG,ra_aclGroup_write_object:NG,ra_aclGroup_write_state:MG,ra_aclOwner_read_object:AG,ra_aclOwner_read_state:PG,ra_aclOwner_write_object:IG,ra_aclOwner_write_state:RG,ra_buttons:jG,ra_changedFrom:FG,ra_close:zG,ra_create_boolean_state:LG,ra_create_channel:BG,ra_create_device:WG,ra_create_number_state:UG,ra_create_state:HG,ra_create_string_state:qG,ra_daysShortText:VG,ra_dow_Fr:GG,ra_dow_Mo:XG,ra_dow_Sa:JG,ra_dow_Su:YG,ra_dow_Th:KG,ra_dow_Tu:ZG,ra_dow_We:QG,ra_expertMode:eX,ra_fileType_all:tX,ra_fileType_audio:rX,ra_fileType_code:nX,ra_fileType_images:oX,ra_fileType_txt:sX,ra_fileType_video:aX,"ra_fileType_video,":"Video",ra_filter_customs:iX,ra_filter_customs_without:lX,ra_filter_func:cX,ra_filter_id:uX,ra_filter_name:dX,ra_filter_role:pX,ra_filter_room:fX,ra_filter_type:hX,"ra_import data from %s file":"Import data from %s file",ra_invalidConfig:mX,ra_lastChange:_X,ra_locally:gX,ra_month_Apr:yX,ra_month_Aug:vX,ra_month_Dec:bX,ra_month_Feb:wX,ra_month_Jan:xX,ra_month_Jul:SX,ra_month_Jun:CX,ra_month_Mai:EX,ra_month_Mar:kX,ra_month_Nov:$X,ra_month_Oct:TX,ra_month_Sep:OX,ra_months_Apr:DX,ra_months_Aug:NX,ra_months_Dec:MX,ra_months_Feb:AX,ra_months_Jan:PX,ra_months_Jul:IX,ra_months_Jun:RX,ra_months_Mai:jX,ra_months_Mar:FX,ra_months_Nov:zX,ra_months_Oct:LX,ra_months_Sep:BX,"ra_no confirm for 5 mins":"no confirm for 5 mins",ra_none:WX,ra_object_changed_by:UX,ra_object_changed_by_user:HX,ra_otherConfig:qX,ra_qualityCode:VX,ra_repeat:GX,ra_select_folder_hint:XX,ra_state_changed_by:JX,ra_state_changed_from:YX,ra_timestamp:KX,ra_tooltip_ack:ZX,ra_tooltip_comment:QX,ra_tooltip_copyState:eJ,ra_tooltip_customConfig:tJ,ra_tooltip_deleteObject:rJ,ra_tooltip_editObject:nJ,ra_tooltip_editState:oJ,ra_tooltip_expire:sJ,ra_tooltip_from:aJ,ra_tooltip_lc:iJ,ra_tooltip_quality:lJ,ra_tooltip_ts:cJ,ra_tooltip_user:uJ,ra_tooltip_value:dJ,"ra_use seconds":"use seconds",ra_val:pJ,"ra_via internet":"via internet",ra_warning_every_minute:fJ,ra_warning_every_second:hJ,sc_cron:mJ,sc_date:_J,sc_dates:gJ,sc_dow:yJ,sc_dows:vJ,sc_every:bJ,sc_everyN_dates:wJ,sc_everyN_dow:xJ,sc_everyN_dows:SJ,sc_everyN_hours:CJ,sc_everyN_minutes:EJ,sc_everyN_months:kJ,sc_everyN_seconds:$J,sc_every_dates:TJ,sc_every_dow:OJ,sc_every_dows:DJ,sc_every_hours:NJ,sc_every_minutes:MJ,sc_every_months:AJ,sc_every_seconds:PJ,sc_from:IJ,sc_hours:RJ,sc_interval:jJ,sc_intervalBetween:FJ,sc_invalid_cron:zJ,sc_minutes:LJ,sc_months:BJ,sc_once:WJ,sc_period:UJ,sc_seconds:HJ,sc_simple:qJ,sc_specific:VJ,sc_specific_dates:GJ,sc_specific_dow:XJ,sc_specific_dows:JJ,sc_specific_hours:YJ,sc_specific_minutes:KJ,sc_specific_months:ZJ,sc_specific_seconds:QJ,sc_time:eY,sc_to:tY,sc_wizard:rY,sch_all:nY,sch_astroDay:oY,sch_astroNight:sY,sch_astro_dawn:aY,sch_astro_dusk:iY,sch_astro_goldenHour:lY,sch_astro_goldenHourEnd:cY,sch_astro_nadir:uY,sch_astro_nauticalDawn:dY,sch_astro_nauticalDusk:pY,sch_astro_night:fY,sch_astro_nightEnd:hY,sch_astro_solarNoon:mY,sch_astro_sunrise:_Y,sch_astro_sunriseEnd:gY,sch_astro_sunset:yY,sch_astro_sunsetStart:vY,sch_at:bY,sch_desc_atTime:wY,sch_desc_everyDay:xY,sch_desc_everyHour:SY,sch_desc_everyMinute:CY,sch_desc_everyMonth:EY,sch_desc_everyNDay:kY,sch_desc_everyNHours:$Y,sch_desc_everyNMinutes:TY,sch_desc_everyNMonths:OY,sch_desc_everyNWeeks:DY,sch_desc_everyNYears:NY,sch_desc_everyWeek:MY,sch_desc_everyYear:AY,sch_desc_intervalFromTo:PY,sch_desc_never:IY,sch_desc_onDate:RY,sch_desc_onDates:jY,sch_desc_onEveryDate:FY,sch_desc_onMonth:zY,sch_desc_onMonths:LY,sch_desc_onWeekday:BY,sch_desc_onWeekdays:WY,sch_desc_onWeekends:UY,sch_desc_onWorkdays:HY,sch_desc_onceInPast:qY,sch_desc_once_on:VY,sch_desc_validFrom:GY,sch_desc_validFromTo:XY,sch_desc_validTo:JY,sch_every:YY,sch_exactTime:KY,sch_from:ZY,sch_fromTo:QY,sch_intervalTime:eK,sch_invert:tK,sch_no_one:rK,sch_on:nK,sch_period:oK,sch_periodDaily:sK,sch_periodDates:aK,sch_periodDay:iK,sch_periodEvery:lK,sch_periodEveryDay:cK,sch_periodEveryMonth:uK,sch_periodEveryWeek:dK,sch_periodEveryYear:pK,sch_periodHours:fK,sch_periodMinutes:hK,sch_periodMonth:mK,sch_periodMonthly:_K,sch_periodOnce:gK,sch_periodSpecificMonths:yK,sch_periodWeek:vK,sch_periodWeekdays:bK,sch_periodWeekend:wK,sch_periodWeekly:xK,sch_periodWorkdays:SK,sch_periodYear:CK,sch_periodYearly:EK,sch_specificTime:kK,sch_time:$K,sch_to:TK,sch_valid:OK,sch_validFrom:DK,sch_validTo:NK,sch_wholeDay:MK,sch_yearEveryMonth:AK},IK="Aktionen",RK="Anhängen",jK="Abbrechen",FK="Kategorien",zK="Geprüft",LK="Löschen",BK="Schließen",WK="Kommerziell",UK="Konfigurieren",HK="Verbunden",qK="Kopiert",VK="Erstellen",GK="Ernte",XK="Entf",JK="Löschen",YK="Verwerfen",KK="Getrennt",ZK="Fehler",QK="Filter",eZ="Freitag",tZ="Breite",rZ="Längengrad",nZ="Meldung",oZ="Montag",sZ="Name",aZ="Objekte",iZ="OK",lZ="Produkt",cZ="Wiederholen",uZ="Ersetzen",dZ="Anfang",pZ="Samstag",fZ="Speichern",hZ="Ausgewählt",mZ="Zustände",_Z="Sonntag",gZ="Donnerstag",yZ="Zeitstempel",vZ="Dienstag",bZ="Aktualisieren",wZ="Gültig bis",xZ="Wert",SZ="Ausführung",CZ="Mittwoch",EZ="Breite",kZ="Ja",$Z="unterschiedlich",TZ="Jeder kann Objekt lesen",OZ="Jeder kann Zustand lesen",DZ="Jeder kann ein Objekt schreiben",NZ="Jeder kann Zustand schreiben",MZ="Gruppe kann Objekt lesen",AZ="Gruppe kann Status lesen",PZ="Gruppe kann Objekt schreiben",IZ="Gruppe kann Status schreiben",RZ="Besitzer kann Objekt lesen",jZ="Besitzer kann Zustand lesen",FZ="Besitzer kann Objekt schreiben",zZ="Besitzer kann Zustand schreiben",LZ="Tasten",BZ="Geändert von",WZ="Schließen",UZ="Booleschen Zustand erstellen",HZ="Kanal erstellen",qZ="Gerät erstellen",VZ="Nummern-Zustand erstellen",GZ="Zustand erstellen",XZ="String-Zustand erstellen",JZ="T.",YZ="Fr",KZ="Mo",ZZ="Sa",QZ="So",eQ="Do",tQ="Di",rQ="Mi",nQ="Expertenmodus",oQ="Alle Dateien",sQ="Audio",aQ="Code/JSON",iQ="Bilder",lQ="Text",cQ="Video",uQ="Einstellungen",dQ="ohne",pQ="Funktion",fQ="ID",hQ="Name",mQ="Rolle",_Q="Raum",gQ="Typ",yQ="Ungültige Einstellungen",vQ="Letzte Änderung",bQ="örtlich",wQ="Apr",xQ="Aug",SQ="Dez",CQ="Feb",EQ="Jan",kQ="Jul",$Q="Jun",TQ="Mai",OQ="Mär",DQ="Nov",NQ="Okt",MQ="Sep",AQ="Apr",PQ="Aug",IQ="Dez",RQ="Feb",jQ="Jan",FQ="Jul",zQ="Jun",LQ="Mai",BQ="Mär",WQ="Nov",UQ="Okt",HQ="Sep",qQ="kein",VQ="Objekt geändert von",GQ="Objekt zuletzt geändert um",XQ="Einstellungen von anderen Adaptern %s",JQ="Qualitätscode",YQ="wiederholen",KQ='Um einen Ordner auszuwählen, halten Sie einfach die Taste "Shift" gedrückt, indem Sie auf den Ordner klicken.',ZQ="Zustand geändert durch",QQ="Objekt geändert von",eee="Zeitstempel",tee="Bestätigt",ree="Kommentar",nee="Statuswert kopieren",oee="Benutzerdefinierte Einstellungen",see="Objekt löschen",aee="Objekt bearbeiten",iee="Statuswert bearbeiten",lee="Läuft ab in",cee="Von",uee="Zuletzt geändert",dee="Qualität",pee="Zeitstempel",fee="Benutzer",hee="Wert",mee="Wert",_ee="Achtung: Der CRON-Job wird im angegebenen Zeitraum jede Minute ausgeführt!",gee="Achtung: Der CRON-Job wird im angegebenen Zeitraum jede Sekunde ausgeführt!",yee="CRON",vee="Datum",bee="Tage",wee="Tag",xee="Wochentage",See="Jeden",Cee="alle N Tage",Eee="jeden x-ten Tag der Woche",kee="alle N Wochentage",$ee="alle N Stunden",Tee="alle N Minuten",Oee="alle N Monate",Dee="alle N Sekunden",Nee="jeden Tag",Mee="jeden Tag der Woche",Aee="jeden Tag der Woche",Pee="jede Stunde",Iee="jede Minute",Ree="jeden Monat",jee="jede Sekunde",Fee="Von",zee="Stunden",Lee="Intervall",Bee="Intervall zwischen",Wee="Ungültiger CRON",Uee="Minuten",Hee="Monate",qee="Einmal",Vee="Zeitraum",Gee="Sekunden",Xee="Einfach",Jee="Bestimmte Zeit",Yee="bestimmte Tage",Kee="bestimmte(r) Tag(e) der Woche",Zee="bestimmten Wochentag",Qee="bestimmte Stunden",ete="bestimmte Minuten",tte="bestimmte Monate",rte="bestimmte Sekunden",nte="Zeit",ote="Bis",ste="Wizard",ate="alle",ite="Astronomischer Tag",lte="Astronomische Nacht",cte="Morgendämmerung",ute="Abenddämmerung",dte="Goldene Stunde",pte="Goldene Stundenende",fte="Nadir",hte="Nautische Morgendämmerung",mte="Nautische Abenddämmerung",_te="Nacht",gte="Nachtende",yte="Sonnenmittag",vte="Sonnenaufgang",bte="Sonnenaufgangende",wte="Sonnenuntergang",xte="Sonnenuntergangstart",Ste="am",Cte="um %s",Ete="jeden Tag",kte="jede Stunde",$te="jede Minute",Tte="jeden Monat",Ote="jeden %s Tag",Dte="alle %s Stunden",Nte="alle %s Minuten",Mte="alle %s Monate",Ate="alle %s Wochen",Pte="alle %s Jahre",Ite="jede Woche",Rte="jedes Jahr",jte="von %s bis %s",Fte="noch nie",zte="am %s von %s",Lte="am %s und %s von",Bte="an jedem Datum von",Wte="%s",Ute="%s und %s",Hte="auf %s",qte="auf %s und %s",Vte="an Wochenenden",Gte="an Werktagen",Xte="wird nicht mehr ausgeführt, weil der Start in der Vergangenheit ist",Jte="auf %s",Yte="von %s",Kte="Ausführen von bis",Zte="bis %s",Qte="jeden",ere="Bestimmte Zeit",tre="von",rre="Von bis",nre="Zeitintervall",ore="umkehren",sre="keiner",are="am",ire="Zeitraum",lre="Täglich",cre="Daten",ure="Tag",dre="Jeden",pre="Jeden Tag",fre="Jeden Monat",hre="Jede Woche",mre="Jedes Jahr",_re="Stunden",gre="Minuten",yre="Monat",vre="Monatlich",bre="Einmal",wre="Bestimmte Monate",xre="Woche",Sre="Wochentage",Cre="Wochenende",Ere="Wöchentlich",kre="Arbeitstage",$re="Jahr",Tre="Jährlich",Ore="Bestimmte Zeit",Dre="Zeit",Nre="zu",Mre="Gültigkeit",Are="von",Pre="bis",Ire="Ganzer Tag",Rre="jeden Monat",jre={"ra_%s links from aliases":"%s Links von Aliasen","ra_%s object(s) processed":"%s Objekt(e) verarbeitet","ra_%s was imported":"%s wurde importiert","ra_Accept license":"Lizenz akzeptieren",ra_Actions:IK,"ra_Add new child object to selected parent":"Dem ausgewählten übergeordneten Objekt ein neues untergeordnetes Objekt hinzufügen","ra_Add objects tree from JSON file":"Objektbaum aus JSON-Datei hinzufügen","ra_Add row":"Zeile hinzufügen","ra_Advanced options":"Erweiterte Optionen","ra_All items are filtered out":"Alle Elemente sind herausgefiltert","ra_All objects":"Alle Objekte",ra_Append:RK,"ra_Append %s entries or replace existing?":"%s Einträge anhängen oder vorhandene ersetzen?","ra_Append or replace?":"Anhängen oder ersetzen?","ra_Are you sure?":"Bist du sicher?","ra_Auto (no custom columns)":"Auto (keine benutzerdefinierten Spalten)","ra_Back to %s":"Zurück zu %s","ra_Background image":"Hintergrundbild",ra_Cancel:jK,"ra_Cannot add items with set filter":"Elemente mit festgelegtem Filter können nicht hinzugefügt werden","ra_Cannot decode license":"Lizenz kann nicht entschlüsselt werden","ra_Cannot determine position: System settings are empty and GPS detection is disabled in browser":"Position kann nicht bestimmt werden: Die Systemeinstellungen sind leer und die GPS-Erkennung ist im Browser deaktiviert",'ra_Cannot find "%s"':'Kann "%s" nicht finden','ra_Cannot read "%s"':'"%s" kann nicht gelesen werden',"ra_Cannot read licenses: %s":"Lizenzen können nicht gelesen werden: %s","ra_Cannot retrieve options, as instance is offline":"Optionen können nicht abgerufen werden, da die Instanz offline ist","ra_Cannot update attribute, because not found in the object":"Attribut kann nicht aktualisiert werden, da es nicht im Objekt gefunden wurde","ra_Cannot upload":"Kann nicht hochladen",ra_Categories:FK,"ra_Chained certificate":"Chained Zertifikat","ra_Change color theme":"Farbthema ändern","ra_Changed from":"Geändert von","ra_Channel → State":"Kanal → Zustand","ra_Check license":"Lizenz prüfen",ra_Checked:zK,ra_Clear:LK,"ra_Clear filter":"Filter löschen","ra_Clear icon":"Symbol löschen","ra_Clone current row":"Aktuelle Zeile klonen",ra_Close:BK,"ra_Collapse all nodes":"Alle Knoten zuklappen","ra_Collapse one step node":"Eine Ebene zuklappen",ra_Commercial:WK,ra_Configure:UK,"ra_Configure visible columns":"Spalten Konfigurieren","ra_Confirm deletion of %s":"Das Löschen von %s bestätigen",ra_Connected:HK,ra_Copied:qK,"ra_Copied %s":'"%s" kopiert',"ra_Copy content":"Inhalte kopieren",ra_Create:VK,"ra_Create alias":"Alias erstellen","ra_Create folder":"Ordner erstellen","ra_Create new folder in %s":'Neuen Ordner in "%s" erstellen',ra_Crop:GK,"ra_Define CRON...":"Definieren Sie CRON ...","ra_Define functions":"Funktionen definieren","ra_Define rooms":"Räume definieren","ra_Define schedule":"Zeitplan definieren","ra_Define schedule...":"Zeitplan definieren ...",ra_Del:XK,ra_Delete:JK,"ra_Delete current row":"Aktuelle Zeile löschen","ra_Deselect all":"Alles abwählen","ra_Device → Channel → State":"Gerät → Kanal → Zustand",ra_Discard:YK,ra_Disconnected:KK,"ra_Do not export values of states":"Keine Zustandswerte exportieren","ra_Do not use let's encrypt":"Let's encrypt nicht verwenden","ra_Double click to reset table layout":"Doppelklicken, um das Tabellenlayout zurückzusetzen","ra_Drag 'n' drop some files here, or click to select files":"Die Datei hierher ziehen und ablegen, oder klicken, um die Datei auszuwählen","ra_Drop file here":"Datei hier ablegen","ra_Drop the files here...":"Datei hier ablegen...","ra_Duplicate name":"Doppelter Name","ra_Edit ACL":"ACL bearbeiten","ra_Edit alias":"Alias bearbeiten","ra_Edit custom config":"Bearbeite Benutzerdefinierte Konfiguration","ra_Edit function":"Funktion bearbeiten","ra_Edit object field":"Objektfeld bearbeiten","ra_Edit role":"Rolle bearbeiten","ra_Edit room":"Raum bearbeiten","ra_Edit value":"Wert bearbeiten",ra_Error:ZK,"ra_Expand all nodes":"Alle Knoten aufklappen","ra_Expand one step node":"Eine Ebene aufklappen","ra_Export data to %s file":"Daten in %s-Datei exportieren","ra_Failed to open JSON File":"Fehler beim Öffnen der JSON-Datei","ra_Fallback custom certificates":"Benutzerdefinierte Fallback-Zertifikate","ra_File is too big. Max %sk allowed. Try use SVG.":"Datei ist zu groß. Max %sk erlaubt. Versuchen Sie, SVG zu verwenden.",ra_Filter:QK,"ra_Filter and Data Actions":"Filter- und Datenaktionen","ra_Filter files":"Dateien filtern","ra_Folder name":"Ordnernamen","ra_Folder → Channel → State":"Ordner → Kanal → Zustand","ra_Folder → Device → Channel → State":"Ordner → Gerät → Kanal → Zustand","ra_Folder → State":"Ordner → Zustand","ra_Folders always first":"Ordner immer zuerst",ra_Friday:eZ,"ra_Good luck":"Viel Glück","ra_Hide empty folders":"Leere Ordner ausblenden","ra_If no file will be created in the folder, it will disappear after the browser closed":"Wenn im Ordner keine Datei erstellt wird, verschwindet dieser nach dem Schließen des Browsers","ra_Import data from %s file":"Daten aus %s-Datei importieren","ra_Import from %s":"Von %s importieren","ra_Instance %s is alive":"Instanz %s ist aktiv","ra_Instance %s is not alive":"Instanz %s ist nicht aktiv","ra_Instance is not alive":"Instanz ist nicht am Leben","ra_Invalid CRON":"Ungültiger CRON","ra_Invalid JSON":"Ungültiges JSON","ra_Invalid answer from server":"Ungültige Antwort vom Server","ra_Invalid parent folder!":"Ungültiger übergeordneter Ordner!","ra_Invalid structure":"Ungültige Struktur","ra_JSON editor":"JSON-Editor","ra_Last change":"Letzte Änderung",ra_Latitude:tZ,"ra_License %s":"Lizenz %s","ra_License agreement":"Lizenzvereinbarung","ra_License does not exist":"Lizenz existiert nicht","ra_License expired on %s":"Lizenz am %s abgelaufen",'ra_License for other product "%s"':"Lizenz für anderes Produkt „%s“","ra_License is for version %s, but required version is %s.":"Lizenz ist für Version %s, aber erforderliche Version ist %s.","ra_License must be converted":"Die Lizenz muss auf eine neuere Version konvertiert werden. Sie können dies in Ihrem iobroker.net-Profil tun.","ra_License not found in license manager. Do you want to read licenses from iobroker.net?":"Lizenz im Lizenzmanager nicht gefunden. Möchten Sie Lizenzen von iobroker.net aktualisieren?","ra_Listen on all IPs":"Zugriff von allen IPs zulassen","ra_Load configuration from file":"Konfiguration aus Datei laden",ra_Longitude:rZ,'ra_May not trigger "updateLicenses"':"Löst möglicherweise nicht „updateLicenses“ aus",ra_Message:nZ,ra_Monday:oZ,"ra_Move down":"Nach unten","ra_Move up":"Nach oben",ra_Name:sZ,"ra_No data found in file":"Keine Daten in der Datei gefunden","ra_No one license found in license manager":"Im Lizenzmanager wurde keine Lizenz gefunden","ra_No response from the backend":"Keine Antwort vom Backend",'ra_Non-experts may create new objects only in "0_userdata.0" or "alias.0".':'Nicht-Experten dürfen neue Objekte nur in "0_userdata.0" oder "alias.0" erstellen.',"ra_Not a number":"Keine Nummer",ra_Objects:aZ,ra_Ok:iZ,"ra_On weekdays":"An Wochentagen","ra_Only following structures of objects are available:":"Es stehen nur folgende Objektstrukturen zur Verfügung:","ra_Only selected":"Nur ausgewählt","ra_Owner group":"Besitzergruppe","ra_Owner user":"Besitzer Benutzer","ra_Passwords are not equal!":"Passwörter sind nicht gleich!","ra_Place your files here or click here to open the browse dialog":"Die Dateien hier platzieren oder hier klicken, um den Suchdialog zu öffnen","ra_Please confirm":"Bitte bestätigen","ra_Please create license":"Bitte erstellen Sie eine Lizenz","ra_Please enter the license":"Bitte die Lizenz eingeben","ra_Please select file...":"Bitte Datei auswählen...","ra_Please select object ID...":"Bitte Objekt-ID auswählen...","ra_Port could be used by %s":"Port könnte von %s verwendet werden","ra_Port is already used by %s":"Port wird bereits von %s verwendet","ra_Press ENTER Key to add new item":"Die Eingabetaste drücken, um ein neues Element hinzuzufügen","ra_Private certificate":"Privates Zertifikat",ra_Product:lZ,"ra_Public certificate":"Öffentliches Zertifikat","ra_Quality code":"Qualität","ra_Refresh tree":"Baum aktualisieren","ra_Reload files":"Dateien neu laden",ra_Repeat:cZ,ra_Replace:uZ,"ra_Request timed out":"Zeitüberschreitung der Anforderung","ra_Restrict to folder":"Auf Ordner beschränken",ra_Root:dZ,ra_Saturday:pZ,ra_Save:fZ,"ra_Save and close":"Speichern und schließen","ra_Save configuration to file":"Konfiguration in Datei speichern","ra_Save objects tree as JSON file":"Objektbaum als JSON-Datei speichern","ra_Select all":"Alle auswählen","ra_Select color":"Wähle Farbe","ra_Select predefined icon":"Vordefiniertes Symbol auswählen","ra_Select type of export":"Die Art des Exports auswählen ",ra_Selected:hZ,"ra_Selected %s object(s)":"Ausgewählt %s Objekt(en)","ra_Serial number (UUID)":"Seriennummer (UUID)",'ra_Serial number (UUID) "%s" in license is for other device.':"Seriennummer (UUID) „%s“ in der Lizenz gilt für ein anderes Gerät.","ra_Show all folders":"Alle Ordner anzeigen","ra_Show lines between rows":"Linien zwischen Zeilen anzeigen","ra_Show/Hide object descriptions":"Objektbeschreibungen ein-/ausblenden","ra_Show/hide filter input":"Filtereingabe ein-/ausblenden","ra_Some data are not stored. Discard?":"Einige Daten werden nicht gespeichert. Verwerfen?",ra_States:mZ,"ra_Suitable license not found in license manager":"Passende Lizenz im Lizenzmanager nicht gefunden",ra_Sunday:_Z,"ra_Suppress question for next %s minutes":"Frage für die nächsten %s Minuten unterdrücken","ra_System language":"Systemsprache","ra_Take browser position":"Position vom Browser einnehmen","ra_Take position from system settings":"Position aus den Systemeinstellungen übernehmen",'ra_The experts may create objects everywhere but from second level (e.g. "vis.0" or "javascript.0").':'Die Experten können Objekte überall erstellen, außer auf der zweiten Ebene (z. B. "vis.0" oder "javascript.0").',"ra_The page you are looking for was not found":"Die gesuchte Seite wurde nicht gefunden","ra_The schedule will be executed every minute. Are you sure?":"Der Zeitplan wird jede Minute ausgeführt. Sind Sie sicher?","ra_The schedule will be executed every second. Are you sure?":"Der Zeitplan wird jede Sekunde ausgeführt. Sind Sie sicher?",ra_Thursday:gZ,ra_Timestamp:yZ,"ra_Toggle expert mode":"Expertenmodus umschalten","ra_Toggle the states view":"Statusansicht umschalten","ra_Toggle view mode":"Ansichtsmodus umschalten","ra_Too big":"Zu groß","ra_Too small":"Zu klein","ra_Transparent dialog":"Transparenter Dialog",ra_Tuesday:vZ,"ra_Unknown error":"Unbekannter Fehler","ra_Unknown error!":"Unbekannter Fehler!",ra_Update:bZ,"ra_Upload file":"Datei hochladen","ra_Use all available let's encrypt certificates":"Alle verfügbaren Zertifikate von Let's encrypt benutzen","ra_Use iobroker.acme adapter for letsencrypt certificates":"ioBroker.acme-Adapter für letsencrypt-Zertifikate verwenden","ra_Use system settings for position":"Systemeinstellungen für die Position verwenden","ra_Used system settings":"Systemeinstellungen","ra_User files":"Benutzerdaten",ra_ValidTill:wZ,ra_Value:xZ,ra_Version:SZ,"ra_View file":"Datei ansehen","ra_View: %s":"Anschauen: %s",ra_Wednesday:CZ,ra_Width:EZ,ra_Yes:kZ,"ra_You can export all objects or just the selected branch.":"Sie können alle Objekte oder nur den ausgewählten Zweig exportieren.","ra_You can filter entries by entering here some text":"Sie können Einträge filtern, indem Sie hier Text eingeben",ra___different__:$Z,ra_aclEveryone_read_object:TZ,ra_aclEveryone_read_state:OZ,ra_aclEveryone_write_object:DZ,ra_aclEveryone_write_state:NZ,ra_aclGroup_read_object:MZ,ra_aclGroup_read_state:AZ,ra_aclGroup_write_object:PZ,ra_aclGroup_write_state:IZ,ra_aclOwner_read_object:RZ,ra_aclOwner_read_state:jZ,ra_aclOwner_write_object:FZ,ra_aclOwner_write_state:zZ,ra_buttons:LZ,ra_changedFrom:BZ,ra_close:WZ,ra_create_boolean_state:UZ,ra_create_channel:HZ,ra_create_device:qZ,ra_create_number_state:VZ,ra_create_state:GZ,ra_create_string_state:XZ,ra_daysShortText:JZ,ra_dow_Fr:YZ,ra_dow_Mo:KZ,ra_dow_Sa:ZZ,ra_dow_Su:QZ,ra_dow_Th:eQ,ra_dow_Tu:tQ,ra_dow_We:rQ,ra_expertMode:nQ,ra_fileType_all:oQ,ra_fileType_audio:sQ,ra_fileType_code:aQ,ra_fileType_images:iQ,ra_fileType_txt:lQ,ra_fileType_video:cQ,"ra_fileType_video,":"Video",ra_filter_customs:uQ,ra_filter_customs_without:dQ,ra_filter_func:pQ,ra_filter_id:fQ,ra_filter_name:hQ,ra_filter_role:mQ,ra_filter_room:_Q,ra_filter_type:gQ,"ra_import data from %s file":"Daten aus %s-Datei importieren",ra_invalidConfig:yQ,ra_lastChange:vQ,ra_locally:bQ,ra_month_Apr:wQ,ra_month_Aug:xQ,ra_month_Dec:SQ,ra_month_Feb:CQ,ra_month_Jan:EQ,ra_month_Jul:kQ,ra_month_Jun:$Q,ra_month_Mai:TQ,ra_month_Mar:OQ,ra_month_Nov:DQ,ra_month_Oct:NQ,ra_month_Sep:MQ,ra_months_Apr:AQ,ra_months_Aug:PQ,ra_months_Dec:IQ,ra_months_Feb:RQ,ra_months_Jan:jQ,ra_months_Jul:FQ,ra_months_Jun:zQ,ra_months_Mai:LQ,ra_months_Mar:BQ,ra_months_Nov:WQ,ra_months_Oct:UQ,ra_months_Sep:HQ,"ra_no confirm for 5 mins":"5 Minuten lang keine Bestätigung",ra_none:qQ,ra_object_changed_by:VQ,ra_object_changed_by_user:GQ,ra_otherConfig:XQ,ra_qualityCode:JQ,ra_repeat:YQ,ra_select_folder_hint:KQ,ra_state_changed_by:ZQ,ra_state_changed_from:QQ,ra_timestamp:eee,ra_tooltip_ack:tee,ra_tooltip_comment:ree,ra_tooltip_copyState:nee,ra_tooltip_customConfig:oee,ra_tooltip_deleteObject:see,ra_tooltip_editObject:aee,ra_tooltip_editState:iee,ra_tooltip_expire:lee,ra_tooltip_from:cee,ra_tooltip_lc:uee,ra_tooltip_quality:dee,ra_tooltip_ts:pee,ra_tooltip_user:fee,ra_tooltip_value:hee,"ra_use seconds":"Sekunden benutzen",ra_val:mee,"ra_via internet":"übers Internet",ra_warning_every_minute:_ee,ra_warning_every_second:gee,sc_cron:yee,sc_date:vee,sc_dates:bee,sc_dow:wee,sc_dows:xee,sc_every:See,sc_everyN_dates:Cee,sc_everyN_dow:Eee,sc_everyN_dows:kee,sc_everyN_hours:$ee,sc_everyN_minutes:Tee,sc_everyN_months:Oee,sc_everyN_seconds:Dee,sc_every_dates:Nee,sc_every_dow:Mee,sc_every_dows:Aee,sc_every_hours:Pee,sc_every_minutes:Iee,sc_every_months:Ree,sc_every_seconds:jee,sc_from:Fee,sc_hours:zee,sc_interval:Lee,sc_intervalBetween:Bee,sc_invalid_cron:Wee,sc_minutes:Uee,sc_months:Hee,sc_once:qee,sc_period:Vee,sc_seconds:Gee,sc_simple:Xee,sc_specific:Jee,sc_specific_dates:Yee,sc_specific_dow:Kee,sc_specific_dows:Zee,sc_specific_hours:Qee,sc_specific_minutes:ete,sc_specific_months:tte,sc_specific_seconds:rte,sc_time:nte,sc_to:ote,sc_wizard:ste,sch_all:ate,sch_astroDay:ite,sch_astroNight:lte,sch_astro_dawn:cte,sch_astro_dusk:ute,sch_astro_goldenHour:dte,sch_astro_goldenHourEnd:pte,sch_astro_nadir:fte,sch_astro_nauticalDawn:hte,sch_astro_nauticalDusk:mte,sch_astro_night:_te,sch_astro_nightEnd:gte,sch_astro_solarNoon:yte,sch_astro_sunrise:vte,sch_astro_sunriseEnd:bte,sch_astro_sunset:wte,sch_astro_sunsetStart:xte,sch_at:Ste,sch_desc_atTime:Cte,sch_desc_everyDay:Ete,sch_desc_everyHour:kte,sch_desc_everyMinute:$te,sch_desc_everyMonth:Tte,sch_desc_everyNDay:Ote,sch_desc_everyNHours:Dte,sch_desc_everyNMinutes:Nte,sch_desc_everyNMonths:Mte,sch_desc_everyNWeeks:Ate,sch_desc_everyNYears:Pte,sch_desc_everyWeek:Ite,sch_desc_everyYear:Rte,sch_desc_intervalFromTo:jte,sch_desc_never:Fte,sch_desc_onDate:zte,sch_desc_onDates:Lte,sch_desc_onEveryDate:Bte,sch_desc_onMonth:Wte,sch_desc_onMonths:Ute,sch_desc_onWeekday:Hte,sch_desc_onWeekdays:qte,sch_desc_onWeekends:Vte,sch_desc_onWorkdays:Gte,sch_desc_onceInPast:Xte,sch_desc_once_on:Jte,sch_desc_validFrom:Yte,sch_desc_validFromTo:Kte,sch_desc_validTo:Zte,sch_every:Qte,sch_exactTime:ere,sch_from:tre,sch_fromTo:rre,sch_intervalTime:nre,sch_invert:ore,sch_no_one:sre,sch_on:are,sch_period:ire,sch_periodDaily:lre,sch_periodDates:cre,sch_periodDay:ure,sch_periodEvery:dre,sch_periodEveryDay:pre,sch_periodEveryMonth:fre,sch_periodEveryWeek:hre,sch_periodEveryYear:mre,sch_periodHours:_re,sch_periodMinutes:gre,sch_periodMonth:yre,sch_periodMonthly:vre,sch_periodOnce:bre,sch_periodSpecificMonths:wre,sch_periodWeek:xre,sch_periodWeekdays:Sre,sch_periodWeekend:Cre,sch_periodWeekly:Ere,sch_periodWorkdays:kre,sch_periodYear:$re,sch_periodYearly:Tre,sch_specificTime:Ore,sch_time:Dre,sch_to:Nre,sch_valid:Mre,sch_validFrom:Are,sch_validTo:Pre,sch_wholeDay:Ire,sch_yearEveryMonth:Rre},Fre="Действия",zre="Добавить",Lre="Отмена",Bre="Категории",Wre="Проверено",Ure="Удалить",Hre="Закрыть",qre="Коммерческая",Vre="Настроить",Gre="Соединение установлено",Xre="скопировано",Jre="Создать",Yre="Обрезать",Kre="Delete",Zre="Удалить",Qre="Отказаться",ene="Отключено",tne="Ошибка",rne="Фильтр",nne="Пятница",one="Широта",sne="Долгота",ane="Сообщение",ine="Понедельник",lne="Имя",cne="Объекты",une="Ok",dne="Продукт",pne="Повторение",fne="Заменять",hne="Начало",mne="Суббота",_ne="Сохранить",gne="выбранный",yne="Состояния",vne="Воскресенье",bne="Четверг",wne="Времени",xne="Вторник",Sne="Обновить",Cne="Годен до",Ene="Значение",kne="Версия",$ne="Среда",Tne="Ширина",One="Да",Dne="разное",Nne="Каждый может читать объект",Mne="Каждый может читать состояние",Ane="Каждый может написать объект",Pne="Каждый может написать состояние",Ine="Группа может читать объект",Rne="Группа может читать состояние",jne="Группа может писать объект",Fne="Группа может записывать состояние",zne="Владелец может читать объект",Lne="Владелец может читать состояние",Bne="Владелец может писать объект",Wne="Владелец может писать состояние",Une="Кнопки",Hne="Изменено с",qne="Закрыть",Vne="Создать логическое состояние",Gne="Создать канал",Xne="Создать устройство",Jne="Создать состояние номера",Yne="Создать состояние",Kne="Создать состояние строки",Zne="д.",Qne="Пт",eoe="Пн",toe="Сб",roe="Вс",noe="Чт",ooe="Вт",soe="Ср",aoe="Экспертный режим",ioe="Все файлы",loe="Аудио",coe="Код/JSON",uoe="Картинки",doe="Текст",poe="видео",foe="настройки",hoe="без",moe="функция",_oe="ID",goe="Имя",yoe="роль",voe="комната",boe="Тип",woe="Неверные настройки",xoe="Последнее изменение",Soe="локально",Coe="Апр",Eoe="Авг",koe="Дек",$oe="Фев",Toe="Янв",Ooe="Июл",Doe="Июн",Noe="Май",Moe="Мрт",Aoe="Ноя",Poe="Окт",Ioe="Сен",Roe="Апр",joe="Авг",Foe="Дек",zoe="Фев",Loe="Янв",Boe="Июнь",Woe="Июль",Uoe="Май",Hoe="Март",qoe="Ноя",Voe="Окт",Goe="Сен",Xoe="ничего",Joe="Объект изменен",Yoe="Последний раз объект изменен в",Koe="Настройки из другого адаптера %s",Zoe="Код качества",Qoe="повтор",ese="Чтобы выбрать папку, просто удерживайте клавишу «Shift», щелкнув папку.",tse="Состояние изменено",rse="Объект изменен с",nse="Отметка времени",ose="Подтверждено",sse="Комментарий",ase="Скопируйте значение состояния",ise="Пользовательские настройки",lse="Удалить объект",cse="Редактировать объект",use="Изменить значение состояния",dse="Истекает через",pse="От",fse="Последнее изменение",hse="Качество",mse="Отметка времени",_se="пользователь",gse="Значение",yse="Значение",vse="Внимание: задание CRON будет запускаться каждую минуту в течение указанного периода!",bse="Внимание: задание CRON будет выполняться каждую секунду в течение указанного периода!",wse="CRON",xse="Дата",Sse="Даты",Cse="День",Ese="День недели",kse="каждый(ую/ые)",$se="каждый N день",Tse="каждый N-й день недели",Ose="каждый N день недели",Dse="каждые N часов",Nse="каждые N минут",Mse="каждые N месяцев",Ase="каждые N секунд",Pse="каждый день",Ise="Каждый день недели",Rse="каждый день недели",jse="каждый час",Fse="каждую минуту",zse="каждый месяц",Lse="каждую секунду",Bse="От",Wse="часы",Use="Интервал",Hse="Интервал между",qse="Неверный CRON",Vse="минуты",Gse="Месяцы",Xse="один раз",Jse="Период",Yse="секунды",Kse="Просто",Zse="Конкретное время",Qse="конкретные даты",eae="конкретный день(а) недели",tae="конкретный день недели",rae="конкретные часы",nae="конкретные минуты",oae="конкретные месяцы",sae="конкретные секунды",aae="Время",iae="До",lae="Форма",cae="все",uae="днём",dae="ночью",pae="Рассвет",fae="Сумерки",hae="Золотой час",mae="Конец золотого часа",_ae="Надир",gae="Морской рассвет",yae="Морские сумерки",vae="Ночь",bae="Конец ночи",wae="Солнечный полдень",xae="Восход",Sae="Восход солнца",Cae="Заход солнца",Eae="Начало заката",kae="дата",$ae="в %s",Tae="каждый день",Oae="каждый час",Dae="каждую минуту",Nae="каждый месяц",Mae="каждый %s день",Aae="каждый %s часов",Pae="каждые %s минут",Iae="каждые %s месяцев",Rae="каждые %s недель",jae="каждые %s лет",Fae="каждую неделю",zae="каждый год",Lae="от %s до %s",Bae="никогда",Wae="%s %s",Uae="%s и %s",Hae="в каждый день",qae="%s",Vae="%s и %s",Gae="%s",Xae="%s и %s",Jae="на выходных",Yae="в рабочие дни",Kae="не будет больше выполняться, потому что начало в прошлом",Zae="%s",Qae="%s",eie="Выполнить с",tie="%s",rie="каждый",nie="Конкретное время",oie="от",sie="От и до",aie="Интервал времени",iie="инвертировать",lie="никакой",cie="на",uie="период",die="Ежедневно",pie="Даты",fie="День",hie="каждый",mie="Каждый день",_ie="Каждый месяц",gie="Каждую неделю",yie="Каждый год",vie="часов",bie="минут",wie="месяц",xie="ежемесячно",Sie="однажды",Cie="Конкретные месяцы",Eie="Неделю",kie="Будние дни",$ie="выходные",Tie="еженедельно",Oie="Рабочие дни",Die="Год",Nie="каждый год",Mie="Конкретное время",Aie="Время",Pie="в",Iie="действительный",Rie="от",jie="в",Fie="Весь день",zie="каждый месяц",Lie={"ra_%s links from aliases":"%s ссылок из псевдонимов","ra_%s object(s) processed":"Объектов обработано: %s","ra_%s was imported":"%s был импортирован","ra_Accept license":"Принять лицензию",ra_Actions:Fre,"ra_Add new child object to selected parent":"Добавить новый дочерний объект к выбранному родительскому объекту","ra_Add objects tree from JSON file":"Добавить дерево объектов из файла JSON","ra_Add row":"Добавить ряд","ra_Advanced options":"Расширенные настройки","ra_All items are filtered out":"Все элементы отфильтрованы","ra_All objects":"Все объекты",ra_Append:zre,"ra_Append %s entries or replace existing?":"Добавить записи %s или заменить существующие?","ra_Append or replace?":"Дополнить или заменить?","ra_Are you sure?":"Вы уверены?","ra_Auto (no custom columns)":"Авто (без настраиваемых столбцов)","ra_Back to %s":"Вернуться к %s","ra_Background image":"Фоновая картинка",ra_Cancel:Lre,"ra_Cannot add items with set filter":"Невозможно добавить элементы с установленным фильтром","ra_Cannot decode license":"Не могу декодировать лицензию","ra_Cannot determine position: System settings are empty and GPS detection is disabled in browser":"Невозможно определить местоположение: системные настройки пусты, а обнаружение GPS отключено в браузере.",'ra_Cannot find "%s"':'Не могу найти "%s"','ra_Cannot read "%s"':'Не могу прочитать "%s"',"ra_Cannot read licenses: %s":"Невозможно прочитать лицензии: %s","ra_Cannot retrieve options, as instance is offline":"Невозможно получить параметры, так как экземпляр находится в автономном режиме.","ra_Cannot update attribute, because not found in the object":"Невозможно обновить атрибут, потому что он не найден в объекте","ra_Cannot upload":"Невозможно загрузить",ra_Categories:Bre,"ra_Chained certificate":"Chained сертификат","ra_Change color theme":"Изменить цветовую тему","ra_Changed from":"Изменено","ra_Channel → State":"Канал → Состояние","ra_Check license":"Проверить лицензию",ra_Checked:Wre,ra_Clear:Ure,"ra_Clear filter":"Очистить фильтр","ra_Clear icon":"Очистить значок","ra_Clone current row":"Клонировать текущую строку",ra_Close:Hre,"ra_Collapse all nodes":"Свернуть все узлы","ra_Collapse one step node":"Свернуть один уровень",ra_Commercial:qre,ra_Configure:Vre,"ra_Configure visible columns":"Настроить видимые столбцы","ra_Confirm deletion of %s":"Подтвердите удаление %s",ra_Connected:Gre,ra_Copied:Xre,"ra_Copied %s":'Скопировано "%s"',"ra_Copy content":"Копировать содержимое",ra_Create:Jre,"ra_Create alias":"Создать псевдоним","ra_Create folder":"Создать папку","ra_Create new folder in %s":"Создать новую папку в %s",ra_Crop:Yre,"ra_Define CRON...":"Определите CRON...","ra_Define functions":"Задать функции","ra_Define rooms":"Задать комнаты","ra_Define schedule":"Задать расписание","ra_Define schedule...":"Определить расписание ...",ra_Del:Kre,ra_Delete:Zre,"ra_Delete current row":"Удалить текущую строку","ra_Deselect all":"Убрать выбор везде","ra_Device → Channel → State":"Устройство → Канал → Состояние",ra_Discard:Qre,ra_Disconnected:ene,"ra_Do not export values of states":"Не экспортировать значения состояний","ra_Do not use let's encrypt":"Не использовать Let’s Encrypt","ra_Double click to reset table layout":"Дважды щелкните, чтобы сбросить макет таблицы","ra_Drag 'n' drop some files here, or click to select files":"Перетащите сюда несколько файлов или щелкните, чтобы выбрать файлы","ra_Drop file here":"Перетащите файл сюда","ra_Drop the files here...":"Перетащите файл сюда ...","ra_Duplicate name":"Повторяющееся имя","ra_Edit ACL":"Изменить ACL-список","ra_Edit alias":"Изменить псевдоним","ra_Edit custom config":"Редактировать настраиваемую конфигурацию","ra_Edit function":"Изменить функцию","ra_Edit object field":"Поле редактирования объекта","ra_Edit role":"Изменить роль","ra_Edit room":"Редактировать комнату","ra_Edit value":"Изменить значение",ra_Error:tne,"ra_Expand all nodes":"Развернуть все узлы","ra_Expand one step node":"Открыть один уровень","ra_Export data to %s file":"Экспорт данных в файл %s","ra_Failed to open JSON File":"Не удалось открыть файл JSON","ra_Fallback custom certificates":"Резервные пользовательские сертификаты","ra_File is too big. Max %sk allowed. Try use SVG.":"Файл слишком большой. Разрешено максимальное количество %sk. Попробуйте использовать SVG.",ra_Filter:rne,"ra_Filter and Data Actions":"Фильтрация и действия с данными","ra_Filter files":"Фильтровать файлы","ra_Folder name":"Имя папки","ra_Folder → Channel → State":"Папка → Канал → Состояние","ra_Folder → Device → Channel → State":"Папка → Устройство → Канал → Состояние","ra_Folder → State":"Папка → Состояние","ra_Folders always first":"Папки всегда на первом месте",ra_Friday:nne,"ra_Good luck":"Удачи","ra_Hide empty folders":"Скрыть пустые папки","ra_If no file will be created in the folder, it will disappear after the browser closed":"Если в папке не будет создан файл, он исчезнет после закрытия браузера.","ra_Import data from %s file":"Импорт данных из файла %s","ra_Import from %s":"Импорт из %s","ra_Instance %s is alive":"Экземпляр %s работает","ra_Instance %s is not alive":"Экземпляр %s не работает","ra_Instance is not alive":"Экземпляр не живой","ra_Invalid CRON":"Неверный CRON","ra_Invalid JSON":"Неверный JSON","ra_Invalid answer from server":"Неверный ответ от сервера","ra_Invalid parent folder!":"Неверная родительская папка!","ra_Invalid structure":"Неверная структура","ra_JSON editor":"Редактор JSON","ra_Last change":"Последнее изменение",ra_Latitude:one,"ra_License %s":"Лицензия %s","ra_License agreement":"Лицензионное соглашение","ra_License does not exist":"Лицензия не существует","ra_License expired on %s":"Срок действия лицензии истек %s",'ra_License for other product "%s"':'Лицензия на другой продукт "%s"',"ra_License is for version %s, but required version is %s.":"Лицензия предназначена для версии %s, но необходима версия %s.","ra_License must be converted":"Лицензия должна быть преобразована в более новую версию. Вы можете сделать это в своем профиле на iobroker.net.","ra_License not found in license manager. Do you want to read licenses from iobroker.net?":"Лицензия не найдена в диспетчере лицензий. Вы хотите обновить лицензии от iobroker.net?","ra_Listen on all IPs":"Слушать на всех IP","ra_Load configuration from file":"Загрузить конфигурацию из файла",ra_Longitude:sne,'ra_May not trigger "updateLicenses"':"Не может запускать «updateLicenses»",ra_Message:ane,ra_Monday:ine,"ra_Move down":"Вниз","ra_Move up":"Вверх",ra_Name:lne,"ra_No data found in file":"Данные в файле не найдены","ra_No one license found in license manager":"В менеджере лицензий не найдена ни одна лицензия","ra_No response from the backend":"Нет ответа от бэкэнда",'ra_Non-experts may create new objects only in "0_userdata.0" or "alias.0".':"Не-эксперты могут создавать новые объекты только в «0_userdata.0» или «alias.0».","ra_Not a number":"Не число",ra_Objects:cne,ra_Ok:une,"ra_On weekdays":"На выходных","ra_Only following structures of objects are available:":"Доступны только следующие структуры объектов:","ra_Only selected":"Только выбранные","ra_Owner group":"Группа владельцев","ra_Owner user":"Пользователь-владелец","ra_Passwords are not equal!":"Пароли не равны!","ra_Place your files here or click here to open the browse dialog":"Поместите свои файлы сюда или щелкните здесь, чтобы открыть диалоговое окно выбора","ra_Please confirm":"Пожалуйста подтвердите","ra_Please create license":"Пожалуйста, создайте лицензию","ra_Please enter the license":"Пожалуйста, введите лицензию","ra_Please select file...":"Пожалуйста, выберите файл...","ra_Please select object ID...":"Пожалуйста, выберите идентификатор объекта ...","ra_Port could be used by %s":"Порт может использоваться %s","ra_Port is already used by %s":"Порт уже используется %s","ra_Press ENTER Key to add new item":"Нажмите клавишу ENTER, чтобы добавить новый элемент.","ra_Private certificate":"Частный сертификат",ra_Product:dne,"ra_Public certificate":"Публичный сертификат","ra_Quality code":"Валидность","ra_Refresh tree":"Обновить дерево","ra_Reload files":"Обновить",ra_Repeat:pne,ra_Replace:fne,"ra_Request timed out":"Истекло время запроса","ra_Restrict to folder":"Ограничить папкой",ra_Root:hne,ra_Saturday:mne,ra_Save:_ne,"ra_Save and close":"Сохранить и закрыть","ra_Save configuration to file":"Сохранить конфигурацию в файл","ra_Save objects tree as JSON file":"Сохранить дерево объектов как файл JSON","ra_Select all":"Выбрать все","ra_Select color":"Выберите цвет","ra_Select predefined icon":"Выберите предопределенный значок","ra_Select type of export":"Выберите тип экспорта",ra_Selected:gne,"ra_Selected %s object(s)":"Объектов: %s","ra_Serial number (UUID)":"Серийный номер (UUID)",'ra_Serial number (UUID) "%s" in license is for other device.':"Серийный номер (UUID) «%s» в лицензии предназначен для другого устройства.","ra_Show all folders":"Показать все папки","ra_Show lines between rows":"Показать линии между строками","ra_Show/Hide object descriptions":"Показать/скрыть описания объектов","ra_Show/hide filter input":"Показать/скрыть ввод фильтра","ra_Some data are not stored. Discard?":"Некоторые данные не сохранились. Отказаться?",ra_States:yne,"ra_Suitable license not found in license manager":"Подходящая лицензия не найдена в менеджере лицензий",ra_Sunday:vne,"ra_Suppress question for next %s minutes":"Скрыть вопрос на следующие %s минут(ы)","ra_System language":"Язык системы","ra_Take browser position":"Взять позицию из браузера","ra_Take position from system settings":"Занять позицию из системных настроек",'ra_The experts may create objects everywhere but from second level (e.g. "vis.0" or "javascript.0").':"Эксперты могут создавать объекты везде, кроме второго уровня (например, «vis.0» или «javascript.0»).","ra_The page you are looking for was not found":"Страница, которую вы ищете, не найдена","ra_The schedule will be executed every minute. Are you sure?":"Расписание будет выполняться каждую минуту. Вы уверены?","ra_The schedule will be executed every second. Are you sure?":"Расписание будет выполняться каждую секунду. Вы уверены?",ra_Thursday:bne,ra_Timestamp:wne,"ra_Toggle expert mode":"Переключить экспертный режим","ra_Toggle the states view":"Переключить режим просмотра состояний","ra_Toggle view mode":"Переключить режим просмотра","ra_Too big":"Слишком большое","ra_Too small":"Слишком маленькое","ra_Transparent dialog":"Прозрачный диалог",ra_Tuesday:xne,"ra_Unknown error":"Неизвестная ошибка","ra_Unknown error!":"Неизвестная ошибка!",ra_Update:Sne,"ra_Upload file":"Загрузить файл","ra_Use all available let's encrypt certificates":"Использовать все доступные сертификаты Let’s encrypt","ra_Use iobroker.acme adapter for letsencrypt certificates":"Используйте адаптер iobroker.acme для сертификатов letsencrypt","ra_Use system settings for position":"Использовать системные настройки для позиции","ra_Used system settings":"Системные настройки","ra_User files":"Файлы пользователя",ra_ValidTill:Cne,ra_Value:Ene,ra_Version:kne,"ra_View file":"Посмотреть файл","ra_View: %s":"Просмотр: %s",ra_Wednesday:$ne,ra_Width:Tne,ra_Yes:One,"ra_You can export all objects or just the selected branch.":"Вы можете экспортировать все объекты или только выбранную ветвь.","ra_You can filter entries by entering here some text":"Вы можете отфильтровать записи, введя здесь текст",ra___different__:Dne,ra_aclEveryone_read_object:Nne,ra_aclEveryone_read_state:Mne,ra_aclEveryone_write_object:Ane,ra_aclEveryone_write_state:Pne,ra_aclGroup_read_object:Ine,ra_aclGroup_read_state:Rne,ra_aclGroup_write_object:jne,ra_aclGroup_write_state:Fne,ra_aclOwner_read_object:zne,ra_aclOwner_read_state:Lne,ra_aclOwner_write_object:Bne,ra_aclOwner_write_state:Wne,ra_buttons:Une,ra_changedFrom:Hne,ra_close:qne,ra_create_boolean_state:Vne,ra_create_channel:Gne,ra_create_device:Xne,ra_create_number_state:Jne,ra_create_state:Yne,ra_create_string_state:Kne,ra_daysShortText:Zne,ra_dow_Fr:Qne,ra_dow_Mo:eoe,ra_dow_Sa:toe,ra_dow_Su:roe,ra_dow_Th:noe,ra_dow_Tu:ooe,ra_dow_We:soe,ra_expertMode:aoe,ra_fileType_all:ioe,ra_fileType_audio:loe,ra_fileType_code:coe,ra_fileType_images:uoe,ra_fileType_txt:doe,ra_fileType_video:poe,"ra_fileType_video,":"видео",ra_filter_customs:foe,ra_filter_customs_without:hoe,ra_filter_func:moe,ra_filter_id:_oe,ra_filter_name:goe,ra_filter_role:yoe,ra_filter_room:voe,ra_filter_type:boe,"ra_import data from %s file":"Импортировать данные из файла %s",ra_invalidConfig:woe,ra_lastChange:xoe,ra_locally:Soe,ra_month_Apr:Coe,ra_month_Aug:Eoe,ra_month_Dec:koe,ra_month_Feb:$oe,ra_month_Jan:Toe,ra_month_Jul:Ooe,ra_month_Jun:Doe,ra_month_Mai:Noe,ra_month_Mar:Moe,ra_month_Nov:Aoe,ra_month_Oct:Poe,ra_month_Sep:Ioe,ra_months_Apr:Roe,ra_months_Aug:joe,ra_months_Dec:Foe,ra_months_Feb:zoe,ra_months_Jan:Loe,ra_months_Jul:Boe,ra_months_Jun:Woe,ra_months_Mai:Uoe,ra_months_Mar:Hoe,ra_months_Nov:qoe,ra_months_Oct:Voe,ra_months_Sep:Goe,"ra_no confirm for 5 mins":"не спрашивать подтверждения в течение 5 минут",ra_none:Xoe,ra_object_changed_by:Joe,ra_object_changed_by_user:Yoe,ra_otherConfig:Koe,ra_qualityCode:Zoe,ra_repeat:Qoe,ra_select_folder_hint:ese,ra_state_changed_by:tse,ra_state_changed_from:rse,ra_timestamp:nse,ra_tooltip_ack:ose,ra_tooltip_comment:sse,ra_tooltip_copyState:ase,ra_tooltip_customConfig:ise,ra_tooltip_deleteObject:lse,ra_tooltip_editObject:cse,ra_tooltip_editState:use,ra_tooltip_expire:dse,ra_tooltip_from:pse,ra_tooltip_lc:fse,ra_tooltip_quality:hse,ra_tooltip_ts:mse,ra_tooltip_user:_se,ra_tooltip_value:gse,"ra_use seconds":"секунды",ra_val:yse,"ra_via internet":"через интернет",ra_warning_every_minute:vse,ra_warning_every_second:bse,sc_cron:wse,sc_date:xse,sc_dates:Sse,sc_dow:Cse,sc_dows:Ese,sc_every:kse,sc_everyN_dates:$se,sc_everyN_dow:Tse,sc_everyN_dows:Ose,sc_everyN_hours:Dse,sc_everyN_minutes:Nse,sc_everyN_months:Mse,sc_everyN_seconds:Ase,sc_every_dates:Pse,sc_every_dow:Ise,sc_every_dows:Rse,sc_every_hours:jse,sc_every_minutes:Fse,sc_every_months:zse,sc_every_seconds:Lse,sc_from:Bse,sc_hours:Wse,sc_interval:Use,sc_intervalBetween:Hse,sc_invalid_cron:qse,sc_minutes:Vse,sc_months:Gse,sc_once:Xse,sc_period:Jse,sc_seconds:Yse,sc_simple:Kse,sc_specific:Zse,sc_specific_dates:Qse,sc_specific_dow:eae,sc_specific_dows:tae,sc_specific_hours:rae,sc_specific_minutes:nae,sc_specific_months:oae,sc_specific_seconds:sae,sc_time:aae,sc_to:iae,sc_wizard:lae,sch_all:cae,sch_astroDay:uae,sch_astroNight:dae,sch_astro_dawn:pae,sch_astro_dusk:fae,sch_astro_goldenHour:hae,sch_astro_goldenHourEnd:mae,sch_astro_nadir:_ae,sch_astro_nauticalDawn:gae,sch_astro_nauticalDusk:yae,sch_astro_night:vae,sch_astro_nightEnd:bae,sch_astro_solarNoon:wae,sch_astro_sunrise:xae,sch_astro_sunriseEnd:Sae,sch_astro_sunset:Cae,sch_astro_sunsetStart:Eae,sch_at:kae,sch_desc_atTime:$ae,sch_desc_everyDay:Tae,sch_desc_everyHour:Oae,sch_desc_everyMinute:Dae,sch_desc_everyMonth:Nae,sch_desc_everyNDay:Mae,sch_desc_everyNHours:Aae,sch_desc_everyNMinutes:Pae,sch_desc_everyNMonths:Iae,sch_desc_everyNWeeks:Rae,sch_desc_everyNYears:jae,sch_desc_everyWeek:Fae,sch_desc_everyYear:zae,sch_desc_intervalFromTo:Lae,sch_desc_never:Bae,sch_desc_onDate:Wae,sch_desc_onDates:Uae,sch_desc_onEveryDate:Hae,sch_desc_onMonth:qae,sch_desc_onMonths:Vae,sch_desc_onWeekday:Gae,sch_desc_onWeekdays:Xae,sch_desc_onWeekends:Jae,sch_desc_onWorkdays:Yae,sch_desc_onceInPast:Kae,sch_desc_once_on:Zae,sch_desc_validFrom:Qae,sch_desc_validFromTo:eie,sch_desc_validTo:tie,sch_every:rie,sch_exactTime:nie,sch_from:oie,sch_fromTo:sie,sch_intervalTime:aie,sch_invert:iie,sch_no_one:lie,sch_on:cie,sch_period:uie,sch_periodDaily:die,sch_periodDates:pie,sch_periodDay:fie,sch_periodEvery:hie,sch_periodEveryDay:mie,sch_periodEveryMonth:_ie,sch_periodEveryWeek:gie,sch_periodEveryYear:yie,sch_periodHours:vie,sch_periodMinutes:bie,sch_periodMonth:wie,sch_periodMonthly:xie,sch_periodOnce:Sie,sch_periodSpecificMonths:Cie,sch_periodWeek:Eie,sch_periodWeekdays:kie,sch_periodWeekend:$ie,sch_periodWeekly:Tie,sch_periodWorkdays:Oie,sch_periodYear:Die,sch_periodYearly:Nie,sch_specificTime:Mie,sch_time:Aie,sch_to:Pie,sch_valid:Iie,sch_validFrom:Rie,sch_validTo:jie,sch_wholeDay:Fie,sch_yearEveryMonth:zie},Bie="Ações",Wie="Acrescentar",Uie="Cancelar",Hie="Categorias",qie="Verificado",Vie="Excluir",Gie="Perto",Xie="Comercial",Jie="Configurar",Yie="Conectado",Kie="Copiado",Zie="Crio",Qie="Colheita",ele="Delete",tle="Excluir",rle="Descartar",nle="Desconectado",ole="Erro",sle="Filtro",ale="Sexta-feira",ile="Latitude",lle="Longitude",cle="mensagem",ule="Segunda-feira",dle="Nome",ple="Objetos",fle="Está bem",hle="produtos",mle="Repita",_le="Substituir",gle="Raiz",yle="Sábado",vle="Salve ",ble="Selecionado",wle="Estados",xle="Domingo",Sle="Quinta-feira",Cle="Timestamp",Ele="Terça-feira",kle="Atualizar",$le="Válida até",Tle="Valor",Ole="Versão",Dle="Quarta-feira",Nle="Largura",Mle="Sim",Ale="diferente",Ple="Todos podem ler objetos",Ile="Todos podem ler o estado",Rle="Todos podem escrever objetos",jle="Todos podem escrever o estado",Fle="O grupo pode ler o objeto",zle="O grupo pode ler o estado",Lle="O grupo pode escrever o objeto",Ble="O grupo pode escrever o estado",Wle="O proprietário pode ler o objeto",Ule="O proprietário pode ler o estado",Hle="O proprietário pode escrever o objeto",qle="O proprietário pode escrever o estado",Vle="Botões",Gle="Mudou de",Xle="fechar",Jle="Criar estado booleano",Yle="Criar canal",Kle="Criar dispositivo",Zle="Criar estado numérico",Qle="Criar estado",ece="Criar estado de string",tce="d.",rce="Fr",nce="Mo",oce="Sa",sce="Su",ace="º",ice="Tu",lce="Nós",cce="Modo especialista",uce="Todos os arquivos",dce="áudio",pce="Código/JSON",fce="Imagens",hce="Texto",mce="Vídeo",_ce="Configurações",gce="sem",yce="Função",vce="ID",bce="Nome",wce="Papel (Função)",xce="Quarto",Sce="Tipo",Cce="Configurações inválidas",Ece="Última mudança",kce="localmente",$ce="abril",Tce="agosto",Oce="dezembro",Dce="fevereiro",Nce="janeiro",Mce="julho",Ace="junho",Pce="Mai",Ice="março",Rce="novembro",jce="outubro",Fce="setembro",zce="abril",Lce="agosto",Bce="dezembro",Wce="fevereiro",Uce="janeiro",Hce="julho",qce="junho",Vce="Mai",Gce="março",Xce="novembro",Jce="outubro",Yce="setembro",Kce="Nenhum",Zce="Objeto alterado por",Qce="Objeto alterado pela última vez em",eue="Configurações de outro adaptador %s",tue="Código de qualidade",rue="repetir",nue='Para selecionar a pasta, basta segurar a tecla "shift" clicando na pasta.',oue="Estado alterado por",sue="Objeto alterado de",aue="Timestamp",iue="Confirmado",lue="Comente",cue="Copie o valor do estado",uue="Opções customizadas",due="Excluir objeto",pue="Editar objeto",fue="Edite o valor do estado",hue="Expira em",mue="De",_ue="Última alteração",gue="Qualidade",yue="Timestamp",vue="Usuário",bue="Valor",wue="Valor",xue="Aviso: O trabalho CRON será executado a cada minuto durante o período especificado!",Sue="Aviso: O trabalho CRON será executado a cada segundo durante o período especificado!",Cue="CRON",Eue="Data",kue="Dias",$ue="Dia",Tue="Dia da semana",Oue="todos",Due="a cada N dias",Nue="todo enésimo dia da semana",Mue="todos os N dias da semana",Aue="a cada N horas",Pue="a cada N minutos",Iue="a cada N meses",Rue="a cada N segundos",jue="todo dia",Fue="todos os dias da semana",zue="todos os dias da semana",Lue="toda hora",Bue="todo minuto",Wue="todo mês",Uue="todo segundo",Hue="de",que="horas",Vue="intervalo",Gue="intervalo entre",Xue="CRON inválido",Jue="minutos",Yue="meses",Kue="uma vez",Zue="período",Que="segundos",ede="simples",tde="tempo específico",rde="datas específicas",nde="dia(s) específico(s) da semana",ode="dia específico de semanas",sde="horas específicas",ade="minutos específicos",ide="meses específicos",lde="segundos específicos",cde="tempo",ude="para",dde="assistente",pde="tudo",fde="dia astral",hde="noite astral",mde="amanhecer",_de="anoitecer",gde="hora dourada",yde="Fim da hora dourada",vde="nadir",bde="Amanhecer náutico",wde="Anoitecer náutico",xde="noite",Sde="fim da noite",Cde="meio-dia solar",Ede="nascer do sol",kde="fim do nascer do sol",$de="pôr do sol",Tde="início do pôr do sol",Ode="às",Dde="em %s",Nde="todo dia",Mde="toda hora",Ade="todo minuto",Pde="todo mês",Ide="a cada %s dias",Rde="a cada %s horas",jde="a cada %s minutos",Fde="a cada %s meses",zde="a cada %s semanas",Lde="a cada %s anos",Bde="toda semana",Wde="todo ano",Ude="de %s para %s",Hde="nunca",qde="em %s de %s",Vde="em %s e %s de",Gde="em toda data de",Xde="%s",Jde="%s e %s",Yde="em %s",Kde="em %s e %s",Zde="nos fins de semana",Qde="em dias úteis",epe="não será mais executado, porque o começo está no passado",tpe="em %s",rpe="de %s",npe="Executar de até",ope="até %s",spe="cada",ape="tempo específico",ipe="de",lpe="de a´t",cpe="tempo de intervalo",upe="invertido",dpe="nenhum",ppe="em",fpe="período",hpe="diariamente",mpe="datas",_pe="dia",gpe="todos",ype="todo dia",vpe="todo mês",bpe="toda semana",wpe="todo ano",xpe="horas",Spe="minutos",Cpe="mês",Epe="por mês",kpe="uma vez",$pe="meses específicos",Tpe="semana",Ope="dias úteis",Dpe="final de semana",Npe="semanal",Mpe="dias úteis",Ape="ano",Ppe="anual",Ipe="tempo específico",Rpe="tempo",jpe="para",Fpe="válido",zpe="de",Lpe="para",Bpe="dia inteiro",Wpe="todo mês",Upe={"ra_%s links from aliases":"%s links de aliases","ra_%s object(s) processed":"%s objeto(s) processado(s)","ra_%s was imported":"%s foi importado","ra_Accept license":"Aceitar licença",ra_Actions:Bie,"ra_Add new child object to selected parent":"Adicionar novo objeto filho ao pai selecionado","ra_Add objects tree from JSON file":"Adicionar árvore de objetos do arquivo JSON","ra_Add row":"Adicionar linha","ra_Advanced options":"Opções avançadas","ra_All items are filtered out":"Todos os itens são filtrados","ra_All objects":"Todos os objetos",ra_Append:Wie,"ra_Append %s entries or replace existing?":"Acrescentar %s entradas ou substituir as existentes?","ra_Append or replace?":"Acrescentar ou substituir?","ra_Are you sure?":"Você tem certeza?","ra_Auto (no custom columns)":"Auto (sem colunas personalizadas)","ra_Back to %s":"Voltar para %s","ra_Background image":"Imagem de fundo",ra_Cancel:Uie,"ra_Cannot add items with set filter":"Não é possível adicionar itens com filtro definido","ra_Cannot decode license":"Não é possível decodificar a licença","ra_Cannot determine position: System settings are empty and GPS detection is disabled in browser":"Não é possível determinar a posição: as configurações do sistema estão vazias e a detecção de GPS está desativada no navegador",'ra_Cannot find "%s"':'Não foi possível encontrar "%s"','ra_Cannot read "%s"':'Não é possível ler "%s"',"ra_Cannot read licenses: %s":"Não é possível ler licenças: %s","ra_Cannot retrieve options, as instance is offline":"Não é possível recuperar opções, pois a instância está off-line","ra_Cannot update attribute, because not found in the object":"Não é possível atualizar o atributo, porque não foi encontrado no objeto","ra_Cannot upload":"Não é possível fazer upload",ra_Categories:Hie,"ra_Chained certificate":"certificado encadeado","ra_Change color theme":"Alterar tema de cores","ra_Changed from":"Mudou de","ra_Channel → State":"Canal → Estado","ra_Check license":"Verifique a licença",ra_Checked:qie,ra_Clear:Vie,"ra_Clear filter":"Filtro limpo","ra_Clear icon":"Ícone de limpeza","ra_Clone current row":"Clonar linha atual",ra_Close:Gie,"ra_Collapse all nodes":"Recolher todos os nós","ra_Collapse one step node":"Recolher um nível",ra_Commercial:Xie,ra_Configure:Jie,"ra_Configure visible columns":"Configurar colunas visíveis","ra_Confirm deletion of %s":"Confirme a exclusão de %s",ra_Connected:Yie,ra_Copied:Kie,"ra_Copied %s":'"%s" copiado',"ra_Copy content":"Copiar conteúdo",ra_Create:Zie,"ra_Create alias":"Criar alias","ra_Create folder":"Criar pasta","ra_Create new folder in %s":"Crie uma nova pasta em %s",ra_Crop:Qie,"ra_Define CRON...":"Defina CRON...","ra_Define functions":"Definir funções","ra_Define rooms":"Definir quartos","ra_Define schedule":"Definir cronograma","ra_Define schedule...":"Definir programação ...",ra_Del:ele,ra_Delete:tle,"ra_Delete current row":"Excluir linha atual","ra_Deselect all":"Desmarque todos","ra_Device → Channel → State":"Dispositivo → Canal → Estado",ra_Discard:rle,ra_Disconnected:nle,"ra_Do not export values of states":"Não exporte valores de estados","ra_Do not use let's encrypt":"Não use vamos criptografar","ra_Double click to reset table layout":"Clique duas vezes para redefinir o layout da tabela","ra_Drag 'n' drop some files here, or click to select files":"Arraste e solte alguns arquivos aqui ou clique para selecionar arquivos","ra_Drop file here":"Solte o arquivo aqui","ra_Drop the files here...":"Solte o arquivo aqui ...","ra_Duplicate name":"Nome duplicado","ra_Edit ACL":"Editar ACL","ra_Edit alias":"Editar alias","ra_Edit custom config":"Editar configuração personalizada","ra_Edit function":"Função de edição","ra_Edit object field":"Editar campo de objeto","ra_Edit role":"Editar papel","ra_Edit room":"Sala de edição","ra_Edit value":"Editar valor",ra_Error:ole,"ra_Expand all nodes":"Expanda todos os nós","ra_Expand one step node":"Expanda um nível","ra_Export data to %s file":"Exportar dados para o arquivo %s","ra_Failed to open JSON File":"Falha ao abrir arquivo JSON","ra_Fallback custom certificates":"Certificados personalizados alternativos","ra_File is too big. Max %sk allowed. Try use SVG.":"O arquivo é muito grande. Max %sk permitido. Tente usar SVG.",ra_Filter:sle,"ra_Filter and Data Actions":"Ações de filtro e dados","ra_Filter files":"Filtrar arquivos","ra_Folder name":"Nome da pasta","ra_Folder → Channel → State":"Pasta → Canal → Estado","ra_Folder → Device → Channel → State":"Pasta → Dispositivo → Canal → Estado","ra_Folder → State":"Pasta → Estado","ra_Folders always first":"Pastas sempre primeiro",ra_Friday:ale,"ra_Good luck":"Boa sorte","ra_Hide empty folders":"Esconder pastas vazias","ra_If no file will be created in the folder, it will disappear after the browser closed":"Se nenhum arquivo for criado na pasta, ele desaparecerá depois que o navegador for fechado","ra_Import data from %s file":"Importar dados do arquivo %s","ra_Import from %s":"Importar de %s","ra_Instance %s is alive":"O %s da instância está ativo","ra_Instance %s is not alive":"O %s da instância não está ativo","ra_Instance is not alive":"A instância não está ativa","ra_Invalid CRON":"CRON inválido","ra_Invalid JSON":"JSON inválido","ra_Invalid answer from server":"Resposta inválida do servidor","ra_Invalid parent folder!":"Pasta pai inválida!","ra_Invalid structure":"Estrutura inválida","ra_JSON editor":"Editor JSON","ra_Last change":"Última mudança",ra_Latitude:ile,"ra_License %s":"Licença %s","ra_License agreement":"Contrato de licença","ra_License does not exist":"A licença não existe","ra_License expired on %s":"A licença expirou em %s",'ra_License for other product "%s"':'Licença para outro produto "%s"',"ra_License is for version %s, but required version is %s.":"A licença é para a versão %s, mas a versão necessária é %s.","ra_License must be converted":"A licença deve ser convertida para uma versão mais recente. Você pode fazê-lo em seu perfil iobroker.net.","ra_License not found in license manager. Do you want to read licenses from iobroker.net?":"Licença não encontrada no gerenciador de licenças. Deseja atualizar as licenças do iobroker.net?","ra_Listen on all IPs":"Ouça em todos os IPs","ra_Load configuration from file":"Carregar configuração do arquivo",ra_Longitude:lle,'ra_May not trigger "updateLicenses"':'Pode não acionar "updateLicenses"',ra_Message:cle,ra_Monday:ule,"ra_Move down":"Mover para baixo","ra_Move up":"Subir",ra_Name:dle,"ra_No data found in file":"Nenhum dado encontrado no arquivo","ra_No one license found in license manager":"Nenhuma licença encontrada no gerenciador de licenças","ra_No response from the backend":"Nenhuma resposta do backend",'ra_Non-experts may create new objects only in "0_userdata.0" or "alias.0".':'Os não especialistas podem criar novos objetos apenas em "0_userdata.0" ou "alias.0".',"ra_Not a number":"Não é um número",ra_Objects:ple,ra_Ok:fle,"ra_On weekdays":"Nos dias úteis","ra_Only following structures of objects are available:":"Apenas as seguintes estruturas de objetos estão disponíveis:","ra_Only selected":"Apenas selecionado","ra_Owner group":"Grupo proprietário","ra_Owner user":"Usuário proprietário","ra_Passwords are not equal!":"As senhas não são iguais!","ra_Place your files here or click here to open the browse dialog":"Coloque seus arquivos aqui ou clique aqui para abrir a janela de navegação","ra_Please confirm":"Por favor confirme","ra_Please create license":"Crie uma licença","ra_Please enter the license":"Por favor, insira a licença","ra_Please select file...":"Selecione o arquivo...","ra_Please select object ID...":"Selecione o ID do objeto ...","ra_Port could be used by %s":"A porta pode ser usada por %s","ra_Port is already used by %s":"A porta já está sendo usada por %s","ra_Press ENTER Key to add new item":"Pressione a tecla ENTER para adicionar um novo item","ra_Private certificate":"certificado privado",ra_Product:hle,"ra_Public certificate":"certificado público","ra_Quality code":"Qualidade","ra_Refresh tree":"Atualizar árvore","ra_Reload files":"Recarregar arquivos",ra_Repeat:mle,ra_Replace:_le,"ra_Request timed out":"Solicitação expirou","ra_Restrict to folder":"Restringir à pasta",ra_Root:gle,ra_Saturday:yle,ra_Save:vle,"ra_Save and close":"Salvar e fechar","ra_Save configuration to file":"Salvar configuração em arquivo","ra_Save objects tree as JSON file":"Salvar árvore de objetos como arquivo JSON","ra_Select all":"Selecionar tudo","ra_Select color":"Selecione a cor","ra_Select predefined icon":"Selecione o ícone predefinido","ra_Select type of export":"Selecione o tipo de exportação",ra_Selected:ble,"ra_Selected %s object(s)":"%s objeto(s) selecionado(s)","ra_Serial number (UUID)":"Número de série (UUID)",'ra_Serial number (UUID) "%s" in license is for other device.':'O número de série (UUID) "%s" na licença é para outro dispositivo.',"ra_Show all folders":"Mostrar todas as pastas","ra_Show lines between rows":"Mostrar linhas entre as linhas","ra_Show/Hide object descriptions":"Mostrar/ocultar descrições de objetos","ra_Show/hide filter input":"Mostrar/ocultar entrada de filtro","ra_Some data are not stored. Discard?":"Alguns dados não são armazenados. Descartar?",ra_States:wle,"ra_Suitable license not found in license manager":"Licença adequada não encontrada no gerenciador de licenças",ra_Sunday:xle,"ra_Suppress question for next %s minutes":"Suprimir pergunta nos próximos %s minutos","ra_System language":"Idioma do sistema","ra_Take browser position":"Tomar posição do navegador","ra_Take position from system settings":"Tomar posição a partir das configurações do sistema",'ra_The experts may create objects everywhere but from second level (e.g. "vis.0" or "javascript.0").':'Os especialistas podem criar objetos em qualquer lugar, exceto no segundo nível (por exemplo, "vis.0" ou "javascript.0").',"ra_The page you are looking for was not found":"A página que você está procurando não foi encontrada","ra_The schedule will be executed every minute. Are you sure?":"O agendamento será executado a cada minuto. Tem certeza?","ra_The schedule will be executed every second. Are you sure?":"O agendamento será executado a cada segundo. Tem certeza?",ra_Thursday:Sle,ra_Timestamp:Cle,"ra_Toggle expert mode":"Alternar modo especialista","ra_Toggle the states view":"Alternar a visualização dos estados","ra_Toggle view mode":"Alternar modo de visualização","ra_Too big":"Muito grande","ra_Too small":"Muito pequeno","ra_Transparent dialog":"Diálogo transparente",ra_Tuesday:Ele,"ra_Unknown error":"Erro desconhecido","ra_Unknown error!":"Erro desconhecido!",ra_Update:kle,"ra_Upload file":"Subir arquivo","ra_Use all available let's encrypt certificates":"Use todos os certificados disponíveis vamos criptografar","ra_Use iobroker.acme adapter for letsencrypt certificates":"Use o adaptador iobroker.acme para certificados letsencrypt","ra_Use system settings for position":"Use as configurações do sistema para a posição","ra_Used system settings":"Configurações do sistema usadas","ra_User files":"Arquivos do usuário",ra_ValidTill:$le,ra_Value:Tle,ra_Version:Ole,"ra_View file":"Visualizar arquivo","ra_View: %s":"Visualizar: %s",ra_Wednesday:Dle,ra_Width:Nle,ra_Yes:Mle,"ra_You can export all objects or just the selected branch.":"Você pode exportar todos os objetos ou apenas a ramificação selecionada.","ra_You can filter entries by entering here some text":"Você pode filtrar as entradas digitando aqui algum texto",ra___different__:Ale,ra_aclEveryone_read_object:Ple,ra_aclEveryone_read_state:Ile,ra_aclEveryone_write_object:Rle,ra_aclEveryone_write_state:jle,ra_aclGroup_read_object:Fle,ra_aclGroup_read_state:zle,ra_aclGroup_write_object:Lle,ra_aclGroup_write_state:Ble,ra_aclOwner_read_object:Wle,ra_aclOwner_read_state:Ule,ra_aclOwner_write_object:Hle,ra_aclOwner_write_state:qle,ra_buttons:Vle,ra_changedFrom:Gle,ra_close:Xle,ra_create_boolean_state:Jle,ra_create_channel:Yle,ra_create_device:Kle,ra_create_number_state:Zle,ra_create_state:Qle,ra_create_string_state:ece,ra_daysShortText:tce,ra_dow_Fr:rce,ra_dow_Mo:nce,ra_dow_Sa:oce,ra_dow_Su:sce,ra_dow_Th:ace,ra_dow_Tu:ice,ra_dow_We:lce,ra_expertMode:cce,ra_fileType_all:uce,ra_fileType_audio:dce,ra_fileType_code:pce,ra_fileType_images:fce,ra_fileType_txt:hce,ra_fileType_video:mce,"ra_fileType_video,":"Vídeo",ra_filter_customs:_ce,ra_filter_customs_without:gce,ra_filter_func:yce,ra_filter_id:vce,ra_filter_name:bce,ra_filter_role:wce,ra_filter_room:xce,ra_filter_type:Sce,"ra_import data from %s file":"Importar dados do arquivo %s",ra_invalidConfig:Cce,ra_lastChange:Ece,ra_locally:kce,ra_month_Apr:$ce,ra_month_Aug:Tce,ra_month_Dec:Oce,ra_month_Feb:Dce,ra_month_Jan:Nce,ra_month_Jul:Mce,ra_month_Jun:Ace,ra_month_Mai:Pce,ra_month_Mar:Ice,ra_month_Nov:Rce,ra_month_Oct:jce,ra_month_Sep:Fce,ra_months_Apr:zce,ra_months_Aug:Lce,ra_months_Dec:Bce,ra_months_Feb:Wce,ra_months_Jan:Uce,ra_months_Jul:Hce,ra_months_Jun:qce,ra_months_Mai:Vce,ra_months_Mar:Gce,ra_months_Nov:Xce,ra_months_Oct:Jce,ra_months_Sep:Yce,"ra_no confirm for 5 mins":"sem confirmação por 5 minutos",ra_none:Kce,ra_object_changed_by:Zce,ra_object_changed_by_user:Qce,ra_otherConfig:eue,ra_qualityCode:tue,ra_repeat:rue,ra_select_folder_hint:nue,ra_state_changed_by:oue,ra_state_changed_from:sue,ra_timestamp:aue,ra_tooltip_ack:iue,ra_tooltip_comment:lue,ra_tooltip_copyState:cue,ra_tooltip_customConfig:uue,ra_tooltip_deleteObject:due,ra_tooltip_editObject:pue,ra_tooltip_editState:fue,ra_tooltip_expire:hue,ra_tooltip_from:mue,ra_tooltip_lc:_ue,ra_tooltip_quality:gue,ra_tooltip_ts:yue,ra_tooltip_user:vue,ra_tooltip_value:bue,"ra_use seconds":"use segundos",ra_val:wue,"ra_via internet":"via internet",ra_warning_every_minute:xue,ra_warning_every_second:Sue,sc_cron:Cue,sc_date:Eue,sc_dates:kue,sc_dow:$ue,sc_dows:Tue,sc_every:Oue,sc_everyN_dates:Due,sc_everyN_dow:Nue,sc_everyN_dows:Mue,sc_everyN_hours:Aue,sc_everyN_minutes:Pue,sc_everyN_months:Iue,sc_everyN_seconds:Rue,sc_every_dates:jue,sc_every_dow:Fue,sc_every_dows:zue,sc_every_hours:Lue,sc_every_minutes:Bue,sc_every_months:Wue,sc_every_seconds:Uue,sc_from:Hue,sc_hours:que,sc_interval:Vue,sc_intervalBetween:Gue,sc_invalid_cron:Xue,sc_minutes:Jue,sc_months:Yue,sc_once:Kue,sc_period:Zue,sc_seconds:Que,sc_simple:ede,sc_specific:tde,sc_specific_dates:rde,sc_specific_dow:nde,sc_specific_dows:ode,sc_specific_hours:sde,sc_specific_minutes:ade,sc_specific_months:ide,sc_specific_seconds:lde,sc_time:cde,sc_to:ude,sc_wizard:dde,sch_all:pde,sch_astroDay:fde,sch_astroNight:hde,sch_astro_dawn:mde,sch_astro_dusk:_de,sch_astro_goldenHour:gde,sch_astro_goldenHourEnd:yde,sch_astro_nadir:vde,sch_astro_nauticalDawn:bde,sch_astro_nauticalDusk:wde,sch_astro_night:xde,sch_astro_nightEnd:Sde,sch_astro_solarNoon:Cde,sch_astro_sunrise:Ede,sch_astro_sunriseEnd:kde,sch_astro_sunset:$de,sch_astro_sunsetStart:Tde,sch_at:Ode,sch_desc_atTime:Dde,sch_desc_everyDay:Nde,sch_desc_everyHour:Mde,sch_desc_everyMinute:Ade,sch_desc_everyMonth:Pde,sch_desc_everyNDay:Ide,sch_desc_everyNHours:Rde,sch_desc_everyNMinutes:jde,sch_desc_everyNMonths:Fde,sch_desc_everyNWeeks:zde,sch_desc_everyNYears:Lde,sch_desc_everyWeek:Bde,sch_desc_everyYear:Wde,sch_desc_intervalFromTo:Ude,sch_desc_never:Hde,sch_desc_onDate:qde,sch_desc_onDates:Vde,sch_desc_onEveryDate:Gde,sch_desc_onMonth:Xde,sch_desc_onMonths:Jde,sch_desc_onWeekday:Yde,sch_desc_onWeekdays:Kde,sch_desc_onWeekends:Zde,sch_desc_onWorkdays:Qde,sch_desc_onceInPast:epe,sch_desc_once_on:tpe,sch_desc_validFrom:rpe,sch_desc_validFromTo:npe,sch_desc_validTo:ope,sch_every:spe,sch_exactTime:ape,sch_from:ipe,sch_fromTo:lpe,sch_intervalTime:cpe,sch_invert:upe,sch_no_one:dpe,sch_on:ppe,sch_period:fpe,sch_periodDaily:hpe,sch_periodDates:mpe,sch_periodDay:_pe,sch_periodEvery:gpe,sch_periodEveryDay:ype,sch_periodEveryMonth:vpe,sch_periodEveryWeek:bpe,sch_periodEveryYear:wpe,sch_periodHours:xpe,sch_periodMinutes:Spe,sch_periodMonth:Cpe,sch_periodMonthly:Epe,sch_periodOnce:kpe,sch_periodSpecificMonths:$pe,sch_periodWeek:Tpe,sch_periodWeekdays:Ope,sch_periodWeekend:Dpe,sch_periodWeekly:Npe,sch_periodWorkdays:Mpe,sch_periodYear:Ape,sch_periodYearly:Ppe,sch_specificTime:Ipe,sch_time:Rpe,sch_to:jpe,sch_valid:Fpe,sch_validFrom:zpe,sch_validTo:Lpe,sch_wholeDay:Bpe,sch_yearEveryMonth:Wpe},Hpe="Acties",qpe="toevoegen",Vpe="Annuleer",Gpe="Categorieën",Xpe="Gecontroleerd",Jpe="Verwijderen",Ype="Dichtbij",Kpe="Reclame",Zpe="Configureren",Qpe="Verbonden",efe="Gekopieerd",tfe="Creëer",rfe="Bijsnijden",nfe="Delete",ofe="Verwijderen",sfe="Weggooien",afe="Verbinding verbroken",ife="Fout",lfe="Filter",cfe="Vrijdag",ufe="Breedtegraad",dfe="Lengtegraad",pfe="Bericht",ffe="Maandag",hfe="Naam",mfe="Voorwerpen",_fe="OK",gfe="Product",yfe="Herhaling",vfe="Vervangen",bfe="Wortel",wfe="Zaterdag",xfe="Sparen",Sfe="Geselecteerd",Cfe="Staten",Efe="Zondag",kfe="Donderdag",$fe="Tijdstempel",Tfe="Dinsdag",Ofe="Bijwerken",Dfe="Geldig tot",Nfe="Waarde",Mfe="Versie",Afe="Woensdag",Pfe="Breedte",Ife="Ja",Rfe="verschillend",jfe="Iedereen kan object lezen",Ffe="Iedereen kan staat lezen",zfe="Iedereen kan object schrijven",Lfe="Iedereen kan staat schrijven",Bfe="Groep kan object lezen",Wfe="Groep kan status lezen",Ufe="Groep kan object schrijven",Hfe="Groep kan staat schrijven",qfe="Eigenaar kan object lezen",Vfe="Eigenaar kan staat lezen",Gfe="Eigenaar kan object schrijven",Xfe="Eigenaar kan staat schrijven",Jfe="Toetsen",Yfe="Veranderd van",Kfe="dichtbij",Zfe="Creëer een Booleaanse status",Qfe="Kanaal maken",ehe="Apparaat maken",the="Nummerstatus maken",rhe="Staat creëren",nhe="Tekenreeksstatus maken",ohe="d.",she="Fr",ahe="Mo",ihe="Za",lhe="Zo",che="Th",uhe="Tu",dhe="Wij",phe="Expert modus",fhe="Alle bestanden",hhe="Audio",mhe="Code/JSON",_he="Afbeeldingen",ghe="Tekst",yhe="Video",vhe="Instellingen",bhe="zonder",whe="Functie",xhe="ID",She="Naam",Che="Rol",Ehe="Kamer",khe="Type",$he="Ongeldige instellingen",The="Laatste wijziging",Ohe="plaatselijk",Dhe="april",Nhe="aug",Mhe="dec",Ahe="februari",Phe="jan",Ihe="jul",Rhe="juni",jhe="Mei",Fhe="mrt",zhe="nov",Lhe="Okt",Bhe="sept",Whe="april",Uhe="aug",Hhe="dec",qhe="februari",Vhe="jan",Ghe="jul",Xhe="juni",Jhe="Mei",Yhe="mrt",Khe="nov",Zhe="Okt",Qhe="sept",eme="geen",tme="Object veranderd door",rme="Object voor het laatst gewijzigd om",nme="Instellingen van andere adapter %s",ome="Kwaliteitscode",sme="herhalen",ame='Om een map te selecteren, houdt u gewoon de toets "shift" ingedrukt door op de map te klikken.',ime="Staat veranderd door",lme="Object veranderd van",cme="Tijdstempel",ume="Erkende vlag",dme="Opmerking",pme="Kopieer de statuswaarde",fme="Aangepaste instellingen",hme="Object verwijderen",mme="Object bewerken",_me="Bewerk de statuswaarde",gme="Verloopt over",yme="Van",vme="Laatst gewijzigd",bme="Kwaliteit",wme="Tijdstempel",xme="Gebruiker",Sme="Waarde",Cme="Waarde",Eme="Waarschuwing: De CRON-taak wordt elke minuut uitgevoerd gedurende de opgegeven periode!",kme="Waarschuwing: De CRON-taak wordt elke seconde uitgevoerd gedurende de opgegeven periode!",$me="CRON",Tme="Datum",Ome="data",Dme="Dag",Nme="Dag van de week",Mme="elk",Ame="elke N dagen",Pme="elke N-de dag van de week",Ime="elke N dag van de week",Rme="elke N uur",jme="elke N minuten",Fme="elke N maanden",zme="elke N seconden",Lme="elke dag",Bme="elke dag van de week",Wme="elke dag van de week",Ume="elk uur",Hme="elke minuut",qme="elke maand",Vme="elke seconde",Gme="Van",Xme="uren",Jme="Interval",Yme="Interval tussen",Kme="Ongeldige CRON",Zme="Notulen",Qme="maanden",e_e="Een keer",t_e="Periode",r_e="seconden",n_e="Gemakkelijk",o_e="Specifieke tijd",s_e="specifieke data",a_e="specifieke dag(en) van de week",i_e="specifieke dag van weken",l_e="specifieke uren",c_e="specifieke minuten",u_e="specifieke maanden",d_e="specifieke seconden",p_e="Tijd",f_e="Naar",h_e="tovenaar",m_e="allemaal",__e="Astro-dag",g_e="Astro-nacht",y_e="Dageraad",v_e="Schemer",b_e="gouden uur",w_e="Gouden uur einde",x_e="Nadir",S_e="Nautische dageraad",C_e="Nautische schemering",E_e="Nacht",k_e="Nacht einde",$_e="Zonne middag",T_e="zonsopkomst",O_e="Sunrise einde",D_e="Zonsondergang",N_e="Zonsondergang start",M_e="Bij",A_e="op %s",P_e="elke dag",I_e="elk uur",R_e="elke minuut",j_e="elke maand",F_e="elke %s dag",z_e="elke %s uur",L_e="elke %s minuten",B_e="elke %s maanden",W_e="elke %s weken",U_e="elke %s jaar",H_e="elke week",q_e="elk jaar",V_e="van %s tot %s",G_e="nooit",X_e="op %s van %s",J_e="op %s en %s van",Y_e="op elke datum van",K_e="%s",Z_e="%s en %s",Q_e="op %s",ege="op %s en %s",tge="in het weekend",rge="op werkdagen",nge="zal niet meer worden uitgevoerd, omdat start verleden tijd is",oge="op %s",sge="van %s",age="Uitvoeren van tot",ige="tot %s",lge="elk",cge="Specifieke tijd",uge="van",dge="Van naar",pge="Interval tijd",fge="omkeren",hge="geen",mge="Aan",_ge="Periode",gge="Dagelijks",yge="data",vge="Dag",bge="elk",wge="Elke dag",xge="Elke maand",Sge="Elke week",Cge="Elk jaar",Ege="uren",kge="Notulen",$ge="maand",Tge="Maandelijks",Oge="Een keer",Dge="Specifieke maanden",Nge="Week",Mge="Doordeweekse dagen",Age="Weekend",Pge="Wekelijks",Ige="werkdagen",Rge="Jaar",jge="jaar-",Fge="Specifieke tijd",zge="Tijd",Lge="naar",Bge="Geldig",Wge="van",Uge="naar",Hge="Hele dag",qge="elke maand",Vge={"ra_%s links from aliases":"%s links van aliassen","ra_%s object(s) processed":"%s object(en) verwerkt","ra_%s was imported":"%s is geïmporteerd","ra_Accept license":"Accepteer licentie",ra_Actions:Hpe,"ra_Add new child object to selected parent":"Voeg een nieuw kindobject toe aan het geselecteerde bovenliggende object","ra_Add objects tree from JSON file":"Objectenboom toevoegen vanuit JSON-bestand","ra_Add row":"Voeg een rij toe","ra_Advanced options":"Geavanceerde mogelijkheden","ra_All items are filtered out":"Alle items zijn uitgefilterd","ra_All objects":"Alle objecten",ra_Append:qpe,"ra_Append %s entries or replace existing?":"%s ingangen toevoegen of bestaande vervangen?","ra_Append or replace?":"Toevoegen of vervangen?","ra_Are you sure?":"Weet je het zeker?","ra_Auto (no custom columns)":"Auto (geen aangepaste kolommen)","ra_Back to %s":"Terug naar %s","ra_Background image":"Achtergrond afbeelding",ra_Cancel:Vpe,"ra_Cannot add items with set filter":"Kan geen items toevoegen met ingestelde filter","ra_Cannot decode license":"Kan licentie niet decoderen","ra_Cannot determine position: System settings are empty and GPS detection is disabled in browser":"Kan positie niet bepalen: systeeminstellingen zijn leeg en GPS-detectie is uitgeschakeld in browser",'ra_Cannot find "%s"':'Kan "%s" niet vinden','ra_Cannot read "%s"':'Kan "%s" niet lezen',"ra_Cannot read licenses: %s":"Kan licenties niet lezen: %s","ra_Cannot retrieve options, as instance is offline":"Kan opties niet ophalen, omdat instantie offline is","ra_Cannot update attribute, because not found in the object":"Kan kenmerk niet bijwerken, omdat het niet in het object is gevonden","ra_Cannot upload":"Kan niet uploaden",ra_Categories:Gpe,"ra_Chained certificate":"Geketend certificaat","ra_Change color theme":"Kleurthema wijzigen","ra_Changed from":"Veranderd van","ra_Channel → State":"Kanaal → Staat","ra_Check license":"Licentie controleren",ra_Checked:Xpe,ra_Clear:Jpe,"ra_Clear filter":"Filter wissen","ra_Clear icon":"Pictogram wissen","ra_Clone current row":"Kloon de huidige rij",ra_Close:Ype,"ra_Collapse all nodes":"Vouw alle knooppunten samen","ra_Collapse one step node":"Eén niveau samenvouwen",ra_Commercial:Kpe,ra_Configure:Zpe,"ra_Configure visible columns":"Configureer zichtbare kolommen","ra_Confirm deletion of %s":"Bevestig het verwijderen van %s",ra_Connected:Qpe,ra_Copied:efe,"ra_Copied %s":'"%s" gekopieerd',"ra_Copy content":"Inhoud kopiëren",ra_Create:tfe,"ra_Create alias":"Alias maken","ra_Create folder":"Map aanmaken","ra_Create new folder in %s":"Maak een nieuwe map in %s",ra_Crop:rfe,"ra_Define CRON...":"Definieer CRON...","ra_Define functions":"Definieer functies","ra_Define rooms":"Definieer kamers","ra_Define schedule":"Definieer schema","ra_Define schedule...":"Schema definiëren ...",ra_Del:nfe,ra_Delete:ofe,"ra_Delete current row":"Huidige rij verwijderen","ra_Deselect all":"Deselecteer alles","ra_Device → Channel → State":"Apparaat → Kanaal → Staat",ra_Discard:sfe,ra_Disconnected:afe,"ra_Do not export values of states":"Exporteer geen waarden van staten","ra_Do not use let's encrypt":"Gebruik geen let's encrypt","ra_Double click to reset table layout":"Dubbelklik om de tafelindeling te resetten","ra_Drag 'n' drop some files here, or click to select files":"Sleep enkele bestanden hierheen, of klik om bestanden te selecteren","ra_Drop file here":"Zet het bestand hier neer","ra_Drop the files here...":"Zet het bestand hier neer...","ra_Duplicate name":"Dubbele naam","ra_Edit ACL":"ACL bewerken","ra_Edit alias":"Alias bewerken","ra_Edit custom config":"Bewerk aangepaste config","ra_Edit function":"Bewerkingsfunctie","ra_Edit object field":"Bewerk objectveld","ra_Edit role":"Rol bewerken","ra_Edit room":"Kamer bewerken","ra_Edit value":"Waarde bewerken",ra_Error:ife,"ra_Expand all nodes":"Vouw alle knooppunten uit","ra_Expand one step node":"Vouw een niveau uit","ra_Export data to %s file":"Exporteer gegevens naar %s bestand","ra_Failed to open JSON File":"JSON-bestand kan niet worden geopend","ra_Fallback custom certificates":"Fallback aangepaste certificaten","ra_File is too big. Max %sk allowed. Try use SVG.":"Bestand is te groot. Max. %sk toegestaan. Probeer SVG te gebruiken.",ra_Filter:lfe,"ra_Filter and Data Actions":"Filter- en gegevensacties","ra_Filter files":"Bestanden filteren","ra_Folder name":"Naam van de map","ra_Folder → Channel → State":"Map → Kanaal → Staat","ra_Folder → Device → Channel → State":"Map → Apparaat → Kanaal → Staat","ra_Folder → State":"Map → Staat","ra_Folders always first":"Mappen altijd eerst",ra_Friday:cfe,"ra_Good luck":"Veel geluk","ra_Hide empty folders":"Verberg lege mappen","ra_If no file will be created in the folder, it will disappear after the browser closed":"Als er geen bestand in de map wordt gemaakt, verdwijnt het nadat de browser is gesloten","ra_Import data from %s file":"Importeer gegevens uit %s bestand","ra_Import from %s":"Importeren uit %s","ra_Instance %s is alive":"Instantie %s leeft","ra_Instance %s is not alive":"Instantie %s is niet actief","ra_Instance is not alive":"Instantie leeft niet","ra_Invalid CRON":"Ongeldige CRON","ra_Invalid JSON":"Ongeldige JSON","ra_Invalid answer from server":"Ongeldig antwoord van de server","ra_Invalid parent folder!":"Ongeldige bovenliggende map!","ra_Invalid structure":"Ongeldige structuur","ra_JSON editor":"JSON-editor","ra_Last change":"Laatste wijziging",ra_Latitude:ufe,"ra_License %s":"Licentie %s","ra_License agreement":"Licentieovereenkomst","ra_License does not exist":"Licentie bestaat niet","ra_License expired on %s":"Licentie verlopen op %s",'ra_License for other product "%s"':'Licentie voor ander product "%s"',"ra_License is for version %s, but required version is %s.":"Licentie is voor versie %s, maar vereiste versie is %s.","ra_License must be converted":"Licentie moet worden omgezet naar nieuwere versie. U kunt dit doen in uw iobroker.net-profiel.","ra_License not found in license manager. Do you want to read licenses from iobroker.net?":"Licentie niet gevonden in licentiebeheer. Wilt u licenties van iobroker.net bijwerken?","ra_Listen on all IPs":"Luister op alle IP's","ra_Load configuration from file":"Laad configuratie uit bestand",ra_Longitude:dfe,'ra_May not trigger "updateLicenses"':'Activeert mogelijk niet "updateLicenses"',ra_Message:pfe,ra_Monday:ffe,"ra_Move down":"Naar beneden verplaatsen","ra_Move up":"Omhoog gaan",ra_Name:hfe,"ra_No data found in file":"Geen gegevens gevonden in bestand","ra_No one license found in license manager":"Geen enkele licentie gevonden in licentiebeheer","ra_No response from the backend":"Geen reactie van de backend",'ra_Non-experts may create new objects only in "0_userdata.0" or "alias.0".':'Niet-experts mogen alleen nieuwe objecten maken in "0_userdata.0" of "alias.0".',"ra_Not a number":"Geen nummer",ra_Objects:mfe,ra_Ok:_fe,"ra_On weekdays":"Op weekdagen","ra_Only following structures of objects are available:":"Alleen de volgende structuren van objecten zijn beschikbaar:","ra_Only selected":"Alleen geselecteerd","ra_Owner group":"Eigenaarsgroep","ra_Owner user":"Eigenaar gebruiker","ra_Passwords are not equal!":"Wachtwoorden zijn niet gelijk!","ra_Place your files here or click here to open the browse dialog":"Plaats uw bestanden hier of klik hier om het bladervenster te openen","ra_Please confirm":"Bevestig alstublieft","ra_Please create license":"Maak een licentie aan","ra_Please enter the license":"Voer de licentie in","ra_Please select file...":"Selecteer bestand...","ra_Please select object ID...":"Selecteer object-ID ...","ra_Port could be used by %s":"Poort kan worden gebruikt door %s","ra_Port is already used by %s":"Poort wordt al gebruikt door %s","ra_Press ENTER Key to add new item":"Druk op de ENTER-toets om een nieuw item toe te voegen","ra_Private certificate":"Privé certificaat",ra_Product:gfe,"ra_Public certificate":"Openbaar certificaat","ra_Quality code":"Kwaliteit","ra_Refresh tree":"Vernieuw de boom","ra_Reload files":"Laad bestanden opnieuw",ra_Repeat:yfe,ra_Replace:vfe,"ra_Request timed out":"Verzoek verlopen","ra_Restrict to folder":"Beperken tot map",ra_Root:bfe,ra_Saturday:wfe,ra_Save:xfe,"ra_Save and close":"Opslaan en afsluiten","ra_Save configuration to file":"Sla de configuratie op in een bestand","ra_Save objects tree as JSON file":"Sla de objectenboom op als JSON-bestand","ra_Select all":"Selecteer alles","ra_Select color":"Selecteer kleur","ra_Select predefined icon":"Selecteer voorgedefinieerd pictogram","ra_Select type of export":"Selecteer het type export",ra_Selected:Sfe,"ra_Selected %s object(s)":"Geselecteerde %s object(en)","ra_Serial number (UUID)":"Serienummer (UUID)",'ra_Serial number (UUID) "%s" in license is for other device.':'Serienummer (UUID) "%s" in licentie is voor ander apparaat.',"ra_Show all folders":"Toon alle mappen","ra_Show lines between rows":"Toon lijnen tussen rijen","ra_Show/Hide object descriptions":"Toon/verberg objectbeschrijvingen","ra_Show/hide filter input":"Filterinvoer weergeven/verbergen","ra_Some data are not stored. Discard?":"Sommige gegevens worden niet opgeslagen. Weggooien?",ra_States:Cfe,"ra_Suitable license not found in license manager":"Geschikte licentie niet gevonden in licentiebeheer",ra_Sunday:Efe,"ra_Suppress question for next %s minutes":"Vraag de volgende %s minuten onderdrukken","ra_System language":"Systeemtaal","ra_Take browser position":"Positie innemen vanuit de browser","ra_Take position from system settings":"Neem positie over van systeeminstellingen",'ra_The experts may create objects everywhere but from second level (e.g. "vis.0" or "javascript.0").':'De experts kunnen overal objecten maken, behalve vanaf het tweede niveau (bijv. "Vis.0" of "javascript.0").',"ra_The page you are looking for was not found":"De pagina die u zoekt is niet gevonden","ra_The schedule will be executed every minute. Are you sure?":"Het schema wordt elke minuut uitgevoerd. Weet u het zeker?","ra_The schedule will be executed every second. Are you sure?":"Het schema wordt elke seconde uitgevoerd. Weet je het zeker?",ra_Thursday:kfe,ra_Timestamp:$fe,"ra_Toggle expert mode":"Schakel tussen expertmodus","ra_Toggle the states view":"Schakel de statusweergave in of uit","ra_Toggle view mode":"Schakelen tussen weergavemodus","ra_Too big":"Te groot","ra_Too small":"Te klein","ra_Transparent dialog":"Transparant dialoogvenster",ra_Tuesday:Tfe,"ra_Unknown error":"Onbekende fout","ra_Unknown error!":"Onbekende fout!",ra_Update:Ofe,"ra_Upload file":"Upload bestand","ra_Use all available let's encrypt certificates":"Gebruik alle beschikbare Let's Encrypt-certificaten","ra_Use iobroker.acme adapter for letsencrypt certificates":"Gebruik de iobroker.acme-adapter voor letsencrypt-certificaten","ra_Use system settings for position":"Gebruik systeeminstellingen voor positie","ra_Used system settings":"Gebruikte systeeminstellingen","ra_User files":"Gebruikersbestanden",ra_ValidTill:Dfe,ra_Value:Nfe,ra_Version:Mfe,"ra_View file":"Bestand bekijken","ra_View: %s":"Bekijk: %s",ra_Wednesday:Afe,ra_Width:Pfe,ra_Yes:Ife,"ra_You can export all objects or just the selected branch.":"U kunt alle objecten of alleen de geselecteerde tak exporteren.","ra_You can filter entries by entering here some text":"U kunt items filteren door hier wat tekst in te voeren",ra___different__:Rfe,ra_aclEveryone_read_object:jfe,ra_aclEveryone_read_state:Ffe,ra_aclEveryone_write_object:zfe,ra_aclEveryone_write_state:Lfe,ra_aclGroup_read_object:Bfe,ra_aclGroup_read_state:Wfe,ra_aclGroup_write_object:Ufe,ra_aclGroup_write_state:Hfe,ra_aclOwner_read_object:qfe,ra_aclOwner_read_state:Vfe,ra_aclOwner_write_object:Gfe,ra_aclOwner_write_state:Xfe,ra_buttons:Jfe,ra_changedFrom:Yfe,ra_close:Kfe,ra_create_boolean_state:Zfe,ra_create_channel:Qfe,ra_create_device:ehe,ra_create_number_state:the,ra_create_state:rhe,ra_create_string_state:nhe,ra_daysShortText:ohe,ra_dow_Fr:she,ra_dow_Mo:ahe,ra_dow_Sa:ihe,ra_dow_Su:lhe,ra_dow_Th:che,ra_dow_Tu:uhe,ra_dow_We:dhe,ra_expertMode:phe,ra_fileType_all:fhe,ra_fileType_audio:hhe,ra_fileType_code:mhe,ra_fileType_images:_he,ra_fileType_txt:ghe,ra_fileType_video:yhe,"ra_fileType_video,":"Video",ra_filter_customs:vhe,ra_filter_customs_without:bhe,ra_filter_func:whe,ra_filter_id:xhe,ra_filter_name:She,ra_filter_role:Che,ra_filter_room:Ehe,ra_filter_type:khe,"ra_import data from %s file":"Importeer gegevens uit %s bestand",ra_invalidConfig:$he,ra_lastChange:The,ra_locally:Ohe,ra_month_Apr:Dhe,ra_month_Aug:Nhe,ra_month_Dec:Mhe,ra_month_Feb:Ahe,ra_month_Jan:Phe,ra_month_Jul:Ihe,ra_month_Jun:Rhe,ra_month_Mai:jhe,ra_month_Mar:Fhe,ra_month_Nov:zhe,ra_month_Oct:Lhe,ra_month_Sep:Bhe,ra_months_Apr:Whe,ra_months_Aug:Uhe,ra_months_Dec:Hhe,ra_months_Feb:qhe,ra_months_Jan:Vhe,ra_months_Jul:Ghe,ra_months_Jun:Xhe,ra_months_Mai:Jhe,ra_months_Mar:Yhe,ra_months_Nov:Khe,ra_months_Oct:Zhe,ra_months_Sep:Qhe,"ra_no confirm for 5 mins":"geen bevestiging gedurende 5 minuten",ra_none:eme,ra_object_changed_by:tme,ra_object_changed_by_user:rme,ra_otherConfig:nme,ra_qualityCode:ome,ra_repeat:sme,ra_select_folder_hint:ame,ra_state_changed_by:ime,ra_state_changed_from:lme,ra_timestamp:cme,ra_tooltip_ack:ume,ra_tooltip_comment:dme,ra_tooltip_copyState:pme,ra_tooltip_customConfig:fme,ra_tooltip_deleteObject:hme,ra_tooltip_editObject:mme,ra_tooltip_editState:_me,ra_tooltip_expire:gme,ra_tooltip_from:yme,ra_tooltip_lc:vme,ra_tooltip_quality:bme,ra_tooltip_ts:wme,ra_tooltip_user:xme,ra_tooltip_value:Sme,"ra_use seconds":"gebruik seconden",ra_val:Cme,"ra_via internet":"via internet",ra_warning_every_minute:Eme,ra_warning_every_second:kme,sc_cron:$me,sc_date:Tme,sc_dates:Ome,sc_dow:Dme,sc_dows:Nme,sc_every:Mme,sc_everyN_dates:Ame,sc_everyN_dow:Pme,sc_everyN_dows:Ime,sc_everyN_hours:Rme,sc_everyN_minutes:jme,sc_everyN_months:Fme,sc_everyN_seconds:zme,sc_every_dates:Lme,sc_every_dow:Bme,sc_every_dows:Wme,sc_every_hours:Ume,sc_every_minutes:Hme,sc_every_months:qme,sc_every_seconds:Vme,sc_from:Gme,sc_hours:Xme,sc_interval:Jme,sc_intervalBetween:Yme,sc_invalid_cron:Kme,sc_minutes:Zme,sc_months:Qme,sc_once:e_e,sc_period:t_e,sc_seconds:r_e,sc_simple:n_e,sc_specific:o_e,sc_specific_dates:s_e,sc_specific_dow:a_e,sc_specific_dows:i_e,sc_specific_hours:l_e,sc_specific_minutes:c_e,sc_specific_months:u_e,sc_specific_seconds:d_e,sc_time:p_e,sc_to:f_e,sc_wizard:h_e,sch_all:m_e,sch_astroDay:__e,sch_astroNight:g_e,sch_astro_dawn:y_e,sch_astro_dusk:v_e,sch_astro_goldenHour:b_e,sch_astro_goldenHourEnd:w_e,sch_astro_nadir:x_e,sch_astro_nauticalDawn:S_e,sch_astro_nauticalDusk:C_e,sch_astro_night:E_e,sch_astro_nightEnd:k_e,sch_astro_solarNoon:$_e,sch_astro_sunrise:T_e,sch_astro_sunriseEnd:O_e,sch_astro_sunset:D_e,sch_astro_sunsetStart:N_e,sch_at:M_e,sch_desc_atTime:A_e,sch_desc_everyDay:P_e,sch_desc_everyHour:I_e,sch_desc_everyMinute:R_e,sch_desc_everyMonth:j_e,sch_desc_everyNDay:F_e,sch_desc_everyNHours:z_e,sch_desc_everyNMinutes:L_e,sch_desc_everyNMonths:B_e,sch_desc_everyNWeeks:W_e,sch_desc_everyNYears:U_e,sch_desc_everyWeek:H_e,sch_desc_everyYear:q_e,sch_desc_intervalFromTo:V_e,sch_desc_never:G_e,sch_desc_onDate:X_e,sch_desc_onDates:J_e,sch_desc_onEveryDate:Y_e,sch_desc_onMonth:K_e,sch_desc_onMonths:Z_e,sch_desc_onWeekday:Q_e,sch_desc_onWeekdays:ege,sch_desc_onWeekends:tge,sch_desc_onWorkdays:rge,sch_desc_onceInPast:nge,sch_desc_once_on:oge,sch_desc_validFrom:sge,sch_desc_validFromTo:age,sch_desc_validTo:ige,sch_every:lge,sch_exactTime:cge,sch_from:uge,sch_fromTo:dge,sch_intervalTime:pge,sch_invert:fge,sch_no_one:hge,sch_on:mge,sch_period:_ge,sch_periodDaily:gge,sch_periodDates:yge,sch_periodDay:vge,sch_periodEvery:bge,sch_periodEveryDay:wge,sch_periodEveryMonth:xge,sch_periodEveryWeek:Sge,sch_periodEveryYear:Cge,sch_periodHours:Ege,sch_periodMinutes:kge,sch_periodMonth:$ge,sch_periodMonthly:Tge,sch_periodOnce:Oge,sch_periodSpecificMonths:Dge,sch_periodWeek:Nge,sch_periodWeekdays:Mge,sch_periodWeekend:Age,sch_periodWeekly:Pge,sch_periodWorkdays:Ige,sch_periodYear:Rge,sch_periodYearly:jge,sch_specificTime:Fge,sch_time:zge,sch_to:Lge,sch_valid:Bge,sch_validFrom:Wge,sch_validTo:Uge,sch_wholeDay:Hge,sch_yearEveryMonth:qge},Gge="Actes",Xge="Ajouter",Jge="Annuler",Yge="Catégories",Kge="Vérifié",Zge="Effacer",Qge="Fermer",eye="Commercial",tye="Configurer",rye="Lié",nye="Copié",oye="Créer",sye="Recadrer",aye="Delete",iye="Supprimer",lye="Jeter",cye="Débranché",uye="Erreur",dye="Filtre",pye="Vendredi",fye="Latitude",hye="Longitude",mye="Message",_ye="Lundi",gye="Nom",yye="Objets",vye="D'accord",bye="Produit",wye="Répéter",xye="Remplacer",Sye="Racine",Cye="Samedi",Eye="sauver",kye="Choisi",$ye="États",Tye="Dimanche",Oye="Jeudi",Dye="Horodatage",Nye="Mardi",Mye="Mise à jour",Aye="Valable jusqu'au",Pye="Valeur",Iye="Version",Rye="Mercredi",jye="Largeur",Fye="Oui",zye="différent",Lye="Tout le monde peut lire un objet",Bye="Tout le monde peut lire l'état",Wye="Tout le monde peut écrire un objet",Uye="Tout le monde peut écrire l'état",Hye="Le groupe peut lire l'objet",qye="Le groupe peut lire l'état",Vye="Le groupe peut écrire un objet",Gye="Le groupe peut écrire l'état",Xye="Le propriétaire peut lire l'objet",Jye="Le propriétaire peut lire l'état",Yye="Le propriétaire peut écrire un objet",Kye="Le propriétaire peut écrire l'état",Zye="Boutons",Qye="Changé de",eve="Fermer",tve="Créer un état booléen",rve="Créer une chaîne",nve="Créer un appareil",ove="Créer un état de numéro",sve="Créer un état",ave="Créer un état de chaîne",ive="j.",lve="Fr",cve="Mo",uve="Sa",dve="Su",pve="Th",fve="Tu",hve="Nous",mve="Mode expert",_ve="Tous les fichiers",gve="l'audio",yve="Code/JSON",vve="Images",bve="Texte",wve="Vidéo",xve="Paramètres",Sve="sans",Cve="Une fonction",Eve="ID",kve="Prénom",$ve="Rôle",Tve="Pièce",Ove="Type",Dve="Paramètres invalides",Nve="Dernier changement",Mve="localement",Ave="Avr",Pve="Août",Ive="Déc",Rve="Fév",jve="Jan",Fve="Juil",zve="Juin",Lve="Mai",Bve="Mar",Wve="Nov",Uve="Oct",Hve="Sep",qve="Avr",Vve="Août",Gve="Déc",Xve="Fév",Jve="Jan",Yve="Juil",Kve="Juin",Zve="Mai",Qve="Mar",ebe="Nov",tbe="Oct",rbe="Sep",nbe="rien",obe="Objet modifié par",sbe="Objet modifié pour la dernière fois à",abe="Paramètres d'un autre adaptateur %s",ibe="Code de qualité",lbe="répéter",cbe='Pour sélectionner un dossier, maintenez simplement la touche "shift" enfoncée en cliquant sur le dossier.',ube="État modifié par",dbe="Objet changé de",pbe="Horodatage",fbe="Drapeau reconnu",hbe="Commentaire",mbe="Copiez la valeur d'état",_be="Paramètres personnalisés",gbe="Supprimer un objet",ybe="Modifier l'objet",vbe="Modifier la valeur d'état",bbe="Expire dans",wbe="De",xbe="Dernière modification",Sbe="Qualité",Cbe="Horodatage",Ebe="Utilisateur",kbe="Valeur",$be="Valeur",Tbe="Attention : la tâche CRON s’exécutera toutes les minutes pendant la période spécifiée !",Obe="Attention : la tâche CRON s’exécutera toutes les secondes pendant la période spécifiée !",Dbe="CRON",Nbe="Date",Mbe="Rendez-vous",Abe="Jour",Pbe="Jour de la semaine",Ibe="Chaque",Rbe="tous les N jours",jbe="chaque Nième jour de la semaine",Fbe="tous les N jours de la semaine",zbe="toutes les N heures",Lbe="toutes les N minutes",Bbe="tous les N mois",Wbe="toutes les N secondes",Ube="tous les jours",Hbe="Chaque jour de la semaine",qbe="Chaque jour de la semaine",Vbe="Toutes les heures",Gbe="chaque minute",Xbe="chaque mois",Jbe="chaque seconde",Ybe="De",Kbe="Heures",Zbe="Intervalle",Qbe="Intervalle entre",e0e="CRON non valide",t0e="Minutes",r0e="mois",n0e="Une fois que",o0e="Période",s0e="Secondes",a0e="Facile",i0e="Temps spécifique",l0e="dates spécifiques",c0e="jour(s) spécifique(s) de la semaine",u0e="jour spécifique de semaines",d0e="heures spécifiques",p0e="minutes spécifiques",f0e="mois spécifiques",h0e="secondes spécifiques",m0e="Temps",_0e="À",g0e="sorcier",y0e="tout",v0e="Journée astronomique",b0e="Nuit astronomique",w0e="Aube",x0e="Crépuscule",S0e="Heure d'or",C0e="Fin de l'heure d'or",E0e="Nadir",k0e="Aube nautique",$0e="Crépuscule nautique",T0e="Nuit",O0e="Fin de nuit",D0e="Midi solaire",N0e="lever du soleil",M0e="Fin du lever du soleil",A0e="Le coucher du soleil",P0e="Coucher du soleil",I0e="à",R0e="à %s",j0e="tous les jours",F0e="Toutes les heures",z0e="chaque minute",L0e="chaque mois",B0e="chaque %s jour",W0e="chaque %s heures",U0e="toutes les %s minutes",H0e="tous les %s mois",q0e="chaque %s semaines",V0e="tous les %s ans",G0e="toutes les semaines",X0e="chaque année",J0e="de %s à %s",Y0e="jamais",K0e="sur %s de %s",Z0e="sur %s et %s de",Q0e="à chaque date de",ewe="%s",twe="%s et %s",rwe="sur %s",nwe="sur %s et %s",owe="les weekends",swe="les jours ouvrables",awe="ne sera plus exécuté, car start est dans le passé",iwe="sur %s",lwe="de %s",cwe="Exécuter de à",uwe="à %s",dwe="chaque",pwe="Temps spécifique",fwe="de",hwe="De à",mwe="Temps d'interval",_we="inverser",gwe="aucun",ywe="sur",vwe="Période",bwe="du quotidien",wwe="Rendez-vous",xwe="journée",Swe="Chaque",Cwe="Tous les jours",Ewe="Chaque mois",kwe="Toutes les semaines",$we="Chaque année",Twe="Heures",Owe="Minutes",Dwe="mois",Nwe="Mensuel",Mwe="Une fois que",Awe="Mois spécifiques",Pwe="La semaine",Iwe="Jours de la semaine",Rwe="Weekend",jwe="Hebdomadaire",Fwe="Jours ouvrables",zwe="Année",Lwe="Annuel",Bwe="Temps spécifique",Wwe="Temps",Uwe="à",Hwe="Valide",qwe="de",Vwe="à",Gwe="Toute la journée",Xwe="chaque mois",Jwe={"ra_%s links from aliases":"%s liens provenant d'alias","ra_%s object(s) processed":"%s objet(s) traité(s)","ra_%s was imported":"%s a été importé","ra_Accept license":"Accepter la licence",ra_Actions:Gge,"ra_Add new child object to selected parent":"Ajouter un nouvel objet enfant au parent sélectionné","ra_Add objects tree from JSON file":"Ajouter une arborescence d'objets à partir d'un fichier JSON","ra_Add row":"Ajouter une rangée","ra_Advanced options":"Options avancées","ra_All items are filtered out":"Tous les éléments sont filtrés","ra_All objects":"Tous les objets",ra_Append:Xge,"ra_Append %s entries or replace existing?":"Ajouter %s entrées ou remplacer l'existant ?","ra_Append or replace?":"Ajouter ou remplacer ?","ra_Are you sure?":"Êtes-vous sûr?","ra_Auto (no custom columns)":"Auto (pas de colonnes personnalisées)","ra_Back to %s":"Retour à %s","ra_Background image":"Image de fond",ra_Cancel:Jge,"ra_Cannot add items with set filter":"Impossible d'ajouter des éléments avec le filtre défini","ra_Cannot decode license":"Impossible de décoder la licence","ra_Cannot determine position: System settings are empty and GPS detection is disabled in browser":"Impossible de déterminer la position : les paramètres système sont vides et la détection GPS est désactivée dans le navigateur",'ra_Cannot find "%s"':'Impossible de trouver "%s"','ra_Cannot read "%s"':'Impossible de lire "%s"',"ra_Cannot read licenses: %s":"Impossible de lire les licences : %s","ra_Cannot retrieve options, as instance is offline":"Impossible de récupérer les options, car l'instance est hors ligne","ra_Cannot update attribute, because not found in the object":"Impossible de mettre à jour l'attribut, car il est introuvable dans l'objet","ra_Cannot upload":"Impossible de télécharger",ra_Categories:Yge,"ra_Chained certificate":"Certificat chaîné","ra_Change color theme":"Changer le thème de couleur","ra_Changed from":"Changé de","ra_Channel → State":"Canal → État","ra_Check license":"Vérifier la licence",ra_Checked:Kge,ra_Clear:Zge,"ra_Clear filter":"Effacer le filtre","ra_Clear icon":"Effacer l'icône","ra_Clone current row":"Cloner la ligne actuelle",ra_Close:Qge,"ra_Collapse all nodes":"Réduire tous les nœuds","ra_Collapse one step node":"Réduire d'un niveau",ra_Commercial:eye,ra_Configure:tye,"ra_Configure visible columns":"Configurer les colonnes visibles","ra_Confirm deletion of %s":"Confirmer la suppression de %s",ra_Connected:rye,ra_Copied:nye,"ra_Copied %s":'"%s" copié',"ra_Copy content":"Copier le contenu",ra_Create:oye,"ra_Create alias":"Créer un alias","ra_Create folder":"Créer le dossier","ra_Create new folder in %s":"Créer un nouveau dossier dans %s",ra_Crop:sye,"ra_Define CRON...":"Définir CRON...","ra_Define functions":"Définir des fonctions","ra_Define rooms":"Définir des pièces","ra_Define schedule":"Définir le calendrier","ra_Define schedule...":"Définir le calendrier ...",ra_Del:aye,ra_Delete:iye,"ra_Delete current row":"Supprimer la ligne actuelle","ra_Deselect all":"Tout déselectionner","ra_Device → Channel → State":"Appareil → Canal → État",ra_Discard:lye,ra_Disconnected:cye,"ra_Do not export values of states":"Ne pas exporter les valeurs des états","ra_Do not use let's encrypt":"Ne pas utiliser let's encrypt","ra_Double click to reset table layout":"Double-cliquez pour réinitialiser la disposition du tableau","ra_Drag 'n' drop some files here, or click to select files":"Glissez-déposez des fichiers ici, ou cliquez pour sélectionner des fichiers","ra_Drop file here":"Déposer le fichier ici","ra_Drop the files here...":"Déposez le fichier ici...","ra_Duplicate name":"Nom en double","ra_Edit ACL":"Modifier la LCA","ra_Edit alias":"Modifier l'alias","ra_Edit custom config":"Modifier la configuration personnalisée","ra_Edit function":"Fonction d'édition","ra_Edit object field":"Modifier le champ d'objet","ra_Edit role":"Modifier le rôle","ra_Edit room":"Modifier la salle","ra_Edit value":"Modifier la valeur",ra_Error:uye,"ra_Expand all nodes":"Développer tous les nœuds","ra_Expand one step node":"Développer un niveau","ra_Export data to %s file":"Exporter les données vers le fichier %s","ra_Failed to open JSON File":"Échec de l'ouverture du fichier JSON","ra_Fallback custom certificates":"Certificats personnalisés de secours","ra_File is too big. Max %sk allowed. Try use SVG.":"Le fichier est trop volumineux. Max %sk autorisé. Essayez d'utiliser SVG.",ra_Filter:dye,"ra_Filter and Data Actions":"Actions sur les filtres et les données","ra_Filter files":"Filtrer les fichiers","ra_Folder name":"Nom de dossier","ra_Folder → Channel → State":"Dossier → Chaîne → État","ra_Folder → Device → Channel → State":"Dossier → Appareil → Canal → État","ra_Folder → State":"Dossier → État","ra_Folders always first":"Les dossiers toujours en premier",ra_Friday:pye,"ra_Good luck":"Bonne chance","ra_Hide empty folders":"Masquer les dossiers vides","ra_If no file will be created in the folder, it will disappear after the browser closed":"Si aucun fichier ne sera créé dans le dossier, il disparaîtra après la fermeture du navigateur","ra_Import data from %s file":"Importer des données à partir du fichier %s","ra_Import from %s":"Importer depuis %s","ra_Instance %s is alive":"L'instance %s est active","ra_Instance %s is not alive":"L'instance %s n'est pas active","ra_Instance is not alive":"L'instance n'est pas active","ra_Invalid CRON":"CRON invalide","ra_Invalid JSON":"JSON invalide","ra_Invalid answer from server":"Réponse invalide du serveur","ra_Invalid parent folder!":"Dossier parent non valide!","ra_Invalid structure":"Structure invalide","ra_JSON editor":"Éditeur JSON","ra_Last change":"Dernier changement",ra_Latitude:fye,"ra_License %s":"Licence %s","ra_License agreement":"Accord de licence","ra_License does not exist":"La licence n'existe pas","ra_License expired on %s":"Licence expirée le %s",'ra_License for other product "%s"':'Licence pour un autre produit "%s"',"ra_License is for version %s, but required version is %s.":"La licence est pour la version %s, mais la version requise est %s.","ra_License must be converted":"La licence doit être convertie en une version plus récente. Vous pouvez le faire dans votre profil iobroker.net.","ra_License not found in license manager. Do you want to read licenses from iobroker.net?":"Licence introuvable dans le gestionnaire de licences. Voulez-vous mettre à jour les licences depuis iobroker.net ?","ra_Listen on all IPs":"Écoutez sur toutes les adresses IP","ra_Load configuration from file":"Charger la configuration à partir du fichier",ra_Longitude:hye,'ra_May not trigger "updateLicenses"':'Peut ne pas déclencher "updateLicences"',ra_Message:mye,ra_Monday:_ye,"ra_Move down":"Descendre","ra_Move up":"Déplacer vers le haut",ra_Name:gye,"ra_No data found in file":"Aucune donnée trouvée dans le fichier","ra_No one license found in license manager":"Aucune licence trouvée dans le gestionnaire de licences","ra_No response from the backend":"Aucune réponse du backend",'ra_Non-experts may create new objects only in "0_userdata.0" or "alias.0".':'Les non-experts ne peuvent créer de nouveaux objets que dans "0_userdata.0" ou "alias.0".',"ra_Not a number":"Pas un numéro",ra_Objects:yye,ra_Ok:vye,"ra_On weekdays":"En semaine","ra_Only following structures of objects are available:":"Seules les structures d'objets suivantes sont disponibles:","ra_Only selected":"Uniquement sélectionné","ra_Owner group":"Groupe propriétaire","ra_Owner user":"Utilisateur propriétaire","ra_Passwords are not equal!":"Les mots de passe ne sont pas égaux !","ra_Place your files here or click here to open the browse dialog":"Placez vos fichiers ici ou cliquez ici pour ouvrir la boîte de dialogue de navigation","ra_Please confirm":"Veuillez confirmer","ra_Please create license":"Veuillez créer une licence","ra_Please enter the license":"Veuillez entrer la licence","ra_Please select file...":"Veuillez sélectionner le fichier...","ra_Please select object ID...":"Veuillez sélectionner l'ID d'objet ...","ra_Port could be used by %s":"Le port pourrait être utilisé par %s","ra_Port is already used by %s":"Le port est déjà utilisé par %s","ra_Press ENTER Key to add new item":"Appuyez sur la touche ENTRÉE pour ajouter un nouvel élément","ra_Private certificate":"Certificat privé",ra_Product:bye,"ra_Public certificate":"Certificat public","ra_Quality code":"Qualité","ra_Refresh tree":"Rafraîchir l'arborescence","ra_Reload files":"Recharger les fichiers",ra_Repeat:wye,ra_Replace:xye,"ra_Request timed out":"La demande a expiré","ra_Restrict to folder":"Restreindre au dossier",ra_Root:Sye,ra_Saturday:Cye,ra_Save:Eye,"ra_Save and close":"Sauver et fermer","ra_Save configuration to file":"Enregistrer la configuration dans un fichier","ra_Save objects tree as JSON file":"Enregistrer l'arborescence des objets en tant que fichier JSON","ra_Select all":"Tout sélectionner","ra_Select color":"Choisissez la couleur","ra_Select predefined icon":"Sélectionnez l'icône prédéfinie","ra_Select type of export":"Sélectionnez le type d'exportation",ra_Selected:kye,"ra_Selected %s object(s)":"Objet(s) %s sélectionné(s)","ra_Serial number (UUID)":"Numéro de série (UUID)",'ra_Serial number (UUID) "%s" in license is for other device.':'Le numéro de série (UUID) "%s" dans la licence est pour un autre appareil.',"ra_Show all folders":"Afficher tous les dossiers","ra_Show lines between rows":"Afficher les lignes entre les lignes","ra_Show/Hide object descriptions":"Afficher/Masquer les descriptions d'objets","ra_Show/hide filter input":"Afficher/masquer l'entrée de filtre","ra_Some data are not stored. Discard?":"Certaines données ne sont pas stockées. Jeter?",ra_States:$ye,"ra_Suitable license not found in license manager":"Licence appropriée introuvable dans le gestionnaire de licences",ra_Sunday:Tye,"ra_Suppress question for next %s minutes":"Supprimer la question pour les %s prochaines minutes","ra_System language":"Langue du système","ra_Take browser position":"Prendre position depuis le navigateur","ra_Take position from system settings":"Prendre position à partir des paramètres système",'ra_The experts may create objects everywhere but from second level (e.g. "vis.0" or "javascript.0").':'Les experts peuvent créer des objets partout mais à partir du deuxième niveau (par exemple "vis.0" ou "javascript.0").',"ra_The page you are looking for was not found":"La page que vous recherchez n'a pas été trouvée","ra_The schedule will be executed every minute. Are you sure?":"Le planning sera exécuté toutes les minutes. Êtes-vous sûr ?","ra_The schedule will be executed every second. Are you sure?":"Le planning sera exécuté toutes les secondes. Êtes-vous sûr ?",ra_Thursday:Oye,ra_Timestamp:Dye,"ra_Toggle expert mode":"Basculer en mode expert","ra_Toggle the states view":"Basculer la vue des états","ra_Toggle view mode":"Basculer le mode d'affichage","ra_Too big":"Trop grand","ra_Too small":"Trop petit","ra_Transparent dialog":"Dialogue transparent",ra_Tuesday:Nye,"ra_Unknown error":"Erreur inconnue","ra_Unknown error!":"Erreur inconnue!",ra_Update:Mye,"ra_Upload file":"Téléverser un fichier","ra_Use all available let's encrypt certificates":"Utilisez tous les certificats let's encrypt disponibles","ra_Use iobroker.acme adapter for letsencrypt certificates":"Utiliser l'adaptateur iobroker.acme pour les certificats Letsencrypt","ra_Use system settings for position":"Utiliser les paramètres système pour la position","ra_Used system settings":"Paramètres système utilisés","ra_User files":"Fichiers utilisateurs",ra_ValidTill:Aye,ra_Value:Pye,ra_Version:Iye,"ra_View file":"Voir la fiche","ra_View: %s":"Affichage : %s",ra_Wednesday:Rye,ra_Width:jye,ra_Yes:Fye,"ra_You can export all objects or just the selected branch.":"Vous pouvez exporter tous les objets ou uniquement la branche sélectionnée.","ra_You can filter entries by entering here some text":"Vous pouvez filtrer les entrées en saisissant ici du texte",ra___different__:zye,ra_aclEveryone_read_object:Lye,ra_aclEveryone_read_state:Bye,ra_aclEveryone_write_object:Wye,ra_aclEveryone_write_state:Uye,ra_aclGroup_read_object:Hye,ra_aclGroup_read_state:qye,ra_aclGroup_write_object:Vye,ra_aclGroup_write_state:Gye,ra_aclOwner_read_object:Xye,ra_aclOwner_read_state:Jye,ra_aclOwner_write_object:Yye,ra_aclOwner_write_state:Kye,ra_buttons:Zye,ra_changedFrom:Qye,ra_close:eve,ra_create_boolean_state:tve,ra_create_channel:rve,ra_create_device:nve,ra_create_number_state:ove,ra_create_state:sve,ra_create_string_state:ave,ra_daysShortText:ive,ra_dow_Fr:lve,ra_dow_Mo:cve,ra_dow_Sa:uve,ra_dow_Su:dve,ra_dow_Th:pve,ra_dow_Tu:fve,ra_dow_We:hve,ra_expertMode:mve,ra_fileType_all:_ve,ra_fileType_audio:gve,ra_fileType_code:yve,ra_fileType_images:vve,ra_fileType_txt:bve,ra_fileType_video:wve,"ra_fileType_video,":"Vidéo",ra_filter_customs:xve,ra_filter_customs_without:Sve,ra_filter_func:Cve,ra_filter_id:Eve,ra_filter_name:kve,ra_filter_role:$ve,ra_filter_room:Tve,ra_filter_type:Ove,"ra_import data from %s file":"Importer des données à partir du fichier %s",ra_invalidConfig:Dve,ra_lastChange:Nve,ra_locally:Mve,ra_month_Apr:Ave,ra_month_Aug:Pve,ra_month_Dec:Ive,ra_month_Feb:Rve,ra_month_Jan:jve,ra_month_Jul:Fve,ra_month_Jun:zve,ra_month_Mai:Lve,ra_month_Mar:Bve,ra_month_Nov:Wve,ra_month_Oct:Uve,ra_month_Sep:Hve,ra_months_Apr:qve,ra_months_Aug:Vve,ra_months_Dec:Gve,ra_months_Feb:Xve,ra_months_Jan:Jve,ra_months_Jul:Yve,ra_months_Jun:Kve,ra_months_Mai:Zve,ra_months_Mar:Qve,ra_months_Nov:ebe,ra_months_Oct:tbe,ra_months_Sep:rbe,"ra_no confirm for 5 mins":"pas de confirmation pendant 5 minutes",ra_none:nbe,ra_object_changed_by:obe,ra_object_changed_by_user:sbe,ra_otherConfig:abe,ra_qualityCode:ibe,ra_repeat:lbe,ra_select_folder_hint:cbe,ra_state_changed_by:ube,ra_state_changed_from:dbe,ra_timestamp:pbe,ra_tooltip_ack:fbe,ra_tooltip_comment:hbe,ra_tooltip_copyState:mbe,ra_tooltip_customConfig:_be,ra_tooltip_deleteObject:gbe,ra_tooltip_editObject:ybe,ra_tooltip_editState:vbe,ra_tooltip_expire:bbe,ra_tooltip_from:wbe,ra_tooltip_lc:xbe,ra_tooltip_quality:Sbe,ra_tooltip_ts:Cbe,ra_tooltip_user:Ebe,ra_tooltip_value:kbe,"ra_use seconds":"utiliser les secondes",ra_val:$be,"ra_via internet":"par Internet",ra_warning_every_minute:Tbe,ra_warning_every_second:Obe,sc_cron:Dbe,sc_date:Nbe,sc_dates:Mbe,sc_dow:Abe,sc_dows:Pbe,sc_every:Ibe,sc_everyN_dates:Rbe,sc_everyN_dow:jbe,sc_everyN_dows:Fbe,sc_everyN_hours:zbe,sc_everyN_minutes:Lbe,sc_everyN_months:Bbe,sc_everyN_seconds:Wbe,sc_every_dates:Ube,sc_every_dow:Hbe,sc_every_dows:qbe,sc_every_hours:Vbe,sc_every_minutes:Gbe,sc_every_months:Xbe,sc_every_seconds:Jbe,sc_from:Ybe,sc_hours:Kbe,sc_interval:Zbe,sc_intervalBetween:Qbe,sc_invalid_cron:e0e,sc_minutes:t0e,sc_months:r0e,sc_once:n0e,sc_period:o0e,sc_seconds:s0e,sc_simple:a0e,sc_specific:i0e,sc_specific_dates:l0e,sc_specific_dow:c0e,sc_specific_dows:u0e,sc_specific_hours:d0e,sc_specific_minutes:p0e,sc_specific_months:f0e,sc_specific_seconds:h0e,sc_time:m0e,sc_to:_0e,sc_wizard:g0e,sch_all:y0e,sch_astroDay:v0e,sch_astroNight:b0e,sch_astro_dawn:w0e,sch_astro_dusk:x0e,sch_astro_goldenHour:S0e,sch_astro_goldenHourEnd:C0e,sch_astro_nadir:E0e,sch_astro_nauticalDawn:k0e,sch_astro_nauticalDusk:$0e,sch_astro_night:T0e,sch_astro_nightEnd:O0e,sch_astro_solarNoon:D0e,sch_astro_sunrise:N0e,sch_astro_sunriseEnd:M0e,sch_astro_sunset:A0e,sch_astro_sunsetStart:P0e,sch_at:I0e,sch_desc_atTime:R0e,sch_desc_everyDay:j0e,sch_desc_everyHour:F0e,sch_desc_everyMinute:z0e,sch_desc_everyMonth:L0e,sch_desc_everyNDay:B0e,sch_desc_everyNHours:W0e,sch_desc_everyNMinutes:U0e,sch_desc_everyNMonths:H0e,sch_desc_everyNWeeks:q0e,sch_desc_everyNYears:V0e,sch_desc_everyWeek:G0e,sch_desc_everyYear:X0e,sch_desc_intervalFromTo:J0e,sch_desc_never:Y0e,sch_desc_onDate:K0e,sch_desc_onDates:Z0e,sch_desc_onEveryDate:Q0e,sch_desc_onMonth:ewe,sch_desc_onMonths:twe,sch_desc_onWeekday:rwe,sch_desc_onWeekdays:nwe,sch_desc_onWeekends:owe,sch_desc_onWorkdays:swe,sch_desc_onceInPast:awe,sch_desc_once_on:iwe,sch_desc_validFrom:lwe,sch_desc_validFromTo:cwe,sch_desc_validTo:uwe,sch_every:dwe,sch_exactTime:pwe,sch_from:fwe,sch_fromTo:hwe,sch_intervalTime:mwe,sch_invert:_we,sch_no_one:gwe,sch_on:ywe,sch_period:vwe,sch_periodDaily:bwe,sch_periodDates:wwe,sch_periodDay:xwe,sch_periodEvery:Swe,sch_periodEveryDay:Cwe,sch_periodEveryMonth:Ewe,sch_periodEveryWeek:kwe,sch_periodEveryYear:$we,sch_periodHours:Twe,sch_periodMinutes:Owe,sch_periodMonth:Dwe,sch_periodMonthly:Nwe,sch_periodOnce:Mwe,sch_periodSpecificMonths:Awe,sch_periodWeek:Pwe,sch_periodWeekdays:Iwe,sch_periodWeekend:Rwe,sch_periodWeekly:jwe,sch_periodWorkdays:Fwe,sch_periodYear:zwe,sch_periodYearly:Lwe,sch_specificTime:Bwe,sch_time:Wwe,sch_to:Uwe,sch_valid:Hwe,sch_validFrom:qwe,sch_validTo:Vwe,sch_wholeDay:Gwe,sch_yearEveryMonth:Xwe},Ywe="Azioni",Kwe="Aggiungere",Zwe="Annulla",Qwe="Categorie",e1e="Controllato",t1e="Elimina",r1e="Vicino",n1e="Commerciale",o1e="Configura",s1e="Collegato",a1e="Copiato",i1e="Creare",l1e="Raccolto",c1e="Delete",u1e="Elimina",d1e="Scartare",p1e="Disconnesso",f1e="Errore",h1e="Filtro",m1e="Venerdì",_1e="Latitudine",g1e="Longitudine",y1e="Messaggio",v1e="Lunedi",b1e="Nome",w1e="Oggetti",x1e="Ok",S1e="Prodotto",C1e="Ripetere",E1e="Sostituire",k1e="Radice",$1e="Sabato",T1e="Salva",O1e="Selezionato",D1e="stati",N1e="Domenica",M1e="Giovedì",A1e="Timestamp",P1e="Martedì",I1e="Aggiornare",R1e="Valido fino a",j1e="Valore",F1e="Versione",z1e="Mercoledì",L1e="Larghezza",B1e="SÌ",W1e="diverso",U1e="Tutti possono leggere gli oggetti",H1e="Tutti possono leggere lo stato",q1e="Tutti possono scrivere oggetti",V1e="Tutti possono scrivere stato",G1e="Il gruppo può leggere l'oggetto",X1e="Il gruppo può leggere lo stato",J1e="Il gruppo può scrivere l'oggetto",Y1e="Il gruppo può scrivere lo stato",K1e="Il proprietario può leggere l'oggetto",Z1e="Il proprietario può leggere lo stato",Q1e="Il proprietario può scrivere l'oggetto",exe="Il proprietario può scrivere lo stato",txe="Bottoni",rxe="Cambiato da",nxe="vicino",oxe="Crea uno stato booleano",sxe="Crea canale",axe="Crea dispositivo",ixe="Crea lo stato del numero",lxe="Crea stato",cxe="Crea lo stato della stringa",uxe="g.",dxe="fr",pxe="momento",fxe="Sa",hxe="su",mxe="th",_xe="Tu",gxe="Noi",yxe="Modalità esperto",vxe="Tutti i files",bxe="Audio",wxe="Codice/JSON",xxe="immagini",Sxe="Testo",Cxe="video",Exe="impostazioni",kxe="senza",$xe="Funzione",Txe="ID",Oxe="Nome",Dxe="Ruolo",Nxe="Camera",Mxe="genere",Axe="Impostazioni non valide",Pxe="Ultima modifica",Ixe="localmente",Rxe="apr",jxe="agosto",Fxe="Dic",zxe="febbraio",Lxe="gen",Bxe="lug",Wxe="giu",Uxe="Mai",Hxe="marzo",qxe="nov",Vxe="ottobre",Gxe="Sett",Xxe="apr",Jxe="agosto",Yxe="Dic",Kxe="febbraio",Zxe="gen",Qxe="lug",eSe="giu",tSe="Mai",rSe="marzo",nSe="nov",oSe="ottobre",sSe="Sett",aSe="nessuna",iSe="Oggetto modificato da",lSe="L'oggetto è stato modificato l'ultima volta alle",cSe="Impostazioni dall'altro adattatore %s",uSe="Codice di qualità",dSe="ripetere",pSe='Per selezionare la cartella, basta tenere premuto il tasto "shift" facendo clic sulla cartella.',fSe="Stato cambiato da",hSe="Oggetto cambiato da",mSe="Timestamp",_Se="Bandiera riconosciuta",gSe="Commento",ySe="Copia il valore dello stato",vSe="Impostazioni personalizzate",bSe="Elimina oggetto",wSe="Modifica oggetto",xSe="Modifica il valore dello stato",SSe="Scade tra",CSe="A partire dal",ESe="Ultima modifica",kSe="Qualità",$Se="Data e ora",TSe="Utente",OSe="Valore",DSe="Valore",NSe="Attenzione: il processo CRON verrà eseguito ogni minuto durante il periodo specificato!",MSe="Attenzione: il processo CRON verrà eseguito ogni secondo durante il periodo specificato!",ASe="CRON",PSe="Data",ISe="Date",RSe="Giorno",jSe="Giorno della settimana",FSe="Ogni",zSe="ogni N giorni",LSe="ogni Nesimo giorno della settimana",BSe="ogni N giorno della settimana",WSe="ogni N ore",USe="ogni N minuti",HSe="ogni N mesi",qSe="ogni N secondi",VSe="ogni giorno",GSe="Tutti i giorni della settimana",XSe="Tutti i giorni della settimana",JSe="ogni ora",YSe="ogni minuto",KSe="ogni mese",ZSe="ogni secondo",QSe="A partire dal",eCe="Ore",tCe="Intervallo",rCe="Intervallo tra",nCe="CRON non valido",oCe="Minuti",sCe="mesi",aCe="Una volta",iCe="Periodo",lCe="secondi",cCe="Semplice",uCe="Orario preciso",dCe="date specifiche",pCe="giorno/i specifico/i della settimana",fCe="giorno specifico delle settimane",hCe="orari specifici",mCe="minuti specifici",_Ce="mesi specifici",gCe="secondi specifici",yCe="Tempo",vCe="Per",bCe="procedura guidata",wCe="tutti",xCe="Astro day",SCe="Astro night",CCe="Alba",ECe="Crepuscolo",kCe="Ora d'oro",$Ce="Fine dell'ora d'oro",TCe="Nadir",OCe="Alba nautica",DCe="Crepuscolo nautico",NCe="Notte",MCe="Fine della notte",ACe="Mezzogiorno solare",PCe="Alba",ICe="Fine dell'alba",RCe="Tramonto",jCe="Inizio del tramonto",FCe="a",zCe="a %s",LCe="ogni giorno",BCe="ogni ora",WCe="ogni minuto",UCe="ogni mese",HCe="ogni %s giorno",qCe="ogni %s ore",VCe="ogni %s minuti",GCe="ogni %s mesi",XCe="ogni %s settimane",JCe="ogni %s anni",YCe="ogni settimana",KCe="ogni anno",ZCe="da %s a %s",QCe="mai",eEe="su %s di %s",tEe="su %s e %s di",rEe="in ogni data di",nEe="%s",oEe="%s e %s",sEe="su %s",aEe="su %s e %s",iEe="nei finesettimana",lEe="nei giorni lavorativi",cEe="non verrà più eseguito, perché start è nel passato",uEe="su %s",dEe="da %s",pEe="Eseguire da a",fEe="a %s",hEe="ogni",mEe="Orario preciso",_Ee="a partire dal",gEe="Da A",yEe="Intervallo di tempo",vEe="invertire",bEe="nessuna",wEe="sopra",xEe="Periodo",SEe="Quotidiano",CEe="Date",EEe="Giorno",kEe="Ogni",$Ee="Ogni giorno",TEe="Ogni mese",OEe="Ogni settimana",DEe="Ogni anno",NEe="Ore",MEe="Minuti",AEe="mese",PEe="Mensile",IEe="Una volta",REe="Mesi specifici",jEe="Settimana",FEe="Giorni della settimana",zEe="Fine settimana",LEe="settimanalmente",BEe="giorni feriali",WEe="Anno",UEe="Annuale",HEe="Orario preciso",qEe="Tempo",VEe="per",GEe="Valido",XEe="a partire dal",JEe="per",YEe="Giorno intero",KEe="ogni mese",ZEe={"ra_%s links from aliases":"%s link da alias","ra_%s object(s) processed":"%s oggetti elaborati","ra_%s was imported":"%s è stato importato","ra_Accept license":"Accetta licenza",ra_Actions:Ywe,"ra_Add new child object to selected parent":"Aggiungi un nuovo oggetto figlio al genitore selezionato","ra_Add objects tree from JSON file":"Aggiungi l'albero degli oggetti dal file JSON","ra_Add row":"Aggiungi riga","ra_Advanced options":"Opzioni avanzate","ra_All items are filtered out":"Tutti gli elementi vengono filtrati","ra_All objects":"Tutti gli oggetti",ra_Append:Kwe,"ra_Append %s entries or replace existing?":"Aggiungi %s voci o sostituisci quelle esistenti?","ra_Append or replace?":"Aggiungere o sostituire?","ra_Are you sure?":"Sei sicuro?","ra_Auto (no custom columns)":"Auto (nessuna colonna personalizzata)","ra_Back to %s":"Torna a %s","ra_Background image":"Immagine di sfondo",ra_Cancel:Zwe,"ra_Cannot add items with set filter":"Impossibile aggiungere elementi con il filtro impostato","ra_Cannot decode license":"Impossibile decodificare la licenza","ra_Cannot determine position: System settings are empty and GPS detection is disabled in browser":"Impossibile determinare la posizione: le impostazioni di sistema sono vuote e il rilevamento GPS è disabilitato nel browser",'ra_Cannot find "%s"':'Impossibile trovare "%s"','ra_Cannot read "%s"':'Impossibile leggere "%s"',"ra_Cannot read licenses: %s":"Impossibile leggere le licenze: %s","ra_Cannot retrieve options, as instance is offline":"Impossibile recuperare le opzioni, poiché l'istanza è offline","ra_Cannot update attribute, because not found in the object":"Impossibile aggiornare l'attributo, perché non trovato nell'oggetto","ra_Cannot upload":"Impossibile caricare",ra_Categories:Qwe,"ra_Chained certificate":"Certificato incatenato","ra_Change color theme":"Cambia tema colore","ra_Changed from":"Cambiato da","ra_Channel → State":"Canale → Stato","ra_Check license":"Controlla la licenza",ra_Checked:e1e,ra_Clear:t1e,"ra_Clear filter":"Filtro pulito","ra_Clear icon":"Cancella icona","ra_Clone current row":"Clona riga corrente",ra_Close:r1e,"ra_Collapse all nodes":"Comprimi tutti i nodi","ra_Collapse one step node":"Comprimi un livello",ra_Commercial:n1e,ra_Configure:o1e,"ra_Configure visible columns":"Configura colonne visibili","ra_Confirm deletion of %s":"Conferma l'eliminazione di %s",ra_Connected:s1e,ra_Copied:a1e,"ra_Copied %s":'"%s" copiato',"ra_Copy content":"Copia contenuto",ra_Create:i1e,"ra_Create alias":"Crea alias","ra_Create folder":"Creare una cartella","ra_Create new folder in %s":"Crea nuova cartella in %s",ra_Crop:l1e,"ra_Define CRON...":"Definisci CRON...","ra_Define functions":"Definire le funzioni","ra_Define rooms":"Definisci le stanze","ra_Define schedule":"Definisci programma","ra_Define schedule...":"Definisci pianificazione ...",ra_Del:c1e,ra_Delete:u1e,"ra_Delete current row":"Elimina la riga corrente","ra_Deselect all":"Deseleziona tutto","ra_Device → Channel → State":"Dispositivo → Canale → Stato",ra_Discard:d1e,ra_Disconnected:p1e,"ra_Do not export values of states":"Non esportare i valori degli stati","ra_Do not use let's encrypt":"Non utilizzare crittografiamo","ra_Double click to reset table layout":"Fare doppio clic per ripristinare il layout della tabella","ra_Drag 'n' drop some files here, or click to select files":"Trascina e rilascia alcuni file qui o fai clic per selezionare i file","ra_Drop file here":"Trascina il file qui","ra_Drop the files here...":"Trascina qui il file...","ra_Duplicate name":"Nome duplicato","ra_Edit ACL":"Modifica ACL","ra_Edit alias":"Modifica alias","ra_Edit custom config":"Modifica configurazione personalizzata","ra_Edit function":"Funzione di modifica","ra_Edit object field":"Modifica campo oggetto","ra_Edit role":"Modifica ruolo","ra_Edit room":"Modifica stanza","ra_Edit value":"Modifica valore",ra_Error:f1e,"ra_Expand all nodes":"Espandi tutti i nodi","ra_Expand one step node":"Espandi un livello","ra_Export data to %s file":"Esporta i dati nel file %s","ra_Failed to open JSON File":"Impossibile aprire il file JSON","ra_Fallback custom certificates":"Certificati personalizzati di fallback","ra_File is too big. Max %sk allowed. Try use SVG.":"Il file è troppo grande. Max %sk consentito. Prova a usare SVG.",ra_Filter:h1e,"ra_Filter and Data Actions":"Azioni sui filtri e sui dati","ra_Filter files":"Filtra i file","ra_Folder name":"Nome della cartella","ra_Folder → Channel → State":"Cartella → Canale → Stato","ra_Folder → Device → Channel → State":"Cartella → Dispositivo → Canale → Stato","ra_Folder → State":"Cartella → Stato","ra_Folders always first":"Le cartelle sono sempre al primo posto",ra_Friday:m1e,"ra_Good luck":"Buona fortuna","ra_Hide empty folders":"Nascondi cartelle vuote","ra_If no file will be created in the folder, it will disappear after the browser closed":"Se nessun file verrà creato nella cartella, scomparirà dopo la chiusura del browser","ra_Import data from %s file":"Importa i dati dal file %s","ra_Import from %s":"Importa da %s","ra_Instance %s is alive":"Il %s dell'istanza è vivo","ra_Instance %s is not alive":"Il TESTO dell'istanza non è vivo","ra_Instance is not alive":"L'istanza non è viva","ra_Invalid CRON":"CRON non valido","ra_Invalid JSON":"JSON non valido","ra_Invalid answer from server":"Risposta non valida dal server","ra_Invalid parent folder!":"Cartella principale non valida!","ra_Invalid structure":"Struttura non valida","ra_JSON editor":"Editor JSON","ra_Last change":"Ultima modifica",ra_Latitude:_1e,"ra_License %s":"Licenza %s","ra_License agreement":"Contratto di licenza","ra_License does not exist":"La licenza non esiste","ra_License expired on %s":"Licenza scaduta il %s",'ra_License for other product "%s"':'Licenza per altro prodotto "%s"',"ra_License is for version %s, but required version is %s.":"La licenza è per la versione %s, ma la versione richiesta è %s.","ra_License must be converted":"La licenza deve essere convertita in una versione più recente. Puoi farlo nel tuo profilo iobroker.net.","ra_License not found in license manager. Do you want to read licenses from iobroker.net?":"Licenza non trovata nel gestore delle licenze. Vuoi aggiornare le licenze da iobroker.net?","ra_Listen on all IPs":"Ascolta su tutti gli IP","ra_Load configuration from file":"Carica la configurazione dal file",ra_Longitude:g1e,'ra_May not trigger "updateLicenses"':'Potrebbe non attivare "updateLicenses"',ra_Message:y1e,ra_Monday:v1e,"ra_Move down":"Abbassati","ra_Move up":"Andare avanti",ra_Name:b1e,"ra_No data found in file":"Nessun dato trovato nel file","ra_No one license found in license manager":"Nessuna licenza trovata nel gestore delle licenze","ra_No response from the backend":"Nessuna risposta dal backend",'ra_Non-experts may create new objects only in "0_userdata.0" or "alias.0".':'I non esperti possono creare nuovi oggetti solo in "0_userdata.0" o "alias.0".',"ra_Not a number":"Non un numero",ra_Objects:w1e,ra_Ok:x1e,"ra_On weekdays":"Nei giorni della settimana","ra_Only following structures of objects are available:":"Sono disponibili solo le seguenti strutture di oggetti:","ra_Only selected":"Solo selezionato","ra_Owner group":"Gruppo di proprietari","ra_Owner user":"Utente proprietario","ra_Passwords are not equal!":"Le password non sono uguali!","ra_Place your files here or click here to open the browse dialog":"Posiziona i file qui o fai clic qui per aprire la finestra di dialogo Sfoglia","ra_Please confirm":"Si prega di confermare","ra_Please create license":"Si prega di creare la licenza","ra_Please enter the license":"Inserisci la licenza","ra_Please select file...":"Si prega di selezionare il file...","ra_Please select object ID...":"Seleziona l'ID oggetto ...","ra_Port could be used by %s":"La porta potrebbe essere utilizzata da %s","ra_Port is already used by %s":"La porta è già utilizzata da %s","ra_Press ENTER Key to add new item":"Premere il tasto INVIO per aggiungere un nuovo elemento","ra_Private certificate":"Certificato privato",ra_Product:S1e,"ra_Public certificate":"Certificato pubblico","ra_Quality code":"Qualità","ra_Refresh tree":"Aggiorna l'albero","ra_Reload files":"Ricarica i file",ra_Repeat:C1e,ra_Replace:E1e,"ra_Request timed out":"Tempo scaduto per la richiesta","ra_Restrict to folder":"Limita alla cartella",ra_Root:k1e,ra_Saturday:$1e,ra_Save:T1e,"ra_Save and close":"Salva e chiudi","ra_Save configuration to file":"Salva la configurazione su file","ra_Save objects tree as JSON file":"Salva l'albero degli oggetti come file JSON","ra_Select all":"Seleziona tutto","ra_Select color":"Seleziona il colore","ra_Select predefined icon":"Seleziona l'icona predefinita","ra_Select type of export":"Seleziona il tipo di esportazione",ra_Selected:O1e,"ra_Selected %s object(s)":"%s oggetto/i selezionato/i","ra_Serial number (UUID)":"Numero di serie (UUID)",'ra_Serial number (UUID) "%s" in license is for other device.':'Il numero di serie (UUID) "%s" nella licenza è per un altro dispositivo.',"ra_Show all folders":"Mostra tutte le cartelle","ra_Show lines between rows":"Mostra linee tra le righe","ra_Show/Hide object descriptions":"Mostra/Nascondi le descrizioni degli oggetti","ra_Show/hide filter input":"Mostra/nascondi input filtro","ra_Some data are not stored. Discard?":"Alcuni dati non vengono memorizzati. Scartare?",ra_States:D1e,"ra_Suitable license not found in license manager":"Licenza adatta non trovata nel gestore delle licenze",ra_Sunday:N1e,"ra_Suppress question for next %s minutes":"Sopprimi la domanda per i prossimi %s minuti","ra_System language":"Linguaggio di sistema","ra_Take browser position":"Prendi posizione dal browser","ra_Take position from system settings":"Prendi posizione dalle impostazioni di sistema",'ra_The experts may create objects everywhere but from second level (e.g. "vis.0" or "javascript.0").':'Gli esperti possono creare oggetti ovunque ma dal secondo livello (es. "Vis.0" o "javascript.0").',"ra_The page you are looking for was not found":"La pagina che stai cercando non è stata trovata","ra_The schedule will be executed every minute. Are you sure?":"La pianificazione verrà eseguita ogni minuto. Sei sicuro?","ra_The schedule will be executed every second. Are you sure?":"La pianificazione verrà eseguita ogni secondo. Sei sicuro?",ra_Thursday:M1e,ra_Timestamp:A1e,"ra_Toggle expert mode":"Attiva / disattiva la modalità esperto","ra_Toggle the states view":"Attiva o disattiva la visualizzazione degli stati","ra_Toggle view mode":"Attiva / disattiva la modalità di visualizzazione","ra_Too big":"Troppo grande","ra_Too small":"Troppo piccolo","ra_Transparent dialog":"Finestra di dialogo trasparente",ra_Tuesday:P1e,"ra_Unknown error":"Errore sconosciuto","ra_Unknown error!":"Errore sconosciuto!",ra_Update:I1e,"ra_Upload file":"Caricare un file","ra_Use all available let's encrypt certificates":"Usa tutti i certificati Let's Encrypt disponibili","ra_Use iobroker.acme adapter for letsencrypt certificates":"Utilizzare l'adattatore iobroker.acme per i certificati letsencrypt","ra_Use system settings for position":"Usa le impostazioni di sistema per la posizione","ra_Used system settings":"Impostazioni di sistema utilizzate","ra_User files":"File utente",ra_ValidTill:R1e,ra_Value:j1e,ra_Version:F1e,"ra_View file":"Vedi il file","ra_View: %s":"Visualizza: %s",ra_Wednesday:z1e,ra_Width:L1e,ra_Yes:B1e,"ra_You can export all objects or just the selected branch.":"Puoi esportare tutti gli oggetti o solo il ramo selezionato.","ra_You can filter entries by entering here some text":"Puoi filtrare le voci inserendo qui del testo",ra___different__:W1e,ra_aclEveryone_read_object:U1e,ra_aclEveryone_read_state:H1e,ra_aclEveryone_write_object:q1e,ra_aclEveryone_write_state:V1e,ra_aclGroup_read_object:G1e,ra_aclGroup_read_state:X1e,ra_aclGroup_write_object:J1e,ra_aclGroup_write_state:Y1e,ra_aclOwner_read_object:K1e,ra_aclOwner_read_state:Z1e,ra_aclOwner_write_object:Q1e,ra_aclOwner_write_state:exe,ra_buttons:txe,ra_changedFrom:rxe,ra_close:nxe,ra_create_boolean_state:oxe,ra_create_channel:sxe,ra_create_device:axe,ra_create_number_state:ixe,ra_create_state:lxe,ra_create_string_state:cxe,ra_daysShortText:uxe,ra_dow_Fr:dxe,ra_dow_Mo:pxe,ra_dow_Sa:fxe,ra_dow_Su:hxe,ra_dow_Th:mxe,ra_dow_Tu:_xe,ra_dow_We:gxe,ra_expertMode:yxe,ra_fileType_all:vxe,ra_fileType_audio:bxe,ra_fileType_code:wxe,ra_fileType_images:xxe,ra_fileType_txt:Sxe,ra_fileType_video:Cxe,"ra_fileType_video,":"video",ra_filter_customs:Exe,ra_filter_customs_without:kxe,ra_filter_func:$xe,ra_filter_id:Txe,ra_filter_name:Oxe,ra_filter_role:Dxe,ra_filter_room:Nxe,ra_filter_type:Mxe,"ra_import data from %s file":"Importa dati dal file %s",ra_invalidConfig:Axe,ra_lastChange:Pxe,ra_locally:Ixe,ra_month_Apr:Rxe,ra_month_Aug:jxe,ra_month_Dec:Fxe,ra_month_Feb:zxe,ra_month_Jan:Lxe,ra_month_Jul:Bxe,ra_month_Jun:Wxe,ra_month_Mai:Uxe,ra_month_Mar:Hxe,ra_month_Nov:qxe,ra_month_Oct:Vxe,ra_month_Sep:Gxe,ra_months_Apr:Xxe,ra_months_Aug:Jxe,ra_months_Dec:Yxe,ra_months_Feb:Kxe,ra_months_Jan:Zxe,ra_months_Jul:Qxe,ra_months_Jun:eSe,ra_months_Mai:tSe,ra_months_Mar:rSe,ra_months_Nov:nSe,ra_months_Oct:oSe,ra_months_Sep:sSe,"ra_no confirm for 5 mins":"nessuna conferma per 5 minuti",ra_none:aSe,ra_object_changed_by:iSe,ra_object_changed_by_user:lSe,ra_otherConfig:cSe,ra_qualityCode:uSe,ra_repeat:dSe,ra_select_folder_hint:pSe,ra_state_changed_by:fSe,ra_state_changed_from:hSe,ra_timestamp:mSe,ra_tooltip_ack:_Se,ra_tooltip_comment:gSe,ra_tooltip_copyState:ySe,ra_tooltip_customConfig:vSe,ra_tooltip_deleteObject:bSe,ra_tooltip_editObject:wSe,ra_tooltip_editState:xSe,ra_tooltip_expire:SSe,ra_tooltip_from:CSe,ra_tooltip_lc:ESe,ra_tooltip_quality:kSe,ra_tooltip_ts:$Se,ra_tooltip_user:TSe,ra_tooltip_value:OSe,"ra_use seconds":"usa i secondi",ra_val:DSe,"ra_via internet":"attraverso internet",ra_warning_every_minute:NSe,ra_warning_every_second:MSe,sc_cron:ASe,sc_date:PSe,sc_dates:ISe,sc_dow:RSe,sc_dows:jSe,sc_every:FSe,sc_everyN_dates:zSe,sc_everyN_dow:LSe,sc_everyN_dows:BSe,sc_everyN_hours:WSe,sc_everyN_minutes:USe,sc_everyN_months:HSe,sc_everyN_seconds:qSe,sc_every_dates:VSe,sc_every_dow:GSe,sc_every_dows:XSe,sc_every_hours:JSe,sc_every_minutes:YSe,sc_every_months:KSe,sc_every_seconds:ZSe,sc_from:QSe,sc_hours:eCe,sc_interval:tCe,sc_intervalBetween:rCe,sc_invalid_cron:nCe,sc_minutes:oCe,sc_months:sCe,sc_once:aCe,sc_period:iCe,sc_seconds:lCe,sc_simple:cCe,sc_specific:uCe,sc_specific_dates:dCe,sc_specific_dow:pCe,sc_specific_dows:fCe,sc_specific_hours:hCe,sc_specific_minutes:mCe,sc_specific_months:_Ce,sc_specific_seconds:gCe,sc_time:yCe,sc_to:vCe,sc_wizard:bCe,sch_all:wCe,sch_astroDay:xCe,sch_astroNight:SCe,sch_astro_dawn:CCe,sch_astro_dusk:ECe,sch_astro_goldenHour:kCe,sch_astro_goldenHourEnd:$Ce,sch_astro_nadir:TCe,sch_astro_nauticalDawn:OCe,sch_astro_nauticalDusk:DCe,sch_astro_night:NCe,sch_astro_nightEnd:MCe,sch_astro_solarNoon:ACe,sch_astro_sunrise:PCe,sch_astro_sunriseEnd:ICe,sch_astro_sunset:RCe,sch_astro_sunsetStart:jCe,sch_at:FCe,sch_desc_atTime:zCe,sch_desc_everyDay:LCe,sch_desc_everyHour:BCe,sch_desc_everyMinute:WCe,sch_desc_everyMonth:UCe,sch_desc_everyNDay:HCe,sch_desc_everyNHours:qCe,sch_desc_everyNMinutes:VCe,sch_desc_everyNMonths:GCe,sch_desc_everyNWeeks:XCe,sch_desc_everyNYears:JCe,sch_desc_everyWeek:YCe,sch_desc_everyYear:KCe,sch_desc_intervalFromTo:ZCe,sch_desc_never:QCe,sch_desc_onDate:eEe,sch_desc_onDates:tEe,sch_desc_onEveryDate:rEe,sch_desc_onMonth:nEe,sch_desc_onMonths:oEe,sch_desc_onWeekday:sEe,sch_desc_onWeekdays:aEe,sch_desc_onWeekends:iEe,sch_desc_onWorkdays:lEe,sch_desc_onceInPast:cEe,sch_desc_once_on:uEe,sch_desc_validFrom:dEe,sch_desc_validFromTo:pEe,sch_desc_validTo:fEe,sch_every:hEe,sch_exactTime:mEe,sch_from:_Ee,sch_fromTo:gEe,sch_intervalTime:yEe,sch_invert:vEe,sch_no_one:bEe,sch_on:wEe,sch_period:xEe,sch_periodDaily:SEe,sch_periodDates:CEe,sch_periodDay:EEe,sch_periodEvery:kEe,sch_periodEveryDay:$Ee,sch_periodEveryMonth:TEe,sch_periodEveryWeek:OEe,sch_periodEveryYear:DEe,sch_periodHours:NEe,sch_periodMinutes:MEe,sch_periodMonth:AEe,sch_periodMonthly:PEe,sch_periodOnce:IEe,sch_periodSpecificMonths:REe,sch_periodWeek:jEe,sch_periodWeekdays:FEe,sch_periodWeekend:zEe,sch_periodWeekly:LEe,sch_periodWorkdays:BEe,sch_periodYear:WEe,sch_periodYearly:UEe,sch_specificTime:HEe,sch_time:qEe,sch_to:VEe,sch_valid:GEe,sch_validFrom:XEe,sch_validTo:JEe,sch_wholeDay:YEe,sch_yearEveryMonth:KEe},QEe="Comportamiento",eke="Adjuntar",tke="Cancelar",rke="Categorías",nke="Comprobado",oke="Borrar",ske="Cerca",ake="Comercial",ike="Configurar",lke="Conectado",cke="Copiado",uke="Crear",dke="Cultivo",pke="Delete",fke="Eliminar",hke="Desechar",mke="Desconectado",_ke="Error",gke="Filtrar",yke="Viernes",vke="Latitud",bke="Longitud",wke="Mensaje",xke="Lunes",Ske="Nombre",Cke="Objetos",Eke="Okay",kke="Producto",$ke="Repetir",Tke="Reemplazar",Oke="Raíz",Dke="Sábado",Nke="Salvar",Mke="Seleccionado",Ake="Estados",Pke="Domingo",Ike="Jueves",Rke="Marca de tiempo",jke="Martes",Fke="Actualizar",zke="Válida hasta",Lke="Valor",Bke="Versión",Wke="Miércoles",Uke="Anchura",Hke="Sí",qke="diferente",Vke="Todo el mundo puede leer el objeto",Gke="Todos pueden leer el estado",Xke="Todos pueden escribir objetos",Jke="Todos pueden escribir el estado",Yke="El grupo puede leer el objeto",Kke="El grupo puede leer el estado",Zke="El grupo puede escribir un objeto",Qke="El grupo puede escribir el estado",e$e="El propietario puede leer el objeto",t$e="El propietario puede leer el estado",r$e="El propietario puede escribir el objeto",n$e="El propietario puede escribir el estado",o$e="Botones",s$e="Cambiaron desde",a$e="cerrar",i$e="Crear estado booleano",l$e="Crear canal",c$e="Crear dispositivo",u$e="Crear estado numérico",d$e="Crear estado",p$e="Crear estado de cadena",f$e="d.",h$e="Fr",m$e="Mes",_$e="Sa",g$e="Su",y$e="Th",v$e="Tu",b$e="Nosotros",w$e="Modo experto",x$e="Todos los archivos",S$e="Audio",C$e="Código/JSON",E$e="Imágenes",k$e="Texto",$$e="Video",T$e="Configuraciones",O$e="sin",D$e="Función",N$e="ID",M$e="Nombre",A$e="Papel",P$e="Habitación",I$e="Tipo",R$e="Configuraciones inválidas",j$e="Ultimo cambio",F$e="en la zona",z$e="Abr",L$e="Ago",B$e="Dic",W$e="Feb",U$e="Ene",H$e="Jul",q$e="Jun",V$e="Mai",G$e="Mar",X$e="Nov",J$e="Oct",Y$e="Sep",K$e="Abr",Z$e="Ago",Q$e="Dic",eTe="Feb",tTe="Ene",rTe="Jul",nTe="Jun",oTe="Mai",sTe="Mar",aTe="Nov",iTe="Oct",lTe="Sep",cTe="ninguno",uTe="Objeto cambiado por",dTe="Objeto cambiado por última vez a las",pTe="Configuraciones de otro adaptador %s",fTe="Código de calidad",hTe="repetir",mTe='Para seleccionar la carpeta, simplemente mantenga presionada la tecla "shift" haciendo clic en la carpeta.',_Te="Estado cambiado por",gTe="Objeto cambiado de",yTe="Marca de tiempo",vTe="Bandera reconocida",bTe="Comentario",wTe="Copie el valor del estado",xTe="Ajustes personalizados",STe="Eliminar objeto",CTe="Editar objeto",ETe="Edite el valor del estado",kTe="Caduca en",$Te="Desde",TTe="Último cambio",OTe="Calidad",DTe="Sello de tiempo",NTe="Usuario",MTe="Valor",ATe="Valor",PTe="Advertencia: ¡El trabajo CRON se ejecutará cada minuto durante el período especificado!",ITe="Advertencia: ¡El trabajo CRON se ejecutará cada segundo durante el período especificado!",RTe="CRON",jTe="Fecha",FTe="fechas",zTe="Día",LTe="Día de la semana",BTe="Cada",WTe="cada N días",UTe="cada enésimo día de la semana",HTe="cada N día de la semana",qTe="cada N horas",VTe="cada N minutos",GTe="cada N meses",XTe="cada N segundos",JTe="cada día",YTe="Cada día de la semana",KTe="Cada día de la semana",ZTe="cada hora",QTe="cada minuto",e2e="cada mes",t2e="cada segundo",r2e="De",n2e="Horas",o2e="Intervalo",s2e="Intervalo entre",a2e="CRON no válido",i2e="Minutos",l2e="meses",c2e="Una vez",u2e="Período",d2e="Segundos",p2e="Sencillo",f2e="Tiempo específico",h2e="fechas especificas",m2e="día(s) específico(s) de la semana",_2e="día específico de semanas",g2e="horas específicas",y2e="minutos específicos",v2e="meses específicos",b2e="segundos específicos",w2e="Hora",x2e="A",S2e="Mago",C2e="todas",E2e="Día astro",k2e="Noche astro",$2e="Amanecer",T2e="Oscuridad",O2e="hora dorada",D2e="Fin de la hora dorada",N2e="Nadir",M2e="Amanecer náutico",A2e="Anochecer náutico",P2e="Noche",I2e="Fin de la noche",R2e="Mediodía solar",j2e="amanecer",F2e="Fin del amanecer",z2e="Puesta de sol",L2e="Puesta de sol",B2e="a",W2e="en %s",U2e="cada día",H2e="cada hora",q2e="cada minuto",V2e="cada mes",G2e="cada %s días",X2e="cada %s horas",J2e="cada %s minutos",Y2e="cada %s meses",K2e="cada %s semanas",Z2e="cada %s años",Q2e="cada semana",eOe="todos los años",tOe="de %s a %s",rOe="Nunca",nOe="en %s de %s",oOe="en %s y %s de",sOe="en cada fecha de",aOe="%s",iOe="%s y %s",lOe="en %s",cOe="en %s y %s",uOe="en los fines de semana",dOe="en días laborables",pOe="ya no se ejecutará más, porque el inicio está en el pasado",fOe="en %s",hOe="de %s",mOe="Ejecutar desde hasta",_Oe="a %s",gOe="cada",yOe="Tiempo específico",vOe="de",bOe="De-a",wOe="Tiempo de intervalo",xOe="invertir; poner boca abajo o en la posición opuesta, orden o arreglo; Boca abajo",SOe="ninguna",COe="en",EOe="Período",kOe="Diario",$Oe="fechas",TOe="Día",OOe="Cada",DOe="Cada día",NOe="Cada mes",MOe="Cada semana",AOe="Todos los años",POe="Horas",IOe="Minutos",ROe="mes",jOe="Mensual",FOe="Una vez",zOe="Meses específicos",LOe="Semana",BOe="Días laborables",WOe="Fin de semana",UOe="Semanal",HOe="Días laborables",qOe="Año",VOe="Anual",GOe="Tiempo específico",XOe="Hora",JOe="a",YOe="Válido",KOe="de",ZOe="a",QOe="Todo el dia",eDe="cada mes",tDe={"ra_%s links from aliases":"%s enlaces de alias","ra_%s object(s) processed":"%s objeto(s) procesados","ra_%s was imported":"%s fue importado","ra_Accept license":"Aceptar licencia",ra_Actions:QEe,"ra_Add new child object to selected parent":"Agregar nuevo objeto hijo al padre seleccionado","ra_Add objects tree from JSON file":"Agregar árbol de objetos desde el archivo JSON","ra_Add row":"Añadir fila","ra_Advanced options":"Opciones avanzadas","ra_All items are filtered out":"Todos los elementos se filtran","ra_All objects":"Todos los objetos",ra_Append:eke,"ra_Append %s entries or replace existing?":"¿Agregar %s entradas o reemplazar las existentes?","ra_Append or replace?":"¿Agregar o reemplazar?","ra_Are you sure?":"¿Estás seguro?","ra_Auto (no custom columns)":"Automático (sin columnas personalizadas)","ra_Back to %s":"Volver a %s","ra_Background image":"Imagen de fondo",ra_Cancel:tke,"ra_Cannot add items with set filter":"No se pueden agregar elementos con el filtro establecido","ra_Cannot decode license":"No se puede decodificar la licencia","ra_Cannot determine position: System settings are empty and GPS detection is disabled in browser":"No se puede determinar la posición: la configuración del sistema está vacía y la detección de GPS está deshabilitada en el navegador",'ra_Cannot find "%s"':'No se puede encontrar "%s"','ra_Cannot read "%s"':'No se puede leer "%s"',"ra_Cannot read licenses: %s":"No se pueden leer licencias: %s","ra_Cannot retrieve options, as instance is offline":"No se pueden recuperar las opciones, ya que la instancia está fuera de línea","ra_Cannot update attribute, because not found in the object":"No se puede actualizar el atributo porque no se encuentra en el objeto","ra_Cannot upload":"no se puede cargar",ra_Categories:rke,"ra_Chained certificate":"certificado encadenado","ra_Change color theme":"Cambiar tema de color","ra_Changed from":"Cambiaron desde","ra_Channel → State":"Canal → Estado","ra_Check license":"Verificar licencia",ra_Checked:nke,ra_Clear:oke,"ra_Clear filter":"Filtro claro","ra_Clear icon":"Icono claro","ra_Clone current row":"Clonar fila actual",ra_Close:ske,"ra_Collapse all nodes":"Contraer todos los nodos","ra_Collapse one step node":"Contraer un nivel",ra_Commercial:ake,ra_Configure:ike,"ra_Configure visible columns":"Configurar columnas visibles","ra_Confirm deletion of %s":"Confirmar la eliminación de %s",ra_Connected:lke,ra_Copied:cke,"ra_Copied %s":'Copiado "%s"',"ra_Copy content":"Copiar contenido",ra_Create:uke,"ra_Create alias":"Crear alias","ra_Create folder":"Crear carpeta","ra_Create new folder in %s":"Crear nueva carpeta en %s",ra_Crop:dke,"ra_Define CRON...":"Definir CRON...","ra_Define functions":"Definir funciones","ra_Define rooms":"Definir habitaciones","ra_Define schedule":"Definir horario","ra_Define schedule...":"Definir horario ...",ra_Del:pke,ra_Delete:fke,"ra_Delete current row":"Eliminar fila actual","ra_Deselect all":"Deselecciona todo","ra_Device → Channel → State":"Dispositivo → Canal → Estado",ra_Discard:hke,ra_Disconnected:mke,"ra_Do not export values of states":"No exportar valores de estados.","ra_Do not use let's encrypt":"No use vamos a cifrar","ra_Double click to reset table layout":"Haga doble clic para restablecer el diseño de la tabla","ra_Drag 'n' drop some files here, or click to select files":"Arrastre y suelte algunos archivos aquí, o haga clic para seleccionar archivos","ra_Drop file here":"Suelta el archivo aquí","ra_Drop the files here...":"Suelta el archivo aquí ...","ra_Duplicate name":"Nombre duplicado","ra_Edit ACL":"Editar LCA","ra_Edit alias":"Editar alias","ra_Edit custom config":"Editar configuración personalizada","ra_Edit function":"Función de edición","ra_Edit object field":"Editar campo de objeto","ra_Edit role":"Editar rol","ra_Edit room":"Cuarto de edición","ra_Edit value":"Editar valor",ra_Error:_ke,"ra_Expand all nodes":"Expandir todos los nodos","ra_Expand one step node":"Expandir un nivel","ra_Export data to %s file":"Exportar datos al archivo %s","ra_Failed to open JSON File":"No se pudo abrir el archivo JSON","ra_Fallback custom certificates":"Certificados personalizados alternativos","ra_File is too big. Max %sk allowed. Try use SVG.":"El archivo es demasiado grande. Máximo de %sk permitido. Intenta usar SVG.",ra_Filter:gke,"ra_Filter and Data Actions":"Acciones de filtrado y datos","ra_Filter files":"Filtrar archivos","ra_Folder name":"Nombre de la carpeta","ra_Folder → Channel → State":"Carpeta → Canal → Estado","ra_Folder → Device → Channel → State":"Carpeta → Dispositivo → Canal → Estado","ra_Folder → State":"Carpeta → Estado","ra_Folders always first":"Carpetas siempre primero",ra_Friday:yke,"ra_Good luck":"Buena suerte","ra_Hide empty folders":"Ocultar carpetas vacías","ra_If no file will be created in the folder, it will disappear after the browser closed":"Si no se creará ningún archivo en la carpeta, desaparecerá después de que se cierre el navegador.","ra_Import data from %s file":"Importar datos del archivo %s","ra_Import from %s":"Importar desde %s","ra_Instance %s is alive":"Instancia %s está vivo","ra_Instance %s is not alive":"Instancia %s no está vivo","ra_Instance is not alive":"La instancia no está viva","ra_Invalid CRON":"CRON no válido","ra_Invalid JSON":"JSON no válido","ra_Invalid answer from server":"Respuesta inválida del servidor","ra_Invalid parent folder!":"Carpeta principal no válida.","ra_Invalid structure":"Estructura inválida","ra_JSON editor":"editor JSON","ra_Last change":"Ultimo cambio",ra_Latitude:vke,"ra_License %s":"Licencia %s","ra_License agreement":"Acuerdo de licencia","ra_License does not exist":"La licencia no existe","ra_License expired on %s":"La licencia venció el %s",'ra_License for other product "%s"':'Licencia para otro producto "%s"',"ra_License is for version %s, but required version is %s.":"La licencia es para la versión %s, pero la versión requerida es %s.","ra_License must be converted":"La licencia debe convertirse a una versión más reciente. Puedes hacerlo en tu perfil de iobroker.net.","ra_License not found in license manager. Do you want to read licenses from iobroker.net?":"Licencia no encontrada en el administrador de licencias. ¿Quieres actualizar las licencias de iobroker.net?","ra_Listen on all IPs":"Escuche en todas las IP","ra_Load configuration from file":"Cargar configuración desde archivo",ra_Longitude:bke,'ra_May not trigger "updateLicenses"':'No puede activar "updateLicenses"',ra_Message:wke,ra_Monday:xke,"ra_Move down":"Mover hacia abajo","ra_Move up":"Ascender",ra_Name:Ske,"ra_No data found in file":"No se encontraron datos en el archivo","ra_No one license found in license manager":"No se encontró ninguna licencia en el administrador de licencias","ra_No response from the backend":"No hay respuesta del backend",'ra_Non-experts may create new objects only in "0_userdata.0" or "alias.0".':'Los no expertos pueden crear nuevos objetos solo en "0_userdata.0" o "alias.0".',"ra_Not a number":"No un número",ra_Objects:Cke,ra_Ok:Eke,"ra_On weekdays":"De lunes a viernes","ra_Only following structures of objects are available:":"Solo están disponibles las siguientes estructuras de objetos:","ra_Only selected":"Solo seleccionados","ra_Owner group":"Grupo propietario","ra_Owner user":"Usuario propietario","ra_Passwords are not equal!":"¡Las contraseñas no son iguales!","ra_Place your files here or click here to open the browse dialog":"Coloque sus archivos aquí o haga clic aquí para abrir el cuadro de diálogo de exploración","ra_Please confirm":"Por favor confirmar","ra_Please create license":"Por favor cree una licencia","ra_Please enter the license":"Por favor ingrese la licencia","ra_Please select file...":"Seleccione el archivo...","ra_Please select object ID...":"Por favor seleccione ID de objeto ...","ra_Port could be used by %s":"El puerto podría ser utilizado por %s","ra_Port is already used by %s":"El puerto ya está en uso por %s","ra_Press ENTER Key to add new item":"Presione la tecla ENTER para agregar un nuevo elemento","ra_Private certificate":"certificado privado",ra_Product:kke,"ra_Public certificate":"Certificado público","ra_Quality code":"Calidad","ra_Refresh tree":"Actualizar árbol","ra_Reload files":"Recargar archivos",ra_Repeat:$ke,ra_Replace:Tke,"ra_Request timed out":"Tiempo de espera agotado","ra_Restrict to folder":"Restringir a carpeta",ra_Root:Oke,ra_Saturday:Dke,ra_Save:Nke,"ra_Save and close":"Guardar y cerrar","ra_Save configuration to file":"Guardar configuración en archivo","ra_Save objects tree as JSON file":"Guardar el árbol de objetos como archivo JSON","ra_Select all":"Seleccionar todo","ra_Select color":"Seleccionar el color","ra_Select predefined icon":"Seleccionar icono predefinido","ra_Select type of export":"Seleccione tipo de exportación",ra_Selected:Mke,"ra_Selected %s object(s)":"%s objetos seleccionados","ra_Serial number (UUID)":"Número de serie (UUID)",'ra_Serial number (UUID) "%s" in license is for other device.':'El número de serie (UUID) "%s" en la licencia es para otro dispositivo.',"ra_Show all folders":"Mostrar todas las carpetas","ra_Show lines between rows":"Mostrar líneas entre filas","ra_Show/Hide object descriptions":"Mostrar/ocultar descripciones de objetos","ra_Show/hide filter input":"Mostrar/ocultar entrada de filtro","ra_Some data are not stored. Discard?":"Algunos datos no se almacenan. ¿Desechar?",ra_States:Ake,"ra_Suitable license not found in license manager":"Licencia adecuada no encontrada en el administrador de licencias",ra_Sunday:Pke,"ra_Suppress question for next %s minutes":"Suprimir pregunta durante los próximos %s minutos","ra_System language":"Lenguaje del sistema","ra_Take browser position":"Tomar posición desde el navegador","ra_Take position from system settings":"Tomar posición desde la configuración del sistema",'ra_The experts may create objects everywhere but from second level (e.g. "vis.0" or "javascript.0").':'Los expertos pueden crear objetos en todas partes excepto desde el segundo nivel (por ejemplo, "vis.0" o "javascript.0").',"ra_The page you are looking for was not found":"No se encontró la página que busca","ra_The schedule will be executed every minute. Are you sure?":"El cronograma se ejecutará cada minuto. ¿Estás seguro?","ra_The schedule will be executed every second. Are you sure?":"El cronograma se ejecutará cada segundo. ¿Estás seguro?",ra_Thursday:Ike,ra_Timestamp:Rke,"ra_Toggle expert mode":"Alternar modo experto","ra_Toggle the states view":"Alternar la vista de estados","ra_Toggle view mode":"Alternar modo de vista","ra_Too big":"Demasiado grande","ra_Too small":"Demasiado pequeña","ra_Transparent dialog":"Diálogo transparente",ra_Tuesday:jke,"ra_Unknown error":"Error desconocido","ra_Unknown error!":"¡Error desconocido!",ra_Update:Fke,"ra_Upload file":"Subir archivo","ra_Use all available let's encrypt certificates":"Utilice todos los certificados let's encrypt disponibles","ra_Use iobroker.acme adapter for letsencrypt certificates":"Use el adaptador iobroker.acme para los certificados de letsencrypt","ra_Use system settings for position":"Usar la configuración del sistema para la posición","ra_Used system settings":"Configuraciones del sistema usadas","ra_User files":"Archivos de usuario",ra_ValidTill:zke,ra_Value:Lke,ra_Version:Bke,"ra_View file":"Ver archivo","ra_View: %s":"Ver: %s",ra_Wednesday:Wke,ra_Width:Uke,ra_Yes:Hke,"ra_You can export all objects or just the selected branch.":"Puede exportar todos los objetos o solo la rama seleccionada.","ra_You can filter entries by entering here some text":"Puede filtrar las entradas ingresando aquí algún texto",ra___different__:qke,ra_aclEveryone_read_object:Vke,ra_aclEveryone_read_state:Gke,ra_aclEveryone_write_object:Xke,ra_aclEveryone_write_state:Jke,ra_aclGroup_read_object:Yke,ra_aclGroup_read_state:Kke,ra_aclGroup_write_object:Zke,ra_aclGroup_write_state:Qke,ra_aclOwner_read_object:e$e,ra_aclOwner_read_state:t$e,ra_aclOwner_write_object:r$e,ra_aclOwner_write_state:n$e,ra_buttons:o$e,ra_changedFrom:s$e,ra_close:a$e,ra_create_boolean_state:i$e,ra_create_channel:l$e,ra_create_device:c$e,ra_create_number_state:u$e,ra_create_state:d$e,ra_create_string_state:p$e,ra_daysShortText:f$e,ra_dow_Fr:h$e,ra_dow_Mo:m$e,ra_dow_Sa:_$e,ra_dow_Su:g$e,ra_dow_Th:y$e,ra_dow_Tu:v$e,ra_dow_We:b$e,ra_expertMode:w$e,ra_fileType_all:x$e,ra_fileType_audio:S$e,ra_fileType_code:C$e,ra_fileType_images:E$e,ra_fileType_txt:k$e,ra_fileType_video:$$e,"ra_fileType_video,":"Video",ra_filter_customs:T$e,ra_filter_customs_without:O$e,ra_filter_func:D$e,ra_filter_id:N$e,ra_filter_name:M$e,ra_filter_role:A$e,ra_filter_room:P$e,ra_filter_type:I$e,"ra_import data from %s file":"Importar datos del archivo %s",ra_invalidConfig:R$e,ra_lastChange:j$e,ra_locally:F$e,ra_month_Apr:z$e,ra_month_Aug:L$e,ra_month_Dec:B$e,ra_month_Feb:W$e,ra_month_Jan:U$e,ra_month_Jul:H$e,ra_month_Jun:q$e,ra_month_Mai:V$e,ra_month_Mar:G$e,ra_month_Nov:X$e,ra_month_Oct:J$e,ra_month_Sep:Y$e,ra_months_Apr:K$e,ra_months_Aug:Z$e,ra_months_Dec:Q$e,ra_months_Feb:eTe,ra_months_Jan:tTe,ra_months_Jul:rTe,ra_months_Jun:nTe,ra_months_Mai:oTe,ra_months_Mar:sTe,ra_months_Nov:aTe,ra_months_Oct:iTe,ra_months_Sep:lTe,"ra_no confirm for 5 mins":"Sin confirmación durante 5 minutos",ra_none:cTe,ra_object_changed_by:uTe,ra_object_changed_by_user:dTe,ra_otherConfig:pTe,ra_qualityCode:fTe,ra_repeat:hTe,ra_select_folder_hint:mTe,ra_state_changed_by:_Te,ra_state_changed_from:gTe,ra_timestamp:yTe,ra_tooltip_ack:vTe,ra_tooltip_comment:bTe,ra_tooltip_copyState:wTe,ra_tooltip_customConfig:xTe,ra_tooltip_deleteObject:STe,ra_tooltip_editObject:CTe,ra_tooltip_editState:ETe,ra_tooltip_expire:kTe,ra_tooltip_from:$Te,ra_tooltip_lc:TTe,ra_tooltip_quality:OTe,ra_tooltip_ts:DTe,ra_tooltip_user:NTe,ra_tooltip_value:MTe,"ra_use seconds":"usar segundos",ra_val:ATe,"ra_via internet":"vía Internet",ra_warning_every_minute:PTe,ra_warning_every_second:ITe,sc_cron:RTe,sc_date:jTe,sc_dates:FTe,sc_dow:zTe,sc_dows:LTe,sc_every:BTe,sc_everyN_dates:WTe,sc_everyN_dow:UTe,sc_everyN_dows:HTe,sc_everyN_hours:qTe,sc_everyN_minutes:VTe,sc_everyN_months:GTe,sc_everyN_seconds:XTe,sc_every_dates:JTe,sc_every_dow:YTe,sc_every_dows:KTe,sc_every_hours:ZTe,sc_every_minutes:QTe,sc_every_months:e2e,sc_every_seconds:t2e,sc_from:r2e,sc_hours:n2e,sc_interval:o2e,sc_intervalBetween:s2e,sc_invalid_cron:a2e,sc_minutes:i2e,sc_months:l2e,sc_once:c2e,sc_period:u2e,sc_seconds:d2e,sc_simple:p2e,sc_specific:f2e,sc_specific_dates:h2e,sc_specific_dow:m2e,sc_specific_dows:_2e,sc_specific_hours:g2e,sc_specific_minutes:y2e,sc_specific_months:v2e,sc_specific_seconds:b2e,sc_time:w2e,sc_to:x2e,sc_wizard:S2e,sch_all:C2e,sch_astroDay:E2e,sch_astroNight:k2e,sch_astro_dawn:$2e,sch_astro_dusk:T2e,sch_astro_goldenHour:O2e,sch_astro_goldenHourEnd:D2e,sch_astro_nadir:N2e,sch_astro_nauticalDawn:M2e,sch_astro_nauticalDusk:A2e,sch_astro_night:P2e,sch_astro_nightEnd:I2e,sch_astro_solarNoon:R2e,sch_astro_sunrise:j2e,sch_astro_sunriseEnd:F2e,sch_astro_sunset:z2e,sch_astro_sunsetStart:L2e,sch_at:B2e,sch_desc_atTime:W2e,sch_desc_everyDay:U2e,sch_desc_everyHour:H2e,sch_desc_everyMinute:q2e,sch_desc_everyMonth:V2e,sch_desc_everyNDay:G2e,sch_desc_everyNHours:X2e,sch_desc_everyNMinutes:J2e,sch_desc_everyNMonths:Y2e,sch_desc_everyNWeeks:K2e,sch_desc_everyNYears:Z2e,sch_desc_everyWeek:Q2e,sch_desc_everyYear:eOe,sch_desc_intervalFromTo:tOe,sch_desc_never:rOe,sch_desc_onDate:nOe,sch_desc_onDates:oOe,sch_desc_onEveryDate:sOe,sch_desc_onMonth:aOe,sch_desc_onMonths:iOe,sch_desc_onWeekday:lOe,sch_desc_onWeekdays:cOe,sch_desc_onWeekends:uOe,sch_desc_onWorkdays:dOe,sch_desc_onceInPast:pOe,sch_desc_once_on:fOe,sch_desc_validFrom:hOe,sch_desc_validFromTo:mOe,sch_desc_validTo:_Oe,sch_every:gOe,sch_exactTime:yOe,sch_from:vOe,sch_fromTo:bOe,sch_intervalTime:wOe,sch_invert:xOe,sch_no_one:SOe,sch_on:COe,sch_period:EOe,sch_periodDaily:kOe,sch_periodDates:$Oe,sch_periodDay:TOe,sch_periodEvery:OOe,sch_periodEveryDay:DOe,sch_periodEveryMonth:NOe,sch_periodEveryWeek:MOe,sch_periodEveryYear:AOe,sch_periodHours:POe,sch_periodMinutes:IOe,sch_periodMonth:ROe,sch_periodMonthly:jOe,sch_periodOnce:FOe,sch_periodSpecificMonths:zOe,sch_periodWeek:LOe,sch_periodWeekdays:BOe,sch_periodWeekend:WOe,sch_periodWeekly:UOe,sch_periodWorkdays:HOe,sch_periodYear:qOe,sch_periodYearly:VOe,sch_specificTime:GOe,sch_time:XOe,sch_to:JOe,sch_valid:YOe,sch_validFrom:KOe,sch_validTo:ZOe,sch_wholeDay:QOe,sch_yearEveryMonth:eDe},rDe="Akcje",nDe="Dodać",oDe="Anuluj",sDe="Kategorie",aDe="Sprawdzony",iDe="Kasować",lDe="Blisko",cDe="Handlowy",uDe="Konfiguruj",dDe="Połączony",pDe="Skopiowano",fDe="Stwórz",hDe="Przyciąć",mDe="Delete",_De="Usunąć",gDe="Wyrzucać",yDe="Niepowiązany",vDe="Błąd",bDe="Filtr",wDe="Piątek",xDe="Szerokość",SDe="Długość geograficzna",CDe="Wiadomość",EDe="Poniedziałek",kDe="Nazwa",$De="Obiekty",TDe="Dobrze",ODe="Produkt",DDe="Powtarzać",NDe="Zastępować",MDe="Korzeń",ADe="Sobota",PDe="Zapisać",IDe="Wybrany",RDe="Stany",jDe="Niedziela",FDe="Czwartek",zDe="Znak czasu",LDe="Wtorek",BDe="Aktualizacja",WDe="Obowiązuje do",UDe="Wartość",HDe="Wersja",qDe="Środa",VDe="Szerokość",GDe="Tak",XDe="różne",JDe="Każdy może czytać obiekt",YDe="Każdy może czytać stan",KDe="Każdy może pisać przedmiot",ZDe="Każdy może pisać stan",QDe="Grupa może odczytać obiekt",eNe="Grupa może odczytać stan",tNe="Grupa może pisać obiekt",rNe="Grupa może pisać stan",nNe="Właściciel może czytać obiekt",oNe="Właściciel może odczytać stan",sNe="Właściciel może napisać obiekt",aNe="Właściciel może pisać stan",iNe="guziki",lNe="Zmieniony z",cNe="blisko",uNe="Utwórz stan logiczny",dNe="Utwórz kanał",pNe="Utwórz urządzenie",fNe="Utwórz stan liczbowy",hNe="Utwórz stan",mNe="Utwórz stan ciągu",_Ne="d.",gNe="Ks",yNe="Mo",vNe="Sa",bNe="Su",wNe="Th",xNe="Tu",SNe="My",CNe="Tryb ekspercki",ENe="Wszystkie pliki",kNe="Audio",$Ne="Kod/JSON",TNe="Obrazy",ONe="Tekst",DNe="Wideo",NNe="Ustawienia",MNe="bez",ANe="Funkcjonować",PNe="ID",INe="Imię",RNe="Rola",jNe="Sala",FNe="Rodzaj",zNe="Nieprawidłowe ustawienia",LNe="Ostatnia zmiana",BNe="lokalnie",WNe="kwiecień",UNe="sierpień",HNe="grudzień",qNe="luty",VNe="styczeń",GNe="lipiec",XNe="czerwiec",JNe="Mai",YNe="Zniszczyć",KNe="listopad",ZNe="październik",QNe="wrzesień",eMe="kwiecień",tMe="sierpień",rMe="grudzień",nMe="luty",oMe="styczeń",sMe="lipiec",aMe="czerwiec",iMe="Mai",lMe="Zniszczyć",cMe="listopad",uMe="październik",dMe="wrzesień",pMe="Żaden",fMe="Obiekt zmieniony przez",hMe="Obiekt ostatnio zmieniony o godz",mMe="Ustawienia z innego adaptera %s",_Me="Kod jakości",gMe="powtarzać",yMe="Aby wybrać folder, wystarczy przytrzymać klawisz „shift”, klikając folder.",vMe="Stan zmieniony przez",bMe="Obiekt zmieniony z",wMe="Znak czasu",xMe="Potwierdzon",SMe="Komentarz",CMe="Skopiuj wartość stanu",EMe="Własne ustawienia",kMe="Usuń obiekt",$Me="Edytuj obiekt",TMe="Edytuj wartość stanu",OMe="Wygasa za",DMe="Z",NMe="Ostatnia zmiana",MMe="Jakość",AMe="Znak czasu",PMe="Użytkownik",IMe="Wartość",RMe="Wartość",jMe="Ostrzeżenie: Zadanie CRON będzie uruchamiane co minutę w określonym przedziale czasowym!",FMe="Ostrzeżenie: Zadanie CRON będzie uruchamiane co sekundę w określonym przedziale czasowym!",zMe="CRON",LMe="Data",BMe="Daktyle",WMe="Dzień",UMe="Dzień tygodnia",HMe="Każdy",qMe="co N dni",VMe="w każdy N-ty dzień tygodnia",GMe="co N dnia tygodnia",XMe="co N godzin",JMe="co N minut",YMe="co N miesięcy",KMe="co N sekund",ZMe="codziennie",QMe="każdy dzień tygodnia",eAe="każdy dzień tygodnia",tAe="co godzinę",rAe="każda minuta",nAe="każdego miesiąca",oAe="każda sekunda",sAe="Od",aAe="godziny",iAe="Interwał",lAe="Interwał między",cAe="Nieprawidłowy CRON",uAe="Minuty",dAe="miesięcy",pAe="Pewnego razu",fAe="Kropka",hAe="sekundy",mAe="Prosty",_Ae="Określony czas",gAe="konkretne daty",yAe="określone dni tygodnia",vAe="określony dzień tygodni",bAe="określone godziny",wAe="określone minuty",xAe="określone miesiące",SAe="określone sekundy",CAe="Czas",EAe="Do",kAe="Czarodziej",$Ae="wszystko",TAe="Dzień Astro",OAe="Noc Astro",DAe="Świt",NAe="Zmierzch",MAe="złota godzina",AAe="Koniec złotej godziny",PAe="Nadir",IAe="Morski świt",RAe="Morski zmierzch",jAe="Noc",FAe="Koniec nocy",zAe="Południe słoneczne",LAe="wschód słońca",BAe="Koniec wschodu słońca",WAe="Zachód słońca",UAe="Początek zachodu słońca",HAe="w",qAe="na %s",VAe="codziennie",GAe="co godzinę",XAe="każda minuta",JAe="każdego miesiąca",YAe="każdego dnia %s",KAe="co %s godzin",ZAe="co %s minut",QAe="co %s miesięcy",ePe="co %s tygodni",tPe="co %s lat",rPe="co tydzień",nPe="każdego roku",oPe="od %s do %s",sPe="nigdy",aPe="na %s z %s",iPe="na %s i %s z",lPe="w każdą datę",cPe="%s",uPe="%s i %s",dPe="na %s",pPe="na %s i %s",fPe="w weekendy",hPe="w dni robocze",mPe="nie będzie już wykonywany, ponieważ start jest w przeszłości",_Pe="na %s",gPe="z %s",yPe="Wykonaj od do",vPe="do %s",bPe="każdy",wPe="Określony czas",xPe="od",SPe="Od-do",CPe="Czas przerwy",EPe="odwracać",kPe="Żaden",$Pe="na",TPe="Kropka",OPe="Codziennie",DPe="Daktyle",NPe="Dzień",MPe="Każdy",APe="Codziennie",PPe="Każdego miesiąca",IPe="Co tydzień",RPe="Każdego roku",jPe="godziny",FPe="Minuty",zPe="miesiąc",LPe="Miesięczny",BPe="Pewnego razu",WPe="Określone miesiące",UPe="Tydzień",HPe="Dni powszednie",qPe="Weekend",VPe="Co tydzień",GPe="Dni robocze",XPe="Rok",JPe="Rocznie",YPe="Określony czas",KPe="Czas",ZPe="do",QPe="Ważny",eIe="od",tIe="do",rIe="Cały dzień",nIe="każdego miesiąca",oIe={"ra_%s links from aliases":"%s linków z aliasów","ra_%s object(s) processed":"Przetworzono %s obiektów","ra_%s was imported":"%s został zaimportowany","ra_Accept license":"Zaakceptuj licencję",ra_Actions:rDe,"ra_Add new child object to selected parent":"Dodaj nowy obiekt potomny do wybranego rodzica","ra_Add objects tree from JSON file":"Dodaj drzewo obiektów z pliku JSON","ra_Add row":"Dodaj wiersz","ra_Advanced options":"Zaawansowane opcje","ra_All items are filtered out":"Wszystkie pozycje są odfiltrowane","ra_All objects":"Wszystkie obiekty",ra_Append:nDe,"ra_Append %s entries or replace existing?":"Dołączyć wpisy %s czy zastąpić istniejące?","ra_Append or replace?":"Dołączyć czy zastąpić?","ra_Are you sure?":"Jesteś pewny?","ra_Auto (no custom columns)":"Auto (bez kolumn niestandardowych)","ra_Back to %s":"Powrót do %s","ra_Background image":"Zdjęcie w tle",ra_Cancel:oDe,"ra_Cannot add items with set filter":"Nie można dodać elementów z ustawionym filtrem","ra_Cannot decode license":"Nie można zdekodować licencji","ra_Cannot determine position: System settings are empty and GPS detection is disabled in browser":"Nie można określić pozycji: ustawienia systemu są puste, a wykrywanie GPS jest wyłączone w przeglądarce",'ra_Cannot find "%s"':"Nie można znaleźć „%s”",'ra_Cannot read "%s"':"Nie można odczytać „%s”","ra_Cannot read licenses: %s":"Nie można odczytać licencji: %s","ra_Cannot retrieve options, as instance is offline":"Nie można pobrać opcji, ponieważ instancja jest w trybie offline","ra_Cannot update attribute, because not found in the object":"Nie można zaktualizować atrybutu, ponieważ nie znaleziono go w obiekcie","ra_Cannot upload":"Nie można przesłać",ra_Categories:sDe,"ra_Chained certificate":"Certyfikat łańcuchowy","ra_Change color theme":"Zmień motyw kolorystyczny","ra_Changed from":"Zmieniony z","ra_Channel → State":"Kanał → Stan","ra_Check license":"Sprawdź licencję",ra_Checked:aDe,ra_Clear:iDe,"ra_Clear filter":"Czysty filtr","ra_Clear icon":"Wyczyść ikonę","ra_Clone current row":"Sklonuj bieżący wiersz",ra_Close:lDe,"ra_Collapse all nodes":"Zwiń wszystkie węzły","ra_Collapse one step node":"Zwiń o jeden poziom",ra_Commercial:cDe,ra_Configure:uDe,"ra_Configure visible columns":"Skonfiguruj widoczne kolumny","ra_Confirm deletion of %s":"Potwierdź usunięcie %s",ra_Connected:dDe,ra_Copied:pDe,"ra_Copied %s":'Skopiowano "%s"',"ra_Copy content":"Kopiuj zawartość",ra_Create:fDe,"ra_Create alias":"Utwórz alias","ra_Create folder":"Utwórz folder","ra_Create new folder in %s":"Utwórz nowy folder w %s",ra_Crop:hDe,"ra_Define CRON...":"Zdefiniuj CRON...","ra_Define functions":"Zdefiniuj funkcje","ra_Define rooms":"Zdefiniuj pokoje","ra_Define schedule":"Zdefiniuj harmonogram","ra_Define schedule...":"Zdefiniuj harmonogram ...",ra_Del:mDe,ra_Delete:_De,"ra_Delete current row":"Usuń bieżący wiersz","ra_Deselect all":"Odznacz wszystko","ra_Device → Channel → State":"Urządzenie → Kanał → Stan",ra_Discard:gDe,ra_Disconnected:yDe,"ra_Do not export values of states":"Nie eksportuj wartości stanów","ra_Do not use let's encrypt":"Nie używaj zaszyfrujmy","ra_Double click to reset table layout":"Kliknij dwukrotnie, aby zresetować układ tabeli","ra_Drag 'n' drop some files here, or click to select files":"Przeciągnij i upuść kilka plików tutaj lub kliknij, aby wybrać pliki","ra_Drop file here":"Upuść plik tutaj","ra_Drop the files here...":"Upuść plik tutaj...","ra_Duplicate name":"Zduplikowana nazwa","ra_Edit ACL":"Edytuj listy ACL","ra_Edit alias":"Edytuj alias","ra_Edit custom config":"Edytuj konfigurację niestandardową","ra_Edit function":"Funkcja edycji","ra_Edit object field":"Edytuj pole obiektu","ra_Edit role":"Edytuj rolę","ra_Edit room":"Edytuj pokój","ra_Edit value":"Edytuj wartość",ra_Error:vDe,"ra_Expand all nodes":"Rozwiń wszystkie węzły","ra_Expand one step node":"Rozwiń o jeden poziom","ra_Export data to %s file":"Eksportuj dane do pliku %s","ra_Failed to open JSON File":"Nie udało się otworzyć pliku JSON","ra_Fallback custom certificates":"Niestandardowe certyfikaty zastępcze","ra_File is too big. Max %sk allowed. Try use SVG.":"Plik jest za duży. Maksymalna dozwolona liczba %sk. Spróbuj użyć SVG.",ra_Filter:bDe,"ra_Filter and Data Actions":"Akcje filtrów i danych","ra_Filter files":"Filtruj pliki","ra_Folder name":"Nazwa folderu","ra_Folder → Channel → State":"Folder → Kanał → Stan","ra_Folder → Device → Channel → State":"Folder → Urządzenie → Kanał → Stan","ra_Folder → State":"Folder → Stan","ra_Folders always first":"Foldery zawsze na pierwszym miejscu",ra_Friday:wDe,"ra_Good luck":"Powodzenia","ra_Hide empty folders":"Ukryj puste foldery","ra_If no file will be created in the folder, it will disappear after the browser closed":"Jeśli w folderze nie zostanie utworzony żaden plik, zniknie on po zamknięciu przeglądarki","ra_Import data from %s file":"Importuj dane z pliku %s","ra_Import from %s":"Importuj z %s","ra_Instance %s is alive":"Instancja %s jest aktywna","ra_Instance %s is not alive":"Instancja TEKST nie jest aktywna","ra_Instance is not alive":"Instancja nie jest aktywna","ra_Invalid CRON":"Nieprawidłowy CRON","ra_Invalid JSON":"Nieprawidłowy JSON","ra_Invalid answer from server":"Nieprawidłowa odpowiedź z serwera","ra_Invalid parent folder!":"Nieprawidłowy folder nadrzędny!","ra_Invalid structure":"Nieprawidłowa struktura","ra_JSON editor":"Edytor JSON","ra_Last change":"Ostatnia zmiana",ra_Latitude:xDe,"ra_License %s":"Licencja %s","ra_License agreement":"Umowa licencyjna","ra_License does not exist":"Licencja nie istnieje","ra_License expired on %s":"Licencja wygasła w dniu %s",'ra_License for other product "%s"':"Licencja na inny produkt „%s”","ra_License is for version %s, but required version is %s.":"Licencja dotyczy wersji %s, ale wymagana wersja to %s.","ra_License must be converted":"Licencja musi zostać przekonwertowana na nowszą wersję. Możesz to zrobić w swoim profilu iobroker.net.","ra_License not found in license manager. Do you want to read licenses from iobroker.net?":"Nie znaleziono licencji w menedżerze licencji. Chcesz zaktualizować licencje z iobroker.net?","ra_Listen on all IPs":"Słuchaj na wszystkich adresach IP","ra_Load configuration from file":"Załaduj konfigurację z pliku",ra_Longitude:SDe,'ra_May not trigger "updateLicenses"':"Może nie uruchamiać „updateLicenses”",ra_Message:CDe,ra_Monday:EDe,"ra_Move down":"Padnij","ra_Move up":"Podnieść",ra_Name:kDe,"ra_No data found in file":"Nie znaleziono danych w pliku","ra_No one license found in license manager":"Nie znaleziono licencji w menedżerze licencji","ra_No response from the backend":"Brak odpowiedzi z zaplecza",'ra_Non-experts may create new objects only in "0_userdata.0" or "alias.0".':"Osoby nie będące ekspertami mogą tworzyć nowe obiekty tylko w „0_userdata.0” lub „alias.0”.","ra_Not a number":"Nie numer",ra_Objects:$De,ra_Ok:TDe,"ra_On weekdays":"W dni powszednie","ra_Only following structures of objects are available:":"Dostępne są tylko następujące struktury obiektów:","ra_Only selected":"Tylko wybrane","ra_Owner group":"Grupa właścicieli","ra_Owner user":"Właściciel użytkownika","ra_Passwords are not equal!":"Hasła nie są równe!","ra_Place your files here or click here to open the browse dialog":"Umieść swoje pliki tutaj lub kliknij tutaj, aby otworzyć okno dialogowe przeglądania","ra_Please confirm":"Proszę potwierdzić","ra_Please create license":"Utwórz licencję","ra_Please enter the license":"Proszę wprowadzić licencję","ra_Please select file...":"Wybierz plik...","ra_Please select object ID...":"Wybierz identyfikator obiektu ...","ra_Port could be used by %s":"Port może być używany przez %s","ra_Port is already used by %s":"Port jest już używany przez %s","ra_Press ENTER Key to add new item":"Naciśnij klawisz ENTER, aby dodać nowy element","ra_Private certificate":"Prywatny certyfikat",ra_Product:ODe,"ra_Public certificate":"Certyfikat publiczny","ra_Quality code":"Jakości","ra_Refresh tree":"Odśwież drzewo","ra_Reload files":"Załaduj ponownie pliki",ra_Repeat:DDe,ra_Replace:NDe,"ra_Request timed out":"Upłynął limit czasu żądania","ra_Restrict to folder":"Ogranicz do folderu",ra_Root:MDe,ra_Saturday:ADe,ra_Save:PDe,"ra_Save and close":"Zapisz i zamknij","ra_Save configuration to file":"Zapisz konfigurację do pliku","ra_Save objects tree as JSON file":"Zapisz drzewo obiektów jako plik JSON","ra_Select all":"Zaznacz wszystko","ra_Select color":"Wybierz kolor","ra_Select predefined icon":"Wybierz predefiniowaną ikonę","ra_Select type of export":"Wybierz rodzaj eksportu",ra_Selected:IDe,"ra_Selected %s object(s)":"Wybrane obiekty %s","ra_Serial number (UUID)":"Numer seryjny (UUID)",'ra_Serial number (UUID) "%s" in license is for other device.':"Numer seryjny (UUID) „%s” w licencji dotyczy innego urządzenia.","ra_Show all folders":"Pokaż wszystkie foldery","ra_Show lines between rows":"Pokaż linie między rzędami","ra_Show/Hide object descriptions":"Pokaż/ukryj opisy obiektów","ra_Show/hide filter input":"Pokaż/ukryj wejście filtra","ra_Some data are not stored. Discard?":"Niektóre dane nie są przechowywane. Wyrzucać?",ra_States:RDe,"ra_Suitable license not found in license manager":"Nie znaleziono odpowiedniej licencji w menedżerze licencji",ra_Sunday:jDe,"ra_Suppress question for next %s minutes":"Ukryj pytanie przez następne %s minut","ra_System language":"Język systemu","ra_Take browser position":"Zajmij pozycję z przeglądarki","ra_Take position from system settings":"Zajmij pozycję z ustawień systemowych",'ra_The experts may create objects everywhere but from second level (e.g. "vis.0" or "javascript.0").':"Eksperci mogą tworzyć obiekty wszędzie poza drugim poziomem (np. „Vis.0” lub „javascript.0”).","ra_The page you are looking for was not found":"Strona, której szukasz nie została znaleziona","ra_The schedule will be executed every minute. Are you sure?":"Harmonogram będzie wykonywany co minutę. Czy jesteś pewien?","ra_The schedule will be executed every second. Are you sure?":"Harmonogram będzie wykonywany co sekundę. Czy jesteś pewien?",ra_Thursday:FDe,ra_Timestamp:zDe,"ra_Toggle expert mode":"Przełącz tryb eksperta","ra_Toggle the states view":"Przełącz widok stanów","ra_Toggle view mode":"Przełącz tryb widoku","ra_Too big":"Za duży","ra_Too small":"Za mały","ra_Transparent dialog":"Przejrzyste okno dialogowe",ra_Tuesday:LDe,"ra_Unknown error":"Nieznany błąd","ra_Unknown error!":"Nieznany błąd!",ra_Update:BDe,"ra_Upload file":"Przesyłanie pliku","ra_Use all available let's encrypt certificates":"Użyj wszystkich dostępnych certyfikatów Let's Encrypt","ra_Use iobroker.acme adapter for letsencrypt certificates":"Użyj adaptera iobroker.acme dla certyfikatów letsencrypt","ra_Use system settings for position":"Użyj ustawień systemowych dla pozycji","ra_Used system settings":"Używane ustawienia systemowe","ra_User files":"Pliki użytkownika",ra_ValidTill:WDe,ra_Value:UDe,ra_Version:HDe,"ra_View file":"Zobaczyć plik","ra_View: %s":"Widok: %s",ra_Wednesday:qDe,ra_Width:VDe,ra_Yes:GDe,"ra_You can export all objects or just the selected branch.":"Możesz wyeksportować wszystkie obiekty lub tylko wybraną gałąź.","ra_You can filter entries by entering here some text":"Możesz filtrować wpisy, wpisując tutaj jakiś tekst",ra___different__:XDe,ra_aclEveryone_read_object:JDe,ra_aclEveryone_read_state:YDe,ra_aclEveryone_write_object:KDe,ra_aclEveryone_write_state:ZDe,ra_aclGroup_read_object:QDe,ra_aclGroup_read_state:eNe,ra_aclGroup_write_object:tNe,ra_aclGroup_write_state:rNe,ra_aclOwner_read_object:nNe,ra_aclOwner_read_state:oNe,ra_aclOwner_write_object:sNe,ra_aclOwner_write_state:aNe,ra_buttons:iNe,ra_changedFrom:lNe,ra_close:cNe,ra_create_boolean_state:uNe,ra_create_channel:dNe,ra_create_device:pNe,ra_create_number_state:fNe,ra_create_state:hNe,ra_create_string_state:mNe,ra_daysShortText:_Ne,ra_dow_Fr:gNe,ra_dow_Mo:yNe,ra_dow_Sa:vNe,ra_dow_Su:bNe,ra_dow_Th:wNe,ra_dow_Tu:xNe,ra_dow_We:SNe,ra_expertMode:CNe,ra_fileType_all:ENe,ra_fileType_audio:kNe,ra_fileType_code:$Ne,ra_fileType_images:TNe,ra_fileType_txt:ONe,ra_fileType_video:DNe,"ra_fileType_video,":"Wideo",ra_filter_customs:NNe,ra_filter_customs_without:MNe,ra_filter_func:ANe,ra_filter_id:PNe,ra_filter_name:INe,ra_filter_role:RNe,ra_filter_room:jNe,ra_filter_type:FNe,"ra_import data from %s file":"Importuj dane z pliku %s",ra_invalidConfig:zNe,ra_lastChange:LNe,ra_locally:BNe,ra_month_Apr:WNe,ra_month_Aug:UNe,ra_month_Dec:HNe,ra_month_Feb:qNe,ra_month_Jan:VNe,ra_month_Jul:GNe,ra_month_Jun:XNe,ra_month_Mai:JNe,ra_month_Mar:YNe,ra_month_Nov:KNe,ra_month_Oct:ZNe,ra_month_Sep:QNe,ra_months_Apr:eMe,ra_months_Aug:tMe,ra_months_Dec:rMe,ra_months_Feb:nMe,ra_months_Jan:oMe,ra_months_Jul:sMe,ra_months_Jun:aMe,ra_months_Mai:iMe,ra_months_Mar:lMe,ra_months_Nov:cMe,ra_months_Oct:uMe,ra_months_Sep:dMe,"ra_no confirm for 5 mins":"brak potwierdzenia przez 5 minut",ra_none:pMe,ra_object_changed_by:fMe,ra_object_changed_by_user:hMe,ra_otherConfig:mMe,ra_qualityCode:_Me,ra_repeat:gMe,ra_select_folder_hint:yMe,ra_state_changed_by:vMe,ra_state_changed_from:bMe,ra_timestamp:wMe,ra_tooltip_ack:xMe,ra_tooltip_comment:SMe,ra_tooltip_copyState:CMe,ra_tooltip_customConfig:EMe,ra_tooltip_deleteObject:kMe,ra_tooltip_editObject:$Me,ra_tooltip_editState:TMe,ra_tooltip_expire:OMe,ra_tooltip_from:DMe,ra_tooltip_lc:NMe,ra_tooltip_quality:MMe,ra_tooltip_ts:AMe,ra_tooltip_user:PMe,ra_tooltip_value:IMe,"ra_use seconds":"użyj sekund",ra_val:RMe,"ra_via internet":"przez internet",ra_warning_every_minute:jMe,ra_warning_every_second:FMe,sc_cron:zMe,sc_date:LMe,sc_dates:BMe,sc_dow:WMe,sc_dows:UMe,sc_every:HMe,sc_everyN_dates:qMe,sc_everyN_dow:VMe,sc_everyN_dows:GMe,sc_everyN_hours:XMe,sc_everyN_minutes:JMe,sc_everyN_months:YMe,sc_everyN_seconds:KMe,sc_every_dates:ZMe,sc_every_dow:QMe,sc_every_dows:eAe,sc_every_hours:tAe,sc_every_minutes:rAe,sc_every_months:nAe,sc_every_seconds:oAe,sc_from:sAe,sc_hours:aAe,sc_interval:iAe,sc_intervalBetween:lAe,sc_invalid_cron:cAe,sc_minutes:uAe,sc_months:dAe,sc_once:pAe,sc_period:fAe,sc_seconds:hAe,sc_simple:mAe,sc_specific:_Ae,sc_specific_dates:gAe,sc_specific_dow:yAe,sc_specific_dows:vAe,sc_specific_hours:bAe,sc_specific_minutes:wAe,sc_specific_months:xAe,sc_specific_seconds:SAe,sc_time:CAe,sc_to:EAe,sc_wizard:kAe,sch_all:$Ae,sch_astroDay:TAe,sch_astroNight:OAe,sch_astro_dawn:DAe,sch_astro_dusk:NAe,sch_astro_goldenHour:MAe,sch_astro_goldenHourEnd:AAe,sch_astro_nadir:PAe,sch_astro_nauticalDawn:IAe,sch_astro_nauticalDusk:RAe,sch_astro_night:jAe,sch_astro_nightEnd:FAe,sch_astro_solarNoon:zAe,sch_astro_sunrise:LAe,sch_astro_sunriseEnd:BAe,sch_astro_sunset:WAe,sch_astro_sunsetStart:UAe,sch_at:HAe,sch_desc_atTime:qAe,sch_desc_everyDay:VAe,sch_desc_everyHour:GAe,sch_desc_everyMinute:XAe,sch_desc_everyMonth:JAe,sch_desc_everyNDay:YAe,sch_desc_everyNHours:KAe,sch_desc_everyNMinutes:ZAe,sch_desc_everyNMonths:QAe,sch_desc_everyNWeeks:ePe,sch_desc_everyNYears:tPe,sch_desc_everyWeek:rPe,sch_desc_everyYear:nPe,sch_desc_intervalFromTo:oPe,sch_desc_never:sPe,sch_desc_onDate:aPe,sch_desc_onDates:iPe,sch_desc_onEveryDate:lPe,sch_desc_onMonth:cPe,sch_desc_onMonths:uPe,sch_desc_onWeekday:dPe,sch_desc_onWeekdays:pPe,sch_desc_onWeekends:fPe,sch_desc_onWorkdays:hPe,sch_desc_onceInPast:mPe,sch_desc_once_on:_Pe,sch_desc_validFrom:gPe,sch_desc_validFromTo:yPe,sch_desc_validTo:vPe,sch_every:bPe,sch_exactTime:wPe,sch_from:xPe,sch_fromTo:SPe,sch_intervalTime:CPe,sch_invert:EPe,sch_no_one:kPe,sch_on:$Pe,sch_period:TPe,sch_periodDaily:OPe,sch_periodDates:DPe,sch_periodDay:NPe,sch_periodEvery:MPe,sch_periodEveryDay:APe,sch_periodEveryMonth:PPe,sch_periodEveryWeek:IPe,sch_periodEveryYear:RPe,sch_periodHours:jPe,sch_periodMinutes:FPe,sch_periodMonth:zPe,sch_periodMonthly:LPe,sch_periodOnce:BPe,sch_periodSpecificMonths:WPe,sch_periodWeek:UPe,sch_periodWeekdays:HPe,sch_periodWeekend:qPe,sch_periodWeekly:VPe,sch_periodWorkdays:GPe,sch_periodYear:XPe,sch_periodYearly:JPe,sch_specificTime:YPe,sch_time:KPe,sch_to:ZPe,sch_valid:QPe,sch_validFrom:eIe,sch_validTo:tIe,sch_wholeDay:rIe,sch_yearEveryMonth:nIe},sIe="Дії",aIe="Додайте",iIe="Скасувати",lIe="Категорії",cIe="Перевірено",uIe="Видалити",dIe="Закрити",pIe="Комерційний",fIe="Налаштувати",hIe="Підключено",mIe="Скопійовано",_Ie="Створити",gIe="Урожай",yIe="Delete",vIe="Видалити",bIe="Відкинути",wIe="Відключено",xIe="Помилка",SIe="фільтр",CIe="П'ятниця",EIe="Широта",kIe="Довгота",$Ie="повідомлення",TIe="понеділок",OIe="Ім'я",DIe="Об'єкти",NIe="В порядку",MIe="Продукт",AIe="Повторіть",PIe="Замінити",IIe="Корінь",RIe="Субота",jIe="зберегти",FIe="Вибране",zIe="держави",LIe="неділя",BIe="четвер",WIe="Мітка часу",UIe="вівторок",HIe="оновлення",qIe="Дійсний до",VIe="Значення",GIe="Версія",XIe="Середа",JIe="Ширина",YIe="Так",KIe="інший",ZIe="Кожен може читати об'єкт",QIe="Кожен може читати стан",eRe="Кожен може написати об'єкт",tRe="Кожен може написати стан",rRe="Група може читати об'єкт",nRe="Група може читати стан",oRe="Група може писати об'єкт",sRe="Група може писати стан",aRe="Власник може читати об'єкт",iRe="Власник може читати стан",lRe="Власник може написати об'єкт",cRe="Власник може написати стан",uRe="кнопки",dRe="Змінено з",pRe="закрити",fRe="Створіть логічний стан",hRe="Створити канал",mRe="Створити пристрій",_Re="Створити номерний стан",gRe="Створити состояние",yRe="Створити рядковий стан",vRe="днів",bRe="О",wRe="пн",xRe="Sa",SRe="Нд",CRe="чт",ERe="вт",kRe="ми",$Re="Експертний режим",TRe="Всі файли",ORe="Аудіо",DRe="Код/JSON",NRe="Зображення",MRe="текст",ARe="відео",PRe="Налаштування",IRe="без",RRe="функція",jRe="ID",FRe="Ім'я",zRe="Роль",LRe="Кімната",BRe="Тип",WRe="Недійсні налаштування",URe="Остання зміна",HRe="локально",qRe="квіт",VRe="серп",GRe="груд",XRe="лютий",JRe="січня",YRe="лип",KRe="черв",ZRe="травень",QRe="березень",eje="Листопад",tje="жовт",rje="вер",nje="квіт",oje="серп",sje="груд",aje="лютий",ije="січня",lje="лип",cje="черв",uje="травень",dje="березень",pje="Листопад",fje="жовт",hje="вер",mje="немає",_je="Об'єкт змінено",gje="Об'єкт востаннє змінено о",yje="Налаштування з іншого адаптера %s",vje="Код якості",bje="повторити",wje="Щоб вибрати папку, просто клацніть папку, утримуючи клавішу «Shift».",xje="Стан змінено на",Sje="Об'єкт змінено з",Cje="Мітка часу",Eje="Визнано",kje="коментар",$je="Скопіюйте значення стану",Tje="Спеціальні налаштування",Oje="Видалити об'єкт",Dje="Редагувати об'єкт",Nje="Відредагуйте значення стану",Mje="Термін дії закінчується через",Aje="Від",Pje="Востаннє змінено",Ije="якість",Rje="Позначка часу",jje="Користувач",Fje="Значення",zje="Значення",Lje="Попередження: завдання CRON виконуватиметься щохвилини протягом зазначеного періоду!",Bje="Попередження: завдання CRON виконуватиметься кожну секунду протягом зазначеного періоду!",Wje="CRON",Uje="Дата",Hje="дати",qje="День",Vje="День тижня",Gje="кожен",Xje="кожні N днів",Jje="кожен N-й день тижня",Yje="кожні N днів тижня",Kje="кожні N годин",Zje="кожні N хвилин",Qje="кожні N місяців",e5e="кожні N секунд",t5e="кожен день",r5e="кожен день тижня",n5e="кожен день тижня",o5e="щогодини",s5e="кожну хвилину",a5e="щомісяця",i5e="кожна секунда",l5e="Від",c5e="години",u5e="Інтервал",d5e="Інтервал між",p5e="Недійсний CRON",f5e="хвилин",h5e="місяців",m5e="Один раз",_5e="Крапка",g5e="секунд",y5e="просто",v5e="Конкретний час",b5e="конкретні дати",w5e="конкретний день (дні) тижня",x5e="конкретний день тижня",S5e="конкретні години",C5e="конкретні хвилини",E5e="конкретні місяці",k5e="конкретні секунди",$5e="час",T5e="до",O5e="майстер",D5e="все",N5e="Астродень",M5e="Астро ніч",A5e="Світанок",P5e="Сутінки",I5e="Золота година",R5e="Кінець золотої години",j5e="Надір",F5e="Морський світанок",z5e="Морські сутінки",L5e="ніч",B5e="Кінець ночі",W5e="Сонячний полудень",U5e="Схід сонця",H5e="Кінець сходу сонця",q5e="Захід сонця",V5e="Початок заходу сонця",G5e="в",X5e="в %s",J5e="кожен день",Y5e="щогодини",K5e="кожну хвилину",Z5e="щомісяця",Q5e="кожен %s день",e4e="кожні %s годин",t4e="кожні %s хвилин",r4e="кожні %s місяців",n4e="кожні %s тижнів",o4e="кожні %s років",s4e="щотижня",a4e="щороку",i4e="від %s до %s",l4e="ніколи",c4e="на %s з %s",u4e="на %s і %s з",d4e="на кожну дату",p4e="%s",f4e="%s і %s",h4e="на %s",m4e="на %s і %s",_4e="на вихідних",g4e="в робочі дні",y4e="більше не виконуватиметься, оскільки запуск у минулому",v4e="на %s",b4e="від %s",w4e="Виконати від до",x4e="до %s",S4e="кожен",C4e="Конкретний час",E4e="від",k4e="Від до",$4e="Час інтервалу",T4e="інвертувати",O4e="немає",D4e="на",N4e="Крапка",M4e="Щодня",A4e="дати",P4e="День",I4e="кожен",R4e="Кожен день",j4e="Щомісяця",F4e="Щотижня",z4e="Щороку",L4e="години",B4e="хвилин",W4e="місяць",U4e="Щомісяця",H4e="Один раз",q4e="Конкретні місяці",V4e="тиждень",G4e="будні",X4e="Вихідні",J4e="Щотижня",Y4e="робочі дні",K4e="рік",Z4e="щорічно",Q4e="Конкретний час",e3e="час",t3e="до",r3e="Дійсний",n3e="від",o3e="до",s3e="Цілий день",a3e="щомісяця",i3e={"ra_%s links from aliases":"%s посилань із псевдонімів","ra_%s object(s) processed":"Оброблено %s об’єктів","ra_%s was imported":"%s було імпортовано","ra_Accept license":"Прийняти ліцензію",ra_Actions:sIe,"ra_Add new child object to selected parent":"Додати новий дочірній об’єкт до вибраного батьківського","ra_Add objects tree from JSON file":"Додайте дерево об’єктів із файлу JSON","ra_Add row":"Додати рядок","ra_Advanced options":"Розширені опції","ra_All items are filtered out":"Усі елементи відфільтровано","ra_All objects":"Всі об'єкти",ra_Append:aIe,"ra_Append %s entries or replace existing?":"Додати %s записів чи замінити наявні?","ra_Append or replace?":"Додати чи замінити?","ra_Are you sure?":"Ти впевнений?","ra_Auto (no custom columns)":"Автоматично (без спеціальних стовпців)","ra_Back to %s":"Назад до %s","ra_Background image":"Фонове зображення",ra_Cancel:iIe,"ra_Cannot add items with set filter":"Неможливо додати елементи зі встановленим фільтром","ra_Cannot decode license":"Неможливо розшифрувати ліцензію","ra_Cannot determine position: System settings are empty and GPS detection is disabled in browser":"Неможливо визначити положення: системні налаштування порожні, а визначення GPS вимкнено в браузері",'ra_Cannot find "%s"':'Не вдається знайти "%s"','ra_Cannot read "%s"':'Неможливо прочитати "%s"',"ra_Cannot read licenses: %s":"Неможливо прочитати ліцензії: %s","ra_Cannot retrieve options, as instance is offline":"Неможливо отримати параметри, оскільки екземпляр офлайн","ra_Cannot update attribute, because not found in the object":"Неможливо оновити атрибут, оскільки його не знайдено в об’єкті","ra_Cannot upload":"Неможливо завантажити",ra_Categories:lIe,"ra_Chained certificate":"Прикутий сертифікат","ra_Change color theme":"Змінити кольорову тему","ra_Changed from":"Змінено з","ra_Channel → State":"Канал → Стан","ra_Check license":"Перевірити ліцензію",ra_Checked:cIe,ra_Clear:uIe,"ra_Clear filter":"Очистити фільтр","ra_Clear icon":"Очистити значок","ra_Clone current row":"Клонувати поточний рядок",ra_Close:dIe,"ra_Collapse all nodes":"Згорнути всі вузли","ra_Collapse one step node":"Згорнути на один рівень",ra_Commercial:pIe,ra_Configure:fIe,"ra_Configure visible columns":"Налаштувати видимі стовпці","ra_Confirm deletion of %s":"Підтвердити видалення %s",ra_Connected:hIe,ra_Copied:mIe,"ra_Copied %s":'Скопійовано "%s"',"ra_Copy content":"Скопіюйте вміст",ra_Create:_Ie,"ra_Create alias":"Створити псевдонім","ra_Create folder":"Створити папку","ra_Create new folder in %s":"Створіть нову папку в %s",ra_Crop:gIe,"ra_Define CRON...":"Визначити CRON...","ra_Define functions":"Визначити функції","ra_Define rooms":"Визначте кімнати","ra_Define schedule":"Визначити розклад","ra_Define schedule...":"Визначити розклад...",ra_Del:yIe,ra_Delete:vIe,"ra_Delete current row":"Видалити поточний рядок","ra_Deselect all":"Скасувати вибір усіх","ra_Device → Channel → State":"Пристрій → Канал → Стан",ra_Discard:bIe,ra_Disconnected:wIe,"ra_Do not export values of states":"Не експортуйте значення станів","ra_Do not use let's encrypt":"Не використовуйте let's encrypt","ra_Double click to reset table layout":"Двічі клацніть, щоб скинути макет таблиці","ra_Drag 'n' drop some files here, or click to select files":"Перетягніть деякі файли сюди або натисніть, щоб вибрати файли","ra_Drop file here":"Перетягніть файл сюди","ra_Drop the files here...":"Перетягніть файл сюди...","ra_Duplicate name":"Повторюване ім'я","ra_Edit ACL":"Редагувати ACL","ra_Edit alias":"Редагувати псевдонім","ra_Edit custom config":"Редагувати спеціальну конфігурацію","ra_Edit function":"функція редагування","ra_Edit object field":"Поле редагування об'єкта","ra_Edit role":"Редагувати роль","ra_Edit room":"Редагувати кімнату","ra_Edit value":"Редагувати значення",ra_Error:xIe,"ra_Expand all nodes":"Розгорнути всі вузли","ra_Expand one step node":"Розгорніть один рівень","ra_Export data to %s file":"Експортувати дані у файл %s","ra_Failed to open JSON File":"Не вдалося відкрити файл JSON","ra_Fallback custom certificates":"Запасні спеціальні сертифікати","ra_File is too big. Max %sk allowed. Try use SVG.":"Файл завеликий. Максимально дозволено %sk. Спробуйте використовувати SVG.",ra_Filter:SIe,"ra_Filter and Data Actions":"Фільтр і дії з даними","ra_Filter files":"Фільтр файлів","ra_Folder name":"Назва папки","ra_Folder → Channel → State":"Папка → Канал → Стан","ra_Folder → Device → Channel → State":"Папка → Пристрій → Канал → Стан","ra_Folder → State":"Папка → Стан","ra_Folders always first":"Папки завжди першими",ra_Friday:CIe,"ra_Good luck":"Удачі","ra_Hide empty folders":"Приховати порожні папки","ra_If no file will be created in the folder, it will disappear after the browser closed":"Якщо в папці не буде створено файл, він зникне після закриття браузера","ra_Import data from %s file":"Імпортувати дані з файлу %s","ra_Import from %s":"Імпортувати з %s","ra_Instance %s is alive":"Примірник %s живий","ra_Instance %s is not alive":"Примірник %s не живий","ra_Instance is not alive":"Примірник не живий","ra_Invalid CRON":"Недійсний CRON","ra_Invalid JSON":"Недійсний JSON","ra_Invalid answer from server":"Недійсна відповідь від сервера","ra_Invalid parent folder!":"Недійсна батьківська папка!","ra_Invalid structure":"Недійсна структура","ra_JSON editor":"Редактор JSON","ra_Last change":"Остання зміна",ra_Latitude:EIe,"ra_License %s":"Ліцензія %s","ra_License agreement":"Ліцензійна угода","ra_License does not exist":"Ліцензії не існує","ra_License expired on %s":"Термін дії ліцензії закінчився %s",'ra_License for other product "%s"':'Ліцензія на інший продукт "%s"',"ra_License is for version %s, but required version is %s.":"Ліцензія для версії %s, але потрібна версія %s.","ra_License must be converted":"Ліцензію необхідно конвертувати до новішої версії. Ви можете зробити це у своєму профілі на iobroker.net.","ra_License not found in license manager. Do you want to read licenses from iobroker.net?":"Ліцензія не знайдена в менеджері ліцензій. Хочете оновити ліцензії з iobroker.net?","ra_Listen on all IPs":"Прослуховування на всіх IP","ra_Load configuration from file":"Завантажити конфігурацію з файлу",ra_Longitude:kIe,'ra_May not trigger "updateLicenses"':'Може не запускати "updateLicenses"',ra_Message:$Ie,ra_Monday:TIe,"ra_Move down":"Рухатися вниз","ra_Move up":"Рухатися вгору",ra_Name:OIe,"ra_No data found in file":"Немає даних у файлі","ra_No one license found in license manager":"У менеджері ліцензій не знайдено жодної ліцензії","ra_No response from the backend":"Немає відповіді від сервера",'ra_Non-experts may create new objects only in "0_userdata.0" or "alias.0".':"Неексперти можуть створювати нові об’єкти лише в «0_userdata.0» або «alias.0».","ra_Not a number":"Не номер",ra_Objects:DIe,ra_Ok:NIe,"ra_On weekdays":"В будні дні","ra_Only following structures of objects are available:":"Доступні тільки такі структури об'єктів:","ra_Only selected":"Тільки обрані","ra_Owner group":"Група власників","ra_Owner user":"Користувач-власник","ra_Passwords are not equal!":"Паролі не бувають рівними!","ra_Place your files here or click here to open the browse dialog":"Розмістіть свої файли тут або натисніть тут, щоб відкрити діалогове вікно перегляду","ra_Please confirm":"Будь-ласка підтвердіть","ra_Please create license":"Будь ласка, створіть ліцензію","ra_Please enter the license":"Будь ласка, введіть ліцензію","ra_Please select file...":"Виберіть файл...","ra_Please select object ID...":"Виберіть ідентифікатор об'єкта...","ra_Port could be used by %s":"Порт може використовуватися %s","ra_Port is already used by %s":"Порт уже використовується %s","ra_Press ENTER Key to add new item":"Натисніть клавішу ENTER, щоб додати новий елемент","ra_Private certificate":"Приватний сертифікат",ra_Product:MIe,"ra_Public certificate":"Публічний сертифікат","ra_Quality code":"якість","ra_Refresh tree":"Оновити дерево","ra_Reload files":"Перезавантажте файли",ra_Repeat:AIe,ra_Replace:PIe,"ra_Request timed out":"Час запиту вичерпано","ra_Restrict to folder":"Обмежити папкою",ra_Root:IIe,ra_Saturday:RIe,ra_Save:jIe,"ra_Save and close":"Зберегти та закрити","ra_Save configuration to file":"Зберегти конфігурацію у файл","ra_Save objects tree as JSON file":"Зберегти дерево об’єктів як файл JSON","ra_Select all":"Вибрати все","ra_Select color":"Виберіть колір","ra_Select predefined icon":"Виберіть попередньо визначений значок","ra_Select type of export":"Виберіть тип експорту",ra_Selected:FIe,"ra_Selected %s object(s)":"Вибрані об’єкти %s","ra_Serial number (UUID)":"Серійний номер (UUID)",'ra_Serial number (UUID) "%s" in license is for other device.':'Серійний номер (UUID) "%s" у ліцензії призначений для іншого пристрою.',"ra_Show all folders":"Показати всі папки","ra_Show lines between rows":"Показувати лінії між рядками","ra_Show/Hide object descriptions":"Показати/Сховати описи об’єктів","ra_Show/hide filter input":"Показати/сховати введення фільтра","ra_Some data are not stored. Discard?":"Деякі дані не зберігаються. Відкинути?",ra_States:zIe,"ra_Suitable license not found in license manager":"Відповідна ліцензія не знайдена в менеджері ліцензій",ra_Sunday:LIe,"ra_Suppress question for next %s minutes":"Приховати запитання на наступні %s хвилин","ra_System language":"Системна мова","ra_Take browser position":"Займіть позицію з браузера","ra_Take position from system settings":"Займіть позицію в налаштуваннях системи",'ra_The experts may create objects everywhere but from second level (e.g. "vis.0" or "javascript.0").':"Експерти можуть створювати об’єкти всюди, крім другого рівня (наприклад, «vis.0» або «javascript.0»).","ra_The page you are looking for was not found":"Сторінка, яку ви шукаєте, не знайдена","ra_The schedule will be executed every minute. Are you sure?":"Розклад буде виконуватися щохвилини. Ви впевнені?","ra_The schedule will be executed every second. Are you sure?":"Розклад буде виконуватися щосекунди. Ви впевнені?",ra_Thursday:BIe,ra_Timestamp:WIe,"ra_Toggle expert mode":"Перемкнути експертний режим","ra_Toggle the states view":"Перемкнути перегляд штатів","ra_Toggle view mode":"Перемкнути режим перегляду","ra_Too big":"Занадто великий","ra_Too small":"Занадто малий","ra_Transparent dialog":"Прозорий діалог",ra_Tuesday:UIe,"ra_Unknown error":"Невідома помилка","ra_Unknown error!":"Невідома помилка!",ra_Update:HIe,"ra_Upload file":"Завантажити файл","ra_Use all available let's encrypt certificates":"Використовуйте всі доступні сертифікати let's encrypt","ra_Use iobroker.acme adapter for letsencrypt certificates":"Використовуйте адаптер iobroker.acme для сертифікатів letsencrypt","ra_Use system settings for position":"Використовуйте системні налаштування для позиції","ra_Used system settings":"Використані системні налаштування","ra_User files":"Файли користувача",ra_ValidTill:qIe,ra_Value:VIe,ra_Version:GIe,"ra_View file":"Переглянути файл","ra_View: %s":"Перегляд: %s",ra_Wednesday:XIe,ra_Width:JIe,ra_Yes:YIe,"ra_You can export all objects or just the selected branch.":"Ви можете експортувати всі об’єкти або лише вибрану гілку.","ra_You can filter entries by entering here some text":"Ви можете фільтрувати записи, ввівши тут певний текст",ra___different__:KIe,ra_aclEveryone_read_object:ZIe,ra_aclEveryone_read_state:QIe,ra_aclEveryone_write_object:eRe,ra_aclEveryone_write_state:tRe,ra_aclGroup_read_object:rRe,ra_aclGroup_read_state:nRe,ra_aclGroup_write_object:oRe,ra_aclGroup_write_state:sRe,ra_aclOwner_read_object:aRe,ra_aclOwner_read_state:iRe,ra_aclOwner_write_object:lRe,ra_aclOwner_write_state:cRe,ra_buttons:uRe,ra_changedFrom:dRe,ra_close:pRe,ra_create_boolean_state:fRe,ra_create_channel:hRe,ra_create_device:mRe,ra_create_number_state:_Re,ra_create_state:gRe,ra_create_string_state:yRe,ra_daysShortText:vRe,ra_dow_Fr:bRe,ra_dow_Mo:wRe,ra_dow_Sa:xRe,ra_dow_Su:SRe,ra_dow_Th:CRe,ra_dow_Tu:ERe,ra_dow_We:kRe,ra_expertMode:$Re,ra_fileType_all:TRe,ra_fileType_audio:ORe,ra_fileType_code:DRe,ra_fileType_images:NRe,ra_fileType_txt:MRe,ra_fileType_video:ARe,"ra_fileType_video,":"відео",ra_filter_customs:PRe,ra_filter_customs_without:IRe,ra_filter_func:RRe,ra_filter_id:jRe,ra_filter_name:FRe,ra_filter_role:zRe,ra_filter_room:LRe,ra_filter_type:BRe,"ra_import data from %s file":"Імпортувати дані з файлу %s",ra_invalidConfig:WRe,ra_lastChange:URe,ra_locally:HRe,ra_month_Apr:qRe,ra_month_Aug:VRe,ra_month_Dec:GRe,ra_month_Feb:XRe,ra_month_Jan:JRe,ra_month_Jul:YRe,ra_month_Jun:KRe,ra_month_Mai:ZRe,ra_month_Mar:QRe,ra_month_Nov:eje,ra_month_Oct:tje,ra_month_Sep:rje,ra_months_Apr:nje,ra_months_Aug:oje,ra_months_Dec:sje,ra_months_Feb:aje,ra_months_Jan:ije,ra_months_Jul:lje,ra_months_Jun:cje,ra_months_Mai:uje,ra_months_Mar:dje,ra_months_Nov:pje,ra_months_Oct:fje,ra_months_Sep:hje,"ra_no confirm for 5 mins":"без підтвердження протягом 5 хв",ra_none:mje,ra_object_changed_by:_je,ra_object_changed_by_user:gje,ra_otherConfig:yje,ra_qualityCode:vje,ra_repeat:bje,ra_select_folder_hint:wje,ra_state_changed_by:xje,ra_state_changed_from:Sje,ra_timestamp:Cje,ra_tooltip_ack:Eje,ra_tooltip_comment:kje,ra_tooltip_copyState:$je,ra_tooltip_customConfig:Tje,ra_tooltip_deleteObject:Oje,ra_tooltip_editObject:Dje,ra_tooltip_editState:Nje,ra_tooltip_expire:Mje,ra_tooltip_from:Aje,ra_tooltip_lc:Pje,ra_tooltip_quality:Ije,ra_tooltip_ts:Rje,ra_tooltip_user:jje,ra_tooltip_value:Fje,"ra_use seconds":"використовуйте секунди",ra_val:zje,"ra_via internet":"через інтернет",ra_warning_every_minute:Lje,ra_warning_every_second:Bje,sc_cron:Wje,sc_date:Uje,sc_dates:Hje,sc_dow:qje,sc_dows:Vje,sc_every:Gje,sc_everyN_dates:Xje,sc_everyN_dow:Jje,sc_everyN_dows:Yje,sc_everyN_hours:Kje,sc_everyN_minutes:Zje,sc_everyN_months:Qje,sc_everyN_seconds:e5e,sc_every_dates:t5e,sc_every_dow:r5e,sc_every_dows:n5e,sc_every_hours:o5e,sc_every_minutes:s5e,sc_every_months:a5e,sc_every_seconds:i5e,sc_from:l5e,sc_hours:c5e,sc_interval:u5e,sc_intervalBetween:d5e,sc_invalid_cron:p5e,sc_minutes:f5e,sc_months:h5e,sc_once:m5e,sc_period:_5e,sc_seconds:g5e,sc_simple:y5e,sc_specific:v5e,sc_specific_dates:b5e,sc_specific_dow:w5e,sc_specific_dows:x5e,sc_specific_hours:S5e,sc_specific_minutes:C5e,sc_specific_months:E5e,sc_specific_seconds:k5e,sc_time:$5e,sc_to:T5e,sc_wizard:O5e,sch_all:D5e,sch_astroDay:N5e,sch_astroNight:M5e,sch_astro_dawn:A5e,sch_astro_dusk:P5e,sch_astro_goldenHour:I5e,sch_astro_goldenHourEnd:R5e,sch_astro_nadir:j5e,sch_astro_nauticalDawn:F5e,sch_astro_nauticalDusk:z5e,sch_astro_night:L5e,sch_astro_nightEnd:B5e,sch_astro_solarNoon:W5e,sch_astro_sunrise:U5e,sch_astro_sunriseEnd:H5e,sch_astro_sunset:q5e,sch_astro_sunsetStart:V5e,sch_at:G5e,sch_desc_atTime:X5e,sch_desc_everyDay:J5e,sch_desc_everyHour:Y5e,sch_desc_everyMinute:K5e,sch_desc_everyMonth:Z5e,sch_desc_everyNDay:Q5e,sch_desc_everyNHours:e4e,sch_desc_everyNMinutes:t4e,sch_desc_everyNMonths:r4e,sch_desc_everyNWeeks:n4e,sch_desc_everyNYears:o4e,sch_desc_everyWeek:s4e,sch_desc_everyYear:a4e,sch_desc_intervalFromTo:i4e,sch_desc_never:l4e,sch_desc_onDate:c4e,sch_desc_onDates:u4e,sch_desc_onEveryDate:d4e,sch_desc_onMonth:p4e,sch_desc_onMonths:f4e,sch_desc_onWeekday:h4e,sch_desc_onWeekdays:m4e,sch_desc_onWeekends:_4e,sch_desc_onWorkdays:g4e,sch_desc_onceInPast:y4e,sch_desc_once_on:v4e,sch_desc_validFrom:b4e,sch_desc_validFromTo:w4e,sch_desc_validTo:x4e,sch_every:S4e,sch_exactTime:C4e,sch_from:E4e,sch_fromTo:k4e,sch_intervalTime:$4e,sch_invert:T4e,sch_no_one:O4e,sch_on:D4e,sch_period:N4e,sch_periodDaily:M4e,sch_periodDates:A4e,sch_periodDay:P4e,sch_periodEvery:I4e,sch_periodEveryDay:R4e,sch_periodEveryMonth:j4e,sch_periodEveryWeek:F4e,sch_periodEveryYear:z4e,sch_periodHours:L4e,sch_periodMinutes:B4e,sch_periodMonth:W4e,sch_periodMonthly:U4e,sch_periodOnce:H4e,sch_periodSpecificMonths:q4e,sch_periodWeek:V4e,sch_periodWeekdays:G4e,sch_periodWeekend:X4e,sch_periodWeekly:J4e,sch_periodWorkdays:Y4e,sch_periodYear:K4e,sch_periodYearly:Z4e,sch_specificTime:Q4e,sch_time:e3e,sch_to:t3e,sch_valid:r3e,sch_validFrom:n3e,sch_validTo:o3e,sch_wholeDay:s3e,sch_yearEveryMonth:a3e},l3e="操作",c3e="附加",u3e="取消",d3e="类别",p3e="勾选",f3e="删除",h3e="关",m3e="商业的",_3e="配置",g3e="连接的",y3e="复制的",v3e="创建",b3e="庄稼",w3e="Delete",x3e="删除",S3e="丢弃",C3e="断开连接",E3e="错误",k3e="筛选",$3e="星期五",T3e="纬度",O3e="经度",D3e="信息",N3e="周一",M3e="姓名",A3e="对象",P3e="好",I3e="产品",R3e="重复",j3e="代替",F3e="根",z3e="周六",L3e="保存",B3e="已选",W3e="状态",U3e="星期日",H3e="周四",q3e="时间戳记",V3e="周二",G3e="更新资料",X3e="有效期至",J3e="值",Y3e="版本",K3e="周三",Z3e="宽度",Q3e="是的",eFe="不同的",tFe="每个人都可以阅读对象",rFe="每个人都可以阅读状态",nFe="每个人都可以写对象",oFe="每个人都可以写状态",sFe="组可以读取对象",aFe="群组可以读取状态",iFe="组可以写对象",lFe="组可以写状态",cFe="所有者可以读取对象",uFe="所有者可以读取状态",dFe="所有者可以写对象",pFe="所有者可以写状态",fFe="纽扣",hFe="更改为",mFe="关闭",_Fe="创建布尔状态",gFe="创建频道",yFe="创建设备",vFe="创建号码状态",bFe="创建状态",wFe="创建字符串状态",xFe="天",SFe="r",CFe="莫",EFe="萨",kFe="苏",$Fe="Th",TFe="Tu",OFe="我们",DFe="专家模式",NFe="所有文件",MFe="声音的",AFe="代码/JSON",PFe="图片",IFe="文本",RFe="视频",jFe="设定值",FFe="没有",zFe="功能",LFe="ID",BFe="名称",WFe="角色",UFe="房间",HFe="类型",qFe="无效的设定",VFe="最后一次变更",GFe="本地",XFe="4月",JFe="八月",YFe="十二月",KFe="二月",ZFe="简",QFe="七月",eze="君",tze="迈",rze="三月",nze="十一月",oze="十月",sze="九月",aze="4月",ize="八月",lze="十二月",cze="二月",uze="简",dze="七月",pze="君",fze="迈",hze="三月",mze="十一月",_ze="十月",gze="九月",yze="没有任何",vze="物件变更者",bze="对象上次更改时间为",wze="来自其他适配器%s的设置",xze="质量代码",Sze="重复",Cze="要选择文件夹,只需按住“shift”键单击文件夹即可。",Eze="状态由",kze="对象已从更改",$ze="时间戳记",Tze="致谢国旗",Oze="评论",Dze="复制状态值",Nze="自定义设置",Mze="删除物件",Aze="编辑物件",Pze="编辑状态值",Ize="有效期:",Rze="从",jze="最后改变了",Fze="质量",zze="时间戳",Lze="用户",Bze="值",Wze="值",Uze="警告:CRON 作业将在指定期间内每分钟运行一次!",Hze="警告:CRON 作业将在指定期间内每秒运行一次!",qze="周期任务",Vze="日期",Gze="日",Xze="天",Jze="星期",Yze="每",Kze="每N天",Zze="每周的第 N 天",Qze="每周N天",e6e="每N小时一次",t6e="每N分钟",r6e="每N个月",n6e="每N秒",o6e="每天",s6e="一周的每一天",a6e="一周的每一天",i6e="每小时",l6e="每分钟",c6e="每月",u6e="每秒",d6e="从",p6e="小时",f6e="间隔",h6e="间隔时间",m6e="无效的 CRON",_6e="分钟",g6e="月",y6e="一次",v6e="周期",b6e="秒",w6e="简单模式",x6e="特定的时间",S6e="特定的日子",C6e="一周中的特定日子",E6e="特定的一周",k6e="特定的小时",$6e="特定的分钟",T6e="特定的月份",O6e="特定的描述",D6e="时间",N6e="至",M6e="向导模式",A6e="全选",P6e="天文白天",I6e="天文夜晚",R6e="黎明",j6e="黄昏",F6e="黄金时段",z6e="黄金时段结束",L6e="天底",B6e="航海黎明",W6e="航海黄昏",U6e="夜晚",H6e="夜晚结束",q6e="正午",V6e="日出",G6e="日出结束",X6e="日落",J6e="日落开始",Y6e="在",K6e="的%s",Z6e="每天",Q6e="每小时",eLe="每分钟",tLe="每月",rLe="每%s天",nLe="每%s小时",oLe="每%s分钟",sLe="每%s月",aLe="每%s周",iLe="每%s年",lLe="每周",cLe="每年",uLe="从%s到%s",dLe="决不",pLe="在%s的%s上",fLe="在%s和%s上",hLe="在每天",mLe="%s",_Le="%s和%s",gLe="在%s上",yLe="在%s和%s上",vLe="在周末",bLe="在工作日",wLe="将不再执行,因为起始时间已经是过去的时间了。",xLe="在%s上",SLe="来自%s",CLe="从执行到",ELe="到%s",kLe="每",$Le="特定的时间",TLe="从",OLe="从到",DLe="间隔时间",NLe="倒置",MLe="取消全选",ALe="的",PLe="周期",ILe="每天",RLe="日期",jLe="天",FLe="每",zLe="每天",LLe="每月",BLe="每周",WLe="每年",ULe="小时",HLe="分钟",qLe="月",VLe="每月一次",GLe="一次",XLe="特定的月份",JLe="周",YLe="工作日",KLe="周末",ZLe="每周",QLe="工作日",e8e="年",t8e="每年",r8e="特定的时间",n8e="时间",o8e="至",s8e="生效",a8e="从",i8e="至",l8e="一整天",c8e="每月",u8e={"ra_%s links from aliases":"来自别名的 %s 个链接","ra_%s object(s) processed":"已处理%s个对象","ra_%s was imported":"对象已导入","ra_Accept license":"接受许可",ra_Actions:l3e,"ra_Add new child object to selected parent":"将新的子对象添加到选定的父对象","ra_Add objects tree from JSON file":"从JSON文件添加对象树","ra_Add row":"添加行","ra_Advanced options":"高级选项","ra_All items are filtered out":"所有项目都被过滤掉","ra_All objects":"所有对象",ra_Append:c3e,"ra_Append %s entries or replace existing?":"追加 %s 条目还是替换现有条目?","ra_Append or replace?":"追加还是替换?","ra_Are you sure?":"你确定吗?","ra_Auto (no custom columns)":"自动(无自定义列)","ra_Back to %s":"返回“%s”","ra_Background image":"背景图像",ra_Cancel:u3e,"ra_Cannot add items with set filter":"无法使用设置过滤器添加项目","ra_Cannot decode license":"无法解码许可证","ra_Cannot determine position: System settings are empty and GPS detection is disabled in browser":"无法确定位置:系统设置为空且浏览器中禁用了 GPS 检测",'ra_Cannot find "%s"':"找不到“%s”",'ra_Cannot read "%s"':"无法阅读“%s”","ra_Cannot read licenses: %s":"无法读取许可证:%s","ra_Cannot retrieve options, as instance is offline":"无法检索选项,因为实例处于脱机状态","ra_Cannot update attribute, because not found in the object":"无法更新属性,因为在对象中找不到","ra_Cannot upload":"无法上传",ra_Categories:d3e,"ra_Chained certificate":"链式证书","ra_Change color theme":"更改颜色主题","ra_Changed from":"更改为","ra_Channel → State":"频道→状态","ra_Check license":"检查许可证",ra_Checked:p3e,ra_Clear:f3e,"ra_Clear filter":"清除筛选","ra_Clear icon":"清除图标","ra_Clone current row":"克隆当前行",ra_Close:h3e,"ra_Collapse all nodes":"收合所有节点","ra_Collapse one step node":"折叠一级",ra_Commercial:m3e,ra_Configure:_3e,"ra_Configure visible columns":"配置可见列","ra_Confirm deletion of %s":"确认删除%s",ra_Connected:g3e,ra_Copied:y3e,"ra_Copied %s":'复制的"%s"',"ra_Copy content":"复制内容",ra_Create:v3e,"ra_Create alias":"创建别名","ra_Create folder":"创建文件夹","ra_Create new folder in %s":"在%s中创建新文件夹",ra_Crop:b3e,"ra_Define CRON...":"定义 CRON...","ra_Define functions":"定义功能","ra_Define rooms":"定义房间","ra_Define schedule":"定义时间表","ra_Define schedule...":"定义时间表...",ra_Del:w3e,ra_Delete:x3e,"ra_Delete current row":"删除当前行","ra_Deselect all":"全部取消选择","ra_Device → Channel → State":"设备→频道→状态",ra_Discard:S3e,ra_Disconnected:C3e,"ra_Do not export values of states":"不导出状态值","ra_Do not use let's encrypt":"不要使用让我们加密","ra_Double click to reset table layout":"双击重置表格布局","ra_Drag 'n' drop some files here, or click to select files":"将一些文件拖放到此处,或单击以选择文件","ra_Drop file here":"将档案放在这里","ra_Drop the files here...":"把文件放在这里...","ra_Duplicate name":"名称重复","ra_Edit ACL":"编辑访问控制列表","ra_Edit alias":"编辑别名","ra_Edit custom config":"编辑自定义配置","ra_Edit function":"编辑功能","ra_Edit object field":"编辑对象字段","ra_Edit role":"编辑角色","ra_Edit room":"编辑室","ra_Edit value":"编辑值",ra_Error:E3e,"ra_Expand all nodes":"展开所有节点","ra_Expand one step node":"扩大一级","ra_Export data to %s file":"将数据导出到 %s 文件","ra_Failed to open JSON File":"无法打开JSON文件","ra_Fallback custom certificates":"后备自定义证书","ra_File is too big. Max %sk allowed. Try use SVG.":"文件太大。允许的最大字节%s数。尝试使用 SVG。",ra_Filter:k3e,"ra_Filter and Data Actions":"过滤和数据操作","ra_Filter files":"过滤文件","ra_Folder name":"文件夹名称","ra_Folder → Channel → State":"文件夹→频道→状态","ra_Folder → Device → Channel → State":"文件夹→设备→频道→状态","ra_Folder → State":"文件夹→状态","ra_Folders always first":"资料夹永远优先",ra_Friday:$3e,"ra_Good luck":"祝你好运","ra_Hide empty folders":"隐藏空文件夹","ra_If no file will be created in the folder, it will disappear after the browser closed":"如果在该文件夹中未创建任何文件,则该文件将在浏览器关闭后消失","ra_Import data from %s file":"从 %s 文件导入数据","ra_Import from %s":"从 %s 导入","ra_Instance %s is alive":"实例 %s 是活动的","ra_Instance %s is not alive":"实例 %s 不存在","ra_Instance is not alive":"实例不存在","ra_Invalid CRON":"无效的 CRON","ra_Invalid JSON":"JSON 无效","ra_Invalid answer from server":"来自服务器的无效答案","ra_Invalid parent folder!":"父文件夹无效!","ra_Invalid structure":"结构无效","ra_JSON editor":"JSON 编辑器","ra_Last change":"最后一次变更",ra_Latitude:T3e,"ra_License %s":"许可证 %s","ra_License agreement":"许可协议","ra_License does not exist":"许可证不存在","ra_License expired on %s":"许可证已于 %s 过期",'ra_License for other product "%s"':"其他产品“%s”的许可证","ra_License is for version %s, but required version is %s.":"许可证适用于版本 %s,但所需版本为 %s。","ra_License must be converted":"许可证必须转换为更新版本。您可以在 iobroker.net 个人资料中执行此操作。","ra_License not found in license manager. Do you want to read licenses from iobroker.net?":"在许可证管理器中找不到许可证。您要从 iobroker.net 更新许可证吗?","ra_Listen on all IPs":"监听所有IP","ra_Load configuration from file":"从文件加载配置",ra_Longitude:O3e,'ra_May not trigger "updateLicenses"':"可能不会触发“updateLicenses”",ra_Message:D3e,ra_Monday:N3e,"ra_Move down":"下移","ra_Move up":"提升",ra_Name:M3e,"ra_No data found in file":"文件中未找到数据","ra_No one license found in license manager":"许可证管理器中未找到任何许可证","ra_No response from the backend":"后端无响应",'ra_Non-experts may create new objects only in "0_userdata.0" or "alias.0".':"非专家只能在“ 0_userdata.0”或“ alias.0”中创建新对象。","ra_Not a number":"不是数字",ra_Objects:A3e,ra_Ok:P3e,"ra_On weekdays":"在工作日","ra_Only following structures of objects are available:":"仅以下对象结构可用:","ra_Only selected":"只选择","ra_Owner group":"所有者组","ra_Owner user":"所有者用户","ra_Passwords are not equal!":"密码不相等!","ra_Place your files here or click here to open the browse dialog":"将文件放在此处或单击此处打开浏览对话框","ra_Please confirm":"请确认","ra_Please create license":"请创建许可证","ra_Please enter the license":"请输入许可证","ra_Please select file...":"请选择文件...","ra_Please select object ID...":"请选择对象ID ...","ra_Port could be used by %s":"%s 可以使用端口","ra_Port is already used by %s":"端口已被 %s 使用","ra_Press ENTER Key to add new item":"按 ENTER 键添加新项目","ra_Private certificate":"私有证书",ra_Product:I3e,"ra_Public certificate":"公共证书","ra_Quality code":"质量代码","ra_Refresh tree":"刷新树","ra_Reload files":"重新载入文件",ra_Repeat:R3e,ra_Replace:j3e,"ra_Request timed out":"请求超时","ra_Restrict to folder":"限制到文件夹",ra_Root:F3e,ra_Saturday:z3e,ra_Save:L3e,"ra_Save and close":"保存并关闭","ra_Save configuration to file":"将配置保存到文件","ra_Save objects tree as JSON file":"将对象树另存为JSON文件","ra_Select all":"全选","ra_Select color":"选择颜色","ra_Select predefined icon":"选择预定义图标","ra_Select type of export":"选择导出类型",ra_Selected:B3e,"ra_Selected %s object(s)":"选定的 %s 个对象","ra_Serial number (UUID)":"序列号 (UUID)",'ra_Serial number (UUID) "%s" in license is for other device.':"许可证中的序列号 (UUID)“%s”用于其他设备。","ra_Show all folders":"显示所有文件夹","ra_Show lines between rows":"显示行之间的线","ra_Show/Hide object descriptions":"显示/隐藏对象描述","ra_Show/hide filter input":"显示/隐藏过滤器输入","ra_Some data are not stored. Discard?":"部分数据未存储。丢弃?",ra_States:W3e,"ra_Suitable license not found in license manager":"在许可证管理器中找不到合适的许可证",ra_Sunday:U3e,"ra_Suppress question for next %s minutes":"在接下来的%s分钟内取消提问","ra_System language":"系统语言","ra_Take browser position":"从浏览器获取位置","ra_Take position from system settings":"从系统设置中获取位置",'ra_The experts may create objects everywhere but from second level (e.g. "vis.0" or "javascript.0").':"专家可以在任何地方创建对象,但要从第二层开始(例如“ vis.0”或“ javascript.0”)。","ra_The page you are looking for was not found":"未找到您要查找的页面","ra_The schedule will be executed every minute. Are you sure?":"该计划将每分钟执行一次。您确定吗?","ra_The schedule will be executed every second. Are you sure?":"该计划将每秒执行一次。你确定吗?",ra_Thursday:H3e,ra_Timestamp:q3e,"ra_Toggle expert mode":"切换专家模式","ra_Toggle the states view":"切换状态视图","ra_Toggle view mode":"切换检视模式","ra_Too big":"太大","ra_Too small":"太小","ra_Transparent dialog":"透明对话框",ra_Tuesday:V3e,"ra_Unknown error":"未知错误","ra_Unknown error!":"未知错误!",ra_Update:G3e,"ra_Upload file":"上传文件","ra_Use all available let's encrypt certificates":"使用所有可用的让我们加密证书","ra_Use iobroker.acme adapter for letsencrypt certificates":"使用 iobroker.acme 适配器获取 letsencrypt 证书","ra_Use system settings for position":"使用系统设置定位","ra_Used system settings":"使用的系统设置","ra_User files":"用户档案",ra_ValidTill:X3e,ra_Value:J3e,ra_Version:Y3e,"ra_View file":"查看文件","ra_View: %s":"查看:%s",ra_Wednesday:K3e,ra_Width:Z3e,ra_Yes:Q3e,"ra_You can export all objects or just the selected branch.":"您可以导出所有对象或仅导出选定的分支。","ra_You can filter entries by entering here some text":"您可以通过在此处输入一些文本来过滤条目",ra___different__:eFe,ra_aclEveryone_read_object:tFe,ra_aclEveryone_read_state:rFe,ra_aclEveryone_write_object:nFe,ra_aclEveryone_write_state:oFe,ra_aclGroup_read_object:sFe,ra_aclGroup_read_state:aFe,ra_aclGroup_write_object:iFe,ra_aclGroup_write_state:lFe,ra_aclOwner_read_object:cFe,ra_aclOwner_read_state:uFe,ra_aclOwner_write_object:dFe,ra_aclOwner_write_state:pFe,ra_buttons:fFe,ra_changedFrom:hFe,ra_close:mFe,ra_create_boolean_state:_Fe,ra_create_channel:gFe,ra_create_device:yFe,ra_create_number_state:vFe,ra_create_state:bFe,ra_create_string_state:wFe,ra_daysShortText:xFe,ra_dow_Fr:SFe,ra_dow_Mo:CFe,ra_dow_Sa:EFe,ra_dow_Su:kFe,ra_dow_Th:$Fe,ra_dow_Tu:TFe,ra_dow_We:OFe,ra_expertMode:DFe,ra_fileType_all:NFe,ra_fileType_audio:MFe,ra_fileType_code:AFe,ra_fileType_images:PFe,ra_fileType_txt:IFe,ra_fileType_video:RFe,"ra_fileType_video,":"视频",ra_filter_customs:jFe,ra_filter_customs_without:FFe,ra_filter_func:zFe,ra_filter_id:LFe,ra_filter_name:BFe,ra_filter_role:WFe,ra_filter_room:UFe,ra_filter_type:HFe,"ra_import data from %s file":"从 %s 文件导入数据",ra_invalidConfig:qFe,ra_lastChange:VFe,ra_locally:GFe,ra_month_Apr:XFe,ra_month_Aug:JFe,ra_month_Dec:YFe,ra_month_Feb:KFe,ra_month_Jan:ZFe,ra_month_Jul:QFe,ra_month_Jun:eze,ra_month_Mai:tze,ra_month_Mar:rze,ra_month_Nov:nze,ra_month_Oct:oze,ra_month_Sep:sze,ra_months_Apr:aze,ra_months_Aug:ize,ra_months_Dec:lze,ra_months_Feb:cze,ra_months_Jan:uze,ra_months_Jul:dze,ra_months_Jun:pze,ra_months_Mai:fze,ra_months_Mar:hze,ra_months_Nov:mze,ra_months_Oct:_ze,ra_months_Sep:gze,"ra_no confirm for 5 mins":"5分钟内无需确认",ra_none:yze,ra_object_changed_by:vze,ra_object_changed_by_user:bze,ra_otherConfig:wze,ra_qualityCode:xze,ra_repeat:Sze,ra_select_folder_hint:Cze,ra_state_changed_by:Eze,ra_state_changed_from:kze,ra_timestamp:$ze,ra_tooltip_ack:Tze,ra_tooltip_comment:Oze,ra_tooltip_copyState:Dze,ra_tooltip_customConfig:Nze,ra_tooltip_deleteObject:Mze,ra_tooltip_editObject:Aze,ra_tooltip_editState:Pze,ra_tooltip_expire:Ize,ra_tooltip_from:Rze,ra_tooltip_lc:jze,ra_tooltip_quality:Fze,ra_tooltip_ts:zze,ra_tooltip_user:Lze,ra_tooltip_value:Bze,"ra_use seconds":"用秒",ra_val:Wze,"ra_via internet":"通过互联网",ra_warning_every_minute:Uze,ra_warning_every_second:Hze,sc_cron:qze,sc_date:Vze,sc_dates:Gze,sc_dow:Xze,sc_dows:Jze,sc_every:Yze,sc_everyN_dates:Kze,sc_everyN_dow:Zze,sc_everyN_dows:Qze,sc_everyN_hours:e6e,sc_everyN_minutes:t6e,sc_everyN_months:r6e,sc_everyN_seconds:n6e,sc_every_dates:o6e,sc_every_dow:s6e,sc_every_dows:a6e,sc_every_hours:i6e,sc_every_minutes:l6e,sc_every_months:c6e,sc_every_seconds:u6e,sc_from:d6e,sc_hours:p6e,sc_interval:f6e,sc_intervalBetween:h6e,sc_invalid_cron:m6e,sc_minutes:_6e,sc_months:g6e,sc_once:y6e,sc_period:v6e,sc_seconds:b6e,sc_simple:w6e,sc_specific:x6e,sc_specific_dates:S6e,sc_specific_dow:C6e,sc_specific_dows:E6e,sc_specific_hours:k6e,sc_specific_minutes:$6e,sc_specific_months:T6e,sc_specific_seconds:O6e,sc_time:D6e,sc_to:N6e,sc_wizard:M6e,sch_all:A6e,sch_astroDay:P6e,sch_astroNight:I6e,sch_astro_dawn:R6e,sch_astro_dusk:j6e,sch_astro_goldenHour:F6e,sch_astro_goldenHourEnd:z6e,sch_astro_nadir:L6e,sch_astro_nauticalDawn:B6e,sch_astro_nauticalDusk:W6e,sch_astro_night:U6e,sch_astro_nightEnd:H6e,sch_astro_solarNoon:q6e,sch_astro_sunrise:V6e,sch_astro_sunriseEnd:G6e,sch_astro_sunset:X6e,sch_astro_sunsetStart:J6e,sch_at:Y6e,sch_desc_atTime:K6e,sch_desc_everyDay:Z6e,sch_desc_everyHour:Q6e,sch_desc_everyMinute:eLe,sch_desc_everyMonth:tLe,sch_desc_everyNDay:rLe,sch_desc_everyNHours:nLe,sch_desc_everyNMinutes:oLe,sch_desc_everyNMonths:sLe,sch_desc_everyNWeeks:aLe,sch_desc_everyNYears:iLe,sch_desc_everyWeek:lLe,sch_desc_everyYear:cLe,sch_desc_intervalFromTo:uLe,sch_desc_never:dLe,sch_desc_onDate:pLe,sch_desc_onDates:fLe,sch_desc_onEveryDate:hLe,sch_desc_onMonth:mLe,sch_desc_onMonths:_Le,sch_desc_onWeekday:gLe,sch_desc_onWeekdays:yLe,sch_desc_onWeekends:vLe,sch_desc_onWorkdays:bLe,sch_desc_onceInPast:wLe,sch_desc_once_on:xLe,sch_desc_validFrom:SLe,sch_desc_validFromTo:CLe,sch_desc_validTo:ELe,sch_every:kLe,sch_exactTime:$Le,sch_from:TLe,sch_fromTo:OLe,sch_intervalTime:DLe,sch_invert:NLe,sch_no_one:MLe,sch_on:ALe,sch_period:PLe,sch_periodDaily:ILe,sch_periodDates:RLe,sch_periodDay:jLe,sch_periodEvery:FLe,sch_periodEveryDay:zLe,sch_periodEveryMonth:LLe,sch_periodEveryWeek:BLe,sch_periodEveryYear:WLe,sch_periodHours:ULe,sch_periodMinutes:HLe,sch_periodMonth:qLe,sch_periodMonthly:VLe,sch_periodOnce:GLe,sch_periodSpecificMonths:XLe,sch_periodWeek:JLe,sch_periodWeekdays:YLe,sch_periodWeekend:KLe,sch_periodWeekly:ZLe,sch_periodWorkdays:QLe,sch_periodYear:e8e,sch_periodYearly:t8e,sch_specificTime:r8e,sch_time:n8e,sch_to:o8e,sch_valid:s8e,sch_validFrom:a8e,sch_validTo:i8e,sch_wholeDay:l8e,sch_yearEveryMonth:c8e},d8e={en:PK,de:jre,ru:Lie,pt:Upe,nl:Vge,fr:Jwe,it:ZEe,es:tDe,pl:oIe,uk:i3e,"zh-cn":u8e},p8e=` +html { + height: 100%; +} + +body { + margin: 0; + padding: 0; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + width: 100%; + height: 100%; + overflow: hidden; +} + +/* scrollbar */ +::-webkit-scrollbar-track { + background-color: #ccc; + border-radius: 5px; +} + +::-webkit-scrollbar { + width: 5px; + height: 5px; + background-color: #ccc; +} + +::-webkit-scrollbar-thumb { + background-color: #575757; + border-radius: 5px; +} + +#root { + height: 100%; +} + +.App { + height: 100%; +} + +@keyframes glow { + from { + background-color: initial; + } + to { + background-color: #58c458; + } +} +`;class Ks extends $u{constructor(r,n){const o=r.Connection||(n==null?void 0:n.Connection)||ds;if(!window.document.getElementById("generic-app-iobroker-component")){const d=window.document.createElement("style");d.setAttribute("id","generic-app-iobroker-component"),d.innerHTML=p8e,window.document.head.appendChild(d)}if(!Ks.isWeb()&&window.io&&window.location.port==="3000")try{const d=new window.SocketClient;delete window.io,window.io=d}catch{}super(r);Y(this,"socket");Y(this,"instance");Y(this,"adapterName");Y(this,"instanceId");Y(this,"newReact");Y(this,"encryptedFields");Y(this,"sentryDSN");Y(this,"alertDialogRendered");Y(this,"_secret");Y(this,"_systemConfig");Y(this,"savedNative");Y(this,"common",null);Y(this,"sentryStarted",!1);Y(this,"sentryInited",!1);Y(this,"resizeTimer",null);Y(this,"onSystemConfigChanged",(r,n)=>{var o,s;n&&r==="system.config"&&(this.socket.systemLang!==(n==null?void 0:n.common.language)&&(this.socket.systemLang=(n==null?void 0:n.common.language)||"en",R.setLanguage(this.socket.systemLang)),((o=this._systemConfig)==null?void 0:o.expertMode)!==!!((s=n==null?void 0:n.common)!=null&&s.expertMode)?(this._systemConfig=(n==null?void 0:n.common)||{},this.setState({expertMode:this.getExpertMode()})):this._systemConfig=(n==null?void 0:n.common)||{})});Y(this,"onReceiveMessage",r=>{if(r!=null&&r.data)if(r.data==="updateTheme"){const n=Se.getThemeName();Se.setThemeName(Se.getThemeName());const o=this.createTheme(n);this.setState({theme:o,themeName:this.getThemeName(o),themeType:this.getThemeType(o)},()=>{this.props.onThemeChange&&this.props.onThemeChange(n),this.onThemeChanged&&this.onThemeChanged(n)})}else r.data==="updateExpertMode"?this.onToggleExpertMode&&this.onToggleExpertMode(this.getExpertMode()):r.data!=="chartReady"&&console.debug(`Received unknown message: "${JSON.stringify(r.data)}". May be it will be processed later`)});Y(this,"onResize",()=>{this.resizeTimer&&clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout(()=>{this.resizeTimer=null,this.setState({width:Ks.getWidth()})},200)});SV();const s=(window.location.search||"").replace(/^\?/,"").replace(/#.*$/,""),a={};s.trim().split("&").filter(d=>d.trim()).forEach(d=>{const _=d.split("=");a[_[0]]=_.length===2?_[1]:!0,a[_[0]]==="true"?a[_[0]]=!0:a[_[0]]==="false"&&(a[_[0]]=!1)}),this.instance=(n==null?void 0:n.instance)??r.instance??(a.instance!==void 0?parseInt(a.instance,10)||0:parseInt(window.location.search.slice(1),10)||0);const l=window.location.pathname.split("/");this.adapterName=(n==null?void 0:n.adapterName)||r.adapterName||window.adapterName||l[l.length-2]||"iot",this.instanceId=`system.adapter.${this.adapterName}.${this.instance}`,this.newReact=a.newReact===!0;const u=$u.getLocation();u.tab=u.tab||(window._localStorage||window.localStorage).getItem(`${this.adapterName}-adapter`)||"";const p=this.createTheme();this.state=Object.assign(this.state||{},{selectedTab:(window._localStorage||window.localStorage).getItem(`${this.adapterName}-adapter`)||"",selectedTabNum:-1,native:{},errorText:"",changed:!1,connected:!1,loaded:!1,isConfigurationError:"",expertMode:!1,toast:"",theme:p,themeName:this.getThemeName(p),themeType:this.getThemeType(p),bottomButtons:(n&&n.bottomButtons)===!1?!1:(r==null?void 0:r.bottomButtons)!==!1,width:Ks.getWidth(),confirmClose:!1,_alert:!1,_alertType:"info",_alertMessage:""});const h=d8e;n!=null&&n.translations?Object.keys(n.translations).forEach(d=>{n.translations&&(h[d]=Object.assign(h[d],n.translations[d]||{}))}):r.translations&&Object.keys(r.translations).forEach(d=>{r.translations&&(h[d]=Object.assign(h[d],r.translations[d]||{}))}),R.setTranslations(h),this.savedNative={},this.encryptedFields=r.encryptedFields||(n==null?void 0:n.encryptedFields)||[],this.sentryDSN=n&&n.sentryDSN||r.sentryDSN,window.socketUrl&&(window.socketUrl.startsWith(":")?window.socketUrl=`${window.location.protocol}//${window.location.hostname}${window.socketUrl}`:!window.socketUrl.startsWith("http://")&&!window.socketUrl.startsWith("https://")&&(window.socketUrl=`${window.location.protocol}//${window.socketUrl}`)),this.alertDialogRendered=!1,window.iobOldAlert||(window.iobOldAlert=window.alert),window.alert=d=>{if(!this.alertDialogRendered){window.iobOldAlert(d);return}d!=null&&d.toString().toLowerCase().includes("error")?(console.error(d),this.showAlert(d.toString(),"error")):(console.log(d),this.showAlert(d.toString(),"info"))},this.socket=new o({...(r==null?void 0:r.socket)||(n==null?void 0:n.socket),name:this.adapterName,doNotLoadAllObjects:n==null?void 0:n.doNotLoadAllObjects,onProgress:d=>{d===Ao.CONNECTING?this.setState({connected:!1}):d===Ao.READY?this.setState({connected:!0}):this.setState({connected:!0})},onReady:()=>{R.setLanguage(this.socket.systemLang),this.socket.subscribeObject("system.config",this.onSystemConfigChanged).then(()=>this.getSystemConfig()).then(d=>(this._secret=typeof d<"u"&&d.native&&d.native.secret||"Zgfr56gFe87jJOM",this._systemConfig=(d==null?void 0:d.common)||{},this.socket.getObject(this.instanceId))).then(async d=>{var x,C;let _;const g=d,w=((x=await this.socket.getState(`${this.instanceId}.plugins.sentry.enabled`))==null?void 0:x.val)!==!1&&((C=this._systemConfig)==null?void 0:C.diag)!=="none"&&(g==null?void 0:g.common)&&g.common.name&&g.common.version&&!g.common.disableDataReporting&&window.location.host!=="localhost:3000";!this.sentryStarted&&this.sentryDSN&&w&&(this.sentryStarted=!0,Fq({dsn:this.sentryDSN,release:`iobroker.${g.common.name}@${g.common.version}`,integrations:[ZM()]}),console.log("Sentry initialized")),!this.sentryInited&&w&&(this.sentryInited=!0,_=this.socket.getObject("system.meta.uuid").then(M=>{M&&M.native&&M.native.uuid&&Go().setUser({id:M.native.uuid})})),_=_ instanceof Promise?_:Promise.resolve(),_.then(()=>{g?(this.common=g==null?void 0:g.common,this.onPrepareLoad(g.native,g.encryptedNative),this.savedNative=JSON.parse(JSON.stringify(g.native)),this.setState({native:g.native,loaded:!0,expertMode:this.getExpertMode()},()=>this.onConnectionReady&&this.onConnectionReady())):(console.warn("Cannot load instance settings"),this.setState({native:{},loaded:!0,expertMode:this.getExpertMode()},()=>this.onConnectionReady&&this.onConnectionReady()))})}).catch(d=>window.alert(`Cannot settings: ${d}`))},onError:d=>{console.error(d),this.showError(d)}})}static isWeb(){return window.socketUrl!==void 0}showAlert(r,n){n!=="error"&&n!=="warning"&&n!=="info"&&n!=="success"&&(n="info"),this.setState({_alert:!0,_alertType:n,_alertMessage:r})}renderAlertSnackbar(){return this.alertDialogRendered=!0,m.createElement(Of,{style:this.state._alertType==="error"?{backgroundColor:"#f44336"}:this.state._alertType==="success"?{backgroundColor:"#4caf50"}:void 0,open:this.state._alert,autoHideDuration:6e3,onClose:(r,n)=>n!=="clickaway"&&this.setState({_alert:!1}),message:this.state._alertMessage})}componentDidMount(){window.addEventListener("resize",this.onResize,!0),window.addEventListener("message",this.onReceiveMessage,!1),super.componentDidMount()}componentWillUnmount(){window.removeEventListener("resize",this.onResize,!0),window.removeEventListener("message",this.onReceiveMessage,!1),window.iobOldAlert&&(window.alert=window.iobOldAlert,delete window.iobOldAlert),super.componentWillUnmount()}static getWidth(){const r={xs:0,sm:600,md:960,lg:1280,xl:1920},n=window.innerWidth;return Object.keys(r).reverse().find(a=>n>=r[a])||"xs"}createTheme(r){return S7(Se.getThemeName(r))}getThemeName(r){return r.name}getThemeType(r){return r.palette.mode}onThemeChanged(r){}onToggleExpertMode(r){}toggleTheme(r){const n=this.state.themeName;if(r=r||(n==="dark"||n==="blue"||n==="colored"?"light":"dark"),r!==n){Se.setThemeName(r);const o=this.createTheme(r);this.setState({theme:o,themeName:this.getThemeName(o),themeType:this.getThemeType(o)},()=>{this.props.onThemeChange&&this.props.onThemeChange(r||"light"),this.onThemeChanged&&this.onThemeChanged(r||"light")})}}getSystemConfig(){return this.socket.getSystemConfig()}getExpertMode(){var r;return window.sessionStorage.getItem("App.expertMode")==="true"||!!((r=this._systemConfig)!=null&&r.expertMode)}onConnectionReady(){}encrypt(r){let n="";if(this._secret)for(let o=0;o{r[n]&&(r[n]=this.encrypt(r[n]))}),!0}onPrepareLoad(r,n){this.encryptedFields&&this.encryptedFields.forEach(o=>{r[o]&&(r[o]=this.decrypt(r[o]))}),n&&n.forEach(o=>{this.encryptedFields=this.encryptedFields||[],!this.encryptedFields.includes(o)&&this.encryptedFields.push(o),r[o]&&(r[o]=this.decrypt(r[o]))})}async getExtendableInstances(){try{const r=await this.socket.getObjectViewSystem("instance","system.adapter.","system.adapter.香");return Object.values(r).filter(n=>{var o;return!!((o=n==null?void 0:n.common)!=null&&o.webExtendable)})}catch{return[]}}async getIpAddresses(r){var a;const n=await this.socket.getHostByIp(r||((a=this.common)==null?void 0:a.host)||""),o=n.find(l=>l.address==="0.0.0.0");o&&(o.name=`[IPv4] 0.0.0.0 - ${R.t("ra_Listen on all IPs")}`);const s=n.find(l=>l.address==="::");return s&&(s.name=`[IPv4] :: - ${R.t("ra_Listen on all IPs")}`),n}onSave(r){let n;if(this.state.isConfigurationError){this.setState({errorText:this.state.isConfigurationError});return}this.socket.getObject(this.instanceId).then(o=>{n=o||{};for(const s in this.state.native)Object.prototype.hasOwnProperty.call(this.state.native,s)&&(this.state.native[s]===null?n.native[s]=null:this.state.native[s]!==void 0?n.native[s]=JSON.parse(JSON.stringify(this.state.native[s])):delete n.native[s]);if(this.state.common)for(const s in this.state.common)this.state.common[s]===null?n.common[s]=null:this.state.common[s]!==void 0?n.common[s]=JSON.parse(JSON.stringify(this.state.common[s])):delete n.common[s];return this.onPrepareSave(n.native)!==!1?this.socket.setObject(this.instanceId,n):Promise.reject(new Error("Invalid configuration"))}).then(()=>{this.savedNative=n.native,globalThis.changed=!1;try{window.parent.postMessage("nochange","*")}catch{}this.setState({changed:!1},()=>{r&&Ks.onClose()})}).catch(o=>console.error(`Cannot save configuration: ${o}`))}renderToast(){return this.state.toast?m.createElement(Of,{anchorOrigin:{vertical:"bottom",horizontal:"left"},open:!0,autoHideDuration:6e3,onClose:()=>this.setState({toast:""}),ContentProps:{"aria-describedby":"message-id"},message:m.createElement("span",{id:"message-id"},this.state.toast),action:[m.createElement(dt,{key:"close","aria-label":"Close",color:"inherit",onClick:()=>this.setState({toast:""}),size:"large"},m.createElement(Hr,null))]}):null}static onClose(){if(typeof window.parent<"u"&&window.parent)try{window.parent.$iframeDialog&&typeof window.parent.$iframeDialog.close=="function"?window.parent.$iframeDialog.close():window.parent.postMessage("close","*")}catch{window.parent.postMessage("close","*")}}renderError(){return this.state.errorText?m.createElement(Hw,{text:this.state.errorText,onClose:()=>this.setState({errorText:""})}):null}getIsChanged(r){r=r||this.state.native;const n=JSON.stringify(r)!==JSON.stringify(this.savedNative);return globalThis.changed=n,n}onLoadConfig(r){JSON.stringify(r)!==JSON.stringify(this.state.native)&&this.setState({native:r,changed:this.getIsChanged(r)})}setConfigurationError(r){this.state.isConfigurationError!==r&&this.setState({isConfigurationError:r})}renderSaveCloseButtons(){return!this.state.confirmClose&&!this.state.bottomButtons?null:m.createElement(m.Fragment,null,this.state.bottomButtons?m.createElement(NV,{theme:this.state.theme,newReact:this.newReact,noTextOnButtons:this.state.width==="xs"||this.state.width==="sm"||this.state.width==="md",changed:this.state.changed,onSave:r=>this.onSave(r),onClose:()=>{this.state.changed?this.setState({confirmClose:!0}):Ks.onClose()},error:!!this.state.isConfigurationError}):null,this.state.confirmClose?m.createElement(yA,{title:R.t("ra_Please confirm"),text:R.t("ra_Some data are not stored. Discard?"),ok:R.t("ra_Discard"),cancel:R.t("ra_Cancel"),onClose:r=>this.setState({confirmClose:!1},()=>r&&Ks.onClose())}):null)}_updateNativeValue(r,n,o){typeof n!="object"&&(n=n.split("."));const s=n.shift()||"";if(!n.length)return o&&typeof o=="object"?JSON.stringify(r[s])!==JSON.stringify(o)?(r[s]=o,!0):!1:r[s]!==o?(r[s]=o,!0):!1;if(r[s]=r[s]||{},typeof r[s]!="object")throw new Error(`attribute ${s} is no object, but ${typeof r[s]}`);return this._updateNativeValue(r[s],n,o)}updateNativeValue(r,n,o){const s=JSON.parse(JSON.stringify(this.state.native));if(this._updateNativeValue(s,r,n)){const a=this.getIsChanged(s);if(a!==this.state.changed)try{window.parent.postMessage(a?"change":"nochange","*")}catch{}this.setState({native:s,changed:a},o)}}showError(r){this.setState({errorText:r})}showToast(r){this.setState({toast:r})}renderHelperDialogs(){return m.createElement(m.Fragment,null,this.renderError(),this.renderToast(),this.renderSaveCloseButtons(),this.renderAlertSnackbar())}render(){return this.state.loaded?m.createElement("div",{className:"App"},this.renderError(),this.renderToast(),this.renderSaveCloseButtons(),this.renderAlertSnackbar()):m.createElement(gA,{themeType:this.state.themeType})}}var dn={},Vi={},rg,r$;function vA(){if(r$)return rg;r$=1;var t=typeof Sp=="object"&&Sp&&Sp.Object===Object&&Sp;return rg=t,rg}var ng,n$;function Xo(){if(n$)return ng;n$=1;var t=vA(),e=typeof self=="object"&&self&&self.Object===Object&&self,r=t||e||Function("return this")();return ng=r,ng}var og,o$;function ud(){if(o$)return og;o$=1;var t=Xo(),e=t.Symbol;return og=e,og}var sg,s$;function f8e(){if(s$)return sg;s$=1;var t=ud(),e=Object.prototype,r=e.hasOwnProperty,n=e.toString,o=t?t.toStringTag:void 0;function s(a){var l=r.call(a,o),u=a[o];try{a[o]=void 0;var p=!0}catch{}var h=n.call(a);return p&&(l?a[o]=u:delete a[o]),h}return sg=s,sg}var ag,a$;function h8e(){if(a$)return ag;a$=1;var t=Object.prototype,e=t.toString;function r(n){return e.call(n)}return ag=r,ag}var ig,i$;function ci(){if(i$)return ig;i$=1;var t=ud(),e=f8e(),r=h8e(),n="[object Null]",o="[object Undefined]",s=t?t.toStringTag:void 0;function a(l){return l==null?l===void 0?o:n:s&&s in Object(l)?e(l):r(l)}return ig=a,ig}var lg,l$;function vo(){if(l$)return lg;l$=1;var t=Array.isArray;return lg=t,lg}var cg,c$;function bs(){if(c$)return cg;c$=1;function t(e){return e!=null&&typeof e=="object"}return cg=t,cg}var ug,u$;function m8e(){if(u$)return ug;u$=1;var t=ci(),e=vo(),r=bs(),n="[object String]";function o(s){return typeof s=="string"||!e(s)&&r(s)&&t(s)==n}return ug=o,ug}var dg,d$;function _8e(){if(d$)return dg;d$=1;function t(e){return function(r,n,o){for(var s=-1,a=Object(r),l=o(r),u=l.length;u--;){var p=l[e?u:++s];if(n(a[p],p,a)===!1)break}return r}}return dg=t,dg}var pg,p$;function g8e(){if(p$)return pg;p$=1;var t=_8e(),e=t();return pg=e,pg}var fg,f$;function y8e(){if(f$)return fg;f$=1;function t(e,r){for(var n=-1,o=Array(e);++n-1&&n%1==0&&n-1&&r%1==0&&r<=t}return yg=e,yg}var vg,b$;function w8e(){if(b$)return vg;b$=1;var t=ci(),e=Vw(),r=bs(),n="[object Arguments]",o="[object Array]",s="[object Boolean]",a="[object Date]",l="[object Error]",u="[object Function]",p="[object Map]",h="[object Number]",d="[object Object]",_="[object RegExp]",g="[object Set]",v="[object String]",w="[object WeakMap]",x="[object ArrayBuffer]",C="[object DataView]",M="[object Float32Array]",$="[object Float64Array]",E="[object Int8Array]",k="[object Int16Array]",T="[object Int32Array]",A="[object Uint8Array]",I="[object Uint8ClampedArray]",j="[object Uint16Array]",O="[object Uint32Array]",F={};F[M]=F[$]=F[E]=F[k]=F[T]=F[A]=F[I]=F[j]=F[O]=!0,F[n]=F[o]=F[x]=F[s]=F[C]=F[a]=F[l]=F[u]=F[p]=F[h]=F[d]=F[_]=F[g]=F[v]=F[w]=!1;function H(q){return r(q)&&e(q.length)&&!!F[t(q)]}return vg=H,vg}var bg,w$;function Gw(){if(w$)return bg;w$=1;function t(e){return function(r){return e(r)}}return bg=t,bg}var fu={exports:{}};fu.exports;var x$;function Xw(){return x$||(x$=1,function(t,e){var r=vA(),n=e&&!e.nodeType&&e,o=n&&!0&&t&&!t.nodeType&&t,s=o&&o.exports===n,a=s&&r.process,l=function(){try{var u=o&&o.require&&o.require("util").types;return u||a&&a.binding&&a.binding("util")}catch{}}();t.exports=l}(fu,fu.exports)),fu.exports}var wg,S$;function xA(){if(S$)return wg;S$=1;var t=w8e(),e=Gw(),r=Xw(),n=r&&r.isTypedArray,o=n?e(n):t;return wg=o,wg}var xg,C$;function SA(){if(C$)return xg;C$=1;var t=y8e(),e=bA(),r=vo(),n=qw(),o=wA(),s=xA(),a=Object.prototype,l=a.hasOwnProperty;function u(p,h){var d=r(p),_=!d&&e(p),g=!d&&!_&&n(p),v=!d&&!_&&!g&&s(p),w=d||_||g||v,x=w?t(p.length,String):[],C=x.length;for(var M in p)(h||l.call(p,M))&&!(w&&(M=="length"||g&&(M=="offset"||M=="parent")||v&&(M=="buffer"||M=="byteLength"||M=="byteOffset")||o(M,C)))&&x.push(M);return x}return xg=u,xg}var Sg,E$;function Jw(){if(E$)return Sg;E$=1;var t=Object.prototype;function e(r){var n=r&&r.constructor,o=typeof n=="function"&&n.prototype||t;return r===o}return Sg=e,Sg}var Cg,k$;function CA(){if(k$)return Cg;k$=1;function t(e,r){return function(n){return e(r(n))}}return Cg=t,Cg}var Eg,$$;function x8e(){if($$)return Eg;$$=1;var t=CA(),e=t(Object.keys,Object);return Eg=e,Eg}var kg,T$;function S8e(){if(T$)return kg;T$=1;var t=Jw(),e=x8e(),r=Object.prototype,n=r.hasOwnProperty;function o(s){if(!t(s))return e(s);var a=[];for(var l in Object(s))n.call(s,l)&&l!="constructor"&&a.push(l);return a}return kg=o,kg}var $g,O$;function Ql(){if(O$)return $g;O$=1;function t(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}return $g=t,$g}var Tg,D$;function EA(){if(D$)return Tg;D$=1;var t=ci(),e=Ql(),r="[object AsyncFunction]",n="[object Function]",o="[object GeneratorFunction]",s="[object Proxy]";function a(l){if(!e(l))return!1;var u=t(l);return u==n||u==o||u==r||u==s}return Tg=a,Tg}var Og,N$;function xh(){if(N$)return Og;N$=1;var t=EA(),e=Vw();function r(n){return n!=null&&e(n.length)&&!t(n)}return Og=r,Og}var Dg,M$;function dd(){if(M$)return Dg;M$=1;var t=SA(),e=S8e(),r=xh();function n(o){return r(o)?t(o):e(o)}return Dg=n,Dg}var Ng,A$;function kA(){if(A$)return Ng;A$=1;var t=g8e(),e=dd();function r(n,o){return n&&t(n,o,e)}return Ng=r,Ng}var Mg,P$;function $A(){if(P$)return Mg;P$=1;function t(e){return e}return Mg=t,Mg}var Ag,I$;function C8e(){if(I$)return Ag;I$=1;var t=$A();function e(r){return typeof r=="function"?r:t}return Ag=e,Ag}var Pg,R$;function Yw(){if(R$)return Pg;R$=1;var t=kA(),e=C8e();function r(n,o){return n&&t(n,e(o))}return Pg=r,Pg}var Ig,j$;function Kw(){if(j$)return Ig;j$=1;var t=CA(),e=t(Object.getPrototypeOf,Object);return Ig=e,Ig}var Rg,F$;function E8e(){if(F$)return Rg;F$=1;var t=ci(),e=Kw(),r=bs(),n="[object Object]",o=Function.prototype,s=Object.prototype,a=o.toString,l=s.hasOwnProperty,u=a.call(Object);function p(h){if(!r(h)||t(h)!=n)return!1;var d=e(h);if(d===null)return!0;var _=l.call(d,"constructor")&&d.constructor;return typeof _=="function"&&_ instanceof _&&a.call(_)==u}return Rg=p,Rg}var jg,z$;function TA(){if(z$)return jg;z$=1;function t(e,r){for(var n=-1,o=e==null?0:e.length,s=Array(o);++n-1}return Ug=e,Ug}var Hg,V$;function D8e(){if(V$)return Hg;V$=1;var t=Sh();function e(r,n){var o=this.__data__,s=t(o,r);return s<0?(++this.size,o.push([r,n])):o[s][1]=n,this}return Hg=e,Hg}var qg,G$;function Ch(){if(G$)return qg;G$=1;var t=k8e(),e=$8e(),r=T8e(),n=O8e(),o=D8e();function s(a){var l=-1,u=a==null?0:a.length;for(this.clear();++lg))return!1;var w=d.get(a),x=d.get(l);if(w&&x)return w==l&&x==a;var C=-1,M=!0,$=u&o?new t:void 0;for(d.set(a,l),d.set(l,a);++C0&&arguments[0]!==void 0?arguments[0]:[],_=[];return(0,l.default)(d,function(g){Array.isArray(g)?h(g).map(function(v){return _.push(v)}):(0,s.default)(g)?(0,n.default)(g,function(v,w){v===!0&&_.push(w),_.push(w+"-"+v)}):(0,e.default)(g)&&_.push(g)}),_};return Vi.default=p,Vi}var Gi={},yv,w2;function I9e(){if(w2)return yv;w2=1;function t(e,r){for(var n=-1,o=e==null?0:e.length;++n1&&arguments[1]!==void 0?arguments[1]:[],h=u.default&&(0,n.default)(u.default)||{};return p.map(function(d){var _=u[d];return _&&(0,e.default)(_,function(g,v){h[v]||(h[v]={}),h[v]=o({},h[v],_[v])}),d}),h};return Gi.default=a,Gi}var Xi={},Q2;function iBe(){if(Q2)return Xi;Q2=1,Object.defineProperty(Xi,"__esModule",{value:!0}),Xi.autoprefix=void 0;var t=Yw(),e=n(t),r=Object.assign||function(a){for(var l=1;l1&&arguments[1]!==void 0?arguments[1]:"span";return function(d){a(_,d);function _(){var g,v,w,x;o(this,_);for(var C=arguments.length,M=Array(C),$=0;$1&&arguments[1]!==void 0?arguments[1]:"span";return function(d){a(_,d);function _(){var g,v,w,x;o(this,_);for(var C=arguments.length,M=Array(C),$=0;$1&&arguments[1]!==void 0?arguments[1]:!0;o[l]=u};return r===0&&s("first-child"),r===n-1&&s("last-child"),(r===0||r%2===0)&&s("even"),Math.abs(r%2)===1&&s("odd"),s("nth-child",r),o};return qp.default=t,qp}var nO;function dBe(){if(nO)return dn;nO=1,Object.defineProperty(dn,"__esModule",{value:!0}),dn.ReactCSS=dn.loop=dn.handleActive=dn.handleHover=dn.hover=void 0;var t=P9e(),e=_(t),r=aBe(),n=_(r),o=iBe(),s=_(o),a=lBe(),l=_(a),u=cBe(),p=_(u),h=uBe(),d=_(h);function _(v){return v&&v.__esModule?v:{default:v}}dn.hover=l.default,dn.handleHover=l.default,dn.handleActive=p.default,dn.loop=d.default;var g=dn.ReactCSS=function(w){for(var x=arguments.length,C=Array(x>1?x-1:0),M=1;Ml?_=1:_=Math.round(d*100/l)/100,r.a!==_)return{h:r.h,s:r.s,l:r.l,a:_,source:"rgb"}}else{var g=void 0;if(h<0?g=0:h>a?g=1:g=Math.round(h*100/a)/100,o!==g)return{h:r.h,s:r.s,l:r.l,a:g,source:"rgb"}}return null},Xv={},fBe=function(e,r,n,o){if(typeof document>"u"&&!o)return null;var s=o?new o:document.createElement("canvas");s.width=n*2,s.height=n*2;var a=s.getContext("2d");return a?(a.fillStyle=e,a.fillRect(0,0,s.width,s.height),a.fillStyle=r,a.fillRect(0,0,n,n),a.translate(n,n),a.fillRect(0,0,n,n),s.toDataURL()):null},hBe=function(e,r,n,o){var s=e+"-"+r+"-"+n+(o?"-server":"");if(Xv[s])return Xv[s];var a=fBe(e,r,n,o);return Xv[s]=a,a},oO=Object.assign||function(t){for(var e=1;e-1},TBe=function(e){return Number(String(e).replace(/%/g,""))},OBe=1,bt=function(t){SBe(e,t);function e(r){wBe(this,e);var n=xBe(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return n.handleBlur=function(){n.state.blurValue&&n.setState({value:n.state.blurValue,blurValue:null})},n.handleChange=function(o){n.setUpdatedValue(o.target.value,o)},n.handleKeyDown=function(o){var s=TBe(o.target.value);if(!isNaN(s)&&$Be(o.keyCode)){var a=n.getArrowOffset(),l=o.keyCode===HA?s+a:s-a;n.setUpdatedValue(l,o)}},n.handleDrag=function(o){if(n.props.dragLabel){var s=Math.round(n.props.value+o.movementX);s>=0&&s<=n.props.dragMax&&n.props.onChange&&n.props.onChange(n.getValueObjectWithLabel(s),o)}},n.handleMouseDown=function(o){n.props.dragLabel&&(o.preventDefault(),n.handleDrag(o),window.addEventListener("mousemove",n.handleDrag),window.addEventListener("mouseup",n.handleMouseUp))},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleDrag),window.removeEventListener("mouseup",n.handleMouseUp)},n.state={value:String(r.value).toUpperCase(),blurValue:String(r.value).toUpperCase()},n.inputId="rc-editable-input-"+OBe++,n}return vBe(e,[{key:"componentDidUpdate",value:function(n,o){this.props.value!==this.state.value&&(n.value!==this.props.value||o.value!==this.state.value)&&(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(n){return bBe({},this.props.label,n)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||CBe}},{key:"setUpdatedValue",value:function(n,o){var s=this.props.label?this.getValueObjectWithLabel(n):n;this.props.onChange&&this.props.onChange(s,o),this.setState({value:n})}},{key:"render",value:function(){var n=this,o=ut({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return m.createElement("div",{style:o.wrap},m.createElement("input",{id:this.inputId,style:o.input,ref:function(a){return n.input=a},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?m.createElement("label",{htmlFor:this.inputId,style:o.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),e}(N.PureComponent||N.Component),DBe=function(e,r,n,o){var s=o.clientWidth,a=o.clientHeight,l=typeof e.pageX=="number"?e.pageX:e.touches[0].pageX,u=typeof e.pageY=="number"?e.pageY:e.touches[0].pageY,p=l-(o.getBoundingClientRect().left+window.pageXOffset),h=u-(o.getBoundingClientRect().top+window.pageYOffset);if(r==="vertical"){var d=void 0;if(h<0)d=359;else if(h>a)d=0;else{var _=-(h*100/a)+100;d=360*_/100}if(n.h!==d)return{h:d,s:n.s,l:n.l,a:n.a,source:"hsl"}}else{var g=void 0;if(p<0)g=0;else if(p>s)g=359;else{var v=p*100/s;g=360*v/100}if(n.h!==g)return{h:g,s:n.s,l:n.l,a:n.a,source:"hsl"}}return null},NBe=function(){function t(e,r){for(var n=0;n-1}function LBe(t,e){var r=this.__data__,n=Dh(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}function ws(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e-1&&t%1==0&&t<=G7e}function rc(t){return t!=null&&p1(t.length)&&!c1(t)}function X7e(t){return ua(t)&&rc(t)}function J7e(){return!1}var ZA=typeof Nn=="object"&&Nn&&!Nn.nodeType&&Nn,fO=ZA&&typeof Mn=="object"&&Mn&&!Mn.nodeType&&Mn,Y7e=fO&&fO.exports===ZA,hO=Y7e?bo.Buffer:void 0,K7e=hO?hO.isBuffer:void 0,jf=K7e||J7e,Z7e="[object Object]",Q7e=Function.prototype,eWe=Object.prototype,QA=Q7e.toString,tWe=eWe.hasOwnProperty,rWe=QA.call(Object);function nWe(t){if(!ua(t)||di(t)!=Z7e)return!1;var e=YA(t);if(e===null)return!0;var r=tWe.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&QA.call(r)==rWe}var oWe="[object Arguments]",sWe="[object Array]",aWe="[object Boolean]",iWe="[object Date]",lWe="[object Error]",cWe="[object Function]",uWe="[object Map]",dWe="[object Number]",pWe="[object Object]",fWe="[object RegExp]",hWe="[object Set]",mWe="[object String]",_We="[object WeakMap]",gWe="[object ArrayBuffer]",yWe="[object DataView]",vWe="[object Float32Array]",bWe="[object Float64Array]",wWe="[object Int8Array]",xWe="[object Int16Array]",SWe="[object Int32Array]",CWe="[object Uint8Array]",EWe="[object Uint8ClampedArray]",kWe="[object Uint16Array]",$We="[object Uint32Array]",Jt={};Jt[vWe]=Jt[bWe]=Jt[wWe]=Jt[xWe]=Jt[SWe]=Jt[CWe]=Jt[EWe]=Jt[kWe]=Jt[$We]=!0;Jt[oWe]=Jt[sWe]=Jt[gWe]=Jt[aWe]=Jt[yWe]=Jt[iWe]=Jt[lWe]=Jt[cWe]=Jt[uWe]=Jt[dWe]=Jt[pWe]=Jt[fWe]=Jt[hWe]=Jt[mWe]=Jt[_We]=!1;function TWe(t){return ua(t)&&p1(t.length)&&!!Jt[di(t)]}function OWe(t){return function(e){return t(e)}}var eP=typeof Nn=="object"&&Nn&&!Nn.nodeType&&Nn,Tu=eP&&typeof Mn=="object"&&Mn&&!Mn.nodeType&&Mn,DWe=Tu&&Tu.exports===eP,Yv=DWe&&qA.process,mO=function(){try{var t=Tu&&Tu.require&&Tu.require("util").types;return t||Yv&&Yv.binding&&Yv.binding("util")}catch{}}(),_O=mO&&mO.isTypedArray,f1=_O?OWe(_O):TWe;function _0(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}var NWe=Object.prototype,MWe=NWe.hasOwnProperty;function AWe(t,e,r){var n=t[e];(!(MWe.call(t,e)&&pd(n,r))||r===void 0&&!(e in t))&&u1(t,e,r)}function PWe(t,e,r,n){var o=!r;r||(r={});for(var s=-1,a=e.length;++s-1&&t%1==0&&t0){if(++e>=YWe)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var eUe=QWe(JWe);function tUe(t,e){return eUe(GWe(t,e,Mh),t+"")}function rUe(t,e,r){if(!Qn(r))return!1;var n=typeof e;return(n=="number"?rc(r)&&h1(e,r.length):n=="string"&&e in r)?pd(r[e],t):!1}function nUe(t){return tUe(function(e,r){var n=-1,o=r.length,s=o>1?r[o-1]:void 0,a=o>2?r[2]:void 0;for(s=t.length>3&&typeof s=="function"?(o--,s):void 0,a&&rUe(r[0],r[1],a)&&(s=o<3?void 0:s,o=1),e=Object(e);++n=e||A<0||d&&I>=s}function C(){var T=Kv();if(x(T))return M(T);l=setTimeout(C,w(T))}function M(T){return l=void 0,_&&n?g(T):(n=o=void 0,a)}function $(){l!==void 0&&clearTimeout(l),p=0,n=u=o=l=void 0}function E(){return l===void 0?a:M(Kv())}function k(){var T=Kv(),A=x(T);if(n=arguments,o=this,u=T,A){if(l===void 0)return v(u);if(d)return clearTimeout(l),l=setTimeout(C,e),g(u)}return l===void 0&&(l=setTimeout(C,e)),a}return k.cancel=$,k.flush=E,k}var _Ue="Expected a function";function gUe(t,e,r){var n=!0,o=!0;if(typeof t!="function")throw new TypeError(_Ue);return Qn(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),oP(t,e,{leading:n,maxWait:e,trailing:o})}var yUe=function(e,r,n){var o=n.getBoundingClientRect(),s=o.width,a=o.height,l=typeof e.pageX=="number"?e.pageX:e.touches[0].pageX,u=typeof e.pageY=="number"?e.pageY:e.touches[0].pageY,p=l-(n.getBoundingClientRect().left+window.pageXOffset),h=u-(n.getBoundingClientRect().top+window.pageYOffset);p<0?p=0:p>s&&(p=s),h<0?h=0:h>a&&(h=a);var d=p/s,_=1-h/a;return{h:r.h,s:d,v:_,a:r.a,source:"hsv"}},vUe=function(){function t(e,r){for(var n=0;n=0,s=!r&&o&&(e==="hex"||e==="hex6"||e==="hex3"||e==="hex4"||e==="hex8"||e==="name");return s?e==="name"&&this._a===0?this.toName():this.toRgbString():(e==="rgb"&&(n=this.toRgbString()),e==="prgb"&&(n=this.toPercentageRgbString()),(e==="hex"||e==="hex6")&&(n=this.toHexString()),e==="hex3"&&(n=this.toHexString(!0)),e==="hex4"&&(n=this.toHex8String(!0)),e==="hex8"&&(n=this.toHex8String()),e==="name"&&(n=this.toName()),e==="hsl"&&(n=this.toHslString()),e==="hsv"&&(n=this.toHsvString()),n||this.toHexString())},clone:function(){return We(this.toString())},_applyModification:function(e,r){var n=e.apply(null,[this].concat([].slice.call(r)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(WUe,arguments)},brighten:function(){return this._applyModification(UUe,arguments)},darken:function(){return this._applyModification(HUe,arguments)},desaturate:function(){return this._applyModification(zUe,arguments)},saturate:function(){return this._applyModification(LUe,arguments)},greyscale:function(){return this._applyModification(BUe,arguments)},spin:function(){return this._applyModification(qUe,arguments)},_applyCombination:function(e,r){return e.apply(null,[this].concat([].slice.call(r)))},analogous:function(){return this._applyCombination(XUe,arguments)},complement:function(){return this._applyCombination(VUe,arguments)},monochromatic:function(){return this._applyCombination(JUe,arguments)},splitcomplement:function(){return this._applyCombination(GUe,arguments)},triad:function(){return this._applyCombination(CO,[3])},tetrad:function(){return this._applyCombination(CO,[4])}};We.fromRatio=function(t,e){if(Ff(t)=="object"){var r={};for(var n in t)t.hasOwnProperty(n)&&(n==="a"?r[n]=t[n]:r[n]=mu(t[n]));t=r}return We(t,e)};function PUe(t){var e={r:0,g:0,b:0},r=1,n=null,o=null,s=null,a=!1,l=!1;return typeof t=="string"&&(t=eHe(t)),Ff(t)=="object"&&(as(t.r)&&as(t.g)&&as(t.b)?(e=IUe(t.r,t.g,t.b),a=!0,l=String(t.r).substr(-1)==="%"?"prgb":"rgb"):as(t.h)&&as(t.s)&&as(t.v)?(n=mu(t.s),o=mu(t.v),e=jUe(t.h,n,o),a=!0,l="hsv"):as(t.h)&&as(t.s)&&as(t.l)&&(n=mu(t.s),s=mu(t.l),e=RUe(t.h,n,s),a=!0,l="hsl"),t.hasOwnProperty("a")&&(r=t.a)),r=aP(r),{ok:a,format:t.format||l,r:Math.min(255,Math.max(e.r,0)),g:Math.min(255,Math.max(e.g,0)),b:Math.min(255,Math.max(e.b,0)),a:r}}function IUe(t,e,r){return{r:Qt(t,255)*255,g:Qt(e,255)*255,b:Qt(r,255)*255}}function bO(t,e,r){t=Qt(t,255),e=Qt(e,255),r=Qt(r,255);var n=Math.max(t,e,r),o=Math.min(t,e,r),s,a,l=(n+o)/2;if(n==o)s=a=0;else{var u=n-o;switch(a=l>.5?u/(2-n-o):u/(n+o),n){case t:s=(e-r)/u+(e1&&(d-=1),d<1/6?p+(h-p)*6*d:d<1/2?h:d<2/3?p+(h-p)*(2/3-d)*6:p}if(e===0)n=o=s=r;else{var l=r<.5?r*(1+e):r+e-r*e,u=2*r-l;n=a(u,l,t+1/3),o=a(u,l,t),s=a(u,l,t-1/3)}return{r:n*255,g:o*255,b:s*255}}function wO(t,e,r){t=Qt(t,255),e=Qt(e,255),r=Qt(r,255);var n=Math.max(t,e,r),o=Math.min(t,e,r),s,a,l=n,u=n-o;if(a=n===0?0:u/n,n==o)s=0;else{switch(n){case t:s=(e-r)/u+(e>1)+720)%360;--e;)n.h=(n.h+o)%360,s.push(We(n));return s}function JUe(t,e){e=e||6;for(var r=We(t).toHsv(),n=r.h,o=r.s,s=r.v,a=[],l=1/e;e--;)a.push(We({h:n,s:o,v:s})),s=(s+l)%1;return a}We.mix=function(t,e,r){r=r===0?0:r||50;var n=We(t).toRgb(),o=We(e).toRgb(),s=r/100,a={r:(o.r-n.r)*s+n.r,g:(o.g-n.g)*s+n.g,b:(o.b-n.b)*s+n.b,a:(o.a-n.a)*s+n.a};return We(a)};We.readability=function(t,e){var r=We(t),n=We(e);return(Math.max(r.getLuminance(),n.getLuminance())+.05)/(Math.min(r.getLuminance(),n.getLuminance())+.05)};We.isReadable=function(t,e,r){var n=We.readability(t,e),o,s;switch(s=!1,o=tHe(r),o.level+o.size){case"AAsmall":case"AAAlarge":s=n>=4.5;break;case"AAlarge":s=n>=3;break;case"AAAsmall":s=n>=7;break}return s};We.mostReadable=function(t,e,r){var n=null,o=0,s,a,l,u;r=r||{},a=r.includeFallbackColors,l=r.level,u=r.size;for(var p=0;po&&(o=s,n=We(e[p]));return We.isReadable(t,n,{level:l,size:u})||!a?n:(r.includeFallbackColors=!1,We.mostReadable(t,["#fff","#000"],r))};var g0=We.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},YUe=We.hexNames=KUe(g0);function KUe(t){var e={};for(var r in t)t.hasOwnProperty(r)&&(e[t[r]]=r);return e}function aP(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function Qt(t,e){ZUe(t)&&(t="100%");var r=QUe(t);return t=Math.min(e,Math.max(0,parseFloat(t))),r&&(t=parseInt(t*e,10)/100),Math.abs(t-e)<1e-6?1:t%e/parseFloat(e)}function Ih(t){return Math.min(1,Math.max(0,t))}function $n(t){return parseInt(t,16)}function ZUe(t){return typeof t=="string"&&t.indexOf(".")!=-1&&parseFloat(t)===1}function QUe(t){return typeof t=="string"&&t.indexOf("%")!=-1}function fo(t){return t.length==1?"0"+t:""+t}function mu(t){return t<=1&&(t=t*100+"%"),t}function iP(t){return Math.round(parseFloat(t)*255).toString(16)}function EO(t){return $n(t)/255}var co=function(){var t="[-\\+]?\\d+%?",e="[-\\+]?\\d*\\.\\d+%?",r="(?:"+e+")|(?:"+t+")",n="[\\s|\\(]+("+r+")[,|\\s]+("+r+")[,|\\s]+("+r+")\\s*\\)?",o="[\\s|\\(]+("+r+")[,|\\s]+("+r+")[,|\\s]+("+r+")[,|\\s]+("+r+")\\s*\\)?";return{CSS_UNIT:new RegExp(r),rgb:new RegExp("rgb"+n),rgba:new RegExp("rgba"+o),hsl:new RegExp("hsl"+n),hsla:new RegExp("hsla"+o),hsv:new RegExp("hsv"+n),hsva:new RegExp("hsva"+o),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function as(t){return!!co.CSS_UNIT.exec(t)}function eHe(t){t=t.replace(MUe,"").replace(AUe,"").toLowerCase();var e=!1;if(g0[t])t=g0[t],e=!0;else if(t=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r;return(r=co.rgb.exec(t))?{r:r[1],g:r[2],b:r[3]}:(r=co.rgba.exec(t))?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=co.hsl.exec(t))?{h:r[1],s:r[2],l:r[3]}:(r=co.hsla.exec(t))?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=co.hsv.exec(t))?{h:r[1],s:r[2],v:r[3]}:(r=co.hsva.exec(t))?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=co.hex8.exec(t))?{r:$n(r[1]),g:$n(r[2]),b:$n(r[3]),a:EO(r[4]),format:e?"name":"hex8"}:(r=co.hex6.exec(t))?{r:$n(r[1]),g:$n(r[2]),b:$n(r[3]),format:e?"name":"hex"}:(r=co.hex4.exec(t))?{r:$n(r[1]+""+r[1]),g:$n(r[2]+""+r[2]),b:$n(r[3]+""+r[3]),a:EO(r[4]+""+r[4]),format:e?"name":"hex8"}:(r=co.hex3.exec(t))?{r:$n(r[1]+""+r[1]),g:$n(r[2]+""+r[2]),b:$n(r[3]+""+r[3]),format:e?"name":"hex"}:!1}function tHe(t){var e,r;return t=t||{level:"AA",size:"small"},e=(t.level||"AA").toUpperCase(),r=(t.size||"small").toLowerCase(),e!=="AA"&&e!=="AAA"&&(e="AA"),r!=="small"&&r!=="large"&&(r="small"),{level:e,size:r}}var kO=function(e){var r=["r","g","b","a","h","s","l","v"],n=0,o=0;return NUe(r,function(s){if(e[s]&&(n+=1,isNaN(e[s])||(o+=1),s==="s"||s==="l")){var a=/^\d+%$/;a.test(e[s])&&(o+=1)}}),n===o?e:!1},_u=function(e,r){var n=e.hex?We(e.hex):We(e),o=n.toHsl(),s=n.toHsv(),a=n.toRgb(),l=n.toHex();o.s===0&&(o.h=r||0,s.h=r||0);var u=l==="000000"&&a.a===0;return{hsl:o,hex:u?"transparent":"#"+l,rgb:a,hsv:s,oldHue:e.h||r||o.h,source:e.source}},ma=function(e){if(e==="transparent")return!0;var r=String(e).charAt(0)==="#"?1:0;return e.length!==4+r&&e.length<7+r&&We(e).isValid()},_1=function(e){if(!e)return"#fff";var r=_u(e);if(r.hex==="transparent")return"rgba(0,0,0,0.4)";var n=(r.rgb.r*299+r.rgb.g*587+r.rgb.b*114)/1e3;return n>=128?"#000":"#fff"},Zv=function(e,r){var n=e.replace("°","");return We(r+" ("+n+")")._ok},Jc=Object.assign||function(t){for(var e=1;e1&&arguments[1]!==void 0?arguments[1]:"span";return function(n){cHe(o,n);function o(){var s,a,l,u;lHe(this,o);for(var p=arguments.length,h=Array(p),d=0;dl))return!1;var p=s.get(t),h=s.get(e);if(p&&h)return p==e&&h==t;var d=-1,_=!0,g=r&wHe?new zf:void 0;for(s.set(t,e),s.set(e,t);++d=0||Object.prototype.hasOwnProperty.call(a,p)&&(u[p]=a[p]);return u}var s=24;return Gp.default=function(a){var l=a.fill,u=l===void 0?"currentColor":l,p=a.width,h=p===void 0?s:p,d=a.height,_=d===void 0?s:d,g=a.style,v=g===void 0?{}:g,w=o(a,["fill","width","height","style"]);return r.default.createElement("svg",t({viewBox:"0 0 "+s+" "+s,style:t({fill:u,width:h,height:_},v)},w),r.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))},Gp}var Aqe=Mqe();const Pqe=da(Aqe);var Iqe=function(){function t(e,r){for(var n=0;n1&&(o.a=1),n.props.onChange({h:n.props.hsl.h,s:n.props.hsl.s,l:n.props.hsl.l,a:Math.round(o.a*100)/100,source:"rgb"},s)):(o.h||o.s||o.l)&&(typeof o.s=="string"&&o.s.includes("%")&&(o.s=o.s.replace("%","")),typeof o.l=="string"&&o.l.includes("%")&&(o.l=o.l.replace("%","")),o.s==1?o.s=.01:o.l==1&&(o.l=.01),n.props.onChange({h:o.h||n.props.hsl.h,s:Number(WO(o.s)?n.props.hsl.s:o.s),l:Number(WO(o.l)?n.props.hsl.l:o.l),source:"hsl"},s))},n.showHighlight=function(o){o.currentTarget.style.background="#eee"},n.hideHighlight=function(o){o.currentTarget.style.background="transparent"},r.hsl.a!==1&&r.view==="hex"?n.state={view:"rgb"}:n.state={view:r.view},n}return Iqe(e,[{key:"render",value:function(){var n=this,o=ut({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),s=void 0;return this.state.view==="hex"?s=m.createElement("div",{style:o.fields,className:"flexbox-fix"},m.createElement("div",{style:o.field},m.createElement(bt,{style:{input:o.input,label:o.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):this.state.view==="rgb"?s=m.createElement("div",{style:o.fields,className:"flexbox-fix"},m.createElement("div",{style:o.field},m.createElement(bt,{style:{input:o.input,label:o.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),m.createElement("div",{style:o.field},m.createElement(bt,{style:{input:o.input,label:o.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),m.createElement("div",{style:o.field},m.createElement(bt,{style:{input:o.input,label:o.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),m.createElement("div",{style:o.alpha},m.createElement(bt,{style:{input:o.input,label:o.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):this.state.view==="hsl"&&(s=m.createElement("div",{style:o.fields,className:"flexbox-fix"},m.createElement("div",{style:o.field},m.createElement(bt,{style:{input:o.input,label:o.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),m.createElement("div",{style:o.field},m.createElement(bt,{style:{input:o.input,label:o.label},label:"s",value:Math.round(this.props.hsl.s*100)+"%",onChange:this.handleChange})),m.createElement("div",{style:o.field},m.createElement(bt,{style:{input:o.input,label:o.label},label:"l",value:Math.round(this.props.hsl.l*100)+"%",onChange:this.handleChange})),m.createElement("div",{style:o.alpha},m.createElement(bt,{style:{input:o.input,label:o.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),m.createElement("div",{style:o.wrap,className:"flexbox-fix"},s,m.createElement("div",{style:o.toggle},m.createElement("div",{style:o.icon,onClick:this.toggleViews,ref:function(l){return n.icon=l}},m.createElement(Pqe,{style:o.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(n,o){return n.hsl.a!==1&&o.view==="hex"?{view:"rgb"}:null}}]),e}(m.Component);gP.defaultProps={view:"hex"};var HO=function(){var e=ut({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return m.createElement("div",{style:e.picker})},zqe=function(){var e=ut({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return m.createElement("div",{style:e.picker})},x1=function(e){var r=e.width,n=e.onChange,o=e.disableAlpha,s=e.rgb,a=e.hsl,l=e.hsv,u=e.hex,p=e.renderers,h=e.styles,d=h===void 0?{}:h,_=e.className,g=_===void 0?"":_,v=e.defaultView,w=ut(wn({default:{picker:{width:r,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+s.r+", "+s.g+", "+s.b+", "+s.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},d),{disableAlpha:o});return m.createElement("div",{style:w.picker,className:"chrome-picker "+g},m.createElement("div",{style:w.saturation},m.createElement(Ph,{style:w.Saturation,hsl:a,hsv:l,pointer:zqe,onChange:n})),m.createElement("div",{style:w.body},m.createElement("div",{style:w.controls,className:"flexbox-fix"},m.createElement("div",{style:w.color},m.createElement("div",{style:w.swatch},m.createElement("div",{style:w.active}),m.createElement(ec,{renderers:p}))),m.createElement("div",{style:w.toggles},m.createElement("div",{style:w.hue},m.createElement(tc,{style:w.Hue,hsl:a,pointer:HO,onChange:n})),m.createElement("div",{style:w.alpha},m.createElement(l1,{style:w.Alpha,rgb:s,hsl:a,pointer:HO,renderers:p,onChange:n})))),m.createElement(gP,{rgb:s,hsl:a,hex:u,view:v,onChange:n,disableAlpha:o})))};x1.propTypes={width:ce.oneOfType([ce.string,ce.number]),disableAlpha:ce.bool,styles:ce.object,defaultView:ce.oneOf(["hex","rgb","hsl"])};x1.defaultProps={width:225,disableAlpha:!1,styles:{}};xn(x1);var Lqe=function(e){var r=e.color,n=e.onClick,o=n===void 0?function(){}:n,s=e.onSwatchHover,a=e.active,l=ut({default:{color:{background:r,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:_1(r),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:a,"color-#FFFFFF":r==="#FFFFFF",transparent:r==="transparent"});return m.createElement(hi,{style:l.color,color:r,onClick:o,onHover:s,focusStyle:{boxShadow:"0 0 4px "+r}},m.createElement("div",{style:l.dot}))},Bqe=function(e){var r=e.hex,n=e.rgb,o=e.onChange,s=ut({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:r},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),a=function(u,p){u.r||u.g||u.b?o({r:u.r||n.r,g:u.g||n.g,b:u.b||n.b,source:"rgb"},p):o({hex:u.hex,source:"hex"},p)};return m.createElement("div",{style:s.fields,className:"flexbox-fix"},m.createElement("div",{style:s.active}),m.createElement(bt,{style:{wrap:s.HEXwrap,input:s.HEXinput,label:s.HEXlabel},label:"hex",value:r,onChange:a}),m.createElement(bt,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"r",value:n.r,onChange:a}),m.createElement(bt,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"g",value:n.g,onChange:a}),m.createElement(bt,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"b",value:n.b,onChange:a}))},S1=function(e){var r=e.onChange,n=e.onSwatchHover,o=e.colors,s=e.hex,a=e.rgb,l=e.styles,u=l===void 0?{}:l,p=e.className,h=p===void 0?"":p,d=ut(wn({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},u)),_=function(v,w){v.hex?ma(v.hex)&&r({hex:v.hex,source:"hex"},w):r(v,w)};return m.createElement(fd,{style:d.Compact,styles:u},m.createElement("div",{style:d.compact,className:"compact-picker "+h},m.createElement("div",null,mi(o,function(g){return m.createElement(Lqe,{key:g,color:g,active:g.toLowerCase()===s,onClick:_,onSwatchHover:n})}),m.createElement("div",{style:d.clear})),m.createElement(Bqe,{hex:s,rgb:a,onChange:_})))};S1.propTypes={colors:ce.arrayOf(ce.string),styles:ce.object};S1.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}};xn(S1);var Wqe=function(e){var r=e.hover,n=e.color,o=e.onClick,s=e.onSwatchHover,a={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},l=ut({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:a}},{hover:r});return m.createElement("div",{style:l.swatch},m.createElement(hi,{color:n,onClick:o,onHover:s,focusStyle:a}))};const Uqe=i1.handleHover(Wqe);var C1=function(e){var r=e.width,n=e.colors,o=e.onChange,s=e.onSwatchHover,a=e.triangle,l=e.styles,u=l===void 0?{}:l,p=e.className,h=p===void 0?"":p,d=ut(wn({default:{card:{width:r,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},u),{"hide-triangle":a==="hide","top-left-triangle":a==="top-left","top-right-triangle":a==="top-right","bottom-left-triangle":a==="bottom-left","bottom-right-triangle":a==="bottom-right"}),_=function(v,w){return o({hex:v,source:"hex"},w)};return m.createElement("div",{style:d.card,className:"github-picker "+h},m.createElement("div",{style:d.triangleShadow}),m.createElement("div",{style:d.triangle}),mi(n,function(g){return m.createElement(Uqe,{color:g,key:g,onClick:_,onSwatchHover:s})}))};C1.propTypes={width:ce.oneOfType([ce.string,ce.number]),colors:ce.arrayOf(ce.string),triangle:ce.oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:ce.object};C1.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}};xn(C1);var Hqe=function(e){var r=e.direction,n=ut({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:r==="vertical"});return m.createElement("div",{style:n.picker})},qqe=Object.assign||function(t){for(var e=1;e.5});return m.createElement("div",{style:n.picker})},Jqe=function(){var e=ut({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return m.createElement("div",{style:e.pointer},m.createElement("div",{style:e.left},m.createElement("div",{style:e.leftInside})),m.createElement("div",{style:e.right},m.createElement("div",{style:e.rightInside})))},qO=function(e){var r=e.onClick,n=e.label,o=e.children,s=e.active,a=ut({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:s});return m.createElement("div",{style:a.button,onClick:r},n||o)},Yqe=function(e){var r=e.rgb,n=e.currentColor,o=ut({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+r.r+","+r.g+", "+r.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:n,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return m.createElement("div",null,m.createElement("div",{style:o.label},"new"),m.createElement("div",{style:o.swatches},m.createElement("div",{style:o.new}),m.createElement("div",{style:o.current})),m.createElement("div",{style:o.label},"current"))},Kqe=function(){function t(e,r){for(var n=0;n100&&(h.a=100),h.a/=100,r({h:o.h,s:o.s,l:o.l,a:h.a,source:"rgb"},d))};return m.createElement("div",{style:l.fields,className:"flexbox-fix"},m.createElement("div",{style:l.double},m.createElement(bt,{style:{input:l.input,label:l.label},label:"hex",value:s.replace("#",""),onChange:u})),m.createElement("div",{style:l.single},m.createElement(bt,{style:{input:l.input,label:l.label},label:"r",value:n.r,onChange:u,dragLabel:"true",dragMax:"255"})),m.createElement("div",{style:l.single},m.createElement(bt,{style:{input:l.input,label:l.label},label:"g",value:n.g,onChange:u,dragLabel:"true",dragMax:"255"})),m.createElement("div",{style:l.single},m.createElement(bt,{style:{input:l.input,label:l.label},label:"b",value:n.b,onChange:u,dragLabel:"true",dragMax:"255"})),m.createElement("div",{style:l.alpha},m.createElement(bt,{style:{input:l.input,label:l.label},label:"a",value:Math.round(n.a*100),onChange:u,dragLabel:"true",dragMax:"100"})))},rVe=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(a,p)&&(u[p]=a[p]);return u}var s=24;return Xp.default=function(a){var l=a.fill,u=l===void 0?"currentColor":l,p=a.width,h=p===void 0?s:p,d=a.height,_=d===void 0?s:d,g=a.style,v=g===void 0?{}:g,w=o(a,["fill","width","height","style"]);return r.default.createElement("svg",t({viewBox:"0 0 "+s+" "+s,style:t({fill:u,width:h,height:_},v)},w),r.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))},Xp}var iVe=aVe();const lVe=da(iVe);var cVe=function(e){var r=e.color,n=e.onClick,o=n===void 0?function(){}:n,s=e.onSwatchHover,a=e.first,l=e.last,u=e.active,p=ut({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:r,marginBottom:"1px"},check:{color:_1(r),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{color:"#333"}},transparent:{check:{color:"#333"}}},{first:a,last:l,active:u,"color-#FFFFFF":r==="#FFFFFF",transparent:r==="transparent"});return m.createElement(hi,{color:r,style:p.color,onClick:o,onHover:s,focusStyle:{boxShadow:"0 0 4px "+r}},m.createElement("div",{style:p.check},m.createElement(lVe,null)))},uVe=function(e){var r=e.onClick,n=e.onSwatchHover,o=e.group,s=e.active,a=ut({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return m.createElement("div",{style:a.group},mi(o,function(l,u){return m.createElement(cVe,{key:l,color:l,active:l.toLowerCase()===s,first:u===0,last:u===o.length-1,onClick:r,onSwatchHover:n})}))},O1=function(e){var r=e.width,n=e.height,o=e.onChange,s=e.onSwatchHover,a=e.colors,l=e.hex,u=e.styles,p=u===void 0?{}:u,h=e.className,d=h===void 0?"":h,_=ut(wn({default:{picker:{width:r,height:n},overflow:{height:n,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}},p)),g=function(w,x){return o({hex:w,source:"hex"},x)};return m.createElement("div",{style:_.picker,className:"swatches-picker "+d},m.createElement(fd,null,m.createElement("div",{style:_.overflow},m.createElement("div",{style:_.body},mi(a,function(v){return m.createElement(uVe,{key:v.toString(),group:v,active:l,onClick:g,onSwatchHover:s})}),m.createElement("div",{style:_.clear})))))};O1.propTypes={width:ce.oneOfType([ce.string,ce.number]),height:ce.oneOfType([ce.string,ce.number]),colors:ce.arrayOf(ce.arrayOf(ce.string)),styles:ce.object};O1.defaultProps={width:320,height:240,colors:[[al[900],al[700],al[500],al[300],al[100]],[il[900],il[700],il[500],il[300],il[100]],[ll[900],ll[700],ll[500],ll[300],ll[100]],[cl[900],cl[700],cl[500],cl[300],cl[100]],[ul[900],ul[700],ul[500],ul[300],ul[100]],[dl[900],dl[700],dl[500],dl[300],dl[100]],[pl[900],pl[700],pl[500],pl[300],pl[100]],[fl[900],fl[700],fl[500],fl[300],fl[100]],[hl[900],hl[700],hl[500],hl[300],hl[100]],["#194D33",gu[700],gu[500],gu[300],gu[100]],[ml[900],ml[700],ml[500],ml[300],ml[100]],[_l[900],_l[700],_l[500],_l[300],_l[100]],[gl[900],gl[700],gl[500],gl[300],gl[100]],[yl[900],yl[700],yl[500],yl[300],yl[100]],[vl[900],vl[700],vl[500],vl[300],vl[100]],[bl[900],bl[700],bl[500],bl[300],bl[100]],[wl[900],wl[700],wl[500],wl[300],wl[100]],[xl[900],xl[700],xl[500],xl[300],xl[100]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]],styles:{}};xn(O1);var D1=function(e){var r=e.onChange,n=e.onSwatchHover,o=e.hex,s=e.colors,a=e.width,l=e.triangle,u=e.styles,p=u===void 0?{}:u,h=e.className,d=h===void 0?"":h,_=ut(wn({default:{card:{width:a,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},p),{"hide-triangle":l==="hide","top-left-triangle":l==="top-left","top-right-triangle":l==="top-right"}),g=function(w,x){ma(w)&&r({hex:w,source:"hex"},x)};return m.createElement("div",{style:_.card,className:"twitter-picker "+d},m.createElement("div",{style:_.triangleShadow}),m.createElement("div",{style:_.triangle}),m.createElement("div",{style:_.body},mi(s,function(v,w){return m.createElement(hi,{key:w,color:v,hex:v,style:_.swatch,onClick:g,onHover:n,focusStyle:{boxShadow:"0 0 4px "+v}})}),m.createElement("div",{style:_.hash},"#"),m.createElement(bt,{label:null,style:{input:_.input},value:o.replace("#",""),onChange:g}),m.createElement("div",{style:_.clear})))};D1.propTypes={width:ce.oneOfType([ce.string,ce.number]),triangle:ce.oneOf(["hide","top-left","top-right"]),colors:ce.arrayOf(ce.string),styles:ce.object};D1.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left",styles:{}};xn(D1);var N1=function(e){var r=ut({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",border:"2px #fff solid",transform:"translate(-12px, -13px)",background:"hsl("+Math.round(e.hsl.h)+", "+Math.round(e.hsl.s*100)+"%, "+Math.round(e.hsl.l*100)+"%)"}}});return m.createElement("div",{style:r.picker})};N1.propTypes={hsl:ce.shape({h:ce.number,s:ce.number,l:ce.number,a:ce.number})};N1.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var M1=function(e){var r=ut({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",transform:"translate(-10px, -7px)",background:"hsl("+Math.round(e.hsl.h)+", 100%, 50%)",border:"2px white solid"}}});return m.createElement("div",{style:r.picker})};M1.propTypes={hsl:ce.shape({h:ce.number,s:ce.number,l:ce.number,a:ce.number})};M1.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var dVe=function(e){var r=e.onChange,n=e.rgb,o=e.hsl,s=e.hex,a=e.hsv,l=function(g,v){if(g.hex)ma(g.hex)&&r({hex:g.hex,source:"hex"},v);else if(g.rgb){var w=g.rgb.split(",");Zv(g.rgb,"rgb")&&r({r:w[0],g:w[1],b:w[2],a:1,source:"rgb"},v)}else if(g.hsv){var x=g.hsv.split(",");Zv(g.hsv,"hsv")&&(x[2]=x[2].replace("%",""),x[1]=x[1].replace("%",""),x[0]=x[0].replace("°",""),x[1]==1?x[1]=.01:x[2]==1&&(x[2]=.01),r({h:Number(x[0]),s:Number(x[1]),v:Number(x[2]),source:"hsv"},v))}else if(g.hsl){var C=g.hsl.split(",");Zv(g.hsl,"hsl")&&(C[2]=C[2].replace("%",""),C[1]=C[1].replace("%",""),C[0]=C[0].replace("°",""),d[1]==1?d[1]=.01:d[2]==1&&(d[2]=.01),r({h:Number(C[0]),s:Number(C[1]),v:Number(C[2]),source:"hsl"},v))}},u=ut({default:{wrap:{display:"flex",height:"100px",marginTop:"4px"},fields:{width:"100%"},column:{paddingTop:"10px",display:"flex",justifyContent:"space-between"},double:{padding:"0px 4.4px",boxSizing:"border-box"},input:{width:"100%",height:"38px",boxSizing:"border-box",padding:"4px 10% 3px",textAlign:"center",border:"1px solid #dadce0",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",fontFamily:"Roboto,Arial,sans-serif"},input2:{height:"38px",width:"100%",border:"1px solid #dadce0",boxSizing:"border-box",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",paddingLeft:"10px",fontFamily:"Roboto,Arial,sans-serif"},label:{textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"35px",top:"-6px",left:"0",right:"0",marginLeft:"auto",marginRight:"auto",fontFamily:"Roboto,Arial,sans-serif"},label2:{left:"10px",textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"32px",top:"-6px",fontFamily:"Roboto,Arial,sans-serif"},single:{flexGrow:"1",margin:"0px 4.4px"}}}),p=n.r+", "+n.g+", "+n.b,h=Math.round(o.h)+"°, "+Math.round(o.s*100)+"%, "+Math.round(o.l*100)+"%",d=Math.round(a.h)+"°, "+Math.round(a.s*100)+"%, "+Math.round(a.v*100)+"%";return m.createElement("div",{style:u.wrap,className:"flexbox-fix"},m.createElement("div",{style:u.fields},m.createElement("div",{style:u.double},m.createElement(bt,{style:{input:u.input,label:u.label},label:"hex",value:s,onChange:l})),m.createElement("div",{style:u.column},m.createElement("div",{style:u.single},m.createElement(bt,{style:{input:u.input2,label:u.label2},label:"rgb",value:p,onChange:l})),m.createElement("div",{style:u.single},m.createElement(bt,{style:{input:u.input2,label:u.label2},label:"hsv",value:d,onChange:l})),m.createElement("div",{style:u.single},m.createElement(bt,{style:{input:u.input2,label:u.label2},label:"hsl",value:h,onChange:l})))))},A1=function(e){var r=e.width,n=e.onChange,o=e.rgb,s=e.hsl,a=e.hsv,l=e.hex,u=e.header,p=e.styles,h=p===void 0?{}:p,d=e.className,_=d===void 0?"":d,g=ut(wn({default:{picker:{width:r,background:"#fff",border:"1px solid #dfe1e5",boxSizing:"initial",display:"flex",flexWrap:"wrap",borderRadius:"8px 8px 0px 0px"},head:{height:"57px",width:"100%",paddingTop:"16px",paddingBottom:"16px",paddingLeft:"16px",fontSize:"20px",boxSizing:"border-box",fontFamily:"Roboto-Regular,HelveticaNeue,Arial,sans-serif"},saturation:{width:"70%",padding:"0px",position:"relative",overflow:"hidden"},swatch:{width:"30%",height:"228px",padding:"0px",background:"rgba("+o.r+", "+o.g+", "+o.b+", 1)",position:"relative",overflow:"hidden"},body:{margin:"auto",width:"95%"},controls:{display:"flex",boxSizing:"border-box",height:"52px",paddingTop:"22px"},color:{width:"32px"},hue:{height:"8px",position:"relative",margin:"0px 16px 0px 16px",width:"100%"},Hue:{radius:"2px"}}},h));return m.createElement("div",{style:g.picker,className:"google-picker "+_},m.createElement("div",{style:g.head},u),m.createElement("div",{style:g.swatch}),m.createElement("div",{style:g.saturation},m.createElement(Ph,{hsl:s,hsv:a,pointer:N1,onChange:n})),m.createElement("div",{style:g.body},m.createElement("div",{style:g.controls,className:"flexbox-fix"},m.createElement("div",{style:g.hue},m.createElement(tc,{style:g.Hue,hsl:s,radius:"4px",pointer:M1,onChange:n}))),m.createElement(dVe,{rgb:o,hsl:s,hex:l,hsv:a,onChange:n})))};A1.propTypes={width:ce.oneOfType([ce.string,ce.number]),styles:ce.object,header:ce.string};A1.defaultProps={width:652,styles:{},header:"Color picker"};xn(A1);var eb={exports:{}},GO;function Jo(){return GO||(GO=1,function(t,e){(function(n,o){t.exports=o()})(globalThis,()=>(()=>{var r={949:(a,l,u)=>{Object.defineProperty(l,"__esModule",{value:!0}),l.CronParser=void 0;var p=u(515),h=function(){function d(_,g,v){g===void 0&&(g=!0),v===void 0&&(v=!1),this.expression=_,this.dayOfWeekStartIndexZero=g,this.monthStartIndexZero=v}return d.prototype.parse=function(){var _,g,v=(_=this.expression)!==null&&_!==void 0?_:"";if(v.startsWith("@")){var w=this.parseSpecial(this.expression);g=this.extractParts(w)}else g=this.extractParts(this.expression);return this.normalize(g),this.validate(g),g},d.prototype.parseSpecial=function(_){var g={"@yearly":"0 0 1 1 *","@annually":"0 0 1 1 *","@monthly":"0 0 1 * *","@weekly":"0 0 * * 0","@daily":"0 0 * * *","@midnight":"0 0 * * *","@hourly":"0 * * * *"},v=g[_];if(!v)throw new Error("Unknown special expression.");return v},d.prototype.extractParts=function(_){if(!this.expression)throw new Error("cron expression is empty");for(var g=_.trim().split(/[ ]+/),v=0;v7)throw new Error("Expression has ".concat(g.length," parts; too many!"));return g},d.prototype.normalize=function(_){var g=this;if(_[3]=_[3].replace("?","*"),_[5]=_[5].replace("?","*"),_[2]=_[2].replace("?","*"),_[0].indexOf("0/")==0&&(_[0]=_[0].replace("0/","*/")),_[1].indexOf("0/")==0&&(_[1]=_[1].replace("0/","*/")),_[2].indexOf("0/")==0&&(_[2]=_[2].replace("0/","*/")),_[3].indexOf("1/")==0&&(_[3]=_[3].replace("1/","*/")),_[4].indexOf("1/")==0&&(_[4]=_[4].replace("1/","*/")),_[6].indexOf("1/")==0&&(_[6]=_[6].replace("1/","*/")),_[5]=_[5].replace(/(^\d)|([^#/\s]\d)/g,function(k){var T=k.replace(/\D/,""),A=T;return g.dayOfWeekStartIndexZero?T=="7"&&(A="0"):A=(parseInt(T)-1).toString(),k.replace(T,A)}),_[5]=="L"&&(_[5]="6"),_[3]=="?"&&(_[3]="*"),_[3].indexOf("W")>-1&&(_[3].indexOf(",")>-1||_[3].indexOf("-")>-1))throw new Error("The 'W' character can be specified only when the day-of-month is a single day, not a range or list of days.");var v={SUN:0,MON:1,TUE:2,WED:3,THU:4,FRI:5,SAT:6};for(var w in v)_[5]=_[5].replace(new RegExp(w,"gi"),v[w].toString());_[4]=_[4].replace(/(^\d{1,2})|([^#/\s]\d{1,2})/g,function(k){var T=k.replace(/\D/,""),A=T;return g.monthStartIndexZero&&(A=(parseInt(T)+1).toString()),k.replace(T,A)});var x={JAN:1,FEB:2,MAR:3,APR:4,MAY:5,JUN:6,JUL:7,AUG:8,SEP:9,OCT:10,NOV:11,DEC:12};for(var C in x)_[4]=_[4].replace(new RegExp(C,"gi"),x[C].toString());_[0]=="0"&&(_[0]=""),!/\*|\-|\,|\//.test(_[2])&&(/\*|\//.test(_[1])||/\*|\//.test(_[0]))&&(_[2]+="-".concat(_[2]));for(var M=0;M<_.length;M++)if(_[M].indexOf(",")!=-1&&(_[M]=_[M].split(",").filter(function(k){return k!==""}).join(",")||"*"),_[M]=="*/1"&&(_[M]="*"),_[M].indexOf("/")>-1&&!/^\*|\-|\,/.test(_[M])){var $=null;switch(M){case 4:$="12";break;case 5:$="6";break;case 6:$="9999";break;default:$=null;break}if($!==null){var E=_[M].split("/");_[M]="".concat(E[0],"-").concat($,"/").concat(E[1])}}},d.prototype.validate=function(_){var g="0-9,\\-*/";this.validateOnlyExpectedCharactersFound(_[0],g),this.validateOnlyExpectedCharactersFound(_[1],g),this.validateOnlyExpectedCharactersFound(_[2],g),this.validateOnlyExpectedCharactersFound(_[3],"0-9,\\-*/LW"),this.validateOnlyExpectedCharactersFound(_[4],g),this.validateOnlyExpectedCharactersFound(_[5],"0-9,\\-*/L#"),this.validateOnlyExpectedCharactersFound(_[6],g),this.validateAnyRanges(_)},d.prototype.validateAnyRanges=function(_){p.default.secondRange(_[0]),p.default.minuteRange(_[1]),p.default.hourRange(_[2]),p.default.dayOfMonthRange(_[3]),p.default.monthRange(_[4],this.monthStartIndexZero),p.default.dayOfWeekRange(_[5],this.dayOfWeekStartIndexZero)},d.prototype.validateOnlyExpectedCharactersFound=function(_,g){var v=_.match(new RegExp("[^".concat(g,"]+"),"gi"));if(v&&v.length)throw new Error("Expression contains invalid values: '".concat(v.toString(),"'"))},d}();l.CronParser=h},333:(a,l,u)=>{Object.defineProperty(l,"__esModule",{value:!0}),l.ExpressionDescriptor=void 0;var p=u(823),h=u(949),d=function(){function _(g,v){if(this.expression=g,this.options=v,this.expressionParts=new Array(5),!this.options.locale&&_.defaultLocale&&(this.options.locale=_.defaultLocale),!_.locales[this.options.locale]){var w=Object.keys(_.locales)[0];console.warn("Locale '".concat(this.options.locale,"' could not be found; falling back to '").concat(w,"'.")),this.options.locale=w}this.i18n=_.locales[this.options.locale],v.use24HourTimeFormat===void 0&&(v.use24HourTimeFormat=this.i18n.use24HourTimeFormatByDefault())}return _.toString=function(g,v){var w=v===void 0?{}:v,x=w.throwExceptionOnParseError,C=x===void 0?!0:x,M=w.verbose,$=M===void 0?!1:M,E=w.dayOfWeekStartIndexZero,k=E===void 0?!0:E,T=w.monthStartIndexZero,A=T===void 0?!1:T,I=w.use24HourTimeFormat,j=w.locale,O=j===void 0?null:j,F=w.tzOffset,H=F===void 0?0:F,q={throwExceptionOnParseError:C,verbose:$,dayOfWeekStartIndexZero:k,monthStartIndexZero:A,use24HourTimeFormat:I,locale:O,tzOffset:H},U=new _(g,q);return U.getFullDescription()},_.initialize=function(g,v){v===void 0&&(v="en"),_.specialCharacters=["/","-",",","*"],_.defaultLocale=v,g.load(_.locales)},_.prototype.getFullDescription=function(){var g="";try{var v=new h.CronParser(this.expression,this.options.dayOfWeekStartIndexZero,this.options.monthStartIndexZero);this.expressionParts=v.parse();var w=this.getTimeOfDayDescription(),x=this.getDayOfMonthDescription(),C=this.getMonthDescription(),M=this.getDayOfWeekDescription(),$=this.getYearDescription();g+=w+x+M+C+$,g=this.transformVerbosity(g,!!this.options.verbose),g=g.charAt(0).toLocaleUpperCase()+g.substr(1)}catch(E){if(!this.options.throwExceptionOnParseError)g=this.i18n.anErrorOccuredWhenGeneratingTheExpressionD();else throw"".concat(E)}return g},_.prototype.getTimeOfDayDescription=function(){var g=this.expressionParts[0],v=this.expressionParts[1],w=this.expressionParts[2],x="";if(!p.StringUtilities.containsAny(v,_.specialCharacters)&&!p.StringUtilities.containsAny(w,_.specialCharacters)&&!p.StringUtilities.containsAny(g,_.specialCharacters))x+=this.i18n.atSpace()+this.formatTime(w,v,g);else if(!g&&v.indexOf("-")>-1&&!(v.indexOf(",")>-1)&&!(v.indexOf("/")>-1)&&!p.StringUtilities.containsAny(w,_.specialCharacters)){var C=v.split("-");x+=p.StringUtilities.format(this.i18n.everyMinuteBetweenX0AndX1(),this.formatTime(w,C[0],""),this.formatTime(w,C[1],""))}else if(!g&&w.indexOf(",")>-1&&w.indexOf("-")==-1&&w.indexOf("/")==-1&&!p.StringUtilities.containsAny(v,_.specialCharacters)){var M=w.split(",");x+=this.i18n.at();for(var $=0;$1){var C=x[x.length-1].index;w=w.substring(0,C)+":59"+w.substring(C+3)}}return w},_.prototype.getDayOfWeekDescription=function(){var g=this,v=this.i18n.daysOfTheWeek(),w=null;return this.expressionParts[5]=="*"?w="":w=this.getSegmentDescription(this.expressionParts[5],this.i18n.commaEveryDay(),function(x,C){var M=x;x.indexOf("#")>-1?M=x.substring(0,x.indexOf("#")):x.indexOf("L")>-1&&(M=M.replace("L",""));var $=parseInt(M);if(g.options.tzOffset){var E=g.expressionParts[2],k=parseInt(E)+(g.options.tzOffset?g.options.tzOffset:0);k>=24?$++:k<0&&$--,$>6?$=0:$<0&&($=6)}var T=g.i18n.daysOfTheWeekInCase?g.i18n.daysOfTheWeekInCase(C)[$]:v[$];if(x.indexOf("#")>-1){var A=null,I=x.substring(x.indexOf("#")+1),j=x.substring(0,x.indexOf("#"));switch(I){case"1":A=g.i18n.first(j);break;case"2":A=g.i18n.second(j);break;case"3":A=g.i18n.third(j);break;case"4":A=g.i18n.fourth(j);break;case"5":A=g.i18n.fifth(j);break}T=A+" "+T}return T},function(x){return parseInt(x)==1?"":p.StringUtilities.format(g.i18n.commaEveryX0DaysOfTheWeek(x),x)},function(x){var C=x.substring(0,x.indexOf("-")),M=g.expressionParts[3]!="*";return M?g.i18n.commaAndX0ThroughX1(C):g.i18n.commaX0ThroughX1(C)},function(x){var C=null;if(x.indexOf("#")>-1){var M=x.substring(x.indexOf("#")+1),$=x.substring(0,x.indexOf("#"));C=g.i18n.commaOnThe(M,$).trim()+g.i18n.spaceX0OfTheMonth()}else if(x.indexOf("L")>-1)C=g.i18n.commaOnTheLastX0OfTheMonth(x.replace("L",""));else{var E=g.expressionParts[3]!="*";C=E?g.i18n.commaAndOnX0():g.i18n.commaOnlyOnX0(x)}return C}),w},_.prototype.getMonthDescription=function(){var g=this,v=this.i18n.monthsOfTheYear(),w=this.getSegmentDescription(this.expressionParts[4],"",function(x,C){return C&&g.i18n.monthsOfTheYearInCase?g.i18n.monthsOfTheYearInCase(C)[parseInt(x)-1]:v[parseInt(x)-1]},function(x){return parseInt(x)==1?"":p.StringUtilities.format(g.i18n.commaEveryX0Months(x),x)},function(x){return g.i18n.commaMonthX0ThroughMonthX1()||g.i18n.commaX0ThroughX1()},function(x){return g.i18n.commaOnlyInMonthX0?g.i18n.commaOnlyInMonthX0():g.i18n.commaOnlyInX0()});return w},_.prototype.getDayOfMonthDescription=function(){var g=this,v=null,w=this.expressionParts[3];switch(w){case"L":v=this.i18n.commaOnTheLastDayOfTheMonth();break;case"WL":case"LW":v=this.i18n.commaOnTheLastWeekdayOfTheMonth();break;default:var x=w.match(/(\d{1,2}W)|(W\d{1,2})/);if(x){var C=parseInt(x[0].replace("W","")),M=C==1?this.i18n.firstWeekday():p.StringUtilities.format(this.i18n.weekdayNearestDayX0(),C.toString());v=p.StringUtilities.format(this.i18n.commaOnTheX0OfTheMonth(),M);break}else{var $=w.match(/L-(\d{1,2})/);if($){var E=$[1];v=p.StringUtilities.format(this.i18n.commaDaysBeforeTheLastDayOfTheMonth(E),E);break}else{if(w=="*"&&this.expressionParts[5]!="*")return"";v=this.getSegmentDescription(w,this.i18n.commaEveryDay(),function(k){return k=="L"?g.i18n.lastDay():g.i18n.dayX0?p.StringUtilities.format(g.i18n.dayX0(),k):k},function(k){return k=="1"?g.i18n.commaEveryDay():g.i18n.commaEveryX0Days(k)},function(k){return g.i18n.commaBetweenDayX0AndX1OfTheMonth(k)},function(k){return g.i18n.commaOnDayX0OfTheMonth(k)})}break}}return v},_.prototype.getYearDescription=function(){var g=this,v=this.getSegmentDescription(this.expressionParts[6],"",function(w){return/^\d+$/.test(w)?new Date(parseInt(w),1).getFullYear().toString():w},function(w){return p.StringUtilities.format(g.i18n.commaEveryX0Years(w),w)},function(w){return g.i18n.commaYearX0ThroughYearX1()||g.i18n.commaX0ThroughX1()},function(w){return g.i18n.commaOnlyInYearX0?g.i18n.commaOnlyInYearX0():g.i18n.commaOnlyInX0()});return v},_.prototype.getSegmentDescription=function(g,v,w,x,C,M){var $=null,E=g.indexOf("/")>-1,k=g.indexOf("-")>-1,T=g.indexOf(",")>-1;if(!g)$="";else if(g==="*")$=v;else if(!E&&!k&&!T)$=p.StringUtilities.format(M(g),w(g));else if(T){for(var A=g.split(","),I="",j=0;j0&&A.length>2&&(I+=",",j0&&A.length>1&&(j==A.length-1||A.length==2)&&(I+="".concat(this.i18n.spaceAnd()," ")),A[j].indexOf("/")>-1||A[j].indexOf("-")>-1){var O=A[j].indexOf("-")>-1&&A[j].indexOf("/")==-1,F=this.getSegmentDescription(A[j],v,w,x,O?this.i18n.commaX0ThroughX1:C,M);O&&(F=F.replace(", ","")),I+=F}else E?I+=this.getSegmentDescription(A[j],v,w,x,C,M):I+=w(A[j]);E?$=I:$=p.StringUtilities.format(M(g),I)}else if(E){var A=g.split("/");if($=p.StringUtilities.format(x(A[1]),A[1]),A[0].indexOf("-")>-1){var H=this.generateRangeSegmentDescription(A[0],C,w);H.indexOf(", ")!=0&&($+=", "),$+=H}else if(A[0].indexOf("*")==-1){var q=p.StringUtilities.format(M(A[0]),w(A[0]));q=q.replace(", ",""),$+=p.StringUtilities.format(this.i18n.commaStartingX0(),q)}}else k&&($=this.generateRangeSegmentDescription(g,C,w));return $},_.prototype.generateRangeSegmentDescription=function(g,v,w){var x="",C=g.split("-"),M=w(C[0],1),$=w(C[1],2),E=v(g);return x+=p.StringUtilities.format(E,M,$),x},_.prototype.formatTime=function(g,v,w){var x=0,C=0;this.options.tzOffset&&(x=this.options.tzOffset>0?Math.floor(this.options.tzOffset):Math.ceil(this.options.tzOffset),C=parseFloat((this.options.tzOffset%1).toFixed(2)),C!=0&&(C*=60));var M=parseInt(g)+x,$=parseInt(v)+C;$>=60?($-=60,M+=1):$<0&&($+=60,M-=1),M>=24?M=M-24:M<0&&(M=24+M);var E="",k=!1;this.options.use24HourTimeFormat||(k=!!(this.i18n.setPeriodBeforeTime&&this.i18n.setPeriodBeforeTime()),E=k?"".concat(this.getPeriod(M)," "):" ".concat(this.getPeriod(M)),M>12&&(M-=12),M===0&&(M=12));var T="";return w&&(T=":".concat(("00"+w).substring(w.length))),"".concat(k?E:"").concat(("00"+M.toString()).substring(M.toString().length),":").concat(("00"+$.toString()).substring($.toString().length)).concat(T).concat(k?"":E)},_.prototype.transformVerbosity=function(g,v){return v||(g=g.replace(new RegExp(", ".concat(this.i18n.everyMinute()),"g"),""),g=g.replace(new RegExp(", ".concat(this.i18n.everyHour()),"g"),""),g=g.replace(new RegExp(this.i18n.commaEveryDay(),"g"),""),g=g.replace(/\, ?$/,"")),g},_.prototype.getPeriod=function(g){return g>=12?this.i18n.pm&&this.i18n.pm()||"PM":this.i18n.am&&this.i18n.am()||"AM"},_.locales={},_}();l.ExpressionDescriptor=d},747:(a,l,u)=>{Object.defineProperty(l,"__esModule",{value:!0}),l.enLocaleLoader=void 0;var p=u(486),h=function(){function d(){}return d.prototype.load=function(_){_.en=new p.en},d}();l.enLocaleLoader=h},486:(a,l)=>{Object.defineProperty(l,"__esModule",{value:!0}),l.en=void 0;var u=function(){function p(){}return p.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},p.prototype.atX0MinutesPastTheHourGt20=function(){return null},p.prototype.commaMonthX0ThroughMonthX1=function(){return null},p.prototype.commaYearX0ThroughYearX1=function(){return null},p.prototype.use24HourTimeFormatByDefault=function(){return!1},p.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"An error occured when generating the expression description. Check the cron expression syntax."},p.prototype.everyMinute=function(){return"every minute"},p.prototype.everyHour=function(){return"every hour"},p.prototype.atSpace=function(){return"At "},p.prototype.everyMinuteBetweenX0AndX1=function(){return"Every minute between %s and %s"},p.prototype.at=function(){return"At"},p.prototype.spaceAnd=function(){return" and"},p.prototype.everySecond=function(){return"every second"},p.prototype.everyX0Seconds=function(){return"every %s seconds"},p.prototype.secondsX0ThroughX1PastTheMinute=function(){return"seconds %s through %s past the minute"},p.prototype.atX0SecondsPastTheMinute=function(){return"at %s seconds past the minute"},p.prototype.everyX0Minutes=function(){return"every %s minutes"},p.prototype.minutesX0ThroughX1PastTheHour=function(){return"minutes %s through %s past the hour"},p.prototype.atX0MinutesPastTheHour=function(){return"at %s minutes past the hour"},p.prototype.everyX0Hours=function(){return"every %s hours"},p.prototype.betweenX0AndX1=function(){return"between %s and %s"},p.prototype.atX0=function(){return"at %s"},p.prototype.commaEveryDay=function(){return", every day"},p.prototype.commaEveryX0DaysOfTheWeek=function(){return", every %s days of the week"},p.prototype.commaX0ThroughX1=function(){return", %s through %s"},p.prototype.commaAndX0ThroughX1=function(){return", %s through %s"},p.prototype.first=function(){return"first"},p.prototype.second=function(){return"second"},p.prototype.third=function(){return"third"},p.prototype.fourth=function(){return"fourth"},p.prototype.fifth=function(){return"fifth"},p.prototype.commaOnThe=function(){return", on the "},p.prototype.spaceX0OfTheMonth=function(){return" %s of the month"},p.prototype.lastDay=function(){return"the last day"},p.prototype.commaOnTheLastX0OfTheMonth=function(){return", on the last %s of the month"},p.prototype.commaOnlyOnX0=function(){return", only on %s"},p.prototype.commaAndOnX0=function(){return", and on %s"},p.prototype.commaEveryX0Months=function(){return", every %s months"},p.prototype.commaOnlyInX0=function(){return", only in %s"},p.prototype.commaOnTheLastDayOfTheMonth=function(){return", on the last day of the month"},p.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", on the last weekday of the month"},p.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s days before the last day of the month"},p.prototype.firstWeekday=function(){return"first weekday"},p.prototype.weekdayNearestDayX0=function(){return"weekday nearest day %s"},p.prototype.commaOnTheX0OfTheMonth=function(){return", on the %s of the month"},p.prototype.commaEveryX0Days=function(){return", every %s days"},p.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", between day %s and %s of the month"},p.prototype.commaOnDayX0OfTheMonth=function(){return", on day %s of the month"},p.prototype.commaEveryHour=function(){return", every hour"},p.prototype.commaEveryX0Years=function(){return", every %s years"},p.prototype.commaStartingX0=function(){return", starting %s"},p.prototype.daysOfTheWeek=function(){return["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},p.prototype.monthsOfTheYear=function(){return["January","February","March","April","May","June","July","August","September","October","November","December"]},p}();l.en=u},515:(a,l)=>{Object.defineProperty(l,"__esModule",{value:!0});function u(h,d){if(!h)throw new Error(d)}var p=function(){function h(){}return h.secondRange=function(d){for(var _=d.split(","),g=0;g<_.length;g++)if(!isNaN(parseInt(_[g],10))){var v=parseInt(_[g],10);u(v>=0&&v<=59,"seconds part must be >= 0 and <= 59")}},h.minuteRange=function(d){for(var _=d.split(","),g=0;g<_.length;g++)if(!isNaN(parseInt(_[g],10))){var v=parseInt(_[g],10);u(v>=0&&v<=59,"minutes part must be >= 0 and <= 59")}},h.hourRange=function(d){for(var _=d.split(","),g=0;g<_.length;g++)if(!isNaN(parseInt(_[g],10))){var v=parseInt(_[g],10);u(v>=0&&v<=23,"hours part must be >= 0 and <= 23")}},h.dayOfMonthRange=function(d){for(var _=d.split(","),g=0;g<_.length;g++)if(!isNaN(parseInt(_[g],10))){var v=parseInt(_[g],10);u(v>=1&&v<=31,"DOM part must be >= 1 and <= 31")}},h.monthRange=function(d,_){for(var g=d.split(","),v=0;v=1&&w<=12,_?"month part must be >= 0 and <= 11":"month part must be >= 1 and <= 12")}},h.dayOfWeekRange=function(d,_){for(var g=d.split(","),v=0;v=0&&w<=6,_?"DOW part must be >= 0 and <= 6":"DOW part must be >= 1 and <= 7")}},h}();l.default=p},823:(a,l)=>{Object.defineProperty(l,"__esModule",{value:!0}),l.StringUtilities=void 0;var u=function(){function p(){}return p.format=function(h){for(var d=[],_=1;_-1})},p}();l.StringUtilities=u}},n={};function o(a){var l=n[a];if(l!==void 0)return l.exports;var u=n[a]={exports:{}};return r[a](u,u.exports,o),u.exports}var s={};return(()=>{var a=s;Object.defineProperty(a,"__esModule",{value:!0}),a.toString=void 0;var l=o(333),u=o(747);l.ExpressionDescriptor.initialize(new u.enLocaleLoader),a.default=l.ExpressionDescriptor;var p=l.ExpressionDescriptor.toString;a.toString=p})(),s})())}(eb)),eb.exports}var pVe=Jo();const fVe=da(pVe);var tb={exports:{}},XO;function hVe(){return XO||(XO=1,function(t,e){(function(n,o){t.exports=o(Jo())})(globalThis,r=>(()=>{var n={93:d=>{d.exports=r}},o={};function s(d){var _=o[d];if(_!==void 0)return _.exports;var g=o[d]={exports:{}};return n[d](g,g.exports,s),g.exports}s.n=d=>{var _=d&&d.__esModule?()=>d.default:()=>d;return s.d(_,{a:_}),_},s.d=(d,_)=>{for(var g in _)s.o(_,g)&&!s.o(d,g)&&Object.defineProperty(d,g,{enumerable:!0,get:_[g]})},s.o=(d,_)=>Object.prototype.hasOwnProperty.call(d,_),s.r=d=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(d,"__esModule",{value:!0})};var a={};s.r(a);var l=s(93),u=s.n(l),p=a;Object.defineProperty(p,"__esModule",{value:!0}),p.fr=void 0;var h=function(){function d(){}return d.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},d.prototype.atX0MinutesPastTheHourGt20=function(){return null},d.prototype.commaMonthX0ThroughMonthX1=function(){return null},d.prototype.commaYearX0ThroughYearX1=function(){return null},d.prototype.use24HourTimeFormatByDefault=function(){return!0},d.prototype.everyMinute=function(){return"toutes les minutes"},d.prototype.everyHour=function(){return"toutes les heures"},d.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"Une erreur est survenue en générant la description de l'expression cron. Vérifiez sa syntaxe."},d.prototype.atSpace=function(){return"À "},d.prototype.everyMinuteBetweenX0AndX1=function(){return"Toutes les minutes entre %s et %s"},d.prototype.at=function(){return"À"},d.prototype.spaceAnd=function(){return" et"},d.prototype.everySecond=function(){return"toutes les secondes"},d.prototype.everyX0Seconds=function(){return"toutes les %s secondes"},d.prototype.secondsX0ThroughX1PastTheMinute=function(){return"les secondes entre %s et %s après la minute"},d.prototype.atX0SecondsPastTheMinute=function(){return"%s secondes après la minute"},d.prototype.everyX0Minutes=function(){return"toutes les %s minutes"},d.prototype.minutesX0ThroughX1PastTheHour=function(){return"les minutes entre %s et %s après l'heure"},d.prototype.atX0MinutesPastTheHour=function(){return"%s minutes après l'heure"},d.prototype.everyX0Hours=function(){return"toutes les %s heures"},d.prototype.betweenX0AndX1=function(){return"de %s à %s"},d.prototype.atX0=function(){return"à %s"},d.prototype.commaEveryDay=function(){return", tous les jours"},d.prototype.commaEveryX0DaysOfTheWeek=function(){return", tous les %s jours de la semaine"},d.prototype.commaX0ThroughX1=function(){return", de %s à %s"},d.prototype.commaAndX0ThroughX1=function(){return", et de %s à %s"},d.prototype.first=function(){return"premier"},d.prototype.second=function(){return"second"},d.prototype.third=function(){return"troisième"},d.prototype.fourth=function(){return"quatrième"},d.prototype.fifth=function(){return"cinquième"},d.prototype.commaOnThe=function(){return", le "},d.prototype.spaceX0OfTheMonth=function(){return" %s du mois"},d.prototype.lastDay=function(){return"le dernier jour"},d.prototype.commaOnTheLastX0OfTheMonth=function(){return", le dernier %s du mois"},d.prototype.commaOnlyOnX0=function(){return", uniquement le %s"},d.prototype.commaAndOnX0=function(){return", et %s"},d.prototype.commaEveryX0Months=function(){return", tous les %s mois"},d.prototype.commaOnlyInX0=function(){return", uniquement en %s"},d.prototype.commaOnTheLastDayOfTheMonth=function(){return", le dernier jour du mois"},d.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", le dernier jour ouvrable du mois"},d.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s jours avant le dernier jour du mois"},d.prototype.firstWeekday=function(){return"premier jour ouvrable"},d.prototype.weekdayNearestDayX0=function(){return"jour ouvrable le plus proche du %s"},d.prototype.commaOnTheX0OfTheMonth=function(){return", le %s du mois"},d.prototype.commaEveryX0Days=function(){return", tous les %s jours"},d.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", du %s au %s du mois"},d.prototype.commaOnDayX0OfTheMonth=function(){return", le %s du mois"},d.prototype.commaEveryX0Years=function(){return", tous les %s ans"},d.prototype.commaDaysX0ThroughX1=function(){return", du %s au %s"},d.prototype.commaStartingX0=function(){return", à partir de %s"},d.prototype.daysOfTheWeek=function(){return["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},d.prototype.monthsOfTheYear=function(){return["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},d}();return p.fr=h,u().locales.fr=new h,a})())}(tb)),tb.exports}hVe();var rb={exports:{}},JO;function mVe(){return JO||(JO=1,function(t,e){(function(n,o){t.exports=o(Jo())})(globalThis,r=>(()=>{var n={93:d=>{d.exports=r}},o={};function s(d){var _=o[d];if(_!==void 0)return _.exports;var g=o[d]={exports:{}};return n[d](g,g.exports,s),g.exports}s.n=d=>{var _=d&&d.__esModule?()=>d.default:()=>d;return s.d(_,{a:_}),_},s.d=(d,_)=>{for(var g in _)s.o(_,g)&&!s.o(d,g)&&Object.defineProperty(d,g,{enumerable:!0,get:_[g]})},s.o=(d,_)=>Object.prototype.hasOwnProperty.call(d,_),s.r=d=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(d,"__esModule",{value:!0})};var a={};s.r(a);var l=s(93),u=s.n(l),p=a;Object.defineProperty(p,"__esModule",{value:!0}),p.es=void 0;var h=function(){function d(){}return d.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},d.prototype.atX0MinutesPastTheHourGt20=function(){return null},d.prototype.commaMonthX0ThroughMonthX1=function(){return null},d.prototype.commaYearX0ThroughYearX1=function(){return null},d.prototype.use24HourTimeFormatByDefault=function(){return!0},d.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"Ocurrió un error mientras se generaba la descripción de la expresión. Revise la sintaxis de la expresión de cron."},d.prototype.at=function(){return"A las"},d.prototype.atSpace=function(){return"A las "},d.prototype.atX0=function(){return"a las %s"},d.prototype.atX0MinutesPastTheHour=function(){return"a los %s minutos de la hora"},d.prototype.atX0SecondsPastTheMinute=function(){return"a los %s segundos del minuto"},d.prototype.betweenX0AndX1=function(){return"entre las %s y las %s"},d.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", entre los días %s y %s del mes"},d.prototype.commaEveryDay=function(){return", cada día"},d.prototype.commaEveryX0Days=function(){return", cada %s días"},d.prototype.commaEveryX0DaysOfTheWeek=function(){return", cada %s días de la semana"},d.prototype.commaEveryX0Months=function(){return", cada %s meses"},d.prototype.commaOnDayX0OfTheMonth=function(){return", el día %s del mes"},d.prototype.commaOnlyInX0=function(){return", sólo en %s"},d.prototype.commaOnlyOnX0=function(){return", sólo el %s"},d.prototype.commaAndOnX0=function(){return", y el %s"},d.prototype.commaOnThe=function(){return", en el "},d.prototype.commaOnTheLastDayOfTheMonth=function(){return", en el último día del mes"},d.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", en el último día de la semana del mes"},d.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s días antes del último día del mes"},d.prototype.commaOnTheLastX0OfTheMonth=function(){return", en el último %s del mes"},d.prototype.commaOnTheX0OfTheMonth=function(){return", en el %s del mes"},d.prototype.commaX0ThroughX1=function(){return", de %s a %s"},d.prototype.commaAndX0ThroughX1=function(){return", y de %s a %s"},d.prototype.everyHour=function(){return"cada hora"},d.prototype.everyMinute=function(){return"cada minuto"},d.prototype.everyMinuteBetweenX0AndX1=function(){return"cada minuto entre las %s y las %s"},d.prototype.everySecond=function(){return"cada segundo"},d.prototype.everyX0Hours=function(){return"cada %s horas"},d.prototype.everyX0Minutes=function(){return"cada %s minutos"},d.prototype.everyX0Seconds=function(){return"cada %s segundos"},d.prototype.fifth=function(){return"quinto"},d.prototype.first=function(){return"primero"},d.prototype.firstWeekday=function(){return"primer día de la semana"},d.prototype.fourth=function(){return"cuarto"},d.prototype.minutesX0ThroughX1PastTheHour=function(){return"del minuto %s al %s pasada la hora"},d.prototype.second=function(){return"segundo"},d.prototype.secondsX0ThroughX1PastTheMinute=function(){return"En los segundos %s al %s de cada minuto"},d.prototype.spaceAnd=function(){return" y"},d.prototype.spaceX0OfTheMonth=function(){return" %s del mes"},d.prototype.lastDay=function(){return"el último día"},d.prototype.third=function(){return"tercer"},d.prototype.weekdayNearestDayX0=function(){return"día de la semana más próximo al %s"},d.prototype.commaEveryX0Years=function(){return", cada %s años"},d.prototype.commaStartingX0=function(){return", comenzando %s"},d.prototype.daysOfTheWeek=function(){return["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},d.prototype.monthsOfTheYear=function(){return["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},d}();return p.es=h,u().locales.es=new h,a})())}(rb)),rb.exports}mVe();var nb={exports:{}},YO;function _Ve(){return YO||(YO=1,function(t,e){(function(n,o){t.exports=o(Jo())})(globalThis,r=>(()=>{var n={93:d=>{d.exports=r}},o={};function s(d){var _=o[d];if(_!==void 0)return _.exports;var g=o[d]={exports:{}};return n[d](g,g.exports,s),g.exports}s.n=d=>{var _=d&&d.__esModule?()=>d.default:()=>d;return s.d(_,{a:_}),_},s.d=(d,_)=>{for(var g in _)s.o(_,g)&&!s.o(d,g)&&Object.defineProperty(d,g,{enumerable:!0,get:_[g]})},s.o=(d,_)=>Object.prototype.hasOwnProperty.call(d,_),s.r=d=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(d,"__esModule",{value:!0})};var a={};s.r(a);var l=s(93),u=s.n(l),p=a;Object.defineProperty(p,"__esModule",{value:!0}),p.de=void 0;var h=function(){function d(){}return d.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},d.prototype.atX0MinutesPastTheHourGt20=function(){return null},d.prototype.commaMonthX0ThroughMonthX1=function(){return null},d.prototype.commaYearX0ThroughYearX1=function(){return null},d.prototype.use24HourTimeFormatByDefault=function(){return!0},d.prototype.everyMinute=function(){return"jede Minute"},d.prototype.everyHour=function(){return"jede Stunde"},d.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"Beim Generieren der Ausdrucksbeschreibung ist ein Fehler aufgetreten. Überprüfen Sie die Syntax des Cron-Ausdrucks."},d.prototype.atSpace=function(){return"Um "},d.prototype.everyMinuteBetweenX0AndX1=function(){return"Jede Minute zwischen %s und %s"},d.prototype.at=function(){return"Um"},d.prototype.spaceAnd=function(){return" und"},d.prototype.everySecond=function(){return"Jede Sekunde"},d.prototype.everyX0Seconds=function(){return"alle %s Sekunden"},d.prototype.secondsX0ThroughX1PastTheMinute=function(){return"Sekunden %s bis %s"},d.prototype.atX0SecondsPastTheMinute=function(){return"bei Sekunde %s"},d.prototype.everyX0Minutes=function(){return"alle %s Minuten"},d.prototype.minutesX0ThroughX1PastTheHour=function(){return"Minuten %s bis %s"},d.prototype.atX0MinutesPastTheHour=function(){return"bei Minute %s"},d.prototype.everyX0Hours=function(){return"alle %s Stunden"},d.prototype.betweenX0AndX1=function(){return"zwischen %s und %s"},d.prototype.atX0=function(){return"um %s"},d.prototype.commaEveryDay=function(){return", jeden Tag"},d.prototype.commaEveryX0DaysOfTheWeek=function(){return", alle %s Tage der Woche"},d.prototype.commaX0ThroughX1=function(){return", %s bis %s"},d.prototype.commaAndX0ThroughX1=function(){return", und %s bis %s"},d.prototype.first=function(){return"ersten"},d.prototype.second=function(){return"zweiten"},d.prototype.third=function(){return"dritten"},d.prototype.fourth=function(){return"vierten"},d.prototype.fifth=function(){return"fünften"},d.prototype.commaOnThe=function(){return", am "},d.prototype.spaceX0OfTheMonth=function(){return" %s des Monats"},d.prototype.lastDay=function(){return"der letzte Tag"},d.prototype.commaOnTheLastX0OfTheMonth=function(){return", am letzten %s des Monats"},d.prototype.commaOnlyOnX0=function(){return", nur jeden %s"},d.prototype.commaAndOnX0=function(){return", und jeden %s"},d.prototype.commaEveryX0Months=function(){return", alle %s Monate"},d.prototype.commaOnlyInX0=function(){return", nur im %s"},d.prototype.commaOnTheLastDayOfTheMonth=function(){return", am letzten Tag des Monats"},d.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", am letzten Werktag des Monats"},d.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s tage vor dem letzten Tag des Monats"},d.prototype.firstWeekday=function(){return"ersten Werktag"},d.prototype.weekdayNearestDayX0=function(){return"Werktag am nächsten zum %s Tag"},d.prototype.commaOnTheX0OfTheMonth=function(){return", am %s des Monats"},d.prototype.commaEveryX0Days=function(){return", alle %s Tage"},d.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", zwischen Tag %s und %s des Monats"},d.prototype.commaOnDayX0OfTheMonth=function(){return", an Tag %s des Monats"},d.prototype.commaEveryX0Years=function(){return", alle %s Jahre"},d.prototype.commaStartingX0=function(){return", beginnend %s"},d.prototype.daysOfTheWeek=function(){return["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},d.prototype.monthsOfTheYear=function(){return["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},d}();return p.de=h,u().locales.de=new h,a})())}(nb)),nb.exports}_Ve();var ob={exports:{}},KO;function gVe(){return KO||(KO=1,function(t,e){(function(n,o){t.exports=o(Jo())})(globalThis,r=>(()=>{var n={93:d=>{d.exports=r}},o={};function s(d){var _=o[d];if(_!==void 0)return _.exports;var g=o[d]={exports:{}};return n[d](g,g.exports,s),g.exports}s.n=d=>{var _=d&&d.__esModule?()=>d.default:()=>d;return s.d(_,{a:_}),_},s.d=(d,_)=>{for(var g in _)s.o(_,g)&&!s.o(d,g)&&Object.defineProperty(d,g,{enumerable:!0,get:_[g]})},s.o=(d,_)=>Object.prototype.hasOwnProperty.call(d,_),s.r=d=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(d,"__esModule",{value:!0})};var a={};s.r(a);var l=s(93),u=s.n(l),p=a;Object.defineProperty(p,"__esModule",{value:!0}),p.it=void 0;var h=function(){function d(){}return d.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},d.prototype.atX0MinutesPastTheHourGt20=function(){return null},d.prototype.commaMonthX0ThroughMonthX1=function(){return null},d.prototype.commaYearX0ThroughYearX1=function(){return null},d.prototype.use24HourTimeFormatByDefault=function(){return!0},d.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"È verificato un errore durante la generazione la descrizione espressione. Controllare la sintassi delle espressioni cron."},d.prototype.at=function(){return"Alle"},d.prototype.atSpace=function(){return"Alle "},d.prototype.atX0=function(){return"alle %s"},d.prototype.atX0MinutesPastTheHour=function(){return"al %s minuto passata l'ora"},d.prototype.atX0SecondsPastTheMinute=function(){return"al %s secondo passato il minuto"},d.prototype.betweenX0AndX1=function(){return"tra le %s e le %s"},d.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", tra il giorno %s e %s del mese"},d.prototype.commaEveryDay=function(){return", ogni giorno"},d.prototype.commaEveryX0Days=function(){return", ogni %s giorni"},d.prototype.commaEveryX0DaysOfTheWeek=function(){return", ogni %s giorni della settimana"},d.prototype.commaEveryX0Months=function(){return", ogni %s mesi"},d.prototype.commaEveryX0Years=function(){return", ogni %s anni"},d.prototype.commaOnDayX0OfTheMonth=function(){return", il giorno %s del mese"},d.prototype.commaOnlyInX0=function(){return", solo in %s"},d.prototype.commaOnlyOnX0=function(){return", solo il %s"},d.prototype.commaAndOnX0=function(){return", e il %s"},d.prototype.commaOnThe=function(){return", il "},d.prototype.commaOnTheLastDayOfTheMonth=function(){return", l'ultimo giorno del mese"},d.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", nell'ultima settimana del mese"},d.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s giorni prima dell'ultimo giorno del mese"},d.prototype.commaOnTheLastX0OfTheMonth=function(){return", l'ultimo %s del mese"},d.prototype.commaOnTheX0OfTheMonth=function(){return", il %s del mese"},d.prototype.commaX0ThroughX1=function(){return", %s al %s"},d.prototype.commaAndX0ThroughX1=function(){return", e %s al %s"},d.prototype.everyHour=function(){return"ogni ora"},d.prototype.everyMinute=function(){return"ogni minuto"},d.prototype.everyMinuteBetweenX0AndX1=function(){return"Ogni minuto tra le %s e le %s"},d.prototype.everySecond=function(){return"ogni secondo"},d.prototype.everyX0Hours=function(){return"ogni %s ore"},d.prototype.everyX0Minutes=function(){return"ogni %s minuti"},d.prototype.everyX0Seconds=function(){return"ogni %s secondi"},d.prototype.fifth=function(){return"quinto"},d.prototype.first=function(){return"primo"},d.prototype.firstWeekday=function(){return"primo giorno della settimana"},d.prototype.fourth=function(){return"quarto"},d.prototype.minutesX0ThroughX1PastTheHour=function(){return"minuti %s al %s dopo l'ora"},d.prototype.second=function(){return"secondo"},d.prototype.secondsX0ThroughX1PastTheMinute=function(){return"secondi %s al %s oltre il minuto"},d.prototype.spaceAnd=function(){return" e"},d.prototype.spaceX0OfTheMonth=function(){return" %s del mese"},d.prototype.lastDay=function(){return"l'ultimo giorno"},d.prototype.third=function(){return"terzo"},d.prototype.weekdayNearestDayX0=function(){return"giorno della settimana più vicino al %s"},d.prototype.commaStartingX0=function(){return", a partire %s"},d.prototype.daysOfTheWeek=function(){return["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"]},d.prototype.monthsOfTheYear=function(){return["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]},d}();return p.it=h,u().locales.it=new h,a})())}(ob)),ob.exports}gVe();var sb={exports:{}},ZO;function yVe(){return ZO||(ZO=1,function(t,e){(function(n,o){t.exports=o(Jo())})(globalThis,r=>(()=>{var n={93:g=>{g.exports=r}},o={};function s(g){var v=o[g];if(v!==void 0)return v.exports;var w=o[g]={exports:{}};return n[g](w,w.exports,s),w.exports}s.n=g=>{var v=g&&g.__esModule?()=>g.default:()=>g;return s.d(v,{a:v}),v},s.d=(g,v)=>{for(var w in v)s.o(v,w)&&!s.o(g,w)&&Object.defineProperty(g,w,{enumerable:!0,get:v[w]})},s.o=(g,v)=>Object.prototype.hasOwnProperty.call(g,v),s.r=g=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(g,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(g,"__esModule",{value:!0})};var a={};s.r(a);var l=s(93),u=s.n(l),p=a;Object.defineProperty(p,"__esModule",{value:!0}),p.ru=void 0;var h=function(g,v){var w=Number(g);return w!==void 0?v[w%100>4&&w%100<20?2:[2,0,1,1,1,2][w%10<5?Math.abs(w)%10:5]]:v[2]},d=function(g,v){var w=Number(g);return w!==void 0?v[w===0?0:w===1||w===2||w===4?1:2]:v[1]},_=function(){function g(){}return g.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},g.prototype.atX0MinutesPastTheHourGt20=function(){return null},g.prototype.commaMonthX0ThroughMonthX1=function(){return null},g.prototype.commaYearX0ThroughYearX1=function(){return null},g.prototype.use24HourTimeFormatByDefault=function(){return!0},g.prototype.everyMinute=function(){return"каждую минуту"},g.prototype.everyHour=function(){return"каждый час"},g.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"Произошла ошибка во время генерации описания выражения. Проверьте синтаксис крон-выражения."},g.prototype.atSpace=function(){return"В "},g.prototype.everyMinuteBetweenX0AndX1=function(){return"Каждую минуту с %s по %s"},g.prototype.at=function(){return"В"},g.prototype.spaceAnd=function(){return" и"},g.prototype.everySecond=function(){return"каждую секунду"},g.prototype.everyX0Seconds=function(v){return h(v,["каждую %s секунду","каждые %s секунды","каждые %s секунд"])},g.prototype.secondsX0ThroughX1PastTheMinute=function(){return"секунды с %s по %s"},g.prototype.atX0SecondsPastTheMinute=function(v){return h(v,["в %s секунду","в %s секунды","в %s секунд"])},g.prototype.everyX0Minutes=function(v){return h(v,["каждую %s минуту","каждые %s минуты","каждые %s минут"])},g.prototype.minutesX0ThroughX1PastTheHour=function(){return"минуты с %s по %s"},g.prototype.atX0MinutesPastTheHour=function(v){return h(v,["в %s минуту","в %s минуты","в %s минут"])},g.prototype.everyX0Hours=function(v){return h(v,["каждый %s час","каждые %s часа","каждые %s часов"])},g.prototype.betweenX0AndX1=function(){return"с %s по %s"},g.prototype.atX0=function(){return"в %s"},g.prototype.commaEveryDay=function(){return", каждый день"},g.prototype.commaEveryX0DaysOfTheWeek=function(v){return h(v,["",", каждые %s дня недели",", каждые %s дней недели"])},g.prototype.commaX0ThroughX1=function(v){return v&&(v[0]=="2"||v[0]=="3")?", со %s по %s":", с %s по %s"},g.prototype.commaAndX0ThroughX1=function(v){return v&&(v[0]=="2"||v[0]=="3")?" и со %s по %s":" и с %s по %s"},g.prototype.first=function(v){return d(v,["первое","первый","первую"])},g.prototype.second=function(v){return d(v,["второе","второй","вторую"])},g.prototype.third=function(v){return d(v,["третье","третий","третью"])},g.prototype.fourth=function(v){return d(v,["четвертое","четвертый","четвертую"])},g.prototype.fifth=function(v){return d(v,["пятое","пятый","пятую"])},g.prototype.commaOnThe=function(v){return v==="2"?", во ":", в "},g.prototype.spaceX0OfTheMonth=function(){return" %s месяца"},g.prototype.lastDay=function(){return"последний день"},g.prototype.commaOnTheLastX0OfTheMonth=function(v){return d(v,[", в последнее %s месяца",", в последний %s месяца",", в последнюю %s месяца"])},g.prototype.commaOnlyOnX0=function(v){return v&&v[0]==="2"?", только во %s":", только в %s"},g.prototype.commaAndOnX0=function(){return", и %s"},g.prototype.commaEveryX0Months=function(v){return h(v,[""," каждые %s месяца"," каждые %s месяцев"])},g.prototype.commaOnlyInMonthX0=function(){return", только %s"},g.prototype.commaOnlyInX0=function(){return", только в %s"},g.prototype.commaOnTheLastDayOfTheMonth=function(){return", в последний день месяца"},g.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", в последний будний день месяца"},g.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(v){return h(v,[", за %s день до конца месяца",", за %s дня до конца месяца",", за %s дней до конца месяца"])},g.prototype.firstWeekday=function(){return"первый будний день"},g.prototype.weekdayNearestDayX0=function(){return"ближайший будний день к %s числу"},g.prototype.commaOnTheX0OfTheMonth=function(){return", в %s месяца"},g.prototype.commaEveryX0Days=function(v){return h(v,[", каждый %s день",", каждые %s дня",", каждые %s дней"])},g.prototype.commaBetweenDayX0AndX1OfTheMonth=function(v){return v&&v.substring(0,v.indexOf("-"))=="2"?", со %s по %s число месяца":", с %s по %s число месяца"},g.prototype.commaOnDayX0OfTheMonth=function(v){return v&&v[0]=="2"?", во %s число месяца":", в %s число месяца"},g.prototype.commaEveryX0Years=function(v){return h(v,[", каждый %s год",", каждые %s года",", каждые %s лет"])},g.prototype.commaStartingX0=function(){return", начало %s"},g.prototype.daysOfTheWeek=function(){return["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},g.prototype.daysOfTheWeekInCase=function(v){return v===void 0&&(v=2),v==1?["воскресенья","понедельника","вторника","среды","четверга","пятницы","субботы"]:["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"]},g.prototype.monthsOfTheYear=function(){return["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},g.prototype.monthsOfTheYearInCase=function(v){return v==1?["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]:this.monthsOfTheYear()},g}();return p.ru=_,u().locales.ru=new _,a})())}(sb)),sb.exports}yVe();var ab={exports:{}},QO;function vVe(){return QO||(QO=1,function(t,e){(function(n,o){t.exports=o(Jo())})(globalThis,r=>(()=>{var n={93:d=>{d.exports=r}},o={};function s(d){var _=o[d];if(_!==void 0)return _.exports;var g=o[d]={exports:{}};return n[d](g,g.exports,s),g.exports}s.n=d=>{var _=d&&d.__esModule?()=>d.default:()=>d;return s.d(_,{a:_}),_},s.d=(d,_)=>{for(var g in _)s.o(_,g)&&!s.o(d,g)&&Object.defineProperty(d,g,{enumerable:!0,get:_[g]})},s.o=(d,_)=>Object.prototype.hasOwnProperty.call(d,_),s.r=d=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(d,"__esModule",{value:!0})};var a={};s.r(a);var l=s(93),u=s.n(l),p=a;Object.defineProperty(p,"__esModule",{value:!0}),p.zh_CN=void 0;var h=function(){function d(){}return d.prototype.setPeriodBeforeTime=function(){return!0},d.prototype.pm=function(){return"下午"},d.prototype.am=function(){return"上午"},d.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},d.prototype.atX0MinutesPastTheHourGt20=function(){return null},d.prototype.commaMonthX0ThroughMonthX1=function(){return null},d.prototype.commaYearX0ThroughYearX1=function(){return", 从%s年至%s年"},d.prototype.use24HourTimeFormatByDefault=function(){return!1},d.prototype.everyMinute=function(){return"每分钟"},d.prototype.everyHour=function(){return"每小时"},d.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"生成表达式描述时发生了错误,请检查cron表达式语法。"},d.prototype.atSpace=function(){return"在"},d.prototype.everyMinuteBetweenX0AndX1=function(){return"在 %s 至 %s 之间的每分钟"},d.prototype.at=function(){return"在"},d.prototype.spaceAnd=function(){return" 和"},d.prototype.everySecond=function(){return"每秒"},d.prototype.everyX0Seconds=function(){return"每隔 %s 秒"},d.prototype.secondsX0ThroughX1PastTheMinute=function(){return"在一分钟后的第 %s 到 %s 秒"},d.prototype.atX0SecondsPastTheMinute=function(){return"在一分钟后的第 %s 秒"},d.prototype.everyX0Minutes=function(){return"每隔 %s 分钟"},d.prototype.minutesX0ThroughX1PastTheHour=function(){return"在整点后的第 %s 到 %s 分钟"},d.prototype.atX0MinutesPastTheHour=function(){return"在整点后的第 %s 分钟"},d.prototype.everyX0Hours=function(){return"每隔 %s 小时"},d.prototype.betweenX0AndX1=function(){return"在 %s 和 %s 之间"},d.prototype.atX0=function(){return"在%s"},d.prototype.commaEveryDay=function(){return", 每天"},d.prototype.commaEveryX0DaysOfTheWeek=function(){return", 每周的每 %s 天"},d.prototype.commaX0ThroughX1=function(){return", %s至%s"},d.prototype.commaAndX0ThroughX1=function(){return", 和%s至%s"},d.prototype.first=function(){return"第一个"},d.prototype.second=function(){return"第二个"},d.prototype.third=function(){return"第三个"},d.prototype.fourth=function(){return"第四个"},d.prototype.fifth=function(){return"第五个"},d.prototype.commaOnThe=function(){return", 限每月的"},d.prototype.spaceX0OfTheMonth=function(){return"%s"},d.prototype.lastDay=function(){return"本月最后一天"},d.prototype.commaOnTheLastX0OfTheMonth=function(){return", 限每月的最后一个%s"},d.prototype.commaOnlyOnX0=function(){return", 仅%s"},d.prototype.commaAndOnX0=function(){return", 或者为%s"},d.prototype.commaEveryX0Months=function(){return", 每隔 %s 个月"},d.prototype.commaOnlyInX0=function(){return", 仅限%s"},d.prototype.commaOnlyInMonthX0=function(){return", 仅于%s份"},d.prototype.commaOnlyInYearX0=function(){return", 仅于 %s 年"},d.prototype.commaOnTheLastDayOfTheMonth=function(){return", 限每月的最后一天"},d.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", 限每月的最后一个工作日"},d.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", 限每月最后%s天"},d.prototype.firstWeekday=function(){return"第一个工作日"},d.prototype.weekdayNearestDayX0=function(){return"最接近 %s 号的工作日"},d.prototype.commaOnTheX0OfTheMonth=function(){return", 限每月的%s"},d.prototype.commaEveryX0Days=function(){return", 每隔 %s 天"},d.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", 限每月的 %s 至 %s 之间"},d.prototype.commaOnDayX0OfTheMonth=function(){return", 限每月%s"},d.prototype.commaEveryX0Years=function(){return", 每隔 %s 年"},d.prototype.commaStartingX0=function(){return", %s开始"},d.prototype.dayX0=function(){return" %s 号"},d.prototype.daysOfTheWeek=function(){return["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},d.prototype.monthsOfTheYear=function(){return["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},d}();return p.zh_CN=h,u().locales.zh_CN=new h,a})())}(ab)),ab.exports}vVe();var ib={exports:{}},eD;function bVe(){return eD||(eD=1,function(t,e){(function(n,o){t.exports=o(Jo())})(globalThis,r=>(()=>{var n={93:d=>{d.exports=r}},o={};function s(d){var _=o[d];if(_!==void 0)return _.exports;var g=o[d]={exports:{}};return n[d](g,g.exports,s),g.exports}s.n=d=>{var _=d&&d.__esModule?()=>d.default:()=>d;return s.d(_,{a:_}),_},s.d=(d,_)=>{for(var g in _)s.o(_,g)&&!s.o(d,g)&&Object.defineProperty(d,g,{enumerable:!0,get:_[g]})},s.o=(d,_)=>Object.prototype.hasOwnProperty.call(d,_),s.r=d=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(d,"__esModule",{value:!0})};var a={};s.r(a);var l=s(93),u=s.n(l),p=a;Object.defineProperty(p,"__esModule",{value:!0}),p.uk=void 0;var h=function(){function d(){}return d.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},d.prototype.atX0MinutesPastTheHourGt20=function(){return null},d.prototype.commaMonthX0ThroughMonthX1=function(){return null},d.prototype.commaYearX0ThroughYearX1=function(){return null},d.prototype.use24HourTimeFormatByDefault=function(){return!0},d.prototype.everyMinute=function(){return"щохвилини"},d.prototype.everyHour=function(){return"щогодини"},d.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"ВІдбулася помилка підчас генерації опису. Перевірта правильність написання cron виразу."},d.prototype.atSpace=function(){return"О "},d.prototype.everyMinuteBetweenX0AndX1=function(){return"Щохвилини між %s та %s"},d.prototype.at=function(){return"О"},d.prototype.spaceAnd=function(){return" та"},d.prototype.everySecond=function(){return"Щосекунди"},d.prototype.everyX0Seconds=function(){return"кожні %s секунд"},d.prototype.secondsX0ThroughX1PastTheMinute=function(){return"з %s по %s секунду"},d.prototype.atX0SecondsPastTheMinute=function(){return"о %s секунді"},d.prototype.everyX0Minutes=function(){return"кожні %s хвилин"},d.prototype.minutesX0ThroughX1PastTheHour=function(){return"з %s по %s хвилину"},d.prototype.atX0MinutesPastTheHour=function(){return"о %s хвилині"},d.prototype.everyX0Hours=function(){return"кожні %s годин"},d.prototype.betweenX0AndX1=function(){return"між %s та %s"},d.prototype.atX0=function(){return"о %s"},d.prototype.commaEveryDay=function(){return", щоденно"},d.prototype.commaEveryX0DaysOfTheWeek=function(){return", кожен %s день тижня"},d.prototype.commaX0ThroughX1=function(){return", %s по %s"},d.prototype.commaAndX0ThroughX1=function(){return", та %s по %s"},d.prototype.first=function(){return"перший"},d.prototype.second=function(){return"другий"},d.prototype.third=function(){return"третій"},d.prototype.fourth=function(){return"четвертий"},d.prototype.fifth=function(){return"п'ятий"},d.prototype.commaOnThe=function(){return", в "},d.prototype.spaceX0OfTheMonth=function(){return" %s місяця"},d.prototype.lastDay=function(){return"останній день"},d.prototype.commaOnTheLastX0OfTheMonth=function(){return", в останній %s місяця"},d.prototype.commaOnlyOnX0=function(){return", тільки в %s"},d.prototype.commaAndOnX0=function(){return", і в %s"},d.prototype.commaEveryX0Months=function(){return", кожен %s місяць"},d.prototype.commaOnlyInX0=function(){return", тільки в %s"},d.prototype.commaOnTheLastDayOfTheMonth=function(){return", в останній день місяця"},d.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", в останній будень місяця"},d.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s днів до останнього дня місяця"},d.prototype.firstWeekday=function(){return"перший будень"},d.prototype.weekdayNearestDayX0=function(){return"будень найближчий до %s дня"},d.prototype.commaOnTheX0OfTheMonth=function(){return", в %s місяця"},d.prototype.commaEveryX0Days=function(){return", кожен %s день"},d.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", між %s та %s днями місяця"},d.prototype.commaOnDayX0OfTheMonth=function(){return", на %s день місяця"},d.prototype.commaEveryX0Years=function(){return", кожні %s роки"},d.prototype.commaStartingX0=function(){return", початок %s"},d.prototype.daysOfTheWeek=function(){return["неділя","понеділок","вівторок","середа","четвер","п'ятниця","субота"]},d.prototype.monthsOfTheYear=function(){return["січень","лютий","березень","квітень","травень","червень","липень","серпень","вересень","жовтень","листопад","грудень"]},d}();return p.uk=h,u().locales.uk=new h,a})())}(ib)),ib.exports}bVe();var lb={exports:{}},tD;function wVe(){return tD||(tD=1,function(t,e){(function(n,o){t.exports=o(Jo())})(globalThis,r=>(()=>{var n={93:d=>{d.exports=r}},o={};function s(d){var _=o[d];if(_!==void 0)return _.exports;var g=o[d]={exports:{}};return n[d](g,g.exports,s),g.exports}s.n=d=>{var _=d&&d.__esModule?()=>d.default:()=>d;return s.d(_,{a:_}),_},s.d=(d,_)=>{for(var g in _)s.o(_,g)&&!s.o(d,g)&&Object.defineProperty(d,g,{enumerable:!0,get:_[g]})},s.o=(d,_)=>Object.prototype.hasOwnProperty.call(d,_),s.r=d=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(d,"__esModule",{value:!0})};var a={};s.r(a);var l=s(93),u=s.n(l),p=a;Object.defineProperty(p,"__esModule",{value:!0}),p.pt_BR=void 0;var h=function(){function d(){}return d.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},d.prototype.atX0MinutesPastTheHourGt20=function(){return null},d.prototype.commaMonthX0ThroughMonthX1=function(){return null},d.prototype.commaYearX0ThroughYearX1=function(){return null},d.prototype.use24HourTimeFormatByDefault=function(){return!0},d.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"Ocorreu um erro ao gerar a descrição da expressão Cron."},d.prototype.at=function(){return"às"},d.prototype.atSpace=function(){return"às "},d.prototype.atX0=function(){return"Às %s"},d.prototype.atX0MinutesPastTheHour=function(){return"aos %s minutos da hora"},d.prototype.atX0SecondsPastTheMinute=function(){return"aos %s segundos do minuto"},d.prototype.betweenX0AndX1=function(){return"entre %s e %s"},d.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", entre os dias %s e %s do mês"},d.prototype.commaEveryDay=function(){return", a cada dia"},d.prototype.commaEveryX0Days=function(){return", a cada %s dias"},d.prototype.commaEveryX0DaysOfTheWeek=function(){return", a cada %s dias de semana"},d.prototype.commaEveryX0Months=function(){return", a cada %s meses"},d.prototype.commaOnDayX0OfTheMonth=function(){return", no dia %s do mês"},d.prototype.commaOnlyInX0=function(_){return _&&_.length>1&&_[1]==="-"?"somente %s":", somente em %s"},d.prototype.commaOnlyOnX0=function(_){return _&&_.length>1&&_[1]==="-"?", somente %s":", somente de %s"},d.prototype.commaAndOnX0=function(){return", e de %s"},d.prototype.commaOnThe=function(_,g){return g==="6"||g==="0"?", no":", na "},d.prototype.commaOnTheLastDayOfTheMonth=function(){return", no último dia do mês"},d.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", no último dia da semana do mês"},d.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s dias antes do último dia do mês"},d.prototype.commaOnTheLastX0OfTheMonth=function(){return", na última %s do mês"},d.prototype.commaOnTheX0OfTheMonth=function(){return", no %s do mês"},d.prototype.commaX0ThroughX1=function(){return", de %s a %s"},d.prototype.commaAndX0ThroughX1=function(){return", e de %s a %s"},d.prototype.everyHour=function(){return"a cada hora"},d.prototype.everyMinute=function(){return"a cada minuto"},d.prototype.everyMinuteBetweenX0AndX1=function(){return"a cada minuto entre %s e %s"},d.prototype.everySecond=function(){return"a cada segundo"},d.prototype.everyX0Hours=function(){return"a cada %s horas"},d.prototype.everyX0Minutes=function(){return"a cada %s minutos"},d.prototype.everyX0Seconds=function(){return"a cada %s segundos"},d.prototype.fifth=function(_){return _==="6"||_==="0"?"quinto":"quinta"},d.prototype.first=function(_){return _==="6"||_==="0"?"primeiro":"primeira"},d.prototype.firstWeekday=function(){return"primeiro dia da semana"},d.prototype.fourth=function(_){return _==="6"||_==="0"?"quarto":"quarta"},d.prototype.minutesX0ThroughX1PastTheHour=function(){return"do minuto %s até %s de cada hora"},d.prototype.second=function(_){return _==="6"||_==="0"?"segundo":"segunda"},d.prototype.secondsX0ThroughX1PastTheMinute=function(){return"No segundo %s até %s de cada minuto"},d.prototype.spaceAnd=function(){return" e"},d.prototype.spaceX0OfTheMonth=function(){return" %s do mês"},d.prototype.lastDay=function(){return"o último dia"},d.prototype.third=function(_){return _==="6"||_==="0"?"terceiro":"terceira"},d.prototype.weekdayNearestDayX0=function(){return"dia da semana mais próximo do dia %s"},d.prototype.commaEveryX0Years=function(){return", a cada %s anos"},d.prototype.commaStartingX0=function(){return", iniciando %s"},d.prototype.daysOfTheWeek=function(){return["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"]},d.prototype.monthsOfTheYear=function(){return["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},d}();return p.pt_BR=h,u().locales.pt_BR=new h,a})())}(lb)),lb.exports}wVe();var cb={exports:{}},rD;function xVe(){return rD||(rD=1,function(t,e){(function(n,o){t.exports=o(Jo())})(globalThis,r=>(()=>{var n={93:d=>{d.exports=r}},o={};function s(d){var _=o[d];if(_!==void 0)return _.exports;var g=o[d]={exports:{}};return n[d](g,g.exports,s),g.exports}s.n=d=>{var _=d&&d.__esModule?()=>d.default:()=>d;return s.d(_,{a:_}),_},s.d=(d,_)=>{for(var g in _)s.o(_,g)&&!s.o(d,g)&&Object.defineProperty(d,g,{enumerable:!0,get:_[g]})},s.o=(d,_)=>Object.prototype.hasOwnProperty.call(d,_),s.r=d=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(d,"__esModule",{value:!0})};var a={};s.r(a);var l=s(93),u=s.n(l),p=a;Object.defineProperty(p,"__esModule",{value:!0}),p.pl=void 0;var h=function(){function d(){}return d.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},d.prototype.atX0MinutesPastTheHourGt20=function(){return null},d.prototype.commaMonthX0ThroughMonthX1=function(){return null},d.prototype.commaYearX0ThroughYearX1=function(){return null},d.prototype.use24HourTimeFormatByDefault=function(){return!0},d.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"Wystąpił błąd podczas generowania opisu wyrażenia cron. Sprawdź składnię wyrażenia cron."},d.prototype.at=function(){return"O"},d.prototype.atSpace=function(){return"O "},d.prototype.atX0=function(){return"o %s"},d.prototype.atX0MinutesPastTheHour=function(){return"w %s minucie"},d.prototype.atX0SecondsPastTheMinute=function(){return"w %s sekundzie"},d.prototype.betweenX0AndX1=function(){return"od %s do %s"},d.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", od %s-ego do %s-ego dnia miesiąca"},d.prototype.commaEveryDay=function(){return", co dzień"},d.prototype.commaEveryX0Days=function(){return", co %s dni"},d.prototype.commaEveryX0DaysOfTheWeek=function(){return", co %s dni tygodnia"},d.prototype.commaEveryX0Months=function(){return", co %s miesięcy"},d.prototype.commaEveryX0Years=function(){return", co %s lat"},d.prototype.commaOnDayX0OfTheMonth=function(){return", %s-ego dnia miesiąca"},d.prototype.commaOnlyInX0=function(){return", tylko %s"},d.prototype.commaOnlyOnX0=function(){return", tylko %s"},d.prototype.commaAndOnX0=function(){return", i %s"},d.prototype.commaOnThe=function(){return", "},d.prototype.commaOnTheLastDayOfTheMonth=function(){return", ostatni dzień miesiąca"},d.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", ostatni dzień roboczy miesiąca"},d.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s dni przed ostatnim dniem miesiąca"},d.prototype.commaOnTheLastX0OfTheMonth=function(){return", ostatni %s miesiąca"},d.prototype.commaOnTheX0OfTheMonth=function(){return", %s miesiąca"},d.prototype.commaX0ThroughX1=function(){return", od %s do %s"},d.prototype.commaAndX0ThroughX1=function(){return", i od %s do %s"},d.prototype.everyHour=function(){return"co godzinę"},d.prototype.everyMinute=function(){return"co minutę"},d.prototype.everyMinuteBetweenX0AndX1=function(){return"Co minutę od %s do %s"},d.prototype.everySecond=function(){return"co sekundę"},d.prototype.everyX0Hours=function(){return"co %s godzin"},d.prototype.everyX0Minutes=function(){return"co %s minut"},d.prototype.everyX0Seconds=function(){return"co %s sekund"},d.prototype.fifth=function(){return"piąty"},d.prototype.first=function(){return"pierwszy"},d.prototype.firstWeekday=function(){return"pierwszy dzień roboczy"},d.prototype.fourth=function(){return"czwarty"},d.prototype.minutesX0ThroughX1PastTheHour=function(){return"minuty od %s do %s"},d.prototype.second=function(){return"drugi"},d.prototype.secondsX0ThroughX1PastTheMinute=function(){return"sekundy od %s do %s"},d.prototype.spaceAnd=function(){return" i"},d.prototype.spaceX0OfTheMonth=function(){return" %s miesiąca"},d.prototype.lastDay=function(){return"ostatni dzień"},d.prototype.third=function(){return"trzeci"},d.prototype.weekdayNearestDayX0=function(){return"dzień roboczy najbliższy %s-ego dnia"},d.prototype.commaStartingX0=function(){return", startowy %s"},d.prototype.daysOfTheWeek=function(){return["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},d.prototype.monthsOfTheYear=function(){return["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"]},d}();return p.pl=h,u().locales.pl=new h,a})())}(cb)),cb.exports}xVe();function vP(t,e){return fVe.toString(t,{locale:e})}const pn={mainDiv:{width:"100%",height:"100%"},periodSelect:{display:"block",width:250},slider:{marginTop:20,display:"block",width:"100%"},tabContent:{padding:20,height:"calc(100% - 240px)",overflow:"auto"},numberButton:{padding:4,minWidth:40,margin:5},numberButtonBreak:{display:"block"},appBar:{color:"white"},warning:{marginLeft:16,color:"red",fontSize:12}},SVe=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],CVe=["January","February","March","April","May","June","July","August","September","October","November","December"];function nD(t,e){const r=[];if(t==="*"){if(e===24||e===60||e===7)for(let o=0;o1){const a=parseInt(s[1],10);for(let l=parseInt(s[0],10);l<=a;l++)r.push(l)}else r.push(parseInt(n[o],10))}r.sort();for(let o=r.length-1;o>=0;o--)r[o]===r[o+1]&&r.splice(o+1,1);return r}function oD(t,e){if(typeof t!="object"&&(t=[t]),t.length===e)return"*";const r=[];if(!t.length)return"-";t=t.map(s=>parseInt(s,10)),t.sort((s,a)=>s-a);let n=t[0],o=t[0];for(let s=1;sthis.props.onChange&&this.props.onChange(this.state.cron),100)}static cron2state(e){e=e.replace(/['"]/g,"").trim();const r=e.split(" ").map(o=>o.trim());let n;return r.length===6?n={seconds:r[0]||"*",minutes:r[1]||"*",hours:r[2]||"*",dates:r[3]||"*",months:r[4]||"*",dow:r[5]||"*"}:n={seconds:!1,minutes:r[0]||"*",hours:r[1]||"*",dates:r[2]||"*",months:r[3]||"*",dow:r[4]||"*"},n}static state2cron(e){let r=`${e.minutes} ${e.hours} ${e.dates} ${e.months} ${e.dow}`;return e.seconds!==!1&&(r=`${e.seconds} ${r}`),r}recalcCron(){const e=ta.state2cron(this.state);e!==this.state.cron&&this.setState({cron:e},()=>this.props.onChange&&this.props.onChange(this.state.cron))}onToggle(e,r,n){if(e===!0)this.setCronAttr(r,"*");else if(e===!1)n===60||n===24?this.setCronAttr(r,"0"):this.setCronAttr(r,"1");else{const o=nD(this.state[r],n),s=o.indexOf(e);s!==-1?o.splice(s,1):(o.push(e),o.sort()),this.setCronAttr(r,oD(o,n))}}getDigitsSelector(e,r){let n=[];if(r===7)n=[1,2,3,4,5,6,0];else if(r===60||r===24)for(let s=0;sthis.onToggle(!1,e,r)},R.t("ra_Deselect all")),m.createElement(gt,{key:"addall",variant:"contained",style:pn.numberButton,color:"secondary",onClick:()=>this.onToggle(!0,e,r)},R.t("ra_Select all")),m.createElement("div",{key:"all"},n.map(s=>[r===7&&s===4||r===12&&s===7||r===31&&!((s-1)%10)||r===60&&s&&!(s%10)||r===24&&s&&!(s%6)?m.createElement("div",{key:`allInner${s}`,style:{width:"100%"}}):null,m.createElement(gt,{key:`_${s}`,variant:o.indexOf(s)!==-1?"contained":"outlined",style:pn.numberButton,color:o.indexOf(s)!==-1?"secondary":"primary",onClick:()=>this.onToggle(s,e,r)},r===7?R.t(SVe[s]):r===12?CVe[s-1]:s)]))]}getPeriodsTab(e,r){const n=this.state[e];let o=n==="*",s=n==null?!1:n.toString().includes("/"),a;if(this.state.modes[e]===null){a=o?"every":s?"everyN":"specific";const u=JSON.parse(JSON.stringify(this.state.modes));return u[e]=a,setTimeout(()=>this.setState({modes:u},()=>this.recalcCron()),100),null}o=this.state.modes[e]==="every",s=this.state.modes[e]==="everyN",a=this.state.modes[e];let l=1;return s&&n&&(l=parseInt(n.replace("*/",""),10)||1),m.createElement("div",null,m.createElement(Gr,{variant:"standard",style:{...pn.periodSelect,verticalAlign:"bottom"},value:a,onChange:u=>{const p=JSON.parse(JSON.stringify(this.state.modes));if(p[e]=u.target.value,u.target.value==="every")this.setCronAttr(e,"*",p);else if(u.target.value==="everyN"){const h=parseInt((this.state[e]||"").toString().replace("*/",""),10)||1;this.setCronAttr(e,`*/${h}`,p)}else if(u.target.value==="specific"){let h=parseInt((this.state[e]||"").toString().split(",")[0],10)||0;!h&&(e==="months"||e==="dates")&&(h=1),this.setCronAttr(e,oD(h,r),p)}}},m.createElement(xt,{key:"every",value:"every"},R.t(`sc_every_${e}`)),m.createElement(xt,{key:"everyN",value:"everyN"},R.t(`sc_everyN_${e}`)),m.createElement(xt,{key:"specific",value:"specific"},R.t(`sc_specific_${e}`))),s&&m.createElement(ot,{variant:"standard",key:"interval",label:R.t(`sc_${e}`),value:l,slotProps:{htmlInput:{min:1,max:r},inputLabel:{shrink:!0}},onChange:u=>{this.setState({[e]:`*/${u.target.value}`},()=>this.recalcCron())},type:"number",margin:"normal"}),!o&&!s&&this.getDigitsSelector(e,r))}static convertCronToText(e,r){return e.split(" ").includes("-")?R.t("ra_Invalid CRON"):vP(e,r)}setCronAttr(e,r,n){n?e==="seconds"?this.setState({seconds:r,modes:n},()=>this.recalcCron()):e==="minutes"?this.setState({minutes:r,modes:n},()=>this.recalcCron()):e==="hours"?this.setState({hours:r,modes:n},()=>this.recalcCron()):e==="dates"?this.setState({dates:r,modes:n},()=>this.recalcCron()):e==="months"?this.setState({months:r,modes:n},()=>this.recalcCron()):e==="dow"?this.setState({dow:r,modes:n},()=>this.recalcCron()):this.setState({modes:n},()=>this.recalcCron()):e==="seconds"?this.setState({seconds:r},()=>this.recalcCron()):e==="minutes"?this.setState({minutes:r},()=>this.recalcCron()):e==="hours"?this.setState({hours:r},()=>this.recalcCron()):e==="dates"?this.setState({dates:r},()=>this.recalcCron()):e==="months"?this.setState({months:r},()=>this.recalcCron()):e==="dow"&&this.setState({dow:r},()=>this.recalcCron())}render(){const e=this.state.seconds!==!1?this.state.tab:this.state.tab+1,r=this.state.minutes==="*"||this.state.minutes==="*/1",n=this.state.seconds==="*"||this.state.seconds==="*/1";return m.createElement("div",{style:pn.mainDiv},m.createElement("div",{style:{paddingLeft:8,width:"calc(100% - px)"}},m.createElement(ot,{variant:"standard",style:{width:"100%"},value:this.state.cron,disabled:!0})),m.createElement("div",{style:{paddingLeft:8,width:"calc(100% - px)",height:60}},ta.convertCronToText(this.state.cron,this.props.language||"en"),m.createElement("span",{style:pn.warning},n?R.t("ra_warning_every_second"):r?R.t("ra_warning_every_minute"):"")),m.createElement(at,{control:m.createElement(Ut,{checked:!!this.state.seconds,onChange:o=>this.setState({seconds:o.target.checked?"*":!1},()=>this.recalcCron())}),label:R.t("ra_use seconds")}),m.createElement(aM,{position:"static",sx:{"&.MuiAppBar-root":pn.appBar},color:"secondary"},m.createElement(DM,{value:this.state.tab,style:pn.appBar,color:"secondary",onChange:(o,s)=>this.setState({tab:s})},this.state.seconds!==!1&&m.createElement(Js,{id:"sc_seconds",label:R.t("sc_seconds")}),m.createElement(Js,{id:"minutes",label:R.t("sc_minutes")}),m.createElement(Js,{id:"hours",label:R.t("sc_hours")}),m.createElement(Js,{id:"dates",label:R.t("sc_dates")}),m.createElement(Js,{id:"months",label:R.t("sc_months")}),m.createElement(Js,{id:"dow",label:R.t("sc_dows")}))),e===0&&m.createElement("div",{style:pn.tabContent},this.getPeriodsTab("seconds",60)),e===1&&m.createElement("div",{style:pn.tabContent},this.getPeriodsTab("minutes",60)),e===2&&m.createElement("div",{style:pn.tabContent},this.getPeriodsTab("hours",24)),e===3&&m.createElement("div",{style:pn.tabContent},this.getPeriodsTab("dates",31)),e===4&&m.createElement("div",{style:pn.tabContent},this.getPeriodsTab("months",12)),e===5&&m.createElement("div",{style:pn.tabContent},this.getPeriodsTab("dow",7)))}}function _i(t,e,r,n){function o(s){return s instanceof r?s:new r(function(a){a(s)})}return new(r||(r=Promise))(function(s,a){function l(h){try{p(n.next(h))}catch(d){a(d)}}function u(h){try{p(n.throw(h))}catch(d){a(d)}}function p(h){h.done?s(h.value):o(h.value).then(l,u)}p((n=n.apply(t,e||[])).next())})}const EVe=new Map([["1km","application/vnd.1000minds.decision-model+xml"],["3dml","text/vnd.in3d.3dml"],["3ds","image/x-3ds"],["3g2","video/3gpp2"],["3gp","video/3gp"],["3gpp","video/3gpp"],["3mf","model/3mf"],["7z","application/x-7z-compressed"],["7zip","application/x-7z-compressed"],["123","application/vnd.lotus-1-2-3"],["aab","application/x-authorware-bin"],["aac","audio/x-acc"],["aam","application/x-authorware-map"],["aas","application/x-authorware-seg"],["abw","application/x-abiword"],["ac","application/vnd.nokia.n-gage.ac+xml"],["ac3","audio/ac3"],["acc","application/vnd.americandynamics.acc"],["ace","application/x-ace-compressed"],["acu","application/vnd.acucobol"],["acutc","application/vnd.acucorp"],["adp","audio/adpcm"],["aep","application/vnd.audiograph"],["afm","application/x-font-type1"],["afp","application/vnd.ibm.modcap"],["ahead","application/vnd.ahead.space"],["ai","application/pdf"],["aif","audio/x-aiff"],["aifc","audio/x-aiff"],["aiff","audio/x-aiff"],["air","application/vnd.adobe.air-application-installer-package+zip"],["ait","application/vnd.dvb.ait"],["ami","application/vnd.amiga.ami"],["amr","audio/amr"],["apk","application/vnd.android.package-archive"],["apng","image/apng"],["appcache","text/cache-manifest"],["application","application/x-ms-application"],["apr","application/vnd.lotus-approach"],["arc","application/x-freearc"],["arj","application/x-arj"],["asc","application/pgp-signature"],["asf","video/x-ms-asf"],["asm","text/x-asm"],["aso","application/vnd.accpac.simply.aso"],["asx","video/x-ms-asf"],["atc","application/vnd.acucorp"],["atom","application/atom+xml"],["atomcat","application/atomcat+xml"],["atomdeleted","application/atomdeleted+xml"],["atomsvc","application/atomsvc+xml"],["atx","application/vnd.antix.game-component"],["au","audio/x-au"],["avi","video/x-msvideo"],["avif","image/avif"],["aw","application/applixware"],["azf","application/vnd.airzip.filesecure.azf"],["azs","application/vnd.airzip.filesecure.azs"],["azv","image/vnd.airzip.accelerator.azv"],["azw","application/vnd.amazon.ebook"],["b16","image/vnd.pco.b16"],["bat","application/x-msdownload"],["bcpio","application/x-bcpio"],["bdf","application/x-font-bdf"],["bdm","application/vnd.syncml.dm+wbxml"],["bdoc","application/x-bdoc"],["bed","application/vnd.realvnc.bed"],["bh2","application/vnd.fujitsu.oasysprs"],["bin","application/octet-stream"],["blb","application/x-blorb"],["blorb","application/x-blorb"],["bmi","application/vnd.bmi"],["bmml","application/vnd.balsamiq.bmml+xml"],["bmp","image/bmp"],["book","application/vnd.framemaker"],["box","application/vnd.previewsystems.box"],["boz","application/x-bzip2"],["bpk","application/octet-stream"],["bpmn","application/octet-stream"],["bsp","model/vnd.valve.source.compiled-map"],["btif","image/prs.btif"],["buffer","application/octet-stream"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["c","text/x-c"],["c4d","application/vnd.clonk.c4group"],["c4f","application/vnd.clonk.c4group"],["c4g","application/vnd.clonk.c4group"],["c4p","application/vnd.clonk.c4group"],["c4u","application/vnd.clonk.c4group"],["c11amc","application/vnd.cluetrust.cartomobile-config"],["c11amz","application/vnd.cluetrust.cartomobile-config-pkg"],["cab","application/vnd.ms-cab-compressed"],["caf","audio/x-caf"],["cap","application/vnd.tcpdump.pcap"],["car","application/vnd.curl.car"],["cat","application/vnd.ms-pki.seccat"],["cb7","application/x-cbr"],["cba","application/x-cbr"],["cbr","application/x-cbr"],["cbt","application/x-cbr"],["cbz","application/x-cbr"],["cc","text/x-c"],["cco","application/x-cocoa"],["cct","application/x-director"],["ccxml","application/ccxml+xml"],["cdbcmsg","application/vnd.contact.cmsg"],["cda","application/x-cdf"],["cdf","application/x-netcdf"],["cdfx","application/cdfx+xml"],["cdkey","application/vnd.mediastation.cdkey"],["cdmia","application/cdmi-capability"],["cdmic","application/cdmi-container"],["cdmid","application/cdmi-domain"],["cdmio","application/cdmi-object"],["cdmiq","application/cdmi-queue"],["cdr","application/cdr"],["cdx","chemical/x-cdx"],["cdxml","application/vnd.chemdraw+xml"],["cdy","application/vnd.cinderella"],["cer","application/pkix-cert"],["cfs","application/x-cfs-compressed"],["cgm","image/cgm"],["chat","application/x-chat"],["chm","application/vnd.ms-htmlhelp"],["chrt","application/vnd.kde.kchart"],["cif","chemical/x-cif"],["cii","application/vnd.anser-web-certificate-issue-initiation"],["cil","application/vnd.ms-artgalry"],["cjs","application/node"],["cla","application/vnd.claymore"],["class","application/octet-stream"],["clkk","application/vnd.crick.clicker.keyboard"],["clkp","application/vnd.crick.clicker.palette"],["clkt","application/vnd.crick.clicker.template"],["clkw","application/vnd.crick.clicker.wordbank"],["clkx","application/vnd.crick.clicker"],["clp","application/x-msclip"],["cmc","application/vnd.cosmocaller"],["cmdf","chemical/x-cmdf"],["cml","chemical/x-cml"],["cmp","application/vnd.yellowriver-custom-menu"],["cmx","image/x-cmx"],["cod","application/vnd.rim.cod"],["coffee","text/coffeescript"],["com","application/x-msdownload"],["conf","text/plain"],["cpio","application/x-cpio"],["cpp","text/x-c"],["cpt","application/mac-compactpro"],["crd","application/x-mscardfile"],["crl","application/pkix-crl"],["crt","application/x-x509-ca-cert"],["crx","application/x-chrome-extension"],["cryptonote","application/vnd.rig.cryptonote"],["csh","application/x-csh"],["csl","application/vnd.citationstyles.style+xml"],["csml","chemical/x-csml"],["csp","application/vnd.commonspace"],["csr","application/octet-stream"],["css","text/css"],["cst","application/x-director"],["csv","text/csv"],["cu","application/cu-seeme"],["curl","text/vnd.curl"],["cww","application/prs.cww"],["cxt","application/x-director"],["cxx","text/x-c"],["dae","model/vnd.collada+xml"],["daf","application/vnd.mobius.daf"],["dart","application/vnd.dart"],["dataless","application/vnd.fdsn.seed"],["davmount","application/davmount+xml"],["dbf","application/vnd.dbf"],["dbk","application/docbook+xml"],["dcr","application/x-director"],["dcurl","text/vnd.curl.dcurl"],["dd2","application/vnd.oma.dd2+xml"],["ddd","application/vnd.fujixerox.ddd"],["ddf","application/vnd.syncml.dmddf+xml"],["dds","image/vnd.ms-dds"],["deb","application/x-debian-package"],["def","text/plain"],["deploy","application/octet-stream"],["der","application/x-x509-ca-cert"],["dfac","application/vnd.dreamfactory"],["dgc","application/x-dgc-compressed"],["dic","text/x-c"],["dir","application/x-director"],["dis","application/vnd.mobius.dis"],["disposition-notification","message/disposition-notification"],["dist","application/octet-stream"],["distz","application/octet-stream"],["djv","image/vnd.djvu"],["djvu","image/vnd.djvu"],["dll","application/octet-stream"],["dmg","application/x-apple-diskimage"],["dmn","application/octet-stream"],["dmp","application/vnd.tcpdump.pcap"],["dms","application/octet-stream"],["dna","application/vnd.dna"],["doc","application/msword"],["docm","application/vnd.ms-word.template.macroEnabled.12"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["dot","application/msword"],["dotm","application/vnd.ms-word.template.macroEnabled.12"],["dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"],["dp","application/vnd.osgi.dp"],["dpg","application/vnd.dpgraph"],["dra","audio/vnd.dra"],["drle","image/dicom-rle"],["dsc","text/prs.lines.tag"],["dssc","application/dssc+der"],["dtb","application/x-dtbook+xml"],["dtd","application/xml-dtd"],["dts","audio/vnd.dts"],["dtshd","audio/vnd.dts.hd"],["dump","application/octet-stream"],["dvb","video/vnd.dvb.file"],["dvi","application/x-dvi"],["dwd","application/atsc-dwd+xml"],["dwf","model/vnd.dwf"],["dwg","image/vnd.dwg"],["dxf","image/vnd.dxf"],["dxp","application/vnd.spotfire.dxp"],["dxr","application/x-director"],["ear","application/java-archive"],["ecelp4800","audio/vnd.nuera.ecelp4800"],["ecelp7470","audio/vnd.nuera.ecelp7470"],["ecelp9600","audio/vnd.nuera.ecelp9600"],["ecma","application/ecmascript"],["edm","application/vnd.novadigm.edm"],["edx","application/vnd.novadigm.edx"],["efif","application/vnd.picsel"],["ei6","application/vnd.pg.osasli"],["elc","application/octet-stream"],["emf","image/emf"],["eml","message/rfc822"],["emma","application/emma+xml"],["emotionml","application/emotionml+xml"],["emz","application/x-msmetafile"],["eol","audio/vnd.digital-winds"],["eot","application/vnd.ms-fontobject"],["eps","application/postscript"],["epub","application/epub+zip"],["es","application/ecmascript"],["es3","application/vnd.eszigno3+xml"],["esa","application/vnd.osgi.subsystem"],["esf","application/vnd.epson.esf"],["et3","application/vnd.eszigno3+xml"],["etx","text/x-setext"],["eva","application/x-eva"],["evy","application/x-envoy"],["exe","application/octet-stream"],["exi","application/exi"],["exp","application/express"],["exr","image/aces"],["ext","application/vnd.novadigm.ext"],["ez","application/andrew-inset"],["ez2","application/vnd.ezpix-album"],["ez3","application/vnd.ezpix-package"],["f","text/x-fortran"],["f4v","video/mp4"],["f77","text/x-fortran"],["f90","text/x-fortran"],["fbs","image/vnd.fastbidsheet"],["fcdt","application/vnd.adobe.formscentral.fcdt"],["fcs","application/vnd.isac.fcs"],["fdf","application/vnd.fdf"],["fdt","application/fdt+xml"],["fe_launch","application/vnd.denovo.fcselayout-link"],["fg5","application/vnd.fujitsu.oasysgp"],["fgd","application/x-director"],["fh","image/x-freehand"],["fh4","image/x-freehand"],["fh5","image/x-freehand"],["fh7","image/x-freehand"],["fhc","image/x-freehand"],["fig","application/x-xfig"],["fits","image/fits"],["flac","audio/x-flac"],["fli","video/x-fli"],["flo","application/vnd.micrografx.flo"],["flv","video/x-flv"],["flw","application/vnd.kde.kivio"],["flx","text/vnd.fmi.flexstor"],["fly","text/vnd.fly"],["fm","application/vnd.framemaker"],["fnc","application/vnd.frogans.fnc"],["fo","application/vnd.software602.filler.form+xml"],["for","text/x-fortran"],["fpx","image/vnd.fpx"],["frame","application/vnd.framemaker"],["fsc","application/vnd.fsc.weblaunch"],["fst","image/vnd.fst"],["ftc","application/vnd.fluxtime.clip"],["fti","application/vnd.anser-web-funds-transfer-initiation"],["fvt","video/vnd.fvt"],["fxp","application/vnd.adobe.fxp"],["fxpl","application/vnd.adobe.fxp"],["fzs","application/vnd.fuzzysheet"],["g2w","application/vnd.geoplan"],["g3","image/g3fax"],["g3w","application/vnd.geospace"],["gac","application/vnd.groove-account"],["gam","application/x-tads"],["gbr","application/rpki-ghostbusters"],["gca","application/x-gca-compressed"],["gdl","model/vnd.gdl"],["gdoc","application/vnd.google-apps.document"],["geo","application/vnd.dynageo"],["geojson","application/geo+json"],["gex","application/vnd.geometry-explorer"],["ggb","application/vnd.geogebra.file"],["ggt","application/vnd.geogebra.tool"],["ghf","application/vnd.groove-help"],["gif","image/gif"],["gim","application/vnd.groove-identity-message"],["glb","model/gltf-binary"],["gltf","model/gltf+json"],["gml","application/gml+xml"],["gmx","application/vnd.gmx"],["gnumeric","application/x-gnumeric"],["gpg","application/gpg-keys"],["gph","application/vnd.flographit"],["gpx","application/gpx+xml"],["gqf","application/vnd.grafeq"],["gqs","application/vnd.grafeq"],["gram","application/srgs"],["gramps","application/x-gramps-xml"],["gre","application/vnd.geometry-explorer"],["grv","application/vnd.groove-injector"],["grxml","application/srgs+xml"],["gsf","application/x-font-ghostscript"],["gsheet","application/vnd.google-apps.spreadsheet"],["gslides","application/vnd.google-apps.presentation"],["gtar","application/x-gtar"],["gtm","application/vnd.groove-tool-message"],["gtw","model/vnd.gtw"],["gv","text/vnd.graphviz"],["gxf","application/gxf"],["gxt","application/vnd.geonext"],["gz","application/gzip"],["gzip","application/gzip"],["h","text/x-c"],["h261","video/h261"],["h263","video/h263"],["h264","video/h264"],["hal","application/vnd.hal+xml"],["hbci","application/vnd.hbci"],["hbs","text/x-handlebars-template"],["hdd","application/x-virtualbox-hdd"],["hdf","application/x-hdf"],["heic","image/heic"],["heics","image/heic-sequence"],["heif","image/heif"],["heifs","image/heif-sequence"],["hej2","image/hej2k"],["held","application/atsc-held+xml"],["hh","text/x-c"],["hjson","application/hjson"],["hlp","application/winhlp"],["hpgl","application/vnd.hp-hpgl"],["hpid","application/vnd.hp-hpid"],["hps","application/vnd.hp-hps"],["hqx","application/mac-binhex40"],["hsj2","image/hsj2"],["htc","text/x-component"],["htke","application/vnd.kenameaapp"],["htm","text/html"],["html","text/html"],["hvd","application/vnd.yamaha.hv-dic"],["hvp","application/vnd.yamaha.hv-voice"],["hvs","application/vnd.yamaha.hv-script"],["i2g","application/vnd.intergeo"],["icc","application/vnd.iccprofile"],["ice","x-conference/x-cooltalk"],["icm","application/vnd.iccprofile"],["ico","image/x-icon"],["ics","text/calendar"],["ief","image/ief"],["ifb","text/calendar"],["ifm","application/vnd.shana.informed.formdata"],["iges","model/iges"],["igl","application/vnd.igloader"],["igm","application/vnd.insors.igm"],["igs","model/iges"],["igx","application/vnd.micrografx.igx"],["iif","application/vnd.shana.informed.interchange"],["img","application/octet-stream"],["imp","application/vnd.accpac.simply.imp"],["ims","application/vnd.ms-ims"],["in","text/plain"],["ini","text/plain"],["ink","application/inkml+xml"],["inkml","application/inkml+xml"],["install","application/x-install-instructions"],["iota","application/vnd.astraea-software.iota"],["ipfix","application/ipfix"],["ipk","application/vnd.shana.informed.package"],["irm","application/vnd.ibm.rights-management"],["irp","application/vnd.irepository.package+xml"],["iso","application/x-iso9660-image"],["itp","application/vnd.shana.informed.formtemplate"],["its","application/its+xml"],["ivp","application/vnd.immervision-ivp"],["ivu","application/vnd.immervision-ivu"],["jad","text/vnd.sun.j2me.app-descriptor"],["jade","text/jade"],["jam","application/vnd.jam"],["jar","application/java-archive"],["jardiff","application/x-java-archive-diff"],["java","text/x-java-source"],["jhc","image/jphc"],["jisp","application/vnd.jisp"],["jls","image/jls"],["jlt","application/vnd.hp-jlyt"],["jng","image/x-jng"],["jnlp","application/x-java-jnlp-file"],["joda","application/vnd.joost.joda-archive"],["jp2","image/jp2"],["jpe","image/jpeg"],["jpeg","image/jpeg"],["jpf","image/jpx"],["jpg","image/jpeg"],["jpg2","image/jp2"],["jpgm","video/jpm"],["jpgv","video/jpeg"],["jph","image/jph"],["jpm","video/jpm"],["jpx","image/jpx"],["js","application/javascript"],["json","application/json"],["json5","application/json5"],["jsonld","application/ld+json"],["jsonl","application/jsonl"],["jsonml","application/jsonml+json"],["jsx","text/jsx"],["jxr","image/jxr"],["jxra","image/jxra"],["jxrs","image/jxrs"],["jxs","image/jxs"],["jxsc","image/jxsc"],["jxsi","image/jxsi"],["jxss","image/jxss"],["kar","audio/midi"],["karbon","application/vnd.kde.karbon"],["kdb","application/octet-stream"],["kdbx","application/x-keepass2"],["key","application/x-iwork-keynote-sffkey"],["kfo","application/vnd.kde.kformula"],["kia","application/vnd.kidspiration"],["kml","application/vnd.google-earth.kml+xml"],["kmz","application/vnd.google-earth.kmz"],["kne","application/vnd.kinar"],["knp","application/vnd.kinar"],["kon","application/vnd.kde.kontour"],["kpr","application/vnd.kde.kpresenter"],["kpt","application/vnd.kde.kpresenter"],["kpxx","application/vnd.ds-keypoint"],["ksp","application/vnd.kde.kspread"],["ktr","application/vnd.kahootz"],["ktx","image/ktx"],["ktx2","image/ktx2"],["ktz","application/vnd.kahootz"],["kwd","application/vnd.kde.kword"],["kwt","application/vnd.kde.kword"],["lasxml","application/vnd.las.las+xml"],["latex","application/x-latex"],["lbd","application/vnd.llamagraphics.life-balance.desktop"],["lbe","application/vnd.llamagraphics.life-balance.exchange+xml"],["les","application/vnd.hhe.lesson-player"],["less","text/less"],["lgr","application/lgr+xml"],["lha","application/octet-stream"],["link66","application/vnd.route66.link66+xml"],["list","text/plain"],["list3820","application/vnd.ibm.modcap"],["listafp","application/vnd.ibm.modcap"],["litcoffee","text/coffeescript"],["lnk","application/x-ms-shortcut"],["log","text/plain"],["lostxml","application/lost+xml"],["lrf","application/octet-stream"],["lrm","application/vnd.ms-lrm"],["ltf","application/vnd.frogans.ltf"],["lua","text/x-lua"],["luac","application/x-lua-bytecode"],["lvp","audio/vnd.lucent.voice"],["lwp","application/vnd.lotus-wordpro"],["lzh","application/octet-stream"],["m1v","video/mpeg"],["m2a","audio/mpeg"],["m2v","video/mpeg"],["m3a","audio/mpeg"],["m3u","text/plain"],["m3u8","application/vnd.apple.mpegurl"],["m4a","audio/x-m4a"],["m4p","application/mp4"],["m4s","video/iso.segment"],["m4u","application/vnd.mpegurl"],["m4v","video/x-m4v"],["m13","application/x-msmediaview"],["m14","application/x-msmediaview"],["m21","application/mp21"],["ma","application/mathematica"],["mads","application/mads+xml"],["maei","application/mmt-aei+xml"],["mag","application/vnd.ecowin.chart"],["maker","application/vnd.framemaker"],["man","text/troff"],["manifest","text/cache-manifest"],["map","application/json"],["mar","application/octet-stream"],["markdown","text/markdown"],["mathml","application/mathml+xml"],["mb","application/mathematica"],["mbk","application/vnd.mobius.mbk"],["mbox","application/mbox"],["mc1","application/vnd.medcalcdata"],["mcd","application/vnd.mcd"],["mcurl","text/vnd.curl.mcurl"],["md","text/markdown"],["mdb","application/x-msaccess"],["mdi","image/vnd.ms-modi"],["mdx","text/mdx"],["me","text/troff"],["mesh","model/mesh"],["meta4","application/metalink4+xml"],["metalink","application/metalink+xml"],["mets","application/mets+xml"],["mfm","application/vnd.mfmp"],["mft","application/rpki-manifest"],["mgp","application/vnd.osgeo.mapguide.package"],["mgz","application/vnd.proteus.magazine"],["mid","audio/midi"],["midi","audio/midi"],["mie","application/x-mie"],["mif","application/vnd.mif"],["mime","message/rfc822"],["mj2","video/mj2"],["mjp2","video/mj2"],["mjs","application/javascript"],["mk3d","video/x-matroska"],["mka","audio/x-matroska"],["mkd","text/x-markdown"],["mks","video/x-matroska"],["mkv","video/x-matroska"],["mlp","application/vnd.dolby.mlp"],["mmd","application/vnd.chipnuts.karaoke-mmd"],["mmf","application/vnd.smaf"],["mml","text/mathml"],["mmr","image/vnd.fujixerox.edmics-mmr"],["mng","video/x-mng"],["mny","application/x-msmoney"],["mobi","application/x-mobipocket-ebook"],["mods","application/mods+xml"],["mov","video/quicktime"],["movie","video/x-sgi-movie"],["mp2","audio/mpeg"],["mp2a","audio/mpeg"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mp4a","audio/mp4"],["mp4s","application/mp4"],["mp4v","video/mp4"],["mp21","application/mp21"],["mpc","application/vnd.mophun.certificate"],["mpd","application/dash+xml"],["mpe","video/mpeg"],["mpeg","video/mpeg"],["mpg","video/mpeg"],["mpg4","video/mp4"],["mpga","audio/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["mpm","application/vnd.blueice.multipass"],["mpn","application/vnd.mophun.application"],["mpp","application/vnd.ms-project"],["mpt","application/vnd.ms-project"],["mpy","application/vnd.ibm.minipay"],["mqy","application/vnd.mobius.mqy"],["mrc","application/marc"],["mrcx","application/marcxml+xml"],["ms","text/troff"],["mscml","application/mediaservercontrol+xml"],["mseed","application/vnd.fdsn.mseed"],["mseq","application/vnd.mseq"],["msf","application/vnd.epson.msf"],["msg","application/vnd.ms-outlook"],["msh","model/mesh"],["msi","application/x-msdownload"],["msl","application/vnd.mobius.msl"],["msm","application/octet-stream"],["msp","application/octet-stream"],["msty","application/vnd.muvee.style"],["mtl","model/mtl"],["mts","model/vnd.mts"],["mus","application/vnd.musician"],["musd","application/mmt-usd+xml"],["musicxml","application/vnd.recordare.musicxml+xml"],["mvb","application/x-msmediaview"],["mvt","application/vnd.mapbox-vector-tile"],["mwf","application/vnd.mfer"],["mxf","application/mxf"],["mxl","application/vnd.recordare.musicxml"],["mxmf","audio/mobile-xmf"],["mxml","application/xv+xml"],["mxs","application/vnd.triscape.mxs"],["mxu","video/vnd.mpegurl"],["n-gage","application/vnd.nokia.n-gage.symbian.install"],["n3","text/n3"],["nb","application/mathematica"],["nbp","application/vnd.wolfram.player"],["nc","application/x-netcdf"],["ncx","application/x-dtbncx+xml"],["nfo","text/x-nfo"],["ngdat","application/vnd.nokia.n-gage.data"],["nitf","application/vnd.nitf"],["nlu","application/vnd.neurolanguage.nlu"],["nml","application/vnd.enliven"],["nnd","application/vnd.noblenet-directory"],["nns","application/vnd.noblenet-sealer"],["nnw","application/vnd.noblenet-web"],["npx","image/vnd.net-fpx"],["nq","application/n-quads"],["nsc","application/x-conference"],["nsf","application/vnd.lotus-notes"],["nt","application/n-triples"],["ntf","application/vnd.nitf"],["numbers","application/x-iwork-numbers-sffnumbers"],["nzb","application/x-nzb"],["oa2","application/vnd.fujitsu.oasys2"],["oa3","application/vnd.fujitsu.oasys3"],["oas","application/vnd.fujitsu.oasys"],["obd","application/x-msbinder"],["obgx","application/vnd.openblox.game+xml"],["obj","model/obj"],["oda","application/oda"],["odb","application/vnd.oasis.opendocument.database"],["odc","application/vnd.oasis.opendocument.chart"],["odf","application/vnd.oasis.opendocument.formula"],["odft","application/vnd.oasis.opendocument.formula-template"],["odg","application/vnd.oasis.opendocument.graphics"],["odi","application/vnd.oasis.opendocument.image"],["odm","application/vnd.oasis.opendocument.text-master"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogex","model/vnd.opengex"],["ogg","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["omdoc","application/omdoc+xml"],["onepkg","application/onenote"],["onetmp","application/onenote"],["onetoc","application/onenote"],["onetoc2","application/onenote"],["opf","application/oebps-package+xml"],["opml","text/x-opml"],["oprc","application/vnd.palm"],["opus","audio/ogg"],["org","text/x-org"],["osf","application/vnd.yamaha.openscoreformat"],["osfpvg","application/vnd.yamaha.openscoreformat.osfpvg+xml"],["osm","application/vnd.openstreetmap.data+xml"],["otc","application/vnd.oasis.opendocument.chart-template"],["otf","font/otf"],["otg","application/vnd.oasis.opendocument.graphics-template"],["oth","application/vnd.oasis.opendocument.text-web"],["oti","application/vnd.oasis.opendocument.image-template"],["otp","application/vnd.oasis.opendocument.presentation-template"],["ots","application/vnd.oasis.opendocument.spreadsheet-template"],["ott","application/vnd.oasis.opendocument.text-template"],["ova","application/x-virtualbox-ova"],["ovf","application/x-virtualbox-ovf"],["owl","application/rdf+xml"],["oxps","application/oxps"],["oxt","application/vnd.openofficeorg.extension"],["p","text/x-pascal"],["p7a","application/x-pkcs7-signature"],["p7b","application/x-pkcs7-certificates"],["p7c","application/pkcs7-mime"],["p7m","application/pkcs7-mime"],["p7r","application/x-pkcs7-certreqresp"],["p7s","application/pkcs7-signature"],["p8","application/pkcs8"],["p10","application/x-pkcs10"],["p12","application/x-pkcs12"],["pac","application/x-ns-proxy-autoconfig"],["pages","application/x-iwork-pages-sffpages"],["pas","text/x-pascal"],["paw","application/vnd.pawaafile"],["pbd","application/vnd.powerbuilder6"],["pbm","image/x-portable-bitmap"],["pcap","application/vnd.tcpdump.pcap"],["pcf","application/x-font-pcf"],["pcl","application/vnd.hp-pcl"],["pclxl","application/vnd.hp-pclxl"],["pct","image/x-pict"],["pcurl","application/vnd.curl.pcurl"],["pcx","image/x-pcx"],["pdb","application/x-pilot"],["pde","text/x-processing"],["pdf","application/pdf"],["pem","application/x-x509-user-cert"],["pfa","application/x-font-type1"],["pfb","application/x-font-type1"],["pfm","application/x-font-type1"],["pfr","application/font-tdpfr"],["pfx","application/x-pkcs12"],["pgm","image/x-portable-graymap"],["pgn","application/x-chess-pgn"],["pgp","application/pgp"],["php","application/x-httpd-php"],["php3","application/x-httpd-php"],["php4","application/x-httpd-php"],["phps","application/x-httpd-php-source"],["phtml","application/x-httpd-php"],["pic","image/x-pict"],["pkg","application/octet-stream"],["pki","application/pkixcmp"],["pkipath","application/pkix-pkipath"],["pkpass","application/vnd.apple.pkpass"],["pl","application/x-perl"],["plb","application/vnd.3gpp.pic-bw-large"],["plc","application/vnd.mobius.plc"],["plf","application/vnd.pocketlearn"],["pls","application/pls+xml"],["pm","application/x-perl"],["pml","application/vnd.ctc-posml"],["png","image/png"],["pnm","image/x-portable-anymap"],["portpkg","application/vnd.macports.portpkg"],["pot","application/vnd.ms-powerpoint"],["potm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["potx","application/vnd.openxmlformats-officedocument.presentationml.template"],["ppa","application/vnd.ms-powerpoint"],["ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"],["ppd","application/vnd.cups-ppd"],["ppm","image/x-portable-pixmap"],["pps","application/vnd.ms-powerpoint"],["ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],["ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"],["ppt","application/powerpoint"],["pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["pqa","application/vnd.palm"],["prc","application/x-pilot"],["pre","application/vnd.lotus-freelance"],["prf","application/pics-rules"],["provx","application/provenance+xml"],["ps","application/postscript"],["psb","application/vnd.3gpp.pic-bw-small"],["psd","application/x-photoshop"],["psf","application/x-font-linux-psf"],["pskcxml","application/pskc+xml"],["pti","image/prs.pti"],["ptid","application/vnd.pvi.ptid1"],["pub","application/x-mspublisher"],["pvb","application/vnd.3gpp.pic-bw-var"],["pwn","application/vnd.3m.post-it-notes"],["pya","audio/vnd.ms-playready.media.pya"],["pyv","video/vnd.ms-playready.media.pyv"],["qam","application/vnd.epson.quickanime"],["qbo","application/vnd.intu.qbo"],["qfx","application/vnd.intu.qfx"],["qps","application/vnd.publishare-delta-tree"],["qt","video/quicktime"],["qwd","application/vnd.quark.quarkxpress"],["qwt","application/vnd.quark.quarkxpress"],["qxb","application/vnd.quark.quarkxpress"],["qxd","application/vnd.quark.quarkxpress"],["qxl","application/vnd.quark.quarkxpress"],["qxt","application/vnd.quark.quarkxpress"],["ra","audio/x-realaudio"],["ram","audio/x-pn-realaudio"],["raml","application/raml+yaml"],["rapd","application/route-apd+xml"],["rar","application/x-rar"],["ras","image/x-cmu-raster"],["rcprofile","application/vnd.ipunplugged.rcprofile"],["rdf","application/rdf+xml"],["rdz","application/vnd.data-vision.rdz"],["relo","application/p2p-overlay+xml"],["rep","application/vnd.businessobjects"],["res","application/x-dtbresource+xml"],["rgb","image/x-rgb"],["rif","application/reginfo+xml"],["rip","audio/vnd.rip"],["ris","application/x-research-info-systems"],["rl","application/resource-lists+xml"],["rlc","image/vnd.fujixerox.edmics-rlc"],["rld","application/resource-lists-diff+xml"],["rm","audio/x-pn-realaudio"],["rmi","audio/midi"],["rmp","audio/x-pn-realaudio-plugin"],["rms","application/vnd.jcp.javame.midlet-rms"],["rmvb","application/vnd.rn-realmedia-vbr"],["rnc","application/relax-ng-compact-syntax"],["rng","application/xml"],["roa","application/rpki-roa"],["roff","text/troff"],["rp9","application/vnd.cloanto.rp9"],["rpm","audio/x-pn-realaudio-plugin"],["rpss","application/vnd.nokia.radio-presets"],["rpst","application/vnd.nokia.radio-preset"],["rq","application/sparql-query"],["rs","application/rls-services+xml"],["rsa","application/x-pkcs7"],["rsat","application/atsc-rsat+xml"],["rsd","application/rsd+xml"],["rsheet","application/urc-ressheet+xml"],["rss","application/rss+xml"],["rtf","text/rtf"],["rtx","text/richtext"],["run","application/x-makeself"],["rusd","application/route-usd+xml"],["rv","video/vnd.rn-realvideo"],["s","text/x-asm"],["s3m","audio/s3m"],["saf","application/vnd.yamaha.smaf-audio"],["sass","text/x-sass"],["sbml","application/sbml+xml"],["sc","application/vnd.ibm.secure-container"],["scd","application/x-msschedule"],["scm","application/vnd.lotus-screencam"],["scq","application/scvp-cv-request"],["scs","application/scvp-cv-response"],["scss","text/x-scss"],["scurl","text/vnd.curl.scurl"],["sda","application/vnd.stardivision.draw"],["sdc","application/vnd.stardivision.calc"],["sdd","application/vnd.stardivision.impress"],["sdkd","application/vnd.solent.sdkm+xml"],["sdkm","application/vnd.solent.sdkm+xml"],["sdp","application/sdp"],["sdw","application/vnd.stardivision.writer"],["sea","application/octet-stream"],["see","application/vnd.seemail"],["seed","application/vnd.fdsn.seed"],["sema","application/vnd.sema"],["semd","application/vnd.semd"],["semf","application/vnd.semf"],["senmlx","application/senml+xml"],["sensmlx","application/sensml+xml"],["ser","application/java-serialized-object"],["setpay","application/set-payment-initiation"],["setreg","application/set-registration-initiation"],["sfd-hdstx","application/vnd.hydrostatix.sof-data"],["sfs","application/vnd.spotfire.sfs"],["sfv","text/x-sfv"],["sgi","image/sgi"],["sgl","application/vnd.stardivision.writer-global"],["sgm","text/sgml"],["sgml","text/sgml"],["sh","application/x-sh"],["shar","application/x-shar"],["shex","text/shex"],["shf","application/shf+xml"],["shtml","text/html"],["sid","image/x-mrsid-image"],["sieve","application/sieve"],["sig","application/pgp-signature"],["sil","audio/silk"],["silo","model/mesh"],["sis","application/vnd.symbian.install"],["sisx","application/vnd.symbian.install"],["sit","application/x-stuffit"],["sitx","application/x-stuffitx"],["siv","application/sieve"],["skd","application/vnd.koan"],["skm","application/vnd.koan"],["skp","application/vnd.koan"],["skt","application/vnd.koan"],["sldm","application/vnd.ms-powerpoint.slide.macroenabled.12"],["sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"],["slim","text/slim"],["slm","text/slim"],["sls","application/route-s-tsid+xml"],["slt","application/vnd.epson.salt"],["sm","application/vnd.stepmania.stepchart"],["smf","application/vnd.stardivision.math"],["smi","application/smil"],["smil","application/smil"],["smv","video/x-smv"],["smzip","application/vnd.stepmania.package"],["snd","audio/basic"],["snf","application/x-font-snf"],["so","application/octet-stream"],["spc","application/x-pkcs7-certificates"],["spdx","text/spdx"],["spf","application/vnd.yamaha.smaf-phrase"],["spl","application/x-futuresplash"],["spot","text/vnd.in3d.spot"],["spp","application/scvp-vp-response"],["spq","application/scvp-vp-request"],["spx","audio/ogg"],["sql","application/x-sql"],["src","application/x-wais-source"],["srt","application/x-subrip"],["sru","application/sru+xml"],["srx","application/sparql-results+xml"],["ssdl","application/ssdl+xml"],["sse","application/vnd.kodak-descriptor"],["ssf","application/vnd.epson.ssf"],["ssml","application/ssml+xml"],["sst","application/octet-stream"],["st","application/vnd.sailingtracker.track"],["stc","application/vnd.sun.xml.calc.template"],["std","application/vnd.sun.xml.draw.template"],["stf","application/vnd.wt.stf"],["sti","application/vnd.sun.xml.impress.template"],["stk","application/hyperstudio"],["stl","model/stl"],["stpx","model/step+xml"],["stpxz","model/step-xml+zip"],["stpz","model/step+zip"],["str","application/vnd.pg.format"],["stw","application/vnd.sun.xml.writer.template"],["styl","text/stylus"],["stylus","text/stylus"],["sub","text/vnd.dvb.subtitle"],["sus","application/vnd.sus-calendar"],["susp","application/vnd.sus-calendar"],["sv4cpio","application/x-sv4cpio"],["sv4crc","application/x-sv4crc"],["svc","application/vnd.dvb.service"],["svd","application/vnd.svd"],["svg","image/svg+xml"],["svgz","image/svg+xml"],["swa","application/x-director"],["swf","application/x-shockwave-flash"],["swi","application/vnd.aristanetworks.swi"],["swidtag","application/swid+xml"],["sxc","application/vnd.sun.xml.calc"],["sxd","application/vnd.sun.xml.draw"],["sxg","application/vnd.sun.xml.writer.global"],["sxi","application/vnd.sun.xml.impress"],["sxm","application/vnd.sun.xml.math"],["sxw","application/vnd.sun.xml.writer"],["t","text/troff"],["t3","application/x-t3vm-image"],["t38","image/t38"],["taglet","application/vnd.mynfc"],["tao","application/vnd.tao.intent-module-archive"],["tap","image/vnd.tencent.tap"],["tar","application/x-tar"],["tcap","application/vnd.3gpp2.tcap"],["tcl","application/x-tcl"],["td","application/urc-targetdesc+xml"],["teacher","application/vnd.smart.teacher"],["tei","application/tei+xml"],["teicorpus","application/tei+xml"],["tex","application/x-tex"],["texi","application/x-texinfo"],["texinfo","application/x-texinfo"],["text","text/plain"],["tfi","application/thraud+xml"],["tfm","application/x-tex-tfm"],["tfx","image/tiff-fx"],["tga","image/x-tga"],["tgz","application/x-tar"],["thmx","application/vnd.ms-officetheme"],["tif","image/tiff"],["tiff","image/tiff"],["tk","application/x-tcl"],["tmo","application/vnd.tmobile-livetv"],["toml","application/toml"],["torrent","application/x-bittorrent"],["tpl","application/vnd.groove-tool-template"],["tpt","application/vnd.trid.tpt"],["tr","text/troff"],["tra","application/vnd.trueapp"],["trig","application/trig"],["trm","application/x-msterminal"],["ts","video/mp2t"],["tsd","application/timestamped-data"],["tsv","text/tab-separated-values"],["ttc","font/collection"],["ttf","font/ttf"],["ttl","text/turtle"],["ttml","application/ttml+xml"],["twd","application/vnd.simtech-mindmapper"],["twds","application/vnd.simtech-mindmapper"],["txd","application/vnd.genomatix.tuxedo"],["txf","application/vnd.mobius.txf"],["txt","text/plain"],["u8dsn","message/global-delivery-status"],["u8hdr","message/global-headers"],["u8mdn","message/global-disposition-notification"],["u8msg","message/global"],["u32","application/x-authorware-bin"],["ubj","application/ubjson"],["udeb","application/x-debian-package"],["ufd","application/vnd.ufdl"],["ufdl","application/vnd.ufdl"],["ulx","application/x-glulx"],["umj","application/vnd.umajin"],["unityweb","application/vnd.unity"],["uoml","application/vnd.uoml+xml"],["uri","text/uri-list"],["uris","text/uri-list"],["urls","text/uri-list"],["usdz","model/vnd.usdz+zip"],["ustar","application/x-ustar"],["utz","application/vnd.uiq.theme"],["uu","text/x-uuencode"],["uva","audio/vnd.dece.audio"],["uvd","application/vnd.dece.data"],["uvf","application/vnd.dece.data"],["uvg","image/vnd.dece.graphic"],["uvh","video/vnd.dece.hd"],["uvi","image/vnd.dece.graphic"],["uvm","video/vnd.dece.mobile"],["uvp","video/vnd.dece.pd"],["uvs","video/vnd.dece.sd"],["uvt","application/vnd.dece.ttml+xml"],["uvu","video/vnd.uvvu.mp4"],["uvv","video/vnd.dece.video"],["uvva","audio/vnd.dece.audio"],["uvvd","application/vnd.dece.data"],["uvvf","application/vnd.dece.data"],["uvvg","image/vnd.dece.graphic"],["uvvh","video/vnd.dece.hd"],["uvvi","image/vnd.dece.graphic"],["uvvm","video/vnd.dece.mobile"],["uvvp","video/vnd.dece.pd"],["uvvs","video/vnd.dece.sd"],["uvvt","application/vnd.dece.ttml+xml"],["uvvu","video/vnd.uvvu.mp4"],["uvvv","video/vnd.dece.video"],["uvvx","application/vnd.dece.unspecified"],["uvvz","application/vnd.dece.zip"],["uvx","application/vnd.dece.unspecified"],["uvz","application/vnd.dece.zip"],["vbox","application/x-virtualbox-vbox"],["vbox-extpack","application/x-virtualbox-vbox-extpack"],["vcard","text/vcard"],["vcd","application/x-cdlink"],["vcf","text/x-vcard"],["vcg","application/vnd.groove-vcard"],["vcs","text/x-vcalendar"],["vcx","application/vnd.vcx"],["vdi","application/x-virtualbox-vdi"],["vds","model/vnd.sap.vds"],["vhd","application/x-virtualbox-vhd"],["vis","application/vnd.visionary"],["viv","video/vnd.vivo"],["vlc","application/videolan"],["vmdk","application/x-virtualbox-vmdk"],["vob","video/x-ms-vob"],["vor","application/vnd.stardivision.writer"],["vox","application/x-authorware-bin"],["vrml","model/vrml"],["vsd","application/vnd.visio"],["vsf","application/vnd.vsf"],["vss","application/vnd.visio"],["vst","application/vnd.visio"],["vsw","application/vnd.visio"],["vtf","image/vnd.valve.source.texture"],["vtt","text/vtt"],["vtu","model/vnd.vtu"],["vxml","application/voicexml+xml"],["w3d","application/x-director"],["wad","application/x-doom"],["wadl","application/vnd.sun.wadl+xml"],["war","application/java-archive"],["wasm","application/wasm"],["wav","audio/x-wav"],["wax","audio/x-ms-wax"],["wbmp","image/vnd.wap.wbmp"],["wbs","application/vnd.criticaltools.wbs+xml"],["wbxml","application/wbxml"],["wcm","application/vnd.ms-works"],["wdb","application/vnd.ms-works"],["wdp","image/vnd.ms-photo"],["weba","audio/webm"],["webapp","application/x-web-app-manifest+json"],["webm","video/webm"],["webmanifest","application/manifest+json"],["webp","image/webp"],["wg","application/vnd.pmi.widget"],["wgt","application/widget"],["wks","application/vnd.ms-works"],["wm","video/x-ms-wm"],["wma","audio/x-ms-wma"],["wmd","application/x-ms-wmd"],["wmf","image/wmf"],["wml","text/vnd.wap.wml"],["wmlc","application/wmlc"],["wmls","text/vnd.wap.wmlscript"],["wmlsc","application/vnd.wap.wmlscriptc"],["wmv","video/x-ms-wmv"],["wmx","video/x-ms-wmx"],["wmz","application/x-msmetafile"],["woff","font/woff"],["woff2","font/woff2"],["word","application/msword"],["wpd","application/vnd.wordperfect"],["wpl","application/vnd.ms-wpl"],["wps","application/vnd.ms-works"],["wqd","application/vnd.wqd"],["wri","application/x-mswrite"],["wrl","model/vrml"],["wsc","message/vnd.wfa.wsc"],["wsdl","application/wsdl+xml"],["wspolicy","application/wspolicy+xml"],["wtb","application/vnd.webturbo"],["wvx","video/x-ms-wvx"],["x3d","model/x3d+xml"],["x3db","model/x3d+fastinfoset"],["x3dbz","model/x3d+binary"],["x3dv","model/x3d-vrml"],["x3dvz","model/x3d+vrml"],["x3dz","model/x3d+xml"],["x32","application/x-authorware-bin"],["x_b","model/vnd.parasolid.transmit.binary"],["x_t","model/vnd.parasolid.transmit.text"],["xaml","application/xaml+xml"],["xap","application/x-silverlight-app"],["xar","application/vnd.xara"],["xav","application/xcap-att+xml"],["xbap","application/x-ms-xbap"],["xbd","application/vnd.fujixerox.docuworks.binder"],["xbm","image/x-xbitmap"],["xca","application/xcap-caps+xml"],["xcs","application/calendar+xml"],["xdf","application/xcap-diff+xml"],["xdm","application/vnd.syncml.dm+xml"],["xdp","application/vnd.adobe.xdp+xml"],["xdssc","application/dssc+xml"],["xdw","application/vnd.fujixerox.docuworks"],["xel","application/xcap-el+xml"],["xenc","application/xenc+xml"],["xer","application/patch-ops-error+xml"],["xfdf","application/vnd.adobe.xfdf"],["xfdl","application/vnd.xfdl"],["xht","application/xhtml+xml"],["xhtml","application/xhtml+xml"],["xhvml","application/xv+xml"],["xif","image/vnd.xiff"],["xl","application/excel"],["xla","application/vnd.ms-excel"],["xlam","application/vnd.ms-excel.addin.macroEnabled.12"],["xlc","application/vnd.ms-excel"],["xlf","application/xliff+xml"],["xlm","application/vnd.ms-excel"],["xls","application/vnd.ms-excel"],["xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],["xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xlt","application/vnd.ms-excel"],["xltm","application/vnd.ms-excel.template.macroEnabled.12"],["xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"],["xlw","application/vnd.ms-excel"],["xm","audio/xm"],["xml","application/xml"],["xns","application/xcap-ns+xml"],["xo","application/vnd.olpc-sugar"],["xop","application/xop+xml"],["xpi","application/x-xpinstall"],["xpl","application/xproc+xml"],["xpm","image/x-xpixmap"],["xpr","application/vnd.is-xpr"],["xps","application/vnd.ms-xpsdocument"],["xpw","application/vnd.intercon.formnet"],["xpx","application/vnd.intercon.formnet"],["xsd","application/xml"],["xsl","application/xml"],["xslt","application/xslt+xml"],["xsm","application/vnd.syncml+xml"],["xspf","application/xspf+xml"],["xul","application/vnd.mozilla.xul+xml"],["xvm","application/xv+xml"],["xvml","application/xv+xml"],["xwd","image/x-xwindowdump"],["xyz","chemical/x-xyz"],["xz","application/x-xz"],["yaml","text/yaml"],["yang","application/yang"],["yin","application/yin+xml"],["yml","text/yaml"],["ymp","text/x-suse-ymp"],["z","application/x-compress"],["z1","application/x-zmachine"],["z2","application/x-zmachine"],["z3","application/x-zmachine"],["z4","application/x-zmachine"],["z5","application/x-zmachine"],["z6","application/x-zmachine"],["z7","application/x-zmachine"],["z8","application/x-zmachine"],["zaz","application/vnd.zzazz.deck+xml"],["zip","application/zip"],["zir","application/vnd.zul"],["zirz","application/vnd.zul"],["zmm","application/vnd.handheld-entertainment+xml"],["zsh","text/x-scriptzsh"]]);function Vl(t,e,r){const n=kVe(t),{webkitRelativePath:o}=t,s=typeof e=="string"?e:typeof o=="string"&&o.length>0?o:`./${t.name}`;return typeof n.path!="string"&&sD(n,"path",s),sD(n,"relativePath",s),n}function kVe(t){const{name:e}=t;if(e&&e.lastIndexOf(".")!==-1&&!t.type){const n=e.split(".").pop().toLowerCase(),o=EVe.get(n);o&&Object.defineProperty(t,"type",{value:o,writable:!1,configurable:!1,enumerable:!0})}return t}function sD(t,e,r){Object.defineProperty(t,e,{value:r,writable:!1,configurable:!1,enumerable:!0})}const $Ve=[".DS_Store","Thumbs.db"];function TVe(t){return _i(this,void 0,void 0,function*(){return Lf(t)&&OVe(t.dataTransfer)?AVe(t.dataTransfer,t.type):DVe(t)?NVe(t):Array.isArray(t)&&t.every(e=>"getFile"in e&&typeof e.getFile=="function")?MVe(t):[]})}function OVe(t){return Lf(t)}function DVe(t){return Lf(t)&&Lf(t.target)}function Lf(t){return typeof t=="object"&&t!==null}function NVe(t){return x0(t.target.files).map(e=>Vl(e))}function MVe(t){return _i(this,void 0,void 0,function*(){return(yield Promise.all(t.map(r=>r.getFile()))).map(r=>Vl(r))})}function AVe(t,e){return _i(this,void 0,void 0,function*(){if(t.items){const r=x0(t.items).filter(o=>o.kind==="file");if(e!=="drop")return r;const n=yield Promise.all(r.map(PVe));return aD(bP(n))}return aD(x0(t.files).map(r=>Vl(r)))})}function aD(t){return t.filter(e=>$Ve.indexOf(e.name)===-1)}function x0(t){if(t===null)return[];const e=[];for(let r=0;r[...e,...Array.isArray(r)?bP(r):[r]],[])}function iD(t,e){return _i(this,void 0,void 0,function*(){var r;if(globalThis.isSecureContext&&typeof t.getAsFileSystemHandle=="function"){const s=yield t.getAsFileSystemHandle();if(s===null)throw new Error(`${t} is not a File`);if(s!==void 0){const a=yield s.getFile();return a.handle=s,Vl(a)}}const n=t.getAsFile();if(!n)throw new Error(`${t} is not a File`);return Vl(n,(r=e==null?void 0:e.fullPath)!==null&&r!==void 0?r:void 0)})}function IVe(t){return _i(this,void 0,void 0,function*(){return t.isDirectory?wP(t):RVe(t)})}function wP(t){const e=t.createReader();return new Promise((r,n)=>{const o=[];function s(){e.readEntries(a=>_i(this,void 0,void 0,function*(){if(a.length){const l=Promise.all(a.map(IVe));o.push(l),s()}else try{const l=yield Promise.all(o);r(l)}catch(l){n(l)}}),a=>{n(a)})}s()})}function RVe(t){return _i(this,void 0,void 0,function*(){return new Promise((e,r)=>{t.file(n=>{const o=Vl(n,t.fullPath);e(o)},n=>{r(n)})})})}var Jp={},lD;function jVe(){return lD||(lD=1,Jp.__esModule=!0,Jp.default=function(t,e){if(t&&e){var r=Array.isArray(e)?e:e.split(",");if(r.length===0)return!0;var n=t.name||"",o=(t.type||"").toLowerCase(),s=o.replace(/\/.*$/,"");return r.some(function(a){var l=a.trim().toLowerCase();return l.charAt(0)==="."?n.toLowerCase().endsWith(l):l.endsWith("/*")?s===l.replace(/\/.*$/,""):o===l})}return!0}),Jp}var FVe=jVe();const ub=da(FVe);function cD(t){return BVe(t)||LVe(t)||SP(t)||zVe()}function zVe(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function LVe(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function BVe(t){if(Array.isArray(t))return S0(t)}function uD(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),r.push.apply(r,n)}return r}function dD(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&arguments[0]!==void 0?arguments[0]:"",r=e.split(","),n=r.length>1?"one of ".concat(r.join(", ")):r[0];return{code:VVe,message:"File type must be ".concat(n)}},pD=function(e){return{code:GVe,message:"File is larger than ".concat(e," ").concat(e===1?"byte":"bytes")}},fD=function(e){return{code:XVe,message:"File is smaller than ".concat(e," ").concat(e===1?"byte":"bytes")}},KVe={code:JVe,message:"Too many files"};function CP(t,e){var r=t.type==="application/x-moz-file"||qVe(t,e);return[r,r?null:YVe(e)]}function EP(t,e,r){if(Fa(t.size))if(Fa(e)&&Fa(r)){if(t.size>r)return[!1,pD(r)];if(t.sizer)return[!1,pD(r)]}return[!0,null]}function Fa(t){return t!=null}function ZVe(t){var e=t.files,r=t.accept,n=t.minSize,o=t.maxSize,s=t.multiple,a=t.maxFiles,l=t.validator;return!s&&e.length>1||s&&a>=1&&e.length>a?!1:e.every(function(u){var p=CP(u,r),h=Wu(p,1),d=h[0],_=EP(u,n,o),g=Wu(_,1),v=g[0],w=l?l(u):null;return d&&v&&!w})}function Bf(t){return typeof t.isPropagationStopped=="function"?t.isPropagationStopped():typeof t.cancelBubble<"u"?t.cancelBubble:!1}function Yp(t){return t.dataTransfer?Array.prototype.some.call(t.dataTransfer.types,function(e){return e==="Files"||e==="application/x-moz-file"}):!!t.target&&!!t.target.files}function hD(t){t.preventDefault()}function QVe(t){return t.indexOf("MSIE")!==-1||t.indexOf("Trident/")!==-1}function eGe(t){return t.indexOf("Edge/")!==-1}function tGe(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return QVe(t)||eGe(t)}function Oo(){for(var t=arguments.length,e=new Array(t),r=0;r1?o-1:0),a=1;at.length)&&(e=t.length);for(var r=0,n=new Array(e);r=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function yGe(t,e){if(t==null)return{};var r={},n=Object.keys(t),o,s;for(s=0;s=0)&&(r[o]=t[o]);return r}var jh=N.forwardRef(function(t,e){var r=t.children,n=Wf(t,iGe),o=vGe(n),s=o.open,a=Wf(o,lGe);return N.useImperativeHandle(e,function(){return{open:s}},[s]),m.createElement(N.Fragment,null,r(nr(nr({},a),{},{open:s})))});jh.displayName="Dropzone";var OP={disabled:!1,getFilesFromEvent:TVe,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};jh.defaultProps=OP;jh.propTypes={children:ce.func,accept:ce.objectOf(ce.arrayOf(ce.string)),multiple:ce.bool,preventDropOnDocument:ce.bool,noClick:ce.bool,noKeyboard:ce.bool,noDrag:ce.bool,noDragEventsBubbling:ce.bool,minSize:ce.number,maxSize:ce.number,maxFiles:ce.number,disabled:ce.bool,getFilesFromEvent:ce.func,onFileDialogCancel:ce.func,onFileDialogOpen:ce.func,useFsAccessApi:ce.bool,autoFocus:ce.bool,onDragEnter:ce.func,onDragLeave:ce.func,onDragOver:ce.func,onDrop:ce.func,onDropAccepted:ce.func,onDropRejected:ce.func,onError:ce.func,validator:ce.func};var k0={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function vGe(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=nr(nr({},OP),t),r=e.accept,n=e.disabled,o=e.getFilesFromEvent,s=e.maxSize,a=e.minSize,l=e.multiple,u=e.maxFiles,p=e.onDragEnter,h=e.onDragLeave,d=e.onDragOver,_=e.onDrop,g=e.onDropAccepted,v=e.onDropRejected,w=e.onFileDialogCancel,x=e.onFileDialogOpen,C=e.useFsAccessApi,M=e.autoFocus,$=e.preventDropOnDocument,E=e.noClick,k=e.noKeyboard,T=e.noDrag,A=e.noDragEventsBubbling,I=e.onError,j=e.validator,O=N.useMemo(function(){return oGe(r)},[r]),F=N.useMemo(function(){return nGe(r)},[r]),H=N.useMemo(function(){return typeof x=="function"?x:_D},[x]),q=N.useMemo(function(){return typeof w=="function"?w:_D},[w]),U=N.useRef(null),B=N.useRef(null),X=N.useReducer(bGe,k0),re=db(X,2),Z=re[0],J=re[1],ne=Z.isFocused,L=Z.isFileDialogActive,Q=N.useRef(typeof window<"u"&&window.isSecureContext&&C&&rGe()),fe=function(){!Q.current&&L&&setTimeout(function(){if(B.current){var Ee=B.current.files;Ee.length||(J({type:"closeDialog"}),q())}},300)};N.useEffect(function(){return window.addEventListener("focus",fe,!1),function(){window.removeEventListener("focus",fe,!1)}},[B,L,q,Q]);var me=N.useRef([]),ye=function(Ee){U.current&&U.current.contains(Ee.target)||(Ee.preventDefault(),me.current=[])};N.useEffect(function(){return $&&(document.addEventListener("dragover",hD,!1),document.addEventListener("drop",ye,!1)),function(){$&&(document.removeEventListener("dragover",hD),document.removeEventListener("drop",ye))}},[U,$]),N.useEffect(function(){return!n&&M&&U.current&&U.current.focus(),function(){}},[U,M,n]);var we=N.useCallback(function(ue){I?I(ue):console.error(ue)},[I]),Me=N.useCallback(function(ue){ue.preventDefault(),ue.persist(),rt(ue),me.current=[].concat(dGe(me.current),[ue.target]),Yp(ue)&&Promise.resolve(o(ue)).then(function(Ee){if(!(Bf(ue)&&!A)){var ht=Ee.length,Ve=ht>0&&ZVe({files:Ee,accept:O,minSize:a,maxSize:s,multiple:l,maxFiles:u,validator:j}),Je=ht>0&&!Ve;J({isDragAccept:Ve,isDragReject:Je,isDragActive:!0,type:"setDraggedFiles"}),p&&p(ue)}}).catch(function(Ee){return we(Ee)})},[o,p,we,A,O,a,s,l,u,j]),Oe=N.useCallback(function(ue){ue.preventDefault(),ue.persist(),rt(ue);var Ee=Yp(ue);if(Ee&&ue.dataTransfer)try{ue.dataTransfer.dropEffect="copy"}catch{}return Ee&&d&&d(ue),!1},[d,A]),Pe=N.useCallback(function(ue){ue.preventDefault(),ue.persist(),rt(ue);var Ee=me.current.filter(function(Ve){return U.current&&U.current.contains(Ve)}),ht=Ee.indexOf(ue.target);ht!==-1&&Ee.splice(ht,1),me.current=Ee,!(Ee.length>0)&&(J({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),Yp(ue)&&h&&h(ue))},[U,h,A]),ke=N.useCallback(function(ue,Ee){var ht=[],Ve=[];ue.forEach(function(Je){var pt=CP(Je,O),yt=db(pt,2),je=yt[0],St=yt[1],Tt=EP(Je,a,s),wt=db(Tt,2),ae=wt[0],ve=wt[1],Ue=j?j(Je):null;if(je&&ae&&!Ue)ht.push(Je);else{var tt=[St,ve];Ue&&(tt=tt.concat(Ue)),Ve.push({file:Je,errors:tt.filter(function(Ct){return Ct})})}}),(!l&&ht.length>1||l&&u>=1&&ht.length>u)&&(ht.forEach(function(Je){Ve.push({file:Je,errors:[KVe]})}),ht.splice(0)),J({acceptedFiles:ht,fileRejections:Ve,isDragReject:Ve.length>0,type:"setFiles"}),_&&_(ht,Ve,Ee),Ve.length>0&&v&&v(Ve,Ee),ht.length>0&&g&&g(ht,Ee)},[J,l,O,a,s,u,_,g,v,j]),He=N.useCallback(function(ue){ue.preventDefault(),ue.persist(),rt(ue),me.current=[],Yp(ue)&&Promise.resolve(o(ue)).then(function(Ee){Bf(ue)&&!A||ke(Ee,ue)}).catch(function(Ee){return we(Ee)}),J({type:"reset"})},[o,ke,we,A]),Ae=N.useCallback(function(){if(Q.current){J({type:"openDialog"}),H();var ue={multiple:l,types:F};window.showOpenFilePicker(ue).then(function(Ee){return o(Ee)}).then(function(Ee){ke(Ee,null),J({type:"closeDialog"})}).catch(function(Ee){sGe(Ee)?(q(Ee),J({type:"closeDialog"})):aGe(Ee)?(Q.current=!1,B.current?(B.current.value=null,B.current.click()):we(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no was provided."))):we(Ee)});return}B.current&&(J({type:"openDialog"}),H(),B.current.value=null,B.current.click())},[J,H,q,C,ke,we,F,l]),it=N.useCallback(function(ue){!U.current||!U.current.isEqualNode(ue.target)||(ue.key===" "||ue.key==="Enter"||ue.keyCode===32||ue.keyCode===13)&&(ue.preventDefault(),Ae())},[U,Ae]),Ie=N.useCallback(function(){J({type:"focus"})},[]),$e=N.useCallback(function(){J({type:"blur"})},[]),ie=N.useCallback(function(){E||(tGe()?setTimeout(Ae,0):Ae())},[E,Ae]),se=function(Ee){return n?null:Ee},ze=function(Ee){return k?null:se(Ee)},qe=function(Ee){return T?null:se(Ee)},rt=function(Ee){A&&Ee.stopPropagation()},st=N.useMemo(function(){return function(){var ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ee=ue.refKey,ht=Ee===void 0?"ref":Ee,Ve=ue.role,Je=ue.onKeyDown,pt=ue.onFocus,yt=ue.onBlur,je=ue.onClick,St=ue.onDragEnter,Tt=ue.onDragOver,wt=ue.onDragLeave,ae=ue.onDrop,ve=Wf(ue,cGe);return nr(nr(E0({onKeyDown:ze(Oo(Je,it)),onFocus:ze(Oo(pt,Ie)),onBlur:ze(Oo(yt,$e)),onClick:se(Oo(je,ie)),onDragEnter:qe(Oo(St,Me)),onDragOver:qe(Oo(Tt,Oe)),onDragLeave:qe(Oo(wt,Pe)),onDrop:qe(Oo(ae,He)),role:typeof Ve=="string"&&Ve!==""?Ve:"presentation"},ht,U),!n&&!k?{tabIndex:0}:{}),ve)}},[U,it,Ie,$e,ie,Me,Oe,Pe,He,k,T,n]),xe=N.useCallback(function(ue){ue.stopPropagation()},[]),mt=N.useMemo(function(){return function(){var ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ee=ue.refKey,ht=Ee===void 0?"ref":Ee,Ve=ue.onChange,Je=ue.onClick,pt=Wf(ue,uGe),yt=E0({accept:O,multiple:l,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:se(Oo(Ve,He)),onClick:se(Oo(Je,xe)),tabIndex:-1},ht,B);return nr(nr({},yt),pt)}},[B,r,l,He,n]);return nr(nr({},Z),{},{isFocused:ne&&!n,getRootProps:st,getInputProps:mt,rootRef:U,inputRef:B,open:se(Ae)})}function bGe(t,e){switch(e.type){case"focus":return nr(nr({},t),{},{isFocused:!0});case"blur":return nr(nr({},t),{},{isFocused:!1});case"openDialog":return nr(nr({},k0),{},{isFileDialogActive:!0});case"closeDialog":return nr(nr({},t),{},{isFileDialogActive:!1});case"setDraggedFiles":return nr(nr({},t),{},{isDragActive:e.isDragActive,isDragAccept:e.isDragAccept,isDragReject:e.isDragReject});case"setFiles":return nr(nr({},t),{},{acceptedFiles:e.acceptedFiles,fileRejections:e.fileRejections,isDragReject:e.isDragReject});case"reset":return nr({},k0);default:return t}}function _D(){}function wGe(){const t=ys();return[...t.breakpoints.keys].reverse().reduce((r,n)=>{const o=V8(t.breakpoints.up(n));return!r&&o?n:r},null)||"xs"}function Fh(){return t=>function(r){const n=wGe();return m.createElement(t,{...r,width:n})}}function xGe(t){const[e,r]=m.useState(t.input||t.value||""),[n,o]=m.useState("");return m.createElement(Mr,{open:!0,onClose:()=>t.onClose(null),"aria-labelledby":"form-dialog-title",fullWidth:t.fullWidth!==void 0?t.fullWidth:!1},m.createElement(Ar,{id:"form-dialog-title"},t.titleText),m.createElement(Vr,null,m.createElement(oa,null,t.promptText),m.createElement(ot,{variant:"standard",autoFocus:!0,margin:"dense",error:!!n,helperText:n===!0||!n?"":n,value:e,label:t.labelText||"",type:t.type||"text",onKeyUp:s=>s.code==="Enter"&&e&&t.onClose(e),onChange:s=>{let a="";t.verify&&(a=!t.verify(s.target.value)),t.rule?r(t.rule(s.target.value)):r(s.target.value),o(a)},fullWidth:!0})),m.createElement(qr,null,m.createElement(gt,{variant:"contained",disabled:!e||!!n,onClick:()=>t.onClose(e),color:"primary",startIcon:m.createElement(Yn,null)},t.applyText||R.t("ra_Ok")),m.createElement(gt,{color:"grey",variant:"contained",onClick:()=>t.onClose(null),startIcon:m.createElement(Hr,null)},t.cancelText||R.t("ra_Cancel"))))}const SGe=Fh()(xGe),$0=t=>m.createElement("svg",{onClick:e=>t.onClick&&t.onClick(e),viewBox:"0 0 486 486",width:t.width||(t.fontSize==="small"?16:20),height:t.height||t.width||(t.fontSize==="small"?16:20),xmlns:"http://www.w3.org/2000/svg",className:t.className,style:t.style},m.createElement("path",{fill:"currentColor",d:"m414.928297,149.715165 c-2.639376,-57.222555 -35.669446,-106.505345 -83.345894,-132.039151 c-3.758948,-2.049842 -7.636885,-3.932022 -11.590542,-5.641125 c-19.303146,-8.394083 -40.607459,-13.050853 -63.004303,-13.050853 c-84.113909,0 -152.791790,65.703174 -157.718988,148.605566 l0.043268,-0.010816 v0.281245 c0,3.061243 -0.146031,16.750306 -0.146031,16.750306 l-2.352723,5.224668 h15.744315 c5.916964,-19.384275 24.078904,-32.635245 45.513024,-32.635245 c26.231510,0 47.573684,21.915481 47.573684,48.146991 c0,26.226103 -21.342174,47.146409 -47.573684,47.146409 c-25.111939,0 -45.734774,-19.735831 -47.443879,-44.658471 h-18.789334 c-0.400232,0 -0.778832,0.638209 -1.162839,0.584122 l-19.762875,55.199753 c-2.774590,7.696379 2.926030,16.214860 11.103771,16.214860 h17.020735 l-0.129805,87.899899 c0,17.356066 14.073071,31.174935 31.429136,31.174935 h56.205745 v82.648189 c0,12.877778 12.937273,22.580734 25.815051,22.580734 h144.597825 c12.877778,0 23.429877,-9.702955 23.429877,-22.580734 v-166.037352 c0,-22.645636 5.976457,-44.761234 16.561008,-64.789128 c11.055093,-20.925714 17.523731,-44.620611 18.129489,-69.792045 c0.027042,-1.260193 0.037858,-2.552839 0.037858,-3.845485 c0,-2.466302 -0.070310,-4.938014 -0.183890,-7.377273 zm-155.393308,-11.731165 h-13.456494 v13.559257 c0,4.732489 -4.267352,8.567157 -8.999842,8.567157 c-4.727079,0 -8.999842,-3.834667 -8.999842,-8.567157 v-13.559257 h-12.185483 c-4.732489,0 -8.567157,-4.267352 -8.567157,-8.999842 c0,-4.727079 3.834667,-8.999842 8.567157,-8.999842 h12.185483 v-12.077311 c0,-4.732489 4.272762,-8.567157 8.999842,-8.567157 c4.732489,0 8.999842,3.834667 8.999842,8.567157 v12.077311 h13.456494 c4.727079,0 8.567157,4.272762 8.567157,8.999842 c0,4.732489 -3.840077,8.999842 -8.567157,8.999842 zm0,0"}),m.createElement("path",{fill:"currentColor",d:"m187.695312 285.875c3.9375-3.980469 6.414063-9.449219 6.414063-15.523438 0-12.128906-9.855469-21.980468-21.984375-21.980468-6.007812 0-11.472656 2.410156-15.457031 6.347656-4.023438 4.003906-6.523438 9.539062-6.523438 15.636719 0 12.125 9.855469 21.980469 21.980469 21.980469 6.078125 0 11.585938-2.476563 15.570312-6.460938zm0 0"})),Ml=t=>m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",onClick:e=>t.onClick&&t.onClick(e),viewBox:"0 0 650 512",width:t.width||(t.fontSize==="small"?16:20),height:t.height||t.width||(t.fontSize==="small"?16:20),className:t.className,style:t.style},m.createElement("path",{fill:"currentColor",d:"m524,128l-192,0l-64,-64l-160,0c-26.51,0 -48,21.49 -48,48l0,288c0,26.51 21.49,48 48,48l416,0c26.51,0 48,-21.49 48,-48l0,-224c0,-26.51 -21.49,-48 -48,-48z"})),pf=t=>m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",onClick:e=>t.onClick&&t.onClick(e),viewBox:"0 0 650 512",width:t.width||(t.fontSize==="small"?16:20),height:t.height||t.width||(t.fontSize==="small"?16:20),className:t.className,style:t.style},m.createElement("path",{fill:"currentColor",d:"m631.75617,292.093l-72.424,124.155a63.997,63.997 0 0 1 -55.281,31.752l-399.964,0c-18.523,0 -30.064,-20.093 -20.731,-36.093l72.424,-124.155a64,64 0 0 1 55.282,-31.752l399.964,0c18.523,0 30.064,20.093 20.73,36.093zm-420.694,-68.093l328,0l0,-48c0,-26.51 -21.49,-48 -48,-48l-160,0l-64,-64l-160,0c-26.51,0 -48,21.49 -48,48l0,278.046l69.077,-118.418c17.137,-29.378 48.912,-47.628 82.923,-47.628z"})),P1=t=>m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",onClick:e=>t.onClick&&t.onClick(e),viewBox:"0 0 512 512",width:t.width||(t.fontSize==="small"?16:20),height:t.height||t.width||(t.fontSize==="small"?16:20),className:t.className,style:t.style},m.createElement("path",{fill:"#EE3333",d:"M256,0C114.844,0,0,114.844,0,256s114.844,256,256,256s256-114.844,256-256S397.156,0,256,0z M256,448 c-105.865,0-192-86.135-192-192c0-40.406,12.25-78.604,35.542-111.198l267.656,267.656C334.604,435.75,296.406,448,256,448z M412.458,367.198L144.802,99.542C177.396,76.25,215.594,64,256,64c105.865,0,192,86.135,192,192 C448,296.406,435.75,334.604,412.458,367.198z"}));var CGe=t=>typeof t!="string"?{}:t.split(/ ?; ?/).reduce((e,r)=>{const[n,o]=r.split(/ ?: ?/).map((s,a)=>a===0?s.replace(/\s+/g,""):s.trim());if(n&&o){const s=n.replace(/(\w)-(\w)/g,(l,u,p)=>`${u}${p.toUpperCase()}`);let a=o.trim();Number.isNaN(Number(o))||(a=Number(o)),e[n.startsWith("-")?n:s]=a}return e},{});function EGe(t=6){const e="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";let r="";for(let n=t;n>0;--n)r+=e[Math.round(Math.random()*(e.length-1))];return r}var kGe=["br","col","colgroup","dl","hr","iframe","img","input","link","menuitem","meta","ol","param","select","table","tbody","tfoot","thead","tr","ul","wbr"],gD={"accept-charset":"acceptCharset",acceptcharset:"acceptCharset",accesskey:"accessKey",allowfullscreen:"allowFullScreen",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",class:"className",classid:"classID",classname:"className",colspan:"colSpan",contenteditable:"contentEditable",contextmenu:"contextMenu",controlslist:"controlsList",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",datetime:"dateTime",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",enctype:"encType",for:"htmlFor",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",innerhtml:"innerHTML",inputmode:"inputMode",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",marginwidth:"marginWidth",marginheight:"marginHeight",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",nomodule:"noModule",novalidate:"noValidate",playsinline:"playsInline",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rowspan:"rowSpan",spellcheck:"spellCheck",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",tabindex:"tabIndex",typemustmatch:"typeMustMatch",usemap:"useMap",accentheight:"accentHeight","accent-height":"accentHeight",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",arabicform:"arabicForm","arabic-form":"arabicForm",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",diffuseconstant:"diffuseConstant",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",edgemode:"edgeMode",enablebackground:"enableBackground","enable-background":"enableBackground",externalresourcesrequired:"externalResourcesRequired",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",imagerendering:"imageRendering","image-rendering":"imageRendering",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",vmathematical:"vMathematical","v-mathematical":"vMathematical",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan",onblur:"onBlur",onchange:"onChange",onclick:"onClick",oncontextmenu:"onContextMenu",ondoubleclick:"onDoubleClick",ondrag:"onDrag",ondragend:"onDragEnd",ondragenter:"onDragEnter",ondragexit:"onDragExit",ondragleave:"onDragLeave",ondragover:"onDragOver",ondragstart:"onDragStart",ondrop:"onDrop",onerror:"onError",onfocus:"onFocus",oninput:"onInput",oninvalid:"onInvalid",onkeydown:"onKeyDown",onkeypress:"onKeyPress",onkeyup:"onKeyUp",onload:"onLoad",onmousedown:"onMouseDown",onmouseenter:"onMouseEnter",onmouseleave:"onMouseLeave",onmousemove:"onMouseMove",onmouseout:"onMouseOut",onmouseover:"onMouseOver",onmouseup:"onMouseUp",onscroll:"onScroll",onsubmit:"onSubmit",ontouchcancel:"onTouchCancel",ontouchend:"onTouchEnd",ontouchmove:"onTouchMove",ontouchstart:"onTouchStart",onwheel:"onWheel"};function $Ge(t,e){var s;const{key:r,level:n,...o}=e;switch(t.nodeType){case 1:return N.createElement(OGe(t.nodeName),TGe(t,r),yD(t.childNodes,n,o));case 3:{const a=((s=t.nodeValue)==null?void 0:s.toString())??"";if(!o.allowWhiteSpaces&&/^\s+$/.test(a)&&!/[\u00A0\u202F]/.test(a))return null;if(!t.parentNode)return a;const l=t.parentNode.nodeName.toLowerCase();return kGe.includes(l)?(/\S/.test(a)&&console.warn(`A textNode is not allowed inside '${l}'. Your text "${a}" will be ignored`),null):a}case 8:return null;case 11:return yD(t.childNodes,n,e);default:return null}}function TGe(t,e){const r={key:e};if(t instanceof Element){const n=t.getAttribute("class");n&&(r.className=n),[...t.attributes].forEach(o=>{switch(o.name){case"class":break;case"style":r[o.name]=CGe(o.value);break;case"allowfullscreen":case"allowpaymentrequest":case"async":case"autofocus":case"autoplay":case"checked":case"controls":case"default":case"defer":case"disabled":case"formnovalidate":case"hidden":case"ismap":case"itemscope":case"loop":case"multiple":case"muted":case"nomodule":case"novalidate":case"open":case"readonly":case"required":case"reversed":case"selected":case"typemustmatch":r[gD[o.name]||o.name]=!0;break;default:r[gD[o.name]||o.name]=o.value}})}return r}function yD(t,e,r){const n=[...t].map((o,s)=>Uf(o,{...r,index:s,level:e+1})).filter(Boolean);return n.length?n:null}function OGe(t){return/[a-z]+[A-Z]+[a-z]+/.test(t)?t:t.toLowerCase()}function DP(t,e={}){return typeof t=="string"?DGe(t,e):t instanceof Node?Uf(t,e):null}function Uf(t,e={}){if(!t||!(t instanceof Node))return null;const{actions:r=[],index:n=0,level:o=0,randomKey:s}=e;let a=t,l=`${o}-${n}`;const u=[];return s&&o===0&&(l=`${EGe()}-${l}`),Array.isArray(r)&&r.forEach(p=>{p.condition(a,l,o)&&(typeof p.pre=="function"&&(a=p.pre(a,l,o),a instanceof Node||(a=t)),typeof p.post=="function"&&u.push(p.post(a,l,o)))}),u.length?u:$Ge(a,{key:l,level:o,...e})}function DGe(t,e={}){if(!t||typeof t!="string")return null;const{includeAllNodes:r=!1,nodeOnly:n=!1,selector:o="body > *",type:s="text/html"}=e;try{const l=new DOMParser().parseFromString(t,s);if(r){const{childNodes:p}=l.body;return n?p:[...p].map(h=>Uf(h,e))}const u=l.querySelector(o)||l.body.childNodes[0];if(!(u instanceof Node))throw new TypeError("Error parsing input");return n?u:Uf(u,e)}catch{}return null}var NGe=Object.defineProperty,MGe=(t,e,r)=>e in t?NGe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Kp=(t,e,r)=>MGe(t,typeof e!="symbol"?e+"":e,r),vD="react-inlinesvg",bD=10,Rt={IDLE:"idle",LOADING:"loading",LOADED:"loaded",FAILED:"failed",READY:"ready",UNSUPPORTED:"unsupported"};function AGe(t){return t[Math.floor(Math.random()*t.length)]}function ff(){var t;return!!(typeof window<"u"&&((t=window.document)!=null&&t.createElement))}function PGe(){return FGe()&&typeof window<"u"&&window!==null}function IGe(t,...e){const r={};for(const n in t)({}).hasOwnProperty.call(t,n)&&(e.includes(n)||(r[n]=t[n]));return r}function RGe(t){const e="abcdefghijklmnopqrstuvwxyz",n=`${e}${e.toUpperCase()}1234567890`;let o="";for(let s=0;s299)throw new Error("Not found");if(!["image/svg+xml","text/plain"].some(s=>o.includes(s)))throw new Error(`Content type isn't valid: ${o}`);return r.text()}function jGe(t=1){return new Promise(e=>{setTimeout(e,t*1e3)})}function FGe(){if(!document)return!1;const t=document.createElement("div");t.innerHTML="";const e=t.firstChild;return!!e&&e.namespaceURI==="http://www.w3.org/2000/svg"}var zGe=class{constructor(){Kp(this,"cacheApi"),Kp(this,"cacheStore"),Kp(this,"subscribers",[]),Kp(this,"isReady",!1),this.cacheStore=new Map;let t=vD,e=!1;ff()&&(t=window.REACT_INLINESVG_CACHE_NAME??vD,e=!!window.REACT_INLINESVG_PERSISTENT_CACHE&&"caches"in window),e?caches.open(t).then(r=>{this.cacheApi=r}).catch(r=>{console.error(`Failed to open cache: ${r.message}`)}).finally(()=>{this.isReady=!0,this.subscribers.forEach(r=>r())}):this.isReady=!0}onReady(t){this.isReady?t():this.subscribers.push(t)}async get(t,e){var r;return await(this.cacheApi?this.fetchAndAddToPersistentCache(t,e):this.fetchAndAddToInternalCache(t,e)),((r=this.cacheStore.get(t))==null?void 0:r.content)??""}set(t,e){this.cacheStore.set(t,e)}isCached(t){var e;return((e=this.cacheStore.get(t))==null?void 0:e.status)===Rt.LOADED}async fetchAndAddToInternalCache(t,e){const r=this.cacheStore.get(t);if((r==null?void 0:r.status)===Rt.LOADING){await this.handleLoading(t,async()=>{this.cacheStore.set(t,{content:"",status:Rt.IDLE}),await this.fetchAndAddToInternalCache(t,e)});return}if(!(r!=null&&r.content)){this.cacheStore.set(t,{content:"",status:Rt.LOADING});try{const n=await NP(t,e);this.cacheStore.set(t,{content:n,status:Rt.LOADED})}catch(n){throw this.cacheStore.set(t,{content:"",status:Rt.FAILED}),n}}}async fetchAndAddToPersistentCache(t,e){var o,s,a;const r=this.cacheStore.get(t);if((r==null?void 0:r.status)===Rt.LOADED)return;if((r==null?void 0:r.status)===Rt.LOADING){await this.handleLoading(t,async()=>{this.cacheStore.set(t,{content:"",status:Rt.IDLE}),await this.fetchAndAddToPersistentCache(t,e)});return}this.cacheStore.set(t,{content:"",status:Rt.LOADING});const n=await((o=this.cacheApi)==null?void 0:o.match(t));if(n){const l=await n.text();this.cacheStore.set(t,{content:l,status:Rt.LOADED});return}try{await((s=this.cacheApi)==null?void 0:s.add(new Request(t,e)));const l=await((a=this.cacheApi)==null?void 0:a.match(t)),u=await(l==null?void 0:l.text())??"";this.cacheStore.set(t,{content:u,status:Rt.LOADED})}catch(l){throw this.cacheStore.set(t,{content:"",status:Rt.FAILED}),l}}async handleLoading(t,e){var n;let r=0;for(;((n=this.cacheStore.get(t))==null?void 0:n.status)===Rt.LOADING&&r=bD&&await e()}keys(){return[...this.cacheStore.keys()]}data(){return[...this.cacheStore.entries()].map(([t,e])=>({[t]:e}))}async delete(t){this.cacheApi&&await this.cacheApi.delete(t),this.cacheStore.delete(t)}async clear(){if(this.cacheApi){const t=await this.cacheApi.keys();for(const e of t)await this.cacheApi.delete(e)}this.cacheStore.clear()}};function wD(t){const e=N.useRef(void 0);return N.useEffect(()=>{e.current=t}),e.current}function LGe(t){const{baseURL:e,content:r,description:n,handleError:o,hash:s,preProcessor:a,title:l,uniquifyIDs:u=!1}=t;try{const p=BGe(r,a),h=DP(p,{nodeOnly:!0});if(!h||!(h instanceof SVGSVGElement))throw new Error("Could not convert the src to a DOM Node");const d=MP(h,{baseURL:e,hash:s,uniquifyIDs:u});if(n){const _=d.querySelector("desc");_!=null&&_.parentNode&&_.parentNode.removeChild(_);const g=document.createElementNS("http://www.w3.org/2000/svg","desc");g.innerHTML=n,d.prepend(g)}if(typeof l<"u"){const _=d.querySelector("title");if(_!=null&&_.parentNode&&_.parentNode.removeChild(_),l){const g=document.createElementNS("http://www.w3.org/2000/svg","title");g.innerHTML=l,d.prepend(g)}}return d}catch(p){return o(p)}}function BGe(t,e){return e?e(t):t}function MP(t,e){const{baseURL:r="",hash:n,uniquifyIDs:o}=e,s=["id","href","xlink:href","xlink:role","xlink:arcrole"],a=["href","xlink:href"],l=(u,p)=>a.includes(u)&&(p?!p.includes("#"):!1);return o&&[...t.children].forEach(u=>{var p;if((p=u.attributes)!=null&&p.length){const h=Object.values(u.attributes).map(d=>{const _=d,g=/url\((.*?)\)/.exec(d.value);return g!=null&&g[1]&&(_.value=d.value.replace(g[0],`url(${r}${g[1]}__${n})`)),_});s.forEach(d=>{const _=h.find(g=>g.name===d);_&&!l(d,_.value)&&(_.value=`${_.value}__${n}`)})}return u.children.length?MP(u,e):u}),t}var El;function WGe(t){const{cacheRequests:e=!0,children:r=null,description:n,fetchOptions:o,innerRef:s,loader:a=null,onError:l,onLoad:u,src:p,title:h,uniqueHash:d}=t,[_,g]=N.useReducer((U,B)=>({...U,...B}),{content:"",element:null,isCached:e&&El.isCached(t.src),status:Rt.IDLE}),{content:v,element:w,isCached:x,status:C}=_,M=wD(t),$=wD(_),E=N.useRef(d??RGe(8)),k=N.useRef(!1),T=N.useRef(!1),A=N.useCallback(U=>{k.current&&(g({status:U.message==="Browser does not support SVG"?Rt.UNSUPPORTED:Rt.FAILED}),l==null||l(U))},[l]),I=N.useCallback((U,B=!1)=>{k.current&&g({content:U,isCached:B,status:Rt.LOADED})},[]),j=N.useCallback(async()=>{const U=await NP(p,o);I(U)},[o,I,p]),O=N.useCallback(()=>{try{const U=LGe({...t,handleError:A,hash:E.current,content:v}),B=DP(U);if(!B||!N.isValidElement(B))throw new Error("Could not convert the src to a React element");g({element:B,status:Rt.READY})}catch(U){A(new Error(U.message))}},[v,A,t]),F=N.useCallback(async()=>{const U=/^data:image\/svg[^,]*?(;base64)?,(.*)/u.exec(p);let B;if(U?B=U[1]?window.atob(U[2]):decodeURIComponent(U[2]):p.includes("{k.current&&g({content:"",element:null,isCached:!1,status:Rt.LOADING})},[]);N.useEffect(()=>{if(k.current=!0,!ff()||T.current)return()=>{};try{if(C===Rt.IDLE){if(!PGe())throw new Error("Browser does not support SVG");if(!p)throw new Error("Missing src");H()}}catch(U){A(U)}return T.current=!0,()=>{k.current=!1}},[]),N.useEffect(()=>{if(ff()&&M)if(M.src!==p){if(!p){A(new Error("Missing src"));return}H()}else(M.title!==h||M.description!==n)&&O()},[n,O,A,H,M,p,h]),N.useEffect(()=>{$&&($.status!==Rt.LOADING&&C===Rt.LOADING&&F(),$.status!==Rt.LOADED&&C===Rt.LOADED&&O(),$.status!==Rt.READY&&C===Rt.READY&&(u==null||u(p,x)))},[F,O,x,u,$,p,C]);const q=IGe(t,"baseURL","cacheRequests","children","description","fetchOptions","innerRef","loader","onError","onLoad","preProcessor","src","title","uniqueHash","uniquifyIDs");return ff()?w?N.cloneElement(w,{ref:s,...q}):[Rt.UNSUPPORTED,Rt.FAILED].includes(C)?r:a:a}function T0(t){El||(El=new zGe);const{loader:e}=t,r=N.useRef(!1),[n,o]=N.useState(El.isReady);return N.useEffect(()=>{r.current||(El.onReady(()=>{o(!0)}),r.current=!0)},[]),n?m.createElement(WGe,{...t}):e}const UGe=window.location.hostname.endsWith("iobroker.in"),xD=window.location.pathname.substring(0,window.location.pathname.lastIndexOf("/")+1);function Ua(t){var e,r,n;if(t.src){if(typeof t.src=="string"){if(t.src.length<3)return t.sx?m.createElement(nt,{component:"span",sx:t.sx,title:t.title||void 0,style:{height:27,marginTop:-8,...t.styleUTF8||t.style},className:Se.clsx(t.className,"iconOwn")},t.src):m.createElement("span",{title:t.title||void 0,style:{height:27,marginTop:-8,...t.styleUTF8||t.style},className:Se.clsx(t.className,"iconOwn")},t.src);if(t.src.startsWith("data:image/svg"))return m.createElement(T0,{title:t.title||void 0,src:t.src,className:Se.clsx(t.className,"iconOwn"),width:((e=t.style)==null?void 0:e.width)||28,height:((r=t.style)==null?void 0:r.height)||((n=t.style)==null?void 0:n.width)||28,style:t.style||void 0});if(UGe&&!t.src.startsWith("http://")&&!t.src.startsWith("https://")){let o=t.src;return o.startsWith("./")?o=xD+o.substring(2):o.startsWith("/")||(o=xD+o),t.sx?m.createElement(nt,{component:"img",sx:t.sx,title:t.title||void 0,style:t.style||void 0,className:Se.clsx(t.className,"iconOwn"),src:`https://remote-files.iobroker.in${o}`,alt:t.alt||void 0,ref:t.ref,onError:s=>t.onError&&t.onError(s)}):m.createElement("img",{title:t.title||void 0,style:t.style||void 0,className:Se.clsx(t.className,"iconOwn"),src:`https://remote-files.iobroker.in${o}`,alt:t.alt||void 0,ref:t.ref,onError:s=>t.onError&&t.onError(s)})}return t.sx?m.createElement(nt,{component:"img",sx:t.sx,title:t.title||void 0,style:t.style||void 0,className:Se.clsx(t.className,"iconOwn"),src:t.src,alt:t.alt||void 0,ref:t.ref,onError:t.onError}):m.createElement("img",{title:t.title||void 0,style:t.style||void 0,className:Se.clsx(t.className,"iconOwn"),src:t.src,alt:t.alt||void 0,ref:t.ref,onError:t.onError})}return t.src}return null}const Ma={dialog:{height:"100%"},paper:{height:"calc(100% - 64px)"},content:{textAlign:"center"},textarea:{width:"100%",height:"100%"},img:{width:"auto",height:"calc(100% - 5px)",objectFit:"contain"},dialogTitle:{justifyContent:"space-between",display:"flex"}},Wr={images:["png","jpg","svg","jpeg","bmp","gif","apng","avif","webp","ico"],code:["js","json","json5","md"],txt:["log","txt","html","css","xml","ics"],audio:["mp3","wav","ogg","acc"],video:["mp4","mov","avi"]};function SD(t,e){let r="";const n=new Uint8Array((t==null?void 0:t.data)||t),o=n.byteLength;for(let s=0;s{this.state.changed||(this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.timeout=null,o===null?window.alert("Show file was deleted!"):this.state.text!==null||this.state.code!==null?this.readFile():this.setState({forceUpdate:Date.now()})},300))});const n=Se.getFileExtension(r.href);this.state={text:null,code:null,ext:n,editing:!1,editingValue:null,copyPossible:!!n&&(Wr.code.includes(n)||Wr.txt.includes(n)),forceUpdate:Date.now(),changed:!1,imgError:!1}}readFile(){if(this.props.href){const r=this.props.href.split("/");r.splice(0,2);const n=r[0],o=r.splice(1).join("/");this.props.socket.readFile(n,o).then(s=>{let a="";s.file!==void 0&&(a=s.file);const l={copyPossible:this.state.copyPossible,ext:this.state.ext};if(a.type==="Buffer")if(o.toLowerCase().endsWith(".json5")){l.ext="json5",l.copyPossible=!0;try{a=atob(SD(a,!0))}catch{console.error("Cannot convert base64 to string"),a=""}}else{const u=Se.detectMimeType(SD(a));u&&(l.ext=u,l.copyPossible=Wr.code.includes(u)||Wr.txt.includes(u))}l.copyPossible&&(l.ext&&Wr.txt.includes(l.ext)?(l.text=a,l.editingValue=a):l.ext&&Wr.code.includes(l.ext)&&(l.code=a,l.editingValue=a)),this.setState(l)}).catch(s=>window.alert(`Cannot read file: ${s}`))}}componentDidMount(){this.readFile();const r=this.props.href.split("/");r.splice(0,2);const n=r[0],o=r.splice(1).join("/");this.props.supportSubscribes&&this.props.socket.subscribeFiles(n,o,this.onFileChanged).catch(s=>window.alert(`Cannot subscribe on file: ${s}`))}componentWillUnmount(){this.timeout&&(clearTimeout(this.timeout),this.timeout=null);const r=this.props.href.split("/");r.splice(0,2);const n=r[0],o=r.splice(1).join("/");this.props.supportSubscribes&&this.props.socket.subscribeFiles(n,o,this.onFileChanged).catch(s=>window.alert(`Cannot subscribe on file: ${s}`))}getEditorOrViewer(){return m.createElement(ot,{variant:"standard",style:Ma.textarea,multiline:!0,value:this.state.editingValue||this.state.code||this.state.text,slotProps:{htmlInput:{readOnly:!this.state.editing}}})}getContent(){return this.state.ext&&Wr.images.includes(this.state.ext)?this.state.imgError?m.createElement(P1,{style:{...Ma.img,...this.props.getStyleBackgroundImage()}}):m.createElement(Ua,{onError:r=>{r.target.onerror=null,this.setState({imgError:!0})},style:{...Ma.img,...this.props.getStyleBackgroundImage()},src:`${this.props.href}?ts=${this.state.forceUpdate}`,alt:this.props.href}):this.state.ext&&Wr.audio.includes(this.state.ext)?m.createElement("div",{style:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},m.createElement("audio",{style:{width:"100%"},src:this.props.href,controls:!0})):this.state.ext&&Wr.video.includes(this.state.ext)?m.createElement("div",{style:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},m.createElement("video",{style:{width:"100%",height:"100%"},controls:!0},m.createElement("source",{src:this.props.href,type:`video/${this.state.ext}}`}))):this.state.code!==null||this.state.text!==null||this.state.editing?this.getEditorOrViewer():null}onSave(){}render(){return m.createElement(Mr,{sx:{"&.MuiDialog-scrollPaper":Ma.dialog,"& .MuiDialog-paper":Ma.paper},scroll:"paper",open:!!this.props.href,onClose:()=>this.props.onClose(),fullWidth:!0,maxWidth:"xl","aria-labelledby":"ar_dialog_file_view_title"},m.createElement("div",{style:Ma.dialogTitle},m.createElement(Ar,{id:"ar_dialog_file_view_title"},`${this.props.t(this.state.editing?"Edit":"View")}: ${this.props.href}`),this.state.ext&&Wr.images.includes(this.state.ext)&&m.createElement("div",null,m.createElement(dt,{size:"large",color:"inherit",onClick:this.props.setStateBackgroundImage},m.createElement(lA,null)))),m.createElement(Vr,{style:Ma.content},this.getContent()),m.createElement(qr,null,this.state.copyPossible?m.createElement(gt,{color:"grey",onClick:r=>{r.stopPropagation(),r.preventDefault(),Se.copyToClipboard(this.state.text||this.state.code||"")},startIcon:m.createElement(Zq,null)},this.props.t("Copy content")):null,this.state.editing?m.createElement(gt,{color:"grey",disabled:this.state.editingValue===this.state.code||this.state.editingValue===this.state.text,variant:"contained",onClick:()=>this.onSave(),startIcon:m.createElement(f0,null)},this.props.t("Save")):null,m.createElement(gt,{variant:"contained",onClick:()=>this.props.onClose(),color:"primary",startIcon:m.createElement(Hr,null)},this.props.t("Close"))))}}const qGe=Fh()(HGe),Ki=32,is=32,Zp=120,CD=64,ED="Not found",Qp={all:dA,images:iV,code:Ww,txt:oV,audio:Uq,video:yV},Te={root:{width:"100%",overflow:"hidden",height:"100%",position:"relative"},filesDiv:{width:"calc(100% - 8px)",overflowX:"hidden",overflowY:"auto",padding:8},filesDivHint:{position:"absolute",bottom:0,left:20,opacity:.7,fontStyle:"italic",fontSize:12},filesDivTable:{height:"calc(100% - 56px)"},filesDivTile:{height:`calc(100% - ${48*2+8}px)`,display:"flex",alignContent:"flex-start",alignItems:"stretch",flexWrap:"wrap",flex:`0 0 ${CD}px`},itemTile:t=>({position:"relative",userSelect:"none",cursor:"pointer",height:Zp,width:CD,display:"inline-block",textAlign:"center",opacity:.1,transition:"opacity 1s",margin:"4px",borderRadius:"4px","&:hover":{background:t.palette.secondary.light,color:Se.invertColor(t.palette.secondary.main,!0)}}),itemNameFolderTile:{fontWeight:"bold"},itemNameTile:{width:"100%",height:32,overflow:"hidden",textOverflow:"ellipsis",fontSize:12,textAlign:"center",wordBreak:"break-all"},itemFolderIconTile:t=>({width:"100%",height:Zp-32-16-8,display:"block",pl:1,color:t.palette.secondary.main||"#fbff7d"}),itemFolderIconBack:t=>({position:"absolute",top:22,left:18,zIndex:1,color:(t.palette.mode==="dark","#FFF")}),itemSizeTile:{width:"100%",height:16,textAlign:"center",fontSize:10},itemImageTile:{width:"calc(100% - 8px)",height:Zp-32-16-8,margin:4,display:"block",textAlign:"center",objectFit:"contain"},itemIconTile:{width:"100%",height:Zp-32-16-8,display:"block",objectFit:"contain"},itemSelected:t=>({background:t.palette.primary.main,color:Se.invertColor(t.palette.primary.main,!0)}),itemTable:t=>({userSelect:"none",cursor:"pointer",height:Ki,display:"inline-flex",lineHeight:`${Ki}px`,"&:hover":{background:t.palette.secondary.light,color:Se.invertColor(t.palette.secondary.main,!0)}}),itemNameTable:{display:"inline-block",pl:"10px",fontSize:"1rem",verticalAlign:"top",flexGrow:1,textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden","@media screen and (max-width: 500px)":{textAlign:"end",direction:"rtl"}},itemNameFolderTable:{fontWeight:"bold"},itemSizeTable:{display:"inline-block",width:60,verticalAlign:"top",textAlign:"right",whiteSpace:"nowrap"},itemAccessTable:{verticalAlign:"top",width:60,textAlign:"right",paddingRight:5,display:"flex",justifyContent:"center"},itemImageTable:{display:"inline-block",width:30,marginTop:1,objectFit:"contain",maxHeight:30},itemNoImageTable:{marginTop:6},itemIconTable:{display:"inline-block",marginTop:1,width:30,height:30},itemFolderTable:{},itemFolderTemp:{opacity:.4},itemFolderIconTable:t=>({marginTop:"1px",marginLeft:"8px",display:"inline-block",width:30,height:30,color:t.palette.secondary.main||"#fbff7d"}),itemDownloadButtonTable:t=>({display:"inline-block",width:is,height:Ki,minWidth:is,verticalAlign:"middle",textAlign:"center",padding:0,borderRadius:`${is/2}px`,"&:hover":{backgroundColor:t.palette.mode==="dark"?"rgba(255, 255, 255, 0.08)":"rgba(0, 0, 0, 0.08)"},"& span":{pt:"9px"},"& svg":{width:14,height:14,fontSize:"1rem",mt:"-3px",verticalAlign:"middle",color:t.palette.mode==="dark"?"#EEE":"#111"}}),itemDownloadEmptyTable:{display:"inline-block",width:is,height:Ki,minWidth:is,padding:0},itemAclButtonTable:{width:is,height:Ki,minWidth:is,verticalAlign:"top",padding:0,fontSize:12,display:"flex"},itemDeleteButtonTable:{display:"inline-block",width:is,height:Ki,minWidth:is,verticalAlign:"top",padding:0,"& svg":{width:18,height:18,fontSize:"1.5rem"}},uploadDiv:{top:0,zIndex:1,bottom:0,left:0,right:0,position:"absolute",opacity:.9,textAlign:"center",background:"#FFFFFF"},uploadDivDragging:{opacity:1},uploadCenterDiv:t=>({m:"20px",border:"3px dashed grey",borderRadius:"30px",width:"calc(100% - 40px)",height:"calc(100% - 40px)",position:"relative",color:t.palette.mode==="dark"?"#222":"#CCC",display:"flex",alignItems:"center",justifyContent:"center"}),uploadCenterIcon:{width:"25%",height:"25%"},uploadCenterText:{fontSize:24,fontWeight:"bold"},uploadCloseButton:{zIndex:2,position:"absolute",top:30,right:30},uploadCenterTextAndIcon:{position:"absolute",height:"30%",width:"100%",margin:"auto",opacity:.3},menuButtonExpertActive:{color:"#c00000"},menuButtonRestrictActive:{color:"#c05000"},pathDiv:t=>({display:"flex",width:"calc(100% - 16px)",ml:1,mr:1,textOverflow:"clip",overflow:"hidden",whiteSpace:"nowrap",backgroundColor:t.palette.secondary.main,color:t.palette.secondary.contrastText,borderRadius:"4px 4px 0 0"}),pathDivInput:{width:"100%"},pathDivBreadcrumbDir:t=>({pl:"2px",pr:"2px",cursor:"pointer",color:"white","&:hover":{backgroundColor:t.palette.primary.main,color:t.palette.primary.contrastText}}),pathDivBreadcrumbSelected:{color:"#FFF"},backgroundImageLight:{background:"white"},backgroundImageDark:{background:"black"},backgroundImageColored:{background:"silver"},specialFolder:t=>({color:t.palette.mode==="dark"?"#229b0f":"#5dd300"}),tooltip:{pointerEvents:"none"}},qs="0_userdata.0";function Zi(t){const e=(t||"").split("/");return e.length&&e.pop(),e.join("/")}function pb(t){const e=Se.getFileExtension(t);return!!(e!=null&&e.toLowerCase().match(/[a-z]+/)&&e.length<5)}const At="Table",fb="Tile";function kD(t,e){return t.folder&&e.folder?t.name>e.name?1:t.namee.name?1:t.name{const s=`${r}/${n}`,a=s.lastIndexOf("/"),l=s.substring(0,a);console.log(`File changed ${s}[${o}]`),this.state.folders[l]&&(this._tempTimeout[l]&&clearTimeout(this._tempTimeout[l]),this._tempTimeout[l]=setTimeout(()=>{delete this._tempTimeout[l],this.browseFolder(l,null,!1,!0).then(u=>this.setState({folders:u})).catch(u=>console.error(`Cannot read folder: ${u.message}`))},300))});Y(this,"setStateBackgroundImage",()=>{const r=["light","dark","colored","delete"];this.setState(({backgroundImage:n})=>n&&r.indexOf(n)!==-1&&r.length-1!==r.indexOf(n)?(this.localStorage.setItem("files.backgroundImage",r[r.indexOf(n)+1]),{backgroundImage:r[r.indexOf(n)+1]}):(this.localStorage.setItem("files.backgroundImage",r[0]),{backgroundImage:r[0]}))});Y(this,"getStyleBackgroundImage",()=>{switch(this.state.backgroundImage){case"light":return Te.backgroundImageLight;case"dark":return Te.backgroundImageDark;case"colored":return Te.backgroundImageColored;case"delete":return null;default:return null}});this.localStorage=window._localStorage||window.localStorage;const n=this.localStorage.getItem("files.expanded")||"[]";if(this.refFileDiv=m.createRef(),this.props.limitPath){const p=this.props.limitPath.split("/");this.limitToObjectID=p[0],this.limitToPath=p.length?p.length===1&&p[0]===""?null:p.join("/"):null,this.limitToPath&&this.limitToPath.endsWith("/")&&this.limitToPath.substring(0,this.limitToPath.length-1)}let o;try{o=JSON.parse(n),this.limitToPath&&(o=o.filter(p=>{var h;return p.startsWith(`${this.limitToPath}/`)||p===this.limitToPath||((h=this.limitToPath)==null?void 0:h.startsWith(`${p}/`))}))}catch{o=[]}let s;this.props.showViewTypeButton?s=this.localStorage.getItem("files.viewType")||At:s=At;let a=this.props.selected||this.localStorage.getItem("files.selected")||qs,l;if(r.restrictToFolder){a=r.restrictToFolder,l=r.restrictToFolder;const p=r.restrictToFolder.split("/");o=[];let h="";for(let d=0;d{if(this.state.viewType===At&&!this.findItem(this.state.selected)){const n=this.state.selected.split("/");for(;n.length&&!this.findItem(n.join("/"));)n.pop();let o;n.length?o=n.join("/"):o=qs,this.setState({selected:o,path:o,pathFocus:!1},()=>this.scrollToSelected())}else this.scrollToSelected();this.initialReadFinished=!0})}scrollToSelected(){if(this.mounted){const r=document.getElementById(this.state.selected);r==null||r.scrollIntoView()}}async componentDidMount(){this.mounted=!0,this.loadFolders().catch(r=>console.error(`Cannot load folders: ${r}`)),this.supportSubscribes=await this.props.socket.checkFeatureSupported("BINARY_STATE_EVENT"),this.supportSubscribes&&await this.props.socket.subscribeFiles("*","*",this.onFileChange)}componentWillUnmount(){this.supportSubscribes&&this.props.socket.unsubscribeFiles("*","*",this.onFileChange),this.mounted=!1,this.browseList=null,this.browseListRunning=!1,Object.values(this._tempTimeout).forEach(r=>r&&clearTimeout(r)),this._tempTimeout={}}browseFoldersCb(r,n,o){if(!(r!=null&&r.length))o(n);else{const s=r.shift();s?this.browseFolder(s,n).catch(a=>console.error(`Cannot read folder ${s}: ${a.message}`)).then(()=>{setTimeout(()=>this.browseFoldersCb(r,n,o),0)}):setTimeout(()=>this.browseFoldersCb(r,n,o),0)}}browseFolders(r,n){let o;return n?o=n:(o={},Object.keys(this.state.folders).forEach(s=>o[s]=this.state.folders[s])),r!=null&&r.length?new Promise(s=>{this.browseFoldersCb(r,o,s)}):Promise.resolve(o)}readDirSerial(r,n){return new Promise((o,s)=>{this.browseList&&(this.browseList.push({resolve:o,reject:s,adapter:r,relPath:n}),this.browseListRunning||this.processBrowseList())})}processBrowseList(r=0){!this.browseListRunning&&this.browseList&&this.browseList.length&&(this.browseListRunning=!0,this.browseList.length>10?this.browseList.length%10||this.setState({queueLength:this.browseList.length}):this.setState({queueLength:this.browseList.length}),this.browseList[0].processing=!0,this.props.socket.readDir(this.browseList[0].adapter,this.browseList[0].relPath).then(n=>{if(this.browseList){const o=this.browseList.shift();if(o){const s=o.resolve;o.resolve=null,o.reject=null,o.adapter=null,o.relPath=null,s&&s(n),this.browseListRunning=!1,this.browseList.length?r<5?this.processBrowseList(r+1):setTimeout(()=>this.processBrowseList(0),0):this.setState({queueLength:0})}else this.setState({queueLength:0})}}).catch(n=>{if(this.browseList){const o=this.browseList.shift();if(o){const s=o.reject;o.resolve=null,o.reject=null,o.adapter=null,o.relPath=null,s&&s(n),this.browseListRunning=!1,this.browseList.length?r<5?this.processBrowseList(r+1):setTimeout(()=>this.processBrowseList(0),0):this.setState({queueLength:0})}else this.setState({queueLength:0})}}))}async browseFolder(r,n,o,s){let a;if(n?a=n:(a={},Object.keys(this.state.folders).forEach(_=>{a[_]=this.state.folders[_]})),a[r]&&!s)return o?Promise.resolve(a):new Promise((_,g)=>{Promise.all(a[r].filter(v=>v.folder).map(v=>this.browseFolder(v.id,a,!0).catch(()=>{}))).then(()=>_(a)).catch(v=>g(new Error(v)))});if(!r||r==="/"){try{let _=await this.props.socket.readMetaItems();const g=[];let v=null;if(this.state.restrictToFolder){const x=this.state.restrictToFolder.split("/")[0];_=_.filter(C=>C._id===x)}else this.state.expertMode||(_=_.filter(x=>!x._id.endsWith(".admin")));const w=_.findIndex(x=>x._id==="system.meta.uuid");if(w!==-1&&_.splice(w,1),_.forEach(x=>{if(this.limitToObjectID&&this.limitToObjectID!==x._id)return;const C={id:x._id,name:x._id,title:x.common&&x.common.name||x._id,meta:!0,from:x.from,ts:x.ts,color:x.common&&x.common.color,icon:x.common&&x.common.icon,folder:!0,acl:x.acl,level:0};C.id===qs?v=C:g.push(C)}),g.sort((x,C)=>x.id>C.id?1:x.idx.folder).map(x=>this.browseFolder(x.id,a,!0).catch(()=>{}))).then(()=>a)}catch(_){const g=_;this.initialReadFinished&&window.alert(`Cannot read meta items: ${g.message}`),a[r||"/"]=[]}return a}const l=r.split("/"),u=l.length,p=l.shift(),h=l.join("/");let d;try{d=await this.readDirSerial(p||"",h)}catch(_){if(_==="Not exists"&&p==="0_userdata.0")d=[];else throw _}try{const _=[];if(d.forEach(g=>{var w;const v={id:`${r}/${g.file}`,ext:Se.getFileExtension(g.file),folder:g.isDir,name:g.file,size:(w=g.stats)==null?void 0:w.size,modified:g.modifiedAt,acl:g.acl,level:u};this.state.restrictToFolder?(v.folder&&(v.id.startsWith(`${this.state.restrictToFolder}/`)||v.id===this.state.restrictToFolder||this.state.restrictToFolder.startsWith(`${v.id}/`))||v.id.startsWith(`${this.state.restrictToFolder}/`))&&_.push(v):this.limitToPath?(v.folder&&(v.id.startsWith(`${this.limitToPath}/`)||v.id===this.limitToPath||this.limitToPath.startsWith(`${v.id}/`))||v.id.startsWith(`${this.limitToPath}/`))&&_.push(v):_.push(v)}),_.sort(kD),a[r]=_,!o)return Promise.all(_.filter(g=>g.folder).map(g=>this.browseFolder(g.id,a,!0))).then(()=>a)}catch(_){const g=_;this.initialReadFinished&&window.alert(`Cannot read ${p}${h?`/${h}`:""}: ${g==null?void 0:g.message}`),a[r]=[]}return a}toggleFolder(r,n){n==null||n.stopPropagation();const o=[...this.state.expanded],s=o.indexOf(r.id);s===-1?(o.push(r.id),o.sort(),this.localStorage.setItem("files.expanded",JSON.stringify(o)),r.temp?this.setState({expanded:o}):this.browseFolder(r.id).then(a=>this.setState({expanded:o,folders:a})).catch(a=>window.alert(a===ED?this.props.t('ra_Cannot find "%s"',r.id):this.props.t('ra_Cannot read "%s"',r.id)))):(o.splice(s,1),this.localStorage.setItem("files.expanded",JSON.stringify(o)),this.setState({expanded:o}))}changeFolder(r,n){var s;r==null||r.stopPropagation(),this.lastSelect=Date.now();let o=n||Zi(this.state.currentDir);if(o==="/"&&(o=""),this.state.viewType==="Tile"&&((s=this.refFileDiv.current)!=null&&s.scrollTop)&&(this.scrollPositions[this.state.currentDir]=this.refFileDiv.current.scrollTop),this.localStorage.setItem("files.currentDir",o),n&&r&&(r.altKey||r.shiftKey||r.ctrlKey||r.metaKey)){this.setState({selected:o});return}if(o&&!this.state.folders[o]){this.browseFolder(o).then(a=>this.setState({folders:a,path:o,currentDir:o,selected:o,pathFocus:!1},()=>this.props.onSelect&&this.props.onSelect(""))).catch(a=>console.error(`Cannot read folder: ${a.message}`));return}this.setState({currentDir:o,selected:o,path:o,pathFocus:!1},()=>{if(this.props.onSelect&&this.props.onSelect(""),this.state.viewType==="Tile"&&this.scrollPositions[this.state.currentDir]){const a=this.scrollPositions[this.state.currentDir];delete this.scrollPositions[this.state.currentDir],this.refFileDiv.current&&(this.refFileDiv.current.scrollTop=a)}})}select(r,n,o){n&&n.stopPropagation(),this.lastSelect=Date.now(),this.localStorage.setItem("files.selected",r),this.setState({selected:r,path:r,pathFocus:!1},()=>{if(this.props.onSelect){const s=Se.getFileExtension(r);(!this.props.filterFiles||s&&this.props.filterFiles.includes(s))&&(!this.state.filterByType||s&&Wr[this.state.filterByType].includes(s))?this.props.onSelect(r,!1,!!this.state.folders[r]):this.props.onSelect("")}o&&o()})}getText(r){if(r)return typeof r=="object"?r[this.props.lang]||r.en||void 0:r}renderFolder(r,n){var p;if(this.state.filterEmpty&&!((p=this.state.folders[r.id])!=null&&p.length)&&r.id!==qs&&!r.temp)return null;const o=n?pf:Ml,s=this.state.viewType===At?r.level*this.levelPadding:0,a=r.name===qs,l=a||r.name==="vis.0"||r.name==="vis-2.0",u=Se.getStyle(this.props.theme,Te[`itemFolderIcon${this.state.viewType}`],l&&Te.specialFolder);return m.createElement(nt,{component:"div",key:r.id,id:r.id,style:this.state.viewType===At?{marginLeft:s,width:`calc(100% - ${s}px`}:void 0,onClick:h=>this.state.viewType===At?this.select(r.id,h):this.changeFolder(h,r.id),onDoubleClick:h=>this.state.viewType===At&&this.toggleFolder(r,h),title:this.getText(r.title),className:"browserItem",sx:Se.getStyle(this.props.theme,Te[`item${this.state.viewType}`],Te[`itemFolder${this.state.viewType}`],this.state.selected===r.id?Te.itemSelected:{},r.temp?Te.itemFolderTemp:{})},m.createElement(o,{style:u,onClick:this.state.viewType===At?h=>this.toggleFolder(r,h):void 0}),m.createElement(nt,{component:"div",sx:Se.getStyle(this.props.theme,Te[`itemName${this.state.viewType}`],Te[`itemNameFolder${this.state.viewType}`])},a?this.props.t("ra_User files"):r.name),m.createElement(nt,{component:"div",style:Te[`itemSize${this.state.viewType}`],sx:{display:{md:"inline-block",sm:"none"}}},this.state.viewType===At&&this.state.folders[r.id]?this.state.folders[r.id].length:""),m.createElement(nt,{component:"div",sx:{display:{md:"inline-block",sm:"none"}}},this.state.viewType===At&&this.props.expertMode?this.formatAcl(r.acl):null),this.state.viewType===At&&this.props.expertMode?m.createElement(nt,{component:"div",sx:{...Te.itemDeleteButtonTable,display:{md:"inline-block",sm:"none"}}}):null,this.state.viewType===At&&this.props.allowDownload?m.createElement("div",{style:Te[`itemDownloadEmpty${this.state.viewType}`]}):null,this.state.viewType===At&&this.props.allowDelete&&this.state.folders[r.id]&&this.state.folders[r.id].length?m.createElement(dt,{"aria-label":"delete",onClick:h=>{h.stopPropagation(),this.suppressDeleteConfirm>Date.now()?this.deleteItem(r.id):this.setState({deleteItem:r.id})},sx:Te[`itemDeleteButton${this.state.viewType}`],size:"large"},m.createElement(sa,{fontSize:"small"})):this.state.viewType===At&&this.props.allowDelete?m.createElement(nt,{component:"div",sx:Te[`itemDeleteButton${this.state.viewType}`]}):null)}renderBackFolder(){return m.createElement(nt,{component:"div",key:this.state.currentDir,id:this.state.currentDir,onClick:r=>this.changeFolder(r),title:this.props.t("ra_Back to %s",Zi(this.state.currentDir)),className:"browserItem",sx:Se.getStyle(this.props.theme,Te[`item${this.state.viewType}`],Te[`itemFolder${this.state.viewType}`])},m.createElement(Ml,{style:Se.getStyle(this.props.theme,Te[`itemFolderIcon${this.state.viewType}`])}),m.createElement(zq,{sx:Te.itemFolderIconBack}),m.createElement(nt,{component:"div",sx:Se.getStyle(this.props.theme,Te[`itemName${this.state.viewType}`],Te[`itemNameFolder${this.state.viewType}`])},".."))}formatSize(r){return m.createElement("div",{style:Te[`itemSize${this.state.viewType}`]},r||r===0?Se.formatBytes(r):"")}formatAcl(r){const n=r?r.permissions||r.file:0;let o;return n?o=n.toString(16).padStart(3,"0"):o="",m.createElement("div",{style:Te[`itemAccess${this.state.viewType}`]},this.props.modalEditOfAccessControl?m.createElement(dt,{size:"large",onClick:()=>this.setState({modalEditOfAccess:!0}),sx:Te[`itemAclButton${this.state.viewType}`]},o||"---"):o||"---")}getFileIcon(r){switch(r){case"json":case"json5":return m.createElement(qq,{style:Te[`itemIcon${this.state.viewType}`]});case"css":return m.createElement(Vq,{style:Te[`itemIcon${this.state.viewType}`]});case"js":case"ts":return m.createElement(Ww,{style:Te[`itemIcon${this.state.viewType}`]});case"html":case"md":return m.createElement(Uw,{style:Te[`itemIcon${this.state.viewType}`]});case"mp3":case"ogg":case"wav":case"m4a":case"mp4":case"flac":return m.createElement(pV,{style:Te[`itemIcon${this.state.viewType}`]});default:return m.createElement(dA,{style:Te[`itemIcon${this.state.viewType}`]})}}static getEditFile(r){switch(r){case"json":case"json5":case"js":case"html":case"txt":case"css":case"log":return!0;default:return!1}}renderFile(r){const n=this.state.viewType===At?r.level*this.levelPadding:0,o=Se.getFileExtension(r.name);return m.createElement(nt,{component:"div",key:r.id,id:r.id,onDoubleClick:s=>{s.stopPropagation(),this.props.onSelect?(!this.props.filterFiles||r.ext&&this.props.filterFiles.includes(r.ext))&&(!this.state.filterByType||r.ext&&Wr[this.state.filterByType].includes(r.ext))&&this.props.onSelect(r.id,!0,!!this.state.folders[r.id]):this.setState({viewer:this.imagePrefix+r.id,formatEditFile:o})},onClick:s=>this.select(r.id,s),style:this.state.viewType===At?{marginLeft:n,width:`calc(100% - ${n}px)`}:void 0,className:"browserItem",sx:Se.getStyle(this.props.theme,Te[`item${this.state.viewType}`],Te[`itemFile${this.state.viewType}`],this.state.selected===r.id?Te.itemSelected:void 0)},o&&Wr.images.includes(o)?this.state.fileErrors.includes(r.id)?m.createElement(P1,{style:{...Te[`itemImage${this.state.viewType}`],...this.getStyleBackgroundImage(),...Te[`itemNoImage${this.state.viewType}`]}}):m.createElement(Ua,{onError:s=>{s.target.onerror=null;const a=[...this.state.fileErrors];a.includes(r.id)||(a.push(r.id),this.setState({fileErrors:a}))},style:{...Te[`itemImage${this.state.viewType}`],...this.getStyleBackgroundImage()},src:this.imagePrefix+r.id,alt:r.name}):this.getFileIcon(o),m.createElement(nt,{component:"div",sx:Te[`itemName${this.state.viewType}`]},r.name),m.createElement(nt,{component:"div",sx:{display:{md:"inline-block",sm:"none"}}},this.formatSize(r.size)),m.createElement(nt,{component:"div",sx:{display:{md:"inline-block",sm:"none"}}},this.state.viewType===At&&this.props.expertMode?this.formatAcl(r.acl):null),m.createElement(nt,{component:"div",sx:{display:{md:"inline-block",sm:"none"}}},this.state.viewType===At&&this.props.expertMode&&I1.getEditFile(o)?m.createElement(dt,{"aria-label":"edit",onClick:s=>{s.stopPropagation(),this.props.onSelect?(!this.props.filterFiles||r.ext&&this.props.filterFiles.includes(r.ext))&&(!this.state.filterByType||r.ext&&Wr[this.state.filterByType].includes(r.ext))&&this.props.onSelect(r.id,!0,!!this.state.folders[r.id]):this.setState({viewer:this.imagePrefix+r.id,formatEditFile:o})},sx:Te.itemDeleteButtonTable,size:"large"},m.createElement(ku,{fontSize:"small"})):m.createElement(nt,{component:"div",sx:Te[`itemDeleteButton${this.state.viewType}`]})),this.state.viewType===At&&this.props.allowDownload?m.createElement(nt,{component:"a",className:"MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeLarge",sx:Te.itemDownloadButtonTable,tabIndex:0,download:r.id,href:this.imagePrefix+r.id,onClick:s=>s.stopPropagation()},m.createElement(fV,null)):null,this.state.viewType===At&&this.props.allowDelete&&r.id!=="vis.0/"&&r.id!=="vis-2.0/"&&r.id!==qs?m.createElement(dt,{"aria-label":"delete",onClick:s=>{s.stopPropagation(),this.suppressDeleteConfirm>Date.now()?this.deleteItem(r.id):this.setState({deleteItem:r.id})},sx:Te[`itemDeleteButton${this.state.viewType}`],size:"large"},m.createElement(sa,{fontSize:"small"})):this.state.viewType===At&&this.props.allowDelete?m.createElement(nt,{component:"div",sx:Te[`itemDeleteButton${this.state.viewType}`]}):null)}renderItems(r){var n;if((n=this.state.folders)!=null&&n[r]){if(this.state.viewType===fb){const s=[];return r&&r!=="/"&&s.push(this.renderBackFolder()),this.state.folders[r].forEach(a=>{a.folder?s.push(this.renderFolder(a)):(!this.props.filterFiles||a.ext&&this.props.filterFiles.includes(a.ext))&&(!this.state.filterByType||a.ext&&Wr[this.state.filterByType].includes(a.ext))&&s.push(this.renderFile(a))}),s}const o=[];return this.state.folders[r].forEach(s=>{if(s.folder){const a=this.state.expanded.includes(s.id),l=this.renderFolder(s,a);if(Array.isArray(l)?l.forEach(u=>o.push(u)):o.push(l),this.state.folders[s.id]&&a){const u=this.renderItems(s.id);Array.isArray(u)?u.forEach(p=>o.push(p)):o.push(u)}}else(!this.props.filterFiles||s.ext&&this.props.filterFiles.includes(s.ext))&&(!this.state.filterByType||s.ext&&Wr[this.state.filterByType].includes(s.ext))&&o.push(this.renderFile(s))}),o}return m.createElement("div",{style:{position:"relative"}},m.createElement(rd,{key:r,color:"secondary",size:24}),m.createElement("div",{style:{position:"absolute",zIndex:2,top:4,width:24,textAlign:"center"}},this.state.queueLength))}renderToolbar(){const r=this.props.showTypeSelector?Qp[this.state.filterByType||"all"]||Qp.all:null,n=this.findFirstFolder(this.state.selected);return m.createElement(OM,{key:"toolbar",variant:"dense"},this.props.allowNonRestricted&&this.props.restrictToFolder?m.createElement(dt,{edge:"start",title:this.state.restrictToFolder?this.props.t("ra_Show all folders"):this.props.t("ra_Restrict to folder"),style:{...Te.menuButton,...this.state.restrictToFolder?Te.menuButtonRestrictActive:void 0},"aria-label":"restricted to folder",onClick:()=>this.setState({restrictToFolder:(this.state.restrictToFolder?"":this.props.restrictToFolder)||"",loadAllFolders:!0}),size:"small"},m.createElement(nV,{fontSize:"small"})):null,this.props.showExpertButton?m.createElement(dt,{edge:"start",title:this.props.t("ra_Toggle expert mode"),style:{...Te.menuButton,...this.state.expertMode?Te.menuButtonExpertActive:void 0},"aria-label":"expert mode",onClick:()=>this.setState({expertMode:!this.state.expertMode}),size:"small"},m.createElement($0,null)):null,this.props.showViewTypeButton?m.createElement(dt,{edge:"start",title:this.props.t("ra_Toggle view mode"),style:Te.menuButton,"aria-label":"view mode",onClick:()=>{const o=this.state.viewType===At?fb:At;this.localStorage.setItem("files.viewType",o);let s=this.state.selected;pb(s)&&(s=Zi(s)),this.setState({viewType:o,currentDir:s},()=>{this.state.viewType===At&&this.scrollToSelected()})},size:"small"},this.state.viewType!==At?m.createElement(cV,{fontSize:"small"}):m.createElement(bV,{fontSize:"small"})):null,m.createElement(dt,{edge:"start",title:this.props.t("ra_Hide empty folders"),style:Te.menuButton,color:this.state.filterEmpty?"secondary":"inherit","aria-label":"filter empty",onClick:()=>{this.localStorage.setItem("file.empty",this.state.filterEmpty?"false":"true"),this.setState({filterEmpty:!this.state.filterEmpty})},size:"small"},m.createElement(rV,{fontSize:"small"})),m.createElement(dt,{edge:"start",title:this.props.t("ra_Reload files"),style:Te.menuButton,color:"inherit","aria-label":"reload files",onClick:()=>this.setState({folders:{}},()=>this.loadFolders()),size:"small"},m.createElement(hA,{fontSize:"small"})),this.props.allowCreateFolder?m.createElement(dt,{edge:"start",disabled:!this.state.selected||!n||!!this.limitToPath&&!this.state.selected.startsWith(`${this.limitToPath}/`)&&this.limitToPath!==this.state.selected,title:this.props.t("ra_Create folder"),style:Te.menuButton,color:"inherit","aria-label":"add folder",onClick:()=>this.setState({addFolder:!0}),size:"small"},m.createElement(cA,{fontSize:"small"})):null,this.props.allowUpload?m.createElement(dt,{edge:"start",disabled:!this.state.selected||!n||!!this.limitToPath&&!this.state.selected.startsWith(`${this.limitToPath}/`)&&this.limitToPath!==this.state.selected,title:this.props.t("ra_Upload file"),style:Te.menuButton,color:"inherit","aria-label":"upload file",onClick:()=>this.setState({uploadFile:!0}),size:"small"},m.createElement(Af,{fontSize:"small"})):null,this.props.showTypeSelector&&r?m.createElement(wr,{title:this.props.t("ra_Filter files"),slotProps:{popper:{sx:Te.tooltip}}},m.createElement(dt,{size:"small",onClick:o=>this.setState({showTypesMenu:o.target})},m.createElement(r,{fontSize:"small"}))):null,this.state.showTypesMenu?m.createElement(Eu,{open:!0,anchorEl:this.state.showTypesMenu,onClose:()=>this.setState({showTypesMenu:null})},Object.keys(Qp).map(o=>{const s=Qp[o];return m.createElement(xt,{key:o,selected:this.state.filterByType===o,onClick:()=>{o==="all"?(this.localStorage.removeItem("files.filterByType"),this.setState({filterByType:"",showTypesMenu:null})):(this.localStorage.setItem("files.filterByType",o),this.setState({filterByType:o,showTypesMenu:null}))}},m.createElement(sl,null,m.createElement(s,{fontSize:"small"})),m.createElement(Xs,null,this.props.t(`ra_fileType_${o}`)))})):null,m.createElement(wr,{title:this.props.t("ra_Background image"),slotProps:{popper:{sx:Te.tooltip}}},m.createElement(dt,{color:"inherit",edge:"start",style:Te.menuButton,onClick:this.setStateBackgroundImage,size:"small"},m.createElement(lA,{fontSize:"small"}))),this.state.viewType!==At&&this.props.allowDelete?m.createElement(wr,{title:this.props.t("ra_Delete"),slotProps:{popper:{sx:Te.tooltip}}},m.createElement("span",null,m.createElement(dt,{"aria-label":"delete",disabled:!this.state.selected||this.state.selected==="vis.0/"||this.state.selected==="vis-2.0/"||this.state.selected===qs,color:"inherit",edge:"start",style:Te.menuButton,onClick:o=>{o.stopPropagation(),this.suppressDeleteConfirm>Date.now()?this.deleteItem(this.state.selected):this.setState({deleteItem:this.state.selected})},size:"small"},m.createElement(sa,{fontSize:"small"})))):null)}findItem(r,n){if(n=n||this.state.folders,!n)return null;const o=r.split("/");o.pop();const s=o.join("/")||"/";return n[s]&&n[s].find(a=>a.id===r)||null}renderInputDialog(){if(this.state.addFolder){const r=this.findFirstFolder(this.state.selected);return r?m.createElement(SGe,{key:"inputDialog",applyText:this.props.t("ra_Create"),cancelText:this.props.t("ra_Cancel"),titleText:this.props.t("ra_Create new folder in %s",this.state.selected),promptText:this.props.t("ra_If no file will be created in the folder, it will disappear after the browser closed"),labelText:this.props.t("ra_Folder name"),verify:n=>this.state.folders[r].find(o=>o.name===n)?"":this.props.t("ra_Duplicate name"),onClose:n=>{if(n){const o={};Object.keys(this.state.folders).forEach(u=>o[u]=this.state.folders[u]);const s=this.findItem(r),a=`${r}/${n}`;o[r].push({id:a,level:((s==null?void 0:s.level)||0)+1,name:n,folder:!0,temp:!0}),o[r].sort(kD),o[a]=[];const l=[...this.state.expanded];l.includes(r)||(l.push(r),l.sort()),this.localStorage.setItem("files.expanded",JSON.stringify(l)),this.setState({addFolder:!1,folders:o,expanded:l},()=>this.select(a))}else this.setState({addFolder:!1})},replace:n=>n.replace(/[^-_\w]/,"_")}):(window.alert(this.props.t("ra_Invalid parent folder!")),null)}return null}componentDidUpdate(){this.setOpacityTimer&&clearTimeout(this.setOpacityTimer),this.setOpacityTimer=setTimeout(()=>{this.setOpacityTimer=null;const r=window.document.getElementsByClassName("browserItem");for(let n=0;nthis.setState({uploadFile:!1})},m.createElement(Hr,null)),m.createElement(jh,{key:"dropzone",onDragEnter:()=>this.setState({uploadFile:"dragging"}),onDragLeave:()=>this.setState({uploadFile:!0}),onDrop:r=>{let n=r.length;r.forEach(o=>{const s=new FileReader;s.onabort=()=>console.log("file reading was aborted"),s.onerror=()=>console.log("file reading has failed"),s.onload=()=>{const a=this.findFirstFolder(this.state.selected);if(!a)window.alert(this.props.t("ra_Invalid parent folder!"));else{const l=`${a}/${o.name}`;this.uploadFile(l,s.result).then(()=>{--n||this.setState({uploadFile:!1},()=>{if(this.supportSubscribes){const u=[...this.state.expanded];u.includes(a)||(u.push(a),u.sort(),this.localStorage.setItem("files.expanded",JSON.stringify(u))),this.setState({expanded:u},()=>this.select(l))}else setTimeout(()=>this.browseFolder(a,null,!1,!0).then(u=>{const p=[...this.state.expanded];p.includes(a)||(p.push(a),p.sort(),this.localStorage.setItem("files.expanded",JSON.stringify(p))),this.setState({folders:u,expanded:p},()=>this.select(l))}),500)})})}},s.readAsArrayBuffer(o)})}},({getRootProps:r,getInputProps:n})=>m.createElement("div",{style:{...Te.uploadDiv,...this.state.uploadFile==="dragging"?Te.uploadDivDragging:void 0},...r()},m.createElement("input",{...n()}),m.createElement(nt,{component:"div",sx:Te.uploadCenterDiv},m.createElement("div",{style:Te.uploadCenterTextAndIcon},m.createElement(Af,{style:Te.uploadCenterIcon}),m.createElement("div",{style:Te.uploadCenterText},this.state.uploadFile==="dragging"?this.props.t("ra_Drop file here"):this.props.t("ra_Place your files here or click here to open the browse dialog"))))))]:null}deleteRecursive(r){const n=this.findItem(r);if(n!=null&&n.folder)return(this.state.folders[r]?Promise.all(this.state.folders[r].map(a=>this.deleteRecursive(a.id))):Promise.resolve()).then(()=>{if(n.level>=1){const a=r.split("/"),l=a.shift();this.props.socket.deleteFolder(l||"",a.join("/")).then(()=>{const u=JSON.parse(JSON.stringify(this.state.folders));delete u[n.id];const p=Zi(n.id),h=u[p];if(h){const d=h.findIndex(_=>_.id===n.id);d!==-1&&h.splice(d,1),this.select(p,null,()=>this.setState({folders:u}))}})}});const o=r.split("/"),s=o.shift();return o.length?this.props.socket.deleteFile(s||"",o.join("/")).catch(a=>window.alert(`Cannot delete file: ${a}`)):Promise.resolve()}deleteItem(r){r=r||this.state.deleteItem,this.state.suppressDeleteConfirm&&(this.suppressDeleteConfirm=Date.now()+6e4*5),this.setState({deleteItem:"",suppressDeleteConfirm:!1},()=>this.deleteRecursive(r).then(()=>{const n={},o=this.state.expanded.indexOf(r);if(o!==-1){const s=[...this.state.expanded];s.splice(o,1),this.localStorage.setItem("files.expanded",JSON.stringify(s)),n.expanded=s}if(this.state.selected===r){const s=this.state.selected.split("/");s.pop(),n.selected=s.join("/")}if(this.supportSubscribes)this.setState(n);else{const s=this.findFirstFolder(r),a={};Object.keys(this.state.folders).forEach(l=>{l!==s&&!l.startsWith(`${s}/`)&&(a[l]=this.state.folders[l])}),n.folders=a,this.setState(n,()=>setTimeout(()=>{this.browseFolders([...this.state.expanded],a).then(l=>this.setState({folders:l})).catch(l=>console.error(l))},200))}}))}renderDeleteDialog(){return this.state.deleteItem?m.createElement(Mr,{key:"deleteDialog",open:!0,onClose:()=>this.setState({deleteItem:""}),"aria-labelledby":"ar_dialog_file_delete_title"},m.createElement(Ar,{id:"ar_dialog_file_delete_title"},this.props.t("ra_Confirm deletion of %s",this.state.deleteItem.split("/").pop())),m.createElement(Vr,null,m.createElement(oa,null,this.props.t("ra_Are you sure?")),m.createElement(at,{control:m.createElement(Ut,{checked:this.state.suppressDeleteConfirm,onChange:()=>{this.setState({suppressDeleteConfirm:!this.state.suppressDeleteConfirm})}}),label:this.props.t("ra_no confirm for 5 mins")})),m.createElement(qr,null,m.createElement(gt,{variant:"contained",onClick:()=>this.deleteItem(""),color:"primary",autoFocus:!0},this.props.t("ra_Delete")),m.createElement(gt,{variant:"contained",onClick:()=>this.setState({deleteItem:""}),color:"grey"},this.props.t("ra_Cancel")))):null}renderViewDialog(){const r=this.props.FileViewer||qGe;return this.state.viewer?m.createElement(r,{supportSubscribes:this.supportSubscribes,key:this.state.viewer,href:this.state.viewer,formatEditFile:this.state.formatEditFile,themeType:this.props.themeType,setStateBackgroundImage:this.setStateBackgroundImage,getStyleBackgroundImage:this.getStyleBackgroundImage,t:this.props.t,socket:this.props.socket,onClose:()=>this.setState({viewer:"",formatEditFile:""})}):null}renderError(){return this.state.errorText?m.createElement(Hw,{key:"errorDialog",text:this.state.errorText,onClose:()=>this.setState({errorText:""})}):null}updateItemsAcl(r){this.cacheFolders=this.cacheFolders||JSON.parse(JSON.stringify(this.state.folders));let n;r.forEach(o=>{const s=this.findItem(o.id,this.cacheFolders);s&&JSON.stringify(s.acl)!==JSON.stringify(o.acl)&&(s.acl=o.acl,n=!0)}),n&&(this.cacheFoldersTimeout&&clearTimeout(this.cacheFoldersTimeout),this.cacheFoldersTimeout=setTimeout(()=>{this.cacheFoldersTimeout=null;const o=this.cacheFolders||{};this.cacheFolders=null,this.setState({folders:o})},200))}changeToPath(){setTimeout(()=>{if(this.state.path!==this.state.selected&&(!this.lastSelect||Date.now()-this.lastSelect>100)){let r=this.state.path;pb(this.state.path)&&(r=Zi(this.state.path)),new Promise(n=>{this.state.folders[r]?n(!0):this.browseFolder(r).then(o=>this.setState({folders:o},()=>n(!0))).catch(o=>this.setState({errorText:o===ED?this.props.t('ra_Cannot find "%s"',r):this.props.t('ra_Cannot read "%s"',r)}))}).then(n=>n&&this.setState({selected:this.state.path,currentDir:r,pathFocus:!1})).catch(n=>console.error(n))}else(!this.lastSelect||Date.now()-this.lastSelect>100)&&this.setState({pathFocus:!1})},100)}renderBreadcrumb(){const r=this.state.currentDir.startsWith("/")?this.state.currentDir.split("/"):`/${this.state.currentDir}`.split("/"),n=[];return m.createElement(pL,{style:{paddingLeft:8,color:"#FFF"}},r.map((o,s)=>{o&&n.push(o);const a=n.join("/");return sthis.changeFolder(l,a||"/")},o||this.props.t("ra_Root")):m.createElement("div",{style:Te.pathDivBreadcrumbSelected,key:`${this.state.selected}_${s}`,onClick:()=>this.setState({pathFocus:!0})},o)}))}renderPath(){return m.createElement(nt,{component:"div",key:"path",sx:Te.pathDiv},this.state.pathFocus?m.createElement(po,{value:this.state.path,onKeyDown:r=>{r.key==="Enter"?this.changeToPath():r.key==="Escape"&&this.setState({pathFocus:!1})},endAdornment:m.createElement(dt,{size:"small",onClick:()=>this.changeToPath()},m.createElement(lV,null)),onBlur:()=>this.changeToPath(),onChange:r=>this.setState({path:r.target.value}),style:Te.pathDivInput}):this.renderBreadcrumb())}render(){return this.props.ready?(this.state.loadAllFolders&&!this.foldersLoading&&(this.foldersLoading=!0,setTimeout(()=>{this.setState({loadAllFolders:!1,folders:{}},()=>{this.foldersLoading=!1,this.loadFolders().catch(r=>console.error(`Cannot load folders: ${r}`))})},300)),m.createElement("div",{style:{...Te.root,...this.props.style},className:this.props.className},this.props.showToolbar?this.renderToolbar():null,this.state.viewType===fb?this.renderPath():null,m.createElement("div",{style:{...Te.filesDiv,...Te[`filesDiv${this.state.viewType}`]},onClick:r=>{this.state.viewType!==At&&(this.state.selected!==(this.state.currentDir||"/")?this.changeFolder(r,this.state.currentDir||"/"):r.stopPropagation())},id:"dev",ref:this.refFileDiv},this.state.viewType===At?this.renderItems("/"):this.renderItems(this.state.currentDir||"/"),this.state.viewType!==At?m.createElement("div",{style:Te.filesDivHint},this.props.t("ra_select_folder_hint")):null),this.props.allowUpload?this.renderInputDialog():null,this.props.allowUpload?this.renderUpload():null,this.props.allowDelete?this.renderDeleteDialog():null,this.props.allowView?this.renderViewDialog():null,this.state.modalEditOfAccess&&this.props.modalEditOfAccessControl?this.props.modalEditOfAccessControl(this):null,this.renderError())):m.createElement(l9,null)}}const VGe=Fh()(I1),GGe=t=>m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",onClick:e=>t.onClick&&t.onClick(e),viewBox:"0 0 512 512",width:t.width||(t.fontSize==="small"?16:20),height:t.height||t.width||(t.fontSize==="small"?16:20),className:t.className,style:t.style},m.createElement("path",{fill:"currentColor",d:"M448 0L320 96v62.06l-83.03 83.03c6.79 4.25 13.27 9.06 19.07 14.87 5.8 5.8 10.62 12.28 14.87 19.07L353.94 192H416l96-128-64-64zM128 278.59L10.92 395.67c-14.55 14.55-14.55 38.15 0 52.71l52.7 52.7c14.56 14.56 38.15 14.56 52.71 0L233.41 384c29.11-29.11 29.11-76.3 0-105.41s-76.3-29.11-105.41 0z"}));function XGe(t){const e=document.createElement("div");e.innerHTML=t;const r=e.firstElementChild;return r!=null&&r.remove?r.remove():r&&e.removeChild(r),e.remove(),r}function JGe(t){const e={};if(!t)return e;for(let r,n=0;ns[1].toUpperCase()),e[r]=t[n].value}return e}const La=class La extends N.Component{constructor(r){var n;super(r);Y(this,"svg");this.state={svg:!!((n=this.props.src)!=null&&n.startsWith("data:")),created:!0,color:this.props.color||"",src:this.props.src||"",imgError:!1,showError:!!this.props.showError},this.svg=this.state.svg&&this.state.src?this.getSvgFromData(this.state.src):null}static getDerivedStateFromProps(r,n){var a;const o={};let s=!1;return r&&n&&r.src!==n.src&&(o.src=r.src,o.svg=(a=r.src)==null?void 0:a.startsWith("data:"),o.created=!1,s=!0),r&&n&&r.color!==n.color&&(o.color=r.color,o.created=!1,s=!0),r&&n&&r.showError!==n.showError&&(o.showError=r.showError,s=!0),s?o:null}getSvgFromData(r){const n="data:image/svg+xml;base64,";if(!r.startsWith(n))return null;r=r.substring(n.length);try{r=atob(r);const o=XGe(r),s=o.innerHTML,a=JGe(o.attributes);return o.remove(),m.createElement("svg",{className:this.props.className,style:this.state.color?{color:this.state.color}:{},...a,dangerouslySetInnerHTML:{__html:s}})}catch{}return null}render(){if(this.state.svg)return this.state.created||setTimeout(()=>{this.svg=this.state.src?this.getSvgFromData(this.state.src):null,this.setState({created:!0})},50),this.svg;if(this.state.src){if(this.state.imgError||!this.state.src)return m.createElement(P1,{className:this.props.className});if(La.REMOTE_SERVER&&!this.state.src.startsWith("http://")&&!this.state.src.startsWith("https://")){let r=(this.props.imagePrefix||"")+this.state.src;return r.startsWith("./")?r=La.REMOTE_PREFIX+r.substring(2):r.startsWith("/")||(r=La.REMOTE_PREFIX+r),m.createElement("img",{className:this.props.className,src:`https://remote-files.iobroker.in${r}`,alt:"",onError:()=>this.props.showError?this.setState({imgError:!0}):this.setState({src:""})})}return m.createElement("img",{className:this.props.className,src:(this.props.imagePrefix||"")+this.state.src,alt:"",onError:()=>this.props.showError?this.setState({imgError:!0}):this.setState({src:""})})}return null}};Y(La,"REMOTE_SERVER",window.location.hostname.includes("iobroker.in")),Y(La,"REMOTE_PREFIX",window.location.pathname.substring(0,window.location.pathname.lastIndexOf("/")+1));let $D=La;class R1 extends m.Component{constructor(){super(...arguments);Y(this,"handleFileSelect",r=>{const n=r.target,o=n==null?void 0:n.files;if(!o||!o.length){console.error("No files found. Please report to developers");return}const s=o[0];if(s){const a=new window.FileReader;a.onload=()=>{var u;const l=((u=a.result)==null?void 0:u.toString())||"";try{const p=JSON.parse(l);p.native&&p.common?p.common.name!==this.props.common.name?this.props.onError&&this.props.onError(R.t("ra_otherConfig",p.common.name)):this.props.onLoad&&this.props.onLoad(p.native):this.props.onError&&this.props.onError(R.t("ra_invalidConfig"))}catch(p){this.props.onError&&this.props.onError(p==null?void 0:p.toString())}},a.readAsText(s)}else alert("Failed to open JSON File")})}static generateFile(r,n){const o=window.document.createElement("a");o.setAttribute("href",`data:application/json;charset=utf-8,${encodeURIComponent(JSON.stringify(n,null,2))}`),o.setAttribute("download",r),o.style.display="none",window.document.body.appendChild(o),o.click(),window.document.body.removeChild(o)}download(){const r={_id:`system.adapter.${this.props.common.name}.${this.props.instance}`,common:JSON.parse(JSON.stringify(this.props.common)),native:this.props.native};r.common.news&&delete r.common.news,r.common.titleLang&&delete r.common.titleLang,r.common.desc&&delete r.common.desc,R1.generateFile(`${r._id}.json`,r)}upload(){const r=window.document.createElement("input");r.setAttribute("type","file"),r.setAttribute("id","files"),r.setAttribute("opacity","0"),r.addEventListener("change",this.handleFileSelect,!1),r.click()}render(){return m.createElement("div",{className:this.props.className,style:this.props.style},this.props.common.icon?m.createElement(Ua,{src:this.props.common.icon,style:{padding:8,width:64},alt:"logo"}):null,this.props.common.readme?m.createElement(ps,{size:"small",color:"primary","aria-label":"Help",style:{marginRight:5,marginTop:5,float:"right"},onClick:()=>{const r=window.open(this.props.common.readme,"_blank");r==null||r.focus()}},m.createElement(aV,null)):null,m.createElement(ps,{size:"small",color:"primary","aria-label":"Load config",style:{marginRight:5,marginTop:5,float:"right"},title:R.t("ra_Load configuration from file"),onClick:()=>this.upload()},m.createElement(gV,null)),m.createElement(ps,{size:"small",color:"primary","aria-label":"Save config",style:{marginRight:5,marginTop:5,float:"right"},title:R.t("ra_Save configuration to file"),onClick:()=>this.download()},m.createElement(_V,null)))}}const YGe=t=>m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",onClick:e=>t.onClick&&t.onClick(e),viewBox:"0 0 512 512",width:t.width||(t.fontSize==="small"?16:20),height:t.height||t.width||(t.fontSize==="small"?16:20),className:t.className,style:t.style},m.createElement("path",{fill:"currentColor",d:"M448 0L320 96v62.06l-83.03 83.03c6.79 4.25 13.27 9.06 19.07 14.87 5.8 5.8 10.62 12.28 14.87 19.07L353.94 192H416l96-128-64-64zM128 278.59L10.92 395.67c-14.55 14.55-14.55 38.15 0 52.71l52.7 52.7c14.56 14.56 38.15 14.56 52.71 0L233.41 384c29.11-29.11 29.11-76.3 0-105.41s-76.3-29.11-105.41 0z"})),AP=t=>m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",onClick:e=>t.onClick&&t.onClick(e),viewBox:"0 0 320 320",width:t.width||(t.fontSize==="small"?16:20),height:t.height||t.width||(t.fontSize==="small"?16:20),className:t.className,style:t.style},m.createElement("g",{fill:"currentColor"},m.createElement("rect",{rx:"32",height:"272",width:"267",y:"25",x:"25",strokeWidth:"15",stroke:"currentColor",fill:"none"}),m.createElement("ellipse",{stroke:"currentColor",ry:"26",rx:"26",cy:"248",cx:"160",fill:"none",strokeWidth:"15"}),m.createElement("line",{y2:"201.94531",x2:"159.5",y1:"46.94531",x1:"159.5",fillOpacity:"null",strokeOpacity:"null",strokeWidth:"15",stroke:"currentColor",fill:"none"}),m.createElement("rect",{height:"27",width:"50",y:"79.7979",x:"133.5",fillOpacity:"null",strokeOpacity:"null",strokeWidth:"15",stroke:"currentColor",fill:"#fff"}))),Qi=t=>m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",onClick:e=>t.onClick&&t.onClick(e),viewBox:"0 0 512 512",width:t.width||(t.fontSize==="small"?16:20),height:t.height||t.width||(t.fontSize==="small"?16:20),className:t.className,style:t.style},m.createElement("path",{fill:"currentColor",d:"M433.941 65.941l-51.882-51.882A48 48 0 0 0 348.118 0H176c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h224c26.51 0 48-21.49 48-48v-48h80c26.51 0 48-21.49 48-48V99.882a48 48 0 0 0-14.059-33.941zM266 464H54a6 6 0 0 1-6-6V150a6 6 0 0 1 6-6h74v224c0 26.51 21.49 48 48 48h96v42a6 6 0 0 1-6 6zm128-96H182a6 6 0 0 1-6-6V54a6 6 0 0 1 6-6h106v88c0 13.255 10.745 24 24 24h88v202a6 6 0 0 1-6 6zm6-256h-64V48h9.632c1.591 0 3.117.632 4.243 1.757l48.368 48.368a6 6 0 0 1 1.757 4.243V112z"})),PP=t=>m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",onClick:e=>t.onClick&&t.onClick(e),viewBox:"0 0 320 320",width:t.width||(t.fontSize==="small"?16:20),height:t.height||t.width||(t.fontSize==="small"?16:20),className:t.className,style:t.style},m.createElement("g",{fill:"currentColor"},m.createElement("rect",{rx:"32",height:"272",width:"267",y:"25",x:"25",strokeWidth:"15",stroke:"currentColor",fill:"none"}),m.createElement("ellipse",{stroke:"currentColor",ry:"26",rx:"26",cy:"252",cx:"160",fillOpacity:"null",strokeOpacity:"null",strokeWidth:"15",fill:"#fff"}),m.createElement("line",{y2:"201.94531",x2:"159.5",y1:"46.94531",x1:"159.5",fillOpacity:"null",strokeOpacity:"null",strokeWidth:"15",stroke:"currentColor",fill:"none"}),m.createElement("rect",{height:"27",width:"50",y:"140.83068",x:"133.5",fillOpacity:"null",strokeOpacity:"null",strokeWidth:"15",stroke:"currentColor",fill:"#fff"}),m.createElement("ellipse",{stroke:"currentColor",ry:"26",rx:"26",cy:"251",cx:"241",fillOpacity:"null",strokeOpacity:"null",strokeWidth:"15",fill:"#fff"}),m.createElement("line",{y2:"200.94531",x2:"240.5",y1:"45.94531",x1:"240.5",fillOpacity:"null",strokeOpacity:"null",strokeWidth:"15",stroke:"currentColor",fill:"none"}),m.createElement("rect",{height:"27",width:"50",y:"78.7979",x:"214.5",strokeWidth:"15",stroke:"currentColor",fill:"#fff"}),m.createElement("ellipse",{stroke:"currentColor",ry:"26",rx:"26",cy:"252",cx:"84",fillOpacity:"null",strokeOpacity:"null",strokeWidth:"15",fill:"#fff"}),m.createElement("line",{y2:"201.94531",x2:"83.5",y1:"46.94531",x1:"83.5",fillOpacity:"null",strokeOpacity:"null",strokeWidth:"15",stroke:"currentColor",fill:"none"}),m.createElement("rect",{height:"27",width:"50",y:"79.7979",x:"57.5",fillOpacity:"null",strokeOpacity:"null",strokeWidth:"15",stroke:"currentColor",fill:"#fff"}))),KGe=t=>m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",onClick:e=>t.onClick&&t.onClick(e),width:t.width||(t.fontSize==="small"?16:20),height:t.height||t.width||(t.fontSize==="small"?16:20),className:t.className,style:t.style},m.createElement("path",{fill:"currentColor",d:"M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48z"})),ZGe=t=>m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",onClick:e=>t.onClick&&t.onClick(e),viewBox:"0 0 512 512",width:t.width||(t.fontSize==="small"?16:20),height:t.height||t.width||(t.fontSize==="small"?16:20),className:t.className,style:t.style},m.createElement("path",{fill:"currentColor",d:"M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48z"}),m.createElement("path",{fill:"currentColor",stroke:"null",d:"m261,270l-12,0l0,-24c0,-33.12 -26.88,-60 -60,-60s-60,26.88 -60,60l0,24l-12,0c-13.2,0 -24,10.8 -24,24l0,120c0,13.2 10.8,24 24,24l144,0c13.2,0 24,-10.8 24,-24l0,-120c0,-13.2 -10.8,-24 -24,-24zm-72,108c-13.2,0 -24,-10.8 -24,-24s10.8,-24 24,-24s24,10.8 24,24s-10.8,24 -24,24zm37.2,-108l-74.4,0l0,-24c0,-20.52 16.68,-37.2 37.2,-37.2c20.52,0 37.2,16.68 37.2,37.2l0,24z"})),yu=t=>m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",onClick:e=>t.onClick&&t.onClick(e),viewBox:"0 0 320 320",width:t.width||(t.fontSize==="small"?16:20),height:t.height||t.width||(t.fontSize==="small"?16:20),className:t.className,style:t.style},m.createElement("rect",{fill:"none",rx:"32",height:"272",width:"267",y:"25",x:"25",strokeWidth:"15",stroke:"currentColor"}),m.createElement("ellipse",{fill:"none",ry:"54",rx:"54",cy:"160",cx:"160",fillOpacity:"null",strokeOpacity:"null",strokeWidth:"15",stroke:"currentColor"})),QGe=t=>m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",onClick:e=>t.onClick&&t.onClick(e),viewBox:"0 0 24 24",width:t.width||(t.fontSize==="small"?16:20),height:t.height||t.width||(t.fontSize==="small"?16:20),className:t.className,style:t.style},m.createElement("path",{fill:"currentColor",stroke:"currentColor",d:"M4.25 5.61C6.27 8.2 10 13 10 13v6c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-6s3.72-4.8 5.74-7.39A.998.998 0 0 0 18.95 4H5.04c-.83 0-1.3.95-.79 1.61z"})),hb={root:{width:"100%",height:"100%"},overflowHidden:{overflow:"hidden"},container:{height:"100%"}};function eXe(t){var e;return m.createElement(oi,{elevation:Number.isNaN(t.elevation)?1:t.elevation,style:{...hb.root,...((e=t.styles)==null?void 0:e.root)||void 0,...t.overflow!=="visible"?hb.overflowHidden:void 0},onKeyDown:t.onKeyDown,tabIndex:t.tabIndex},m.createElement(Qs,{container:!0,direction:"column",wrap:"nowrap",sx:hb.container},t.children))}const TD={root:{height:"100%",overflow:"hidden"},overflowAuto:{overflow:"auto"}};function tXe(t){return m.createElement(Qs,{sx:{...TD.root,...(t==null?void 0:t.style)||void 0,...t.overflow==="auto"?TD.overflowAuto:void 0},ref:t.ref},t.children)}function rXe(t){return m.createElement(Qs,{container:!0,alignItems:"center"},t.children)}const el=24,en=32,nXe=16,_r=20,IP=t=>t==="dark"?"#62ff25":"#37c400",RP=t=>t==="dark"?"#ee56ff":"#a204b4",oXe=t=>t==="dark"?"#fff46e":"#b89101",jP=t=>"#ff6d69",FP=t=>"#5773ff",zP="#ff413c",LP="#86211f",O0="#57ff45",D0="#098c04",N0="#f3ad11",M0="#6c5008",G={toolbar:{minHeight:38},toolbarButtons:{padding:4,marginLeft:4},switchColumnAuto:{marginLeft:16},dialogColumns:{transition:"opacity 1s"},dialogColumnsLabel:{fontSize:12,paddingTop:8},columnCustom:{width:"100%",display:"inline-block"},columnCustomEditable:{cursor:"text"},columnCustom_center:{textAlign:"center"},columnCustom_left:{textAlign:"left"},columnCustom_right:{textAlign:"right"},width100:{width:"100%"},transparent_10:{opacity:.1},transparent_20:{opacity:.2},transparent_30:{opacity:.3},transparent_40:{opacity:.4},transparent_50:{opacity:.5},transparent_60:{opacity:.6},transparent_70:{opacity:.7},transparent_80:{opacity:.8},transparent_90:{opacity:.9},transparent_100:{opacity:1},headerRow:{paddingLeft:8,height:38,whiteSpace:"nowrap",userSelect:"none"},buttonClearFilter:{position:"relative",float:"right",padding:0},buttonClearFilterIcon:{zIndex:2,position:"absolute",top:0,left:0,color:"#FF0000",opacity:.7},tableDiv:{paddingTop:0,paddingLeft:0,width:"calc(100% - 8px)",height:"calc(100% - 38px)",overflow:"auto"},tableRow:t=>({pl:1,height:en,lineHeight:`${en}px`,verticalAlign:"top",userSelect:"none",position:"relative",width:"100%","&:hover":{background:`${t.palette.mode==="dark"?t.palette.primary.dark:t.palette.primary.light} !important`,color:Se.invertColor(t.palette.primary.main,!0)},whiteSpace:"nowrap",flexWrap:"nowrap"}),tableRowLines:t=>({borderBottom:`1px solid ${t.palette.mode==="dark","#8888882e"}`,"& > div":{borderRight:`1px solid ${t.palette.mode==="dark","#8888882e"}`}}),tableRowNoDragging:{cursor:"pointer"},tableRowAlias:{height:en+10},tableRowAliasReadWrite:{height:en+22},tableRowFocused:t=>({"&:after":{content:'""',position:"absolute",top:1,left:1,right:1,bottom:1,border:t.palette.mode?"1px dotted #000":"1px dotted #FFF"}}),checkBox:{padding:0},cellId:{position:"relative",fontSize:"1rem",overflow:"hidden",textOverflow:"ellipsis","& .copyButton":{display:"none"},"&:hover .copyButton":{display:"block"},"& .iconOwn":{display:"block",width:en-4,height:en-4,mt:"2px",float:"right"},"&:hover .iconOwn":{display:"none"},"& *":{width:"initial"}},cellIdSpan:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},cellIdIconFolder:t=>({marginRight:8,width:en-4,height:en-4,cursor:"pointer",color:t.palette.secondary.main||"#fbff7d",verticalAlign:"top"}),cellIdIconDocument:{verticalAlign:"middle",marginLeft:(en-_r)/2,marginRight:8,width:_r,height:_r},cellIdIconOwn:{},cellIdTooltip:{fontSize:14},cellIdTooltipLink:{color:"#7ec2fd","&:hover":{color:"#7ec2fd"},"&:visited":{color:"#7ec2fd"}},cellCopyButton:{width:_r,height:_r,top:(en-_r)/2,opacity:.8,position:"absolute",right:3},cellCopyButtonInDetails:{width:_r,height:_r,top:(en-_r)/2,opacity:.8},cellEditButton:{width:_r,height:_r,color:"white",position:"absolute",top:(en-_r)/2,right:_r+3,opacity:.7,"&:hover":{opacity:1}},cellName:{display:"inline-block",verticalAlign:"top",fontSize:14,ml:"5px",overflow:"hidden",textOverflow:"ellipsis",position:"relative","& .copyButton":{display:"none"},"&:hover .copyButton":{display:"block"}},cellNameWithDesc:{lineHeight:"normal"},cellNameDivDiv:{},cellDescription:{fontSize:10,opacity:.5,fontStyle:"italic"},cellIdAlias:t=>({fontStyle:"italic",fontSize:12,opacity:.7,"&:hover":{color:t.palette.mode==="dark"?"#009900":"#007700"}}),cellIdAliasReadWriteDiv:{height:24,marginTop:-5},cellIdAliasAlone:{lineHeight:0},cellIdAliasReadWrite:{lineHeight:"12px"},cellType:{display:"inline-block",verticalAlign:"top","& .itemIcon":{verticalAlign:"middle",width:el,height:el,display:"inline-block"},"& .itemIconFolder":{marginLeft:3}},cellRole:{display:"inline-block",verticalAlign:"top",textOverflow:"ellipsis",overflow:"hidden"},cellRoom:{display:"inline-block",verticalAlign:"top",textOverflow:"ellipsis",overflow:"hidden"},cellEnumParent:{opacity:.4},cellFunc:{display:"inline-block",verticalAlign:"top",textOverflow:"ellipsis",overflow:"hidden"},cellValue:{display:"inline-block",verticalAlign:"top",textOverflow:"ellipsis",overflow:"hidden"},cellValueButton:{marginTop:5},cellValueButtonFalse:{opacity:.3},cellAdapter:{display:"inline-block",verticalAlign:"top"},cellValueTooltip:{fontSize:12},cellValueText:{width:"100%",height:en,fontSize:16,display:"flex",overflow:"hidden",textOverflow:"ellipsis",position:"relative",verticalAlign:"top","& .copyButton":{display:"none"},"&:hover .copyButton":{display:"block"}},cellValueFile:{color:"#2837b9"},cellValueTooltipTitle:{fontStyle:"italic",width:100,display:"inline-block"},cellValueTooltipValue:{width:120,display:"inline-block",whiteSpace:"nowrap",textOverflow:"ellipsis"},cellValueTooltipImage:{width:100,height:"auto"},cellValueTooltipBoth:{width:220,display:"inline-block",whiteSpace:"nowrap"},cellValueTooltipBox:{width:250,overflow:"hidden",pointerEvents:"none"},tooltip:{pointerEvents:"none"},cellValueTextUnit:{marginLeft:4,opacity:.8,display:"inline-block"},cellValueTextState:{opacity:.7},cellValueTooltipCopy:{position:"absolute",bottom:3,right:3},cellValueTooltipEdit:{position:"absolute",bottom:3,right:15},cellButtons:{display:"inline-block",verticalAlign:"top"},cellButtonsButton:{display:"inline-block",opacity:.5,width:_r+4,height:_r+4,"&:hover":{opacity:1},p:0,mt:"-2px"},cellButtonsEmptyButton:{fontSize:12},cellButtonMinWidth:{minWidth:40},cellButtonsButtonAlone:{ml:`${_r+6}px`,pt:0,mt:"-2px"},cellButtonsButtonWithCustoms:t=>({color:t.palette.mode==="dark"?t.palette.primary.main:t.palette.secondary.main}),cellButtonsButtonWithoutCustoms:{opacity:.2},cellButtonsValueButton:t=>({position:"absolute",top:_r/2-2,opacity:.7,width:_r-2,height:_r-2,color:t.palette.action.active,"&:hover":{opacity:1}}),cellButtonsValueButtonCopy:{right:8,cursor:"pointer"},cellButtonsValueButtonEdit:{right:_r/2+16},cellDetailsLine:{display:"flex",alignItems:"center",width:"100%",height:32,fontSize:16},cellDetailsName:{fontWeight:"bold",marginRight:8,minWidth:80},filteredOut:{opacity:.5},filteredParentOut:{opacity:.3},filterInput:{mt:0,mb:0},selectIcon:{width:24,height:24,marginRight:4},selectNone:{opacity:.5},itemSelected:t=>({background:`${t.palette.primary.main} !important`,color:`${Se.invertColor(t.palette.primary.main,!0)} !important`}),header:{width:"100%"},headerCell:{display:"inline-block",verticalAlign:"top"},headerCellValue:{paddingTop:4,fontSize:16},headerCellInput:{width:"calc(100% - 5px)",height:en,pt:0,"& .itemIcon":{verticalAlign:"middle",width:el,height:el,display:"inline-block"}},headerCellSelectItem:{"& .itemIcon":{width:el,height:el,mr:"5px",display:"inline-block"}},visibleButtons:{color:"#2196f3",opacity:.7},grow:{flexGrow:1},enumIconDiv:{marginRight:8,width:32,height:32,borderRadius:8,background:"#FFFFFF"},enumIcon:{marginTop:4,marginLeft:4,width:24,height:24},enumDialog:{overflow:"hidden"},enumList:{minWidth:250,height:"calc(100% - 50px)",overflow:"auto"},enumButton:{float:"right"},enumCheckbox:{minWidth:0},buttonDiv:{display:"flex",height:"100%",alignItems:"center"},aclText:{fontSize:13,marginTop:6},rightsObject:{color:"#55ff55",paddingLeft:3},rightsState:{color:"#86b6ff",paddingLeft:3},textCenter:{padding:12,textAlign:"center"},tooltipAccessControl:{display:"flex",flexDirection:"column"},fontSizeTitle:{"@media screen and (max-width: 465px)":{"& *":{fontSize:12}}},draggable:{cursor:"copy"},nonDraggable:{cursor:"no-drop"},selectClearButton:{position:"absolute",top:0,right:0,borderRadius:5,backgroundColor:"background.default"},iconDeviceConnected:t=>({color:t.palette.mode==="dark"?O0:D0,opacity:.8,position:"absolute",top:4,right:32,width:20}),iconDeviceDisconnected:t=>({color:t.palette.mode==="dark"?N0:M0,opacity:.8,position:"absolute",top:4,right:32,width:20}),iconDeviceError:t=>({color:t.palette.mode==="dark"?zP:LP,opacity:.8,position:"absolute",top:4,right:50,width:20}),resizeHandle:{display:"block",position:"absolute",cursor:"col-resize",width:7,top:2,bottom:2,zIndex:1},resizeHandleRight:{right:3,borderRight:"2px dotted #888","&:hover":{borderColor:"#ccc",borderRightStyle:"solid"},"&.active":{borderColor:"#517ea5",borderRightStyle:"solid"}},invertedBackground:t=>({backgroundColor:t.palette.mode==="dark"?"#9a9a9a":"#565656",padding:"0 3px",borderRadius:"2px 0 0 2px"}),invertedBackgroundFlex:t=>({backgroundColor:t.palette.mode==="dark"?"#9a9a9a":"#565656",borderRadius:"0 2px 2px 0"}),contextMenuEdit:t=>({color:t.palette.mode==="dark"?"#ffee48":"#cbb801"}),contextMenuEditValue:t=>({color:t.palette.mode==="dark"?"#5dff45":"#1cd301"}),contextMenuView:t=>({color:t.palette.mode==="dark"?"#FFF":"#000"}),contextMenuCustom:t=>({color:t.palette.mode==="dark"?"#42eaff":"#01bbc2"}),contextMenuACL:t=>({color:t.palette.mode==="dark"?"#e079ff":"#500070"}),contextMenuRoom:t=>({color:t.palette.mode==="dark"?"#ff9a33":"#642a00"}),contextMenuRole:t=>({color:t.palette.mode==="dark"?"#ffdb43":"#562d00"}),contextMenuDelete:t=>({color:t.palette.mode==="dark"?"#ff4f4f":"#cf0000"}),contextMenuKeys:{marginLeft:8,opacity:.7,fontSize:"smaller"},contextMenuWithSubMenu:{display:"flex"}};function sXe(t){return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 436 436",style:t==null?void 0:t.style,width:"24",height:"24",className:"admin-button"},m.createElement("g",{fill:"currentColor"},m.createElement("path",{d:"m195.23077,24.30769c-36,3 -67,12 -96,26c-49,24 -82,61 -93,104l-3,11l-1,50c0,46 0,49 2,59l5,20c21,58 84,103 165,116c16,3 53,4 70,2c60,-6 111,-28 147,-64c21,-21 36,-49 40,-74a866,866 0 0 0 1,-104c-3,-18 -6,-28 -13,-43c-26,-52 -87,-90 -162,-101c-16,-2 -48,-3 -63,-2l1,0zm60,23c36,5 70,18 95,35c31,20 51,47 59,77c2,7 2,11 2,25c1,15 0,18 -2,26c-19,69 -104,117 -200,114c-47,-2 -90,-15 -124,-38c-31,-20 -51,-47 -59,-77c-3,-11 -4,-32 -2,-43c8,-42 41,-78 91,-101a260,260 0 0 1 140,-19l0,1zm-221,222c21,26 57,49 95,62c81,27 174,14 239,-32c14,-10 31,-27 41,-41c2,-2 2,-2 2,7c-1,23 -16,50 -38,72c-78,74 -233,74 -311,-1a121,121 0 0 1 -39,-76l0,-6l3,4l8,11z"}),m.createElement("path",{d:"m201.23077,47.30769c-40,3 -79,19 -104,44c-55,55 -38,133 37,171c52,26 122,24 172,-5c30,-17 51,-42 58,-71c3,-11 3,-34 0,-45c-6,-23 -21,-44 -40,-60l-27,-16a184,184 0 0 0 -96,-18zm30,21c56,5 100,35 112,75c4,11 4,30 0,41c-8,25 -26,45 -54,59a166,166 0 0 1 -160,-8a98,98 0 0 1 -41,-53c-5,-18 -2,-39 8,-57c23,-39 79,-62 135,-57z"})))}function aXe(t,e){const r=[];for(let n=0;n{if(o==null)return;const a=typeof o=="object";if(r&&a&&typeof o.en=="string"&&typeof o.de=="string"){n[s]=o.en;return}n[s]=a?A0(o,e,r):o}):iXe(t,(n,o,s)=>{if(o==null||e.includes(s))return;const a=typeof o=="object";if(r&&a&&typeof o.en=="string"&&typeof o.de=="string"){n[s]=o.en;return}n[s]=a?A0(o,e,r):o})}function OD(t,e,r){const n=document.createElement("a"),o=[];r.excludeSystemRepositories&&o.push("system.repositories");const s=o.length>0||r.excludeTranslations?A0(e,o,r.excludeTranslations):e,a=r.beautify?JSON.stringify(s,null,2):JSON.stringify(s);n.setAttribute("href",`data:application/json;charset=utf-8,${encodeURIComponent(a)}`),n.setAttribute("download",t),n.style.display="none",document.body.appendChild(n),n.click(),document.body.removeChild(n)}function Uu(t,e,r,n){if(r=r||0,n===void 0&&(n=t.length-1,!n))return t[0]===e;const o=Math.floor((r+n)/2);return e===t[o]?!0:n-1===r?t[r]===e||t[n]===e:e>t[o]?Uu(t,e,o,n):ek.role.startsWith(T))||(p=!0)):p=!0),!p&&((M=a.common)==null?void 0:M.custom)==="_"&&(k!=null&&k.custom))p=!0;else if(!p&&(($=a.common)!=null&&$.custom)&&((E=a.common)==null?void 0:E.custom)!=="_"){const T=a.common.custom;if(!(k!=null&&k.custom))p=!0;else if(T==="_dataSources")Object.keys(k.custom).find(A=>A.startsWith("history.")||A.startsWith("sql.")||A.startsWith("influxdb."))||(p=!0);else if(Array.isArray(T)){const A=Object.keys(k.custom);T.find(I=>A.find(j=>j.startsWith(I)))&&(p=!0)}else T!==!0&&!Object.keys(k.custom).find(A=>A.startsWith(T))&&(p=!0)}}!p&&!e.expertMode&&(p=h.id==="system"||h.id==="enum"||h.id.startsWith("system.")||h.id.startsWith("enum.")||h.id.startsWith("_design/")||h.id.endsWith(".admin")||!!(k!=null&&k.expert)),!p&&o.id&&(h.fID===void 0&&(h.fID=h.id.toLowerCase()),p=!h.fID.includes(o.id)),!p&&o.name&&(k?(h.fName===void 0&&(h.fName=k&&On(k.name,r)||"",h.fName=h.fName.toLowerCase()),p=!h.fName.includes(o.name)):p=!0),!p&&e.role&&k&&(k?p=!(k.role&&k.role.startsWith(o.role)):p=!0),!p&&o.room&&(p=!o.room.find(T=>T===h.id||h.id.startsWith(`${T}.`))),!p&&o.func&&(p=!o.func.find(T=>T===h.id||h.id.startsWith(`${T}.`))),!p&&o.type&&(p=!(h.obj&&h.obj.type&&h.obj.type===o.type)),!p&&l&&(p=!(h.obj&&h.obj.type&&l.includes(h.obj.type))),!p&&o.custom&&(k?o.custom==="_"?p=!!k.custom:p=!k.custom||!k.custom[o.custom]:p=!0)}return h.visible=!p,h.hasVisibleChildren=!1,t.children&&u<20&&t.children.forEach(k=>{P0(k,e,r,n,o,s,a,l,u+1)&&(h.hasVisibleChildren=!0)}),h.sumVisibility=h.visible||h.hasVisibleChildren,s&&h.sumVisibility&&s.count++,h.id&&h.sumVisibility&&t.children&&t.children.forEach(k=>k.data.hasVisibleParent=!0),h.visible||h.hasVisibleChildren}function BP(t,e,r,n){var s;n=n||[];const o=t.data;return o.sumVisibility&&(o.id&&r[o.id]&&r[o.id].type===e&&n.push(o.id),(s=t.children)==null||s.forEach(a=>BP(a,e,r,n))),n}function DD(t,e,r,n,o,s){let a;return e==="alias"||e==="alias.0"?a=m.createElement(pA,{className:"iconOwn",style:{color:RP(n)}}):e==="0_userdata"||e==="0_userdata.0"?a=m.createElement(Qq,{className:"iconOwn",style:{color:IP(n)}}):e.startsWith("_design/")||e==="system"?a=m.createElement(Zk,{className:"iconOwn",style:{color:jP(n)}}):e==="system.adapter"?a=m.createElement(Zk,{className:"iconOwn",style:{color:FP(n)}}):e==="system.group"?a=m.createElement(_A,{className:"iconOwn"}):e==="system.user"?a=m.createElement(fA,{className:"iconOwn"}):e==="system.host"?a=m.createElement(mA,{className:"iconOwn"}):e.endsWith(".connection")||e.endsWith(".connected")?a=m.createElement(du,{className:"iconOwn"}):e.endsWith(".info")?a=m.createElement(uA,{className:"iconOwn"}):t[e]&&t[e].type==="meta"?a=m.createElement(Uw,{className:"iconOwn"}):r<2&&t[`system.adapter.${e}`]&&(a=Hf(t,`system.adapter.${e}`,o,s)),a||null}function WP(t,e){var r,n;return(n=(r=t==null?void 0:t.obj)==null?void 0:r.common)!=null&&n.desc&&On(t.obj.common.desc,e)||null}function lXe(t,e){const r=WP(t,e);return r!=null&&r.startsWith("http")?m.createElement(nt,{component:"a",sx:G.cellIdTooltipLink,href:r,target:"_blank",rel:"noreferrer"},r):m.createElement("span",{style:G.cellIdTooltip},r||t.id||"")}function ND(t,e){var h,d,_,g,v,w,x,C,M;const r=e.imagePrefix||".";let n=Object.keys(t);n.sort(($,E)=>$===E?0:($=$.replace(/\./g,"!!!"),E=E.replace(/\./g,"!!!"),$>E?1:-1)),e.root&&(n=n.filter($=>$===e.root||$.startsWith(`${e.root}.`)));let o=[],s="",a=0;const l={data:{name:"",id:""},children:[]},u={funcEnums:[],roomEnums:[],roles:[],ids:[],types:[],objects:t,customs:["_"],enums:[],hasSomeCustoms:!1,aliasesMap:{}};let p=l;for(let $=0;$O.role===j)?typeof j!="string"?console.warn(`Invalid role type "${typeof j}" in "${k._id}"`):u.roles.push({role:j,type:I.type}):E.startsWith("enum.rooms.")?(u.roomEnums.push(E),u.enums.push(E)):E.startsWith("enum.functions.")?(u.funcEnums.push(E),u.enums.push(E)):k.type==="enum"?u.enums.push(E):k.type==="instance"&&I&&(I.supportCustoms||(h=I.adminUI)!=null&&h.custom)&&(u.hasSomeCustoms=!0,u.customs.push(E.substring(15))),E.startsWith("alias.")&&((d=k.common.alias)!=null&&d.id))if(typeof k.common.alias.id=="string"){const O=k.common.alias.id;u.aliasesMap[O]?u.aliasesMap[O].includes(E)||u.aliasesMap[O].push(E):u.aliasesMap[O]=[E]}else{const O=k.common.alias.id.read;O&&(u.aliasesMap[O]?u.aliasesMap[O].includes(E)||u.aliasesMap[O].push(E):u.aliasesMap[O]=[E]);const F=k.common.alias.id.write;F&&(u.aliasesMap[F]?u.aliasesMap[F].includes(E)||u.aliasesMap[F].push(E):u.aliasesMap[F]=[E])}}u.ids.push(E);let A;do if(A=!1,!s||E.startsWith(`${s}.`)){if(T.length-a>1){let j=s;for(let O=a;OF.data.name===T[O]));else{const F={data:{name:T[O],parent:p,id:j,obj:t[j],level:O,icon:DD(t,j,O,e.themeType,e.lang,r),generated:!0}};p.children=p.children||[],p.children.push(F),p=F,u.ids.push(j)}}const I={data:{name:T[T.length-1],title:On((_=k==null?void 0:k.common)==null?void 0:_.name,e.lang),obj:k,parent:p,icon:Hf(t,E,e.lang,r)||DD(t,E,0,e.themeType,e.lang,r),id:E,hasCustoms:!!((g=k.common)!=null&&g.custom&&Object.keys(k.common.custom).length),level:T.length-1,generated:!1,button:k.type==="state"&&!!((v=k.common)!=null&&v.role)&&typeof k.common.role=="string"&&k.common.role.startsWith("button")&&((w=k.common)==null?void 0:w.write)!==!1,switch:k.type==="state"&&((x=k.common)==null?void 0:x.type)==="boolean"&&((C=k.common)==null?void 0:C.write)!==!1&&((M=k.common)==null?void 0:M.read)!==!1}};p.children=p.children||[],p.children.push(I),p=I,a=T.length,o=T,s=E}else{let I=0;for(;o[I]===T[I];)I++;if(I>0){let j=o.length;for(o=o.splice(0,I),a=I,s=o.join(".");j>I;)p.data.parent?p=p.data.parent:console.error(`Parent is null for ${E} ${s} ${o.join(".")}`),j--}else p=l,o=[],s="",a=0;A=!0}while(A)}return u.roomEnums.sort(($,E)=>{var A,I,j,O;const k=On((I=(A=t[$])==null?void 0:A.common)==null?void 0:I.name,e.lang)||$.split(".").pop(),T=On((O=(j=t[E])==null?void 0:j.common)==null?void 0:O.name,e.lang)||E.split(".").pop();return k>T?1:k{var A,I,j,O;const k=On((I=(A=t[$])==null?void 0:A.common)==null?void 0:I.name,e.lang)||$.split(".").pop(),T=On((O=(j=t[E])==null?void 0:j.common)==null?void 0:O.name,e.lang)||E.split(".").pop();return k>T?1:k$.role.localeCompare(E.role)),u.types.sort(),{info:u,root:l}}function UP(t,e,r,n,o){if(t.data.id===e)return t;if(r||(r=e.split("."),o=0,n=r[o]),!t.children&&t.data.id!==e)return null;let s;if(t.children)for(let a=0;an)break}return s?(o=o||0,UP(s,e,r,`${n}.${r[o+1]}`,o+1)):null}function HP(t,e,r,n){var a,l;if(!e)return{rooms:[],per:!1};n=n||[];for(const u of t.roomEnums){const p=(a=t.objects[u])==null?void 0:a.common;if(!p)continue;const h=On(p.name,r);(l=p.members)!=null&&l.includes(e)&&!n.includes(h)&&n.push(h)}let o;const s=e.split(".");return s.pop(),e=s.join("."),t.objects[e]&&(o=n.length,HP(t,e,r,n)),{rooms:n,per:!o}}function tl(t,e,r,n){var o,s;if(!e)return[];n=n||[];for(let a=0;a946681200&&p<9466812e5&&(p*=1e3),p=p&&new Date(p).toString();else h==="number"?Number.isInteger(p)||(p=Math.round(p*1e8)/1e8,n&&(p=p.toString().replace(".",","))):h==="object"?p=JSON.stringify(p):h!=="string"?p=p.toString():p.startsWith("data:image/")&&(u="image"),typeof p!="string"&&(p=p.toString());const d={v:p};a&&a[p]!==void 0&&p!==a[p]&&(d.s=p,p=a[p],d.v=p),((g=d.v)==null?void 0:g.length)>40&&(d.v=`${d.v.substring(0,40)}...`),l!=null&&l.unit&&(d.u=l.unit);let _;if(t.full&&(typeof p=="string"&&p.length>100?_=[{t:o.value,v:`${p.substring(0,100)}...`}]:_=[{t:o.value,v:p}],r)){if(r.ack!==void 0&&r.ack!==null&&_.push({t:o.ack,v:r.ack.toString()}),r.ts&&_.push({t:o.ts,v:r.ts?Se.formatDate(new Date(r.ts),e):""}),r.lc&&_.push({t:o.lc,v:r.lc?Se.formatDate(new Date(r.lc),e):""}),r.from){let v=r.from.toString();v.startsWith("system.adapter.")&&(v=v.substring(15)),_.push({t:o.from,v})}if(r.user){let v=r.user.toString();v.startsWith("system.user.")&&(v=v.substring(12)),_.push({t:o.user,v})}r.c&&_.push({t:o.c,v:r.c}),_.push({t:o.quality,v:Se.quality2text(r.q||0).join(", "),nbr:!0})}return{valText:d,valFull:_,fileViewer:u}}function cXe(t){const{state:e}=t;return{color:e!=null&&e.ack?e.q?"#ffa500":"":"#ff2222c9"}}function uXe(t,e){let r=e,n=1;const o=[];for(;n=r)o.push(0);else if(n{this.contextMenu&&Date.now()-this.contextMenu.ts<2e3?(r.preventDefault(),this.setState({showContextMenu:{item:this.contextMenu.item,position:{left:r.clientX+2,top:r.clientY-6}}})):this.state.showContextMenu&&(r.preventDefault(),this.setState({showContextMenu:null})),this.contextMenu=null});Y(this,"onStateChange",(r,n)=>{if(console.log(`> stateChange ${r}`),this.states[r]){const o=this.findItem(r);o!=null&&o.data.state&&(o.data.state=void 0)}n?this.states[r]=n:delete this.states[r],this.pausedSubscribes?this.statesUpdateTimer&&(clearTimeout(this.statesUpdateTimer),this.statesUpdateTimer=null):this.statesUpdateTimer||(this.statesUpdateTimer=setTimeout(()=>{this.statesUpdateTimer=null,this.forceUpdate()},300))});Y(this,"onObjectChangeFromWorker",r=>{if(Array.isArray(r)){let n=null;r.forEach(o=>{const{newInnerState:s,filtered:a}=this.processOnObjectChangeElement(o.id,o.obj);a||(s&&n?Object.assign(n,s):n=s)}),n&&this.setState(n),this.afterObjectUpdated()}});Y(this,"onObjectChange",(r,n)=>{const{newInnerState:o,filtered:s}=this.processOnObjectChangeElement(r,n);s||(o&&this.setState(o),this.afterObjectUpdated())});Y(this,"getEnumsForId",r=>{const n=[];return this.info.enums.forEach(o=>{var s,a,l;if((l=(a=(s=this.objects[o])==null?void 0:s.common)==null?void 0:a.members)!=null&&l.includes(r)){const u={_id:this.objects[o]._id,common:JSON.parse(JSON.stringify(this.objects[o].common)),native:this.objects[o].native,type:"enum"};u.common&&(delete u.common.members,delete u.common.custom,delete u.common.mobile),n.push(u)}}),n.length?n:void 0});Y(this,"_createAllEnums",async(r,n)=>{var o,s;for(let a=0;a{var o,s;const{t:r}=this.props;let n=[m.createElement("div",{key:1},r("ra_Only following structures of objects are available:")),m.createElement("div",{key:2},r("ra_Folder → State")),m.createElement("div",{key:3},r("ra_Folder → Channel → State")),m.createElement("div",{key:4},r("ra_Folder → Device → Channel → State")),m.createElement("div",{key:5},r("ra_Device → Channel → State")),m.createElement("div",{key:6},r("ra_Channel → State")),m.createElement("div",{key:7,style:{height:10}}),m.createElement("div",{key:8},r('ra_Non-experts may create new objects only in "0_userdata.0" or "alias.0".')),m.createElement("div",{key:9},r('ra_The experts may create objects everywhere but from second level (e.g. "vis.0" or "javascript.0").'))];if(this.state.selected.length||this.state.selectedNonObject){const a=this.state.selected[0]||this.state.selectedNonObject;if(!(a.split(".").length<2||this.objects[a]&&((o=this.objects[a])==null?void 0:o.type)==="state"))if(this.state.filter.expertMode)switch((s=this.objects[a])==null?void 0:s.type){case"device":n=[m.createElement("div",{key:1},r("ra_Only following structures of objects are available:")),m.createElement("div",{key:5},r("ra_Device → Channel → State")),m.createElement("div",{key:7,style:{height:10}}),m.createElement("div",{key:8},r('ra_Non-experts may create new objects only in "0_userdata.0" or "alias.0".')),m.createElement("div",{key:9},r('ra_The experts may create objects everywhere but from second level (e.g. "vis.0" or "javascript.0").'))];break;case"folder":n=[m.createElement("div",{key:1},r("ra_Only following structures of objects are available:")),m.createElement("div",{key:2},r("ra_Folder → State")),m.createElement("div",{key:3},r("ra_Folder → Channel → State")),m.createElement("div",{key:4},r("ra_Folder → Device → Channel → State")),m.createElement("div",{key:7,style:{height:10}}),m.createElement("div",{key:8},r('ra_Non-experts may create new objects only in "0_userdata.0" or "alias.0".')),m.createElement("div",{key:9},r('ra_The experts may create objects everywhere but from second level (e.g. "vis.0" or "javascript.0").'))];break;case"channel":n=[m.createElement("div",{key:1},r("ra_Only following structures of objects are available:")),m.createElement("div",{key:1},r("ra_Channel → State")),m.createElement("div",{key:7,style:{height:10}}),m.createElement("div",{key:8},r('ra_Non-experts may create new objects only in "0_userdata.0" or "alias.0".')),m.createElement("div",{key:9},r('ra_The experts may create objects everywhere but from second level (e.g. "vis.0" or "javascript.0").'))];break}else(a.startsWith("alias.0")||a.startsWith("0_userdata"))&&(n=[m.createElement("div",{key:1},r("ra_Only following structures of objects are available:")),m.createElement("div",{key:2},r("ra_Folder → State")),m.createElement("div",{key:3},r("ra_Folder → Channel → State")),m.createElement("div",{key:4},r("ra_Folder → Device → Channel → State")),m.createElement("div",{key:5},r("ra_Device → Channel → State")),m.createElement("div",{key:6},r("ra_Channel → State")),m.createElement("div",{key:7,style:{height:10}}),m.createElement("div",{key:7},r('ra_Non-experts may create new objects only in "0_userdata.0" or "alias.0".')),m.createElement("div",{key:8},r('ra_The experts may create objects everywhere but from second level (e.g. "vis.0" or "javascript.0").'))])}return n.length?n:r("ra_Add new child object to selected parent")});Y(this,"renderTooltipAccessControl",r=>{if(!r)return null;const n=[{value:"0x400",valueNum:1024,title:"read",group:"Owner"},{value:"0x200",valueNum:512,title:"write",group:"Owner"},{value:"0x40",valueNum:64,title:"read",group:"Group"},{value:"0x20",valueNum:32,title:"write",group:"Group"},{value:"0x4",valueNum:4,title:"read",group:"Everyone"},{value:"0x2",valueNum:2,title:"write",group:"Everyone"}],o=[],s=a=>{const l=r[a];n.forEach((u,p)=>{l&u.valueNum&&o.push(m.createElement("span",{key:a+p},this.texts[`acl${u.group}_${u.title}_${a}`],",",m.createElement("span",{style:a==="object"?G.rightsObject:G.rightsState},u.value)))})};return o.push(m.createElement("span",{key:"group"},`${this.texts.ownerGroup}: ${(r.ownerGroup||"").replace("system.group.","")}`)),o.push(m.createElement("span",{key:"owner"},`${this.texts.ownerUser}: ${(r.owner||"").replace("system.user.","")}`)),s("object"),r.state&&s("state"),o.length?m.createElement("span",{style:G.tooltipAccessControl},o.map(a=>a)):null});Y(this,"resizerMouseMove",r=>{if(this.resizerActiveDiv){let n,o;this.resizeLeft?(n=this.resizerOldWidth-r.clientX+this.resizerPosition,o=this.resizerOldWidthNext+r.clientX-this.resizerPosition):(n=this.resizerOldWidth+r.clientX-this.resizerPosition,o=this.resizerOldWidthNext-r.clientX+this.resizerPosition),this.resizerActiveName&&this.resizerNextName&&(!this.resizerMin||n>this.resizerMin)&&(!this.resizerNextMin||o>this.resizerNextMin)&&(this.resizerCurrentWidths[this.resizerActiveName]=n,this.resizerCurrentWidths[this.resizerNextName]=o,this.resizerActiveDiv.style.width=`${n}px`,this.resizerNextDiv&&(this.resizerNextDiv.style.width=`${o}px`),this.columnsVisibility[this.resizerActiveName]=n,this.columnsVisibility[this.resizerNextName]=o,this.resizerNextName==="nameHeader"?(this.columnsVisibility.name=o-this.state.scrollBarWidth,this.resizerCurrentWidths.name=o-this.state.scrollBarWidth):this.resizerActiveName==="nameHeader"&&(this.columnsVisibility.name=n-this.state.scrollBarWidth,this.resizerCurrentWidths.name=n-this.state.scrollBarWidth),this.customWidth=!0,this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=null,this.forceUpdate()},200))}});Y(this,"resizerMouseUp",()=>{this.localStorage.setItem(`${this.props.dialogName||"App"}.table`,JSON.stringify(this.resizerCurrentWidths)),this.resizerActiveName=null,this.resizerNextName=null,this.resizerActiveDiv=null,this.resizerNextDiv=null,window.removeEventListener("mousemove",this.resizerMouseMove),window.removeEventListener("mouseup",this.resizerMouseUp)});Y(this,"resizerMouseDown",r=>{if(this.storedWidths=this.storedWidths||JSON.parse(JSON.stringify(fr[this.props.width||"lg"])),this.resizerCurrentWidths=this.resizerCurrentWidths||{},this.resizerActiveDiv=r.target.parentNode,this.resizerActiveName=this.resizerActiveDiv.dataset.name||null,this.resizerActiveName){let n=0;if(r.target.dataset.left==="true"){this.resizeLeft=!0,this.resizerNextDiv=this.resizerActiveDiv.previousElementSibling;let o=this.resizerNextDiv.querySelector(".iob-ob-resize-handler");for(;this.resizerNextDiv&&!o&&n<10;)this.resizerNextDiv=this.resizerNextDiv.previousElementSibling,o=this.resizerNextDiv.querySelector(".iob-ob-resize-handler"),n++;(o==null?void 0:o.dataset.left)!=="true"&&(this.resizerNextDiv=this.resizerNextDiv.nextElementSibling)}else this.resizeLeft=!1,this.resizerNextDiv=this.resizerActiveDiv.nextElementSibling;this.resizerNextName=this.resizerNextDiv.dataset.name||null,this.resizerMin=parseInt(this.resizerActiveDiv.dataset.min,10)||0,this.resizerNextMin=parseInt(this.resizerNextDiv.dataset.min,10)||0,this.resizerPosition=r.clientX,this.resizerCurrentWidths[this.resizerActiveName]=this.resizerActiveDiv.offsetWidth,this.resizerOldWidth=this.resizerCurrentWidths[this.resizerActiveName],this.resizerNextName&&(this.resizerCurrentWidths[this.resizerNextName]=this.resizerNextDiv.offsetWidth,this.resizerOldWidthNext=this.resizerCurrentWidths[this.resizerNextName]),window.addEventListener("mousemove",this.resizerMouseMove),window.addEventListener("mouseup",this.resizerMouseUp)}});Y(this,"resizerReset",()=>{this.customWidth=!1,fr[this.props.width||"lg"]=JSON.parse(JSON.stringify(this.storedWidths)),this.calculateColumnsVisibility(),this.localStorage.removeItem(`${this.props.dialogName||"App"}.table`),this.forceUpdate()});const n=this.localStorage.getItem(`${r.dialogName||"App"}.objectSelected`)||"";if(this.selectFirst="",n.startsWith("["))try{const C=JSON.parse(n);this.selectFirst=C[0]||""}catch{}else this.selectFirst=n;let o;const s=this.localStorage.getItem(`${r.dialogName||"App"}.objectExpanded`)||"[]";try{o=JSON.parse(s)}catch{o=[]}let a;const l=r.defaultFilters?"":this.localStorage.getItem(`${r.dialogName||"App"}.objectFilter`)||"";if(l)try{a=JSON.parse(l)}catch{a={...ef}}else r.defaultFilters&&typeof r.defaultFilters=="object"?a={...r.defaultFilters}:a={...ef};if(a.expertMode=r.expertMode!==void 0?r.expertMode:(window._sessionStorage||window.sessionStorage).getItem("App.expertMode")==="true",this.tableRef=N.createRef(),this.filterRefs={},Object.keys(ef).forEach(C=>this.filterRefs[C]=N.createRef()),this.visibleCols=r.columns||fr[r.width||"lg"].fields,r.types&&r.types.length===1){const C=this.visibleCols.indexOf("type");C!==-1&&this.visibleCols.splice(C,1)}this.possibleCols=fr.xl.fields;let u=null;if(r.router){const C=r.router.getLocation();C.id&&C.dialog==="customs"&&(u=[C.id],this.pauseSubscribe(!0))}let p;Array.isArray(r.selected)?p=r.selected:p=[r.selected||""],p=p.map(C=>C.replace(/["']/g,"")).filter(C=>C),this.selectFirst=p.length&&p[0]?p[0]:this.selectFirst;const h=this.localStorage.getItem(`${r.dialogName||"App"}.columns`);let d;try{d=h?JSON.parse(h):null}catch{d=null}let _=null;try{_=_?JSON.parse(_):{}}catch{_={}}this.imagePrefix=r.imagePrefix||".";let g;const v=this.localStorage.getItem(`${r.dialogName||"App"}.foldersFirst`);v==="false"?g=!1:v==="true"?g=!0:g=r.foldersFirst===void 0?!0:r.foldersFirst;let w=!1;try{w=this.props.objectStatesView&&JSON.parse(this.localStorage.getItem(`${r.dialogName||"App"}.objectStatesView`)||"")||!1}catch{}this.state={loaded:!1,foldersFirst:g,selected:p,selectedNonObject:this.localStorage.getItem(`${r.dialogName||"App"}.selectedNonObject`)||"",filter:a,filterKey:0,focused:this.localStorage.getItem(`${r.dialogName||"App"}.focused`)||"",depth:0,expandAllVisible:!1,expanded:o,toast:"",scrollBarWidth:16,customDialog:u,editObjectDialog:"",editObjectAlias:!1,viewFileDialog:"",showAliasEditor:"",enumDialog:null,roleDialog:null,statesView:w,columns:d,columnsForAdmin:null,columnsSelectorShow:!1,columnsAuto:this.localStorage.getItem(`${r.dialogName||"App"}.columnsAuto`)!=="false",columnsWidths:_,columnsDialogTransparent:100,columnsEditCustomDialog:null,customColumnDialogValueChanged:!1,showExportDialog:!1,showAllExportOptions:!1,linesEnabled:this.localStorage.getItem(`${r.dialogName||"App"}.lines`)==="true",showDescription:this.localStorage.getItem(`${r.dialogName||"App"}.desc`)!=="false",showContextMenu:null,noStatesByExportImport:!1,beautifyJsonExport:!0,excludeSystemRepositoriesFromExport:!0,excludeTranslations:!1,tooltipInfo:null,aliasMenu:""},this.texts={name:r.t("ra_Name"),categories:r.t("ra_Categories"),value:r.t("ra_tooltip_value"),ack:r.t("ra_tooltip_ack"),ts:r.t("ra_tooltip_ts"),lc:r.t("ra_tooltip_lc"),from:r.t("ra_tooltip_from"),user:r.t("ra_tooltip_user"),c:r.t("ra_tooltip_comment"),quality:r.t("ra_tooltip_quality"),editObject:r.t("ra_tooltip_editObject"),deleteObject:r.t("ra_tooltip_deleteObject"),customConfig:r.t("ra_tooltip_customConfig"),copyState:r.t("ra_tooltip_copyState"),editState:r.t("ra_tooltip_editState"),close:r.t("ra_Close"),filter_id:r.t("ra_filter_id"),filter_name:r.t("ra_filter_name"),filter_type:r.t("ra_filter_type"),filter_role:r.t("ra_filter_role"),filter_room:r.t("ra_filter_room"),filter_func:r.t("ra_filter_func"),filter_custom:r.t("ra_filter_customs"),filterCustomsWithout:r.t("ra_filter_customs_without"),objectChangedByUser:r.t("ra_object_changed_by_user"),objectChangedBy:r.t("ra_object_changed_by"),objectChangedFrom:r.t("ra_state_changed_from"),stateChangedBy:r.t("ra_state_changed_by"),stateChangedFrom:r.t("ra_state_changed_from"),ownerGroup:r.t("ra_Owner group"),ownerUser:r.t("ra_Owner user"),deviceError:r.t("ra_Error"),deviceDisconnected:r.t("ra_Disconnected"),deviceConnected:r.t("ra_Connected"),aclOwner_read_object:r.t("ra_aclOwner_read_object"),aclOwner_read_state:r.t("ra_aclOwner_read_state"),aclOwner_write_object:r.t("ra_aclOwner_write_object"),aclOwner_write_state:r.t("ra_aclOwner_write_state"),aclGroup_read_object:r.t("ra_aclGroup_read_object"),aclGroup_read_state:r.t("ra_aclGroup_read_state"),aclGroup_write_object:r.t("ra_aclGroup_write_object"),aclGroup_write_state:r.t("ra_aclGroup_write_state"),aclEveryone_read_object:r.t("ra_aclEveryone_read_object"),aclEveryone_read_state:r.t("ra_aclEveryone_read_state"),aclEveryone_write_object:r.t("ra_aclEveryone_write_object"),aclEveryone_write_state:r.t("ra_aclEveryone_write_state"),create:r.t("ra_Create"),createBooleanState:r.t("ra_create_boolean_state"),createNumberState:r.t("ra_create_number_state"),createStringState:r.t("ra_create_string_state"),createState:r.t("ra_create_state"),createChannel:r.t("ra_create_channel"),createDevice:r.t("ra_create_device"),createFolder:r.t("ra_Create folder")},this.levelPadding=r.levelPadding||nXe;const x=this.localStorage.getItem(`${this.props.dialogName||"App"}.table`);if(x)try{const C=JSON.parse(x),M=this.props.width||"lg";this.storedWidths=JSON.parse(JSON.stringify(fr[M])),Object.keys(C).forEach($=>{$==="id"?fr[M].idWidth=C.id:$==="nameHeader"?fr[M].widths.name=C[$]:fr[M].widths[$]!==void 0&&(fr[M].widths[$]=C[$])}),this.customWidth=!0}catch{}this.calculateColumnsVisibility()}async loadAllObjects(r){const n=this.props;try{await new Promise(p=>{this.setState({updating:!0},()=>p())});const o=(this.props.objectsWorker?await this.props.objectsWorker.getObjects(r):await n.socket.getObjects(r,!0))||{};if(n.types&&ds.isWeb())for(let p=0;p{try{if(p(o[h]))this.objects[h]=o[h];else{const d=o[h]&&o[h].type;d&&(d==="channel"||d==="device"||d==="folder"||d==="adapter"||d==="instance")&&(this.objects[h]=o[h])}}catch(d){console.log(`Error by filtering of "${h}": ${d}`)}})}else if(n.types){this.objects={};const p=n.types;Object.keys(o).forEach(h=>{const d=o[h]&&o[h].type;d&&(d==="channel"||d==="device"||d==="enum"||d==="folder"||d==="adapter"||d==="instance"||p.includes(d))&&(this.objects[h]=o[h])})}else this.objects=o;n.setObjectsReference&&n.setObjectsReference(this.objects),this.defaultHistory=this.systemConfig.common.defaultHistory,this.defaultHistory&&n.socket.getState(`system.adapter.${this.defaultHistory}.alive`).then(p=>{(!p||!p.val)&&(this.defaultHistory="")}).catch(p=>window.alert(`Cannot get state: ${p}`));const s=await this.getAdditionalColumns();this.calculateColumnsVisibility(null,null,s);const{info:a,root:l}=ND(this.objects,{imagePrefix:this.props.imagePrefix,root:this.props.root,lang:this.props.lang,themeType:this.props.themeType});this.root=l,this.info=a;const u=this.state.selected&&this.state.selected.length&&UP(this.root,this.state.selected[0]);this.lastAppliedFilter=null,u&&!P0(u,this.state.filter,this.props.lang,this.objects,void 0,void 0,n.customFilter,n.types)?this.setState({filter:{...ef},columnsForAdmin:s},()=>{this.setState({loaded:!0,updating:!1},()=>this.expandAllSelected(()=>this.onAfterSelect()))}):this.setState({loaded:!0,updating:!1,columnsForAdmin:s},()=>this.expandAllSelected(()=>this.onAfterSelect()))}catch(o){this.showError(o)}}static isNonExpertId(r){return!!bC(uo,Xf).find(n=>r.startsWith(n))}expandAllSelected(r){const n=[...this.state.expanded];let o=!1;this.state.selected.forEach(s=>{const a=s.split("."),l=[];for(let u=0;u{this.props.onSelect&&(this.state.focused&&this.props.allowNonObjects?(this.selectFirst&&this.selectFirst!==this.state.selected[0]&&(this.selectFirst=""),this.props.onSelect([this.state.focused],null,r)):this.props.onSelect([],""))}):this.props.onSelect&&(this.state.focused&&this.props.allowNonObjects?(this.selectFirst&&this.selectFirst!==this.state.selected[0]&&(this.selectFirst=""),this.props.onSelect([this.state.focused],null,r)):this.props.onSelect([],""))}static getDerivedStateFromProps(r,n){const o={};let s=!1;return r.expertMode!==void 0&&r.expertMode!==n.filter.expertMode&&(s=!0,o.filter={...n.filter},o.filter.expertMode=r.expertMode),s?o:null}async componentDidMount(){await this.loadAllObjects(!AD),this.props.objectsWorker?this.props.objectsWorker.registerHandler(this.onObjectChangeFromWorker):await this.props.socket.subscribeObject("*",this.onObjectChange),AD=!0,window.addEventListener("contextmenu",this.onContextMenu,!0)}componentWillUnmount(){this.filterTimer&&(clearTimeout(this.filterTimer),this.filterTimer=null),window.removeEventListener("contextmenu",this.onContextMenu,!0),this.props.objectsWorker?this.props.objectsWorker.unregisterHandler(this.onObjectChangeFromWorker,!0):this.props.socket.unsubscribeObject("*",this.onObjectChange).catch(r=>console.error(`Cannot unsubscribe *: ${r}`)),this.subscribes.forEach(r=>{console.log(`- unsubscribe ${r}`),this.props.socket.unsubscribeState(r,this.onStateChange)}),this.subscribes=[],this.objects={}}showDeleteDialog(r){var p,h;const{id:n,obj:o,item:s}=r,a=Object.keys(this.objects);a.sort();let l=0;const u=`${n}.`;for(let d=0;du)break;this.props.onObjectDelete&&this.props.onObjectDelete(n,!!((p=s.children)!=null&&p.length),!((h=o.common)!=null&&h.dontDelete),l+1)}refreshComponent(){this.subscribes.forEach(r=>{console.log(`- unsubscribe ${r}`),this.props.socket.unsubscribeState(r,this.onStateChange)}),this.subscribes=[],this.loadAllObjects(!0).then(()=>console.log("updated!")).catch(r=>this.showError(r))}renderErrorDialog(){return this.state.error?m.createElement(Mr,{open:!0,maxWidth:"sm",fullWidth:!0,onClose:()=>this.setState({error:""}),"aria-labelledby":"error-dialog-title","aria-describedby":"error-dialog-description"},m.createElement(Ar,{id:"alert-dialog-title"},this.props.t("ra_Error")),m.createElement(Vr,null,m.createElement(oa,{id:"alert-dialog-description"},this.state.error)),m.createElement(qr,null,m.createElement(gt,{variant:"contained",onClick:()=>this.setState({error:""}),color:"primary",autoFocus:!0,startIcon:m.createElement(Yn,null)},this.props.t("ra_Ok")))):null}showError(r){this.setState({error:typeof r=="object"?r&&typeof r.toString=="function"?r.toString():JSON.stringify(r):r})}onSelect(r,n,o){if(this.localStorage.setItem(`${this.props.dialogName||"App"}.focused`,r),!this.props.multiSelect)this.objects[r]&&(!this.props.types||this.props.types.includes(this.objects[r].type))?(this.localStorage.removeItem(`${this.props.dialogName||"App"}.selectedNonObject`),this.state.selected[0]!==r?this.setState({selected:[r],selectedNonObject:"",focused:r},()=>{this.onAfterSelect(n),o&&o()}):n&&this.props.onSelect&&this.onAfterSelect(n)):(this.localStorage.setItem(`${this.props.dialogName||"App"}.selectedNonObject`,r),this.setState({selected:[],selectedNonObject:r,focused:r},()=>{this.onAfterSelect(),o&&o()}));else if(this.objects[r]&&(!this.props.types||this.props.types.includes(this.objects[r].type))){this.localStorage.removeItem(`${this.props.dialogName||"App"}.selectedNonObject`);const s=[...this.state.selected],a=s.indexOf(r);a===-1?(s.push(r),s.sort()):n||s.splice(a,1),this.setState({selected:s,selectedNonObject:"",focused:r},()=>{this.onAfterSelect(n),o&&o()})}}_renderDefinedList(r){const n=[...this.possibleCols];if(n.unshift("id"),this.props.columns&&!this.props.columns.includes("buttons")){const o=n.indexOf("buttons");o!==-1&&n.splice(o,1)}return n.filter(o=>r&&(o==="val"||o==="buttons")||!r&&o!=="val"&&o!=="buttons").map(o=>{var s;return m.createElement(GE,{onClick:()=>{if(!this.state.columnsAuto&&o!=="id"){const a=[...this.state.columns||[]],l=a.indexOf(o);l===-1?(a.push(o),a.sort()):a.splice(l,1),this.localStorage.setItem(`${this.props.dialogName||"App"}.columns`,JSON.stringify(a)),this.calculateColumnsVisibility(null,a),this.setState({columns:a})}},key:o},m.createElement(Ut,{edge:"start",disabled:o==="id"||this.state.columnsAuto,checked:o==="id"||!!(this.state.columnsAuto?this.visibleCols.includes(o):(s=this.state.columns)!=null&&s.includes(o)),disableRipple:!0}),m.createElement(Xs,{primary:this.texts[`filter_${o}`]||this.props.t(`ra_${o}`)}))})}renderColumnsSelectorDialog(){return this.state.columnsSelectorShow?m.createElement(Mr,{onClose:()=>this.setState({columnsSelectorShow:!1}),open:!0,sx:{"& .MuiPaper-root":Se.getStyle(this.props.theme,G.dialogColumns,G[`transparent_${this.state.columnsDialogTransparent}`])}},m.createElement(Ar,{sx:G.fontSizeTitle},this.props.t("ra_Configure")),m.createElement(Vr,{sx:G.fontSizeTitle},m.createElement(at,{style:G.switchColumnAuto,control:m.createElement(cu,{checked:this.state.foldersFirst,onChange:()=>{this.localStorage.setItem(`${this.props.dialogName||"App"}.foldersFirst`,this.state.foldersFirst?"false":"true"),this.setState({foldersFirst:!this.state.foldersFirst})}}),label:this.props.t("ra_Folders always first")}),m.createElement(at,{style:G.switchColumnAuto,control:m.createElement(cu,{checked:this.state.linesEnabled,onChange:()=>{this.localStorage.setItem(`${this.props.dialogName||"App"}.lines`,this.state.linesEnabled?"false":"true"),this.setState({linesEnabled:!this.state.linesEnabled})}}),label:this.props.t("ra_Show lines between rows")}),m.createElement(at,{style:G.switchColumnAuto,control:m.createElement(cu,{checked:this.state.columnsAuto,onChange:()=>{this.localStorage.setItem(`${this.props.dialogName||"App"}.columnsAuto`,this.state.columnsAuto?"false":"true"),this.state.columnsAuto?this.state.columns?(this.calculateColumnsVisibility(!1),this.setState({columnsAuto:!1})):(this.calculateColumnsVisibility(!1,[...this.visibleCols]),this.setState({columnsAuto:!1,columns:[...this.visibleCols]})):(this.calculateColumnsVisibility(!0),this.setState({columnsAuto:!0}))}}),label:this.props.t("ra_Auto (no custom columns)")}),m.createElement(Xb,null,this._renderDefinedList(!1),this.state.columnsForAdmin&&Object.keys(this.state.columnsForAdmin).sort().map(r=>this.state.columnsForAdmin&&this.state.columnsForAdmin[r].map(n=>{var o;return m.createElement(GE,{onClick:()=>{if(!this.state.columnsAuto){const s=[...this.state.columns||[]],a=`_${r}_${n.path}`,l=s.indexOf(a);l===-1?(s.push(a),s.sort()):s.splice(l,1),this.calculateColumnsVisibility(null,s),this.localStorage.setItem(`${this.props.dialogName||"App"}.columns`,JSON.stringify(s)),this.setState({columns:s})}},key:`${r}_${n.name}`},m.createElement(sl,null,m.createElement(Ut,{disabled:this.state.columnsAuto,edge:"start",checked:!this.state.columnsAuto&&((o=this.state.columns)==null?void 0:o.includes(`_${r}_${n.path}`)),disableRipple:!0})),m.createElement(Xs,{primary:`${n.name} (${r})`}))})),this._renderDefinedList(!0))),m.createElement(qr,null,m.createElement(gt,{variant:"contained",onClick:()=>this.setState({columnsSelectorShow:!1}),color:"primary",startIcon:m.createElement(Hr,null)},this.texts.close))):null}async getAdditionalColumns(){try{const r=await this.props.socket.getAdapters();let n=null;return r.forEach(o=>n=this.parseObjectForAdmins(n,o)),n}catch(r){return console.error(`Cannot get adapters: ${r}`),null}}checkUnsubscribes(){for(let r=this.subscribes.length-1;r>=0;r--)this.recordStates.includes(this.subscribes[r])||this.unsubscribe(this.subscribes[r]);this.recordStates=[]}findItem(r,n,o,s){if(n=n||r.split("."),o=o||this.root,!o||!n.length)return null;if(s=(s?`${s}.`:"")+n.shift(),o.children){const a=o.children.find(l=>l.data.id===s);if(a){if(a.data.id===r)return a;if(n.length)return this.findItem(r,n,a,s)}else return null}return null}parseObjectForAdmins(r,n){if(n.common&&n.common.adminColumns&&n.common.name){const o=n.common.adminColumns;let s;o&&typeof o!="object"?s=[o]:o&&(s=o);let a;o?a=s.map(l=>{if(typeof l!="object")return{path:l,name:l.split(".").pop()};const u=l;return u.objTypes&&typeof u.objTypes!="object"?u.objTypes=[u.objTypes]:u.objTypes||(u.objTypes=void 0),!u.name&&u.path?{path:u.path,name:u.path.split(".").pop(),width:u.width,edit:!!u.edit,type:u.type,objTypes:u.objTypes}:u.path?{path:u.path,name:On(u.name||"",this.props.lang),width:u.width,edit:!!u.edit,type:u.type,objTypes:u.objTypes}:(console.warn(`Admin columns for ${n._id} ignored, because path not found`),null)}).filter(l=>l):a=null,a&&a.length&&(r=r||{},r[n.common.name]=a.sort((l,u)=>l.path>u.path?-1:l.path{this.objectsUpdateTimer=null;const{info:r,root:n}=ND(this.objects,{imagePrefix:this.props.imagePrefix,root:this.props.root,lang:this.props.lang,themeType:this.props.themeType});this.root=n,this.info=r,this.lastAppliedFilter=null,this.pausedSubscribes||this.forceUpdate()},500))}updateAliases(r){var o,s,a;if(!this.objects||!((o=this.info)!=null&&o.aliasesMap)||!(r!=null&&r.startsWith("alias.")))return;const n=Object.keys(this.objects).filter(l=>l.startsWith("alias.0"));this.info.aliasesMap={};for(const l of n){const u=this.objects[l];if((a=(s=u==null?void 0:u.common)==null?void 0:s.alias)!=null&&a.id)if(typeof u.common.alias.id=="string"){const p=u.common.alias.id;this.info.aliasesMap[p]?this.info.aliasesMap[p].includes(l)||this.info.aliasesMap[p].push(l):this.info.aliasesMap[p]=[l]}else{const p=u.common.alias.id.read;p&&(this.info.aliasesMap[p]?this.info.aliasesMap[p].includes(l)||this.info.aliasesMap[p].push(l):this.info.aliasesMap[p]=[l]);const h=u.common.alias.id.write;h&&(this.info.aliasesMap[h]?this.info.aliasesMap[h].includes(l)||this.info.aliasesMap[h].push(l):this.info.aliasesMap[h]=[l])}}}processOnObjectChangeElement(r,n){console.log(`> objectChange ${r}`);const o=n==null?void 0:n.type;if(n&&typeof this.props.filterFunc=="function"&&!this.props.filterFunc(n)&&o!=="channel"&&o!=="device"&&o!=="folder"&&o!=="adapter"&&o!=="instance")return{newInnerState:null,filtered:!0};let s=null;if(r.startsWith("system.adapter.")&&(n==null?void 0:n.type)==="adapter"){const a=JSON.parse(JSON.stringify(this.state.columnsForAdmin));this.parseObjectForAdmins(a,n),JSON.stringify(this.state.columnsForAdmin)!==JSON.stringify(a)&&(s={columnsForAdmin:a})}return this.objects=this.objects||{},n?this.objects[r]=n:this.objects[r]&&delete this.objects[r],this.updateAliases(r),{newInnerState:s,filtered:!1}}subscribe(r){this.subscribes.includes(r)||(this.subscribes.push(r),console.log(`+ subscribe ${r}`),this.pausedSubscribes||this.props.socket.subscribeState(r,this.onStateChange).catch(n=>console.error(`Cannot subscribe on state ${r}: ${n}`)))}unsubscribe(r){const n=this.subscribes.indexOf(r);n!==-1&&(this.subscribes.splice(n,1),this.states[r]&&delete this.states[r],console.log(`- unsubscribe ${r}`),this.props.socket.unsubscribeState(r,this.onStateChange),this.pausedSubscribes&&console.warn("Unsubscribe during pause?"))}pauseSubscribe(r){!this.pausedSubscribes&&r?(this.pausedSubscribes=!0,this.subscribes.forEach(n=>this.props.socket.unsubscribeState(n,this.onStateChange))):this.pausedSubscribes&&!r&&(this.pausedSubscribes=!1,this.subscribes.forEach(n=>this.props.socket.subscribeState(n,this.onStateChange)))}onFilter(r,n){this.filterTimer=null;const o={...this.state.filter};Object.keys(this.filterRefs).forEach(s=>{if(this.filterRefs[s]&&this.filterRefs[s].current){const a=this.filterRefs[s].current;for(let l=0;lthis.props.onFilterChanged&&this.props.onFilterChanged(o)))}clearFilter(){const r={...this.state.filter};Object.keys(this.filterRefs).forEach(n=>{if(this.filterRefs[n]&&this.filterRefs[n].current){const o=this.filterRefs[n].current;for(let s=0;sthis.props.onFilterChanged&&this.props.onFilterChanged(r)))}isFilterEmpty(){return!Object.keys(this.state.filter).find(n=>n!=="expertMode"&&this.state.filter[n])}getFilterInput(r){var n,o,s;return m.createElement(Ro,{sx:this.styles.filterInput,key:`${r}_${this.state.filterKey}`,margin:"dense"},m.createElement(po,{ref:this.filterRefs[r],classes:{underline:"no-underline"},id:r,placeholder:this.texts[`filter_${r}`],defaultValue:this.state.filter[r]||"",onChange:()=>{this.filterTimer&&clearTimeout(this.filterTimer),this.filterTimer=setTimeout(()=>this.onFilter(),400)},autoComplete:"off"}),(s=(o=(n=this.filterRefs[r])==null?void 0:n.current)==null?void 0:o.firstChild)!=null&&s.value?m.createElement("div",{style:{position:"absolute",right:0}},m.createElement(dt,{size:"small",onClick:()=>{var a;((a=this.filterRefs[r].current)==null?void 0:a.firstChild).value="",this.onFilter(r,"")}},m.createElement(Hr,null))):null)}getFilterSelect(r,n){var s,a,l;const o=!!(n!=null&&n.find(u=>u.icon));return m.createElement("div",{style:{position:"relative"}},m.createElement(Gr,{variant:"standard",key:`${r}_${this.state.filterKey}`,ref:this.filterRefs[r],sx:G.headerCellInput,className:"no-underline",onChange:()=>{this.filterTimer&&clearTimeout(this.filterTimer),this.filterTimer=setTimeout(()=>this.onFilter(),400)},defaultValue:this.state.filter[r]||"",inputProps:{name:r,id:r},displayEmpty:!0},m.createElement(xt,{key:"empty",value:""},m.createElement("span",{style:G.selectNone},this.texts[`filter_${r}`])),n==null?void 0:n.map(u=>{let p,h,d;return typeof u=="object"?(p=u.value,h=u.name,d=u.icon):(p=u,h=u),m.createElement(xt,{sx:G.headerCellSelectItem,key:p,value:p},d||(o?m.createElement("div",{className:"itemIcon"}):null),h)})),(l=(a=(s=this.filterRefs[r])==null?void 0:s.current)==null?void 0:a.childNodes[1])!=null&&l.value?m.createElement(nt,{component:"div",sx:G.selectClearButton},m.createElement(dt,{size:"small",onClick:()=>{var p;const u={...this.state.filter};u[r]="",((p=this.filterRefs[r].current)==null?void 0:p.childNodes[1]).value="",this.localStorage.setItem(`${this.props.dialogName||"App"}.objectFilter`,JSON.stringify(u)),this.setState({filter:u,filterKey:this.state.filterKey+1},()=>this.props.onFilterChanged&&this.props.onFilterChanged(u))}},m.createElement(Hr,null))):null)}getFilterSelectRole(){return this.getFilterSelect("role",this.info.roles.map(r=>r.role))}getFilterSelectRoom(){const r=this.info.roomEnums.map(n=>{var o,s,a,l;return{name:On((s=(o=this.objects[n])==null?void 0:o.common)==null?void 0:s.name,this.props.lang)||n.split(".").pop(),value:n,icon:m.createElement(Ua,{src:((l=(a=this.objects[n])==null?void 0:a.common)==null?void 0:l.icon)||"",style:G.selectIcon})}});return this.getFilterSelect("room",r)}getFilterSelectFunction(){const r=this.info.funcEnums.map(n=>{var o,s,a,l;return{name:On((s=(o=this.objects[n])==null?void 0:o.common)==null?void 0:s.name,this.props.lang)||n.split(".").pop(),value:n,icon:m.createElement(Ua,{src:((l=(a=this.objects[n])==null?void 0:a.common)==null?void 0:l.icon)||"",style:G.selectIcon})}});return this.getFilterSelect("func",r)}getFilterSelectType(){const r=this.info.types.map(n=>({name:n,value:n,icon:MD[n]||null}));return this.getFilterSelect("type",r)}getFilterSelectCustoms(){if(this.info.customs.length>1){const r=this.info.customs.map(n=>({name:n==="_"?this.texts.filterCustomsWithout:n,value:n,icon:n==="_"?null:m.createElement(Ua,{src:Hf(this.objects,n,this.props.lang,this.imagePrefix)||"",style:G.selectIcon})}));return this.getFilterSelect("custom",r)}return null}onExpandAll(r,n){var s;const o=r||this.root;n=n||[],(s=o==null?void 0:o.children)==null||s.forEach(a=>{a.data.sumVisibility&&(n.push(a.data.id),this.onExpandAll(a,n))}),o===this.root&&(n.sort(),this.localStorage.setItem(`${this.props.dialogName||"App"}.objectExpanded`,JSON.stringify(n)),this.setState({expanded:n}))}onCollapseAll(){this.localStorage.setItem(`${this.props.dialogName||"App"}.objectExpanded`,JSON.stringify([])),this.localStorage.setItem(`${this.props.dialogName||"App"}.objectSelected`,"[]"),this.setState({expanded:[],depth:0,selected:[]},()=>this.onAfterSelect())}expandDepth(r,n,o){var s;r=r||this.root,n>0&&((s=r.children)==null||s.forEach(a=>{a.data.sumVisibility&&(Uu(o,a.data.id)||(o.push(a.data.id),o.sort()),n-1>0&&this.expandDepth(a,n-1,o))}))}static collapseDepth(r,n){return n.filter(o=>o.split(".").length<=r)}onExpandVisible(){if(this.state.depth<9){const r=this.state.depth+1,n=[...this.state.expanded];this.root&&this.expandDepth(this.root,r,n),this.localStorage.setItem(`${this.props.dialogName||"App"}.objectExpanded`,JSON.stringify(n)),this.setState({depth:r,expanded:n})}}onStatesViewVisible(){const r=!this.state.statesView;this.localStorage.setItem(`${this.props.dialogName||"App"}.objectStatesView`,JSON.stringify(r)),this.setState({statesView:r})}onCollapseVisible(){if(this.state.depth>0){const r=this.state.depth-1,n=uo.collapseDepth(r,this.state.expanded);this.localStorage.setItem(`${this.props.dialogName||"App"}.objectExpanded`,JSON.stringify(n)),this.setState({depth:r,expanded:n})}}async loadObjects(r){if(r)for(const n in r){if(!Object.prototype.hasOwnProperty.call(r,n)||!r[n])continue;const o=r[n];let s=null,a,l;o&&o.common&&o.common.enums?(s=o.common.enums,delete o.common.enums):s=null,(o.val||o.val===0)&&(a=o.val,delete o.val),o.ack!==void 0&&(l=o.ack,delete o.ack);try{if(await this.props.socket.setObject(n,o),s&&await this._createAllEnums(s,o._id),o.type==="state")if(a!=null)try{await this.props.socket.setState(o._id,a,l!==void 0?l:!0)}catch(u){window.alert(`Cannot set state "${o._id} with ${a}": ${u}`)}else try{const u=await this.props.socket.getState(o._id);if(!u||u.val===null)try{await this.props.socket.setState(o._id,!o.common||o.common.def===void 0?null:o.common.def,!0)}catch(p){window.alert(`Cannot set state "${o._id}": ${p}`)}}catch(u){window.alert(`Cannot read state "${o._id}": ${u}`)}}catch(u){window.alert(u)}}}_getSelectedIdsForExport(){if(this.state.selected.length||this.state.selectedNonObject){const r=[],n=Object.keys(this.objects);n.sort();const o=this.state.selected[0]||this.state.selectedNonObject,s=`${o}.`,a=s.length;for(let l=0;ls)break}return r}return[]}async _exportObjects(r){var a;if(r.isAll){OD("allObjects.json",this.objects,r);return}if(!(this.state.selected.length||this.state.selectedNonObject)){window.alert(this.props.t("ra_Save of objects-tree is not possible"));return}const n={},o=this.state.selected[0]||this.state.selectedNonObject,s=this._getSelectedIdsForExport();for(const l of s){if(n[l]=JSON.parse(JSON.stringify(this.objects[l])),((a=n[l])==null?void 0:a.type)==="state"&&!r.noStatesByExportImport){const u=await this.props.socket.getState(l);u&&(n[l].val=u.val,n[l].ack=u.ack)}if(n[l].common){const u=this.getEnumsForId(l);u&&(n[l].common.enums=u)}}OD(`${o}.json`,n,r)}renderExportDialog(){return this.state.showExportDialog===!1?null:m.createElement(Mr,{open:!0,maxWidth:"lg"},m.createElement(Ar,null,this.props.t("ra_Select type of export")),m.createElement(Vr,null,m.createElement(oa,null,this.state.filter.expertMode||this.state.showAllExportOptions?m.createElement(m.Fragment,null,this.props.t("ra_You can export all objects or just the selected branch."),m.createElement("br",null),this.props.t("ra_Selected %s object(s)",this.state.showExportDialog),m.createElement("br",null),m.createElement(at,{control:m.createElement(Ut,{checked:this.state.noStatesByExportImport,onChange:r=>this.setState({noStatesByExportImport:r.target.checked})}),label:this.props.t("ra_Do not export values of states")}),m.createElement("br",null),this.props.t("These options can reduce the size of the export file:"),m.createElement(at,{control:m.createElement(Ut,{checked:this.state.beautifyJsonExport,onChange:r=>this.setState({beautifyJsonExport:r.target.checked})}),label:this.props.t("Beautify JSON output")}),m.createElement("br",null),m.createElement(at,{control:m.createElement(Ut,{checked:this.state.excludeSystemRepositoriesFromExport,onChange:r=>this.setState({excludeSystemRepositoriesFromExport:r.target.checked})}),label:this.props.t("Exclude system repositories from export JSON")}),m.createElement(at,{control:m.createElement(Ut,{checked:this.state.excludeTranslations,onChange:r=>this.setState({excludeTranslations:r.target.checked})}),label:this.props.t("Exclude translations (except english) from export JSON")})):null)),m.createElement(qr,null,this.state.filter.expertMode||this.state.showAllExportOptions?m.createElement(gt,{color:"grey",variant:"outlined",onClick:()=>this.setState({showExportDialog:!1,showAllExportOptions:!1},()=>this._exportObjects({isAll:!0,noStatesByExportImport:this.state.noStatesByExportImport,beautify:this.state.beautifyJsonExport,excludeSystemRepositories:this.state.excludeSystemRepositoriesFromExport,excludeTranslations:this.state.excludeTranslations}))},m.createElement("span",{style:{marginRight:8}},this.props.t("ra_All objects")),"(",Object.keys(this.objects).length,")"):m.createElement(gt,{color:"grey",variant:"outlined",startIcon:m.createElement($0,null),onClick:()=>this.setState({showAllExportOptions:!0})},this.props.t("ra_Advanced options")),m.createElement(gt,{color:"primary",variant:"contained",autoFocus:!0,onClick:()=>this.setState({showExportDialog:!1,showAllExportOptions:!1},()=>this._exportObjects({isAll:!1,noStatesByExportImport:this.state.noStatesByExportImport,beautify:this.state.beautifyJsonExport,excludeSystemRepositories:this.state.excludeSystemRepositoriesFromExport,excludeTranslations:this.state.excludeTranslations}))},m.createElement("span",{style:{marginRight:8}},this.props.t("ra_Only selected")),"(",this.state.showExportDialog,")"),m.createElement(gt,{color:"grey",variant:"contained",onClick:()=>this.setState({showExportDialog:!1,showAllExportOptions:!1}),startIcon:m.createElement(Hr,null)},this.props.t("ra_Cancel"))))}handleJsonUpload(r){var s;const n=r.target,o=((s=n.files)==null?void 0:s.length)&&n.files[0];if(o){const a=new FileReader;a.onload=async l=>{var p;const u=(p=l.target)==null?void 0:p.result;try{const h=JSON.parse(u),d=Object.keys(h).length,_=h._id;if(_===void 0&&d)await this.loadObjects(h),window.alert(this.props.t("ra_%s object(s) processed",d));else{if(!_)return window.alert(this.props.t("ra_Invalid structure"));try{let g,v,w;if(h.common.enums&&(g=h.common.enums,delete h.common.enums),h.val&&(v=h.val,delete h.val),h.ack!==void 0&&(w=h.ack,delete h.ack),await this.props.socket.setObject(h._id,h),h.type==="state")if(v!=null)await this.props.socket.setState(h._id,v,w===void 0?!0:w);else{const x=await this.props.socket.getState(h._id);(!x||x.val===null||x.val===void 0)&&await this.props.socket.setState(h._id,h.common.def===void 0?null:h.common.def,!0)}g&&await this._createAllEnums(g,h._id),window.alert(this.props.t("ra_%s was imported",h._id))}catch(g){window.alert(g)}}}catch(h){window.alert(h)}return null},a.readAsText(o)}else window.alert(this.props.t("ra_Failed to open JSON File"))}getToolbar(){let r=!1;if(this.state.selected.length||this.state.selectedNonObject){const n=this.state.selected[0]||this.state.selectedNonObject;n.split(".").length<2||this.objects[n]&&this.objects[n].type==="state"?r=!1:(this.state.filter.expertMode||n.startsWith("alias.0")||n.startsWith("0_userdata"))&&(r=!0)}return m.createElement("div",{style:{display:"flex",width:"100%",alignItems:"center",overflowX:"auto"}},m.createElement("div",{style:{display:"flex",width:"100%",alignItems:"center"}},m.createElement(wr,{title:this.props.t("ra_Refresh tree"),slotProps:{popper:{sx:G.tooltip}}},m.createElement("div",null,m.createElement(dt,{onClick:()=>this.refreshComponent(),disabled:this.state.updating,size:"large"},m.createElement(hA,null)))),this.props.showExpertButton&&!this.props.expertMode&&m.createElement(wr,{title:this.props.t("ra_expertMode"),slotProps:{popper:{sx:G.tooltip}}},m.createElement(dt,{key:"expertMode",color:this.state.filter.expertMode?"secondary":"default",onClick:()=>this.onFilter("expertMode",!this.state.filter.expertMode),size:"large"},m.createElement($0,null))),!this.props.disableColumnSelector&&this.props.width!=="xs"&&m.createElement(wr,{title:this.props.t("ra_Configure"),slotProps:{popper:{sx:G.tooltip}}},m.createElement(dt,{key:"columnSelector",color:this.state.columnsAuto?"primary":"default",onClick:()=>this.setState({columnsSelectorShow:!0}),size:"large"},m.createElement(vV,null))),this.props.width!=="xs"&&this.state.expandAllVisible&&m.createElement(wr,{title:this.props.t("ra_Expand all nodes"),slotProps:{popper:{sx:G.tooltip}}},m.createElement(dt,{key:"expandAll",onClick:()=>this.onExpandAll(),size:"large"},m.createElement(pf,null))),m.createElement(wr,{title:this.props.t("ra_Collapse all nodes"),slotProps:{popper:{sx:G.tooltip}}},m.createElement(dt,{key:"collapseAll",onClick:()=>this.onCollapseAll(),size:"large"},m.createElement(Ml,null))),this.props.width!=="xs"&&m.createElement(wr,{title:this.props.t("ra_Expand one step node"),slotProps:{popper:{sx:G.tooltip}}},m.createElement(dt,{key:"expandVisible",color:"primary",onClick:()=>this.onExpandVisible(),size:"large"},m.createElement(jE,{badgeContent:this.state.depth,color:"secondary",sx:n=>({badge:{right:3,top:3,border:`2px solid ${n.palette.background.paper}`,padding:"0 4px"}})},m.createElement(pf,null)))),this.props.width!=="xs"&&m.createElement(wr,{title:this.props.t("ra_Collapse one step node"),slotProps:{popper:{sx:G.tooltip}}},m.createElement(dt,{key:"collapseVisible",color:"primary",onClick:()=>this.onCollapseVisible(),size:"large"},m.createElement(jE,{sx:n=>({badge:{right:3,top:3,border:`2px solid ${n.palette.background.paper}`,padding:"0 4px"}}),badgeContent:this.state.depth,color:"secondary"},m.createElement(Ml,null)))),this.props.objectStatesView&&m.createElement(wr,{title:this.props.t("ra_Toggle the states view"),slotProps:{popper:{sx:G.tooltip}}},m.createElement(dt,{onClick:()=>this.onStatesViewVisible(),size:"large"},m.createElement(dV,{color:this.state.statesView?"primary":"inherit"}))),m.createElement(wr,{title:this.props.t("ra_Show/Hide object descriptions"),slotProps:{popper:{sx:G.tooltip}}},m.createElement(dt,{onClick:()=>{this.localStorage.setItem(`${this.props.dialogName||"App"}.desc`,this.state.showDescription?"false":"true"),this.setState({showDescription:!this.state.showDescription})},size:"large"},m.createElement(mV,{color:this.state.showDescription?"primary":"inherit"}))),this.props.objectAddBoolean?m.createElement(wr,{title:this.toolTipObjectCreating(),slotProps:{popper:{sx:G.tooltip}}},m.createElement("div",null,m.createElement(dt,{disabled:!r,onClick:()=>this.setState({modalNewObj:{id:this.state.selected[0]||this.state.selectedNonObject}}),size:"large"},m.createElement(p0,null)))):null,this.props.objectImportExport&&m.createElement(wr,{title:this.props.t("ra_Add objects tree from JSON file"),slotProps:{popper:{sx:G.tooltip}}},m.createElement(dt,{onClick:()=>{const n=document.createElement("input");n.setAttribute("type","file"),n.setAttribute("id","files"),n.setAttribute("opacity","0"),n.addEventListener("change",o=>this.handleJsonUpload(o),!1),n.click()},size:"large"},m.createElement(Af,null))),this.props.objectImportExport&&(!!this.state.selected.length||this.state.selectedNonObject)&&m.createElement(wr,{title:this.props.t("ra_Save objects tree as JSON file"),slotProps:{popper:{sx:G.tooltip}}},m.createElement(dt,{onClick:()=>this.setState({showExportDialog:this._getSelectedIdsForExport().length}),size:"large"},m.createElement(Af,{style:{transform:"rotate(180deg)"}})))),!!this.props.objectBrowserEditObject&&this.props.width!=="xs"&&m.createElement("div",{style:{display:"flex",whiteSpace:"nowrap"}},`${this.props.t("ra_Objects")}: ${Object.keys(this.info.objects).length}, ${this.props.t("ra_States")}: ${Object.keys(this.info.objects).filter(n=>this.info.objects[n].type==="state").length}`),this.props.objectEditBoolean&&m.createElement(wr,{title:this.props.t("ra_Edit custom config"),slotProps:{popper:{sx:G.tooltip}}},m.createElement(dt,{onClick:()=>{var o;const n=this.root?BP(this.root,"state",this.objects):[];n.length?(this.pauseSubscribe(!0),n.length===1&&(this.localStorage.setItem(`${this.props.dialogName||"App"}.objectSelected`,this.state.selected[0]),(o=this.props.router)==null||o.doNavigate(null,"custom",this.state.selected[0])),this.setState({customDialog:n,customDialogAll:!0})):this.setState({toast:this.props.t("ra_please select object")})},size:"large"},m.createElement(Xq,null))))}toggleExpanded(r){const n=JSON.parse(JSON.stringify(this.state.expanded)),o=n.indexOf(r);o===-1?(n.push(r),n.sort()):n.splice(o,1),this.localStorage.setItem(`${this.props.dialogName||"App"}.objectExpanded`,JSON.stringify(n)),this.setState({expanded:n})}onCopy(r,n){r.stopPropagation(),r.preventDefault(),n&&(Se.copyToClipboard(n),n.length<50?this.setState({toast:this.props.t("ra_Copied %s",n)}):this.setState({toast:this.props.t("ra_Copied")}))}renderColumnButtons(r,n){var l,u,p;if(!n.data.obj)return this.props.onObjectDelete||this.props.objectEditOfAccessControl?m.createElement("div",{style:G.buttonDiv},this.state.filter.expertMode&&this.props.objectEditOfAccessControl?m.createElement(dt,{sx:{...G.cellButtonsButton,...G.cellButtonsEmptyButton,...G.cellButtonMinWidth},onClick:()=>this.setState({modalEditOfAccess:!0,modalEditOfAccessObjData:n.data}),size:"large"},m.createElement("div",{style:{height:15}},"---")):null,this.props.onObjectDelete&&n.children&&n.children.length?m.createElement(dt,{sx:{...G.cellButtonsButton,...G.cellButtonsButtonAlone},size:"small","aria-label":"delete",title:this.texts.deleteObject,onClick:()=>{var g;const h=Object.keys(this.objects);h.sort();let d=0;const _=`${r}.`;for(let v=0;v_)break;this.props.onObjectDelete&&this.props.onObjectDelete(r,!!((g=n.children)!=null&&g.length),!1,d+1)}},m.createElement(sa,{style:G.cellButtonsButtonIcon})):null):null;n.data.aclTooltip=n.data.aclTooltip||this.renderTooltipAccessControl(n.data.obj.acl);const o=n.data.obj.acl?n.data.obj.type==="state"?n.data.obj.acl.state:n.data.obj.acl.object:0,s=n.data.obj.acl&&(n.data.obj.type==="state"?this.systemConfig.common.defaultNewAcl.state:this.systemConfig.common.defaultNewAcl.object),a=this.state.filter.expertMode||uo.isNonExpertId(n.data.id);return[this.state.filter.expertMode&&this.props.objectEditOfAccessControl?m.createElement(wr,{key:"acl",title:n.data.aclTooltip,slotProps:{popper:{sx:G.tooltip}}},m.createElement(dt,{sx:{...G.cellButtonsButton,...G.cellButtonMinWidth,opacity:1},onClick:()=>this.setState({modalEditOfAccess:!0,modalEditOfAccessObjData:n.data}),size:"large"},m.createElement("div",{style:G.aclText},Number.isNaN(Number(o))?Number(s).toString(16):Number(o).toString(16)))):m.createElement("div",{key:"aclEmpty",style:G.cellButtonMinWidth}),a?m.createElement(dt,{key:"edit",sx:{marginRight:"2px",...G.cellButtonsButton},size:"small","aria-label":"edit",title:this.texts.editObject,onClick:()=>{this.localStorage.setItem(`${this.props.dialogName||"App"}.objectSelected`,r),this.setState({editObjectDialog:r,editObjectAlias:!1})}},m.createElement(ku,{style:G.cellButtonsButtonIcon})):m.createElement(nt,{component:"div",key:"editDisabled",sx:G.cellButtonsButton}),this.props.onObjectDelete&&((l=n.children)!=null&&l.length||!((u=n.data.obj.common)!=null&&u.dontDelete))?m.createElement(dt,{key:"delete",sx:G.cellButtonsButton,size:"small","aria-label":"delete",onClick:()=>{var g,v,w;const h=Object.keys(this.objects);h.sort();let d=0;const _=`${r}.`;for(let x=0;x_)break;this.props.onObjectDelete&&this.props.onObjectDelete(r,!!((g=n.children)!=null&&g.length),!((w=(v=n.data.obj)==null?void 0:v.common)!=null&&w.dontDelete),d)},title:this.texts.deleteObject},m.createElement(sa,{style:G.cellButtonsButtonIcon})):null,this.props.objectCustomDialog&&this.info.hasSomeCustoms&&n.data.obj.type==="state"&&((p=n.data.obj.common)==null?void 0:p.type)!=="file"?m.createElement(dt,{sx:{...G.cellButtonsButton,...n.data.hasCustoms?this.styles.cellButtonsButtonWithCustoms:G.cellButtonsButtonWithoutCustoms},key:"custom",size:"small","aria-label":"config",title:this.texts.customConfig,onClick:()=>{var h;this.localStorage.setItem(`${this.props.dialogName||"App"}.objectSelected`,r),this.pauseSubscribe(!0),(h=this.props.router)==null||h.doNavigate(null,"customs",r),this.setState({customDialog:[r],customDialogAll:!1})}},m.createElement(h0,{style:G.cellButtonsButtonIcon})):null]}readHistory(r){var n,o;if(window.sparkline&&this.defaultHistory&&((o=(n=this.objects[r])==null?void 0:n.common)!=null&&o.custom)&&this.objects[r].common.custom[this.defaultHistory]){const s=new Date;s.setHours(s.getHours()-24),s.setMinutes(0),s.setSeconds(0),s.setMilliseconds(0);const a=s.getTime();this.props.socket.getHistory(r,{instance:this.defaultHistory,start:a,end:Date.now(),step:36e5,from:!1,ack:!1,q:!1,addId:!1,aggregate:"minmax"}).then(l=>{const u=window.document.getElementsByClassName("sparkline");for(let p=0;pconsole.warn(`Cannot read history: ${l}`))}}getTooltipInfo(r,n){var p,h;const o=this.objects[r],s=this.states[r],{valFull:a,fileViewer:l}=mb({state:s,obj:o,texts:this.texts,dateFormat:this.props.dateFormat||this.systemConfig.common.dateFormat,isFloatComma:this.props.isFloatComma===void 0?this.systemConfig.common.isFloatComma:this.props.isFloatComma,full:!0}),u=[];a==null||a.forEach(d=>{d.t===this.texts.quality&&s.q?(u.push(m.createElement("div",{style:G.cellValueTooltipBoth,key:d.t},d.t,": ",d.v)),d.nbr||u.push(m.createElement("br",{key:`${d.t}_br`}))):(u.push(m.createElement("div",{style:G.cellValueTooltipTitle,key:d.t},d.t,": ")),u.push(m.createElement("div",{style:G.cellValueTooltipValue,key:`${d.t}_v`},d.v)),d.nbr||u.push(m.createElement("br",{key:`${d.t}_br`})))}),l==="image"?u.push(m.createElement("img",{style:G.cellValueTooltipImage,src:s.val,alt:r})):this.defaultHistory&&((h=(p=this.objects[r])==null?void 0:p.common)!=null&&h.custom)&&this.objects[r].common.custom[this.defaultHistory]&&u.push(m.createElement("svg",{key:"sparkline",className:"sparkline","data-id":r,style:{fill:"#3d85de"},width:"200",height:"30",strokeWidth:"3"})),this.setState({tooltipInfo:{el:u,id:r}},()=>n&&n())}renderColumnValue(r,n,o){var p,h;const s=n.data.obj;if(!s||!this.states)return null;if(((p=s.common)==null?void 0:p.type)==="file")return m.createElement(nt,{component:"div",sx:{...G.cellValueText,...G.cellValueFile}},"[file]");if(!this.states[r])return s.type==="state"&&(this.recordStates.includes(r)||this.recordStates.push(r),this.states[r]={val:null},this.subscribe(r)),null;this.recordStates.includes(r)||this.recordStates.push(r);const a=this.states[r];let l=n.data.state;if(!l){const{valText:d}=mb({state:a,obj:s,texts:this.texts,dateFormat:this.props.dateFormat||this.systemConfig.common.dateFormat,isFloatComma:this.props.isFloatComma===void 0?this.systemConfig.common.isFloatComma:this.props.isFloatComma}),_=[];n.data.state={valTextRx:_};const g=d.v||"";_.push(m.createElement("span",{className:`newValueBrowser-${this.props.themeType||"light"}`,key:`${d.v.toString()}valText`,style:{whiteSpace:"nowrap",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis"}},d.v.toString())),d.u&&_.push(m.createElement("span",{className:`newValueBrowser-${this.props.themeType||"light"}`,style:G.cellValueTextUnit,key:`${d.v.toString()}unit`},d.u)),d.s!==void 0&&_.push(m.createElement("span",{style:G.cellValueTextState,className:`newValueBrowser-${this.props.themeType||"light"}`,key:`${d.v.toString()}states`},"(",d.s,")")),o||_.push(m.createElement(Qi,{className:"copyButton",style:this.styles.iconCopy,onClick:v=>this.onCopy(v,g),key:"cc"})),l=n.data.state}l.style=cXe({state:a,isExpertMode:this.state.filter.expertMode,isButton:n.data.button});let u=l.valTextRx;return this.state.filter.expertMode||(n.data.button?u=[m.createElement(sXe,{key:"button",style:{color:l.style.color,...G.cellValueButton}})]:n.data.switch&&(u=[m.createElement(cu,{key:"switch",sx:{"& .MuiSwitch-thumb":{color:l.style.color},"& .MuiSwitch-track":{backgroundColor:this.states[r].val&&this.state.selected.includes(r)?this.props.themeType==="dark"?"#FFF !important":"#111 !important":void 0}},checked:!!this.states[r].val})])),m.createElement(wr,{key:"value",title:(h=this.state.tooltipInfo)==null?void 0:h.el,slotProps:{popper:{sx:G.cellValueTooltipBox},tooltip:{sx:G.cellValueTooltip}},onOpen:()=>this.getTooltipInfo(r,()=>this.readHistory(r)),onClose:()=>{var d;return((d=this.state.tooltipInfo)==null?void 0:d.id)===r&&this.setState({tooltipInfo:null})}},m.createElement(nt,{component:"div",style:l.style,sx:{...G.cellValueText,height:o?void 0:en,"& .admin-button:active":{transform:"translate(0, 2px)"}}},u))}_syncEnum(r,n,o,s){var u,p,h;if(!n||!n.length){s&&s();return}const a=n.pop()||"",l=[];if((u=this.info.objects[a])!=null&&u.common){if((p=this.info.objects[a].common.members)!=null&&p.length){const d=this.info.objects[a].common.members.indexOf(r);if(d!==-1&&!o.includes(a)){const _=JSON.parse(JSON.stringify(this.info.objects[a]));_.common.members.splice(d,1),l.push(this.props.socket.setObject(a,_).then(()=>this.info.objects[a]=_).catch(g=>this.showError(g)))}}if(o.includes(a)&&!((h=this.info.objects[a].common.members)!=null&&h.includes(r))){const d=JSON.parse(JSON.stringify(this.info.objects[a]));d.common.members=d.common.members||[],d.common.members.push(r),d.common.members.sort(),l.push(this.props.socket.setObject(a,d).then(()=>this.info.objects[a]=d).catch(_=>this.showError(_)))}}Promise.all(l).then(()=>{setTimeout(()=>this._syncEnum(r,n,o,s),0)})}syncEnum(r,n,o){const s=[...this.info[n==="func"?"funcEnums":"roomEnums"]];return new Promise(a=>{this._syncEnum(r,s,o,()=>{a()})})}renderEnumDialog(){if(!this.state.enumDialog)return null;const r=this.state.enumDialog.type,n=this.state.enumDialog.item,o=this.state.enumDialogEnums,s=this.state.enumDialog.enumsOriginal,a=(r==="room"?this.info.roomEnums:this.info.funcEnums).map(l=>{var u,p;return{name:On(((p=(u=this.objects[l])==null?void 0:u.common)==null?void 0:p.name)||l.split(".").pop()||"",this.props.lang),value:l,icon:Hf(this.objects,l,this.props.lang,this.imagePrefix)}}).sort((l,u)=>l.name>u.name?1:-1);return a.forEach(l=>{l.icon&&typeof l.icon=="string"&&(l.icon=m.createElement(nt,{style:G.enumIconDiv},m.createElement("img",{src:l.icon,style:G.enumIcon,alt:l.name})))}),m.createElement(Mr,{sx:{"& .MuiPaper-root":G.enumDialog},onClose:()=>this.setState({enumDialog:null}),"aria-labelledby":"enum-dialog-title",open:!0},m.createElement(Ar,{id:"enum-dialog-title"},r==="func"?this.props.t("ra_Define functions"):this.props.t("ra_Define rooms"),m.createElement(ps,{sx:G.enumButton,color:"primary",disabled:s===JSON.stringify(o),size:"small",onClick:()=>this.syncEnum(n.data.id,r,o).then(()=>this.setState({enumDialog:null,enumDialogEnums:null}))},m.createElement(Yn,null))),m.createElement(Xb,{sx:{"&.MuiList-root":G.enumList}},a.map(l=>{let u,p,h;typeof l=="object"?(u=l.value,p=l.name,h=l.icon):(u=l,p=l);const d=`checkbox-list-label-${u}`;return m.createElement(C9,{sx:G.headerCellSelectItem,key:u,onClick:()=>{const _=o.indexOf(u),g=JSON.parse(JSON.stringify(this.state.enumDialogEnums));_===-1?(g.push(u),g.sort()):g.splice(_,1),this.setState({enumDialogEnums:g})},secondaryAction:h},m.createElement(sl,{sx:{"&.MuiListItemIcon-root":G.enumCheckbox}},m.createElement(Ut,{edge:"start",checked:o.includes(u),tabIndex:-1,disableRipple:!0,inputProps:{"aria-labelledby":d}})),m.createElement(Xs,{id:d},p))})))}renderEditRoleDialog(){var r,n;if(!this.state.roleDialog||!this.props.objectBrowserEditRole)return null;if(this.state.roleDialog&&this.props.objectBrowserEditRole){const o=this.props.objectBrowserEditRole;return m.createElement(o,{key:"objectBrowserEditRole",id:this.state.roleDialog,socket:this.props.socket,t:this.props.t,roleArray:this.info.roles,commonType:(n=(r=this.info.objects[this.state.roleDialog])==null?void 0:r.common)==null?void 0:n.type,onClose:s=>{s&&(this.info.objects[this.state.roleDialog]=s),this.setState({roleDialog:null})}})}return null}onColumnsEditCustomDialogClose(r){var o,s;const n=this.customColumnDialog;if(r){let a=n.value;n.type==="boolean"?a=a==="true"||a===!0:n.type==="number"&&(a=parseFloat(a)),this.customColumnDialog=null,this.props.socket.getObject(((s=(o=this.state.columnsEditCustomDialog)==null?void 0:o.obj)==null?void 0:s._id)||"").then(l=>{var u;if(l&&uo.setCustomValue(l,(u=this.state.columnsEditCustomDialog)==null?void 0:u.it,a))return this.props.socket.setObject(l._id,l);throw new Error(this.props.t("ra_Cannot update attribute, because not found in the object"))}).then(()=>this.setState({columnsEditCustomDialog:null})).catch(l=>this.showError(l))}else this.customColumnDialog=null,this.setState({columnsEditCustomDialog:null})}renderColumnsEditCustomDialog(){if(!this.state.columnsEditCustomDialog)return null;if(!this.customColumnDialog){const r=uo.getCustomValue(this.state.columnsEditCustomDialog.obj,this.state.columnsEditCustomDialog.it);this.customColumnDialog={type:this.state.columnsEditCustomDialog.it.type||typeof r,initValue:(r??"").toString(),value:(r??"").toString()}}return m.createElement(Mr,{onClose:()=>this.setState({columnsEditCustomDialog:null}),maxWidth:"md","aria-labelledby":"custom-dialog-title",open:!0},m.createElement(Ar,{id:"custom-dialog-title"},`${this.props.t("ra_Edit object field")}: ${this.state.columnsEditCustomDialog.obj._id}`),m.createElement(Vr,null,m.createElement(oa,{id:"alert-dialog-description"},this.customColumnDialog.type==="boolean"?m.createElement(at,{control:m.createElement(Ut,{onKeyUp:r=>r.key==="Enter"&&this.onColumnsEditCustomDialogClose(!0),defaultChecked:this.customColumnDialog.value==="true",onChange:r=>{const n=this.customColumnDialog;n.value=r.target.checked.toString();const o=n.value!==n.initValue;o===!this.state.customColumnDialogValueChanged&&this.setState({customColumnDialogValueChanged:o})}}),label:`${this.state.columnsEditCustomDialog.it.name} (${this.state.columnsEditCustomDialog.it.pathText})`}):m.createElement(ot,{variant:"standard",defaultValue:this.customColumnDialog.value,fullWidth:!0,onKeyUp:r=>r.key==="Enter"&&this.onColumnsEditCustomDialogClose(!0),label:`${this.state.columnsEditCustomDialog.it.name} (${this.state.columnsEditCustomDialog.it.pathText})`,onChange:r=>{const n=this.customColumnDialog;n.value=r.target.value;const o=n.value!==n.initValue;o===!this.state.customColumnDialogValueChanged&&this.setState({customColumnDialogValueChanged:o})},autoFocus:!0}))),m.createElement(qr,null,m.createElement(gt,{variant:"contained",onClick:()=>this.onColumnsEditCustomDialogClose(!0),disabled:!this.state.customColumnDialogValueChanged,color:"primary",startIcon:m.createElement(Yn,null)},this.props.t("ra_Update")),m.createElement(gt,{color:"grey",variant:"contained",onClick:()=>this.onColumnsEditCustomDialogClose(),startIcon:m.createElement(Hr,null)},this.props.t("ra_Cancel"))))}static getCustomValue(r,n){var o;if((o=r==null?void 0:r._id)!=null&&o.startsWith(`${n.adapter}.`)&&n.path.length>1){const s=n.path;let a;const l=r;if(l[s[0]]&&typeof l[s[0]]=="object")return s.length===2?a=l[s[0]][s[1]]:s.length===3?a=l[s[0]][s[1]]&&typeof l[s[0]][s[1]]=="object"?l[s[0]][s[1]][s[2]]:null:s.length===4?a=l[s[0]][s[1]]&&typeof l[s[0]][s[1]]=="object"&&l[s[0]][s[1]][s[2]]?l[s[0]][s[1]][s[2]][s[3]]:null:s.length===5?a=l[s[0]][s[1]]&&typeof l[s[0]][s[1]]=="object"&&l[s[0]][s[1]][s[2]]&&l[s[0]][s[1]][s[2]][s[3]]?l[s[0]][s[1]][s[2]][s[3]][s[4]]:null:s.length===6&&(a=l[s[0]][s[1]]&&typeof l[s[0]][s[1]]=="object"&&l[s[0]][s[1]][s[2]]&&l[s[0]][s[1]][s[2]][s[3]]&&l[s[0]][s[1]][s[2]][s[3]][s[4]]?l[s[0]][s[1]][s[2]][s[3]][s[4]][s[5]]:null),a??null}return null}static setCustomValue(r,n,o){var s;if((s=r==null?void 0:r._id)!=null&&s.startsWith(`${n.adapter}.`)&&n.path.length>1){const a=n.path,l=r;if(l[a[0]]&&typeof l[a[0]]=="object"){if(a.length===2)return l[a[0]][a[1]]=o,!0;if(a.length===3){if(l[a[0]][a[1]]&&typeof l[a[0]][a[1]]=="object")return l[a[0]][a[1]][a[2]]=o,!0}else if(a.length===4){if(l[a[0]][a[1]]&&typeof l[a[0]][a[1]]=="object"&&l[a[0]][a[1]][a[2]]&&typeof l[a[0]][a[1]][a[2]]=="object")return l[a[0]][a[1]][a[2]][a[3]]=o,!0}else if(a.length===5){if(l[a[0]][a[1]]&&typeof l[a[0]][a[1]]=="object"&&l[a[0]][a[1]][a[2]]&&typeof l[a[0]][a[1]][a[2]]=="object"&&l[a[0]][a[1]][a[2]][a[3]]&&typeof l[a[0]][a[1]][a[2]][a[3]]=="object")return l[a[0]][a[1]][a[2]][a[3]][a[4]]=o,!0}else if(a.length===6&&l[a[0]][a[1]]&&typeof l[a[0]][a[1]]=="object"&&l[a[0]][a[1]][a[2]]&&typeof l[a[0]][a[1]][a[2]]=="object"&&l[a[0]][a[1]][a[2]][a[3]]&&typeof l[a[0]][a[1]][a[2]][a[3]]=="object"&&l[a[0]][a[1]][a[2]][a[3]][a[4]]&&typeof l[a[0]][a[1]][a[2]][a[3]][a[4]]=="object")return l[a[0]][a[1]][a[2]][a[3]][a[4]][a[5]]=o,!0}}return!1}renderCustomValue(r,n,o){const s=uo.getCustomValue(r,n);return s!=null?n.edit&&!this.props.notEditable&&(!n.objTypes||n.objTypes.includes(r.type))?m.createElement(nt,{component:"div",style:{...G.columnCustom,...G.columnCustomEditable,...G[`columnCustom_${n.align}`]},onClick:()=>this.setState({columnsEditCustomDialog:{item:o,it:n,obj:r},customColumnDialogValueChanged:!1})},s):m.createElement(nt,{component:"div",style:{...G.columnCustom,...G[`columnCustom_${n.align}`]}},s):null}renderAliasLink(r,n,o){const s=n||0,a=this.objects[this.info.aliasesMap[r][s]].common.alias.id;return a?m.createElement(nt,{component:"div",onClick:l=>{l.stopPropagation(),l.preventDefault();const u=this.info.aliasesMap[r][s];this.info.aliasesMap[r].length>1&&this.setState({aliasMenu:""}),this.onSelect(u),setTimeout(()=>this.expandAllSelected(()=>this.scrollToItem(u)),100)},sx:o||this.styles.aliasAlone},m.createElement("span",{className:"admin-browser-arrow"},typeof a=="string"||a.read===r&&a.write===r?"↔":a.read===r?"→":"←"),this.info.aliasesMap[r][s]):null}renderLeaf(r,n,o){var Q,fe,me,ye,we,Me,Oe,Pe,ke,He,Ae,it,Ie,$e;const s=r.data.id;o.count++,n=n===void 0?this.state.expanded.includes(s):n;let a;const l=r.data.obj,u=l==null?void 0:l.type;r.children||u==="folder"||u==="device"||u==="channel"||u==="meta"?a=n?m.createElement(pf,{style:this.styles.cellIdIconFolder,onClick:()=>this.toggleExpanded(s)}):m.createElement(Ml,{style:this.styles.cellIdIconFolder,onClick:()=>this.toggleExpanded(s)}):l&&l.common&&l.common.write===!1&&l.type==="state"?a=m.createElement(ZGe,{style:this.styles.cellIdIconDocument}):a=m.createElement(KGe,{style:this.styles.cellIdIconDocument});let p=null;r.data.icon&&(typeof r.data.icon=="string"?r.data.icon.length<3?p=m.createElement("span",{className:"iconOwn",style:G.cellIdIconOwn},r.data.icon):p=m.createElement(Ua,{style:G.cellIdIconOwn,className:"iconOwn",src:r.data.icon,alt:""}):p=r.data.icon);const h=l==null?void 0:l.common,d=(l==null?void 0:l.type)&&MD[l.type]||m.createElement("div",{className:"itemIcon"}),_=this.levelPadding*(r.data.level||0);if(r.data.lang!==this.props.lang){const{rooms:ie,per:se}=HP(this.info,s,this.props.lang);r.data.rooms=ie.join(", "),r.data.per=se;const{funcs:ze,pef:qe}=qP(this.info,s,this.props.lang);r.data.funcs=ze.join(", "),r.data.pef=qe,r.data.lang=this.props.lang}const g=this.props.multiSelect&&this.objects[s]&&(!this.props.types||this.props.types.includes(this.objects[s].type))?m.createElement(Ut,{style:G.checkBox,checked:this.state.selected.includes(s)}):null;let v=!this.props.notEditable&&u==="state"&&(this.state.filter.expertMode||(h==null?void 0:h.write)!==!1);this.props.objectBrowserViewFile&&(h==null?void 0:h.type)==="file"&&(v=!0);const w=!this.props.notEditable&&this.objects[s]&&(this.state.filter.expertMode||u==="state"||u==="channel"||u==="device"),x=this.state.statesView&&(u==="state"||u==="channel"||u==="device");let C="";const M=[];if(x&&(C=(Q=this.states[s])==null?void 0:Q.from,C===void 0?C=" ":(C=C?C.replace(/^system\.adapter\.|^system\./,""):"",M.push(`${this.texts.stateChangedFrom} ${C}`)),l!=null&&l.user)){const ie=l.user.replace("system.user.","");C+=`/${ie}`,M.push(`${this.texts.stateChangedBy} ${ie}`)}l&&(l.from&&M.push(`${this.texts.objectChangedFrom} ${l.from.replace(/^system\.adapter\.|^system\./,"")}`),l.user&&M.push(`${this.texts.objectChangedBy} ${l.user.replace(/^system\.user\./,"")}`),l.ts&&M.push(`${this.texts.objectChangedByUser} ${Se.formatDate(new Date(l.ts),this.props.dateFormat||this.systemConfig.common.dateFormat)}`));let $=!1,E=null;s.startsWith("alias.")&&((fe=h==null?void 0:h.alias)!=null&&fe.id)?($=typeof h.alias.id=="object",$?E=m.createElement("div",{style:G.cellIdAliasReadWriteDiv},h.alias.id.read?m.createElement(nt,{component:"div",onClick:ie=>{ie.stopPropagation(),ie.preventDefault(),this.onSelect(h.alias.id.read),setTimeout(()=>this.expandAllSelected(()=>this.scrollToItem(h.alias.id.read)),100)},sx:this.styles.aliasReadWrite},"←",h.alias.id.read):null,h.alias.id.write?m.createElement(nt,{component:"div",onClick:ie=>{ie.stopPropagation(),ie.preventDefault(),this.onSelect(h.alias.id.write),setTimeout(()=>this.expandAllSelected(()=>this.scrollToItem(h.alias.id.write)),100)},sx:this.styles.aliasReadWrite},"→",h.alias.id.write):null):E=m.createElement(nt,{component:"div",onClick:ie=>{ie.stopPropagation(),ie.preventDefault(),this.onSelect(h.alias.id),setTimeout(()=>this.expandAllSelected(()=>this.scrollToItem(h.alias.id)),100)},sx:this.styles.aliasAlone},"→",h.alias.id)):this.info.aliasesMap[s]&&(this.info.aliasesMap[s].length>1?E=m.createElement(nt,{component:"div",id:`alias_${s}`,onClick:ie=>{ie.stopPropagation(),ie.preventDefault(),this.setState({aliasMenu:s})},sx:this.styles.aliasAlone},this.props.t("ra_%s links from aliases",this.info.aliasesMap[s].length)):E=this.renderAliasLink(s,0));let k=h==null?void 0:h.color,T;if(k&&!this.state.selected.includes(s)){const ie=this.props.themeName==="dark"?"#1f1f1f":this.props.themeName==="blue"?"#222a2e":"#FFFFFF";Se.colorDistance(k,ie)<1e3&&(T=this.props.themeType==="dark"?"#9a9a9a":"#565656")}let A=!1;s==="0_userdata"?(k=IP(this.props.themeType),A=!0):s==="alias"?(k=RP(this.props.themeType),A=!0):s==="javascript"?(k=oXe(this.props.themeType),A=!0):s==="system"?(k=jP(this.props.themeType),A=!0):s==="system.adapter"?k=FP(this.props.themeType):(!k||this.state.selected.includes(s))&&(k="inherit");const I=[];if(h!=null&&h.statusStates){const ie={};Object.keys(h.statusStates).forEach(ze=>{var rt;let qe=h.statusStates[ze];qe.split(".").length<3&&(qe=`${s}.${qe}`),ie[ze]=qe,this.states[qe]?this.recordStates.includes(qe)||this.recordStates.push(qe):((rt=this.objects[qe])==null?void 0:rt.type)==="state"&&(this.recordStates.includes(qe)||this.recordStates.push(qe),this.states[qe]={val:null},this.subscribe(qe))});let se=!1;h.statusStates.errorId&&this.states[ie.errorId]&&this.states[ie.errorId].val&&(k=this.props.themeType==="dark"?zP:LP,se=!0,I.push(m.createElement(eV,{key:"error",style:this.styles.iconDeviceError}))),ie.onlineId&&this.states[ie.onlineId]?se?this.states[ie.onlineId].val?I.push(m.createElement(du,{key:"conn",style:this.styles.iconDeviceConnected})):I.push(m.createElement(Hp,{key:"disc",style:this.styles.iconDeviceDisconnected})):this.states[ie.onlineId].val?(k=this.props.themeType==="dark"?O0:D0,I.push(m.createElement(du,{key:"conn",style:this.styles.iconDeviceConnected}))):(k=this.props.themeType==="dark"?N0:M0,I.push(m.createElement(Hp,{key:"disc",style:this.styles.iconDeviceDisconnected}))):ie.offlineId&&this.states[ie.offlineId]&&(se?this.states[ie.offlineId].val?I.push(m.createElement(Hp,{key:"disc",style:this.styles.iconDeviceDisconnected})):I.push(m.createElement(du,{key:"conn",style:this.styles.iconDeviceConnected})):this.states[ie.offlineId].val?(k=this.props.themeType==="dark"?N0:M0,I.push(m.createElement(Hp,{key:"disc",style:this.styles.iconDeviceDisconnected}))):(k=this.props.themeType==="dark"?O0:D0,I.push(m.createElement(du,{key:"conn",style:this.styles.iconDeviceConnected}))))}const j=x?Se.quality2text(((me=this.states[s])==null?void 0:me.q)||0).join(", "):null;let O=((ye=r.data)==null?void 0:ye.title)||"",F=!1;if(this.state.showDescription){const ie=WP(r.data,this.props.lang);ie&&(O=[m.createElement("div",{key:"name",style:G.cellNameDivDiv},O),m.createElement("div",{key:"desc",style:G.cellDescription},ie)],F=!!ie)}const H=this.props.width==="xs"&&this.state.focused===s,q=m.createElement(Qs,{container:!0,wrap:"nowrap",direction:"row",sx:G.cellId,style:{width:this.columnsVisibility.id,paddingLeft:_}},m.createElement(Qs,{container:!0,alignItems:"center"},g,a),m.createElement(Qs,{style:{...G.cellIdSpan,...T?this.styles.invertedBackground:void 0,color:k,fontWeight:A?"bold":void 0}},m.createElement(wr,{title:lXe(r.data,this.props.lang),slotProps:{popper:{sx:G.tooltip}}},m.createElement("div",null,r.data.name)),E,I),m.createElement("div",{style:{...G.grow,...T?this.styles.invertedBackgroundFlex:{}}}),m.createElement(Qs,{container:!0,alignItems:"center"},p),this.props.width!=="xs"?m.createElement("div",null,m.createElement(Qi,{className:H?"":"copyButton",style:G.cellCopyButton,onClick:ie=>this.onCopy(ie,s)})):null);let U=H&&O||this.columnsVisibility.name?m.createElement(nt,{component:"div",sx:{...G.cellName,...F?G.cellNameWithDesc:void 0,width:this.props.width!=="xs"?this.columnsVisibility.name:void 0,ml:H?0:"5px"}},O,!H&&((we=r.data)!=null&&we.title)?m.createElement(nt,{style:{color:k}},m.createElement(Qi,{className:"copyButton",style:G.cellCopyButton,onClick:ie=>{var se;return this.onCopy(ie,(se=r.data)==null?void 0:se.title)}})):null):null,B;this.state.statesView?B=[H&&x&&((Me=this.states[s])!=null&&Me.from)||this.columnsVisibility.changedFrom?{el:m.createElement("div",{key:"from",style:{...G.cellRole,width:this.props.width!=="xs"?this.columnsVisibility.changedFrom:void 0},title:M.join(` +`)},x&&((Oe=this.states[s])!=null&&Oe.from)?C:null),type:"from"}:null,H&&j||this.columnsVisibility.qualityCode?{el:m.createElement("div",{key:"q",style:{...G.cellRole,width:this.props.width!=="xs"?this.columnsVisibility.qualityCode:void 0},title:j||""},j),type:"quality"}:null,H&&x&&((Pe=this.states[s])!=null&&Pe.ts)||this.columnsVisibility.timestamp?{el:m.createElement("div",{key:"ts",style:{...G.cellRole,width:this.props.width!=="xs"?this.columnsVisibility.timestamp:void 0}},x&&((ke=this.states[s])!=null&&ke.ts)?Se.formatDate(new Date(this.states[s].ts),this.props.dateFormat||this.systemConfig.common.dateFormat):null),type:"ts"}:null,H&&x&&((He=this.states[s])!=null&&He.lc)||this.columnsVisibility.lastChange?{el:m.createElement("div",{key:"lc",style:{...G.cellRole,width:this.props.width!=="xs"?this.columnsVisibility.lastChange:void 0}},x&&((Ae=this.states[s])!=null&&Ae.lc)?Se.formatDate(new Date(this.states[s].lc),this.props.dateFormat||this.systemConfig.common.dateFormat):null),type:"lc"}:null]:B=[H&&(l!=null&&l.type)||this.columnsVisibility.type?{el:m.createElement("div",{key:"type",style:{...G.cellType,width:this.props.width!=="xs"?this.columnsVisibility.type:void 0}},d," ",l==null?void 0:l.type),type:"filter_type"}:null,H&&h||this.columnsVisibility.role?{el:m.createElement("div",{key:"role",style:{...G.cellRole,width:this.props.width!=="xs"?this.columnsVisibility.role:"100%",cursor:this.state.filter.expertMode&&w&&this.props.objectBrowserEditRole?"text":"default"},onClick:!H&&this.state.filter.expertMode&&w&&this.props.objectBrowserEditRole?()=>this.setState({roleDialog:r.data.id}):void 0},h==null?void 0:h.role),type:"filter_role",onClick:H&&this.state.filter.expertMode&&w&&this.props.objectBrowserEditRole?()=>this.setState({roleDialog:r.data.id}):void 0}:null,H&&h||this.columnsVisibility.room?{el:m.createElement("div",{key:"room",style:{...G.cellRoom,...r.data.per?G.cellEnumParent:{},width:this.props.width!=="xs"?this.columnsVisibility.room:"100%",cursor:w?"text":"default"},onClick:!H&&w?()=>{const ie=tl(this.info,r.data.id,"roomEnums");this.setState({enumDialogEnums:ie,enumDialog:{item:r,type:"room",enumsOriginal:JSON.stringify(ie)}})}:void 0},r.data.rooms),type:"filter_room",onClick:H&&w?()=>{const ie=tl(this.info,r.data.id,"roomEnums");this.setState({enumDialogEnums:ie,enumDialog:{item:r,type:"room",enumsOriginal:JSON.stringify(ie)}})}:void 0}:null,H&&h||this.columnsVisibility.func?{el:m.createElement("div",{key:"func",style:{...G.cellFunc,...r.data.pef?G.cellEnumParent:{},width:this.props.width!=="xs"?this.columnsVisibility.func:"100%",cursor:w?"text":"default"},onClick:!H&&w?()=>{const ie=tl(this.info,r.data.id,"funcEnums");this.setState({enumDialogEnums:ie,enumDialog:{item:r,type:"func",enumsOriginal:JSON.stringify(ie)}})}:void 0},r.data.funcs),type:"filter_func",onClick:H&&w?()=>{const ie=tl(this.info,r.data.id,"funcEnums");this.setState({enumDialogEnums:ie,enumDialog:{item:r,type:"func",enumsOriginal:JSON.stringify(ie)}})}:void 0}:null];let X=((it=this.adapterColumns)==null?void 0:it.map(ie=>m.createElement("div",{style:{...G.cellAdapter,width:this.props.width!=="xs"?this.columnsVisibility[ie.id]:void 0},key:ie.id,title:`${ie.adapter} => ${ie.pathText}`},l?this.renderCustomValue(l,ie,r):null)))||null;const re=H||this.columnsVisibility.val?this.renderColumnValue(s,r,H):null;let Z=H&&re||this.columnsVisibility.val?m.createElement("div",{style:{...G.cellValue,width:this.props.width!=="xs"?this.columnsVisibility.val:"calc(100% - 100px)",cursor:v?(h==null?void 0:h.type)==="file"?"zoom-in":r.data.button?"grab":"text":"default"},onClick:v?()=>{!l||!this.states||((h==null?void 0:h.type)==="file"?this.setState({viewFileDialog:s}):!this.state.filter.expertMode&&r.data.button?this.props.socket.setState(s,!0).catch(ie=>window.alert(`Cannot write state "${s}": ${ie}`)):!this.state.filter.expertMode&&r.data.switch?this.props.socket.setState(s,!this.states[s].val).catch(ie=>window.alert(`Cannot write state "${s}": ${ie}`)):(this.edit={val:this.states[s]?this.states[s].val:"",q:this.states[s]&&this.states[s].q||0,ack:!1,id:s},this.setState({updateOpened:!0})))}:void 0},re):null,J=H||this.columnsVisibility.buttons?m.createElement("div",{style:{...G.cellButtons,width:this.props.width!=="xs"?this.columnsVisibility.buttons:void 0}},this.renderColumnButtons(s,r)):null,ne=null;if(this.props.width==="xs"&&this.state.focused===s){B=B.filter(se=>se);let ie;B.length?ie=B.map(se=>se?m.createElement("div",{key:se.type,style:G.cellDetailsLine},m.createElement("span",{style:G.cellDetailsName},this.texts[se.type],":"),se.el,m.createElement("div",{style:{flexGrow:1}}),se.onClick?m.createElement(ku,{style:G.cellCopyButtonInDetails,onClick:()=>{se!=null&&se.onClick&&se.onClick()}}):null):null):ie=null,X.length||(X=null),ne=m.createElement(oi,{style:{width:"100%",display:"flex",flexDirection:"column",padding:10,backgroundColor:this.props.theme.palette.mode==="dark"?"#333":"#ccc"}},m.createElement("div",{style:G.cellDetailsLine},m.createElement("div",{style:{flexGrow:1}}),m.createElement(Qi,{style:G.cellCopyButtonInDetails,onClick:se=>this.onCopy(se,s)})),U&&m.createElement("div",{style:G.cellDetailsLine},m.createElement("span",{style:G.cellDetailsName},this.texts.name,":"),U,m.createElement("div",{style:{flexGrow:1}}),(Ie=r.data)!=null&&Ie.title?m.createElement(Qi,{className:"copyButton",style:G.cellCopyButtonInDetails,onClick:se=>{var ze;return this.onCopy(se,(ze=r.data)==null?void 0:ze.title)}}):null),ie,X&&m.createElement("div",{style:G.cellDetailsLine},X),(($e=this.objects[s])==null?void 0:$e.type)==="state"&&m.createElement("div",{style:G.cellDetailsLine},m.createElement("span",{style:G.cellDetailsName},this.texts.value,":"),Z,m.createElement("div",{style:{flexGrow:1}}),m.createElement(Qi,{className:"copyButton",style:G.cellCopyButtonInDetails,onClick:se=>{const{valText:ze}=mb({state:this.states[s],obj:this.objects[s],texts:this.texts,dateFormat:this.props.dateFormat||this.systemConfig.common.dateFormat,isFloatComma:this.props.isFloatComma===void 0?this.systemConfig.common.isFloatComma:this.props.isFloatComma});this.onCopy(se,ze.v.toString())},key:"cc"})),J&&m.createElement("div",{style:{...G.cellDetailsLine,justifyContent:"right"}},J)),U=null,B=null,X=null,Z=null,J=null}return{row:m.createElement(Qs,{container:!0,direction:"row",wrap:"nowrap",sx:Se.getStyle(this.props.theme,G.tableRow,this.state.linesEnabled&&G.tableRowLines,!this.props.dragEnabled&&G.tableRowNoDragging,E&&G.tableRowAlias,$&&G.tableRowAliasReadWrite,this.state.focused===s&&this.props.multiSelect&&G.tableRowFocused,!r.data.visible&&G.filteredOut,r.data.hasVisibleParent&&!r.data.visible&&!r.data.hasVisibleChildren&&G.filteredParentOut,this.state.selected.includes(s)&&G.itemSelected,this.state.selectedNonObject===s&&G.itemSelected),key:s,id:s,onMouseDown:ie=>{this.onSelect(s);let se;"which"in ie?se=ie.which===3:"button"in ie&&(se=ie.button===2),se?this.contextMenu={item:r,ts:Date.now()}:this.contextMenu=null},onDoubleClick:()=>{r.children?this.toggleExpanded(s):this.onSelect(s,!0)}},q,U,B==null?void 0:B.map(ie=>ie==null?void 0:ie.el),X,Z,J),details:ne}}renderItem(r,n,o){const s=[];o=o||{count:0};const a=this.renderLeaf(r,n,o);let l;const u=this.props.DragWrapper;return this.props.dragEnabled&&u?r.data.sumVisibility?l=m.createElement(u,{key:r.data.id,item:r,style:G.draggable},a.row):l=m.createElement("div",{key:r.data.id,style:G.nonDraggable},a.row):l=a.row,r.data.id&&l&&s.push(l),a.details&&s.push(a.details),n=n===void 0?Uu(this.state.expanded,r.data.id):n,(!r.data.id||n)&&(this.state.foldersFirst?r.children&&(s.push(r.children.map(p=>p.children&&(!this.state.columnsSelectorShow||o.count<15)&&p.data.sumVisibility?this.renderItem(p,void 0,o):null)),s.push(r.children.map(p=>!p.children&&(!this.state.columnsSelectorShow||o.count<15)&&p.data.sumVisibility?this.renderItem(p,void 0,o):null))):r.children&&s.push(r.children.map(p=>(!this.state.columnsSelectorShow||o.count<15)&&p.data.sumVisibility?this.renderItem(p,void 0,o):null))),s}calculateColumnsVisibility(r,n,o,s){let a=s||this.state.columnsWidths;const l=o||this.state.columnsForAdmin,u=n||this.state.columns||[],p=typeof r!="boolean"?this.state.columnsAuto:r;a=JSON.parse(JSON.stringify(a)),Object.keys(a).forEach(d=>{a[d]&&(a[d]=parseInt(a[d],10)||0)}),this.adapterColumns=[];const h=fr[this.props.width||"lg"].widths;if(p){if(this.columnsVisibility={id:fr[this.props.width||"lg"].idWidth,name:this.visibleCols.includes("name")&&h.name||0,nameHeader:this.visibleCols.includes("name")&&h.name||0,type:this.visibleCols.includes("type")&&h.type||0,role:this.visibleCols.includes("role")&&h.role||0,room:this.visibleCols.includes("room")&&h.room||0,func:this.visibleCols.includes("func")&&h.func||0,changedFrom:this.visibleCols.includes("changedFrom")&&h.changedFrom||0,qualityCode:this.visibleCols.includes("qualityCode")&&h.qualityCode||0,timestamp:this.visibleCols.includes("timestamp")&&h.timestamp||0,lastChange:this.visibleCols.includes("lastChange")&&h.lastChange||0,val:this.visibleCols.includes("val")&&h.val||0,buttons:this.visibleCols.includes("buttons")&&h.buttons||0},this.columnsVisibility.name&&!this.customWidth){let d=this.columnsVisibility.id||0;this.state.statesView?(d+=this.columnsVisibility.changedFrom||0,d+=this.columnsVisibility.qualityCode||0,d+=this.columnsVisibility.timestamp||0,d+=this.columnsVisibility.lastChange||0):(d+=this.columnsVisibility.type||0,d+=this.columnsVisibility.role||0,d+=this.columnsVisibility.room||0,d+=this.columnsVisibility.func||0),d+=this.columnsVisibility.val||0,d+=this.columnsVisibility.buttons||0,this.columnsVisibility.name=`calc(100% - ${d+5}px)`,this.columnsVisibility.nameHeader=`calc(100% - ${d+5+this.state.scrollBarWidth}px)`}else if(!this.customWidth){let d=0;this.state.statesView?(d+=this.columnsVisibility.changedFrom||0,d+=this.columnsVisibility.qualityCode||0,d+=this.columnsVisibility.timestamp||0,d+=this.columnsVisibility.lastChange||0):(d+=this.columnsVisibility.type||0,d+=this.columnsVisibility.role||0,d+=this.columnsVisibility.room||0,d+=this.columnsVisibility.func||0),d+=this.columnsVisibility.val||0,d+=this.columnsVisibility.buttons||0,this.columnsVisibility.id=`calc(100% - ${d+5}px)`}}else{const d=this.props.width||"lg";this.columnsVisibility={id:a.id||fr[d].idWidth,name:u.includes("name")&&(a.name||h.name||fr[d].widths.name)||0,type:u.includes("type")&&(a.type||h.type||fr[d].widths.type)||0,role:u.includes("role")&&(a.role||h.role||fr[d].widths.role)||0,room:u.includes("room")&&(a.room||h.room||fr[d].widths.room)||0,func:u.includes("func")&&(a.func||h.func||fr[d].widths.func)||0};let _=this.columnsVisibility.id;if(this.columnsVisibility.name&&(_+=this.columnsVisibility.type||0,_+=this.columnsVisibility.role||0,_+=this.columnsVisibility.room||0,_+=this.columnsVisibility.func||0),l&&u&&Object.keys(l).sort().forEach(g=>l[g].forEach(v=>{const w=`_${g}_${v.path}`;if(u.includes(w)){const x={adapter:g,id:`_${g}_${v.path}`,name:v.name,path:v.path.split("."),pathText:v.path};v.edit&&(x.edit=!0,v.type&&(x.type=v.type),v.objTypes&&(x.objTypes=v.objTypes)),this.adapterColumns.push(x),this.columnsVisibility[w]=a[x.id]||v.width||fr[d].widths.func||fr.xl.widths.func||0,_+=this.columnsVisibility[w]}else this.columnsVisibility[w]=0})),this.adapterColumns.sort((g,v)=>g.id>v.id?-1:g.idw==="id"||typeof this.columnsVisibility[w]=="string"||!this.columnsVisibility[w]?v:v+this.columnsVisibility[w],0);this.columnsVisibility.id=`calc(100% - ${g}px)`}}}navigateKeyPress(r){var o,s;const n=this.state.selectedNonObject||this.state.selected[0];if(n){if(r.code==="ArrowUp"||r.code==="ArrowDown"){r.preventDefault();const a=[];(o=this.tableRef.current)==null||o.childNodes.forEach(h=>a.push(h.id));const l=a.indexOf(n),u=r.code==="ArrowDown"?l+1:l-1,p=a[u]||n;this.onSelect(p),this.scrollToItem(p)}if((r.code==="ArrowRight"||r.code==="ArrowLeft")&&this.toggleExpanded(n),r.code==="Delete"&&this.root&&n){const a=uo.getItemFromRoot(this.root,n);if(a){const{obj:l}=a.data;l&&!((s=l.common)!=null&&s.dontDelete)&&this.showDeleteDialog({id:n,obj:l,item:a})}}}}static getItemFromRoot(r,n){const o=n.split(".");let s="",a=r;for(let l=0;lthis.clearFilter(),style:G.buttonClearFilter,title:this.props.t("ra_Clear filter"),size:"large"},m.createElement(QGe,null),m.createElement(Hr,{style:G.buttonClearFilterIcon}))),this.props.width==="xs"?m.createElement("div",{style:G.headerRow},m.createElement("div",{style:{...G.headerCell,width:"100%"}},this.getFilterInput("id"))):m.createElement("div",{style:G.headerRow},m.createElement("div",{style:{...G.headerCell,width:this.columnsVisibility.id,position:"relative"},"data-min":240,"data-name":"id"},this.getFilterInput("id"),this.renderHandleRight()),this.columnsVisibility.name?m.createElement("div",{style:{...G.headerCell,width:this.columnsVisibility.nameHeader,position:"relative"},"data-min":100,"data-name":"nameHeader"},this.getFilterInput("name"),this.renderHandleRight()):null,!this.state.statesView&&m.createElement(m.Fragment,null,this.columnsVisibility.type?m.createElement("div",{style:{...G.headerCell,width:this.columnsVisibility.type,position:"relative"},"data-min":100,"data-name":"type"},this.getFilterSelectType(),this.renderHandleRight()):null,this.columnsVisibility.role?m.createElement("div",{style:{...G.headerCell,width:this.columnsVisibility.role,position:"relative"},"data-min":100,"data-name":"role"},this.getFilterSelectRole(),this.renderHandleRight()):null,this.columnsVisibility.room?m.createElement("div",{style:{...G.headerCell,width:this.columnsVisibility.room,position:"relative"},"data-min":100,"data-name":"room"},this.getFilterSelectRoom(),this.renderHandleRight()):null,this.columnsVisibility.func?m.createElement("div",{style:{...G.headerCell,width:this.columnsVisibility.func,position:"relative"},"data-min":100,"data-name":"func"},this.getFilterSelectFunction(),this.renderHandleRight()):null),this.state.statesView&&m.createElement(m.Fragment,null,m.createElement("div",{style:{...G.headerCell,...G.headerCellValue,width:this.columnsVisibility.changedFrom,position:"relative"},"data-min":100,"data-name":"changedFrom"},this.props.t("ra_Changed from"),this.renderHandleRight()),m.createElement("div",{style:{...G.headerCell,...G.headerCellValue,width:this.columnsVisibility.qualityCode,position:"relative"},"data-min":100,"data-name":"qualityCode"},this.props.t("ra_Quality code"),this.renderHandleRight()),m.createElement("div",{style:{...G.headerCell,...G.headerCellValue,width:this.columnsVisibility.timestamp,position:"relative"},"data-min":100,"data-name":"timestamp"},this.props.t("ra_Timestamp"),this.renderHandleRight()),m.createElement("div",{style:{...G.headerCell,...G.headerCellValue,width:this.columnsVisibility.lastChange,position:"relative"},"data-min":100,"data-name":"lastChange"},this.props.t("ra_Last change"),this.renderHandleRight())),this.adapterColumns.map(n=>m.createElement("div",{style:{...G.headerCell,...G.headerCellValue,width:this.columnsVisibility[n.id]},title:n.adapter,key:n.id,"data-min":100,"data-name":n.id},n.name)),this.columnsVisibility.val?m.createElement("div",{style:{...G.headerCell,...G.headerCellValue,width:this.columnsVisibility.val,position:"relative"},"data-min":120,"data-name":"val"},this.props.t("ra_Value"),r):null,this.columnsVisibility.buttons?m.createElement("div",{title:this.texts.filter_custom,style:{...G.headerCell,width:this.columnsVisibility.buttons}}," ",this.getFilterSelectCustoms()):null)}renderToast(){return m.createElement(Of,{open:!!this.state.toast,autoHideDuration:3e3,onClick:()=>this.setState({toast:""}),onClose:()=>this.setState({toast:""}),message:this.state.toast,action:m.createElement(dt,{size:"small","aria-label":"close",color:"inherit",onClick:()=>this.setState({toast:""})},m.createElement(Hr,{fontSize:"small"}))})}componentDidUpdate(){if(this.tableRef.current){const r=this.tableRef.current.offsetWidth-this.tableRef.current.clientWidth;this.state.scrollBarWidth!==r?setTimeout(()=>this.setState({scrollBarWidth:r}),100):this.selectFirst&&this.scrollToItem(this.selectFirst)}}scrollToItem(r){this.selectFirst="";const n=window.document.getElementById(r);n==null||n.scrollIntoView({behavior:"auto",block:"center",inline:"center"})}renderCustomDialog(){if(this.state.customDialog&&this.props.objectCustomDialog){const r=this.props.objectCustomDialog;return m.createElement(r,{reportChangedIds:n=>this.changedIds=[...n],objectIDs:this.state.customDialog,allVisibleObjects:!!this.state.customDialogAll,expertMode:this.state.filter.expertMode,isFloatComma:this.props.isFloatComma===void 0?this.systemConfig.common.isFloatComma:this.props.isFloatComma,t:this.props.t,lang:this.props.lang,socket:this.props.socket,themeName:this.props.themeName,themeType:this.props.themeType,theme:this.props.theme,objects:this.objects,customsInstances:this.info.customs,onClose:()=>{var n;this.pauseSubscribe(!1),this.setState({customDialog:null}),this.changedIds&&(this.changedIds=null,this.forceUpdate()),(n=this.props.router)==null||n.doNavigate("tab-objects")},systemConfig:this.systemConfig})}return null}onUpdate(r){this.props.socket.setState(this.edit.id,{val:r.val,ack:r.ack,q:r.q||0,expire:r.expire||void 0}).catch(n=>this.showError(`Cannot write value: ${n}`))}renderEditObjectDialog(){if(!this.state.editObjectDialog||!this.props.objectBrowserEditObject)return null;const r=this.props.objectBrowserEditObject;return m.createElement(r,{key:this.state.editObjectDialog,obj:this.objects[this.state.editObjectDialog],roleArray:this.info.roles,objects:this.objects,dateFormat:this.props.dateFormat||this.systemConfig.common.dateFormat,isFloatComma:this.props.isFloatComma===void 0?this.systemConfig.common.isFloatComma:this.props.isFloatComma,themeType:this.props.themeType,theme:this.props.theme,socket:this.props.socket,dialogName:this.props.dialogName,aliasTab:this.state.editObjectAlias,t:this.props.t,expertMode:!!this.state.filter.expertMode,onNewObject:n=>this.props.socket.setObject(n._id,n).then(()=>this.setState({editObjectDialog:n._id,editObjectAlias:!1},()=>this.onSelect(n._id))).catch(o=>this.showError(`Cannot write object: ${o}`)),onClose:n=>{var o,s;if(n){let a;this.state.editObjectDialog.startsWith("alias.")&&JSON.stringify((o=this.objects[this.state.editObjectDialog].common)==null?void 0:o.alias)!==JSON.stringify((s=n.common)==null?void 0:s.alias)&&(a=this.state.editObjectDialog),this.props.socket.setObject(n._id,n).then(()=>{a&&this.subscribes.includes(a)&&(this.unsubscribe(a),setTimeout(()=>this.subscribe(a),100))}).catch(l=>this.showError(`Cannot write object: ${l}`))}this.setState({editObjectDialog:"",editObjectAlias:!1})},width:this.props.width})}renderViewObjectFileDialog(){if(!this.state.viewFileDialog||!this.props.objectBrowserViewFile)return null;const r=this.props.objectBrowserViewFile;return m.createElement(r,{key:"viewFile",obj:this.objects[this.state.viewFileDialog],socket:this.props.socket,t:this.props.t,onClose:()=>this.setState({viewFileDialog:""})})}renderAliasEditorDialog(){if(!this.props.objectBrowserAliasEditor||!this.state.showAliasEditor)return null;const r=this.props.objectBrowserAliasEditor;return m.createElement(r,{key:"editAlias",obj:this.objects[this.state.showAliasEditor],roleArray:this.info.roles,objects:this.objects,socket:this.props.socket,t:this.props.t,onClose:()=>this.setState({showAliasEditor:""}),onRedirect:(n,o)=>setTimeout(()=>this.onSelect(n,!1,()=>this.expandAllSelected(()=>{this.scrollToItem(n),setTimeout(()=>this.setState({editObjectDialog:n,showAliasEditor:"",editObjectAlias:!0}),300)})),o||0)})}showAddDataPointDialog(r,n,o){this.setState({showContextMenu:null,modalNewObj:{id:r,initialType:n,initialStateType:o}})}renderAliasMenu(){return this.state.aliasMenu?m.createElement(Eu,{key:"aliasmenu",open:!0,anchorEl:window.document.getElementById(`alias_${this.state.aliasMenu}`),onClose:()=>this.setState({aliasMenu:""})},this.info.aliasesMap[this.state.aliasMenu].map((r,n)=>m.createElement(xt,{key:r,onClick:()=>this.onSelect(r)},m.createElement(Xs,null,this.renderAliasLink(this.state.aliasMenu,n,{"& .admin-browser-arrow":{mr:"8px"}}))))):null}renderContextMenu(){var g,v,w,x,C,M,$;if(!this.state.showContextMenu)return null;const r=this.state.showContextMenu.item,n=r.data.id,o=[],s=r.data.obj;let a="";if(this.props.objectEditOfAccessControl&&this.state.filter.expertMode)if(!s)a="---";else{const E=s.acl?s.type==="state"?s.acl.state:s.acl.object:0,k=s.acl&&(s.type==="state"?this.systemConfig.common.defaultNewAcl.state:this.systemConfig.common.defaultNewAcl.object);a=Number.isNaN(Number(E))?Number(k).toString(16):Number(E).toString(16)}const l=!this.props.notEditable&&s&&(this.state.filter.expertMode||s.type==="state"||s.type==="channel"||s.type==="device"),u=!r.data.obj||r.data.obj.type==="folder"||r.data.obj.type==="channel"||r.data.obj.type==="device"||r.data.id==="0_userdata.0"||r.data.obj.type==="meta",p=!r.data.obj||r.data.obj.type==="folder"||r.data.obj.type==="device"||r.data.id==="0_userdata.0"||r.data.obj.type==="meta",h=!r.data.obj||r.data.obj.type==="folder"||r.data.id==="0_userdata.0"||r.data.obj.type==="meta",d=!r.data.obj||r.data.obj.type==="folder"||r.data.id==="0_userdata.0"||r.data.obj.type==="meta",_={EDIT:{key:"0",visibility:!!(this.props.objectBrowserEditObject&&s&&(this.state.filter.expertMode||uo.isNonExpertId(n))),icon:m.createElement(ku,{fontSize:"small",style:this.styles.contextMenuEdit}),label:this.texts.editObject,onClick:()=>this.setState({editObjectDialog:r.data.id,showContextMenu:null,editObjectAlias:!1})},EDIT_VALUE:{key:"1",visibility:!!(this.states&&!this.props.notEditable&&s&&s.type==="state"&&((g=s.common)==null?void 0:g.type)!=="file"&&(this.state.filter.expertMode||s.common.write!==!1)),icon:m.createElement(sV,{fontSize:"small",style:this.styles.contextMenuEditValue}),label:this.props.t("ra_Edit value"),onClick:()=>{this.edit={val:this.states[n]?this.states[n].val:"",q:this.states[n]&&this.states[n].q||0,ack:!1,id:n},this.setState({updateOpened:!0,showContextMenu:null})}},VIEW:{visibility:!!this.props.objectBrowserViewFile&&(s==null?void 0:s.type)==="state"&&((v=s.common)==null?void 0:v.type)==="file",icon:m.createElement(tV,{fontSize:"small",style:this.styles.contextMenuView}),label:this.props.t("ra_View file"),onClick:()=>this.setState({viewFileDialog:(s==null?void 0:s._id)||"",showContextMenu:null})},CUSTOM:{key:"2",visibility:!(this.props.objectCustomDialog&&this.info.hasSomeCustoms&&s&&s.type==="state"&&((w=s.common)==null?void 0:w.type)!=="file"),icon:m.createElement(h0,{fontSize:"small",style:r.data.hasCustoms?this.styles.cellButtonsButtonWithCustoms:G.cellButtonsButtonWithoutCustoms}),style:this.styles.contextMenuCustom,label:this.texts.customConfig,onClick:()=>{var E;this.pauseSubscribe(!0),(E=this.props.router)==null||E.doNavigate(null,"customs",n),this.setState({customDialog:[n],showContextMenu:null})}},ACL:{key:"3",visibility:!!a,icon:a,iconStyle:{fontSize:"smaller"},listItemIconStyle:this.styles.contextMenuACL,style:this.styles.contextMenuACL,label:this.props.t("ra_Edit ACL"),onClick:()=>this.setState({showContextMenu:null,modalEditOfAccess:!0,modalEditOfAccessObjData:r.data})},ROLE:{key:"4",visibility:!!(this.state.filter.expertMode&&l&&this.props.objectBrowserEditRole),icon:m.createElement(Gq,{fontSize:"small",style:this.styles.contextMenuRole}),label:this.props.t("ra_Edit role"),onClick:()=>this.setState({roleDialog:r.data.id,showContextMenu:null})},FUNCTION:{key:"5",visibility:!!l,icon:m.createElement(Hq,{fontSize:"small",style:this.styles.contextMenuRole}),label:this.props.t("ra_Edit function"),onClick:()=>{const E=tl(this.info,r.data.id,"funcEnums");this.setState({enumDialogEnums:E,enumDialog:{item:r,type:"func",enumsOriginal:JSON.stringify(E)},showContextMenu:null})}},ROOM:{key:"6",visibility:!!l,icon:m.createElement(Kq,{fontSize:"small",style:this.styles.contextMenuRoom}),label:this.props.t("ra_Edit room"),onClick:()=>{const E=tl(this.info,r.data.id,"roomEnums");this.setState({enumDialogEnums:E,enumDialog:{item:r,type:"room",enumsOriginal:JSON.stringify(E)},showContextMenu:null})}},ALIAS:{key:"7",visibility:!!(!this.props.notEditable&&this.props.objectBrowserAliasEditor&&this.props.objectBrowserEditObject&&(s==null?void 0:s.type)==="state"&&((x=s.common)==null?void 0:x.type)!=="file"),icon:m.createElement(pA,{style:(C=s==null?void 0:s.common)!=null&&C.alias?this.styles.cellButtonsButtonWithCustoms:G.cellButtonsButtonWithoutCustoms}),label:this.info.aliasesMap[r.data.id]||r.data.id.startsWith("alias.0.")?this.props.t("ra_Edit alias"):this.props.t("ra_Create alias"),onClick:()=>{var E;(E=s==null?void 0:s.common)!=null&&E.alias?this.setState({showContextMenu:null,editObjectDialog:r.data.id,editObjectAlias:!0}):this.setState({showContextMenu:null,showAliasEditor:r.data.id})}},CREATE:{key:"+",visibility:(r.data.id.startsWith("0_userdata.0")||r.data.id.startsWith("javascript."))&&(u||p||h||d),icon:m.createElement(p0,{fontSize:"small",style:this.styles.cellButtonsButtonWithCustoms}),style:G.contextMenuWithSubMenu,label:this.texts.create,subMenu:[{label:this.texts.createBooleanState,visibility:u,icon:m.createElement(yu,{fontSize:"small"}),onClick:()=>this.showAddDataPointDialog(r.data.id,"state","boolean")},{label:this.texts.createNumberState,visibility:u,icon:m.createElement(yu,{fontSize:"small"}),onClick:()=>this.showAddDataPointDialog(r.data.id,"state","number")},{label:this.texts.createStringState,visibility:u,icon:m.createElement(yu,{fontSize:"small"}),onClick:()=>this.showAddDataPointDialog(r.data.id,"state","string")},{label:this.texts.createState,visibility:u,icon:m.createElement(yu,{fontSize:"small"}),onClick:()=>this.showAddDataPointDialog(r.data.id,"state")},{label:this.texts.createChannel,visibility:p,icon:m.createElement(AP,{fontSize:"small"}),onClick:()=>this.showAddDataPointDialog(r.data.id,"channel")},{label:this.texts.createDevice,visibility:h,icon:m.createElement(PP,{fontSize:"small"}),onClick:()=>this.showAddDataPointDialog(r.data.id,"device")},{label:this.texts.createFolder,icon:m.createElement(cA,{fontSize:"small"}),visibility:d,onClick:()=>this.showAddDataPointDialog(r.data.id,"folder")}]},DELETE:{key:"Delete",visibility:!!(this.props.onObjectDelete&&((M=r.children)!=null&&M.length||s&&!(($=s.common)!=null&&$.dontDelete))),icon:m.createElement(sa,{fontSize:"small",style:this.styles.contextMenuDelete}),style:this.styles.contextMenuDelete,label:this.texts.deleteObject,onClick:()=>this.setState({showContextMenu:null},()=>this.showDeleteDialog({id:n,obj:s||{},item:r}))}};return Object.keys(_).forEach(E=>{var k,T;_[E].visibility&&(_[E].subMenu?(o.push(m.createElement(xt,{key:E,href:"",onClick:A=>this.state.showContextMenu&&this.setState({showContextMenu:{item:this.state.showContextMenu.item,position:this.state.showContextMenu.position,subItem:E,subAnchor:A.target}}),style:_[E].style},m.createElement(sl,{style:{..._[E].iconStyle,..._[E].listItemIconStyle}},_[E].icon),m.createElement(Xs,null,_[E].label,"..."),m.createElement("div",{style:{...G.contextMenuKeys,opacity:1}},m.createElement(Bq,null)))),((k=this.state.showContextMenu)==null?void 0:k.subItem)===E&&o.push(m.createElement(Eu,{key:"subContextMenu",open:!0,anchorEl:this.state.showContextMenu.subAnchor,onClose:()=>{this.state.showContextMenu&&this.setState({showContextMenu:{item:this.state.showContextMenu.item,position:this.state.showContextMenu.position}}),this.contextMenu=null}},(T=_[E].subMenu)==null?void 0:T.map(A=>A.visibility?m.createElement(xt,{key:A.label,onClick:A.onClick,style:A.style},m.createElement(sl,{style:{...A.iconStyle,...A.listItemIconStyle||void 0}},A.icon),m.createElement(Xs,null,A.label)):null)))):o.push(m.createElement(xt,{key:E,onClick:_[E].onClick,sx:_[E].style},m.createElement(sl,{style:{..._[E].iconStyle,..._[E].listItemIconStyle}},_[E].icon),m.createElement(Xs,null,_[E].label),_[E].key?m.createElement("div",{style:G.contextMenuKeys},`Alt+${_[E].key==="Delete"?this.props.t("ra_Del"):_[E].key}`):null)))}),o.length?m.createElement(Eu,{key:"contextMenu",open:!0,onKeyUp:E=>{E.preventDefault(),E.altKey&&Object.keys(_).forEach(k=>{E.key===_[k].key&&_[k].onClick&&_[k].onClick()})},anchorReference:"anchorPosition",anchorPosition:this.state.showContextMenu.position,onClose:()=>{this.setState({showContextMenu:null}),this.contextMenu=null}},o):(setTimeout(()=>this.setState({showContextMenu:null}),100),null)}renderEditValueDialog(){var s;if(!this.state.updateOpened||!this.props.objectBrowserValue)return null;if(!this.edit.id)return console.error(`Invalid ID for edit: ${JSON.stringify(this.edit)}`),null;if(!this.objects[this.edit.id])return console.error(`Something went wrong. Possibly the object ${this.edit.id} was deleted.`),null;const r=(s=this.objects[this.edit.id].common)!=null&&s.type?this.objects[this.edit.id].common.type:typeof this.edit.val,n=this.objects[this.edit.id].common.role,o=this.props.objectBrowserValue;return m.createElement(o,{t:this.props.t,lang:this.props.lang,type:r,role:n||"",states:Se.getStates(this.objects[this.edit.id]),themeType:this.props.themeType,theme:this.props.theme,expertMode:!!this.state.filter.expertMode,value:this.edit.val,socket:this.props.socket,object:this.objects[this.edit.id],defaultHistory:this.defaultHistory,dateFormat:this.props.dateFormat||this.systemConfig.common.dateFormat,isFloatComma:this.props.isFloatComma===void 0?this.systemConfig.common.isFloatComma:this.props.isFloatComma,onClose:a=>{this.setState({updateOpened:!1}),a&&this.onUpdate(a)},width:this.props.width})}render(){this.recordStates=[],this.unsubscribeTimer&&clearTimeout(this.unsubscribeTimer),this.styleTheme!==this.props.themeType&&(this.styles={cellIdIconFolder:Se.getStyle(this.props.theme,G.cellIdIconFolder),cellIdIconDocument:Se.getStyle(this.props.theme,G.cellIdIconDocument),iconDeviceError:Se.getStyle(this.props.theme,G.iconDeviceError),iconDeviceConnected:Se.getStyle(this.props.theme,G.iconDeviceConnected),iconDeviceDisconnected:Se.getStyle(this.props.theme,G.iconDeviceDisconnected),cellButtonsButtonWithCustoms:Se.getStyle(this.props.theme,G.cellButtonsButtonWithCustoms),invertedBackground:Se.getStyle(this.props.theme,G.invertedBackground),invertedBackgroundFlex:Se.getStyle(this.props.theme,G.invertedBackgroundFlex),contextMenuEdit:Se.getStyle(this.props.theme,G.contextMenuEdit),contextMenuEditValue:Se.getStyle(this.props.theme,G.contextMenuEditValue),contextMenuView:Se.getStyle(this.props.theme,G.contextMenuView),contextMenuCustom:Se.getStyle(this.props.theme,G.contextMenuCustom),contextMenuACL:Se.getStyle(this.props.theme,G.contextMenuACL),contextMenuRoom:Se.getStyle(this.props.theme,G.contextMenuRoom),contextMenuRole:Se.getStyle(this.props.theme,G.contextMenuRole),contextMenuDelete:Se.getStyle(this.props.theme,G.contextMenuDelete),filterInput:Se.getStyle(this.props.theme,G.headerCellInput,G.filterInput),iconCopy:Se.getStyle(this.props.theme,G.cellButtonsValueButton,G.cellButtonsValueButtonCopy),aliasReadWrite:Se.getStyle(this.props.theme,G.cellIdAlias,G.cellIdAliasReadWrite),aliasAlone:Se.getStyle(this.props.theme,G.cellIdAlias,G.cellIdAliasAlone)},this.styleTheme=this.props.themeType);const r=JSON.stringify(this.state.filter);if(this.lastAppliedFilter!==r&&this.objects&&this.root){const o={count:0};P0(this.root,this.state.filter,this.props.lang,this.objects,void 0,o,this.props.customFilter,this.props.types),o.count<500&&!this.state.expandAllVisible?setTimeout(()=>this.setState({expandAllVisible:!0})):o.count>=500&&this.state.expandAllVisible&&setTimeout(()=>this.setState({expandAllVisible:!1})),this.lastAppliedFilter=r}if(this.unsubscribeTimer=setTimeout(()=>{this.unsubscribeTimer=null,this.checkUnsubscribes()},200),!this.state.loaded)return m.createElement(rd,{key:`${this.props.dialogName}_c`});const n=this.root?this.renderItem(this.root,void 0):null;return m.createElement(eXe,{key:this.props.dialogName},m.createElement("style",null,` +@keyframes newValueAnimation-light { + 0% { + color: #00f900; + } + 80% { + color: #008000; + } + 100% { + color: #000; + } +} +@keyframes newValueAnimation-dark { + 0% { + color: #00f900; + } + 80% { + color: #008000; + } + 100% { + color: #fff; + } +} +.newValueBrowser-dark { + animation: newValueAnimation-dark 2s ease-in-out; +} +.newValueBrowser-light { + animation: newValueAnimation-light 2s ease-in-out; +} +`),m.createElement(rXe,null,this.getToolbar()),m.createElement(tXe,null,this.renderHeader(),m.createElement("div",{style:G.tableDiv,ref:this.tableRef,onKeyDown:o=>this.navigateKeyPress(o)},n)),this.renderContextMenu(),this.renderAliasMenu(),this.renderToast(),this.renderColumnsEditCustomDialog(),this.renderColumnsSelectorDialog(),this.renderCustomDialog(),this.renderEditValueDialog(),this.renderEditObjectDialog(),this.renderViewObjectFileDialog(),this.renderAliasEditorDialog(),this.renderEditRoleDialog(),this.renderEnumDialog(),this.renderErrorDialog(),this.renderExportDialog(),this.state.modalNewObj&&this.props.modalNewObject&&this.props.modalNewObject(this),this.state.modalEditOfAccess&&this.state.modalEditOfAccessObjData&&this.props.modalEditOfAccessControl&&this.props.modalEditOfAccessControl(this,this.state.modalEditOfAccessObjData))}};Xf=new WeakMap,wC(uo,Xf,["0_userdata.0.","alias.0."]);let I0=uo;const dXe=Fh()(I0),_e={hr:{border:0,borderTop:"1px solid gray"},scrollWindow:{width:"100%",overflow:"auto",height:"calc(100% - 22px)"},rowDiv:{width:"100%"},modeDiv:{width:200,display:"inline-block",verticalAlign:"top"},settingsDiv:{display:"inline-block",verticalAlign:"top"},inputTime:{width:90,marginTop:0,marginLeft:5},inputDate:{width:140,marginTop:0,marginLeft:5},inputEvery:{width:40,marginLeft:5,marginRight:5},inputRadio:{padding:"4px 12px",verticalAlign:"top"},inputGroup:{maxWidth:400,display:"inline-block"},inputGroupElement:{width:120},inputDateDay:{width:60},inputDateDayCheck:{padding:4},inputSmallCheck:{padding:0},rowOnce:{},rowDays:t=>({background:t.palette.mode!=="dark"?"#ddeaff":"#4b5057"}),rowDows:t=>({background:t.palette.mode!=="dark"?"#DDFFDD":"#52646c"}),rowDates:t=>({background:t.palette.mode!=="dark"?"#DDDDFF":"#747a86"}),rowWeeks:t=>({background:t.palette.mode!=="dark"?"#DDDDFF":"#717680"}),rowMonths:t=>({background:t.palette.mode!=="dark"?"#DDFFFF":"#1f5557"}),rowMonthsDates:t=>({background:t.palette.mode!=="dark"?"#EEFFFF":"#3c5737",maxWidth:600}),rowYears:t=>({background:t.palette.mode!=="dark"?"#fbffdd":"#574b33"}),rowDaysDows:t=>({background:t.palette.mode!=="dark"?"#EEEAFF":"#573544",pl:"10px",pb:"10px"}),rowDowsDows:t=>({background:t.palette.mode!=="dark"?"#EEFFEE":"#3d4c54",pl:"10px",pb:"10px"})},_b=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tf=["January","February","March","April","May","June","July","August","September","October","November","December"],gb={minutes:"minutes",hours:"hours"},Kc=["sunrise","sunriseEnd","goldenHourEnd","solarNoon","goldenHour","sunsetStart","sunset","dusk","nauticalDusk","night","nightEnd","nauticalDawn","dawn","nadir"];function ls(t){return t<10?`0${t}`:`${t}`}const PD={time:{exactTime:!1,start:"00:00",end:"23:59",mode:"hours",interval:1},period:{once:"",days:1,dows:"",dates:"",weeks:0,months:"",years:0,yearMonth:0,yearDate:0},valid:{from:"",to:""}};function yb(t){const e=t.split(".");return e.length===3?`${e[2]}-${e[1]}-${e[0]}`:""}class Or extends N.Component{constructor(r){super(r);Y(this,"refFrom");Y(this,"refTo");Y(this,"refOnce");Y(this,"timerOnce",null);Y(this,"timerFrom",null);Y(this,"timerTo",null);let n;if(this.props.schedule&&typeof this.props.schedule=="string"&&this.props.schedule[0]==="{")try{n=JSON.parse(this.props.schedule)}catch{}else typeof this.props.schedule=="object"&&(n=this.props.schedule);(!n||!Object.keys(n).length)&&(setTimeout(()=>this.onChange(this.state.schedule,!0),200),n=PD),n={...PD,...n},n.valid.from=n.valid.from||Or.now2string(),this.refFrom=m.createRef(),this.refTo=m.createRef(),this.refOnce=m.createRef(),this.state={schedule:n,desc:Or.state2text(n)},JSON.stringify(n)!==this.props.schedule&&setTimeout(()=>this.props.onChange&&this.props.onChange(JSON.stringify(n)),100)}onChange(r,n){const o=JSON.stringify(r)!==JSON.stringify(this.state.schedule);if(n||o){o&&this.setState({schedule:r,desc:Or.state2text(r)});const s=JSON.parse(JSON.stringify(r));if(s.period.once){const a=s.period.once;delete s.period,s.period={once:a},delete s.valid}else if(s.period.days){const a=s.period.days,l=s.period.dows;delete s.period,s.period={days:a},l&&l!=="[]"&&(s.period.dows=l)}else if(s.period.weeks){const a=s.period.weeks,l=s.period.dows;delete s.period,s.period={weeks:a},l&&l!=="[]"&&(s.period.dows=l)}else if(s.period.months){const a=s.period.months,l=s.period.dates;delete s.period,s.period={months:a},l&&l!=="[]"&&(s.period.dates=l)}else if(s.period.years){const a=s.period.years,l=s.period.yearMonth,u=s.period.yearDate;delete s.period,s.period={years:a,yearDate:u},l&&(s.period.yearMonth=l)}if(s.time.exactTime?(delete s.time.end,delete s.time.mode,delete s.time.interval):delete s.time.exactTime,s.valid){if(s.valid.to||delete s.valid.to,s.period.days===1||s.period.weeks===1||s.period.months===1||s.period.years===1){const a=Or.string2date(s.valid.from),l=new Date;l.setHours(0),l.setMinutes(0),l.setSeconds(0),l.setMilliseconds(0),a<=l&&delete s.valid.from}!s.valid.from&&!s.valid.to&&delete s.valid}this.props.onChange&&this.props.onChange(JSON.stringify(s),Or.state2text(r))}}static state2text(r){if(typeof r=="string")try{r=JSON.parse(r)}catch{return""}const n=[],o=Or.string2date(r.valid.from);if(r.period.once){const s=Or.string2date(r.period.once),a=new Date;if(a.setMilliseconds(0),a.setSeconds(0),a.setMinutes(0),a.setHours(0),sR.t(_b[l]));if(a.length===1)n.push(R.t("sch_desc_onWeekday",a[0]));else if(a.length===7)n.push(R.t("sch_desc_everyDay"));else{const l=a.pop();n.push(R.t("sch_desc_onWeekdays",a.join(", "),l))}}}else n.push(R.t("sch_desc_everyDay"));else n.push(R.t("sch_desc_everyNDay",r.period.days.toString()));else if(r.period.weeks)if(r.period.weeks===1?n.push(R.t("sch_desc_everyWeek")):n.push(R.t("sch_desc_everyNWeeks",r.period.weeks.toString())),r.period.dows){const s=JSON.parse(r.period.dows);if(s.length===2&&s[0]===0&&s[1]===6)n.push(R.t("sch_desc_onWeekends"));else if(s.length===5&&s[0]===1&&s[1]===2&&s[2]===3&&s[3]===4&&s[4]===5)n.push(R.t("sch_desc_onWorkdays"));else{const a=s.map(l=>R.t(_b[l]));if(a.length===1)n.push(R.t("sch_desc_onWeekday",a[0]));else if(a.length===7)n.push(R.t("sch_desc_everyDay"));else{const l=a.pop();n.push(R.t("sch_desc_onWeekdays",a.join(", "),l))}}}else return R.t("sch_desc_never");else if(r.period.months){if(r.period.dates){const s=JSON.parse(r.period.dates);if(s.length===1)n.push(R.t("sch_desc_onDate",s[0]));else if(s.length===31)n.push(R.t("sch_desc_onEveryDate"));else if(s.length){const a=s.pop();n.push(R.t("sch_desc_onDates",s.join(", "),a))}else return R.t("sch_desc_never")}else n.push(R.t("sch_desc_onEveryDate"));if(r.period.months===1)n.push(R.t("sch_desc_everyMonth"));else if(typeof r.period.months=="number")n.push(R.t("sch_desc_everyNMonths",r.period.months.toString()));else{const a=JSON.parse(r.period.months).map(l=>R.t(tf[l-1]));if(!a.length)return R.t("sch_desc_never");if(a.length===1)n.push(R.t("sch_desc_onMonth",a[0]));else if(a.length===12)n.push(R.t("sch_desc_everyMonth"));else{const l=a.pop();n.push(R.t("sch_desc_onMonths",a.join(", "),l))}}}else r.period.years&&(r.period.years===1?n.push(R.t("sch_desc_everyYear")):n.push(R.t("sch_desc_everyNYears",r.period.years.toString())),n.push(R.t("sch_desc_onDate",r.period.yearDate.toString(),r.period.yearMonth?R.t(tf[r.period.yearMonth-1]):R.t("sch_desc_everyMonth"))));if(r.time.exactTime)Kc.includes(r.time.start)?n.push(R.t("sch_desc_atTime",R.t(`sch_astro_${r.time.start}`))):n.push(R.t("sch_desc_atTime",r.time.start));else{r.time.mode===gb.minutes?r.time.interval===1?n.push(R.t("sch_desc_everyMinute")):n.push(R.t("sch_desc_everyNMinutes",r.time.interval.toString())):r.time.interval===1?n.push(R.t("sch_desc_everyHour")):n.push(R.t("sch_desc_everyNHours",r.time.interval.toString()));const s=Kc.indexOf(r.time.start)!==-1?R.t(`sch_astro_${r.time.start}`):r.time.start,a=Kc.indexOf(r.time.end)!==-1?R.t(`sch_astro_${r.time.end}`):r.time.end;(s!=="00:00"||a!=="24:00"&&a!=="23:59")&&n.push(R.t("sch_desc_intervalFromTo",s,a))}return r.period.once||(o.getTime()>Date.now()&&r.valid.to?n.push(R.t("sch_desc_validFromTo",r.valid.from,r.valid.to)):o.getTime()>Date.now()?n.push(R.t("sch_desc_validFrom",r.valid.from)):r.valid.to&&n.push(R.t("sch_desc_validTo",r.valid.to))),n.join(" ")}getTimePeriodElements(){const r=this.state.schedule;let n=!1,o=!1,s=!1,a=!0;return r.time.start==="00:00"&&r.time.end==="24:00"?(n=!0,a=!1):r.time.start==="sunrise"?(o=!0,a=!1):r.time.start==="sunset"&&(s=!0,a=!1),m.createElement("div",{key:"timePeriod",style:_e.rowDiv},m.createElement("div",{style:_e.modeDiv},m.createElement(at,{control:m.createElement(Vt,{style:_e.inputRadio,checked:!r.time.exactTime,onClick:()=>{const l=JSON.parse(JSON.stringify(this.state.schedule));l.time.exactTime=!1,this.onChange(l)}}),label:R.t("sch_intervalTime")})),m.createElement("div",{style:_e.settingsDiv},m.createElement("div",{style:_e.settingsDiv},!r.time.exactTime&&m.createElement("div",null,m.createElement("div",null,m.createElement(at,{control:m.createElement(Vt,{style:_e.inputRadio,checked:!!a,onClick:()=>{const l=JSON.parse(JSON.stringify(this.state.schedule));l.time.start="00:00",l.time.end="23:59",this.onChange(l)}}),label:a?"":R.t("sch_fromTo")}),a&&[m.createElement(ot,{variant:"standard",style:{..._e.inputTime,marginRight:10},key:"exactTimeFrom",type:"time",sx:l=>({'& input[type="time"]::-webkit-calendar-picker-indicator':{filter:l.palette.mode==="dark"?"invert(80%)":void 0}}),value:this.state.schedule.time.start,onChange:l=>{const u=JSON.parse(JSON.stringify(this.state.schedule));u.time.start=l.target.value,this.onChange(u)},slotProps:{inputLabel:{shrink:!0}},label:R.t("sch_from"),margin:"normal"}),m.createElement(ot,{variant:"standard",style:_e.inputTime,key:"exactTimeTo",type:"time",sx:l=>({'& input[type="time"]::-webkit-calendar-picker-indicator':{filter:l.palette.mode==="dark"?"invert(80%)":void 0}}),value:this.state.schedule.time.end,onChange:l=>{const u=JSON.parse(JSON.stringify(this.state.schedule));u.time.end=l.target.value,this.onChange(u)},slotProps:{inputLabel:{shrink:!0}},label:R.t("sch_to"),margin:"normal"})])),!r.time.exactTime&&m.createElement("div",null,m.createElement(at,{control:m.createElement(Vt,{style:_e.inputRadio,checked:!!n,onClick:()=>{const l=JSON.parse(JSON.stringify(this.state.schedule));l.time.start="00:00",l.time.end="24:00",this.onChange(l)}}),label:R.t("sch_wholeDay")})),!r.time.exactTime&&m.createElement("div",null,m.createElement(at,{control:m.createElement(Vt,{style:_e.inputRadio,checked:!!o,onClick:()=>{const l=JSON.parse(JSON.stringify(this.state.schedule));l.time.start="sunrise",l.time.end="sunset",this.onChange(l)}}),label:R.t("sch_astroDay")})),!r.time.exactTime&&m.createElement("div",null,m.createElement(at,{control:m.createElement(Vt,{style:_e.inputRadio,checked:!!s,onClick:()=>{const l=JSON.parse(JSON.stringify(this.state.schedule));l.time.start="sunset",l.time.end="sunrise",this.onChange(l)}}),label:R.t("sch_astroNight")}))),!r.time.exactTime&&this.getPeriodSettingsMinutes(a)))}getTimeExactElements(){const r=Kc.includes(this.state.schedule.time.start);return m.createElement("div",{key:"timeExact",style:_e.rowDiv},m.createElement("div",{style:_e.modeDiv},m.createElement(at,{control:m.createElement(Vt,{style:_e.inputRadio,checked:!!this.state.schedule.time.exactTime,onClick:()=>{const n=JSON.parse(JSON.stringify(this.state.schedule));n.time.exactTime=!0,this.onChange(n)}}),label:R.t("sch_exactTime")})),this.state.schedule.time.exactTime&&m.createElement(Gr,{variant:"standard",value:r?this.state.schedule.time.start:"00:00",onChange:n=>{const o=JSON.parse(JSON.stringify(this.state.schedule));o.time.start=n.target.value,this.onChange(o)}},m.createElement(xt,{key:"specific",value:"00:00"},R.t("sch_specificTime")),Kc.map(n=>m.createElement(xt,{key:n,value:n},R.t(`sch_astro_${n}`)))),this.state.schedule.time.exactTime&&!r&&m.createElement("div",{style:_e.settingsDiv},m.createElement(ot,{variant:"standard",style:_e.inputTime,key:"exactTimeValue",value:this.state.schedule.time.start,type:"time",sx:n=>({'& input[type="time"]::-webkit-calendar-picker-indicator':{filter:n.palette.mode==="dark"?"invert(80%)":void 0}}),onChange:n=>{const o=JSON.parse(JSON.stringify(this.state.schedule));o.time.start=n.target.value,this.onChange(o)},slotProps:{inputLabel:{shrink:!0}},margin:"normal"})))}static getDivider(){return m.createElement("hr",{style:_e.hr})}getPeriodModes(){const r=this.state.schedule,n=!r.period.dows&&!r.period.months&&!r.period.dates&&!r.period.years&&!r.period.days&&!r.period.weeks;return n&&!r.period.once&&(r.period.once=Or.now2string(!0)),[m.createElement("div",{key:"once",style:{..._e.rowDiv,..._e.rowOnce}},m.createElement("div",{style:_e.modeDiv},m.createElement(at,{control:m.createElement(Vt,{style:_e.inputRadio,checked:!!n,onClick:()=>{const o=JSON.parse(JSON.stringify(this.state.schedule));o.period.once=o.period.once||Or.now2string(!0),o.period.dows="",o.period.months="",o.period.dates="",o.period.years=0,o.period.yearDate=0,o.period.yearMonth=0,o.period.weeks=0,o.period.days=0,this.onChange(o)}}),label:R.t("sch_periodOnce")})),n&&m.createElement("div",{style:_e.settingsDiv},m.createElement(ot,{variant:"standard",style:_e.inputDate,type:"date",ref:this.refOnce,key:"exactDateAt",defaultValue:yb(r.period.once),onChange:o=>{this.timerOnce&&clearTimeout(this.timerOnce),this.timerOnce=null,this.refOnce.current&&(this.refOnce.current.style.background="#ff000030"),this.timerOnce=setTimeout(s=>{this.timerOnce=null,this.refOnce.current&&(this.refOnce.current.style.background="");const a=JSON.parse(JSON.stringify(this.state.schedule)),l=Or.string2date(s);l.toString()!=="Invalid Date"&&(a.period.once=`${ls(l.getDate())}.${ls(l.getMonth()+1)}.${l.getFullYear()}`,this.onChange(a))},1500,o.target.value)},slotProps:{inputLabel:{shrink:!0}},label:R.t("sch_at"),margin:"normal"}))),m.createElement(nt,{component:"div",key:"days",sx:Se.getStyle(this.props.theme,_e.rowDiv,_e.rowDays)},m.createElement("div",{style:_e.modeDiv},m.createElement(at,{control:m.createElement(Vt,{style:_e.inputRadio,checked:!!r.period.days,onClick:()=>{const o=JSON.parse(JSON.stringify(this.state.schedule));o.period.days=1,o.period.dows="",o.period.months="",o.period.dates="",o.period.years=0,o.period.yearDate=0,o.period.yearMonth=0,o.period.weeks=0,o.period.once="",this.onChange(o)}}),label:R.t("sch_periodDaily")})),m.createElement("div",{style:_e.settingsDiv},this.getPeriodSettingsDaily(),r.period.days?this.getPeriodSettingsWeekdays():null)),m.createElement(nt,{component:"div",key:"weeks",sx:Se.getStyle(this.props.theme,_e.rowDiv,_e.rowDows)},m.createElement("div",{style:_e.modeDiv},m.createElement(at,{control:m.createElement(Vt,{style:_e.inputRadio,checked:!!r.period.weeks,onClick:()=>{const o=JSON.parse(JSON.stringify(this.state.schedule));o.period.weeks=r.period.weeks?0:1,o.period.dows=r.period.dows||"[0]",o.period.months="",o.period.dates="",o.period.years=0,o.period.yearDate=0,o.period.yearMonth=0,o.period.days=0,o.period.once="",this.onChange(o)}}),label:R.t("sch_periodWeekly")})),m.createElement(nt,{component:"div",style:_e.settingsDiv},m.createElement("div",{style:_e.settingsDiv},this.getPeriodSettingsWeekly()),m.createElement(nt,{component:"div",sx:Se.getStyle(this.props.theme,_e.settingsDiv,_e.rowDowsDows)},this.state.schedule.period.weeks?this.getPeriodSettingsWeekdays():null))),m.createElement(nt,{component:"div",key:"months",sx:Se.getStyle(this.props.theme,_e.rowDiv,_e.rowMonths)},m.createElement("div",{style:_e.modeDiv},m.createElement(at,{control:m.createElement(Vt,{style:_e.inputRadio,checked:!!r.period.months,onClick:()=>{const o=JSON.parse(JSON.stringify(this.state.schedule));o.period.months=1,o.period.dows="",o.period.dates="",o.period.years=0,o.period.yearDate=0,o.period.yearMonth=0,o.period.weeks=0,o.period.days=0,o.period.once="",this.onChange(o)}}),label:R.t("sch_periodMonthly")})),m.createElement("div",{style:_e.settingsDiv},this.getPeriodSettingsMonthly(),r.period.months?m.createElement(nt,null,m.createElement(nt,{component:"div",sx:Se.getStyle(this.props.theme,_e.settingsDiv,_e.rowMonthsDates)},m.createElement(at,{control:m.createElement(Ut,{style:_e.inputRadio,checked:!!r.period.dates,onClick:()=>{const o=JSON.parse(JSON.stringify(this.state.schedule));o.period.months=o.period.months||1;const s=[];for(let a=1;a<=31;a++)s.push(a);o.period.dates=o.period.dates||JSON.stringify(s),o.period.dows="",o.period.years=0,o.period.yearDate=0,o.period.yearMonth=0,o.period.weeks=0,o.period.days=0,o.period.once="",this.onChange(o)}}),label:R.t("sch_periodDates")})),m.createElement(nt,{component:"div",sx:Se.getStyle(this.props.theme,_e.settingsDiv,_e.rowMonthsDates)},this.getPeriodSettingsDates())):null)),m.createElement(nt,{component:"div",key:"years",sx:Se.getStyle(this.props.theme,_e.rowDiv,_e.rowYears)},m.createElement("div",{style:_e.modeDiv},m.createElement(at,{control:m.createElement(Vt,{style:_e.inputRadio,checked:!!r.period.years,onClick:()=>{const o=JSON.parse(JSON.stringify(this.state.schedule));o.period.years=1,o.period.yearDate=1,o.period.yearMonth=1,o.period.dows="",o.period.months=0,o.period.dates="",o.period.weeks=0,o.period.days=0,o.period.once="",this.onChange(o)}}),label:R.t("sch_periodYearly")})),m.createElement("div",{style:_e.settingsDiv},m.createElement("div",{style:_e.settingsDiv},this.getPeriodSettingsYearly()),!!r.period.years&&m.createElement("div",{style:_e.settingsDiv},m.createElement("span",null,R.t("sch_on")),m.createElement(po,{key:"input",value:this.state.schedule.period.yearDate,style:_e.inputEvery,type:"number",inputProps:{min:1,max:31},onChange:o=>{const s=JSON.parse(JSON.stringify(this.state.schedule));s.period.yearDate=parseInt(o.target.value,10),s.period.yearDate<1&&(s.period.yearDate=31),s.period.yearDate>31&&(s.period.yearDate=1),this.onChange(s)}}),m.createElement(Gr,{variant:"standard",value:r.period.yearMonth,onChange:o=>{const s=JSON.parse(JSON.stringify(this.state.schedule));s.period.yearMonth=o.target.value,this.onChange(s)}},m.createElement(xt,{key:"every",value:0},R.t("sch_yearEveryMonth")),tf.map((o,s)=>m.createElement(xt,{key:o,value:s+1},R.t(o)))))))]}getPeriodSettingsMinutes(r){return m.createElement("div",{style:{display:"inline-block",marginTop:r?15:"inherit"}},m.createElement("label",{style:{marginLeft:4,marginRight:4}},R.t("sch_every")),m.createElement(po,{value:this.state.schedule.time.interval,style:{..._e.inputEvery,verticalAlign:"bottom"},type:"number",inputProps:{min:1},onChange:n=>{const o=JSON.parse(JSON.stringify(this.state.schedule));o.time.interval=parseInt(n.target.value,10),this.onChange(o)}}),m.createElement(Gr,{variant:"standard",value:this.state.schedule.time.mode,onChange:n=>{const o=JSON.parse(JSON.stringify(this.state.schedule));o.time.mode=n.target.value,this.onChange(o)}},m.createElement(xt,{value:gb.minutes},R.t("sch_periodMinutes")),m.createElement(xt,{value:gb.hours},R.t("sch_periodHours"))))}getPeriodSettingsWeekdays(){const r=this.state.schedule,n=r.period.dows&&r.period.dows!=="[1, 2, 3, 4, 5]"&&r.period.dows!=="[0, 6]";return[m.createElement("div",{key:"workdays"},m.createElement(at,{control:m.createElement(Vt,{style:_e.inputRadio,checked:r.period.dows==="[1, 2, 3, 4, 5]",onClick:()=>{const o=JSON.parse(JSON.stringify(this.state.schedule));o.period.dows="[1, 2, 3, 4, 5]",o.period.days&&(o.period.days=1),this.onChange(o)}}),label:R.t("sch_periodWorkdays")})),m.createElement("div",{key:"weekend"},m.createElement(at,{control:m.createElement(Vt,{style:_e.inputRadio,checked:r.period.dows==="[0, 6]",onClick:()=>{const o=JSON.parse(JSON.stringify(this.state.schedule));o.period.dows="[0, 6]",o.period.days&&(o.period.days=1),this.onChange(o)}}),label:R.t("sch_periodWeekend")})),m.createElement("div",{key:"specific",style:{verticalAlign:"top"}},m.createElement(at,{style:{verticalAlign:"top"},control:m.createElement(Vt,{style:_e.inputRadio,checked:!!n,onClick:()=>{const o=JSON.parse(JSON.stringify(this.state.schedule));o.period.dows="[0, 1, 2, 3, 4, 5, 6]",o.period.days&&(o.period.days=1),this.onChange(o)}}),label:R.t("sch_periodWeekdays")}),n&&(r.period.days===1||r.period.weeks)&&m.createElement(U_,{row:!0,style:{..._e.inputGroup,width:150}},[1,2,3,4,5,6,0].map(o=>m.createElement(at,{key:`specific_${o}`,style:_e.inputGroupElement,control:m.createElement(Ut,{style:_e.inputSmallCheck,checked:r.period.dows.includes(o.toString()),onChange:s=>{const a=JSON.parse(JSON.stringify(this.state.schedule));let l;try{l=JSON.parse(a.period.dows)}catch{l=[]}s.target.checked&&!l.includes(o)?l.push(o):!s.target.checked&&l.includes(o)&&l.splice(l.indexOf(o),1),l.sort((u,p)=>u-p),a.period.dows=JSON.stringify(l),a.period.days&&(a.period.days=1),this.onChange(a)}}),label:R.t(_b[o])}))))]}getPeriodSettingsDaily(){if(!this.state.schedule.period.days)return null;const r=this.state.schedule;return[m.createElement("div",{key:"every_day"},m.createElement(at,{control:m.createElement(Vt,{style:_e.inputRadio,checked:r.period.days===1&&!r.period.dows,onClick:()=>{const n=JSON.parse(JSON.stringify(this.state.schedule));n.period.days=1,n.period.dows="",this.onChange(n)}}),label:R.t("sch_periodEveryDay")})),m.createElement("div",{key:"everyN_day"},m.createElement(at,{control:m.createElement(Vt,{style:_e.inputRadio,checked:r.period.days>1,onClick:()=>{const n=JSON.parse(JSON.stringify(this.state.schedule));n.period.days=2,n.period.dows="",this.onChange(n)}}),label:R.t("sch_periodEvery")}),r.period.days>1&&[m.createElement(po,{key:"input",value:this.state.schedule.period.days,style:_e.inputEvery,type:"number",inputProps:{min:2},onChange:n=>{const o=JSON.parse(JSON.stringify(this.state.schedule));o.period.days=parseInt(n.target.value,10),o.period.dows="",this.onChange(o)}}),m.createElement("span",{key:"span",style:{paddingRight:10}},R.t("sch_periodDay"))])]}getPeriodSettingsWeekly(){if(!this.state.schedule.period.weeks)return null;const r=this.state.schedule;return[m.createElement("div",{key:"radios",style:{display:"inline-block",verticalAlign:"top"}},m.createElement("div",null,m.createElement(at,{control:m.createElement(Vt,{style:_e.inputRadio,checked:r.period.weeks===1,onClick:()=>{const n=JSON.parse(JSON.stringify(this.state.schedule));n.period.weeks=1,this.onChange(n)}}),label:R.t("sch_periodEveryWeek")})),m.createElement("div",null,m.createElement(at,{control:m.createElement(Vt,{style:_e.inputRadio,checked:r.period.weeks>1,onClick:()=>{const n=JSON.parse(JSON.stringify(this.state.schedule));n.period.weeks=2,this.onChange(n)}}),label:R.t("sch_periodEvery")}),r.period.weeks>1&&[m.createElement(po,{key:"input",value:this.state.schedule.period.weeks,style:_e.inputEvery,type:"number",inputProps:{min:2},onChange:n=>{const o=JSON.parse(JSON.stringify(this.state.schedule));o.period.weeks=parseInt(n.target.value,10),this.onChange(o)}}),m.createElement("span",{key:"text"},R.t("sch_periodWeek"))]))]}getPeriodSettingsDates(){if(!this.state.schedule.period.dates)return null;const r=this.state.schedule,n=[];for(let s=1;s<=31;s++)n.push(s);const o=JSON.parse(r.period.dates);return m.createElement(U_,{row:!0,style:{..._e.inputGroup,maxWidth:620}},m.createElement(at,{style:_e.inputDateDay,control:m.createElement(Ut,{style:_e.inputDateDayCheck,checked:o.length===31,onChange:()=>{const s=JSON.parse(JSON.stringify(this.state.schedule)),a=[];for(let l=1;l<=31;l++)a.push(l);s.period.dates=JSON.stringify(a),this.onChange(s)}}),label:R.t("sch_all")}),m.createElement(at,{style:_e.inputDateDay,control:m.createElement(Ut,{style:_e.inputDateDayCheck,checked:!o.length,onChange:()=>{const s=JSON.parse(JSON.stringify(this.state.schedule));s.period.dates="[]",this.onChange(s)}}),label:R.t("sch_no_one")}),o.length!==31&&!!o.length&&m.createElement(at,{style:_e.inputDateDay,control:m.createElement(Ut,{style:_e.inputDateDayCheck,checked:!1,onChange:()=>{const s=JSON.parse(JSON.stringify(this.state.schedule)),a=[],l=JSON.parse(s.period.dates);for(let u=1;u<=31;u++)l.includes(u)||a.push(u);a.sort((u,p)=>u-p),s.period.dates=JSON.stringify(a),this.onChange(s)}}),label:R.t("sch_invert")}),m.createElement("div",null),n.map(s=>m.createElement(at,{key:`date_${s}`,style:s?_e.inputDateDay:{..._e.inputDateDay,opacity:0,cursor:"default",userSelect:"none",pointerEvents:"none"},control:m.createElement(Ut,{style:_e.inputDateDayCheck,checked:JSON.parse(r.period.dates).includes(s),onChange:a=>{const l=JSON.parse(JSON.stringify(this.state.schedule));let u;try{u=JSON.parse(l.period.dates)}catch{u=[]}a.target.checked&&!u.includes(s)?u.push(s):!a.target.checked&&u.includes(s)&&u.splice(u.indexOf(s),1),u.sort((p,h)=>p-h),l.period.dates=JSON.stringify(u),this.onChange(l)}}),label:s<10?[m.createElement("span",{key:"0",style:{opacity:0}},"0"),m.createElement("span",{key:"num"},s)]:s})))}getPeriodSettingsMonthly(){if(!this.state.schedule.period.months)return null;const r=this.state.schedule,n=typeof r.period.months=="string"?JSON.parse(r.period.months):[];return[m.createElement("div",{key:"every"},m.createElement(at,{control:m.createElement(Vt,{style:_e.inputRadio,checked:typeof r.period.months=="number"&&r.period.months===1,onClick:()=>{const o=JSON.parse(JSON.stringify(this.state.schedule));o.period.months=1,this.onChange(r)}}),label:R.t("sch_periodEveryMonth")})),m.createElement("div",{key:"everyN"},m.createElement(at,{control:m.createElement(Vt,{style:_e.inputRadio,checked:typeof r.period.months=="number"&&r.period.months>1,onClick:()=>{const o=JSON.parse(JSON.stringify(this.state.schedule));o.period.months=2,this.onChange(o)}}),label:R.t("sch_periodEvery")}),typeof r.period.months=="number"&&r.period.months>1&&[m.createElement(po,{key:"input",value:r.period.months,style:_e.inputEvery,type:"number",inputProps:{min:2},onChange:o=>{const s=JSON.parse(JSON.stringify(this.state.schedule));s.period.months=parseInt(o.target.value,10),s.period.months<1&&(s.period.months=1),this.onChange(s)}}),m.createElement("span",{key:"text"},R.t("sch_periodMonth"))]),m.createElement("div",{key:"specific",style:{verticalAlign:"top"}},m.createElement(at,{style:{verticalAlign:"top"},control:m.createElement(Vt,{style:_e.inputRadio,checked:typeof r.period.months=="string",onClick:()=>{const o=JSON.parse(JSON.stringify(this.state.schedule));o.period.months="[1,2,3,4,5,6,7,8,9,10,11,12]",this.onChange(o)}}),label:R.t("sch_periodSpecificMonths")}),typeof r.period.months=="string"&&m.createElement(U_,{row:!0,style:_e.inputGroup},m.createElement(at,{style:_e.inputDateDay,control:m.createElement(Ut,{style:_e.inputDateDayCheck,checked:n.length===12,onChange:()=>{const o=JSON.parse(JSON.stringify(this.state.schedule)),s=[];for(let a=1;a<=12;a++)s.push(a);o.period.months=JSON.stringify(s),this.onChange(o)}}),label:R.t("sch_all")}),m.createElement(at,{style:_e.inputDateDay,control:m.createElement(Ut,{style:_e.inputDateDayCheck,checked:!n.length,onChange:()=>{const o=JSON.parse(JSON.stringify(this.state.schedule));o.period.months="[]",this.onChange(o)}}),label:R.t("sch_no_one")}),n.length!==12&&!!n.length&&m.createElement(at,{style:_e.inputDateDay,control:m.createElement(Ut,{style:_e.inputDateDayCheck,checked:!1,onChange:()=>{const o=JSON.parse(JSON.stringify(this.state.schedule)),s=[],a=JSON.parse(o.period.months);for(let l=1;l<=12;l++)a.includes(l)||s.push(l);s.sort((l,u)=>l-u),o.period.months=JSON.stringify(s),this.onChange(o)}}),label:R.t("sch_invert")}),m.createElement("div",null),tf.map((o,s)=>m.createElement(at,{key:`month_${s}`,style:_e.inputGroupElement,control:m.createElement(Ut,{style:_e.inputSmallCheck,checked:typeof r.period.months=="string"?JSON.parse(r.period.months).includes(s+1):r.period.months===s,onChange:a=>{const l=JSON.parse(JSON.stringify(this.state.schedule));let u;try{u=JSON.parse(l.period.months)}catch{u=[]}a.target.checked&&!u.includes(s+1)?u.push(s+1):!a.target.checked&&u.includes(s+1)&&u.splice(u.indexOf(s+1),1),u.sort((p,h)=>p-h),l.period.months=JSON.stringify(u),this.onChange(l)}}),label:R.t(o)}))))]}getPeriodSettingsYearly(){if(!this.state.schedule.period.years)return null;const r=this.state.schedule;return[m.createElement("div",{key:"year"},m.createElement(at,{control:m.createElement(Vt,{style:_e.inputRadio,checked:r.period.years===1,onClick:()=>{const n=JSON.parse(JSON.stringify(this.state.schedule));n.period.years=1,this.onChange(n)}}),label:R.t("sch_periodEveryYear")})),m.createElement("div",{key:"every"},m.createElement(at,{control:m.createElement(Vt,{style:_e.inputRadio,checked:r.period.years>1,onClick:()=>{const n=JSON.parse(JSON.stringify(this.state.schedule));n.period.years=2,this.onChange(n)}}),label:R.t("sch_periodEvery")}),r.period.years>1&&[m.createElement(po,{key:"input",value:this.state.schedule.period.years,style:_e.inputEvery,type:"number",inputProps:{min:2},onChange:n=>{const o=JSON.parse(JSON.stringify(this.state.schedule));o.period.years=parseInt(n.target.value,10),o.period.years<1&&(o.period.years=1),this.onChange(o)}}),m.createElement("span",{key:"text"},R.t("sch_periodYear"))])]}static now2string(r){const n=new Date;return n.setHours(0),n.setMinutes(0),n.setSeconds(0),n.setMilliseconds(0),r&&(n.setDate(n.getDate()+2),n.setMilliseconds(n.getMilliseconds()-1)),`${ls(n.getDate())}.${ls(n.getMonth()+1)}.${ls(n.getFullYear())}`}static string2date(r){let n=r.split(".");return n.length===1?(n=r.split("-"),new Date(parseInt(n[0],10),parseInt(n[1],10)-1,parseInt(n[2],10))):new Date(parseInt(n[2],10),parseInt(n[1],10)-1,parseInt(n[0],10))}getValidSettings(){const r=this.state.schedule;return m.createElement("div",{style:_e.rowDiv},m.createElement("div",{style:{..._e.modeDiv,verticalAlign:"middle"}},m.createElement("span",{style:{fontWeight:"bold",paddingRight:10}},R.t("sch_valid")),m.createElement("span",null,R.t("sch_validFrom"))),m.createElement("div",{style:_e.settingsDiv},m.createElement(ot,{variant:"standard",style:{..._e.inputDate,marginRight:10},key:"exactTimeFrom",inputRef:this.refFrom,defaultValue:yb(r.valid.from),type:"date",onChange:n=>{this.timerFrom&&clearTimeout(this.timerFrom),this.refFrom.current&&(this.refFrom.current.style.background="#ff000030"),this.timerFrom=setTimeout(o=>{this.timerFrom=null,this.refFrom.current&&(this.refFrom.current.style.background="");const s=JSON.parse(JSON.stringify(this.state.schedule)),a=Or.string2date(o);a.toString()!=="Invalid Date"&&(s.valid.from=`${ls(a.getDate())}.${ls(a.getMonth()+1)}.${a.getFullYear()}`,this.onChange(s))},1500,n.target.value)},slotProps:{inputLabel:{shrink:!0}},margin:"normal"}),m.createElement(at,{control:m.createElement(Ut,{style:_e.inputRadio,checked:!!r.valid.to,onClick:()=>{const n=JSON.parse(JSON.stringify(this.state.schedule));n.valid.to=n.valid.to?"":Or.now2string(!0),this.onChange(n)}}),label:R.t("sch_validTo")}),!!r.valid.to&&m.createElement(ot,{variant:"standard",inputRef:this.refTo,style:{..._e.inputDate,marginRight:10},key:"exactTimeFrom",type:"date",defaultValue:yb(r.valid.to),onChange:n=>{this.timerTo&&clearTimeout(this.timerTo),this.refTo.current&&(this.refTo.current.style.background="#ff000030"),this.timerTo=setTimeout(o=>{this.timerTo=null,this.refTo.current&&(this.refTo.current.style.background="");const s=JSON.parse(JSON.stringify(this.state.schedule)),a=Or.string2date(o);a.toString()!=="Invalid Date"&&(s.valid.to=`${ls(a.getDate())}.${ls(a.getMonth()+1)}.${a.getFullYear()}`,this.onChange(s))},1500,n.target.value)},slotProps:{inputLabel:{shrink:!0}},margin:"normal"})))}render(){return m.createElement("div",{style:{height:"calc(100% - 48px)",width:"100%",overflow:"hidden"}},m.createElement("div",null,this.state.desc),m.createElement("div",{style:_e.scrollWindow},m.createElement("h5",null,R.t("sch_time")),this.getTimePeriodElements(),this.getTimeExactElements(),Or.getDivider(),m.createElement("h5",null,R.t("sch_period")),this.getPeriodModes(),!this.state.schedule.period.once&&Or.getDivider(),!this.state.schedule.period.once&&this.getValidSettings()))}}class pXe extends N.Component{constructor(r){super(r);Y(this,"dialogName");Y(this,"filters");Y(this,"filterFunc");this.dialogName=this.props.dialogName||"default",this.dialogName=`SelectID.${this.dialogName}`;const n=(window._localStorage||window.localStorage).getItem(this.dialogName)||"{}";try{this.filters=JSON.parse(n)}catch{this.filters={}}r.filters&&(this.filters={...this.filters,...r.filters||{}});let o=this.props.selected||[];if(Array.isArray(o)||(o=[o]),o=o.filter(s=>s),r.filterFunc)if(typeof r.filterFunc=="string")try{this.filterFunc=new Function("obj",r.filterFunc)}catch{console.error(`Cannot parse filter function: "obj => ${r.filterFunc}"`),this.filterFunc=void 0}else this.filterFunc=r.filterFunc;this.state={selected:o,name:""}}handleCancel(){this.props.onClose()}handleOk(){this.props.onOk(this.props.multiSelect?this.state.selected:this.state.selected[0]||"",this.state.name),this.props.onClose()}render(){let r;return this.state.name||this.state.selected.length?this.state.selected.length===1?r=[m.createElement("span",{key:"selected"},R.t("ra_Selected")," "),m.createElement("span",{key:"id",style:{fontWeight:"bold",fontStyle:"italic"}},(this.state.name||this.state.selected[0])+(this.state.name?` [${this.state.selected[0]}]`:""))]:r=[m.createElement("span",{key:"selected"},R.t("ra_Selected")," "),m.createElement("span",{key:"id",style:{fontWeight:"bold",fontStyle:"italic"}},R.t("%s items",this.state.selected.length.toString()))]:r=this.props.title||R.t("ra_Please select object ID..."),m.createElement(Mr,{onClose:()=>{},maxWidth:!1,sx:{"& .MuiDialog-paper":{height:"95%",p:"4px",width:"100%",maxWidth:"100%",maxHeight:"calc(100% - 16px)"}},fullWidth:!0,open:!0,"aria-labelledby":"ar_dialog_selectid_title"},m.createElement(Ar,{id:"ar_dialog_selectid_title",style:{whiteSpace:"nowrap",width:"calc(100% - 72px)",overflow:"hidden",display:"inline-block",textOverflow:"ellipsis"}},r),m.createElement(Vr,{style:{height:"100%",overflow:"hidden",padding:"8px 4px"}},m.createElement(dXe,{foldersFirst:this.props.foldersFirst,imagePrefix:this.props.imagePrefix||this.props.prefix,dateFormat:this.props.dateFormat,defaultFilters:this.filters,dialogName:this.dialogName,isFloatComma:this.props.isFloatComma,showExpertButton:this.props.showExpertButton!==void 0?this.props.showExpertButton:!0,expertMode:this.props.expertMode,columns:this.props.columns||["name","type","role","room","func","val"],types:this.props.types?Array.isArray(this.props.types)?this.props.types:[this.props.types]:["state"],root:this.props.root,t:R.t,lang:this.props.lang||R.getLanguage(),socket:this.props.socket,selected:this.state.selected,multiSelect:this.props.multiSelect,notEditable:this.props.notEditable===void 0?!0:this.props.notEditable,themeName:this.props.themeName,themeType:this.props.themeType,theme:this.props.theme,customFilter:this.props.customFilter,allowNonObjects:this.props.allowNonObjects,onFilterChanged:n=>{this.filters=n,(window._localStorage||window.localStorage).setItem(this.dialogName,JSON.stringify(n))},onSelect:(n,o,s)=>{let a;Array.isArray(n)?a=n:a=[n],JSON.stringify(a)!==JSON.stringify(this.state.selected)?this.setState({selected:a,name:o},()=>s&&this.handleOk()):s&&this.handleOk()},filterFunc:this.filterFunc,title:"",classes:{}})),m.createElement(qr,null,m.createElement(gt,{id:`ar_dialog_selectid_ok_${this.props.dialogName||""}`,variant:"contained",onClick:()=>this.handleOk(),startIcon:m.createElement(Yn,null),disabled:!this.state.selected.length,color:"primary"},this.props.ok||R.t("ra_Ok")),m.createElement(gt,{id:`ar_dialog_selectid_cancel_${this.props.dialogName||""}`,color:"grey",variant:"contained",onClick:()=>this.handleCancel(),startIcon:m.createElement(cd,null)},this.props.cancel||R.t("ra_Cancel"))))}}/*! + * Cropper.js v1.6.2 + * https://fengyuanchen.github.io/cropperjs + * + * Copyright 2015-present Chen Fengyuan + * Released under the MIT license + * + * Date: 2024-04-21T07:43:05.335Z + */function ID(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),r.push.apply(r,n)}return r}function VP(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=new Array(e);r
',DXe=Number.isNaN||Ho.isNaN;function vt(t){return typeof t=="number"&&!DXe(t)}var XD=function(e){return e>0&&e<1/0};function vb(t){return typeof t>"u"}function ti(t){return R0(t)==="object"&&t!==null}var NXe=Object.prototype.hasOwnProperty;function kl(t){if(!ti(t))return!1;try{var e=t.constructor,r=e.prototype;return e&&r&&NXe.call(r,"isPrototypeOf")}catch{return!1}}function hn(t){return typeof t=="function"}var MXe=Array.prototype.slice;function rI(t){return Array.from?Array.from(t):MXe.call(t)}function yr(t,e){return t&&hn(e)&&(Array.isArray(t)||vt(t.length)?rI(t).forEach(function(r,n){e.call(t,r,n,t)}):ti(t)&&Object.keys(t).forEach(function(r){e.call(t,t[r],r,t)})),t}var er=Object.assign||function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o0&&n.forEach(function(s){ti(s)&&Object.keys(s).forEach(function(a){e[a]=s[a]})}),e},AXe=/\.\d*(?:0|9){12}\d*$/;function Al(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e11;return AXe.test(t)?Math.round(t*e)/e:t}var PXe=/^width|height|left|top|marginLeft|marginTop$/;function ra(t,e){var r=t.style;yr(e,function(n,o){PXe.test(o)&&vt(n)&&(n="".concat(n,"px")),r[o]=n})}function IXe(t,e){return t.classList?t.classList.contains(e):t.className.indexOf(e)>-1}function kr(t,e){if(e){if(vt(t.length)){yr(t,function(n){kr(n,e)});return}if(t.classList){t.classList.add(e);return}var r=t.className.trim();r?r.indexOf(e)<0&&(t.className="".concat(r," ").concat(e)):t.className=e}}function Wo(t,e){if(e){if(vt(t.length)){yr(t,function(r){Wo(r,e)});return}if(t.classList){t.classList.remove(e);return}t.className.indexOf(e)>=0&&(t.className=t.className.replace(e,""))}}function $l(t,e,r){if(e){if(vt(t.length)){yr(t,function(n){$l(n,e,r)});return}r?kr(t,e):Wo(t,e)}}var RXe=/([a-z\d])([A-Z])/g;function B1(t){return t.replace(RXe,"$1-$2").toLowerCase()}function q0(t,e){return ti(t[e])?t[e]:t.dataset?t.dataset[e]:t.getAttribute("data-".concat(B1(e)))}function qu(t,e,r){ti(r)?t[e]=r:t.dataset?t.dataset[e]=r:t.setAttribute("data-".concat(B1(e)),r)}function jXe(t,e){if(ti(t[e]))try{delete t[e]}catch{t[e]=void 0}else if(t.dataset)try{delete t.dataset[e]}catch{t.dataset[e]=void 0}else t.removeAttribute("data-".concat(B1(e)))}var nI=/\s\s*/,oI=function(){var t=!1;if(zh){var e=!1,r=function(){},n=Object.defineProperty({},"once",{get:function(){return t=!0,e},set:function(s){e=s}});Ho.addEventListener("test",r,n),Ho.removeEventListener("test",r,n)}return t}();function lo(t,e,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},o=r;e.trim().split(nI).forEach(function(s){if(!oI){var a=t.listeners;a&&a[s]&&a[s][r]&&(o=a[s][r],delete a[s][r],Object.keys(a[s]).length===0&&delete a[s],Object.keys(a).length===0&&delete t.listeners)}t.removeEventListener(s,o,n)})}function Un(t,e,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},o=r;e.trim().split(nI).forEach(function(s){if(n.once&&!oI){var a=t.listeners,l=a===void 0?{}:a;o=function(){delete l[s][r],t.removeEventListener(s,o,n);for(var p=arguments.length,h=new Array(p),d=0;dMath.abs(r)&&(r=_)})}),r}function nf(t,e){var r=t.pageX,n=t.pageY,o={endX:r,endY:n};return e?o:VP({startX:r,startY:n},o)}function LXe(t){var e=0,r=0,n=0;return yr(t,function(o){var s=o.startX,a=o.startY;e+=s,r+=a,n+=1}),e/=n,r/=n,{pageX:e,pageY:r}}function na(t){var e=t.aspectRatio,r=t.height,n=t.width,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"contain",s=XD(n),a=XD(r);if(s&&a){var l=r*e;o==="contain"&&l>n||o==="cover"&&l90?{width:u,height:l}:{width:l,height:u}}function WXe(t,e,r,n){var o=e.aspectRatio,s=e.naturalWidth,a=e.naturalHeight,l=e.rotate,u=l===void 0?0:l,p=e.scaleX,h=p===void 0?1:p,d=e.scaleY,_=d===void 0?1:d,g=r.aspectRatio,v=r.naturalWidth,w=r.naturalHeight,x=n.fillColor,C=x===void 0?"transparent":x,M=n.imageSmoothingEnabled,$=M===void 0?!0:M,E=n.imageSmoothingQuality,k=E===void 0?"low":E,T=n.maxWidth,A=T===void 0?1/0:T,I=n.maxHeight,j=I===void 0?1/0:I,O=n.minWidth,F=O===void 0?0:O,H=n.minHeight,q=H===void 0?0:H,U=document.createElement("canvas"),B=U.getContext("2d"),X=na({aspectRatio:g,width:A,height:j}),re=na({aspectRatio:g,width:F,height:q},"cover"),Z=Math.min(X.width,Math.max(re.width,v)),J=Math.min(X.height,Math.max(re.height,w)),ne=na({aspectRatio:o,width:A,height:j}),L=na({aspectRatio:o,width:F,height:q},"cover"),Q=Math.min(ne.width,Math.max(L.width,s)),fe=Math.min(ne.height,Math.max(L.height,a)),me=[-Q/2,-fe/2,Q,fe];return U.width=Al(Z),U.height=Al(J),B.fillStyle=C,B.fillRect(0,0,Z,J),B.save(),B.translate(Z/2,J/2),B.rotate(u*Math.PI/180),B.scale(h,_),B.imageSmoothingEnabled=$,B.imageSmoothingQuality=k,B.drawImage.apply(B,[t].concat(XP(me.map(function(ye){return Math.floor(Al(ye))})))),B.restore(),U}var aI=String.fromCharCode;function UXe(t,e,r){var n="";r+=e;for(var o=e;o0;)r.push(aI.apply(null,rI(o.subarray(0,n)))),o=o.subarray(n);return"data:".concat(e,";base64,").concat(btoa(r.join("")))}function GXe(t){var e=new DataView(t),r;try{var n,o,s;if(e.getUint8(0)===255&&e.getUint8(1)===216)for(var a=e.byteLength,l=2;l+1=8&&(s=p+d)}}}if(s){var _=e.getUint16(s,n),g,v;for(v=0;v<_;v+=1)if(g=s+v*12+2,e.getUint16(g,n)===274){g+=8,r=e.getUint16(g,n),e.setUint16(g,1,n);break}}}catch{r=1}return r}function XXe(t){var e=0,r=1,n=1;switch(t){case 2:r=-1;break;case 3:e=-180;break;case 4:n=-1;break;case 5:e=90,n=-1;break;case 6:e=90;break;case 7:e=90,r=-1;break;case 8:e=-90;break}return{rotate:e,scaleX:r,scaleY:n}}var JXe={render:function(){this.initContainer(),this.initCanvas(),this.initCropBox(),this.renderCanvas(),this.cropped&&this.renderCropBox()},initContainer:function(){var e=this.element,r=this.options,n=this.container,o=this.cropper,s=Number(r.minContainerWidth),a=Number(r.minContainerHeight);kr(o,mn),Wo(e,mn);var l={width:Math.max(n.offsetWidth,s>=0?s:eI),height:Math.max(n.offsetHeight,a>=0?a:tI)};this.containerData=l,ra(o,{width:l.width,height:l.height}),kr(e,mn),Wo(o,mn)},initCanvas:function(){var e=this.containerData,r=this.imageData,n=this.options.viewMode,o=Math.abs(r.rotate)%180===90,s=o?r.naturalHeight:r.naturalWidth,a=o?r.naturalWidth:r.naturalHeight,l=s/a,u=e.width,p=e.height;e.height*l>e.width?n===3?u=e.height*l:p=e.width/l:n===3?p=e.width/l:u=e.height*l;var h={aspectRatio:l,naturalWidth:s,naturalHeight:a,width:u,height:p};this.canvasData=h,this.limited=n===1||n===2,this.limitCanvas(!0,!0),h.width=Math.min(Math.max(h.width,h.minWidth),h.maxWidth),h.height=Math.min(Math.max(h.height,h.minHeight),h.maxHeight),h.left=(e.width-h.width)/2,h.top=(e.height-h.height)/2,h.oldLeft=h.left,h.oldTop=h.top,this.initialCanvasData=er({},h)},limitCanvas:function(e,r){var n=this.options,o=this.containerData,s=this.canvasData,a=this.cropBoxData,l=n.viewMode,u=s.aspectRatio,p=this.cropped&&a;if(e){var h=Number(n.minCanvasWidth)||0,d=Number(n.minCanvasHeight)||0;l>1?(h=Math.max(h,o.width),d=Math.max(d,o.height),l===3&&(d*u>h?h=d*u:d=h/u)):l>0&&(h?h=Math.max(h,p?a.width:0):d?d=Math.max(d,p?a.height:0):p&&(h=a.width,d=a.height,d*u>h?h=d*u:d=h/u));var _=na({aspectRatio:u,width:h,height:d});h=_.width,d=_.height,s.minWidth=h,s.minHeight=d,s.maxWidth=1/0,s.maxHeight=1/0}if(r)if(l>(p?0:1)){var g=o.width-s.width,v=o.height-s.height;s.minLeft=Math.min(0,g),s.minTop=Math.min(0,v),s.maxLeft=Math.max(0,g),s.maxTop=Math.max(0,v),p&&this.limited&&(s.minLeft=Math.min(a.left,a.left+(a.width-s.width)),s.minTop=Math.min(a.top,a.top+(a.height-s.height)),s.maxLeft=a.left,s.maxTop=a.top,l===2&&(s.width>=o.width&&(s.minLeft=Math.min(0,g),s.maxLeft=Math.max(0,g)),s.height>=o.height&&(s.minTop=Math.min(0,v),s.maxTop=Math.max(0,v))))}else s.minLeft=-s.width,s.minTop=-s.height,s.maxLeft=o.width,s.maxTop=o.height},renderCanvas:function(e,r){var n=this.canvasData,o=this.imageData;if(r){var s=BXe({width:o.naturalWidth*Math.abs(o.scaleX||1),height:o.naturalHeight*Math.abs(o.scaleY||1),degree:o.rotate||0}),a=s.width,l=s.height,u=n.width*(a/n.naturalWidth),p=n.height*(l/n.naturalHeight);n.left-=(u-n.width)/2,n.top-=(p-n.height)/2,n.width=u,n.height=p,n.aspectRatio=a/l,n.naturalWidth=a,n.naturalHeight=l,this.limitCanvas(!0,!1)}(n.width>n.maxWidth||n.widthn.maxHeight||n.heightr.width?s.height=s.width/n:s.width=s.height*n),this.cropBoxData=s,this.limitCropBox(!0,!0),s.width=Math.min(Math.max(s.width,s.minWidth),s.maxWidth),s.height=Math.min(Math.max(s.height,s.minHeight),s.maxHeight),s.width=Math.max(s.minWidth,s.width*o),s.height=Math.max(s.minHeight,s.height*o),s.left=r.left+(r.width-s.width)/2,s.top=r.top+(r.height-s.height)/2,s.oldLeft=s.left,s.oldTop=s.top,this.initialCropBoxData=er({},s)},limitCropBox:function(e,r){var n=this.options,o=this.containerData,s=this.canvasData,a=this.cropBoxData,l=this.limited,u=n.aspectRatio;if(e){var p=Number(n.minCropBoxWidth)||0,h=Number(n.minCropBoxHeight)||0,d=l?Math.min(o.width,s.width,s.width+s.left,o.width-s.left):o.width,_=l?Math.min(o.height,s.height,s.height+s.top,o.height-s.top):o.height;p=Math.min(p,o.width),h=Math.min(h,o.height),u&&(p&&h?h*u>p?h=p/u:p=h*u:p?h=p/u:h&&(p=h*u),_*u>d?_=d/u:d=_*u),a.minWidth=Math.min(p,d),a.minHeight=Math.min(h,_),a.maxWidth=d,a.maxHeight=_}r&&(l?(a.minLeft=Math.max(0,s.left),a.minTop=Math.max(0,s.top),a.maxLeft=Math.min(o.width,s.left+s.width)-a.width,a.maxTop=Math.min(o.height,s.top+s.height)-a.height):(a.minLeft=0,a.minTop=0,a.maxLeft=o.width-a.width,a.maxTop=o.height-a.height))},renderCropBox:function(){var e=this.options,r=this.containerData,n=this.cropBoxData;(n.width>n.maxWidth||n.widthn.maxHeight||n.height=r.width&&n.height>=r.height?YP:z1),ra(this.cropBox,er({width:n.width,height:n.height},Ou({translateX:n.left,translateY:n.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),Pl(this.element,L0,this.getData())}},YXe={initPreview:function(){var e=this.element,r=this.crossOrigin,n=this.options.preview,o=r?this.crossOriginUrl:this.url,s=e.alt||"The image to preview",a=document.createElement("img");if(r&&(a.crossOrigin=r),a.src=o,a.alt=s,this.viewBox.appendChild(a),this.viewBoxImage=a,!!n){var l=n;typeof n=="string"?l=e.ownerDocument.querySelectorAll(n):n.querySelector&&(l=[n]),this.previews=l,yr(l,function(u){var p=document.createElement("img");qu(u,rf,{width:u.offsetWidth,height:u.offsetHeight,html:u.innerHTML}),r&&(p.crossOrigin=r),p.src=o,p.alt=s,p.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',u.innerHTML="",u.appendChild(p)})}},resetPreview:function(){yr(this.previews,function(e){var r=q0(e,rf);ra(e,{width:r.width,height:r.height}),e.innerHTML=r.html,jXe(e,rf)})},preview:function(){var e=this.imageData,r=this.canvasData,n=this.cropBoxData,o=n.width,s=n.height,a=e.width,l=e.height,u=n.left-r.left-e.left,p=n.top-r.top-e.top;!this.cropped||this.disabled||(ra(this.viewBoxImage,er({width:a,height:l},Ou(er({translateX:-u,translateY:-p},e)))),yr(this.previews,function(h){var d=q0(h,rf),_=d.width,g=d.height,v=_,w=g,x=1;o&&(x=_/o,w=s*x),s&&w>g&&(x=g/s,v=o*x,w=g),ra(h,{width:v,height:w}),ra(h.getElementsByTagName("img")[0],er({width:a*x,height:l*x},Ou(er({translateX:-u*x,translateY:-p*x},e))))}))}},KXe={bind:function(){var e=this.element,r=this.options,n=this.cropper;hn(r.cropstart)&&Un(e,U0,r.cropstart),hn(r.cropmove)&&Un(e,W0,r.cropmove),hn(r.cropend)&&Un(e,B0,r.cropend),hn(r.crop)&&Un(e,L0,r.crop),hn(r.zoom)&&Un(e,H0,r.zoom),Un(n,LD,this.onCropStart=this.cropStart.bind(this)),r.zoomable&&r.zoomOnWheel&&Un(n,qD,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),r.toggleDragModeOnDblclick&&Un(n,zD,this.onDblclick=this.dblclick.bind(this)),Un(e.ownerDocument,BD,this.onCropMove=this.cropMove.bind(this)),Un(e.ownerDocument,WD,this.onCropEnd=this.cropEnd.bind(this)),r.responsive&&Un(window,HD,this.onResize=this.resize.bind(this))},unbind:function(){var e=this.element,r=this.options,n=this.cropper;hn(r.cropstart)&&lo(e,U0,r.cropstart),hn(r.cropmove)&&lo(e,W0,r.cropmove),hn(r.cropend)&&lo(e,B0,r.cropend),hn(r.crop)&&lo(e,L0,r.crop),hn(r.zoom)&&lo(e,H0,r.zoom),lo(n,LD,this.onCropStart),r.zoomable&&r.zoomOnWheel&&lo(n,qD,this.onWheel,{passive:!1,capture:!0}),r.toggleDragModeOnDblclick&&lo(n,zD,this.onDblclick),lo(e.ownerDocument,BD,this.onCropMove),lo(e.ownerDocument,WD,this.onCropEnd),r.responsive&&lo(window,HD,this.onResize)}},ZXe={resize:function(){if(!this.disabled){var e=this.options,r=this.container,n=this.containerData,o=r.offsetWidth/n.width,s=r.offsetHeight/n.height,a=Math.abs(o-1)>Math.abs(s-1)?o:s;if(a!==1){var l,u;e.restore&&(l=this.getCanvasData(),u=this.getCropBoxData()),this.render(),e.restore&&(this.setCanvasData(yr(l,function(p,h){l[h]=p*a})),this.setCropBoxData(yr(u,function(p,h){u[h]=p*a})))}}},dblclick:function(){this.disabled||this.options.dragMode===QP||this.setDragMode(IXe(this.dragBox,F0)?ZP:L1)},wheel:function(e){var r=this,n=Number(this.options.wheelZoomRatio)||.1,o=1;this.disabled||(e.preventDefault(),!this.wheeling&&(this.wheeling=!0,setTimeout(function(){r.wheeling=!1},50),e.deltaY?o=e.deltaY>0?1:-1:e.wheelDelta?o=-e.wheelDelta/120:e.detail&&(o=e.detail>0?1:-1),this.zoom(-o*n,e)))},cropStart:function(e){var r=e.buttons,n=e.button;if(!(this.disabled||(e.type==="mousedown"||e.type==="pointerdown"&&e.pointerType==="mouse")&&(vt(r)&&r!==1||vt(n)&&n!==0||e.ctrlKey))){var o=this.options,s=this.pointers,a;e.changedTouches?yr(e.changedTouches,function(l){s[l.identifier]=nf(l)}):s[e.pointerId||0]=nf(e),Object.keys(s).length>1&&o.zoomable&&o.zoomOnTouch?a=KP:a=q0(e.target,Hu),EXe.test(a)&&Pl(this.element,U0,{originalEvent:e,action:a})!==!1&&(e.preventDefault(),this.action=a,this.cropping=!1,a===JP&&(this.cropping=!0,kr(this.dragBox,qf)))}},cropMove:function(e){var r=this.action;if(!(this.disabled||!r)){var n=this.pointers;e.preventDefault(),Pl(this.element,W0,{originalEvent:e,action:r})!==!1&&(e.changedTouches?yr(e.changedTouches,function(o){er(n[o.identifier]||{},nf(o,!0))}):er(n[e.pointerId||0]||{},nf(e,!0)),this.change(e))}},cropEnd:function(e){if(!this.disabled){var r=this.action,n=this.pointers;e.changedTouches?yr(e.changedTouches,function(o){delete n[o.identifier]}):delete n[e.pointerId||0],r&&(e.preventDefault(),Object.keys(n).length||(this.action=""),this.cropping&&(this.cropping=!1,$l(this.dragBox,qf,this.cropped&&this.options.modal)),Pl(this.element,B0,{originalEvent:e,action:r}))}}},QXe={change:function(e){var r=this.options,n=this.canvasData,o=this.containerData,s=this.cropBoxData,a=this.pointers,l=this.action,u=r.aspectRatio,p=s.left,h=s.top,d=s.width,_=s.height,g=p+d,v=h+_,w=0,x=0,C=o.width,M=o.height,$=!0,E;!u&&e.shiftKey&&(u=d&&_?d/_:1),this.limited&&(w=s.minLeft,x=s.minTop,C=w+Math.min(o.width,n.width,n.left+n.width),M=x+Math.min(o.height,n.height,n.top+n.height));var k=a[Object.keys(a)[0]],T={x:k.endX-k.startX,y:k.endY-k.startY},A=function(j){switch(j){case Aa:g+T.x>C&&(T.x=C-g);break;case Pa:p+T.xM&&(T.y=M-v);break}};switch(l){case z1:p+=T.x,h+=T.y;break;case Aa:if(T.x>=0&&(g>=C||u&&(h<=x||v>=M))){$=!1;break}A(Aa),d+=T.x,d<0&&(l=Pa,d=-d,p-=d),u&&(_=d/u,h+=(s.height-_)/2);break;case Vs:if(T.y<=0&&(h<=x||u&&(p<=w||g>=C))){$=!1;break}A(Vs),_-=T.y,h+=T.y,_<0&&(l=rl,_=-_,h-=_),u&&(d=_*u,p+=(s.width-d)/2);break;case Pa:if(T.x<=0&&(p<=w||u&&(h<=x||v>=M))){$=!1;break}A(Pa),d-=T.x,p+=T.x,d<0&&(l=Aa,d=-d,p-=d),u&&(_=d/u,h+=(s.height-_)/2);break;case rl:if(T.y>=0&&(v>=M||u&&(p<=w||g>=C))){$=!1;break}A(rl),_+=T.y,_<0&&(l=Vs,_=-_,h-=_),u&&(d=_*u,p+=(s.width-d)/2);break;case Zc:if(u){if(T.y<=0&&(h<=x||g>=C)){$=!1;break}A(Vs),_-=T.y,h+=T.y,d=_*u}else A(Vs),A(Aa),T.x>=0?gx&&(_-=T.y,h+=T.y):(_-=T.y,h+=T.y);d<0&&_<0?(l=tu,_=-_,d=-d,h-=_,p-=d):d<0?(l=Qc,d=-d,p-=d):_<0&&(l=eu,_=-_,h-=_);break;case Qc:if(u){if(T.y<=0&&(h<=x||p<=w)){$=!1;break}A(Vs),_-=T.y,h+=T.y,d=_*u,p+=s.width-d}else A(Vs),A(Pa),T.x<=0?p>w?(d-=T.x,p+=T.x):T.y<=0&&h<=x&&($=!1):(d-=T.x,p+=T.x),T.y<=0?h>x&&(_-=T.y,h+=T.y):(_-=T.y,h+=T.y);d<0&&_<0?(l=eu,_=-_,d=-d,h-=_,p-=d):d<0?(l=Zc,d=-d,p-=d):_<0&&(l=tu,_=-_,h-=_);break;case tu:if(u){if(T.x<=0&&(p<=w||v>=M)){$=!1;break}A(Pa),d-=T.x,p+=T.x,_=d/u}else A(rl),A(Pa),T.x<=0?p>w?(d-=T.x,p+=T.x):T.y>=0&&v>=M&&($=!1):(d-=T.x,p+=T.x),T.y>=0?v=0&&(g>=C||v>=M)){$=!1;break}A(Aa),d+=T.x,_=d/u}else A(rl),A(Aa),T.x>=0?g=0&&v>=M&&($=!1):d+=T.x,T.y>=0?v0?l=T.y>0?eu:Zc:T.x<0&&(p-=d,l=T.y>0?tu:Qc),T.y<0&&(h-=_),this.cropped||(Wo(this.cropBox,mn),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0));break}$&&(s.width=d,s.height=_,s.left=p,s.top=h,this.action=l,this.renderCropBox()),yr(a,function(I){I.startX=I.endX,I.startY=I.endY})}},eJe={crop:function(){return this.ready&&!this.cropped&&!this.disabled&&(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&kr(this.dragBox,qf),Wo(this.cropBox,mn),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=er({},this.initialImageData),this.canvasData=er({},this.initialCanvasData),this.cropBoxData=er({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(er(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),Wo(this.dragBox,qf),kr(this.cropBox,mn)),this},replace:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return!this.disabled&&e&&(this.isImg&&(this.element.src=e),r?(this.url=e,this.image.src=e,this.ready&&(this.viewBoxImage.src=e,yr(this.previews,function(n){n.getElementsByTagName("img")[0].src=e}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(e))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,Wo(this.cropper,jD)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,kr(this.cropper,jD)),this},destroy:function(){var e=this.element;return e[Zt]?(e[Zt]=void 0,this.isImg&&this.replaced&&(e.src=this.originalUrl),this.uncreate(),this):this},move:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,n=this.canvasData,o=n.left,s=n.top;return this.moveTo(vb(e)?e:o+Number(e),vb(r)?r:s+Number(r))},moveTo:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,n=this.canvasData,o=!1;return e=Number(e),r=Number(r),this.ready&&!this.disabled&&this.options.movable&&(vt(e)&&(n.left=e,o=!0),vt(r)&&(n.top=r,o=!0),o&&this.renderCanvas(!0)),this},zoom:function(e,r){var n=this.canvasData;return e=Number(e),e<0?e=1/(1-e):e=1+e,this.zoomTo(n.width*e/n.naturalWidth,null,r)},zoomTo:function(e,r,n){var o=this.options,s=this.canvasData,a=s.width,l=s.height,u=s.naturalWidth,p=s.naturalHeight;if(e=Number(e),e>=0&&this.ready&&!this.disabled&&o.zoomable){var h=u*e,d=p*e;if(Pl(this.element,H0,{ratio:e,oldRatio:a/u,originalEvent:n})===!1)return this;if(n){var _=this.pointers,g=sI(this.cropper),v=_&&Object.keys(_).length?LXe(_):{pageX:n.pageX,pageY:n.pageY};s.left-=(h-a)*((v.pageX-g.left-s.left)/a),s.top-=(d-l)*((v.pageY-g.top-s.top)/l)}else kl(r)&&vt(r.x)&&vt(r.y)?(s.left-=(h-a)*((r.x-s.left)/a),s.top-=(d-l)*((r.y-s.top)/l)):(s.left-=(h-a)/2,s.top-=(d-l)/2);s.width=h,s.height=d,this.renderCanvas(!0)}return this},rotate:function(e){return this.rotateTo((this.imageData.rotate||0)+Number(e))},rotateTo:function(e){return e=Number(e),vt(e)&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=e%360,this.renderCanvas(!0,!0)),this},scaleX:function(e){var r=this.imageData.scaleY;return this.scale(e,vt(r)?r:1)},scaleY:function(e){var r=this.imageData.scaleX;return this.scale(vt(r)?r:1,e)},scale:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,n=this.imageData,o=!1;return e=Number(e),r=Number(r),this.ready&&!this.disabled&&this.options.scalable&&(vt(e)&&(n.scaleX=e,o=!0),vt(r)&&(n.scaleY=r,o=!0),o&&this.renderCanvas(!0,!0)),this},getData:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,r=this.options,n=this.imageData,o=this.canvasData,s=this.cropBoxData,a;if(this.ready&&this.cropped){a={x:s.left-o.left,y:s.top-o.top,width:s.width,height:s.height};var l=n.width/n.naturalWidth;if(yr(a,function(h,d){a[d]=h/l}),e){var u=Math.round(a.y+a.height),p=Math.round(a.x+a.width);a.x=Math.round(a.x),a.y=Math.round(a.y),a.width=p-a.x,a.height=u-a.y}}else a={x:0,y:0,width:0,height:0};return r.rotatable&&(a.rotate=n.rotate||0),r.scalable&&(a.scaleX=n.scaleX||1,a.scaleY=n.scaleY||1),a},setData:function(e){var r=this.options,n=this.imageData,o=this.canvasData,s={};if(this.ready&&!this.disabled&&kl(e)){var a=!1;r.rotatable&&vt(e.rotate)&&e.rotate!==n.rotate&&(n.rotate=e.rotate,a=!0),r.scalable&&(vt(e.scaleX)&&e.scaleX!==n.scaleX&&(n.scaleX=e.scaleX,a=!0),vt(e.scaleY)&&e.scaleY!==n.scaleY&&(n.scaleY=e.scaleY,a=!0)),a&&this.renderCanvas(!0,!0);var l=n.width/n.naturalWidth;vt(e.x)&&(s.left=e.x*l+o.left),vt(e.y)&&(s.top=e.y*l+o.top),vt(e.width)&&(s.width=e.width*l),vt(e.height)&&(s.height=e.height*l),this.setCropBoxData(s)}return this},getContainerData:function(){return this.ready?er({},this.containerData):{}},getImageData:function(){return this.sized?er({},this.imageData):{}},getCanvasData:function(){var e=this.canvasData,r={};return this.ready&&yr(["left","top","width","height","naturalWidth","naturalHeight"],function(n){r[n]=e[n]}),r},setCanvasData:function(e){var r=this.canvasData,n=r.aspectRatio;return this.ready&&!this.disabled&&kl(e)&&(vt(e.left)&&(r.left=e.left),vt(e.top)&&(r.top=e.top),vt(e.width)?(r.width=e.width,r.height=e.width/n):vt(e.height)&&(r.height=e.height,r.width=e.height*n),this.renderCanvas(!0)),this},getCropBoxData:function(){var e=this.cropBoxData,r;return this.ready&&this.cropped&&(r={left:e.left,top:e.top,width:e.width,height:e.height}),r||{}},setCropBoxData:function(e){var r=this.cropBoxData,n=this.options.aspectRatio,o,s;return this.ready&&this.cropped&&!this.disabled&&kl(e)&&(vt(e.left)&&(r.left=e.left),vt(e.top)&&(r.top=e.top),vt(e.width)&&e.width!==r.width&&(o=!0,r.width=e.width),vt(e.height)&&e.height!==r.height&&(s=!0,r.height=e.height),n&&(o?r.height=r.width/n:s&&(r.width=r.height*n)),this.renderCropBox()),this},getCroppedCanvas:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var r=this.canvasData,n=WXe(this.image,this.imageData,r,e);if(!this.cropped)return n;var o=this.getData(e.rounded),s=o.x,a=o.y,l=o.width,u=o.height,p=n.width/Math.floor(r.naturalWidth);p!==1&&(s*=p,a*=p,l*=p,u*=p);var h=l/u,d=na({aspectRatio:h,width:e.maxWidth||1/0,height:e.maxHeight||1/0}),_=na({aspectRatio:h,width:e.minWidth||0,height:e.minHeight||0},"cover"),g=na({aspectRatio:h,width:e.width||(p!==1?n.width:l),height:e.height||(p!==1?n.height:u)}),v=g.width,w=g.height;v=Math.min(d.width,Math.max(_.width,v)),w=Math.min(d.height,Math.max(_.height,w));var x=document.createElement("canvas"),C=x.getContext("2d");x.width=Al(v),x.height=Al(w),C.fillStyle=e.fillColor||"transparent",C.fillRect(0,0,v,w);var M=e.imageSmoothingEnabled,$=M===void 0?!0:M,E=e.imageSmoothingQuality;C.imageSmoothingEnabled=$,E&&(C.imageSmoothingQuality=E);var k=n.width,T=n.height,A=s,I=a,j,O,F,H,q,U;A<=-l||A>k?(A=0,j=0,F=0,q=0):A<=0?(F=-A,A=0,j=Math.min(k,l+A),q=j):A<=k&&(F=0,j=Math.min(l,k-A),q=j),j<=0||I<=-u||I>T?(I=0,O=0,H=0,U=0):I<=0?(H=-I,I=0,O=Math.min(T,u+I),U=O):I<=T&&(H=0,O=Math.min(u,T-I),U=O);var B=[A,I,j,O];if(q>0&&U>0){var X=v/l;B.push(F*X,H*X,q*X,U*X)}return C.drawImage.apply(C,[n].concat(XP(B.map(function(re){return Math.floor(Al(re))})))),x},setAspectRatio:function(e){var r=this.options;return!this.disabled&&!vb(e)&&(r.aspectRatio=Math.max(0,e)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(e){var r=this.options,n=this.dragBox,o=this.face;if(this.ready&&!this.disabled){var s=e===L1,a=r.movable&&e===ZP;e=s||a?e:QP,r.dragMode=e,qu(n,Hu,e),$l(n,F0,s),$l(n,z0,a),r.cropBoxMovable||(qu(o,Hu,e),$l(o,F0,s),$l(o,z0,a))}return this}},tJe=Ho.Cropper,iI=function(){function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(hXe(this,t),!e||!TXe.test(e.tagName))throw new Error("The first argument is required and must be an or element.");this.element=e,this.options=er({},GD,kl(r)&&r),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return mXe(t,[{key:"init",value:function(){var r=this.element,n=r.tagName.toLowerCase(),o;if(!r[Zt]){if(r[Zt]=this,n==="img"){if(this.isImg=!0,o=r.getAttribute("src")||"",this.originalUrl=o,!o)return;o=r.src}else n==="canvas"&&window.HTMLCanvasElement&&(o=r.toDataURL());this.load(o)}}},{key:"load",value:function(r){var n=this;if(r){this.url=r,this.imageData={};var o=this.element,s=this.options;if(!s.rotatable&&!s.scalable&&(s.checkOrientation=!1),!s.checkOrientation||!window.ArrayBuffer){this.clone();return}if(kXe.test(r)){$Xe.test(r)?this.read(qXe(r)):this.clone();return}var a=new XMLHttpRequest,l=this.clone.bind(this);this.reloading=!0,this.xhr=a,a.onabort=l,a.onerror=l,a.ontimeout=l,a.onprogress=function(){a.getResponseHeader("content-type")!==VD&&a.abort()},a.onload=function(){n.read(a.response)},a.onloadend=function(){n.reloading=!1,n.xhr=null},s.checkCrossOrigin&&JD(r)&&o.crossOrigin&&(r=YD(r)),a.open("GET",r,!0),a.responseType="arraybuffer",a.withCredentials=o.crossOrigin==="use-credentials",a.send()}}},{key:"read",value:function(r){var n=this.options,o=this.imageData,s=GXe(r),a=0,l=1,u=1;if(s>1){this.url=VXe(r,VD);var p=XXe(s);a=p.rotate,l=p.scaleX,u=p.scaleY}n.rotatable&&(o.rotate=a),n.scalable&&(o.scaleX=l,o.scaleY=u),this.clone()}},{key:"clone",value:function(){var r=this.element,n=this.url,o=r.crossOrigin,s=n;this.options.checkCrossOrigin&&JD(n)&&(o||(o="anonymous"),s=YD(n)),this.crossOrigin=o,this.crossOriginUrl=s;var a=document.createElement("img");o&&(a.crossOrigin=o),a.src=s||n,a.alt=r.alt||"The image to crop",this.image=a,a.onload=this.start.bind(this),a.onerror=this.stop.bind(this),kr(a,FD),r.parentNode.insertBefore(a,r.nextSibling)}},{key:"start",value:function(){var r=this,n=this.image;n.onload=null,n.onerror=null,this.sizing=!0;var o=Ho.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(Ho.navigator.userAgent),s=function(p,h){er(r.imageData,{naturalWidth:p,naturalHeight:h,aspectRatio:p/h}),r.initialImageData=er({},r.imageData),r.sizing=!1,r.sized=!0,r.build()};if(n.naturalWidth&&!o){s(n.naturalWidth,n.naturalHeight);return}var a=document.createElement("img"),l=document.body||document.documentElement;this.sizingImage=a,a.onload=function(){s(a.width,a.height),o||l.removeChild(a)},a.src=n.src,o||(a.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",l.appendChild(a))}},{key:"stop",value:function(){var r=this.image;r.onload=null,r.onerror=null,r.parentNode.removeChild(r),this.image=null}},{key:"build",value:function(){if(!(!this.sized||this.ready)){var r=this.element,n=this.options,o=this.image,s=r.parentNode,a=document.createElement("div");a.innerHTML=OXe;var l=a.querySelector(".".concat(Zt,"-container")),u=l.querySelector(".".concat(Zt,"-canvas")),p=l.querySelector(".".concat(Zt,"-drag-box")),h=l.querySelector(".".concat(Zt,"-crop-box")),d=h.querySelector(".".concat(Zt,"-face"));this.container=s,this.cropper=l,this.canvas=u,this.dragBox=p,this.cropBox=h,this.viewBox=l.querySelector(".".concat(Zt,"-view-box")),this.face=d,u.appendChild(o),kr(r,mn),s.insertBefore(l,r.nextSibling),Wo(o,FD),this.initPreview(),this.bind(),n.initialAspectRatio=Math.max(0,n.initialAspectRatio)||NaN,n.aspectRatio=Math.max(0,n.aspectRatio)||NaN,n.viewMode=Math.max(0,Math.min(3,Math.round(n.viewMode)))||0,kr(h,mn),n.guides||kr(h.getElementsByClassName("".concat(Zt,"-dashed")),mn),n.center||kr(h.getElementsByClassName("".concat(Zt,"-center")),mn),n.background&&kr(l,"".concat(Zt,"-bg")),n.highlight||kr(d,wXe),n.cropBoxMovable&&(kr(d,z0),qu(d,Hu,z1)),n.cropBoxResizable||(kr(h.getElementsByClassName("".concat(Zt,"-line")),mn),kr(h.getElementsByClassName("".concat(Zt,"-point")),mn)),this.render(),this.ready=!0,this.setDragMode(n.dragMode),n.autoCrop&&this.crop(),this.setData(n.data),hn(n.ready)&&Un(r,UD,n.ready,{once:!0}),Pl(r,UD)}}},{key:"unbuild",value:function(){if(this.ready){this.ready=!1,this.unbind(),this.resetPreview();var r=this.cropper.parentNode;r&&r.removeChild(this.cropper),Wo(this.element,mn)}}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}],[{key:"noConflict",value:function(){return window.Cropper=tJe,t}},{key:"setDefaults",value:function(r){er(GD,kl(r)&&r)}}])}();er(iI.prototype,JXe,YXe,KXe,ZXe,QXe,eJe);var za=function(){return za=Object.assign||function(t){for(var e,r=1,n=arguments.length;r0&&I.zoomTo(re)}(A.currentTarget.cropper,$),x&&x(A)}}));C&&C(T)}return function(){var A,I;(I=(A=E.current)===null||A===void 0?void 0:A.cropper)===null||I===void 0||I.destroy()}},[E]);var k=function(T){return rJe.reduce(function(A,I){var j=A,O=I;return j[O],wb(j,[typeof O=="symbol"?O:O+""])},T)}(za(za({},M),{crossOrigin:u,src:s,alt:w}));return m.createElement("div",{style:a,className:l},m.createElement("img",za({},k,{style:nJe,ref:E})))});const Gs={mainDiv:{width:"100%",height:"100%",overflow:"auto"},formControl:{margin:0,minWidth:120},formControlMarginRight:{marginRight:5},formControlPaddingTop:{paddingTop:6.2}},oJe={once:"once",interval:"interval",intervalBetween:"intervalBetween",specific:"specific"},Ur={seconds:"seconds",minutes:"minutes"},KD=["ra_Sunday","ra_Monday","ra_Tuesday","ra_Wednesday","ra_Thursday","ra_Friday","ra_Saturday","ra_Sunday"];function Po(t){return t<10?`0${t}`:`${t}`}const sJe={mode:"interval",interval:{period:1,unit:Ur.minutes}};function hf(t){if(t==="*")return[0,1,2,3,4,5,6];const e=t.split(","),r=[];return e.forEach(n=>{const o=n.split("-");if(o.length===2){const s=parseInt(o[0],10),a=parseInt(o[1],10);for(let l=s;l<=a;l++)r.includes(l===7?0:l)||r.push(l===7?0:l)}else{n==="7"&&(n="0");const s=parseInt(n,10);r.includes(s)||r.push(s)}}),r.sort(),r}function lI(t,e){t=t.replace(/['"]/g,"").trim();const r=t.split(" ");let n,o=null;return r.length===6?n={seconds:r[0]||"*",minutes:r[1]||"*",hours:r[2]||"*",date:r[3]||"*",months:r[4]||"*",dow:r[5]||"*"}:n={seconds:null,minutes:r[0]||"*",hours:r[1]||"*",date:r[2]||"*",months:r[3]||"*",dow:r[4]||"*"},n.seconds===null&&n.minutes==="*"&&n.hours==="*"&&n.date==="*"&&n.months==="*"&&(n.dow==="*"||e)&&(o={mode:"interval",interval:{period:1,unit:Ur.minutes}}),n.seconds==="*"&&n.minutes==="*"&&n.hours==="*"&&n.date==="*"&&n.months==="*"&&(n.dow==="*"||e)?o={mode:"interval",interval:{period:1,unit:Ur.seconds}}:n.seconds===null&&n.minutes.includes("/")&&n.hours==="*"&&n.date==="*"&&n.months==="*"&&(n.dow==="*"||e)?o={mode:"interval",interval:{period:parseInt(n.minutes.split("/")[1],10),unit:Ur.minutes}}:n.seconds!==null&&n.seconds.includes("/")&&n.minutes==="*"&&n.hours==="*"&&n.date==="*"&&n.months==="*"&&(n.dow==="*"||e)?o={mode:"interval",interval:{period:parseInt(n.seconds.split("/")[1],10),unit:Ur.seconds}}:n.seconds!==null&&n.seconds.includes("/")&&n.minutes==="*"&&n.hours.includes("-")&&n.date==="*"&&n.months==="*"&&(n.dow==="*"||e)?o={mode:"intervalBetween",intervalBetween:{period:parseInt(n.seconds.split("/")[1],10),unit:Ur.seconds,timeFrom:parseInt(n.hours.split("-")[0],10),timeTo:parseInt(n.hours.split("-")[1],10),weekdays:hf(n.dow)}}:n.seconds===null&&n.minutes.includes("/")&&n.hours.includes("-")&&n.date==="*"&&n.months==="*"&&(n.dow==="*"||e)?o={mode:"intervalBetween",intervalBetween:{period:parseInt(n.minutes.split("/")[1],10),unit:Ur.minutes,timeFrom:parseInt(n.hours.split("-")[0],10),timeTo:parseInt(n.hours.split("-")[1],10),weekdays:hf(n.dow)}}:n.seconds===null&&parseInt(n.minutes,10).toString()===n.minutes&&parseInt(n.hours,10).toString()===n.hours&&n.date==="*"&&n.months==="*"&&(n.dow==="*"||e)?o={mode:"specific",specific:{time:`${Po(parseInt(n.hours,10))}:${Po(parseInt(n.minutes,10))}`,weekdays:hf(n.dow)}}:n.seconds===null&&parseInt(n.minutes,10).toString()===n.minutes&&parseInt(n.hours,10).toString()===n.hours&&parseInt(n.date,10).toString()===n.date&&parseInt(n.months,10).toString()===n.months&&(n.dow==="*"||e)&&(o={mode:"once",once:{time:`${Po(parseInt(n.hours,10))}:${Po(parseInt(n.minutes,10))}`,date:`${Po(parseInt(n.date,10))}.${Po(parseInt(n.months,10))}`}}),o}class Vu extends m.Component{constructor(e){super(e);let r=typeof e.cronExpression=="string"?e.cronExpression.replace(/^["']/,"").replace(/["']\n?$/,""):"";r[0]==="{"&&(r="");const n=lI(r||"* * * * *",!0)||sJe;this.state={extended:!1,cron:Vu.state2cron(n),mode:"interval",once:{time:"00:00",date:""},interval:{period:1,unit:Ur.minutes},intervalBetween:{period:1,unit:Ur.minutes,timeFrom:0,timeTo:23,weekdays:[0,1,2,3,4,5,6]},specific:{time:"00:00",weekdays:[0,1,2,3,4,5,6]}},Object.assign(this.state,n),this.state.cron!==e.cronExpression&&setTimeout(()=>e.onChange&&e.onChange(this.state.cron),100)}static periodArray2text(e,r=7){if(r=r||7,e.length===r)return"*";const n=[];let o=null,s=null;if(!e.length)return"_";for(let a=0;a60&&(n.period=60),n.period!==void 0&&n.period<1&&(n.period=1),n.minutes!==void 0&&n.minutes!==null&&n.minutes>60&&(n.minutes=60),n.minutes!==void 0&&n.minutes!==null&&n.minutes<1&&(n.minutes=1),n.hours!==void 0&&n.hours!==null&&n.hours>24&&(n.hours=24),n.hours!==void 0&&n.hours!==null&&n.hours<1&&(n.hours=1),e.extended)r=`${n.minutes!==void 0&&n.minutes!==null&&n.minutes>1?`*/${n.minutes}`:"*"} ${n.hours!==void 0&&n.hours!==null&&n.hours>1?`*/${n.hours}`:"*"} * * *`;else switch(n.unit){case Ur.seconds:r=`${n.period>1?`*/${n.period}`:"*"} * * * * *`;break;case Ur.minutes:r=`${n.period>1?`*/${n.period}`:"*"} * * * *`;break}}else if(e.mode==="intervalBetween"){const n=e.intervalBetween||{period:1,unit:Ur.minutes,timeFrom:0,timeTo:24,weekdays:[0,1,2,3,4,5,6]};let o;switch(n.timeFrom=n.timeFrom||0,n.timeTo=n.timeTo===void 0?24:n.timeTo,n.timeFrom!==0&&n.timeTo===24&&(n.timeTo=23),n.timeFrom===0&&n.timeTo===24?o="*":o=n.timeFrom!==n.timeTo?`${n.timeFrom}-${n.timeTo}`:"*",n.period>60&&(n.period=60),n.period<1&&(n.period=1),n.unit=n.unit||Ur.minutes,n.unit){case Ur.seconds:r=`${n.period>1?`*/${n.period}`:"*"} * ${o} * * ${this.periodArray2text(n.weekdays)}`;break;case Ur.minutes:r=`${n.period>1?`*/${n.period}`:"*"} ${o} * * ${this.periodArray2text(n.weekdays)}`;break}}else if(e.mode==="specific"){const n=e.specific||{time:"00:00",weekdays:[0,1,2,3,4,5,6]},o=(n.time||"00:00").split(":");let s=parseInt(o[1],10)||0;s>59&&(s=59),s<0&&(s=0);let a=parseInt(o[0],10)||0;a>23&&(a=59),a<0&&(a=0),r=`${s} ${a} * * ${this.periodArray2text(n.weekdays||[])}`}else if(e.mode==="once"){const n=e.once||{time:"00:00",date:""};n.date||(n.date=`${new Date().getDate()}.${Po(new Date().getMonth()+1)}`);const o=(n.time||"00:00").split(":"),s=n.date.split(".");let a=parseInt(o[1],10)||0;a>59&&(a=59),a<0&&(a=0);let l=parseInt(o[0],10)||0;l>23&&(l=59),l<0&&(l=0);let u=parseInt(s[0],10)||1;u>31&&(u=31),u<1&&(l=1);let p=parseInt(s[1],10)||1;p>12&&(p=12),p<1&&(p=1),r=`${a} ${l} ${u} ${p} *`}return r}recalcCron(){this.onChange(Vu.state2cron(this.state))}getControlsWeekdaysElements(e){const r=e==="intervalBetween"?this.state.intervalBetween:this.state.specific;return m.createElement("div",{key:"weekdays",style:{paddingLeft:8,width:"calc(100% - 8px)",maxWidth:600}},m.createElement("h5",null,R.t("ra_On weekdays")),[1,2,3,4,5,6,0].map(n=>m.createElement(at,{key:KD[n],control:m.createElement(Ut,{checked:r.weekdays.includes(n),onChange:o=>{const s=JSON.parse(JSON.stringify(this.state[e])),a=s.weekdays.indexOf(n);o.target.checked?a===-1&&s.weekdays.push(n):a!==-1&&s.weekdays.splice(a,1),s.weekdays.sort(),e==="intervalBetween"?this.setState({intervalBetween:s},()=>this.recalcCron()):this.setState({specific:s},()=>this.recalcCron())},value:n.toString()}),label:R.t(KD[n])})))}getControlsPeriodElements(e){const r=e==="interval"?this.state.interval:this.state.intervalBetween;return this.state.extended?m.createElement("div",{key:"period",style:{paddingLeft:8,display:"inline-block"}},m.createElement("h5",{style:{marginBottom:5}},R.t("sc_period")),m.createElement(ot,{variant:"standard",style:{marginTop:0,marginBottom:0,verticalAlign:"bottom"},key:"value",label:R.t("sc_minutes"),value:r.minutes,onChange:n=>{const o=JSON.parse(JSON.stringify(this.state[e]));o.minutes=parseInt(n.target.value,10),o.minutes<1&&(o.minutes=1),e==="interval"?this.setState({interval:o},()=>this.recalcCron()):this.setState({intervalBetween:o},()=>this.recalcCron())},slotProps:{htmlInput:{min:1,max:60},inputLabel:{shrink:!0}},type:"number",margin:"normal"}),m.createElement(ot,{variant:"standard",style:{marginTop:0,marginBottom:0,verticalAlign:"bottom"},key:"value",label:R.t("sc_hours"),value:r.hours,onChange:n=>{const o=JSON.parse(JSON.stringify(this.state[e]));o.hours=parseInt(n.target.value,10),o.hours<1&&(o.hours=1),e==="interval"?this.setState({interval:o},()=>this.recalcCron()):this.setState({intervalBetween:o},()=>this.recalcCron())},slotProps:{htmlInput:{min:1,max:24},inputLabel:{shrink:!0}},type:"number",margin:"normal"})):m.createElement("div",{key:"period",style:{paddingLeft:8,display:"inline-block"}},m.createElement("h5",{style:{marginBottom:5}},R.t("sc_period")),m.createElement(ot,{variant:"standard",style:{marginTop:0,marginBottom:0,verticalAlign:"bottom"},key:"value",label:R.t("sc_every"),value:r.period,onChange:n=>{const o=JSON.parse(JSON.stringify(this.state[e]));o.period=parseInt(n.target.value,10),o.period<1&&(o.period=1),e==="interval"?this.setState({interval:o},()=>this.recalcCron()):this.setState({intervalBetween:o},()=>this.recalcCron())},slotProps:{htmlInput:{min:1,max:60},inputLabel:{shrink:!0}},type:"number",margin:"normal"}),m.createElement(Gr,{variant:"standard",style:{verticalAlign:"bottom"},value:r.unit,onChange:n=>{const o=JSON.parse(JSON.stringify(this.state[e]));o.unit=n.target.value,e==="interval"?this.setState({interval:o},()=>this.recalcCron()):this.setState({intervalBetween:o},()=>this.recalcCron())}},m.createElement(xt,{value:"seconds"},R.t("sc_seconds")),")",m.createElement(xt,{value:"minutes"},R.t("sc_minutes")),")"))}getControlsTime(e){const r=e==="once"?this.state.once:this.state.specific;return m.createElement(Ro,{variant:"standard",sx:{...Gs.formControl,"&.MuiFormControl-root":Gs.formControlMarginRight}},m.createElement(ot,{variant:"standard",key:"at",label:R.t("sc_time"),value:r.time,type:"time",sx:n=>({'& input[type="time"]::-webkit-calendar-picker-indicator':{filter:n.palette.mode==="dark"?"invert(80%)":void 0}}),onChange:n=>{const o=JSON.parse(JSON.stringify(this.state[e]));o.time=n.target.value,e==="once"?this.setState({once:o},()=>this.recalcCron()):this.setState({specific:o},()=>this.recalcCron())},slotProps:{inputLabel:{shrink:!0}},margin:"normal"}))}getControlsDate(){const e=this.state.once;if(!e.date){const r=new Date;e.date=`${r.getDate()}.${Po(r.getMonth()+1)}`}return m.createElement(Ro,{variant:"standard",style:Gs.formControl},m.createElement(ot,{variant:"standard",key:"date",label:R.t("sc_date"),value:e.date,type:"text",slotProps:{htmlInput:{style:Gs.formControlPaddingTop},inputLabel:{shrink:!0}},onChange:r=>{const n=JSON.parse(JSON.stringify(this.state.once));n.date=r.target.value,this.setState({once:n},()=>this.recalcCron())},margin:"normal"}))}getOnceElements(){return m.createElement("div",{style:{marginLeft:8}},this.getControlsTime("once"),this.getControlsDate())}getIntervalElements(){return this.getControlsPeriodElements("interval")}getIntervalBetweenElements(){const e=this.state.intervalBetween;return[this.getControlsPeriodElements("intervalBetween"),m.createElement("div",{key:"between",style:{paddingLeft:8,display:"inline-block",verticalAlign:"top"}},m.createElement("h5",{style:{marginBottom:5}},R.t("sc_hours")),m.createElement(Ro,{variant:"standard",style:Gs.formControl},m.createElement(qa,{shrink:!0,htmlFor:"age-label-placeholder"},R.t("sc_from")),m.createElement(Gr,{variant:"standard",style:{width:100},value:e.timeFrom,onChange:r=>{const n=JSON.parse(JSON.stringify(this.state.intervalBetween));n.timeFrom=parseInt(r.target.value,10),n.timeTo===24&&(n.timeTo=23),this.setState({intervalBetween:n},()=>this.recalcCron())}},[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23].map(r=>m.createElement(xt,{key:`B_${r}`,value:r},`${Po(r)}:00`)))),m.createElement(Ro,{variant:"standard",style:Gs.formControl},m.createElement(qa,{shrink:!0,htmlFor:"age-label-placeholder"},R.t("sc_to")),m.createElement(Gr,{variant:"standard",style:{width:100},value:e.timeTo,onChange:r=>{const n=JSON.parse(JSON.stringify(this.state.intervalBetween));n.timeTo=parseInt(r.target.value,10),this.setState({intervalBetween:n},()=>this.recalcCron())}},[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23].map(r=>m.createElement(xt,{key:`A_${r}`,value:r},`${Po(r)}:00`)),!e.timeFrom&&m.createElement(xt,{value:24},"00:00")))),this.getControlsWeekdaysElements("intervalBetween")]}getSpecificTimeElements(){return[m.createElement("div",{key:"time",style:{marginLeft:8}},this.getControlsTime("specific")),this.getControlsWeekdaysElements("specific")]}onModeChange(e){e!==this.state.mode&&this.setState({mode:e},()=>this.recalcCron())}onChange(e){e!==this.state.cron&&(this.setState({cron:e}),this.props.onChange&&this.props.onChange(e))}render(){return m.createElement("div",{style:Gs.mainDiv},m.createElement("div",{style:{paddingLeft:8,width:"calc(100% - 8px)"}},m.createElement(ot,{variant:"standard",style:{width:"100%"},value:this.state.cron,disabled:!0,error:this.state.cron.includes("_")})),m.createElement("div",{style:{paddingLeft:8,width:"calc(100% - 8px)",height:60}},this.state.cron.includes("_")?R.t("sc_invalid_cron"):vP(this.state.cron,this.props.language||"en")),m.createElement("div",null,m.createElement(Ro,{variant:"standard",style:{...Gs.formControl,marginLeft:8,marginTop:8}},m.createElement(qa,null,R.t("ra_Repeat")),m.createElement(Gr,{variant:"standard",value:this.state.mode,onChange:e=>this.onModeChange(e.target.value),inputProps:{name:"mode",id:"mode"}},m.createElement(xt,{value:"once"},R.t("sc_once")),m.createElement(xt,{value:"interval"},R.t("sc_interval")),m.createElement(xt,{value:"intervalBetween"},R.t("sc_intervalBetween")),m.createElement(xt,{value:"specific"},R.t("sc_specific"))))),this.state.mode===oJe.once&&this.getOnceElements(),this.state.mode==="interval"&&this.getIntervalElements(),this.state.mode==="intervalBetween"&&this.getIntervalBetweenElements(),this.state.mode==="specific"&&this.getSpecificTimeElements())}}const aJe={headerID:{fontWeight:"bold",fontStyle:"italic"},radio:{display:"inline-block"},dialogPaper:{height:"calc(100% - 96px)"}};class Cet extends m.Component{constructor(e){super(e);let r;this.props.cron&&typeof this.props.cron=="string"&&this.props.cron.replace(/^["']/,"")[0]!=="{"?r=this.props.cron.replace(/['"]/g,"").trim():(r=this.props.cron||"{}",typeof r=="string"&&(r=r.replace(/^["']/,"").replace(/["']\n?$/,""))),this.state={showWarning:"",cron:r}}handleCancel(){this.props.onClose()}handleOk(e){if(!e){const r=ta.cron2state(this.state.cron);if(r.seconds==="*"||r.seconds==="*/1"){this.setState({showWarning:"everySecond"});return}if(r.minutes==="*"||r.minutes==="*/1"){this.setState({showWarning:"everyMinute"});return}}this.props.onOk(this.state.cron),this.props.onClose()}renderWarningDialog(){return this.state.showWarning?m.createElement(yA,{title:R.t("ra_Please confirm"),text:R.t(this.state.showWarning==="everySecond"?"ra_The schedule will be executed every second. Are you sure?":"ra_The schedule will be executed every minute. Are you sure?"),onClose:e=>this.setState({showWarning:""},()=>{e&&this.handleOk(!0)})}):null}handleClear(){this.props.onOk(!1),this.props.onClose()}render(){return m.createElement(Mr,{onClose:()=>{},maxWidth:"md",fullWidth:!0,sx:{"& .MuiDialog-paper":aJe.dialogPaper},open:!0,"aria-labelledby":"cron-dialog-title"},this.renderWarningDialog(),m.createElement(Ar,{id:"cron-dialog-title"},this.props.title||R.t("ra_Define schedule...")),m.createElement(Vr,{style:{height:"100%",overflow:"hidden"}},m.createElement(ta,{cronExpression:this.state.cron,onChange:e=>this.setState({cron:e}),language:R.getLanguage()})),m.createElement(qr,null,!!this.props.clearButton&&m.createElement(gt,{color:"grey",variant:"contained",onClick:()=>this.handleClear(),startIcon:m.createElement(sa,null)},this.props.clear||R.t("ra_Clear")),m.createElement(gt,{variant:"contained",onClick:()=>this.handleOk(),color:"primary",startIcon:m.createElement(Yn,null)},this.props.ok||R.t("ra_Ok")),m.createElement(gt,{color:"grey",variant:"contained",onClick:()=>this.handleCancel(),startIcon:m.createElement(cd,null)},this.props.cancel||R.t("ra_Cancel"))))}}const iJe={dialogPaper:{height:"calc(100% - 96px)"}};class Eet extends m.Component{constructor(e){super(e);let r;this.props.cron&&typeof this.props.cron=="string"&&this.props.cron.replace(/^["']/,"")[0]!=="{"?r=this.props.cron.replace(/['"]/g,"").trim():(r=this.props.cron||"{}",typeof r=="string"&&(r=r.replace(/^["']/,"").replace(/["']\n?$/,""))),this.state={cron:r,mode:this.props.simple?"simple":this.props.complex?"complex":(typeof r=="object"||r[0]==="{")&&!this.props.noWizard?"wizard":lI(this.props.cron||"* * * * *")?"simple":"complex"}}handleCancel(){this.props.onClose()}handleOk(){this.props.onOk(this.state.cron),this.props.onClose()}setMode(e){this.setState({mode:e})}render(){return m.createElement(Mr,{onClose:()=>{},maxWidth:"md",fullWidth:!0,sx:{"& .MuiDialog-paper":iJe.dialogPaper},open:!0,"aria-labelledby":"cron-dialog-title"},m.createElement(Ar,{id:"cron-dialog-title"},this.props.title||R.t("ra_Define schedule...")),m.createElement(Vr,{style:{height:"100%",overflow:"hidden"}},this.props.simple&&this.props.complex||!this.props.simple&&!this.props.complex?m.createElement("div",null,!this.props.simple&&!this.props.complex&&!this.props.noWizard&&m.createElement(m.Fragment,null,m.createElement(Vt,{key:"wizard",checked:this.state.mode==="wizard",onChange:()=>this.setMode("wizard")}),m.createElement("label",{onClick:()=>this.setMode("wizard"),style:this.state.mode!=="wizard"?{color:"lightgrey"}:{}},R.t("sc_wizard"))),(!this.props.simple&&!this.props.complex||this.props.simple)&&m.createElement(m.Fragment,null,m.createElement(Vt,{key:"simple",checked:this.state.mode==="simple",onChange:()=>this.setMode("simple")}),m.createElement("label",{onClick:()=>this.setMode("simple"),style:this.state.mode!=="simple"?{color:"lightgrey"}:{}},R.t("sc_simple"))),(!this.props.simple&&!this.props.complex||this.props.complex)&&m.createElement(m.Fragment,null,m.createElement(Vt,{key:"complex",checked:this.state.mode==="complex",onChange:()=>this.setMode("complex")}),m.createElement("label",{onClick:()=>this.setMode("complex"),style:this.state.mode!=="complex"?{color:"lightgrey"}:{}},R.t("sc_cron")))):null,this.state.mode==="simple"&&m.createElement(Vu,{cronExpression:this.state.cron,onChange:e=>this.setState({cron:e}),language:R.getLanguage()}),this.state.mode==="wizard"&&m.createElement(Or,{theme:this.props.theme,schedule:this.state.cron,onChange:e=>this.setState({cron:e})}),this.state.mode==="complex"&&m.createElement(ta,{cronExpression:this.state.cron,onChange:e=>this.setState({cron:e}),language:R.getLanguage()})),m.createElement(qr,null,m.createElement(gt,{variant:"contained",onClick:()=>this.handleOk(),color:"primary",startIcon:m.createElement(Yn,null)},this.props.ok||R.t("ra_Ok")),m.createElement(gt,{variant:"contained",onClick:()=>this.handleCancel(),color:"grey",startIcon:m.createElement(cd,null)},this.props.cancel||R.t("ra_Cancel"))))}}class V0 extends N.Component{handleOk(){this.props.onClose&&this.props.onClose()}render(){return m.createElement(Mr,{open:!0,maxWidth:"sm",fullWidth:this.props.fullWidth!==void 0?this.props.fullWidth:!0,onClose:()=>this.handleOk(),"aria-labelledby":"ar_dialog_message_title","aria-describedby":"ar_dialog_message_description"},m.createElement(Ar,{id:"ar_dialog_message_title"},this.props.title||R.t("ra_Message")),m.createElement(Vr,null,m.createElement(oa,{id:"ar_dialog_message_description"},m.createElement("span",{style:{marginRight:this.props.icon?8:0}},this.props.icon||null),this.props.text)),m.createElement(qr,null,m.createElement(gt,{id:"ar_dialog_message_ok",variant:"contained",onClick:()=>this.handleOk(),color:"primary",autoFocus:!0,startIcon:m.createElement(Hr,null)},this.props.ok||R.t("ra_Close"))))}}const Ia={headerID:{fontWeight:"bold",fontStyle:"italic"},dialog:{height:"95%"},dialogMobile:{padding:"4px",width:"100%",maxWidth:"100%",maxHeight:"calc(100% - 16px)",height:"100%"},content:{height:"100%",overflow:"hidden"},contentMobile:{padding:"8px 4px"},titleRoot:{whiteSpace:"nowrap",width:"calc(100% - 72px)",overflow:"hidden",display:"inline-block",textOverflow:"ellipsis"}};class ket extends m.Component{constructor(r){super(r);Y(this,"dialogName");Y(this,"filters");this.dialogName=this.props.dialogName||"default",this.dialogName=`SelectFile.${this.dialogName}`;const n=(window._localStorage||window.localStorage).getItem(this.dialogName)||"{}";try{this.filters=JSON.parse(n)}catch{this.filters={}}r.filters&&(this.filters={...this.filters,...r.filters});let o=this.props.selected||[];typeof o!="object"?o=[o]:o=[...o],o=o.filter(s=>s),this.state={selected:o}}handleCancel(){this.props.onClose()}handleOk(){this.props.onOk(this.props.multiSelect||!Array.isArray(this.state.selected)?this.state.selected:this.state.selected[0]||""),this.props.onClose()}render(){let r;return this.state.selected.length?!Array.isArray(this.state.selected)||this.state.selected.length===1?r=[m.createElement("span",{key:"selected"},R.t("ra_Selected")," "),m.createElement("span",{key:"id",style:Ia.headerID},this.state.selected)]:r=[m.createElement("span",{key:"selected"},R.t("ra_Selected")," "),m.createElement("span",{key:"id",style:Ia.headerID},R.t("%s items",this.state.selected.length))]:r=this.props.title||R.t("ra_Please select file..."),m.createElement(Mr,{onClose:()=>{},maxWidth:!1,sx:{"& .MuiDialog-paper":{...Ia.dialog,...Ia.dialogMobile}},fullWidth:!0,open:!0,"aria-labelledby":"ar_dialog_selectfile_title"},m.createElement(Ar,{id:"ar_dialog_selectfile_title",sx:{"&.MuiDialogTitle-root":Ia.titleRoot}},r),m.createElement(Vr,{style:{...Ia.content,...Ia.contentMobile}},m.createElement(VGe,{ready:!0,imagePrefix:this.props.imagePrefix||this.props.prefix||"../",allowUpload:!!this.props.allowUpload,allowDownload:this.props.allowDownload!==!1,allowCreateFolder:!!this.props.allowCreateFolder,allowDelete:!!this.props.allowDelete,allowView:this.props.allowView!==!1,showViewTypeButton:this.props.showViewTypeButton!==!1,showToolbar:this.props.showToolbar!==!1,limitPath:this.props.limitPath,filterFiles:this.props.filterFiles,filterByType:this.props.filterByType,selected:this.props.selected,restrictToFolder:this.props.restrictToFolder,allowNonRestricted:this.props.allowNonRestricted,onSelect:(n,o,s)=>{this.setState({selected:Array.isArray(n)?n:[n]},()=>o&&(!this.props.selectOnlyFolders||s)&&this.handleOk())},t:this.props.t||R.t,lang:this.props.lang||R.getLanguage(),socket:this.props.socket,themeType:this.props.themeType,themeName:this.props.themeName,theme:this.props.theme,showExpertButton:this.props.showExpertButton,expertMode:this.props.expertMode,showTypeSelector:this.props.showTypeSelector})),m.createElement(qr,null,m.createElement(gt,{variant:"contained",onClick:()=>this.handleOk(),startIcon:m.createElement(Yn,null),disabled:!this.state.selected.length,color:"primary"},this.props.ok||R.t("ra_Ok")),m.createElement(gt,{color:"grey",variant:"contained",onClick:()=>this.handleCancel(),startIcon:m.createElement(cd,null)},this.props.cancel||R.t("ra_Cancel"))))}}const lJe={dialogPaper:{height:"calc(100% - 96px)"}};class $et extends m.Component{constructor(e){super(e);let r;this.props.cron&&typeof this.props.cron=="string"&&this.props.cron.replace(/^["']/,"")[0]!=="{"?r=this.props.cron.replace(/['"]/g,"").trim():(r=this.props.cron||"{}",typeof r=="string"&&(r=r.replace(/^["']/,"").replace(/["']\n?$/,""))),this.state={cron:r}}handleCancel(){this.props.onClose()}handleOk(){this.props.onOk(this.state.cron),this.props.onClose()}render(){return m.createElement(Mr,{onClose:()=>{},maxWidth:"md",fullWidth:!0,sx:{"& .MuiDialog-paper":lJe.dialogPaper},open:!0,"aria-labelledby":"cron-dialog-title"},m.createElement(Ar,{id:"cron-dialog-title"},this.props.title||R.t("ra_Define CRON...")),m.createElement(Vr,{style:{height:"100%",overflow:"hidden"}},m.createElement(Vu,{cronExpression:this.state.cron,onChange:e=>this.setState({cron:e}),language:R.getLanguage()})),m.createElement(qr,null,m.createElement(gt,{variant:"contained",disabled:!this.state.cron||this.state.cron.includes("_"),onClick:()=>this.handleOk(),color:"primary",startIcon:m.createElement(Yn,null)},this.props.ok||R.t("ra_Ok")),m.createElement(gt,{variant:"contained",onClick:()=>this.handleCancel(),color:"grey",startIcon:m.createElement(cd,null)},this.props.cancel||R.t("ra_Cancel"))))}}var cI={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},ZD=m.createContext&&m.createContext(cI),cJe=["attr","size","title"];function uJe(t,e){if(t==null)return{};var r=dJe(t,e),n,o;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function dJe(t,e){if(t==null)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}function Vf(){return Vf=Object.assign?Object.assign.bind():function(t){for(var e=1;em.createElement(e.tag,Gf({key:r},e.attr),uI(e.child)))}function dI(t){return e=>m.createElement(mJe,Vf({attr:Gf({},t.attr)},e),uI(t.child))}function mJe(t){var e=r=>{var{attr:n,size:o,title:s}=t,a=uJe(t,cJe),l=o||r.size||"1em",u;return r.className&&(u=r.className),t.className&&(u=(u?u+" ":"")+t.className),m.createElement("svg",Vf({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,a,{className:u,style:Gf(Gf({color:t.color||r.color},r.style),t.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),s&&m.createElement("title",null,s),t.children)};return ZD!==void 0?m.createElement(ZD.Consumer,null,r=>e(r)):e(cI)}function _Je(t){return dI({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"},child:[]}]})(t)}function gJe(t){return dI({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 6.41 17.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 12z"},child:[]}]})(t)}class eN extends m.Component{constructor(r){super(r);Y(this,"refTypo");Y(this,"height");Y(this,"width");this.state={closed:this.props.storeId?window.localStorage.getItem(this.props.storeId)==="true":!1},this.height=0,this.width=0,this.refTypo=m.createRef()}componentDidMount(){this.detectHeight()}onClick(){this.props.storeId&&this.props.closed===void 0&&(this.state.closed?window.localStorage.removeItem(this.props.storeId):window.localStorage.setItem(this.props.storeId,"true")),this.props.closed===void 0?this.setState({closed:!this.state.closed},()=>{this.props.onClose&&this.props.onClose(this.state.closed)}):this.props.onClose&&this.props.onClose(!this.props.closed)}detectHeight(){const r=this.props.closed!==void 0?this.props.closed:this.state.closed;this.props.closeable&&!r&&this.refTypo.current&&window.requestAnimationFrame(()=>{(this.props.closed!==void 0?this.props.closed:this.state.closed)||this.refTypo.current&&(!this.height||this.width!==this.refTypo.current.clientWidth)&&(this.height=this.refTypo.current.clientHeight,this.width=this.refTypo.current.clientWidth,this.forceUpdate())})}componentDidUpdate(){this.detectHeight()}render(){const r=this.props.closed!==void 0?this.props.closed:this.state.closed,n=r?wV:Hr;return D.jsxs(nt,{className:"iom-info-box",style:{whiteSpace:"preserve",display:"flex",gap:8,alignItems:r||this.props.iconPosition==="top"?"flex-start":"center",borderWidth:1,borderStyle:"solid",padding:4,borderRadius:5,marginBottom:8,maxWidth:"100%",transition:"height 0.5s",height:this.props.closeable?r?30:this.height||void 0:void 0,overflow:this.props.closeable?"hidden":void 0,position:"relative",...this.props.style},sx:{borderColor:o=>this.props.type==="ok"?o.palette.info.main:o.palette[this.props.type].main},children:[this.props.type==="ok"?D.jsx(Yn,{style:{color:"#0F0"}}):this.props.type==="info"?D.jsx(uA,{color:"primary"}):D.jsx(xV,{color:this.props.type}),D.jsx(Fo,{ref:this.refTypo,children:this.props.children}),this.props.closeable?D.jsx(n,{sx:{color:o=>o.palette.mode==="dark"?"lightgray":"gray",cursor:"pointer",position:"absolute",top:4,right:4},onClick:()=>this.onClick()}):null,this.props.closeable?D.jsx("div",{style:{width:22}}):null,r?D.jsx(nt,{component:"div",sx:o=>{const s=o.palette[this.props.type==="ok"?"info":this.props.type].main;return{background:`linear-gradient(${s}00 0%, ${s}10 60%, ${s}90 100%)`}},style:{bottom:0,position:"absolute",left:0,right:0,height:10}}):null]})}}const Do={tab:{width:"100%",minHeight:"100%"},bind:{marginRight:10,marginBottom:20,minWidth:200},port:{width:100},defaultTimeout:{width:150},ffmpegPath:{width:464},link:{color:"inherit"}};let yJe=class extends N.Component{constructor(e){super(e),this.state={showHint:!1,toast:"",ips:[],requesting:!0,webInstances:[]}}async componentDidMount(){const e=await this.props.getIpAddresses(),r=await this.props.getExtendableInstances();this.setState({requesting:!1,ips:e,webInstances:r.map(n=>n._id.replace("system.adapter.",""))})}renderError(){return this.state.errorText?D.jsx(Hw,{text:this.state.errorText,title:R.t("Error"),onClose:()=>this.setState({errorText:""})}):null}renderToast(){return this.state.toast?D.jsx(Of,{anchorOrigin:{vertical:"bottom",horizontal:"left"},open:!0,autoHideDuration:6e3,onClose:()=>this.setState({toast:""}),ContentProps:{"aria-describedby":"message-id"},message:D.jsx("span",{id:"message-id",children:this.state.toast}),action:[D.jsx(dt,{"aria-label":"Close",color:"inherit",style:Do.close,onClick:()=>this.setState({toast:""}),children:D.jsx(gJe,{})},"close")]}):null}renderHint(){return this.state.showHint?D.jsx(V0,{text:R.t("Click now Get new connection certificates to request new temporary password"),onClose:()=>this.setState({showHint:!1})}):null}onTestFfmpeg(){let e=setTimeout(()=>{e=null,this.setState({toast:"Timeout",requesting:!1})},3e4);this.setState({requesting:!0},async()=>{const r=await this.props.socket.sendTo(`${this.props.adapterName}.${this.props.instance}`,"ffmpeg",{path:this.props.native.ffmpegPath});if(e&&(clearTimeout(e),e=null),!(r!=null&&r.version)||r.error){let n=r!=null&&r.error?r.error:R.t("No answer");typeof n!="string"&&(n=JSON.stringify(n)),this.setState({toast:n,requesting:!1})}else this.setState({toast:`${R.t("Success:")} ${r.version}`,requesting:!1})})}renderSettings(){return D.jsxs("div",{style:{display:"flex",flexDirection:"column",width:"100%"},children:[D.jsx(eN,{type:"info",closeable:!0,style:{color:this.props.theme.palette.mode==="dark"?"#FFF":"#000"},storeId:"cameras.port",children:R.t("port_explanation")},"info1"),D.jsxs("div",{style:{display:"flex",gap:8},children:[D.jsx(ot,{variant:"standard",disabled:this.state.requesting,type:"number",slotProps:{htmlInput:{min:1,max:65535}},style:Do.port,label:R.t("Local port"),value:this.props.native.port,onChange:e=>this.props.onChange("port",e.target.value)},"port"),D.jsx(ot,{variant:"standard",disabled:this.state.requesting,type:"number",slotProps:{htmlInput:{min:1,max:1e4}},style:Do.defaultTimeout,label:R.t("Default timeout (ms)"),value:this.props.native.defaultTimeout,onChange:e=>this.props.onChange("defaultTimeout",e.target.value)},"defaultTimeout"),D.jsxs(Ro,{style:Do.bind,variant:"standard",children:[D.jsx(qa,{children:R.t("WEB Instance")}),D.jsxs(Gr,{variant:"standard",disabled:this.state.requesting,value:this.props.native.webInstance,onChange:e=>this.props.onChange("webInstance",e.target.value),children:[D.jsx(xt,{value:"*",children:R.t("All")}),this.state.webInstances?this.state.webInstances.map(e=>D.jsx(xt,{value:e,children:e},e)):null]})]},"webInstanceSelect")]}),D.jsx(eN,{type:"info",closeable:!0,style:{color:this.props.theme.palette.mode==="dark"?"#FFF":"#000"},storeId:"cameras.ffmpeg",children:R.t("ffmpeg_explanation")},"info1"),D.jsxs("div",{style:{display:"flex",gap:8,alignItems:"baseline"},children:[D.jsx(ot,{variant:"standard",disabled:this.state.requesting,style:Do.ffmpegPath,label:R.t("Path to ffpmeg executable"),value:this.props.native.ffmpegPath||"",onChange:e=>this.props.onChange("ffmpegPath",e.target.value),helperText:R.t("Like /usr/bin/ffmpeg")},"ffmpegPath"),D.jsx(gt,{color:"grey",variant:"outlined",onClick:()=>this.onTestFfmpeg(),disabled:!this.props.instanceAlive||this.state.requesting,startIcon:D.jsx(_Je,{}),children:R.t("Test path")},"ffmpegPathButton")]}),D.jsx(ot,{variant:"standard",disabled:this.state.requesting,style:Do.ffmpegPath,label:R.t("Path to store temporary images"),value:this.props.native.tempPath||"",onChange:e=>this.props.onChange("tempPath",e.target.value),helperText:R.t("If empty then in adapter folder")},"tempPath"),D.jsx(ot,{variant:"standard",disabled:this.state.requesting,style:Do.ffmpegPath,label:R.t("Default cache timeout (ms)"),slotProps:{htmlInput:{min:0,max:6e4}},type:"number",value:this.props.native.defaultCacheTimeout||"",onChange:e=>this.props.onChange("defaultCacheTimeout",e.target.value),helperText:R.t("How often the cameras will be asked for new snapshot. If 0, then by every request")},"defaultCacheTimeout"),D.jsx(ot,{variant:"standard",disabled:this.state.requesting,style:Do.ffmpegPath,label:R.t("Time format"),value:this.props.native.dateFormat||"",onChange:e=>this.props.onChange("dateFormat",e.target.value),helperText:D.jsxs("span",{children:[R.t("See here:")," ",D.jsx("a",{href:"https://momentjs.com/docs/#/displaying/",rel:"noreferrer",target:"_blank",style:Do.link,children:"https://momentjs.com/"})]})},"dateFormat")]})}renderMessage(){return this.state.messageText?D.jsx(V0,{title:R.t("Success"),onClose:()=>this.setState({messageText:""}),text:this.state.messageText}):null}render(){return D.jsxs("form",{style:Do.tab,children:[D.jsx(R1,{instance:this.props.instance,common:this.props.common,native:this.props.native,onError:e=>this.setState({errorText:e}),onLoad:this.props.onLoad}),this.renderSettings(),this.renderHint(),this.renderToast(),this.renderMessage(),this.renderError()]},"option")}};class gi extends N.Component{}Y(gi,"isRtsp",!1);const tN={page:{width:"100%"},url:{width:"100%"}};class vJe extends gi{constructor(e){super(e),this.state={url:this.props.settings.url||""}}reportSettings(){this.props.onChange({url:this.state.url})}render(){return D.jsx("div",{style:tN.page,children:D.jsx(ot,{variant:"standard",style:tN.url,label:R.t("Camera URL"),value:this.state.url,onChange:e=>this.setState({url:e.target.value},()=>this.reportSettings())},"url")})}}const rN={page:{width:"100%"},url:{width:"100%"}};class bJe extends gi{constructor(e){super(e),this.state={url:this.props.settings.url||"",password:this.props.settings.password||"",username:this.props.settings.username||""}}componentDidMount(){this.props.decrypt(this.state.password,e=>this.setState({password:e}))}reportSettings(){this.props.encrypt(this.state.password,e=>{this.props.onChange({url:this.state.url,username:this.state.username,password:e})})}render(){return D.jsxs("div",{style:rN.page,children:[D.jsx(ot,{variant:"standard",style:rN.url,label:R.t("Camera URL"),value:this.state.url,onChange:e=>this.setState({url:e.target.value},()=>this.reportSettings())},"url"),D.jsx("br",{}),D.jsx(ot,{variant:"standard",autoComplete:"off",label:R.t("Username"),value:this.state.username,onChange:e=>this.setState({username:e.target.value},()=>this.reportSettings())},"username"),D.jsx("br",{}),D.jsx(ot,{variant:"standard",type:"password",autoComplete:"off",label:R.t("Password"),value:this.state.password,onChange:e=>this.setState({password:e.target.value},()=>this.reportSettings())},"password")]})}}const Qr={page:{width:"100%"},ip:{marginRight:8,width:200},port:{marginRight:8,width:200},protocol:{width:70},username:{marginTop:16,marginRight:8,width:200},password:{marginTop:16,width:200},urlPath:{marginTop:16,marginBotton:"24px !important",width:408},width:{marginTop:16,marginRight:8,width:90},height:{marginTop:16,width:90},expertMode:{marginTop:16},suffix:{marginTop:16,width:200},prefix:{marginTop:16,marginRight:8,width:200},ffmpgDiv:{marginTop:16},ffmpgLabel:{fontSize:"smaller",fontWeight:"bold"},ffmpgCommand:{fontFamily:"monospace",fontSize:"smaller"}};class pI extends gi{constructor(e){super(e),this.state={ip:this.props.settings.ip||"",port:this.props.settings.port||"554",urlPath:this.props.settings.urlPath||"",password:this.props.settings.password||"",username:this.props.settings.username===void 0?"admin":this.props.settings.username||"",url:`rtsp://${this.props.settings.username?`${this.props.settings.username}:***@`:""}${this.props.settings.ip}:${this.props.settings.port}${this.props.settings.urlPath?this.props.settings.urlPath.startsWith("/")?this.props.settings.urlPath:`/${this.props.settings.urlPath}`:""}`,originalHeight:this.props.settings.originalHeight||"",originalWidth:this.props.settings.originalWidth||"",prefix:this.props.settings.prefix||"",suffix:this.props.settings.suffix||"",protocol:this.props.settings.protocol||"udp",expertMode:!1}}componentDidMount(){this.props.decrypt(this.state.password||"",e=>this.setState({password:e}))}reportSettings(){this.props.encrypt(this.state.password||"",e=>{this.props.onChange({ip:this.state.ip,username:this.state.username,password:e,port:this.state.port,urlPath:this.state.urlPath,prefix:this.state.prefix,suffix:this.state.suffix,protocol:this.state.protocol,originalWidth:this.state.originalWidth,originalHeight:this.state.originalHeight})})}buildCommand(e){const r=["-y"];return e.prefix&&r.push(e.prefix),r.push("-rtsp_transport"),r.push(e.protocol||"udp"),r.push("-i"),r.push(`rtsp://${e.username?e.username+(e.password?":***":""):""}@${e.ip}:${e.port||554}${e.urlPath?e.urlPath.startsWith("/")?e.urlPath:`/${e.urlPath}`:""}`),r.push("-loglevel"),r.push("error"),e.originalWidth&&e.originalHeight&&r.push(`scale=${e.originalWidth}:${e.originalHeight}`),r.push("-vframes"),r.push("1"),e.suffix&&r.push(e.suffix),r.push(`${this.props.native.tempPath?`${this.props.native.tempPath}/`:""}${e.ip.replace(/[.:]/g,"_")}.jpg`),r}render(){return D.jsx("div",{style:Qr.page,children:D.jsxs("form",{children:[D.jsx(ot,{variant:"standard",style:Qr.ip,label:R.t("Camera IP"),value:this.state.ip,onChange:e=>this.setState({ip:e.target.value},()=>this.reportSettings())}),D.jsx(ot,{variant:"standard",style:Qr.port,type:"number",label:R.t("Port"),value:this.state.port,onChange:e=>this.setState({port:e.target.value},()=>this.reportSettings())}),D.jsxs(Ro,{style:Qr.protocol,variant:"standard",children:[D.jsx(qa,{children:R.t("Protocol")}),D.jsxs(Gr,{variant:"standard",value:this.state.protocol||"udp",onChange:e=>this.setState({protocol:e.target.value},()=>this.reportSettings()),children:[D.jsx(xt,{value:"udp",children:"UDP"}),D.jsx(xt,{value:"tcp",children:"TCP"})]})]}),D.jsx("br",{}),D.jsx(ot,{variant:"standard",style:Qr.urlPath,label:R.t("Path"),value:this.state.urlPath,onChange:e=>this.setState({urlPath:e.target.value},()=>this.reportSettings()),helperText:this.state.url}),D.jsx("br",{}),D.jsx(ot,{variant:"standard",autoComplete:"new-password",style:Qr.username,label:R.t("Username"),value:this.state.username,onChange:e=>this.setState({username:e.target.value},()=>this.reportSettings())}),D.jsx(ot,{variant:"standard",type:"password",autoComplete:"new-password",style:Qr.password,label:R.t("Password"),value:this.state.password,onChange:e=>this.setState({password:e.target.value},()=>this.reportSettings())}),D.jsx("br",{}),D.jsx(at,{style:Qr.expertMode,control:D.jsx(Ut,{checked:this.state.expertMode,onChange:e=>this.setState({expertMode:e.target.checked})}),label:R.t("Expert settings")}),this.state.expertMode?D.jsx("br",{}):null,this.state.expertMode?D.jsx(ot,{variant:"standard",style:Qr.width,label:R.t("Width"),helperText:R.t("in pixels"),error:!!this.state.originalHeight&&!this.state.originalWidth,value:this.state.originalWidth,onChange:e=>this.setState({originalWidth:e.target.value},()=>this.reportSettings())}):null,this.state.expertMode?D.jsx("div",{style:{display:"inline-block",marginTop:40,marginRight:8},children:"x"}):null,this.state.expertMode?D.jsx(ot,{variant:"standard",style:Qr.height,label:R.t("Height"),error:!this.state.originalHeight&&!!this.state.originalWidth,helperText:R.t("in pixels"),value:this.state.originalHeight,onChange:e=>this.setState({originalHeight:e.target.value},()=>this.reportSettings())}):null,this.state.expertMode?D.jsx("br",{}):null,this.state.expertMode?D.jsx(ot,{variant:"standard",style:Qr.prefix,label:R.t("Prefix in command"),value:this.state.prefix,onChange:e=>this.setState({prefix:e.target.value},()=>this.reportSettings())}):null,this.state.expertMode?D.jsx(ot,{variant:"standard",style:Qr.suffix,label:R.t("Suffix in command"),value:this.state.suffix,onChange:e=>this.setState({suffix:e.target.value},()=>this.reportSettings())}):null,this.state.expertMode?D.jsx("br",{}):null,this.state.expertMode?D.jsx("br",{}):null,this.state.expertMode?D.jsxs("div",{style:Qr.ffmpgDiv,children:[D.jsxs("span",{style:Qr.ffmpgLabel,children:[R.t("ffmpeg command"),": "]}),D.jsxs("span",{style:Qr.ffmpgCommand,children:["ffmpeg ",this.buildCommand(this.state).join(" ")]})]}):null]})})}}Y(pI,"isRtsp",!0);const ru={page:{width:"100%"},ip:{marginRight:8,width:200},username:{marginTop:16,marginRight:8,width:200},password:{marginTop:16,width:200},quality:{marginTop:16,width:200}};class fI extends gi{constructor(e){super(e),this.state={ip:this.props.settings.ip||"",password:this.props.settings.password||"",username:this.props.settings.username===void 0?"admin":this.props.settings.username||"",quality:this.props.settings.quality||"low"}}componentDidMount(){this.props.decrypt(this.state.password||"",e=>this.setState({password:e}))}reportSettings(){this.props.encrypt(this.state.password||"",e=>{this.props.onChange({ip:this.state.ip,username:this.state.username,password:e,quality:this.state.quality})})}render(){return D.jsx("div",{style:ru.page,children:D.jsxs("form",{children:[D.jsx(ot,{variant:"standard",style:ru.ip,label:R.t("Camera IP"),value:this.state.ip,onChange:e=>this.setState({ip:e.target.value},()=>this.reportSettings())}),D.jsx("br",{}),D.jsx(ot,{variant:"standard",autoComplete:"new-password",style:ru.username,label:R.t("Username"),value:this.state.username,onChange:e=>this.setState({username:e.target.value},()=>this.reportSettings())}),D.jsx(ot,{variant:"standard",type:"password",autoComplete:"new-password",style:ru.password,label:R.t("Password"),value:this.state.password,onChange:e=>this.setState({password:e.target.value},()=>this.reportSettings())}),D.jsx("br",{}),D.jsxs(Gr,{style:ru.quality,variant:"standard",value:this.state.quality,label:R.t("Quality"),onChange:e=>this.setState({quality:e.target.value},()=>this.reportSettings()),children:[D.jsx(xt,{value:"low",children:R.t("low quality")}),D.jsx(xt,{value:"high",children:R.t("high quality")})]})]})})}}Y(fI,"isRtsp",!0);const nN={page:{width:"100%"},ip:{marginRight:8,width:200},username:{marginTop:16,marginRight:8,width:200},password:{marginTop:16,width:200},quality:{marginTop:16,width:200}};class hI extends gi{constructor(e){super(e),this.state={ip:this.props.settings.ip||"",oid:this.props.settings.oid||"",useOid:this.props.settings.useOid||!1,eusecInstalled:!1,showSelectId:!1}}async componentDidMount(){const e=await this.props.socket.getAdapterInstances("eusec");this.state.useOid&&!e.length?this.setState({useOid:!1}):this.setState({eusecInstalled:!!e.length})}reportSettings(){this.props.onChange({ip:this.state.ip,oid:this.state.oid,useOid:this.state.useOid})}renderSelectID(){return this.state.showSelectId?D.jsx(pXe,{imagePrefix:"../..",theme:this.props.theme,themeType:this.props.themeType,dialogName:"RTSPReolinkE1",socket:this.props.socket,selected:this.state.oid,filterFunc:e=>e._id.startsWith("eusec.")&&e._id.endsWith(".rtsp_stream_url"),onClose:()=>this.setState({showSelectId:!1}),onOk:e=>{let r;Array.isArray(e)?r=e[0]:r=e||"",this.setState({oid:r,showSelectId:!1},()=>this.reportSettings())}}):null}render(){return D.jsxs("div",{style:nN.page,children:[this.renderSelectID(),D.jsxs("form",{children:[this.state.eusecInstalled?D.jsxs("div",{children:[D.jsx("span",{children:R.t("From eusec adapter")}),D.jsx(cu,{checked:!this.state.useOid,onChange:()=>this.setState({useOid:!this.state.useOid})}),D.jsx("span",{children:R.t("By IP address")})]}):null,this.state.useOid?D.jsxs("div",{style:{width:"100%",display:"flex"},children:[D.jsx(ot,{variant:"standard",fullWidth:!0,label:R.t("Camera OID"),value:this.state.oid,onChange:e=>this.setState({oid:e.target.value},()=>this.reportSettings())}),D.jsx(gt,{variant:"contained",onClick:()=>this.setState({showSelectId:!0}),children:"..."})]}):D.jsx(ot,{variant:"standard",style:nN.ip,label:R.t("Camera IP"),value:this.state.ip,onChange:e=>this.setState({ip:e.target.value},()=>this.reportSettings())})]})]})}}Y(hI,"isRtsp",!0);const nu={page:{width:"100%"},ip:{marginRight:8,width:200},username:{marginTop:16,marginRight:8,width:200},password:{marginTop:16,width:200},quality:{marginTop:16,width:200}};class mI extends gi{constructor(e){super(e),this.state={ip:this.props.settings.ip||"",password:this.props.settings.password||"",username:this.props.settings.username===void 0?"admin":this.props.settings.username||"",quality:this.props.settings.quality||"low"}}componentDidMount(){this.props.decrypt(this.state.password,e=>this.setState({password:e}))}reportSettings(){this.props.encrypt(this.state.password,e=>{this.props.onChange({ip:this.state.ip,username:this.state.username,password:e,quality:this.state.quality})})}render(){return D.jsx("div",{style:nu.page,children:D.jsxs("form",{children:[D.jsx(ot,{variant:"standard",style:nu.ip,label:R.t("Camera IP"),value:this.state.ip,onChange:e=>this.setState({ip:e.target.value},()=>this.reportSettings())}),D.jsx("br",{}),D.jsx(ot,{variant:"standard",autoComplete:"new-password",style:nu.username,label:R.t("Username"),value:this.state.username,onChange:e=>this.setState({username:e.target.value},()=>this.reportSettings())}),D.jsx(ot,{variant:"standard",type:"password",autoComplete:"new-password",style:nu.password,label:R.t("Password"),value:this.state.password,onChange:e=>this.setState({password:e.target.value},()=>this.reportSettings())}),D.jsx("br",{}),D.jsxs(Gr,{style:nu.quality,variant:"standard",value:this.state.quality,label:R.t("Quality"),onChange:e=>this.setState({quality:e.target.value},()=>this.reportSettings()),children:[D.jsx(xt,{value:"low",children:R.t("low quality")}),D.jsx(xt,{value:"high",children:R.t("high quality")})]})]})})}}Y(mI,"isRtsp",!0);const fn={url:{Config:vJe,name:"URL"},urlBasicAuth:{Config:bJe,name:"URL with basic auth"},rtsp:{Config:pI,name:"RTSP Snapshot"},reolinkE1:{Config:fI,name:"Reolink E1 Snapshot"},eufy:{Config:hI,name:"Eufy Security"},hikam:{Config:mI,name:"HiKam / WiWiCam"}},$t={tab:{width:"100%",height:"100%"},lineDiv:{width:"100%",paddingTop:5,paddingBottom:5,borderBottom:"1px dashed gray"},lineCheck:{display:"inline-block",width:44},lineCheckbox:{marginTop:10},lineText:{display:"inline-block",width:200},lineDesc:{display:"inline-block",flexGrow:1},lineType:{display:"inline-block",width:200},lineEdit:{display:"inline-block",marginTop:10},lineUp:{display:"inline-block",marginTop:10},lineDown:{display:"inline-block",marginTop:10},lineDelete:{display:"inline-block",marginTop:10},lineUrl:t=>({marginLeft:"48px",fontSize:"small",fontStyle:"italic",color:t.palette.text.disabled}),lineNoButtonUp:{display:"inline-block",width:34,marginLeft:10},lineNoButtonDown:{display:"inline-block",width:40,marginLeft:10},divConfig:{verticalAlign:"top"},divTestCam:{flex:1,verticalAlign:"top",display:"flex",flexDirection:"column"},buttonIcon:{marginTop:6},buttonTest:{marginBottom:8},imgTest:{width:"100%",height:"auto"},sampleUrl:{display:"block",marginTop:8},link:{color:"inherit",textDecoration:"underline"}};let wJe=class Sl extends N.Component{constructor(e){super(e),this.state={editCam:!1,editChanged:!1,requesting:!1,instanceAlive:this.props.instanceAlive,webInstanceHost:"",editedSettings:null,editedSettingsOld:null,message:"",testImg:null},Object.keys(fn).forEach(r=>{fn[r].name&&!fn[r].translated&&(fn[r].translated=!0,fn[r].name=R.t(fn[r].name),fn[r].Config.isRtsp&&(fn[r].rtsp=!0))})}componentDidMount(){this.getWebInstances().catch(e=>{var r,n;return(n=(r=this.props).onError)==null?void 0:n.call(r,e)})}static ip2int(e){return e.split(".").reduce((r,n)=>(r<<8)+parseInt(n,10),0)>>>0}static findNetworkAddressOfHost(e,r){var s,a;const n=(a=(s=e==null?void 0:e.native)==null?void 0:s.hardware)==null?void 0:a.networkInterfaces;if(!n)return;let o;return Object.keys(n).forEach(l=>{var u;(u=n[l])==null||u.forEach(p=>{p.internal||r.includes(":")&&p.family!=="IPv6"||r.includes(".")&&!r.match(/[^.\d]/)&&p.family!=="IPv4"||(r==="127.0.0.0"||r==="localhost"||r.match(/[^.\d]/)||p.family==="IPv4"&&r.includes(".")&&(Sl.ip2int(r)&Sl.ip2int(p.netmask),Sl.ip2int(p.address)&Sl.ip2int(p.netmask)),o=p.address)})}),o||Object.keys(n).forEach(l=>{var u;(u=n[l])==null||u.forEach(p=>{p.internal||r.includes(":")&&p.family!=="IPv6"||r.includes(".")&&!r.match(/[^.\d]/)&&p.family!=="IPv4"||(r==="127.0.0.0"||r==="localhost"||r.match(/[^.\d]/),o=p.address)})}),o||Object.keys(n).forEach(l=>{var u;(u=n[l])==null||u.forEach(p=>{p.internal||(o=p.address)})}),o}async getWebInstances(){const e=await this.props.socket.getAdapterInstances("web");let r;if(this.props.native.webInstance==="*")r=e[0];else{const n=this.props.native.webInstance;r=e.find(o=>o._id.endsWith(n))}if(r&&(r.native=r.native||{},!r.native.bind||r.native.bind==="0.0.0.0")){const n=await this.props.socket.getObject(`system.host.${r.common.host}`),o=n&&Sl.findNetworkAddressOfHost(n,window.location.hostname);r.native.bind=o||window.location.hostname}r&&this.setState({webInstanceHost:`${r.native.bind}:${r.native.port||8082}`})}renderMessage(){if(this.state.message){const e=this.state.message.split(` +`).map((r,n)=>D.jsx("p",{children:r},n));return D.jsx(V0,{text:e,onClose:()=>this.setState({message:""})})}return null}static getDerivedStateFromProps(e,r){return r.instanceAlive!==e.instanceAlive?{instanceAlive:e.instanceAlive}:null}onTest(){const e=JSON.parse(this.state.editedSettings||this.state.editedSettingsOld||"{}");let r=setTimeout(()=>{r=null,this.setState({message:"Timeout",requesting:!1})},parseInt(e.timeout||this.props.native.defaultTimeout,10)||5e3);this.setState({requesting:!0,testImg:null},async()=>{const n=await this.props.socket.sendTo(`${this.props.adapterName}.${this.props.instance}`,"test",e);if(r&&(clearTimeout(r),r=null),!n||!n.body||n.error){let o=n&&n.error?n.error:R.t("No answer");typeof o!="string"&&(o=JSON.stringify(o)),o=o.replace(/\/\/([^:]+):[^@]+@/,"//$1:xxx@"),this.setState({message:o,requesting:!1})}else this.setState({testImg:n.body,requesting:!1})})}onCameraSettingsChanged(e){const r=JSON.parse(this.state.editedSettingsOld||"{}");e=Object.assign(r,e);const n=JSON.stringify(e);this.state.editedSettingsOld===n?this.setState({editChanged:!1,editedSettings:null}):this.state.editedSettingsOld!==n&&this.setState({editChanged:!0,editedSettings:n})}renderConfigDialog(){if(this.state.editCam!==!1){const e=JSON.parse(this.state.editedSettings||this.state.editedSettingsOld||"{}"),r=(fn[e.type]||fn.url).Config;return D.jsxs(Mr,{maxWidth:"lg",fullWidth:!0,open:!0,onClose:()=>this.state.editCam!==null&&this.setState({editCam:!1,editChanged:!1}),children:[D.jsxs(Ar,{children:[R.t("Edit camera %s [%s]",e.name,e.type)," - ",e.desc]}),D.jsx(Vr,{children:D.jsxs("div",{style:{display:"flex",gap:10},children:[D.jsxs("div",{style:$t.divConfig,children:[D.jsx(r,{native:this.props.native,socket:this.props.socket,settings:e,themeType:this.props.themeType,theme:this.props.theme,onChange:n=>this.onCameraSettingsChanged(n),encrypt:(n,o)=>this.props.encrypt(n,o),decrypt:(n,o)=>this.props.decrypt(n,o)}),D.jsx("br",{}),D.jsx(ot,{variant:"standard",style:$t.username,label:R.t("Request timeout (ms)"),value:e.timeout===void 0?"":e.timeout,helperText:R.t("If empty or 0, use default settings."),onChange:n=>{const o=JSON.parse(JSON.stringify(e));o.timeout=n.target.value,this.onCameraSettingsChanged(o)}}),D.jsx("br",{}),D.jsx(ot,{variant:"standard",style:$t.username,label:R.t("Cache timeout (ms)"),value:e.cacheTimeout===void 0?"":e.cacheTimeout,helperText:R.t("If empty, use default settings. If 0, cache disabled"),onChange:n=>{const o=JSON.parse(JSON.stringify(e));o.cacheTimeout=n.target.value,this.onCameraSettingsChanged(o)}}),D.jsx("br",{}),D.jsx(at,{label:R.t("Add time to screenshot"),control:D.jsx(Ut,{checked:e.addTime||!1,onChange:n=>{const o=JSON.parse(JSON.stringify(e));o.addTime=n.target.checked,this.onCameraSettingsChanged(o)}})}),D.jsx("br",{}),D.jsx(ot,{variant:"standard",style:$t.username,label:R.t("Add title"),value:e.title===void 0?"":e.title,onChange:n=>{const o=JSON.parse(JSON.stringify(e));o.title=n.target.value,this.onCameraSettingsChanged(o)}}),D.jsxs("div",{style:$t.sampleUrl,children:[R.t("Local URL"),": ",D.jsxs("a",{style:$t.link,href:`http://${this.props.native.bind}:${this.props.native.port}/${e.name}?key=${this.props.native.key}`,target:"_blank",rel:"noopener noreferrer",children:["URL: http://",this.props.native.bind,":",this.props.native.port,"/",e.name,"?key=",this.props.native.key]})]}),D.jsxs("div",{style:$t.sampleUrl,children:[R.t("Web URL"),": ",D.jsxs("a",{style:$t.link,href:`http://${this.state.webInstanceHost}/${this.props.adapterName}.${this.props.instance}/${e.name}`,target:"_blank",rel:"noopener noreferrer",children:["URL: http://",this.state.webInstanceHost,"/",this.props.adapterName,".",this.props.instance,"/",e.name]})]})]}),D.jsxs("div",{style:$t.divTestCam,children:[D.jsx(gt,{disabled:this.state.requesting||!this.state.instanceAlive,variant:"contained",color:"primary",size:"small",style:$t.buttonTest,onClick:()=>this.onTest(),startIcon:D.jsx(Yq,{}),children:R.t("Test")}),this.state.testImg?D.jsx("img",{alt:"test",style:$t.imgTest,src:this.state.testImg}):null,this.state.requesting?D.jsx(rd,{}):null]})]})}),D.jsxs(qr,{children:[D.jsx(gt,{disabled:!this.state.editChanged,variant:"contained",onClick:()=>{const n=JSON.parse(JSON.stringify(this.props.native.cameras));this.state.editedSettings?(n[this.state.editCam]=JSON.parse(this.state.editedSettings),this.props.onChange("cameras",n,()=>this.setState({editCam:!1,editChanged:!1}))):this.setState({editCam:!1,editChanged:!1})},color:"primary",children:R.t("Apply")}),D.jsx(gt,{color:"grey",variant:"contained",onClick:()=>this.setState({editCam:!1,editChanged:!1}),children:R.t("Cancel")})]})]})}return null}renderCameraButtons(e,r){return D.jsxs("div",{style:{display:"flex",gap:8,width:160},children:[D.jsx(dt,{size:"small",style:$t.lineEdit,onClick:()=>this.setState({editCam:r,editedSettingsOld:JSON.stringify(e),editedSettings:null,testImg:null}),children:D.jsx(ku,{style:$t.buttonIcon})},"edit"),r?D.jsx(dt,{size:"small",style:$t.lineUp,onClick:()=>{const n=JSON.parse(JSON.stringify(this.props.native.cameras)),o=n[r];n.splice(r,1),n.splice(r-1,0,o),this.props.onChange("cameras",n)},children:D.jsx(Wq,{style:$t.buttonIcon})},"up"):D.jsx("div",{style:$t.lineNoButtonUp,children:" "},"upEmpty"),r!==this.props.native.cameras.length-1?D.jsx(dt,{size:"small",style:$t.lineDown,onClick:()=>{const n=JSON.parse(JSON.stringify(this.props.native.cameras)),o=n[r];n.splice(r,1),n.splice(r+1,0,o),this.props.onChange("cameras",n)},children:D.jsx(Lq,{style:$t.buttonIcon})},"down"):D.jsx("div",{style:$t.lineNoButtonDown,children:" "},"downEmpty"),D.jsx(dt,{size:"small",style:$t.lineDelete,onClick:()=>{const n=JSON.parse(JSON.stringify(this.props.native.cameras));n.splice(r,1),this.props.onChange("cameras",n)},children:D.jsx(sa,{style:$t.buttonIcon})},"delete")]})}renderCamera(e,r){const n=this.props.native.cameras.find((s,a)=>s.name===e.name&&a!==r);this.props.native.cameras.forEach((s,a)=>{s.id||(s.id=Date.now()+a)});let o=e.url||"";if(o){const s=o.match(/^https?:\/\/([^@]+)@/);s&&s[1]&&(o=o.replace(`${s[1]}@`,""))}return D.jsxs("div",{style:{...$t.lineDiv,opacity:e.enabled===!1?.5:1},children:[D.jsxs("div",{style:{display:"flex",gap:8},children:[D.jsx("div",{style:$t.lineCheck,children:D.jsx(Ut,{style:$t.lineCheckbox,checked:e.enabled!==!1,onChange:()=>{const s=JSON.parse(JSON.stringify(this.props.native.cameras));s[r].enabled=s[r].enabled===void 0?!1:!s[r].enabled,this.props.onChange("cameras",s)}})}),D.jsx("div",{style:$t.lineText,children:D.jsx(ot,{fullWidth:!0,variant:"standard",style:$t.name,label:R.t("Name"),error:!!n,value:e.name||"",helperText:n?R.t("Duplicate name"):"",onChange:s=>{const a=JSON.parse(JSON.stringify(this.props.native.cameras));a[r].name=s.target.value.replace(/[^-_\da-zA-Z]/g,"_"),this.props.onChange("cameras",a)}})}),D.jsx("div",{style:$t.lineDesc,children:D.jsx(ot,{fullWidth:!0,variant:"standard",style:$t.desc,label:R.t("Description"),value:e.desc||"",onChange:s=>{const a=JSON.parse(JSON.stringify(this.props.native.cameras));a[r].desc=s.target.value,this.props.onChange("cameras",a)}})}),D.jsx("div",{style:$t.lineType,children:D.jsxs(Ro,{fullWidth:!0,style:$t.type,variant:"standard",children:[D.jsx(qa,{children:R.t("Type")}),D.jsx(Gr,{variant:"standard",value:e.type||"",onChange:s=>{const a=JSON.parse(JSON.stringify(this.props.native.cameras)),l=a[r];a[r]={type:s.target.value,desc:l.desc,name:l.name,enabled:l.enabled,ip:l.ip,rtsp:!!fn[s.target.value].rtsp},this.props.onChange("cameras",a)},children:Object.keys(fn).map(s=>D.jsx(xt,{value:s,children:fn[s].name||s},s))})]})}),this.renderCameraButtons(e,r)]}),o?D.jsx(nt,{sx:$t.lineUrl,children:o}):null]},`cam${e.id}`)}render(){return D.jsxs("div",{style:$t.tab,children:[D.jsx(ps,{size:"small",title:R.t("Add new camera"),onClick:()=>{const e=JSON.parse(JSON.stringify(this.props.native.cameras));let r=1;for(;e.find(n=>n.name===`cam${r}`);)r++;e.push({name:`cam${r}`,type:"url",id:Date.now(),rtsp:!!fn.url.rtsp,url:""}),this.props.onChange("cameras",e)},children:D.jsx(p0,{})}),this.props.native.cameras?this.props.native.cameras.map((e,r)=>this.renderCamera(e,r)):null,this.renderConfigDialog(),this.renderMessage()]})}};const xJe="All",SJe="Apply",CJe="Cameras",EJe="Cancel",kJe="Close",$Je="Description",TJe="Height",OJe="Name",DJe="Ok",NJe="Options",MJe="Password",AJe="Path",PJe="Port",IJe="Protocol",RJe="Save",jJe="Success",FJe="Test",zJe="Type",LJe="URL",BJe="User name",WJe="Width",UJe="For RTSP access, a specialized library will be used, which must be installed separately on non-Windows systems. On linux systems FFmpeg lib should be installed automatically by installation of this adapter. Please specify the path to FFmpeg for RTSP processing below, if it placed somewhere else.",HJe="This adapter opens internal web server to serve pictures for ioBroker.web server via extenstions. It uses port on localhost. If some other application uses this port, you can change it below.",qJe={"Add new camera":"Add new camera","Add time to screenshot":"Add time to screenshot","Add title":"Add title",All:xJe,Apply:SJe,"Are you sure?":"Are you sure?","By IP Address":"By IP Address","Cache timeout (ms)":"Cache timeout (ms)","Camera IP":"Camera IP","Camera OID":"Camera object ID","Camera URL":"Camera URL",Cameras:CJe,Cancel:EJe,Close:kJe,"Default cache timeout (ms)":"Default cache timeout (ms)","Default timeout (ms)":"Default timeout (ms)",Description:$Je,"Edit camera %s [%s]":"Edit camera %s [%s]",Error:"Error","Eufy Security":"Eufy Security","Expert settings":"Expert settings","From eusec adapter":"From eusec adapter",Height:TJe,"HiKam / WiWiCam":"HiKam / WiWiCam","How often the cameras will be asked for new snapshot. If 0, then by every request":"How often the cameras will be asked for new snapshot. If 0, then by every request","If empty or 0, use default settings.":"If empty or 0, use default settings.","If empty then in adapter folder":"If empty then in adapter folder","If empty, use default settings. If 0, cache disabled":"If empty, use default settings. If 0, cache disabled","Like /usr/bin/ffmpeg":'Like "/usr/bin/ffmpeg"',"Load configuration from file":"Load configuration from file","Local IP address":"Local IP address","Local URL":"Local URL","Local port":"Local port",Name:OJe,Ok:DJe,Options:NJe,Password:MJe,Path:AJe,"Path to ffpmeg executable":"Path to ffpmeg executable","Path to store temporary images":"Path to store temporary images",Port:PJe,Protocol:IJe,"RTSP Snapshot":"RTSP Snapshot","Reolink E1 Snapshot":"Reolink E1 Snapshot","Request timeout (ms)":"Request timeout (ms)",Save:RJe,"Save and close":"Save and close","Save configuration to file":"Save configuration to file","See here:":"See here:",Success:jJe,Test:FJe,"Test connection":"Test connection","Test path":"Test path","Time format":"Time format",Type:zJe,URL:LJe,"URL with basic auth":"URL with basic auth",Username:BJe,"WEB Instance":"WEB Instance","Web URL":"Web URL",Width:WJe,ffmpeg_explanation:UJe,"in pixels":"in pixels","not connected":"not connected",port_explanation:HJe},VJe="Alles",GJe="Speichern",XJe="Kameras",JJe="Abbrechen",YJe="Schließen",KJe="Beschreibung",ZJe="Höhe",QJe="Name",eYe="Ok",tYe="Optionen",rYe="Passwort",nYe="Weg",oYe="Port",sYe="Protokoll",aYe="speichern",iYe="Erfolgreich",lYe="Prüfen",cYe="Typ",uYe="URL",dYe="Nutzername",pYe="Breite",fYe="Für den RTSP-Zugriff wird eine spezielle Bibliothek verwendet, die auf Nicht-Windows-Systemen separat installiert werden muss. Auf Linux-Systemen sollte die FFmpeg-Bibliothek automatisch bei der Installation dieses Adapters installiert werden. Bitte geben Sie unten den Pfad zu FFmpeg für die RTSP-Verarbeitung an, falls es woanders platziert ist.",hYe="Dieser Adapter öffnet einen internen Webserver, um über Web-Erweiterungen die Bilder für den ioBroker.web-Server bereitzustellen. Er verwendet den Port auf localhost. Wenn eine andere Anwendung diesen Port verwendet, können Sie ihn unten ändern.",mYe={"Add new camera":"Neue Kamera hinzufügen","Add time to screenshot":"Zeit zum Screenshot hinzufügen","Add title":"Titel hinzufügen",All:VJe,Apply:GJe,"Are you sure?":"Bist du sicher?","By IP Address":"Nach IP-Adresse","Cache timeout (ms)":"Cache-Timeout (ms)","Camera IP":"Kamera-IP","Camera OID":"Kameraobjekt-ID","Camera URL":"Kamera-URL",Cameras:XJe,Cancel:JJe,Close:YJe,"Default cache timeout (ms)":"Standard-Cache-Timeout (ms)","Default timeout (ms)":"Standard-Timeout (ms)",Description:KJe,"Edit camera %s [%s]":"Kamera bearbeiten %s [%s]",Error:"Fehler","Eufy Security":"Eufy-Sicherheit","Expert settings":"Experteneinstellungen","From eusec adapter":"Vom Eusec-Adapter",Height:ZJe,"HiKam / WiWiCam":"HiKam / WiWiCam","How often the cameras will be asked for new snapshot. If 0, then by every request":"Wie oft die Kameras nach neuen Schnappschüssen gefragt werden. Wenn 0, dann bei jeder Anfrage","If empty or 0, use default settings.":"Wenn leer oder 0, verwenden Sie die Standardeinstellungen.","If empty then in adapter folder":"Wenn leer, dann im Adapterordner","If empty, use default settings. If 0, cache disabled":"Wenn leer, Standardeinstellungen verwenden. Wenn 0, Cache deaktiviert","Like /usr/bin/ffmpeg":'Wie "/usr/bin/ffmpeg"',"Load configuration from file":"Konfiguration aus Datei laden","Local IP address":"Lokale IP-Adresse","Local URL":"Lokale URL","Local port":"Lokaler Port",Name:QJe,Ok:eYe,Options:tYe,Password:rYe,Path:nYe,"Path to ffpmeg executable":"Pfad zur ausführbaren ffpmeg-Datei","Path to store temporary images":"Pfad zum Speichern temporärer Bilder",Port:oYe,Protocol:sYe,"RTSP Snapshot":"RTSP-Snapshot","Reolink E1 Snapshot":"Reolink E1 Schnappschuss","Request timeout (ms)":"Anforderungszeitüberschreitung (ms)",Save:aYe,"Save and close":"Speichern und schließen","Save configuration to file":"Konfiguration in Datei speichernn","See here:":"Siehe hier:",Success:iYe,Test:lYe,"Test connection":"Testverbindung","Test path":"Testpfad","Time format":"Zeitformat",Type:cYe,URL:uYe,"URL with basic auth":"URL mit einfacher Auth",Username:dYe,"WEB Instance":"WEB-Instanz","Web URL":"Web-URL",Width:pYe,ffmpeg_explanation:fYe,"in pixels":"in Pixel","not connected":"nicht verbunden",port_explanation:hYe},_Ye="Все",gYe="Сохранить",yYe="Камеры",vYe="Отмена",bYe="Закрыть",wYe="Описание",xYe="Высота",SYe="имя",CYe="Ok",EYe="Параметры",kYe="пароль",$Ye="Дорожка",TYe="Порт",OYe="Протокол",DYe="Сохранить",NYe="Успешно",MYe="Тестовое задание",AYe="Тип",PYe="URL-адрес",IYe="Имя пользователя",RYe="Ширина",jYe="Для доступа RTSP будет использоваться специализированная библиотека, которая должна быть установлена отдельно на системах, отличных от Windows. На системах Linux библиотека FFmpeg должна быть установлена автоматически при установке этого адаптера. Пожалуйста, укажите путь к FFmpeg для обработки RTSP ниже, если она находится где-то еще.",FYe="Этот адаптер открывает внутренний веб-сервер для обслуживания изображений для сервера ioBroker.web через расширения. Он использует порт на localhost. Если какое-либо другое приложение использует этот порт, вы можете изменить его ниже.",zYe={"Add new camera":"Добавить новую камеру","Add time to screenshot":"Добавить время на скриншот","Add title":"Добавить заголовок",All:_Ye,Apply:gYe,"Are you sure?":"Вы уверены?","By IP Address":"По IP-адресу","Cache timeout (ms)":"Время ожидания кэша (мс)","Camera IP":"IP камеры","Camera OID":"Идентификатор объекта камеры","Camera URL":"URL-адрес камеры",Cameras:yYe,Cancel:vYe,Close:bYe,"Default cache timeout (ms)":"Время ожидания кэша по умолчанию (мс)","Default timeout (ms)":"Время ожидания по умолчанию (мс)",Description:wYe,"Edit camera %s [%s]":"Редактировать камеру %s [%s]",Error:"Ошибка","Eufy Security":"Юфи Безопасность","Expert settings":"Экспертные настройки","From eusec adapter":"От адаптера eusec",Height:xYe,"HiKam / WiWiCam":"HiKam / WiWiCam","How often the cameras will be asked for new snapshot. If 0, then by every request":"Как часто камеры будут запрашивать новый снимок. Если 0, то при каждом запросе","If empty or 0, use default settings.":"Если пусто или равно 0, используйте настройки по умолчанию.","If empty then in adapter folder":"Если пусто, то в папке адаптера","If empty, use default settings. If 0, cache disabled":"Если пусто, используйте настройки по умолчанию. Если 0, кеширование отключено","Like /usr/bin/ffmpeg":'Например, "/usr/bin/ffmpeg"',"Load configuration from file":"Загрузить конфигурацию из файла","Local IP address":"Локальный IP-адрес","Local URL":"Локальный URL-адрес","Local port":"Местный порт",Name:SYe,Ok:CYe,Options:EYe,Password:kYe,Path:$Ye,"Path to ffpmeg executable":"Путь к исполняемому файлу ffpmeg","Path to store temporary images":"Путь для хранения временных изображений",Port:TYe,Protocol:OYe,"RTSP Snapshot":"Снимок RTSP","Reolink E1 Snapshot":"Снимок Reolink E1","Request timeout (ms)":"Таймаут запроса (мс)",Save:DYe,"Save and close":"Сохранить и закрыть","Save configuration to file":"Сохранить конфигурацию в файл","See here:":"Глянь сюда:",Success:NYe,Test:MYe,"Test connection":"Тестовое соединение","Test path":"Тестовый путь","Time format":"Формат времени",Type:AYe,URL:PYe,"URL with basic auth":"URL с базовой авторизацией",Username:IYe,"WEB Instance":"ВЕБ-экземпляр","Web URL":"Веб-URL",Width:RYe,ffmpeg_explanation:jYe,"in pixels":"в пикселях","not connected":"Не подключен",port_explanation:FYe},LYe="Todo",BYe="Aplique",WYe="Câmeras",UYe="Cancelar",HYe="Fechar",qYe="Descrição",VYe="Altura",GYe="Nome",XYe="Está bem",JYe="Opções",YYe="Senha",KYe="Caminho",ZYe="Porta",QYe="Protocolo",eKe="Salve ",tKe="Sucesso",rKe="Teste",nKe="Tipo",oKe="URL",sKe="Nome do usuário",aKe="Largura",iKe="Para acesso RTSP, uma biblioteca especializada será usada, que deve ser instalada separadamente em sistemas não Windows. Em sistemas Linux, a biblioteca FFmpeg deve ser instalada automaticamente pela instalação deste adaptador. Especifique o caminho para o FFmpeg para processamento RTSP abaixo, se ele estiver em outro lugar.",lKe="Este adaptador abre o servidor web interno para servir imagens para o servidor ioBroker.web via extensões. Ele usa a porta no localhost. Se algum outro aplicativo usar esta porta, você pode alterá-la abaixo.",cKe={"Add new camera":"Adicionar nova câmera","Add time to screenshot":"Adicionar tempo à captura de tela","Add title":"Adicionar título",All:LYe,Apply:BYe,"Are you sure?":"Você tem certeza?","By IP Address":"Por endereço IP","Cache timeout (ms)":"Tempo limite de cache (ms)","Camera IP":"IP da câmera","Camera OID":"ID do objeto da câmera","Camera URL":"URL da câmera",Cameras:WYe,Cancel:UYe,Close:HYe,"Default cache timeout (ms)":"Tempo limite de cache padrão (ms)","Default timeout (ms)":"Tempo limite padrão (ms)",Description:qYe,"Edit camera %s [%s]":"Editar câmera %s [%s]",Error:"Erro","Eufy Security":"Eufy Segurança","Expert settings":"Configurações avançadas","From eusec adapter":"Do adaptador eusec",Height:VYe,"HiKam / WiWiCam":"HiKam / WiWiCam","How often the cameras will be asked for new snapshot. If 0, then by every request":"Com que frequência as câmeras serão solicitadas para um novo instantâneo. Se 0, então a cada solicitação","If empty or 0, use default settings.":"Se estiver vazio ou 0, use as configurações padrão.","If empty then in adapter folder":"Se estiver vazio, então na pasta do adaptador","If empty, use default settings. If 0, cache disabled":"Se estiver vazio, use as configurações padrão. Se 0, cache desabilitado","Like /usr/bin/ffmpeg":'Como "/usr/bin/ffmpeg"',"Load configuration from file":"Carregar configuração do arquivo","Local IP address":"Endereço IP local","Local URL":"URL local","Local port":"porta local",Name:GYe,Ok:XYe,Options:JYe,Password:YYe,Path:KYe,"Path to ffpmeg executable":"Caminho para o executável do ffpmeg","Path to store temporary images":"Caminho para armazenar imagens temporárias",Port:ZYe,Protocol:QYe,"RTSP Snapshot":"Instantâneo RTSP","Reolink E1 Snapshot":"Instantâneo Reolink E1","Request timeout (ms)":"Tempo limite da solicitação (ms)",Save:eKe,"Save and close":"Salvar e fechar","Save configuration to file":"Salvar configuração no arquivo","See here:":"Veja aqui:",Success:tKe,Test:rKe,"Test connection":"Conexão de teste","Test path":"caminho de teste","Time format":"Formato de hora",Type:nKe,URL:oKe,"URL with basic auth":"URL com autenticação básica",Username:sKe,"WEB Instance":"Instância WEB","Web URL":"URL da Web",Width:aKe,ffmpeg_explanation:iKe,"in pixels":"em pixels","not connected":"não conectado",port_explanation:lKe},uKe="Alle",dKe="Van toepassing zijn",pKe="Camera's",fKe="annuleren",hKe="Dichtbij",mKe="Omschrijving",_Ke="Hoogte",gKe="Naam",yKe="OK",vKe="opties",bKe="Wachtwoord",wKe="Pad",xKe="Haven",SKe="Protocol",CKe="Opslaan",EKe="Succes",kKe="Test",$Ke="Type",TKe="URL",OKe="Gebruikersnaam",DKe="Breedte",NKe="Voor RTSP-toegang wordt een gespecialiseerde bibliotheek gebruikt, die apart moet worden geïnstalleerd op niet-Windows-systemen. Op Linux-systemen moet FFmpeg lib automatisch worden geïnstalleerd door installatie van deze adapter. Geef hieronder het pad naar FFmpeg voor RTSP-verwerking op, als het ergens anders is geplaatst.",MKe="Deze adapter opent een interne webserver om afbeeldingen te serveren voor ioBroker.webserver via extensies. Het gebruikt een poort op localhost. Als een andere applicatie deze poort gebruikt, kunt u deze hieronder wijzigen.",AKe={"Add new camera":"Nieuwe camera toevoegen","Add time to screenshot":"Voeg tijd toe aan screenshot","Add title":"Titel toevoegen",All:uKe,Apply:dKe,"Are you sure?":"Weet je het zeker?","By IP Address":"Op IP-adres","Cache timeout (ms)":"Cachetime-out (ms)","Camera IP":"Camera-IP","Camera OID":"Camera-object-ID","Camera URL":"Camera-URL",Cameras:pKe,Cancel:fKe,Close:hKe,"Default cache timeout (ms)":"Standaard cachetime-out (ms)","Default timeout (ms)":"Standaard time-out (ms)",Description:mKe,"Edit camera %s [%s]":"Camera %s [%s] bewerken",Error:"Fout","Eufy Security":"Eufy-beveiliging","Expert settings":"Expert instellingen","From eusec adapter":"Van eusec-adapter",Height:_Ke,"HiKam / WiWiCam":"HiKam / WiWiCam","How often the cameras will be asked for new snapshot. If 0, then by every request":"Hoe vaak de camera's worden gevraagd om een nieuwe momentopname. Indien 0, dan bij elk verzoek","If empty or 0, use default settings.":"Indien leeg of 0, gebruik dan de standaardinstellingen.","If empty then in adapter folder":"Indien leeg dan in adaptermap","If empty, use default settings. If 0, cache disabled":"Gebruik de standaardinstellingen als deze leeg zijn. Indien 0, cache uitgeschakeld","Like /usr/bin/ffmpeg":'Zoals "/usr/bin/ffmpeg"',"Load configuration from file":"Laad de configuratie uit het bestand","Local IP address":"Lokaal IP-adres","Local URL":"Lokale URL","Local port":"Lokale haven",Name:gKe,Ok:yKe,Options:vKe,Password:bKe,Path:wKe,"Path to ffpmeg executable":"Pad naar uitvoerbaar ffpmeg","Path to store temporary images":"Pad om tijdelijke afbeeldingen op te slaan",Port:xKe,Protocol:SKe,"RTSP Snapshot":"RTSP-momentopname","Reolink E1 Snapshot":"Reolink E1 momentopname","Request timeout (ms)":"Time-out aanvragen (ms)",Save:CKe,"Save and close":"Opslaan en afsluiten","Save configuration to file":"Configuratie opslaan in bestand","See here:":"Kijk hier:",Success:EKe,Test:kKe,"Test connection":"Test verbinding","Test path":"Test pad","Time format":"Tijd formaat",Type:$Ke,URL:TKe,"URL with basic auth":"URL met basisauthenticatie",Username:OKe,"WEB Instance":"WEB-instantie","Web URL":"Web-URL",Width:DKe,ffmpeg_explanation:NKe,"in pixels":"in pixels","not connected":"niet verbonden",port_explanation:MKe},PKe="Tout",IKe="Appliquer",RKe="Appareils photo",jKe="Annuler",FKe="Fermer",zKe="La description",LKe="Hauteur",BKe="Nom",WKe="D'accord",UKe="Les options",HKe="Mot de passe",qKe="Chemin",VKe="Port",GKe="Protocole",XKe="sauvegarder",JKe="Succès",YKe="Tester",KKe="Type",ZKe="URL",QKe="Nom d'utilisateur",eZe="Largeur",tZe="Pour l'accès RTSP, une bibliothèque spécialisée sera utilisée, qui doit être installée séparément sur les systèmes non Windows. Sur les systèmes Linux, la bibliothèque FFmpeg doit être installée automatiquement lors de l'installation de cet adaptateur. Veuillez spécifier le chemin d'accès à FFmpeg pour le traitement RTSP ci-dessous, s'il est placé ailleurs.",rZe="Cet adaptateur ouvre un serveur Web interne pour diffuser des images pour le serveur ioBroker.web via des extensions. Il utilise le port sur localhost. Si une autre application utilise ce port, vous pouvez le modifier ci-dessous.",nZe={"Add new camera":"Ajouter une nouvelle caméra","Add time to screenshot":"Ajouter du temps à la capture d'écran","Add title":"Ajouter un titre",All:PKe,Apply:IKe,"Are you sure?":"Êtes-vous sûr?","By IP Address":"Par adresse IP","Cache timeout (ms)":"Délai d'expiration du cache (ms)","Camera IP":"Caméra IP","Camera OID":"ID d'objet caméra","Camera URL":"URL de la caméra",Cameras:RKe,Cancel:jKe,Close:FKe,"Default cache timeout (ms)":"Délai d'expiration du cache par défaut (ms)","Default timeout (ms)":"Délai d'attente par défaut (ms)",Description:zKe,"Edit camera %s [%s]":"Modifier la caméra %s [%s]",Error:"Erreur","Eufy Security":"Sécurité Eufy","Expert settings":"Paramètres experts","From eusec adapter":"De l'adaptateur eusec",Height:LKe,"HiKam / WiWiCam":"HiKam / WiWiCam","How often the cameras will be asked for new snapshot. If 0, then by every request":"La fréquence à laquelle les caméras seront demandées pour un nouvel instantané. Si 0, alors à chaque requête","If empty or 0, use default settings.":"S'il est vide ou 0, utilisez les paramètres par défaut.","If empty then in adapter folder":"Si vide, alors dans le dossier de l'adaptateur","If empty, use default settings. If 0, cache disabled":"Si vide, utilisez les paramètres par défaut. Si 0, cache désactivé","Like /usr/bin/ffmpeg":'Comme "/usr/bin/ffmpeg"',"Load configuration from file":"Charger la configuration à partir du fichier","Local IP address":"Adresse IP locale","Local URL":"URL locale","Local port":"Port local",Name:BKe,Ok:WKe,Options:UKe,Password:HKe,Path:qKe,"Path to ffpmeg executable":"Chemin vers l'exécutable ffpmeg","Path to store temporary images":"Chemin de stockage des images temporaires",Port:VKe,Protocol:GKe,"RTSP Snapshot":"Instantané RTSP","Reolink E1 Snapshot":"Instantané Reolink E1","Request timeout (ms)":"Délai d'expiration de la demande (ms)",Save:XKe,"Save and close":"Sauver et fermer","Save configuration to file":"Enregistrer la configuration dans un fichier","See here:":"Vois ici:",Success:JKe,Test:YKe,"Test connection":"Tester la connexion","Test path":"Chemin d'essai","Time format":"Format de l'heure",Type:KKe,URL:ZKe,"URL with basic auth":"URL avec authentification de base",Username:QKe,"WEB Instance":"Instance WEB","Web URL":"URL Web",Width:eZe,ffmpeg_explanation:tZe,"in pixels":"en pixels","not connected":"pas connecté",port_explanation:rZe},oZe="Tutti",sZe="Applicare",aZe="Macchine fotografiche",iZe="Annulla",lZe="Vicino",cZe="Descrizione",uZe="Altezza",dZe="Nome",pZe="Ok",fZe="Opzioni",hZe="Parola d'ordine",mZe="Il percorso",_Ze="Porta",gZe="Protocollo",yZe="Salva",vZe="Successo",bZe="Test",wZe="Genere",xZe="URL",SZe="Nome utente",CZe="Larghezza",EZe="Per l'accesso RTSP, verrà utilizzata una libreria specializzata, che deve essere installata separatamente sui sistemi non Windows. Sui sistemi Linux, la libreria FFmpeg dovrebbe essere installata automaticamente tramite l'installazione di questo adattatore. Specificare il percorso per FFmpeg per l'elaborazione RTSP di seguito, se è posizionato altrove.",kZe="Questo adattatore apre il server web interno per servire immagini per il server ioBroker.web tramite estensioni. Utilizza la porta su localhost. Se un'altra applicazione utilizza questa porta, puoi modificarla di seguito.",$Ze={"Add new camera":"Aggiungi nuova fotocamera","Add time to screenshot":"Aggiungi tempo allo screenshot","Add title":"Aggiungi titolo",All:oZe,Apply:sZe,"Are you sure?":"Sei sicuro?","By IP Address":"Per indirizzo IP","Cache timeout (ms)":"Timeout della cache (ms)","Camera IP":"IP della telecamera","Camera OID":"ID oggetto telecamera","Camera URL":"URL della fotocamera",Cameras:aZe,Cancel:iZe,Close:lZe,"Default cache timeout (ms)":"Timeout cache predefinito (ms)","Default timeout (ms)":"Timeout predefinito (ms)",Description:cZe,"Edit camera %s [%s]":"Modifica fotocamera %s [%s]",Error:"Errore","Eufy Security":"Eufy Security","Expert settings":"Impostazioni avanzate","From eusec adapter":"Dall'adattatore eusec",Height:uZe,"HiKam / WiWiCam":"HiKam / WiWiCam","How often the cameras will be asked for new snapshot. If 0, then by every request":"La frequenza con cui le telecamere riceveranno una nuova istantanea. Se 0, allora da ogni richiesta","If empty or 0, use default settings.":"Se vuoto o 0, utilizza le impostazioni predefinite.","If empty then in adapter folder":"Se vuoto, nella cartella dell'adattatore","If empty, use default settings. If 0, cache disabled":"Se vuoto, utilizza le impostazioni predefinite. Se 0, cache disabilitata","Like /usr/bin/ffmpeg":'Come "/usr/bin/ffmpeg"',"Load configuration from file":"Carica la configurazione dal file","Local IP address":"Indirizzo IP locale","Local URL":"URL locale","Local port":"Porto locale",Name:dZe,Ok:pZe,Options:fZe,Password:hZe,Path:mZe,"Path to ffpmeg executable":"Percorso dell'eseguibile ffpmeg","Path to store temporary images":"Percorso per memorizzare le immagini temporanee",Port:_Ze,Protocol:gZe,"RTSP Snapshot":"Istantanea RTSP","Reolink E1 Snapshot":"Istantanea Reolink E1","Request timeout (ms)":"Richiedi timeout (ms)",Save:yZe,"Save and close":"Salva e chiudi","Save configuration to file":"Salva la configurazione in un file","See here:":"Vedere qui:",Success:vZe,Test:bZe,"Test connection":"Test di connessione","Test path":"Percorso di prova","Time format":"Formato orario",Type:wZe,URL:xZe,"URL with basic auth":"URL con autenticazione di base",Username:SZe,"WEB Instance":"Istanza WEB","Web URL":"URL web",Width:CZe,ffmpeg_explanation:EZe,"in pixels":"in pixel","not connected":"non connesso",port_explanation:kZe},TZe="Todos",OZe="Aplicar",DZe="Cámaras",NZe="Cancelar",MZe="Cerca",AZe="Descripción",PZe="Altura",IZe="Nombre",RZe="Ok",jZe="Opciones",FZe="Contraseña",zZe="Camino",LZe="Puerto",BZe="Protocolo",WZe="Salvar",UZe="Éxito",HZe="Prueba",qZe="Tipo",VZe="URL",GZe="Nombre de usuario",XZe="Ancho",JZe="Para el acceso a RTSP, se utilizará una biblioteca especializada, que debe instalarse por separado en sistemas que no sean Windows. En sistemas Linux, la biblioteca FFmpeg se debe instalar automáticamente al instalar este adaptador. Especifique la ruta a FFmpeg para el procesamiento RTSP a continuación, si está ubicada en otro lugar.",YZe="Este adaptador abre un servidor web interno para servir imágenes al servidor web de ioBroker mediante extensiones. Utiliza el puerto en el host local. Si alguna otra aplicación utiliza este puerto, puede cambiarlo a continuación.",KZe={"Add new camera":"Añadir nueva cámara","Add time to screenshot":"Añadir tiempo a la captura de pantalla","Add title":"Añadir título",All:TZe,Apply:OZe,"Are you sure?":"¿Estás seguro?","By IP Address":"Por dirección IP","Cache timeout (ms)":"Tiempo de espera de caché (ms)","Camera IP":"IP de la cámara","Camera OID":"ID de objeto de la cámara","Camera URL":"URL de la cámara",Cameras:DZe,Cancel:NZe,Close:MZe,"Default cache timeout (ms)":"Tiempo de espera de caché predeterminado (ms)","Default timeout (ms)":"Tiempo de espera predeterminado (ms)",Description:AZe,"Edit camera %s [%s]":"Editar cámara %s [%s]",Error:"Error","Eufy Security":"Eufy Seguridad","Expert settings":"Configuración experta","From eusec adapter":"Del adaptador eusec",Height:PZe,"HiKam / WiWiCam":"HiKam / WiWiCam","How often the cameras will be asked for new snapshot. If 0, then by every request":"Con qué frecuencia se pedirá a las cámaras una nueva instantánea. Si es 0, entonces por cada solicitud","If empty or 0, use default settings.":"Si está vacío o es 0, utilice la configuración predeterminada.","If empty then in adapter folder":"Si está vacío, entonces en la carpeta del adaptador","If empty, use default settings. If 0, cache disabled":"Si está vacío, utilice la configuración predeterminada. Si es 0, cache deshabilitado","Like /usr/bin/ffmpeg":'Como "/usr/bin/ffmpeg"',"Load configuration from file":"Cargar configuración desde archivo","Local IP address":"Dirección IP local","Local URL":"URL local","Local port":"puerto local",Name:IZe,Ok:RZe,Options:jZe,Password:FZe,Path:zZe,"Path to ffpmeg executable":"Ruta al ejecutable ffpmeg","Path to store temporary images":"Ruta para almacenar imágenes temporales",Port:LZe,Protocol:BZe,"RTSP Snapshot":"Instantánea de RTSP","Reolink E1 Snapshot":"Instantánea de Reolink E1","Request timeout (ms)":"Solicitar tiempo de espera (ms)",Save:WZe,"Save and close":"Guardar y cerrar","Save configuration to file":"Guardar configuración en archivo","See here:":"Mira aquí:",Success:UZe,Test:HZe,"Test connection":"Conexión de prueba","Test path":"ruta de prueba","Time format":"Formato de tiempo",Type:qZe,URL:VZe,"URL with basic auth":"URL con autenticación básica",Username:GZe,"WEB Instance":"Instancia WEB","Web URL":"URL web",Width:XZe,ffmpeg_explanation:JZe,"in pixels":"en píxeles","not connected":"no conectado",port_explanation:YZe},ZZe="Wszystko",QZe="Zastosować",eQe="kamery",tQe="Anuluj",rQe="Blisko",nQe="Opis",oQe="Wysokość",sQe="Imię",aQe="Dobrze",iQe="Opcje",lQe="Hasło",cQe="Ścieżka",uQe="Port",dQe="Protokół",pQe="Zapisać",fQe="Sukces",hQe="Test",mQe="Rodzaj",_Qe="Adres URL",gQe="Nazwa Użytkownika",yQe="Szerokość",vQe="Do dostępu RTSP zostanie użyta specjalistyczna biblioteka, którą należy zainstalować osobno w systemach innych niż Windows. W systemach Linux biblioteka FFmpeg powinna zostać zainstalowana automatycznie przez instalację tego adaptera. Proszę określić ścieżkę do FFmpeg do przetwarzania RTSP poniżej, jeśli jest umieszczona gdzie indziej.",bQe="Ten adapter otwiera wewnętrzny serwer WWW, aby obsługiwać obrazy dla serwera ioBroker.web za pośrednictwem rozszerzeń. Używa portu na localhost. Jeśli jakaś inna aplikacja używa tego portu, możesz go zmienić poniżej.",wQe={"Add new camera":"Dodaj nową kamerę","Add time to screenshot":"Dodaj czas do zrzutu ekranu","Add title":"Dodaj tytuł",All:ZZe,Apply:QZe,"Are you sure?":"Jesteś pewny?","By IP Address":"Według adresu IP","Cache timeout (ms)":"Limit czasu pamięci podręcznej (ms)","Camera IP":"IP kamery","Camera OID":"Identyfikator obiektu kamery","Camera URL":"URL aparatu",Cameras:eQe,Cancel:tQe,Close:rQe,"Default cache timeout (ms)":"Domyślny limit czasu pamięci podręcznej (ms)","Default timeout (ms)":"Domyślny limit czasu (ms)",Description:nQe,"Edit camera %s [%s]":"Edytuj kamerę %s [%s]",Error:"Błąd","Eufy Security":"Bezpieczeństwo Eufy","Expert settings":"Ustawienia eksperckie","From eusec adapter":"Z adaptera eusec",Height:oQe,"HiKam / WiWiCam":"HiKam / WiWiCam","How often the cameras will be asked for new snapshot. If 0, then by every request":"Jak często kamery będą pytane o nowe zdjęcie. Jeśli 0, to przy każdym żądaniu","If empty or 0, use default settings.":"Jeśli jest pusty lub 0, użyj ustawień domyślnych.","If empty then in adapter folder":"Jeśli jest pusty, to w folderze adaptera","If empty, use default settings. If 0, cache disabled":"Jeśli puste, użyj ustawień domyślnych. Jeśli 0, cache wyłączone","Like /usr/bin/ffmpeg":"Jak „/usr/bin/ffmpeg”","Load configuration from file":"Załaduj konfigurację z pliku","Local IP address":"Lokalny adres IP","Local URL":"Lokalny adres URL","Local port":"Port lokalny",Name:sQe,Ok:aQe,Options:iQe,Password:lQe,Path:cQe,"Path to ffpmeg executable":"Ścieżka do pliku wykonywalnego ffpmeg","Path to store temporary images":"Ścieżka do przechowywania obrazów tymczasowych",Port:uQe,Protocol:dQe,"RTSP Snapshot":"Migawka RTSP","Reolink E1 Snapshot":"Połącz ponownie migawkę E1","Request timeout (ms)":"Limit czasu żądania (ms)",Save:pQe,"Save and close":"Zapisz i zamknij","Save configuration to file":"Zapisz konfigurację do pliku","See here:":"Spójrz tutaj:",Success:fQe,Test:hQe,"Test connection":"Testuj połączenie","Test path":"Ścieżka testowa","Time format":"Format czasu",Type:mQe,URL:_Qe,"URL with basic auth":"Adres URL z podstawowym uwierzytelnieniem",Username:gQe,"WEB Instance":"Instancja WWW","Web URL":"Adres internetowy",Width:yQe,ffmpeg_explanation:vQe,"in pixels":"w pikselach","not connected":"nie połączony",port_explanation:bQe},xQe="все",SQe="Застосувати",CQe="Фотоапарати",EQe="Скасувати",kQe="Закрити",$Qe="опис",TQe="Висота",OQe="Ім'я",DQe="Гаразд",NQe="Опції",MQe="Пароль",AQe="шлях",PQe="Порт",IQe="Протокол",RQe="зберегти",jQe="Успіх",FQe="Тест",zQe="Тип",LQe="URL",BQe="Ім'я користувача",WQe="Ширина",UQe="Для доступу RTSP буде використовуватися спеціалізована бібліотека, яку необхідно встановити окремо на системах, відмінних від Windows. У системах Linux FFmpeg lib має бути встановлено автоматично після встановлення цього адаптера. Будь ласка, вкажіть шлях до FFmpeg для обробки RTSP нижче, якщо він розміщений в іншому місці.",HQe="Цей адаптер відкриває внутрішній веб-сервер для надання зображень для сервера ioBroker.web через розширення. Він використовує порт на локальному хості. Якщо якийсь інший додаток використовує цей порт, ви можете змінити його нижче.",qQe={"Add new camera":"Додати нову камеру","Add time to screenshot":"Додати час до знімка екрана","Add title":"Додайте заголовок",All:xQe,Apply:SQe,"Are you sure?":"Ти впевнений?","By IP Address":"За IP-адресою","Cache timeout (ms)":"Час очікування кешу (мс)","Camera IP":"Камера IP","Camera OID":"ID об'єкта камери","Camera URL":"URL-адреса камери",Cameras:CQe,Cancel:EQe,Close:kQe,"Default cache timeout (ms)":"Час очікування кешу за умовчанням (мс)","Default timeout (ms)":"Час очікування за умовчанням (мс)",Description:$Qe,"Edit camera %s [%s]":"Редагувати камеру %s [%s]",Error:"Помилка","Eufy Security":"Безпека Eufy","Expert settings":"Експертні налаштування","From eusec adapter":"Від адаптера eusec",Height:TQe,"HiKam / WiWiCam":"HiKam / WiWiCam","How often the cameras will be asked for new snapshot. If 0, then by every request":"Як часто камери запитуватимуть новий знімок. Якщо 0, то за кожним запитом","If empty or 0, use default settings.":"Якщо пусто або 0, використовувати налаштування за замовчуванням.","If empty then in adapter folder":"Якщо порожній, то в папці адаптера","If empty, use default settings. If 0, cache disabled":"Якщо пусто, використовувати налаштування за замовчуванням. Якщо 0, cache вимкнено","Like /usr/bin/ffmpeg":'Як "/usr/bin/ffmpeg"',"Load configuration from file":"Завантажити конфігурацію з файлу","Local IP address":"Локальна IP-адреса","Local URL":"Локальна URL-адреса","Local port":"Місцевий порт",Name:OQe,Ok:DQe,Options:NQe,Password:MQe,Path:AQe,"Path to ffpmeg executable":"Шлях до виконуваного файлу ffpmeg","Path to store temporary images":"Шлях для зберігання тимчасових зображень",Port:PQe,Protocol:IQe,"RTSP Snapshot":"Знімок RTSP","Reolink E1 Snapshot":"Знімок Reolink E1","Request timeout (ms)":"Час очікування запиту (мс)",Save:RQe,"Save and close":"Зберегти та закрити","Save configuration to file":"Зберегти конфігурацію у файл","See here:":"Дивіться тут:",Success:jQe,Test:FQe,"Test connection":"Тестове підключення","Test path":"Тестовий шлях","Time format":"Формат часу",Type:zQe,URL:LQe,"URL with basic auth":"URL-адреса з базовою авторизацією",Username:BQe,"WEB Instance":"ВЕБ екземпляр","Web URL":"Веб-адреса",Width:WQe,ffmpeg_explanation:UQe,"in pixels":"в пікселях","not connected":"не з'єднано",port_explanation:HQe},VQe="全部",GQe="应用",XQe="相机",JQe="取消",YQe="关",KQe="描述",ZQe="高度",QQe="名称",eet="好",tet="选件",ret="密码",net="小路",oet="港口",set="协议",aet="保存",iet="成功",cet="测试",uet="类型",det="网址",pet="用户名",fet="宽度",het="对于 RTSP 访问,将使用专门的库,该库必须在非 Windows 系统上单独安装。在 Linux 系统上,安装此适配器时应自动安装 FFmpeg 库。如果 FFmpeg 位于其他位置,请在下面指定用于 RTSP 处理的 FFmpeg 路径。",met="此适配器打开内部 Web 服务器,通过扩展为 ioBroker.web 服务器提供图片。它使用本地主机上的端口。如果其他应用程序使用此端口,您可以在下面更改它。",_et={"Add new camera":"添加新相机","Add time to screenshot":"添加时间到屏幕截图","Add title":"添加标题",All:VQe,Apply:GQe,"Are you sure?":"你确定吗?","By IP Address":"通过IP地址","Cache timeout (ms)":"缓存超时(毫秒)","Camera IP":"摄像机IP","Camera OID":"相机对象ID","Camera URL":"相机网址",Cameras:XQe,Cancel:JQe,Close:YQe,"Default cache timeout (ms)":"默认缓存超时(毫秒)","Default timeout (ms)":"默认超时(毫秒)",Description:KQe,"Edit camera %s [%s]":"编辑相机%s [%s]",Error:"错误","Eufy Security":"尤菲安全","Expert settings":"专家设置","From eusec adapter":"来自eusec适配器",Height:ZQe,"HiKam / WiWiCam":"HiKam / WiWiCam","How often the cameras will be asked for new snapshot. If 0, then by every request":"相机被要求拍摄新快照的频率。如果为 0,则按每个请求","If empty or 0, use default settings.":"如果为空或 0,则使用默认设置。","If empty then in adapter folder":"如果为空则在适配器文件夹中","If empty, use default settings. If 0, cache disabled":"如果为空,则使用默认设置。如果为 0,则禁用缓存","Like /usr/bin/ffmpeg":"比如“/usr/bin/ffmpeg”","Load configuration from file":"从文件加载配置","Local IP address":"本地IP地址","Local URL":"本地网址","Local port":"当地港口",Name:QQe,Ok:eet,Options:tet,Password:ret,Path:net,"Path to ffpmeg executable":"ffpmeg 可执行文件的路径","Path to store temporary images":"存放临时图片的路径",Port:oet,Protocol:set,"RTSP Snapshot":"RTSP 快照","Reolink E1 Snapshot":"重新链接 E1 快照","Request timeout (ms)":"请求超时(毫秒)",Save:aet,"Save and close":"保存并关闭","Save configuration to file":"将配置保存到文件","See here:":"看这里:",Success:iet,Test:cet,"Test connection":"测试连接","Test path":"测试路径","Time format":"时间格式",Type:uet,URL:det,"URL with basic auth":"具有基本身份验证的 URL",Username:pet,"WEB Instance":"网页实例","Web URL":"网址",Width:fet,ffmpeg_explanation:het,"in pixels":"以像素为单位","not connected":"未连接",port_explanation:met},ou={tabContent:{padding:10,height:"calc(100% - 64px - 48px - 20px)",overflow:"auto"},tabContentIFrame:{padding:10,height:"calc(100% - 64px - 48px - 20px - 38px)",overflow:"auto"},selected:t=>({color:t.palette.mode==="dark"?void 0:"#FFF !important"}),indicator:t=>({backgroundColor:t.palette.mode==="dark"?t.palette.secondary.main:"#FFF"})};function get(){try{return window.self!==window.top}catch{return!0}}class yet extends Ks{constructor(r){const n={};n.adapterName="cameras",n.doNotLoadAllObjects=!0,n.translations={en:qJe,de:mYe,ru:zYe,pt:cKe,nl:AKe,fr:nZe,it:$Ze,es:KZe,pl:wQe,uk:qQe,"zh-cn":_et};super(r,n);Y(this,"subscribed",null);Y(this,"isIFrame",get());Y(this,"onAliveChanged",(r,n)=>{r&&this.state.alive!==!!(n!=null&&n.val)&&this.setState({alive:!!(n!=null&&n.val)})});Object.assign(this.state,{tab:window.localStorage.getItem(`${this.adapterName||"adapter"}-tab`)||"options"})}componentWillUnmount(){this.subscribed&&this.socket.unsubscribeState(this.subscribed,this.onAliveChanged),super.componentWillUnmount()}async onConnectionReady(){const r=await this.socket.getState(`${this.instanceId}.alive`);this.state.alive!==!!(r!=null&&r.val)&&this.setState({alive:!!(r!=null&&r.val)}),this.state.native.key||setTimeout(()=>this.updateNativeValue("key",(Math.round(Math.random()*1e11)/1e5).toFixed(6))),this.subscribed=`${this.instanceId}.alive`,this.socket.subscribeState(this.subscribed,this.onAliveChanged).catch(n=>this.showError(n))}render(){return this.state.loaded?D.jsx(VC,{injectFirst:!0,children:D.jsx(yE,{theme:this.state.theme,children:D.jsxs("div",{className:"App",style:{background:this.state.themeType==="dark"?"black":"white"},children:[D.jsx(aM,{position:"static",children:D.jsxs(DM,{value:this.state.tab||"options",onChange:(r,n)=>{this.setState({tab:n}),window.localStorage.setItem(`${this.adapterName||"adapter"}-tab`,n)},sx:{"& .MuiTabs-indicator":ou.indicator},children:[D.jsx(Js,{sx:{"&.Mui-selected":ou.selected},label:R.t("Options"),value:"options"}),D.jsx(Js,{sx:{"&.Mui-selected":ou.selected},label:R.t("Cameras"),value:"cameras"})]})}),D.jsxs("div",{style:this.isIFrame?ou.tabContentIFrame:ou.tabContent,children:[(this.state.tab==="options"||!this.state.tab)&&D.jsx(yJe,{common:this.common,socket:this.socket,native:this.state.native,onError:r=>this.setState({errorText:r}),onLoad:r=>this.onLoadConfig(r),instance:this.instance,theme:this.state.theme,getIpAddresses:()=>this.socket.getIpAddresses(this.common.host),getExtendableInstances:()=>this.getExtendableInstances(),onConfigError:r=>this.setConfigurationError(r),adapterName:this.adapterName,onChange:(r,n,o)=>this.updateNativeValue(r,n,o),instanceAlive:this.state.alive},"options"),this.state.tab==="cameras"&&D.jsx(wJe,{theme:this.state.theme,socket:this.socket,themeType:this.state.themeType,adapterName:this.adapterName,instance:this.instance,encrypt:(r,n)=>n(this.encrypt(r)),decrypt:(r,n)=>n(this.decrypt(r)),instanceAlive:this.state.alive,native:this.state.native,onChange:(r,n,o)=>this.updateNativeValue(r,n,o)},"cameras")]}),this.renderError(),this.renderSaveCloseButtons()]})})}):D.jsx(VC,{injectFirst:!0,children:D.jsx(yE,{theme:this.state.theme,children:D.jsx(gA,{themeType:this.state.themeType})})})}}window.adapterName="cameras";console.log(`iobroker.${window.adapterName}@${Nj.version}`);const oN=document.getElementById("root");oN&&wj.createRoot(oN).render(D.jsx(yet,{}));Mj()});export default vet(); diff --git a/admin/assets/index-DZVxZX2g.css b/admin/assets/index-DZVxZX2g.css new file mode 100644 index 0000000..b787248 --- /dev/null +++ b/admin/assets/index-DZVxZX2g.css @@ -0,0 +1 @@ +html{height:100%}body{margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:100%;height:100%;overflow:hidden}::-webkit-scrollbar-track{background-color:#ccc;border-radius:5px}::-webkit-scrollbar{width:5px;height:5px;background-color:#ccc}::-webkit-scrollbar-thumb{background-color:#575757;border-radius:5px}#root,.App{height:100%}@keyframes glow{0%{background-color:initial}to{background-color:#58c458}} diff --git a/admin/cameras.png b/admin/cameras.png new file mode 100644 index 0000000..dae755a Binary files /dev/null and b/admin/cameras.png differ diff --git a/admin/favicon.ico b/admin/favicon.ico new file mode 100644 index 0000000..bf0087f Binary files /dev/null and b/admin/favicon.ico differ diff --git a/admin/index_m.html b/admin/index_m.html new file mode 100644 index 0000000..19904ca --- /dev/null +++ b/admin/index_m.html @@ -0,0 +1,30 @@ + + + + + + + + + + ioBroker.cameras + + + + + +
+ + diff --git a/admin/manifest.json b/admin/manifest.json new file mode 100644 index 0000000..1622075 --- /dev/null +++ b/admin/manifest.json @@ -0,0 +1,15 @@ +{ + "short_name": "ioBroker.cameras", + "name": "ioBroker.cameras", + "icons": [ + { + "src": "favicon.ico", + "sizes": "64x64 32x32 24x24 16x16", + "type": "image/x-icon" + } + ], + "start_url": ".", + "display": "standalone", + "theme_color": "#000000", + "background_color": "#ffffff" +} diff --git a/build/main.js b/build/main.js index 7841ed1..3d621b1 100644 --- a/build/main.js +++ b/build/main.js @@ -40,12 +40,11 @@ class CamerasAdapter extends adapter_core_1.Adapter { } this.onClientUnsubscribe(clientId, message); }, + unload: callback => this.onUnload(callback), + message: obj => this.onMessage(obj), + stateChange: (id, state) => this.onStateChange(id, state), + ready: () => this.main(), }); - this.on('ready', () => this.main()); - this.on('stateChange', (id, state) => this.onStateChange(id, state)); - // this.on('objectChange', (id, object) => this.onObjectChange(id, object)); - this.on('unload', callback => this.onUnload(callback)); - this.on('message', this.onMessage.bind(this)); } onStateChange(id, state) { if (state && !state.ack && id.endsWith('.running') && id.startsWith(this.namespace)) { @@ -54,7 +53,9 @@ class CamerasAdapter extends adapter_core_1.Adapter { if (this.cameras[camera]) { if (state.val) { try { - this.cameras[camera].startWebStream(); + this.cameras[camera] + .startWebStream() + .catch(e => this.log.error(`Cannot start camera ${camera}: ${e}`)); } catch (e) { this.log.error(`Cannot start camera ${camera}: ${e}`); @@ -62,7 +63,9 @@ class CamerasAdapter extends adapter_core_1.Adapter { } else { this.log.debug(`Stop camera ${camera}`); - this.cameras[camera].stopWebStream(); + this.cameras[camera] + .stopWebStream() + .catch(e => this.log.error(`Cannot stop camera ${camera}: ${e}`)); } } } diff --git a/build/main.js.map b/build/main.js.map index 406aeda..66af9ab 100644 --- a/build/main.js.map +++ b/build/main.js.map @@ -1 +1 @@ -{"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"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"} \ No newline at end of file +{"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"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"} \ No newline at end of file diff --git a/eslint.config.mjs b/eslint.config.mjs index fd48c81..ee2d624 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -16,7 +16,9 @@ export default [ { ignores: [ 'src-admin/**/*', + 'src-widgets/**/*', 'admin/**/*', + 'widgets/**/*', 'node_modules/**/*', 'test/**/*', 'build/**/*', diff --git a/package.json b/package.json index e7673f0..7b5033d 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "sinon-chai": "^3.7.0", "typescript": "^5.7.3" }, - "main": "main.js", + "main": "build/main.js", "files": [ "admin/", "build/", @@ -68,7 +68,7 @@ ], "scripts": { "test": "mocha --exit", - "lint": "eslint", + "lint": "eslint -c eslint.config.mjs", "prepublishOnly": "node tasks", "build": "npm run build-backend && node tasks", "build-backend": "tsc -p tsconfig.build.json", diff --git a/src-admin/src/Types/ConfigGeneric.tsx b/src-admin/src/Types/ConfigGeneric.tsx index d0ecdbe..8287ee5 100644 --- a/src-admin/src/Types/ConfigGeneric.tsx +++ b/src-admin/src/Types/ConfigGeneric.tsx @@ -1,6 +1,6 @@ import { type JSX, Component } from 'react'; import type { AdminConnection, IobTheme, ThemeType } from '@iobroker/adapter-react-v5'; -import type { CameraAdapterConfig } from '../types'; +import type { CamerasAdapterConfig } from '../types'; export interface ConfigProps { onChange: ( @@ -13,7 +13,7 @@ export interface ConfigProps { T, 'name' | 'type' | 'desc' | 'timeout' | 'cacheTimeout' | 'addTime' | 'title' | 'id' | 'enabled' | 'rtsp' >; - native: CameraAdapterConfig; + native: CamerasAdapterConfig; decrypt: (text: string, callback: (decrypted: string) => void) => void; encrypt: (text: string, callback: (encrypted: string) => void) => void; theme: IobTheme; diff --git a/src-admin/src/Types/RTSPImage.tsx b/src-admin/src/Types/RTSPImage.tsx index 97be6bd..c969f07 100644 --- a/src-admin/src/Types/RTSPImage.tsx +++ b/src-admin/src/Types/RTSPImage.tsx @@ -112,7 +112,12 @@ export default class RTSPImageConfig extends ConfigGeneric): string[] { + buildCommand( + options: Omit< + CameraConfigRtsp, + 'name' | 'type' | 'desc' | 'timeout' | 'cacheTimeout' | 'addTime' | 'id' | 'title' | 'enabled' | 'rtsp' + >, + ): string[] { const parameters = ['-y']; options.prefix && parameters.push(options.prefix); parameters.push('-rtsp_transport'); diff --git a/src-admin/src/types.d.ts b/src-admin/src/types.d.ts index bea6a07..0f062ed 100644 --- a/src-admin/src/types.d.ts +++ b/src-admin/src/types.d.ts @@ -1,16 +1,19 @@ +export type ContentType = string; export type CameraType = 'url' | 'urlBasicAuth' | 'rtsp' | 'reolinkE1' | 'eufy' | 'hikam'; +export type CameraName = string; + export interface CameraConfig { - name: string; + name: CameraName; type: CameraType; id: number; + rtsp: boolean; desc?: string; timeout?: number | string; cacheTimeout?: number | string; addTime?: boolean; title?: string; enabled?: boolean; - rtsp: boolean; } export interface CameraConfigUrl extends CameraConfig { @@ -72,7 +75,7 @@ export type CameraConfigAny = export interface CamerasAdapterConfig { bind: string; - port: number; + port: string | number; key: string; webInstance: string; defaultTimeout: number | string; diff --git a/src-widgets/package.json b/src-widgets/package.json index c9036b5..9a45ba9 100644 --- a/src-widgets/package.json +++ b/src-widgets/package.json @@ -19,7 +19,6 @@ "eslint-plugin-only-warn": "^1.1.0", "eslint-plugin-react": "^7.37.4", "eslint-plugin-react-hooks": "^5.1.0", - "hls.js": "^1.5.20", "moment": "^2.30.1", "node-sass": "^9.0.0", "prop-types": "^15.8.1", diff --git a/src/types.d.ts b/src/types.d.ts index b2d33f9..ba14921 100644 --- a/src/types.d.ts +++ b/src/types.d.ts @@ -9,13 +9,13 @@ export interface CameraConfig { name: CameraName; type: CameraType; id: number; + rtsp: boolean; desc?: string; timeout?: number | string; cacheTimeout?: number | string; addTime?: boolean; title?: string; enabled?: boolean; - rtsp?: boolean; } export interface CameraConfigUrl extends CameraConfig { diff --git a/tasks.js b/tasks.js index 8d48367..d9e0584 100644 --- a/tasks.js +++ b/tasks.js @@ -13,7 +13,7 @@ const { deleteFoldersRecursive, buildReact, npmInstall, copyFiles, patchHtmlFile const { copyFileSync } = require('node:fs'); async function copyAllFiles() { - deleteFoldersRecursive(`${__dirname}/admin`); + deleteFoldersRecursive(`${__dirname}/admin`, ['cameras.png', 'cameras.svg']); copyFiles(['src-admin/build/**/*', '!src-admin/build/index.html', 'admin-config/*'], 'admin/'); await patchHtmlFile(`${__dirname}/src-admin/build/index.html`); @@ -69,7 +69,7 @@ if (process.argv.includes('--0-clean')) { }); } } else if (process.argv.includes('--2-build')) { - buildReact('src-admin', { rootDir: 'src-admin', tsc: true, vite: true }).catch(e => { + buildReact(`${__dirname}/src-admin`, { rootDir: `${__dirname}/src-admin`, tsc: true, vite: true }).catch(e => { console.error(`Cannot build: ${e}`); process.exit(2); }); @@ -81,7 +81,7 @@ if (process.argv.includes('--0-clean')) { } else if (process.argv.includes('--build-admin')) { clean(); npmInstall('src-admin') - .then(() => buildReact('src-admin', { rootDir: 'src-admin', tsc: true, vite: true })) + .then(() => buildReact(`${__dirname}/src-admin`, { rootDir: `${__dirname}/src-admin`, tsc: true, vite: true })) .then(() => copyAllFiles()); } else if (process.argv.includes('--widget-0-clean')) { widgetsClean(); @@ -114,7 +114,7 @@ if (process.argv.includes('--0-clean')) { } else { clean(); npmInstall('src-admin') - .then(() => buildReact('src-admin', { rootDir: 'src-admin', tsc: true, vite: true })) + .then(() => buildReact(`${__dirname}/src-admin`, { rootDir: `${__dirname}/src-admin`, tsc: true, vite: true })) .then(() => copyAllFiles()) .then(() => widgetsClean()) .then(() => npmInstall('src-widgets')) diff --git a/widgets/cameras/customWidgets.js b/widgets/cameras/customWidgets.js index 79f42ff..ae38a34 100644 --- a/widgets/cameras/customWidgets.js +++ b/widgets/cameras/customWidgets.js @@ -1,2 +1,2 @@ -var vis2CameraWidgets;(()=>{"use strict";var e={7434:(e,_,r)=>{var o={"./RtspCamera":()=>Promise.all([r.e("webpack_sharing_consume_default_react_react"),r.e("webpack_sharing_consume_default_prop-types_prop-types"),r.e("webpack_sharing_consume_default_mui_material_mui_material"),r.e("webpack_sharing_consume_default_mui_icons-material_mui_icons-material"),r.e("webpack_sharing_consume_default_iobroker_vis-2-widgets-react-dev_iobroker_vis-2-widgets-react-dev"),r.e("src_RtspCamera_jsx")]).then((()=>()=>r(3184))),"./SnapshotCamera":()=>Promise.all([r.e("webpack_sharing_consume_default_react_react"),r.e("webpack_sharing_consume_default_prop-types_prop-types"),r.e("webpack_sharing_consume_default_mui_material_mui_material"),r.e("webpack_sharing_consume_default_mui_icons-material_mui_icons-material"),r.e("webpack_sharing_consume_default_iobroker_vis-2-widgets-react-dev_iobroker_vis-2-widgets-react-dev"),r.e("src_SnapshotCamera_jsx")]).then((()=>()=>r(7855))),"./translations":()=>r.e("src_translations_js").then((()=>()=>r(5850)))},s=(e,_)=>(r.R=_,_=r.o(o,e)?o[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),r.R=void 0,_),a=(e,_)=>{if(r.S){var o="default",s=r.S[o];if(s&&s!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return r.S[o]=e,r.I(o,_)}};r.d(_,{get:()=>s,init:()=>a})}},_={};function r(o){var s=_[o];if(void 0!==s)return s.exports;var a=_[o]={id:o,loaded:!1,exports:{}};return e[o].call(a.exports,a,a.exports,r),a.loaded=!0,a.exports}r.m=e,r.c=_,r.n=e=>{var _=e&&e.__esModule?()=>e.default:()=>e;return r.d(_,{a:_}),_},r.d=(e,_)=>{for(var o in _)r.o(_,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:_[o]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((_,o)=>(r.f[o](e,_),_)),[])),r.u=e=>"static/js/"+e+"."+{"node_modules_iobroker_adapter-react-v5_i18n_de_json":"87ff3ac7","node_modules_iobroker_adapter-react-v5_i18n_en_json":"13a4292d","node_modules_iobroker_adapter-react-v5_i18n_es_json":"3c7029cb","vendors-node_modules_iobroker_adapter-react-v5_i18n_fr_json":"49fd8bc0","vendors-node_modules_iobroker_adapter-react-v5_i18n_it_json":"32a0ec6b","node_modules_iobroker_adapter-react-v5_i18n_nl_json":"a221b4da","node_modules_iobroker_adapter-react-v5_i18n_pl_json":"fc2262b1","node_modules_iobroker_adapter-react-v5_i18n_pt_json":"9a5826b2","node_modules_iobroker_adapter-react-v5_i18n_ru_json":"3a32c677","node_modules_iobroker_adapter-react-v5_i18n_zh-cn_json":"f1a49e94","vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be":"a1e48aa4","vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be":"4d02f653","vendors-node_modules_iobroker_adapter-react-v5_build_index_js":"c3b244f8","node_modules_iobroker_vis-2-widgets-react-dev_index_js-_081e0":"602aa2f7","vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83":"8344849e","vendors-node_modules_mui_icons-material_esm_index_js":"8738fdfc","vendors-node_modules_mui_system_esm_Grid_createGrid_js-node_modules_mui_system_esm_RtlProvide-971764":"fcd25086","vendors-node_modules_mui_material_index_js":"6c911353","vendors-node_modules_mui_system_esm_index_js":"5cd25769","node_modules_prop-types_index_js":"94bc55cd","node_modules_react-dom_client_js":"26e3ee66","vendors-node_modules_react-dom_index_js":"e9feb302",node_modules_react_index_js:"2c46f430",src_RtspCamera_jsx:"f981189f",src_SnapshotCamera_jsx:"5cd2e2f2",src_translations_js:"00eec871","node_modules_iobroker_vis-2-widgets-react-dev_index_js-_081e1":"2279c251"}[e]+".chunk.js",r.miniCssF=e=>{},r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),r.o=(e,_)=>Object.prototype.hasOwnProperty.call(e,_),(()=>{var e={},_="iobroker.vis-2-widgets-camera:";r.l=(o,s,a,t)=>{if(e[o])e[o].push(s);else{var i,n;if(void 0!==a)for(var d=document.getElementsByTagName("script"),m=0;m{i.onerror=i.onload=null,clearTimeout(c);var s=e[o];if(delete e[o],i.parentNode&&i.parentNode.removeChild(i),s&&s.forEach((e=>e(r))),_)return _(r)},c=setTimeout(l.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=l.bind(null,i.onerror),i.onload=l.bind(null,i.onload),n&&document.head.appendChild(i)}}})(),r.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{r.S={};var e={},_={};r.I=(o,s)=>{s||(s=[]);var a=_[o];if(a||(a=_[o]={}),!(s.indexOf(a)>=0)){if(s.push(a),e[o])return e[o];r.o(r.S,o)||(r.S[o]={});var t=r.S[o],i="iobroker.vis-2-widgets-camera",n=(e,_,r,o)=>{var s=t[e]=t[e]||{},a=s[_];(!a||!a.loaded&&(!o!=!a.eager?o:i>a.from))&&(s[_]={get:r,from:i,eager:!!o})},d=[];if("default"===o)n("@iobroker/adapter-react-v5/i18n/de.json","*",(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_de_json").then((()=>()=>r(3123))))),n("@iobroker/adapter-react-v5/i18n/en.json","*",(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_en_json").then((()=>()=>r(6603))))),n("@iobroker/adapter-react-v5/i18n/es.json","*",(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_es_json").then((()=>()=>r(5148))))),n("@iobroker/adapter-react-v5/i18n/fr.json","*",(()=>r.e("vendors-node_modules_iobroker_adapter-react-v5_i18n_fr_json").then((()=>()=>r(4176))))),n("@iobroker/adapter-react-v5/i18n/it.json","*",(()=>r.e("vendors-node_modules_iobroker_adapter-react-v5_i18n_it_json").then((()=>()=>r(7801))))),n("@iobroker/adapter-react-v5/i18n/nl.json","*",(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_nl_json").then((()=>()=>r(9646))))),n("@iobroker/adapter-react-v5/i18n/pl.json","*",(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_pl_json").then((()=>()=>r(1356))))),n("@iobroker/adapter-react-v5/i18n/pt.json","*",(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_pt_json").then((()=>()=>r(324))))),n("@iobroker/adapter-react-v5/i18n/ru.json","*",(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_ru_json").then((()=>()=>r(7629))))),n("@iobroker/adapter-react-v5/i18n/zh-cn.json","*",(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_zh-cn_json").then((()=>()=>r(9156))))),n("@iobroker/adapter-react-v5","*",(()=>Promise.all([r.e("vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be"),r.e("vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be"),r.e("vendors-node_modules_iobroker_adapter-react-v5_build_index_js"),r.e("webpack_sharing_consume_default_react_react"),r.e("webpack_sharing_consume_default_prop-types_prop-types"),r.e("webpack_sharing_consume_default_mui_system_mui_system"),r.e("webpack_sharing_consume_default_mui_material_mui_material"),r.e("webpack_sharing_consume_default_mui_icons-material_mui_icons-material")]).then((()=>()=>r(8475))))),n("@iobroker/vis-2-widgets-react-dev","*",(()=>Promise.all([r.e("webpack_sharing_consume_default_react_react"),r.e("webpack_sharing_consume_default_mui_material_mui_material"),r.e("webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5"),r.e("node_modules_iobroker_vis-2-widgets-react-dev_index_js-_081e0")]).then((()=>()=>r(8835))))),n("@mui/icons-material","*",(()=>Promise.all([r.e("vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be"),r.e("vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be"),r.e("vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83"),r.e("vendors-node_modules_mui_icons-material_esm_index_js"),r.e("webpack_sharing_consume_default_react_react"),r.e("webpack_sharing_consume_default_prop-types_prop-types"),r.e("webpack_sharing_consume_default_mui_system_mui_system")]).then((()=>()=>r(6157))))),n("@mui/material","*",(()=>Promise.all([r.e("vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be"),r.e("vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be"),r.e("vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83"),r.e("vendors-node_modules_mui_system_esm_Grid_createGrid_js-node_modules_mui_system_esm_RtlProvide-971764"),r.e("vendors-node_modules_mui_material_index_js"),r.e("webpack_sharing_consume_default_react_react"),r.e("webpack_sharing_consume_default_prop-types_prop-types"),r.e("webpack_sharing_consume_default_mui_system_mui_system"),r.e("webpack_sharing_consume_default_react-dom_react-dom")]).then((()=>()=>r(8705))))),n("@mui/system","*",(()=>Promise.all([r.e("vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be"),r.e("vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83"),r.e("vendors-node_modules_mui_system_esm_Grid_createGrid_js-node_modules_mui_system_esm_RtlProvide-971764"),r.e("vendors-node_modules_mui_system_esm_index_js"),r.e("webpack_sharing_consume_default_react_react"),r.e("webpack_sharing_consume_default_prop-types_prop-types")]).then((()=>()=>r(1774))))),n("prop-types","*",(()=>r.e("node_modules_prop-types_index_js").then((()=>()=>r(5173))))),n("react-dom/client","*",(()=>Promise.all([r.e("webpack_sharing_consume_default_react-dom_react-dom"),r.e("node_modules_react-dom_client_js")]).then((()=>()=>r(4391))))),n("react-dom","*",(()=>Promise.all([r.e("vendors-node_modules_react-dom_index_js"),r.e("webpack_sharing_consume_default_react_react")]).then((()=>()=>r(7950))))),n("react","*",(()=>r.e("node_modules_react_index_js").then((()=>()=>r(5043)))));return d.length?e[o]=Promise.all(d).then((()=>e[o]=1)):e[o]=1}}})(),(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var _=r.g.document;if(!e&&_&&(_.currentScript&&"SCRIPT"===_.currentScript.tagName.toUpperCase()&&(e=_.currentScript.src),!e)){var o=_.getElementsByTagName("script");if(o.length)for(var s=o.length-1;s>-1&&(!e||!/^http(s?):/.test(e));)e=o[s--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e})(),(()=>{var e=e=>{var _=e=>e.split(".").map((e=>+e==e?+e:e)),r=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),o=r[1]?_(r[1]):[];return r[2]&&(o.length++,o.push.apply(o,_(r[2]))),r[3]&&(o.push([]),o.push.apply(o,_(r[3]))),o},_=(_,r)=>{_=e(_),r=e(r);for(var o=0;;){if(o>=_.length)return o=r.length)return"u"==a;var t=r[o],i=(typeof t)[0];if(a!=i)return"o"==a&&"n"==i||"s"==i||"u"==a;if("o"!=a&&"u"!=a&&s!=t)return s{var _=e[0],r="";if(1===e.length)return"*";if(_+.5){r+=0==_?">=":-1==_?"<":1==_?"^":2==_?"~":_>0?"=":"!=";for(var s=1,a=1;a0?".":"")+(s=2,i);return r}var t=[];for(a=1;a{if(0 in _){r=e(r);var o=_[0],a=o<0;a&&(o=-o-1);for(var t=0,i=1,n=!0;;i++,t++){var d,m,u=i<_.length?(typeof _[i])[0]:"";if(t>=r.length||"o"==(m=(typeof(d=r[t]))[0]))return!n||("u"==u?i>o&&!a:""==u!=a);if("u"==m){if(!n||"u"!=u)return!1}else if(n)if(u==m)if(i<=o){if(d!=_[i])return!1}else{if(a?d>_[i]:d<_[i])return!1;d!=_[i]&&(n=!1)}else if("s"!=u&&"n"!=u){if(a||i<=o)return!1;n=!1,i--}else{if(i<=o||me&&r.o(e,_),t=e=>(e.loaded=1,e.get()),i=e=>Object.keys(e).reduce(((_,r)=>(e[r].eager&&(_[r]=e[r]),_)),{}),n=(e,r,o)=>{var s=o?i(e[r]):e[r];return Object.keys(s).reduce(((e,r)=>!e||!s[e].loaded&&_(e,r)?r:e),0)},d=(e,_,r,s)=>"Unsatisfied version "+r+" from "+(r&&e[_][r].from)+" of shared singleton module "+_+" (required "+o(s)+")",m=e=>{throw new Error(e)},u=e=>{"undefined"!==typeof console&&console.warn&&console.warn(e)},l=e=>function(_,o,s,a,t){var i=r.I(_);return i&&i.then&&!s?i.then(e.bind(e,_,r.S[_],o,!1,a,t)):e(_,r.S[_],o,s,a,t)},c=(e,_,r)=>r?r():((e,_)=>m("Shared module "+_+" doesn't exist in shared scope "+e))(e,_),p=l(((e,_,r,o,i,m)=>{if(!a(_,r))return c(e,r,m);var l=n(_,r,o);return s(i,l)||u(d(_,r,l,i)),t(_[r][l])})),v={},f={8437:()=>p("default","react",!1,[0],(()=>r.e("node_modules_react_index_js").then((()=>()=>r(5043))))),5973:()=>p("default","prop-types",!1,[0],(()=>r.e("node_modules_prop-types_index_js").then((()=>()=>r(5173))))),8565:()=>p("default","@mui/system",!1,[0],(()=>Promise.all([r.e("vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83"),r.e("vendors-node_modules_mui_system_esm_Grid_createGrid_js-node_modules_mui_system_esm_RtlProvide-971764"),r.e("vendors-node_modules_mui_system_esm_index_js")]).then((()=>()=>r(1774))))),7085:()=>p("default","@mui/material",!1,[0],(()=>Promise.all([r.e("vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be"),r.e("vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be"),r.e("vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83"),r.e("vendors-node_modules_mui_system_esm_Grid_createGrid_js-node_modules_mui_system_esm_RtlProvide-971764"),r.e("vendors-node_modules_mui_material_index_js"),r.e("webpack_sharing_consume_default_prop-types_prop-types"),r.e("webpack_sharing_consume_default_mui_system_mui_system"),r.e("webpack_sharing_consume_default_react-dom_react-dom")]).then((()=>()=>r(8705))))),1839:()=>p("default","@mui/icons-material",!1,[0],(()=>Promise.all([r.e("vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be"),r.e("vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be"),r.e("vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83"),r.e("vendors-node_modules_mui_icons-material_esm_index_js"),r.e("webpack_sharing_consume_default_mui_system_mui_system")]).then((()=>()=>r(6157))))),5636:()=>p("default","@iobroker/adapter-react-v5",!1,[0],(()=>Promise.all([r.e("vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be"),r.e("vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be"),r.e("vendors-node_modules_iobroker_adapter-react-v5_build_index_js"),r.e("webpack_sharing_consume_default_prop-types_prop-types"),r.e("webpack_sharing_consume_default_mui_system_mui_system"),r.e("webpack_sharing_consume_default_mui_icons-material_mui_icons-material")]).then((()=>()=>r(8475))))),3479:()=>p("default","react-dom",!1,[0],(()=>Promise.all([r.e("vendors-node_modules_react-dom_index_js"),r.e("webpack_sharing_consume_default_react_react")]).then((()=>()=>r(7950))))),5301:()=>p("default","@iobroker/vis-2-widgets-react-dev",!1,[0],(()=>Promise.all([r.e("webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5"),r.e("node_modules_iobroker_vis-2-widgets-react-dev_index_js-_081e1")]).then((()=>()=>r(8835)))))},b={webpack_sharing_consume_default_react_react:[8437],"webpack_sharing_consume_default_prop-types_prop-types":[5973],webpack_sharing_consume_default_mui_system_mui_system:[8565],webpack_sharing_consume_default_mui_material_mui_material:[7085],"webpack_sharing_consume_default_mui_icons-material_mui_icons-material":[1839],"webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5":[5636],"webpack_sharing_consume_default_react-dom_react-dom":[3479],"webpack_sharing_consume_default_iobroker_vis-2-widgets-react-dev_iobroker_vis-2-widgets-react-dev":[5301]},h={};r.f.consumes=(e,_)=>{r.o(b,e)&&b[e].forEach((e=>{if(r.o(v,e))return _.push(v[e]);if(!h[e]){var o=_=>{v[e]=0,r.m[e]=o=>{delete r.c[e],o.exports=_()}};h[e]=!0;var s=_=>{delete v[e],r.m[e]=o=>{throw delete r.c[e],_}};try{var a=f[e]();a.then?_.push(v[e]=a.then(o).catch(s)):o(a)}catch(t){s(t)}}}))}})(),(()=>{var e={vis2CameraWidgets:0};r.f.j=(_,o)=>{var s=r.o(e,_)?e[_]:void 0;if(0!==s)if(s)o.push(s[2]);else if(/^webpack_sharing_consume_default_(iobroker_(adapter\-react\-v5_iobroker_adapter\-react\-v5|vis\-2\-widgets\-react\-dev_iobroker_vis\-2\-widgets\-react\-dev)|mui_((icons\-material_mui_icons\-|material_mui_)material|system_mui_system)|react(\-dom_react\-dom|_react)|prop\-types_prop\-types)$/.test(_))e[_]=0;else{var a=new Promise(((r,o)=>s=e[_]=[r,o]));o.push(s[2]=a);var t=r.p+r.u(_),i=new Error;r.l(t,(o=>{if(r.o(e,_)&&(0!==(s=e[_])&&(e[_]=void 0),s)){var a=o&&("load"===o.type?"missing":o.type),t=o&&o.target&&o.target.src;i.message="Loading chunk "+_+" failed.\n("+a+": "+t+")",i.name="ChunkLoadError",i.type=a,i.request=t,s[1](i)}}),"chunk-"+_,_)}};var _=(_,o)=>{var s,a,t=o[0],i=o[1],n=o[2],d=0;if(t.some((_=>0!==e[_]))){for(s in i)r.o(i,s)&&(r.m[s]=i[s]);if(n)n(r)}for(_&&_(o);d{"use strict";var e={7434:(e,_,r)=>{var o={"./RtspCamera":()=>Promise.all([r.e("webpack_sharing_consume_default_react_react"),r.e("webpack_sharing_consume_default_prop-types_prop-types"),r.e("webpack_sharing_consume_default_mui_material_mui_material"),r.e("webpack_sharing_consume_default_mui_icons-material_mui_icons-material"),r.e("webpack_sharing_consume_default_iobroker_vis-2-widgets-react-dev_iobroker_vis-2-widgets-react-dev"),r.e("src_RtspCamera_jsx")]).then((()=>()=>r(3184))),"./SnapshotCamera":()=>Promise.all([r.e("webpack_sharing_consume_default_react_react"),r.e("webpack_sharing_consume_default_prop-types_prop-types"),r.e("webpack_sharing_consume_default_mui_material_mui_material"),r.e("webpack_sharing_consume_default_mui_icons-material_mui_icons-material"),r.e("webpack_sharing_consume_default_iobroker_vis-2-widgets-react-dev_iobroker_vis-2-widgets-react-dev"),r.e("src_SnapshotCamera_jsx")]).then((()=>()=>r(7855))),"./translations":()=>r.e("src_translations_js").then((()=>()=>r(5850)))},s=(e,_)=>(r.R=_,_=r.o(o,e)?o[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),r.R=void 0,_),a=(e,_)=>{if(r.S){var o="default",s=r.S[o];if(s&&s!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return r.S[o]=e,r.I(o,_)}};r.d(_,{get:()=>s,init:()=>a})}},_={};function r(o){var s=_[o];if(void 0!==s)return s.exports;var a=_[o]={id:o,loaded:!1,exports:{}};return e[o].call(a.exports,a,a.exports,r),a.loaded=!0,a.exports}r.m=e,r.c=_,r.n=e=>{var _=e&&e.__esModule?()=>e.default:()=>e;return r.d(_,{a:_}),_},r.d=(e,_)=>{for(var o in _)r.o(_,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:_[o]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((_,o)=>(r.f[o](e,_),_)),[])),r.u=e=>"static/js/"+e+"."+{"node_modules_iobroker_adapter-react-v5_i18n_de_json":"87ff3ac7","node_modules_iobroker_adapter-react-v5_i18n_en_json":"13a4292d","node_modules_iobroker_adapter-react-v5_i18n_es_json":"3c7029cb","vendors-node_modules_iobroker_adapter-react-v5_i18n_fr_json":"49fd8bc0","vendors-node_modules_iobroker_adapter-react-v5_i18n_it_json":"32a0ec6b","node_modules_iobroker_adapter-react-v5_i18n_nl_json":"a221b4da","node_modules_iobroker_adapter-react-v5_i18n_pl_json":"fc2262b1","node_modules_iobroker_adapter-react-v5_i18n_pt_json":"9a5826b2","node_modules_iobroker_adapter-react-v5_i18n_ru_json":"3a32c677","node_modules_iobroker_adapter-react-v5_i18n_zh-cn_json":"f1a49e94","vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be":"a1e48aa4","vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be":"4d02f653","vendors-node_modules_iobroker_adapter-react-v5_build_index_js":"c3b244f8","node_modules_iobroker_vis-2-widgets-react-dev_index_js-_081e0":"602aa2f7","vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83":"8344849e","vendors-node_modules_mui_icons-material_esm_index_js":"8738fdfc","vendors-node_modules_mui_system_esm_Grid_createGrid_js-node_modules_mui_system_esm_RtlProvide-971764":"fcd25086","vendors-node_modules_mui_material_index_js":"6c911353","vendors-node_modules_mui_system_esm_index_js":"5cd25769","node_modules_prop-types_index_js":"94bc55cd","node_modules_react-dom_client_js":"26e3ee66","vendors-node_modules_react-dom_index_js":"e9feb302",node_modules_react_index_js:"2c46f430",src_RtspCamera_jsx:"f981189f",src_SnapshotCamera_jsx:"5cd2e2f2",src_translations_js:"140dc8fc","node_modules_iobroker_vis-2-widgets-react-dev_index_js-_081e1":"2279c251"}[e]+".chunk.js",r.miniCssF=e=>{},r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),r.o=(e,_)=>Object.prototype.hasOwnProperty.call(e,_),(()=>{var e={},_="iobroker.vis-2-widgets-camera:";r.l=(o,s,a,t)=>{if(e[o])e[o].push(s);else{var i,n;if(void 0!==a)for(var d=document.getElementsByTagName("script"),m=0;m{i.onerror=i.onload=null,clearTimeout(c);var s=e[o];if(delete e[o],i.parentNode&&i.parentNode.removeChild(i),s&&s.forEach((e=>e(r))),_)return _(r)},c=setTimeout(l.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=l.bind(null,i.onerror),i.onload=l.bind(null,i.onload),n&&document.head.appendChild(i)}}})(),r.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{r.S={};var e={},_={};r.I=(o,s)=>{s||(s=[]);var a=_[o];if(a||(a=_[o]={}),!(s.indexOf(a)>=0)){if(s.push(a),e[o])return e[o];r.o(r.S,o)||(r.S[o]={});var t=r.S[o],i="iobroker.vis-2-widgets-camera",n=(e,_,r,o)=>{var s=t[e]=t[e]||{},a=s[_];(!a||!a.loaded&&(!o!=!a.eager?o:i>a.from))&&(s[_]={get:r,from:i,eager:!!o})},d=[];if("default"===o)n("@iobroker/adapter-react-v5/i18n/de.json","*",(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_de_json").then((()=>()=>r(3123))))),n("@iobroker/adapter-react-v5/i18n/en.json","*",(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_en_json").then((()=>()=>r(6603))))),n("@iobroker/adapter-react-v5/i18n/es.json","*",(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_es_json").then((()=>()=>r(5148))))),n("@iobroker/adapter-react-v5/i18n/fr.json","*",(()=>r.e("vendors-node_modules_iobroker_adapter-react-v5_i18n_fr_json").then((()=>()=>r(4176))))),n("@iobroker/adapter-react-v5/i18n/it.json","*",(()=>r.e("vendors-node_modules_iobroker_adapter-react-v5_i18n_it_json").then((()=>()=>r(7801))))),n("@iobroker/adapter-react-v5/i18n/nl.json","*",(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_nl_json").then((()=>()=>r(9646))))),n("@iobroker/adapter-react-v5/i18n/pl.json","*",(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_pl_json").then((()=>()=>r(1356))))),n("@iobroker/adapter-react-v5/i18n/pt.json","*",(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_pt_json").then((()=>()=>r(324))))),n("@iobroker/adapter-react-v5/i18n/ru.json","*",(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_ru_json").then((()=>()=>r(7629))))),n("@iobroker/adapter-react-v5/i18n/zh-cn.json","*",(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_zh-cn_json").then((()=>()=>r(9156))))),n("@iobroker/adapter-react-v5","*",(()=>Promise.all([r.e("vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be"),r.e("vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be"),r.e("vendors-node_modules_iobroker_adapter-react-v5_build_index_js"),r.e("webpack_sharing_consume_default_react_react"),r.e("webpack_sharing_consume_default_prop-types_prop-types"),r.e("webpack_sharing_consume_default_mui_system_mui_system"),r.e("webpack_sharing_consume_default_mui_material_mui_material"),r.e("webpack_sharing_consume_default_mui_icons-material_mui_icons-material")]).then((()=>()=>r(8475))))),n("@iobroker/vis-2-widgets-react-dev","*",(()=>Promise.all([r.e("webpack_sharing_consume_default_react_react"),r.e("webpack_sharing_consume_default_mui_material_mui_material"),r.e("webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5"),r.e("node_modules_iobroker_vis-2-widgets-react-dev_index_js-_081e0")]).then((()=>()=>r(8835))))),n("@mui/icons-material","*",(()=>Promise.all([r.e("vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be"),r.e("vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be"),r.e("vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83"),r.e("vendors-node_modules_mui_icons-material_esm_index_js"),r.e("webpack_sharing_consume_default_react_react"),r.e("webpack_sharing_consume_default_prop-types_prop-types"),r.e("webpack_sharing_consume_default_mui_system_mui_system")]).then((()=>()=>r(6157))))),n("@mui/material","*",(()=>Promise.all([r.e("vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be"),r.e("vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be"),r.e("vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83"),r.e("vendors-node_modules_mui_system_esm_Grid_createGrid_js-node_modules_mui_system_esm_RtlProvide-971764"),r.e("vendors-node_modules_mui_material_index_js"),r.e("webpack_sharing_consume_default_react_react"),r.e("webpack_sharing_consume_default_prop-types_prop-types"),r.e("webpack_sharing_consume_default_mui_system_mui_system"),r.e("webpack_sharing_consume_default_react-dom_react-dom")]).then((()=>()=>r(8705))))),n("@mui/system","*",(()=>Promise.all([r.e("vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be"),r.e("vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83"),r.e("vendors-node_modules_mui_system_esm_Grid_createGrid_js-node_modules_mui_system_esm_RtlProvide-971764"),r.e("vendors-node_modules_mui_system_esm_index_js"),r.e("webpack_sharing_consume_default_react_react"),r.e("webpack_sharing_consume_default_prop-types_prop-types")]).then((()=>()=>r(1774))))),n("prop-types","*",(()=>r.e("node_modules_prop-types_index_js").then((()=>()=>r(5173))))),n("react-dom/client","*",(()=>Promise.all([r.e("webpack_sharing_consume_default_react-dom_react-dom"),r.e("node_modules_react-dom_client_js")]).then((()=>()=>r(4391))))),n("react-dom","*",(()=>Promise.all([r.e("vendors-node_modules_react-dom_index_js"),r.e("webpack_sharing_consume_default_react_react")]).then((()=>()=>r(7950))))),n("react","*",(()=>r.e("node_modules_react_index_js").then((()=>()=>r(5043)))));return d.length?e[o]=Promise.all(d).then((()=>e[o]=1)):e[o]=1}}})(),(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var _=r.g.document;if(!e&&_&&(_.currentScript&&"SCRIPT"===_.currentScript.tagName.toUpperCase()&&(e=_.currentScript.src),!e)){var o=_.getElementsByTagName("script");if(o.length)for(var s=o.length-1;s>-1&&(!e||!/^http(s?):/.test(e));)e=o[s--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e})(),(()=>{var e=e=>{var _=e=>e.split(".").map((e=>+e==e?+e:e)),r=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),o=r[1]?_(r[1]):[];return r[2]&&(o.length++,o.push.apply(o,_(r[2]))),r[3]&&(o.push([]),o.push.apply(o,_(r[3]))),o},_=(_,r)=>{_=e(_),r=e(r);for(var o=0;;){if(o>=_.length)return o=r.length)return"u"==a;var t=r[o],i=(typeof t)[0];if(a!=i)return"o"==a&&"n"==i||"s"==i||"u"==a;if("o"!=a&&"u"!=a&&s!=t)return s{var _=e[0],r="";if(1===e.length)return"*";if(_+.5){r+=0==_?">=":-1==_?"<":1==_?"^":2==_?"~":_>0?"=":"!=";for(var s=1,a=1;a0?".":"")+(s=2,i);return r}var t=[];for(a=1;a{if(0 in _){r=e(r);var o=_[0],a=o<0;a&&(o=-o-1);for(var t=0,i=1,n=!0;;i++,t++){var d,m,u=i<_.length?(typeof _[i])[0]:"";if(t>=r.length||"o"==(m=(typeof(d=r[t]))[0]))return!n||("u"==u?i>o&&!a:""==u!=a);if("u"==m){if(!n||"u"!=u)return!1}else if(n)if(u==m)if(i<=o){if(d!=_[i])return!1}else{if(a?d>_[i]:d<_[i])return!1;d!=_[i]&&(n=!1)}else if("s"!=u&&"n"!=u){if(a||i<=o)return!1;n=!1,i--}else{if(i<=o||me&&r.o(e,_),t=e=>(e.loaded=1,e.get()),i=e=>Object.keys(e).reduce(((_,r)=>(e[r].eager&&(_[r]=e[r]),_)),{}),n=(e,r,o)=>{var s=o?i(e[r]):e[r];return Object.keys(s).reduce(((e,r)=>!e||!s[e].loaded&&_(e,r)?r:e),0)},d=(e,_,r,s)=>"Unsatisfied version "+r+" from "+(r&&e[_][r].from)+" of shared singleton module "+_+" (required "+o(s)+")",m=e=>{throw new Error(e)},u=e=>{"undefined"!==typeof console&&console.warn&&console.warn(e)},l=e=>function(_,o,s,a,t){var i=r.I(_);return i&&i.then&&!s?i.then(e.bind(e,_,r.S[_],o,!1,a,t)):e(_,r.S[_],o,s,a,t)},c=(e,_,r)=>r?r():((e,_)=>m("Shared module "+_+" doesn't exist in shared scope "+e))(e,_),p=l(((e,_,r,o,i,m)=>{if(!a(_,r))return c(e,r,m);var l=n(_,r,o);return s(i,l)||u(d(_,r,l,i)),t(_[r][l])})),v={},b={8437:()=>p("default","react",!1,[0],(()=>r.e("node_modules_react_index_js").then((()=>()=>r(5043))))),5973:()=>p("default","prop-types",!1,[0],(()=>r.e("node_modules_prop-types_index_js").then((()=>()=>r(5173))))),8565:()=>p("default","@mui/system",!1,[0],(()=>Promise.all([r.e("vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83"),r.e("vendors-node_modules_mui_system_esm_Grid_createGrid_js-node_modules_mui_system_esm_RtlProvide-971764"),r.e("vendors-node_modules_mui_system_esm_index_js")]).then((()=>()=>r(1774))))),7085:()=>p("default","@mui/material",!1,[0],(()=>Promise.all([r.e("vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be"),r.e("vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be"),r.e("vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83"),r.e("vendors-node_modules_mui_system_esm_Grid_createGrid_js-node_modules_mui_system_esm_RtlProvide-971764"),r.e("vendors-node_modules_mui_material_index_js"),r.e("webpack_sharing_consume_default_prop-types_prop-types"),r.e("webpack_sharing_consume_default_mui_system_mui_system"),r.e("webpack_sharing_consume_default_react-dom_react-dom")]).then((()=>()=>r(8705))))),1839:()=>p("default","@mui/icons-material",!1,[0],(()=>Promise.all([r.e("vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be"),r.e("vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be"),r.e("vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83"),r.e("vendors-node_modules_mui_icons-material_esm_index_js"),r.e("webpack_sharing_consume_default_mui_system_mui_system")]).then((()=>()=>r(6157))))),5636:()=>p("default","@iobroker/adapter-react-v5",!1,[0],(()=>Promise.all([r.e("vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be"),r.e("vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be"),r.e("vendors-node_modules_iobroker_adapter-react-v5_build_index_js"),r.e("webpack_sharing_consume_default_prop-types_prop-types"),r.e("webpack_sharing_consume_default_mui_system_mui_system"),r.e("webpack_sharing_consume_default_mui_icons-material_mui_icons-material")]).then((()=>()=>r(8475))))),3479:()=>p("default","react-dom",!1,[0],(()=>Promise.all([r.e("vendors-node_modules_react-dom_index_js"),r.e("webpack_sharing_consume_default_react_react")]).then((()=>()=>r(7950))))),5301:()=>p("default","@iobroker/vis-2-widgets-react-dev",!1,[0],(()=>Promise.all([r.e("webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5"),r.e("node_modules_iobroker_vis-2-widgets-react-dev_index_js-_081e1")]).then((()=>()=>r(8835)))))},f={webpack_sharing_consume_default_react_react:[8437],"webpack_sharing_consume_default_prop-types_prop-types":[5973],webpack_sharing_consume_default_mui_system_mui_system:[8565],webpack_sharing_consume_default_mui_material_mui_material:[7085],"webpack_sharing_consume_default_mui_icons-material_mui_icons-material":[1839],"webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5":[5636],"webpack_sharing_consume_default_react-dom_react-dom":[3479],"webpack_sharing_consume_default_iobroker_vis-2-widgets-react-dev_iobroker_vis-2-widgets-react-dev":[5301]},h={};r.f.consumes=(e,_)=>{r.o(f,e)&&f[e].forEach((e=>{if(r.o(v,e))return _.push(v[e]);if(!h[e]){var o=_=>{v[e]=0,r.m[e]=o=>{delete r.c[e],o.exports=_()}};h[e]=!0;var s=_=>{delete v[e],r.m[e]=o=>{throw delete r.c[e],_}};try{var a=b[e]();a.then?_.push(v[e]=a.then(o).catch(s)):o(a)}catch(t){s(t)}}}))}})(),(()=>{var e={vis2CameraWidgets:0};r.f.j=(_,o)=>{var s=r.o(e,_)?e[_]:void 0;if(0!==s)if(s)o.push(s[2]);else if(/^webpack_sharing_consume_default_(iobroker_(adapter\-react\-v5_iobroker_adapter\-react\-v5|vis\-2\-widgets\-react\-dev_iobroker_vis\-2\-widgets\-react\-dev)|mui_((icons\-material_mui_icons\-|material_mui_)material|system_mui_system)|react(\-dom_react\-dom|_react)|prop\-types_prop\-types)$/.test(_))e[_]=0;else{var a=new Promise(((r,o)=>s=e[_]=[r,o]));o.push(s[2]=a);var t=r.p+r.u(_),i=new Error;r.l(t,(o=>{if(r.o(e,_)&&(0!==(s=e[_])&&(e[_]=void 0),s)){var a=o&&("load"===o.type?"missing":o.type),t=o&&o.target&&o.target.src;i.message="Loading chunk "+_+" failed.\n("+a+": "+t+")",i.name="ChunkLoadError",i.type=a,i.request=t,s[1](i)}}),"chunk-"+_,_)}};var _=(_,o)=>{var s,a,t=o[0],i=o[1],n=o[2],d=0;if(t.some((_=>0!==e[_]))){for(s in i)r.o(i,s)&&(r.m[s]=i[s]);if(n)n(r)}for(_&&_(o);d {\n\t\treturn Promise.all([__webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_material_mui_material\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_icons-material_mui_icons-material\"), __webpack_require__.e(\"webpack_sharing_consume_default_iobroker_vis-2-widgets-react-dev_iobroker_vis-2-widgets-react-dev\"), __webpack_require__.e(\"src_RtspCamera_jsx\")]).then(() => (() => ((__webpack_require__(3184)))));\n\t},\n\t\"./SnapshotCamera\": () => {\n\t\treturn Promise.all([__webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_material_mui_material\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_icons-material_mui_icons-material\"), __webpack_require__.e(\"webpack_sharing_consume_default_iobroker_vis-2-widgets-react-dev_iobroker_vis-2-widgets-react-dev\"), __webpack_require__.e(\"src_SnapshotCamera_jsx\")]).then(() => (() => ((__webpack_require__(7855)))));\n\t},\n\t\"./translations\": () => {\n\t\treturn __webpack_require__.e(\"src_translations_js\").then(() => (() => ((__webpack_require__(5850)))));\n\t}\n};\nvar get = (module, getScope) => {\n\t__webpack_require__.R = getScope;\n\tgetScope = (\n\t\t__webpack_require__.o(moduleMap, module)\n\t\t\t? moduleMap[module]()\n\t\t\t: Promise.resolve().then(() => {\n\t\t\t\tthrow new Error('Module \"' + module + '\" does not exist in container.');\n\t\t\t})\n\t);\n\t__webpack_require__.R = undefined;\n\treturn getScope;\n};\nvar init = (shareScope, initScope) => {\n\tif (!__webpack_require__.S) return;\n\tvar name = \"default\"\n\tvar oldScope = __webpack_require__.S[name];\n\tif(oldScope && oldScope !== shareScope) throw new Error(\"Container initialization failed as it has already been initialized with a different share scope\");\n\t__webpack_require__.S[name] = shareScope;\n\treturn __webpack_require__.I(name, initScope);\n};\n\n// This exports getters to disallow modifications\n__webpack_require__.d(exports, {\n\tget: () => (get),\n\tinit: () => (init)\n});","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// expose the module cache\n__webpack_require__.c = __webpack_module_cache__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"static/js/\" + chunkId + \".\" + {\"node_modules_iobroker_adapter-react-v5_i18n_de_json\":\"87ff3ac7\",\"node_modules_iobroker_adapter-react-v5_i18n_en_json\":\"13a4292d\",\"node_modules_iobroker_adapter-react-v5_i18n_es_json\":\"3c7029cb\",\"vendors-node_modules_iobroker_adapter-react-v5_i18n_fr_json\":\"49fd8bc0\",\"vendors-node_modules_iobroker_adapter-react-v5_i18n_it_json\":\"32a0ec6b\",\"node_modules_iobroker_adapter-react-v5_i18n_nl_json\":\"a221b4da\",\"node_modules_iobroker_adapter-react-v5_i18n_pl_json\":\"fc2262b1\",\"node_modules_iobroker_adapter-react-v5_i18n_pt_json\":\"9a5826b2\",\"node_modules_iobroker_adapter-react-v5_i18n_ru_json\":\"3a32c677\",\"node_modules_iobroker_adapter-react-v5_i18n_zh-cn_json\":\"f1a49e94\",\"vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be\":\"a1e48aa4\",\"vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be\":\"4d02f653\",\"vendors-node_modules_iobroker_adapter-react-v5_build_index_js\":\"c3b244f8\",\"node_modules_iobroker_vis-2-widgets-react-dev_index_js-_081e0\":\"602aa2f7\",\"vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83\":\"8344849e\",\"vendors-node_modules_mui_icons-material_esm_index_js\":\"8738fdfc\",\"vendors-node_modules_mui_system_esm_Grid_createGrid_js-node_modules_mui_system_esm_RtlProvide-971764\":\"fcd25086\",\"vendors-node_modules_mui_material_index_js\":\"6c911353\",\"vendors-node_modules_mui_system_esm_index_js\":\"5cd25769\",\"node_modules_prop-types_index_js\":\"94bc55cd\",\"node_modules_react-dom_client_js\":\"26e3ee66\",\"vendors-node_modules_react-dom_index_js\":\"e9feb302\",\"node_modules_react_index_js\":\"2c46f430\",\"src_RtspCamera_jsx\":\"f981189f\",\"src_SnapshotCamera_jsx\":\"5cd2e2f2\",\"src_translations_js\":\"00eec871\",\"node_modules_iobroker_vis-2-widgets-react-dev_index_js-_081e1\":\"2279c251\"}[chunkId] + \".chunk.js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","var inProgress = {};\nvar dataWebpackPrefix = \"iobroker.vis-2-widgets-camera:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.S = {};\nvar initPromises = {};\nvar initTokens = {};\n__webpack_require__.I = (name, initScope) => {\n\tif(!initScope) initScope = [];\n\t// handling circular init calls\n\tvar initToken = initTokens[name];\n\tif(!initToken) initToken = initTokens[name] = {};\n\tif(initScope.indexOf(initToken) >= 0) return;\n\tinitScope.push(initToken);\n\t// only runs once\n\tif(initPromises[name]) return initPromises[name];\n\t// creates a new share scope if needed\n\tif(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};\n\t// runs all init snippets from all modules reachable\n\tvar scope = __webpack_require__.S[name];\n\tvar warn = (msg) => {\n\t\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n\t};\n\tvar uniqueName = \"iobroker.vis-2-widgets-camera\";\n\tvar register = (name, version, factory, eager) => {\n\t\tvar versions = scope[name] = scope[name] || {};\n\t\tvar activeVersion = versions[version];\n\t\tif(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };\n\t};\n\tvar initExternal = (id) => {\n\t\tvar handleError = (err) => (warn(\"Initialization of sharing external failed: \" + err));\n\t\ttry {\n\t\t\tvar module = __webpack_require__(id);\n\t\t\tif(!module) return;\n\t\t\tvar initFn = (module) => (module && module.init && module.init(__webpack_require__.S[name], initScope))\n\t\t\tif(module.then) return promises.push(module.then(initFn, handleError));\n\t\t\tvar initResult = initFn(module);\n\t\t\tif(initResult && initResult.then) return promises.push(initResult['catch'](handleError));\n\t\t} catch(err) { handleError(err); }\n\t}\n\tvar promises = [];\n\tswitch(name) {\n\t\tcase \"default\": {\n\t\t\tregister(\"@iobroker/adapter-react-v5/i18n/de.json\", \"*\", () => (__webpack_require__.e(\"node_modules_iobroker_adapter-react-v5_i18n_de_json\").then(() => (() => (__webpack_require__(3123))))));\n\t\t\tregister(\"@iobroker/adapter-react-v5/i18n/en.json\", \"*\", () => (__webpack_require__.e(\"node_modules_iobroker_adapter-react-v5_i18n_en_json\").then(() => (() => (__webpack_require__(6603))))));\n\t\t\tregister(\"@iobroker/adapter-react-v5/i18n/es.json\", \"*\", () => (__webpack_require__.e(\"node_modules_iobroker_adapter-react-v5_i18n_es_json\").then(() => (() => (__webpack_require__(5148))))));\n\t\t\tregister(\"@iobroker/adapter-react-v5/i18n/fr.json\", \"*\", () => (__webpack_require__.e(\"vendors-node_modules_iobroker_adapter-react-v5_i18n_fr_json\").then(() => (() => (__webpack_require__(4176))))));\n\t\t\tregister(\"@iobroker/adapter-react-v5/i18n/it.json\", \"*\", () => (__webpack_require__.e(\"vendors-node_modules_iobroker_adapter-react-v5_i18n_it_json\").then(() => (() => (__webpack_require__(7801))))));\n\t\t\tregister(\"@iobroker/adapter-react-v5/i18n/nl.json\", \"*\", () => (__webpack_require__.e(\"node_modules_iobroker_adapter-react-v5_i18n_nl_json\").then(() => (() => (__webpack_require__(9646))))));\n\t\t\tregister(\"@iobroker/adapter-react-v5/i18n/pl.json\", \"*\", () => (__webpack_require__.e(\"node_modules_iobroker_adapter-react-v5_i18n_pl_json\").then(() => (() => (__webpack_require__(1356))))));\n\t\t\tregister(\"@iobroker/adapter-react-v5/i18n/pt.json\", \"*\", () => (__webpack_require__.e(\"node_modules_iobroker_adapter-react-v5_i18n_pt_json\").then(() => (() => (__webpack_require__(324))))));\n\t\t\tregister(\"@iobroker/adapter-react-v5/i18n/ru.json\", \"*\", () => (__webpack_require__.e(\"node_modules_iobroker_adapter-react-v5_i18n_ru_json\").then(() => (() => (__webpack_require__(7629))))));\n\t\t\tregister(\"@iobroker/adapter-react-v5/i18n/zh-cn.json\", \"*\", () => (__webpack_require__.e(\"node_modules_iobroker_adapter-react-v5_i18n_zh-cn_json\").then(() => (() => (__webpack_require__(9156))))));\n\t\t\tregister(\"@iobroker/adapter-react-v5\", \"*\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be\"), __webpack_require__.e(\"vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be\"), __webpack_require__.e(\"vendors-node_modules_iobroker_adapter-react-v5_build_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_system_mui_system\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_material_mui_material\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_icons-material_mui_icons-material\")]).then(() => (() => (__webpack_require__(8475))))));\n\t\t\tregister(\"@iobroker/vis-2-widgets-react-dev\", \"*\", () => (Promise.all([__webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_material_mui_material\"), __webpack_require__.e(\"webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5\"), __webpack_require__.e(\"node_modules_iobroker_vis-2-widgets-react-dev_index_js-_081e0\")]).then(() => (() => (__webpack_require__(8835))))));\n\t\t\tregister(\"@mui/icons-material\", \"*\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be\"), __webpack_require__.e(\"vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83\"), __webpack_require__.e(\"vendors-node_modules_mui_icons-material_esm_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_system_mui_system\")]).then(() => (() => (__webpack_require__(6157))))));\n\t\t\tregister(\"@mui/material\", \"*\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be\"), __webpack_require__.e(\"vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_Grid_createGrid_js-node_modules_mui_system_esm_RtlProvide-971764\"), __webpack_require__.e(\"vendors-node_modules_mui_material_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_system_mui_system\"), __webpack_require__.e(\"webpack_sharing_consume_default_react-dom_react-dom\")]).then(() => (() => (__webpack_require__(8705))))));\n\t\t\tregister(\"@mui/system\", \"*\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_Grid_createGrid_js-node_modules_mui_system_esm_RtlProvide-971764\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\")]).then(() => (() => (__webpack_require__(1774))))));\n\t\t\tregister(\"prop-types\", \"*\", () => (__webpack_require__.e(\"node_modules_prop-types_index_js\").then(() => (() => (__webpack_require__(5173))))));\n\t\t\tregister(\"react-dom/client\", \"*\", () => (Promise.all([__webpack_require__.e(\"webpack_sharing_consume_default_react-dom_react-dom\"), __webpack_require__.e(\"node_modules_react-dom_client_js\")]).then(() => (() => (__webpack_require__(4391))))));\n\t\t\tregister(\"react-dom\", \"*\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_react-dom_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\")]).then(() => (() => (__webpack_require__(7950))))));\n\t\t\tregister(\"react\", \"*\", () => (__webpack_require__.e(\"node_modules_react_index_js\").then(() => (() => (__webpack_require__(5043))))));\n\t\t}\n\t\tbreak;\n\t}\n\tif(!promises.length) return initPromises[name] = 1;\n\treturn initPromises[name] = Promise.all(promises).then(() => (initPromises[name] = 1));\n};","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\n\t\tscriptUrl = document.currentScript.src;\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) {\n\t\t\tvar i = scripts.length - 1;\n\t\t\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\n\t\t}\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","var parseVersion = (str) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar p=p=>{return p.split(\".\").map((p=>{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;\n}\nvar versionLt = (a, b) => {\n\t// see webpack/lib/util/semver.js for original code\n\ta=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r=b.length)return\"u\"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return\"o\"==n&&\"n\"==f||(\"s\"==f||\"u\"==n);if(\"o\"!=n&&\"u\"!=n&&e!=t)return e {\n\t// see webpack/lib/util/semver.js for original code\n\tvar r=range[0],n=\"\";if(1===range.length)return\"*\";if(r+.5){n+=0==r?\">=\":-1==r?\"<\":1==r?\"^\":2==r?\"~\":r>0?\"=\":\"!=\";for(var e=1,a=1;a0?\".\":\"\")+(e=2,t)}return n}var g=[];for(a=1;a {\n\t// see webpack/lib/util/semver.js for original code\n\tif(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i=version.length||\"o\"==(s=(typeof(f=version[n]))[0]))return!a||(\"u\"==g?i>e&&!r:\"\"==g!=r);if(\"u\"==s){if(!a||\"u\"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f {\n\treturn scope && __webpack_require__.o(scope, key);\n}\nvar get = (entry) => {\n\tentry.loaded = 1;\n\treturn entry.get()\n};\nvar eagerOnly = (versions) => {\n\treturn Object.keys(versions).reduce((filtered, version) => {\n\t\t\tif (versions[version].eager) {\n\t\t\t\tfiltered[version] = versions[version];\n\t\t\t}\n\t\t\treturn filtered;\n\t}, {});\n};\nvar findLatestVersion = (scope, key, eager) => {\n\tvar versions = eager ? eagerOnly(scope[key]) : scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key];\n};\nvar findSatisfyingVersion = (scope, key, requiredVersion, eager) => {\n\tvar versions = eager ? eagerOnly(scope[key]) : scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\tif (!satisfy(requiredVersion, b)) return a;\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar findSingletonVersionKey = (scope, key, eager) => {\n\tvar versions = eager ? eagerOnly(scope[key]) : scope[key];\n\treturn Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;\n\t}, 0);\n};\nvar getInvalidSingletonVersionMessage = (scope, key, version, requiredVersion) => {\n\treturn \"Unsatisfied version \" + version + \" from \" + (version && scope[key][version].from) + \" of shared singleton module \" + key + \" (required \" + rangeToString(requiredVersion) + \")\"\n};\nvar getInvalidVersionMessage = (scope, scopeName, key, requiredVersion, eager) => {\n\tvar versions = scope[key];\n\treturn \"No satisfying version (\" + rangeToString(requiredVersion) + \")\" + (eager ? \" for eager consumption\" : \"\") + \" of shared module \" + key + \" found in shared scope \" + scopeName + \".\\n\" +\n\t\t\"Available versions: \" + Object.keys(versions).map((key) => {\n\t\treturn key + \" from \" + versions[key].from;\n\t}).join(\", \");\n};\nvar fail = (msg) => {\n\tthrow new Error(msg);\n}\nvar failAsNotExist = (scopeName, key) => {\n\treturn fail(\"Shared module \" + key + \" doesn't exist in shared scope \" + scopeName);\n}\nvar warn = /*#__PURE__*/ (msg) => {\n\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n};\nvar init = (fn) => (function(scopeName, key, eager, c, d) {\n\tvar promise = __webpack_require__.I(scopeName);\n\tif (promise && promise.then && !eager) {\n\t\treturn promise.then(fn.bind(fn, scopeName, __webpack_require__.S[scopeName], key, false, c, d));\n\t}\n\treturn fn(scopeName, __webpack_require__.S[scopeName], key, eager, c, d);\n});\n\nvar useFallback = (scopeName, key, fallback) => {\n\treturn fallback ? fallback() : failAsNotExist(scopeName, key);\n}\nvar load = /*#__PURE__*/ init((scopeName, scope, key, eager, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\treturn get(findLatestVersion(scope, key, eager));\n});\nvar loadVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar satisfyingVersion = findSatisfyingVersion(scope, key, requiredVersion, eager);\n\tif (satisfyingVersion) return get(satisfyingVersion);\n\twarn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion, eager))\n\treturn get(findLatestVersion(scope, key, eager));\n});\nvar loadStrictVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar satisfyingVersion = findSatisfyingVersion(scope, key, requiredVersion, eager);\n\tif (satisfyingVersion) return get(satisfyingVersion);\n\tif (fallback) return fallback();\n\tfail(getInvalidVersionMessage(scope, scopeName, key, requiredVersion, eager));\n});\nvar loadSingleton = /*#__PURE__*/ init((scopeName, scope, key, eager, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar version = findSingletonVersionKey(scope, key, eager);\n\treturn get(scope[key][version]);\n});\nvar loadSingletonVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar version = findSingletonVersionKey(scope, key, eager);\n\tif (!satisfy(requiredVersion, version)) {\n\t\twarn(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\t}\n\treturn get(scope[key][version]);\n});\nvar loadStrictSingletonVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar version = findSingletonVersionKey(scope, key, eager);\n\tif (!satisfy(requiredVersion, version)) {\n\t\tfail(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\t}\n\treturn get(scope[key][version]);\n});\nvar installedModules = {};\nvar moduleToHandlerMapping = {\n\t8437: () => (loadSingletonVersion(\"default\", \"react\", false, [0], () => (__webpack_require__.e(\"node_modules_react_index_js\").then(() => (() => (__webpack_require__(5043))))))),\n\t5973: () => (loadSingletonVersion(\"default\", \"prop-types\", false, [0], () => (__webpack_require__.e(\"node_modules_prop-types_index_js\").then(() => (() => (__webpack_require__(5173))))))),\n\t8565: () => (loadSingletonVersion(\"default\", \"@mui/system\", false, [0], () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_Grid_createGrid_js-node_modules_mui_system_esm_RtlProvide-971764\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_index_js\")]).then(() => (() => (__webpack_require__(1774))))))),\n\t7085: () => (loadSingletonVersion(\"default\", \"@mui/material\", false, [0], () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be\"), __webpack_require__.e(\"vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_Grid_createGrid_js-node_modules_mui_system_esm_RtlProvide-971764\"), __webpack_require__.e(\"vendors-node_modules_mui_material_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_system_mui_system\"), __webpack_require__.e(\"webpack_sharing_consume_default_react-dom_react-dom\")]).then(() => (() => (__webpack_require__(8705))))))),\n\t1839: () => (loadSingletonVersion(\"default\", \"@mui/icons-material\", false, [0], () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be\"), __webpack_require__.e(\"vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83\"), __webpack_require__.e(\"vendors-node_modules_mui_icons-material_esm_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_system_mui_system\")]).then(() => (() => (__webpack_require__(6157))))))),\n\t5636: () => (loadSingletonVersion(\"default\", \"@iobroker/adapter-react-v5\", false, [0], () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be\"), __webpack_require__.e(\"vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be\"), __webpack_require__.e(\"vendors-node_modules_iobroker_adapter-react-v5_build_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_system_mui_system\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_icons-material_mui_icons-material\")]).then(() => (() => (__webpack_require__(8475))))))),\n\t3479: () => (loadSingletonVersion(\"default\", \"react-dom\", false, [0], () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_react-dom_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\")]).then(() => (() => (__webpack_require__(7950))))))),\n\t5301: () => (loadSingletonVersion(\"default\", \"@iobroker/vis-2-widgets-react-dev\", false, [0], () => (Promise.all([__webpack_require__.e(\"webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5\"), __webpack_require__.e(\"node_modules_iobroker_vis-2-widgets-react-dev_index_js-_081e1\")]).then(() => (() => (__webpack_require__(8835)))))))\n};\n// no consumes in initial chunks\nvar chunkMapping = {\n\t\"webpack_sharing_consume_default_react_react\": [\n\t\t8437\n\t],\n\t\"webpack_sharing_consume_default_prop-types_prop-types\": [\n\t\t5973\n\t],\n\t\"webpack_sharing_consume_default_mui_system_mui_system\": [\n\t\t8565\n\t],\n\t\"webpack_sharing_consume_default_mui_material_mui_material\": [\n\t\t7085\n\t],\n\t\"webpack_sharing_consume_default_mui_icons-material_mui_icons-material\": [\n\t\t1839\n\t],\n\t\"webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5\": [\n\t\t5636\n\t],\n\t\"webpack_sharing_consume_default_react-dom_react-dom\": [\n\t\t3479\n\t],\n\t\"webpack_sharing_consume_default_iobroker_vis-2-widgets-react-dev_iobroker_vis-2-widgets-react-dev\": [\n\t\t5301\n\t]\n};\nvar startedInstallModules = {};\n__webpack_require__.f.consumes = (chunkId, promises) => {\n\tif(__webpack_require__.o(chunkMapping, chunkId)) {\n\t\tchunkMapping[chunkId].forEach((id) => {\n\t\t\tif(__webpack_require__.o(installedModules, id)) return promises.push(installedModules[id]);\n\t\t\tif(!startedInstallModules[id]) {\n\t\t\tvar onFactory = (factory) => {\n\t\t\t\tinstalledModules[id] = 0;\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tmodule.exports = factory();\n\t\t\t\t}\n\t\t\t};\n\t\t\tstartedInstallModules[id] = true;\n\t\t\tvar onError = (error) => {\n\t\t\t\tdelete installedModules[id];\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tthrow error;\n\t\t\t\t}\n\t\t\t};\n\t\t\ttry {\n\t\t\t\tvar promise = moduleToHandlerMapping[id]();\n\t\t\t\tif(promise.then) {\n\t\t\t\t\tpromises.push(installedModules[id] = promise.then(onFactory)['catch'](onError));\n\t\t\t\t} else onFactory(promise);\n\t\t\t} catch(e) { onError(e); }\n\t\t\t}\n\t\t});\n\t}\n}","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t\"vis2CameraWidgets\": 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(!/^webpack_sharing_consume_default_(iobroker_(adapter\\-react\\-v5_iobroker_adapter\\-react\\-v5|vis\\-2\\-widgets\\-react\\-dev_iobroker_vis\\-2\\-widgets\\-react\\-dev)|mui_((icons\\-material_mui_icons\\-|material_mui_)material|system_mui_system)|react(\\-dom_react\\-dom|_react)|prop\\-types_prop\\-types)$/.test(chunkId)) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkiobroker_vis_2_widgets_camera\"] = self[\"webpackChunkiobroker_vis_2_widgets_camera\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","__webpack_require__.nc = undefined;","// module cache are used so entry inlining is disabled\n// startup\n// Load entry module and return exports\nvar __webpack_exports__ = __webpack_require__(7434);\n"],"names":["moduleMap","Promise","all","__webpack_require__","e","then","get","module","getScope","R","o","resolve","Error","undefined","init","shareScope","initScope","S","name","oldScope","I","d","exports","__webpack_module_cache__","moduleId","cachedModule","id","loaded","__webpack_modules__","call","m","c","n","getter","__esModule","a","definition","key","Object","defineProperty","enumerable","f","chunkId","keys","reduce","promises","u","miniCssF","g","globalThis","this","Function","window","obj","prop","prototype","hasOwnProperty","inProgress","dataWebpackPrefix","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","i","length","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","fn","setTimeout","bind","type","target","head","appendChild","r","Symbol","toStringTag","value","nmd","paths","children","initPromises","initTokens","initToken","indexOf","scope","uniqueName","register","version","factory","eager","versions","activeVersion","from","scriptUrl","importScripts","location","currentScript","tagName","toUpperCase","test","replace","p","parseVersion","str","split","map","exec","apply","versionLt","b","t","rangeToString","range","pop","satisfy","exists","entry","eagerOnly","filtered","findSingletonVersionKey","getInvalidSingletonVersionMessage","requiredVersion","fail","msg","warn","console","scopeName","promise","useFallback","fallback","failAsNotExist","loadSingletonVersion","installedModules","moduleToHandlerMapping","chunkMapping","startedInstallModules","consumes","onFactory","onError","error","installedChunks","j","installedChunkData","reject","errorType","realSrc","message","request","webpackJsonpCallback","parentChunkLoadingFunction","data","chunkIds","moreModules","runtime","some","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"customWidgets.js","mappings":"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","sources":["../webpack/container-entry","../webpack/bootstrap","../webpack/runtime/compat get default export","../webpack/runtime/define property getters","../webpack/runtime/ensure chunk","../webpack/runtime/get javascript chunk filename","../webpack/runtime/get mini-css chunk filename","../webpack/runtime/global","../webpack/runtime/hasOwnProperty shorthand","../webpack/runtime/load script","../webpack/runtime/make namespace object","../webpack/runtime/node module decorator","../webpack/runtime/sharing","../webpack/runtime/publicPath","../webpack/runtime/consumes","../webpack/runtime/jsonp chunk loading","../webpack/runtime/nonce","../webpack/startup"],"sourcesContent":["var moduleMap = {\n\t\"./RtspCamera\": () => {\n\t\treturn Promise.all([__webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_material_mui_material\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_icons-material_mui_icons-material\"), __webpack_require__.e(\"webpack_sharing_consume_default_iobroker_vis-2-widgets-react-dev_iobroker_vis-2-widgets-react-dev\"), __webpack_require__.e(\"src_RtspCamera_jsx\")]).then(() => (() => ((__webpack_require__(3184)))));\n\t},\n\t\"./SnapshotCamera\": () => {\n\t\treturn Promise.all([__webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_material_mui_material\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_icons-material_mui_icons-material\"), __webpack_require__.e(\"webpack_sharing_consume_default_iobroker_vis-2-widgets-react-dev_iobroker_vis-2-widgets-react-dev\"), __webpack_require__.e(\"src_SnapshotCamera_jsx\")]).then(() => (() => ((__webpack_require__(7855)))));\n\t},\n\t\"./translations\": () => {\n\t\treturn __webpack_require__.e(\"src_translations_js\").then(() => (() => ((__webpack_require__(5850)))));\n\t}\n};\nvar get = (module, getScope) => {\n\t__webpack_require__.R = getScope;\n\tgetScope = (\n\t\t__webpack_require__.o(moduleMap, module)\n\t\t\t? moduleMap[module]()\n\t\t\t: Promise.resolve().then(() => {\n\t\t\t\tthrow new Error('Module \"' + module + '\" does not exist in container.');\n\t\t\t})\n\t);\n\t__webpack_require__.R = undefined;\n\treturn getScope;\n};\nvar init = (shareScope, initScope) => {\n\tif (!__webpack_require__.S) return;\n\tvar name = \"default\"\n\tvar oldScope = __webpack_require__.S[name];\n\tif(oldScope && oldScope !== shareScope) throw new Error(\"Container initialization failed as it has already been initialized with a different share scope\");\n\t__webpack_require__.S[name] = shareScope;\n\treturn __webpack_require__.I(name, initScope);\n};\n\n// This exports getters to disallow modifications\n__webpack_require__.d(exports, {\n\tget: () => (get),\n\tinit: () => (init)\n});","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// expose the module cache\n__webpack_require__.c = __webpack_module_cache__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"static/js/\" + chunkId + \".\" + {\"node_modules_iobroker_adapter-react-v5_i18n_de_json\":\"87ff3ac7\",\"node_modules_iobroker_adapter-react-v5_i18n_en_json\":\"13a4292d\",\"node_modules_iobroker_adapter-react-v5_i18n_es_json\":\"3c7029cb\",\"vendors-node_modules_iobroker_adapter-react-v5_i18n_fr_json\":\"49fd8bc0\",\"vendors-node_modules_iobroker_adapter-react-v5_i18n_it_json\":\"32a0ec6b\",\"node_modules_iobroker_adapter-react-v5_i18n_nl_json\":\"a221b4da\",\"node_modules_iobroker_adapter-react-v5_i18n_pl_json\":\"fc2262b1\",\"node_modules_iobroker_adapter-react-v5_i18n_pt_json\":\"9a5826b2\",\"node_modules_iobroker_adapter-react-v5_i18n_ru_json\":\"3a32c677\",\"node_modules_iobroker_adapter-react-v5_i18n_zh-cn_json\":\"f1a49e94\",\"vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be\":\"a1e48aa4\",\"vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be\":\"4d02f653\",\"vendors-node_modules_iobroker_adapter-react-v5_build_index_js\":\"c3b244f8\",\"node_modules_iobroker_vis-2-widgets-react-dev_index_js-_081e0\":\"602aa2f7\",\"vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83\":\"8344849e\",\"vendors-node_modules_mui_icons-material_esm_index_js\":\"8738fdfc\",\"vendors-node_modules_mui_system_esm_Grid_createGrid_js-node_modules_mui_system_esm_RtlProvide-971764\":\"fcd25086\",\"vendors-node_modules_mui_material_index_js\":\"6c911353\",\"vendors-node_modules_mui_system_esm_index_js\":\"5cd25769\",\"node_modules_prop-types_index_js\":\"94bc55cd\",\"node_modules_react-dom_client_js\":\"26e3ee66\",\"vendors-node_modules_react-dom_index_js\":\"e9feb302\",\"node_modules_react_index_js\":\"2c46f430\",\"src_RtspCamera_jsx\":\"f981189f\",\"src_SnapshotCamera_jsx\":\"5cd2e2f2\",\"src_translations_js\":\"140dc8fc\",\"node_modules_iobroker_vis-2-widgets-react-dev_index_js-_081e1\":\"2279c251\"}[chunkId] + \".chunk.js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","var inProgress = {};\nvar dataWebpackPrefix = \"iobroker.vis-2-widgets-camera:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.S = {};\nvar initPromises = {};\nvar initTokens = {};\n__webpack_require__.I = (name, initScope) => {\n\tif(!initScope) initScope = [];\n\t// handling circular init calls\n\tvar initToken = initTokens[name];\n\tif(!initToken) initToken = initTokens[name] = {};\n\tif(initScope.indexOf(initToken) >= 0) return;\n\tinitScope.push(initToken);\n\t// only runs once\n\tif(initPromises[name]) return initPromises[name];\n\t// creates a new share scope if needed\n\tif(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};\n\t// runs all init snippets from all modules reachable\n\tvar scope = __webpack_require__.S[name];\n\tvar warn = (msg) => {\n\t\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n\t};\n\tvar uniqueName = \"iobroker.vis-2-widgets-camera\";\n\tvar register = (name, version, factory, eager) => {\n\t\tvar versions = scope[name] = scope[name] || {};\n\t\tvar activeVersion = versions[version];\n\t\tif(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };\n\t};\n\tvar initExternal = (id) => {\n\t\tvar handleError = (err) => (warn(\"Initialization of sharing external failed: \" + err));\n\t\ttry {\n\t\t\tvar module = __webpack_require__(id);\n\t\t\tif(!module) return;\n\t\t\tvar initFn = (module) => (module && module.init && module.init(__webpack_require__.S[name], initScope))\n\t\t\tif(module.then) return promises.push(module.then(initFn, handleError));\n\t\t\tvar initResult = initFn(module);\n\t\t\tif(initResult && initResult.then) return promises.push(initResult['catch'](handleError));\n\t\t} catch(err) { handleError(err); }\n\t}\n\tvar promises = [];\n\tswitch(name) {\n\t\tcase \"default\": {\n\t\t\tregister(\"@iobroker/adapter-react-v5/i18n/de.json\", \"*\", () => (__webpack_require__.e(\"node_modules_iobroker_adapter-react-v5_i18n_de_json\").then(() => (() => (__webpack_require__(3123))))));\n\t\t\tregister(\"@iobroker/adapter-react-v5/i18n/en.json\", \"*\", () => (__webpack_require__.e(\"node_modules_iobroker_adapter-react-v5_i18n_en_json\").then(() => (() => (__webpack_require__(6603))))));\n\t\t\tregister(\"@iobroker/adapter-react-v5/i18n/es.json\", \"*\", () => (__webpack_require__.e(\"node_modules_iobroker_adapter-react-v5_i18n_es_json\").then(() => (() => (__webpack_require__(5148))))));\n\t\t\tregister(\"@iobroker/adapter-react-v5/i18n/fr.json\", \"*\", () => (__webpack_require__.e(\"vendors-node_modules_iobroker_adapter-react-v5_i18n_fr_json\").then(() => (() => (__webpack_require__(4176))))));\n\t\t\tregister(\"@iobroker/adapter-react-v5/i18n/it.json\", \"*\", () => (__webpack_require__.e(\"vendors-node_modules_iobroker_adapter-react-v5_i18n_it_json\").then(() => (() => (__webpack_require__(7801))))));\n\t\t\tregister(\"@iobroker/adapter-react-v5/i18n/nl.json\", \"*\", () => (__webpack_require__.e(\"node_modules_iobroker_adapter-react-v5_i18n_nl_json\").then(() => (() => (__webpack_require__(9646))))));\n\t\t\tregister(\"@iobroker/adapter-react-v5/i18n/pl.json\", \"*\", () => (__webpack_require__.e(\"node_modules_iobroker_adapter-react-v5_i18n_pl_json\").then(() => (() => (__webpack_require__(1356))))));\n\t\t\tregister(\"@iobroker/adapter-react-v5/i18n/pt.json\", \"*\", () => (__webpack_require__.e(\"node_modules_iobroker_adapter-react-v5_i18n_pt_json\").then(() => (() => (__webpack_require__(324))))));\n\t\t\tregister(\"@iobroker/adapter-react-v5/i18n/ru.json\", \"*\", () => (__webpack_require__.e(\"node_modules_iobroker_adapter-react-v5_i18n_ru_json\").then(() => (() => (__webpack_require__(7629))))));\n\t\t\tregister(\"@iobroker/adapter-react-v5/i18n/zh-cn.json\", \"*\", () => (__webpack_require__.e(\"node_modules_iobroker_adapter-react-v5_i18n_zh-cn_json\").then(() => (() => (__webpack_require__(9156))))));\n\t\t\tregister(\"@iobroker/adapter-react-v5\", \"*\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be\"), __webpack_require__.e(\"vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be\"), __webpack_require__.e(\"vendors-node_modules_iobroker_adapter-react-v5_build_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_system_mui_system\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_material_mui_material\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_icons-material_mui_icons-material\")]).then(() => (() => (__webpack_require__(8475))))));\n\t\t\tregister(\"@iobroker/vis-2-widgets-react-dev\", \"*\", () => (Promise.all([__webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_material_mui_material\"), __webpack_require__.e(\"webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5\"), __webpack_require__.e(\"node_modules_iobroker_vis-2-widgets-react-dev_index_js-_081e0\")]).then(() => (() => (__webpack_require__(8835))))));\n\t\t\tregister(\"@mui/icons-material\", \"*\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be\"), __webpack_require__.e(\"vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83\"), __webpack_require__.e(\"vendors-node_modules_mui_icons-material_esm_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_system_mui_system\")]).then(() => (() => (__webpack_require__(6157))))));\n\t\t\tregister(\"@mui/material\", \"*\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be\"), __webpack_require__.e(\"vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_Grid_createGrid_js-node_modules_mui_system_esm_RtlProvide-971764\"), __webpack_require__.e(\"vendors-node_modules_mui_material_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_system_mui_system\"), __webpack_require__.e(\"webpack_sharing_consume_default_react-dom_react-dom\")]).then(() => (() => (__webpack_require__(8705))))));\n\t\t\tregister(\"@mui/system\", \"*\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_Grid_createGrid_js-node_modules_mui_system_esm_RtlProvide-971764\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\")]).then(() => (() => (__webpack_require__(1774))))));\n\t\t\tregister(\"prop-types\", \"*\", () => (__webpack_require__.e(\"node_modules_prop-types_index_js\").then(() => (() => (__webpack_require__(5173))))));\n\t\t\tregister(\"react-dom/client\", \"*\", () => (Promise.all([__webpack_require__.e(\"webpack_sharing_consume_default_react-dom_react-dom\"), __webpack_require__.e(\"node_modules_react-dom_client_js\")]).then(() => (() => (__webpack_require__(4391))))));\n\t\t\tregister(\"react-dom\", \"*\", () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_react-dom_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\")]).then(() => (() => (__webpack_require__(7950))))));\n\t\t\tregister(\"react\", \"*\", () => (__webpack_require__.e(\"node_modules_react_index_js\").then(() => (() => (__webpack_require__(5043))))));\n\t\t}\n\t\tbreak;\n\t}\n\tif(!promises.length) return initPromises[name] = 1;\n\treturn initPromises[name] = Promise.all(promises).then(() => (initPromises[name] = 1));\n};","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\n\t\tscriptUrl = document.currentScript.src;\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) {\n\t\t\tvar i = scripts.length - 1;\n\t\t\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\n\t\t}\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","var parseVersion = (str) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar p=p=>{return p.split(\".\").map((p=>{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;\n}\nvar versionLt = (a, b) => {\n\t// see webpack/lib/util/semver.js for original code\n\ta=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r=b.length)return\"u\"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return\"o\"==n&&\"n\"==f||(\"s\"==f||\"u\"==n);if(\"o\"!=n&&\"u\"!=n&&e!=t)return e {\n\t// see webpack/lib/util/semver.js for original code\n\tvar r=range[0],n=\"\";if(1===range.length)return\"*\";if(r+.5){n+=0==r?\">=\":-1==r?\"<\":1==r?\"^\":2==r?\"~\":r>0?\"=\":\"!=\";for(var e=1,a=1;a0?\".\":\"\")+(e=2,t)}return n}var g=[];for(a=1;a {\n\t// see webpack/lib/util/semver.js for original code\n\tif(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i=version.length||\"o\"==(s=(typeof(f=version[n]))[0]))return!a||(\"u\"==g?i>e&&!r:\"\"==g!=r);if(\"u\"==s){if(!a||\"u\"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f {\n\treturn scope && __webpack_require__.o(scope, key);\n}\nvar get = (entry) => {\n\tentry.loaded = 1;\n\treturn entry.get()\n};\nvar eagerOnly = (versions) => {\n\treturn Object.keys(versions).reduce((filtered, version) => {\n\t\t\tif (versions[version].eager) {\n\t\t\t\tfiltered[version] = versions[version];\n\t\t\t}\n\t\t\treturn filtered;\n\t}, {});\n};\nvar findLatestVersion = (scope, key, eager) => {\n\tvar versions = eager ? eagerOnly(scope[key]) : scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key];\n};\nvar findSatisfyingVersion = (scope, key, requiredVersion, eager) => {\n\tvar versions = eager ? eagerOnly(scope[key]) : scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\tif (!satisfy(requiredVersion, b)) return a;\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar findSingletonVersionKey = (scope, key, eager) => {\n\tvar versions = eager ? eagerOnly(scope[key]) : scope[key];\n\treturn Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;\n\t}, 0);\n};\nvar getInvalidSingletonVersionMessage = (scope, key, version, requiredVersion) => {\n\treturn \"Unsatisfied version \" + version + \" from \" + (version && scope[key][version].from) + \" of shared singleton module \" + key + \" (required \" + rangeToString(requiredVersion) + \")\"\n};\nvar getInvalidVersionMessage = (scope, scopeName, key, requiredVersion, eager) => {\n\tvar versions = scope[key];\n\treturn \"No satisfying version (\" + rangeToString(requiredVersion) + \")\" + (eager ? \" for eager consumption\" : \"\") + \" of shared module \" + key + \" found in shared scope \" + scopeName + \".\\n\" +\n\t\t\"Available versions: \" + Object.keys(versions).map((key) => {\n\t\treturn key + \" from \" + versions[key].from;\n\t}).join(\", \");\n};\nvar fail = (msg) => {\n\tthrow new Error(msg);\n}\nvar failAsNotExist = (scopeName, key) => {\n\treturn fail(\"Shared module \" + key + \" doesn't exist in shared scope \" + scopeName);\n}\nvar warn = /*#__PURE__*/ (msg) => {\n\tif (typeof console !== \"undefined\" && console.warn) console.warn(msg);\n};\nvar init = (fn) => (function(scopeName, key, eager, c, d) {\n\tvar promise = __webpack_require__.I(scopeName);\n\tif (promise && promise.then && !eager) {\n\t\treturn promise.then(fn.bind(fn, scopeName, __webpack_require__.S[scopeName], key, false, c, d));\n\t}\n\treturn fn(scopeName, __webpack_require__.S[scopeName], key, eager, c, d);\n});\n\nvar useFallback = (scopeName, key, fallback) => {\n\treturn fallback ? fallback() : failAsNotExist(scopeName, key);\n}\nvar load = /*#__PURE__*/ init((scopeName, scope, key, eager, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\treturn get(findLatestVersion(scope, key, eager));\n});\nvar loadVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar satisfyingVersion = findSatisfyingVersion(scope, key, requiredVersion, eager);\n\tif (satisfyingVersion) return get(satisfyingVersion);\n\twarn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion, eager))\n\treturn get(findLatestVersion(scope, key, eager));\n});\nvar loadStrictVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar satisfyingVersion = findSatisfyingVersion(scope, key, requiredVersion, eager);\n\tif (satisfyingVersion) return get(satisfyingVersion);\n\tif (fallback) return fallback();\n\tfail(getInvalidVersionMessage(scope, scopeName, key, requiredVersion, eager));\n});\nvar loadSingleton = /*#__PURE__*/ init((scopeName, scope, key, eager, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar version = findSingletonVersionKey(scope, key, eager);\n\treturn get(scope[key][version]);\n});\nvar loadSingletonVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar version = findSingletonVersionKey(scope, key, eager);\n\tif (!satisfy(requiredVersion, version)) {\n\t\twarn(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\t}\n\treturn get(scope[key][version]);\n});\nvar loadStrictSingletonVersion = /*#__PURE__*/ init((scopeName, scope, key, eager, requiredVersion, fallback) => {\n\tif (!exists(scope, key)) return useFallback(scopeName, key, fallback);\n\tvar version = findSingletonVersionKey(scope, key, eager);\n\tif (!satisfy(requiredVersion, version)) {\n\t\tfail(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\t}\n\treturn get(scope[key][version]);\n});\nvar installedModules = {};\nvar moduleToHandlerMapping = {\n\t8437: () => (loadSingletonVersion(\"default\", \"react\", false, [0], () => (__webpack_require__.e(\"node_modules_react_index_js\").then(() => (() => (__webpack_require__(5043))))))),\n\t5973: () => (loadSingletonVersion(\"default\", \"prop-types\", false, [0], () => (__webpack_require__.e(\"node_modules_prop-types_index_js\").then(() => (() => (__webpack_require__(5173))))))),\n\t8565: () => (loadSingletonVersion(\"default\", \"@mui/system\", false, [0], () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_Grid_createGrid_js-node_modules_mui_system_esm_RtlProvide-971764\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_index_js\")]).then(() => (() => (__webpack_require__(1774))))))),\n\t7085: () => (loadSingletonVersion(\"default\", \"@mui/material\", false, [0], () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be\"), __webpack_require__.e(\"vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_Grid_createGrid_js-node_modules_mui_system_esm_RtlProvide-971764\"), __webpack_require__.e(\"vendors-node_modules_mui_material_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_system_mui_system\"), __webpack_require__.e(\"webpack_sharing_consume_default_react-dom_react-dom\")]).then(() => (() => (__webpack_require__(8705))))))),\n\t1839: () => (loadSingletonVersion(\"default\", \"@mui/icons-material\", false, [0], () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be\"), __webpack_require__.e(\"vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be\"), __webpack_require__.e(\"vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83\"), __webpack_require__.e(\"vendors-node_modules_mui_icons-material_esm_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_system_mui_system\")]).then(() => (() => (__webpack_require__(6157))))))),\n\t5636: () => (loadSingletonVersion(\"default\", \"@iobroker/adapter-react-v5\", false, [0], () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be\"), __webpack_require__.e(\"vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be\"), __webpack_require__.e(\"vendors-node_modules_iobroker_adapter-react-v5_build_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_prop-types_prop-types\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_system_mui_system\"), __webpack_require__.e(\"webpack_sharing_consume_default_mui_icons-material_mui_icons-material\")]).then(() => (() => (__webpack_require__(8475))))))),\n\t3479: () => (loadSingletonVersion(\"default\", \"react-dom\", false, [0], () => (Promise.all([__webpack_require__.e(\"vendors-node_modules_react-dom_index_js\"), __webpack_require__.e(\"webpack_sharing_consume_default_react_react\")]).then(() => (() => (__webpack_require__(7950))))))),\n\t5301: () => (loadSingletonVersion(\"default\", \"@iobroker/vis-2-widgets-react-dev\", false, [0], () => (Promise.all([__webpack_require__.e(\"webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5\"), __webpack_require__.e(\"node_modules_iobroker_vis-2-widgets-react-dev_index_js-_081e1\")]).then(() => (() => (__webpack_require__(8835)))))))\n};\n// no consumes in initial chunks\nvar chunkMapping = {\n\t\"webpack_sharing_consume_default_react_react\": [\n\t\t8437\n\t],\n\t\"webpack_sharing_consume_default_prop-types_prop-types\": [\n\t\t5973\n\t],\n\t\"webpack_sharing_consume_default_mui_system_mui_system\": [\n\t\t8565\n\t],\n\t\"webpack_sharing_consume_default_mui_material_mui_material\": [\n\t\t7085\n\t],\n\t\"webpack_sharing_consume_default_mui_icons-material_mui_icons-material\": [\n\t\t1839\n\t],\n\t\"webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5\": [\n\t\t5636\n\t],\n\t\"webpack_sharing_consume_default_react-dom_react-dom\": [\n\t\t3479\n\t],\n\t\"webpack_sharing_consume_default_iobroker_vis-2-widgets-react-dev_iobroker_vis-2-widgets-react-dev\": [\n\t\t5301\n\t]\n};\nvar startedInstallModules = {};\n__webpack_require__.f.consumes = (chunkId, promises) => {\n\tif(__webpack_require__.o(chunkMapping, chunkId)) {\n\t\tchunkMapping[chunkId].forEach((id) => {\n\t\t\tif(__webpack_require__.o(installedModules, id)) return promises.push(installedModules[id]);\n\t\t\tif(!startedInstallModules[id]) {\n\t\t\tvar onFactory = (factory) => {\n\t\t\t\tinstalledModules[id] = 0;\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tmodule.exports = factory();\n\t\t\t\t}\n\t\t\t};\n\t\t\tstartedInstallModules[id] = true;\n\t\t\tvar onError = (error) => {\n\t\t\t\tdelete installedModules[id];\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tthrow error;\n\t\t\t\t}\n\t\t\t};\n\t\t\ttry {\n\t\t\t\tvar promise = moduleToHandlerMapping[id]();\n\t\t\t\tif(promise.then) {\n\t\t\t\t\tpromises.push(installedModules[id] = promise.then(onFactory)['catch'](onError));\n\t\t\t\t} else onFactory(promise);\n\t\t\t} catch(e) { onError(e); }\n\t\t\t}\n\t\t});\n\t}\n}","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t\"vis2CameraWidgets\": 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(!/^webpack_sharing_consume_default_(iobroker_(adapter\\-react\\-v5_iobroker_adapter\\-react\\-v5|vis\\-2\\-widgets\\-react\\-dev_iobroker_vis\\-2\\-widgets\\-react\\-dev)|mui_((icons\\-material_mui_icons\\-|material_mui_)material|system_mui_system)|react(\\-dom_react\\-dom|_react)|prop\\-types_prop\\-types)$/.test(chunkId)) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkiobroker_vis_2_widgets_camera\"] = self[\"webpackChunkiobroker_vis_2_widgets_camera\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","__webpack_require__.nc = undefined;","// module cache are used so entry inlining is disabled\n// startup\n// Load entry module and return exports\nvar __webpack_exports__ = __webpack_require__(7434);\n"],"names":["moduleMap","Promise","all","__webpack_require__","e","then","get","module","getScope","R","o","resolve","Error","undefined","init","shareScope","initScope","S","name","oldScope","I","d","exports","__webpack_module_cache__","moduleId","cachedModule","id","loaded","__webpack_modules__","call","m","c","n","getter","__esModule","a","definition","key","Object","defineProperty","enumerable","f","chunkId","keys","reduce","promises","u","miniCssF","g","globalThis","this","Function","window","obj","prop","prototype","hasOwnProperty","inProgress","dataWebpackPrefix","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","i","length","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","fn","setTimeout","bind","type","target","head","appendChild","r","Symbol","toStringTag","value","nmd","paths","children","initPromises","initTokens","initToken","indexOf","scope","uniqueName","register","version","factory","eager","versions","activeVersion","from","scriptUrl","importScripts","location","currentScript","tagName","toUpperCase","test","replace","p","parseVersion","str","split","map","exec","apply","versionLt","b","t","rangeToString","range","pop","satisfy","exists","entry","eagerOnly","filtered","findSingletonVersionKey","getInvalidSingletonVersionMessage","requiredVersion","fail","msg","warn","console","scopeName","promise","useFallback","fallback","failAsNotExist","loadSingletonVersion","installedModules","moduleToHandlerMapping","chunkMapping","startedInstallModules","consumes","onFactory","onError","error","installedChunks","j","installedChunkData","reject","errorType","realSrc","message","request","webpackJsonpCallback","parentChunkLoadingFunction","data","chunkIds","moreModules","runtime","some","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file diff --git a/widgets/cameras/i18n/en.json b/widgets/cameras/i18n/en.json index 99bbd69..b52ed87 100644 --- a/widgets/cameras/i18n/en.json +++ b/widgets/cameras/i18n/en.json @@ -8,7 +8,7 @@ "Camera": "Camera", "Close": "Close", "videoWidth": "Video width", - "tooltip_videoWidth": "Do not set width of video too hight to save broadband. It is for both: small and full videos. If not set, the initial size of widget will be taken.", + "tooltip_videoWidth": "Do not set width of video too high to save broadband. It is for both: small and full videos. If not set, the initial size of widget will be taken.", "Camera instance %s inactive": "Camera instance %s inactive", "disabled": "disabled", "pollingInterval": "Polling interval", diff --git a/widgets/cameras/static/js/main.1b47b6c5.js b/widgets/cameras/static/js/main.1d57e13d.js similarity index 99% rename from widgets/cameras/static/js/main.1b47b6c5.js rename to widgets/cameras/static/js/main.1d57e13d.js index 8fdf232..269e8d3 100644 --- a/widgets/cameras/static/js/main.1b47b6c5.js +++ b/widgets/cameras/static/js/main.1d57e13d.js @@ -1,2 +1,2 @@ -(()=>{var e={7868:(e,_,r)=>{Promise.all([r.e("vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be"),r.e("vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be"),r.e("webpack_sharing_consume_default_react_react"),r.e("webpack_sharing_consume_default_prop-types_prop-types"),r.e("webpack_sharing_consume_default_mui_system_mui_system"),r.e("webpack_sharing_consume_default_mui_material_mui_material"),r.e("webpack_sharing_consume_default_mui_icons-material_mui_icons-material"),r.e("webpack_sharing_consume_default_iobroker_vis-2-widgets-react-dev_iobroker_vis-2-widgets-react-dev"),r.e("webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5"),r.e("src_bootstrap_js")]).then(r.bind(r,5585))}},_={};function r(o){var s=_[o];if(void 0!==s)return s.exports;var a=_[o]={id:o,loaded:!1,exports:{}};return e[o].call(a.exports,a,a.exports,r),a.loaded=!0,a.exports}r.m=e,r.c=_,r.n=e=>{var _=e&&e.__esModule?()=>e.default:()=>e;return r.d(_,{a:_}),_},r.d=(e,_)=>{for(var o in _)r.o(_,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:_[o]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((_,o)=>(r.f[o](e,_),_)),[])),r.u=e=>"static/js/"+e+"."+{"vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be":"a1e48aa4","vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be":"4d02f653",src_bootstrap_js:"bdd07d8e","node_modules_iobroker_adapter-react-v5_i18n_de_json":"87ff3ac7","node_modules_iobroker_adapter-react-v5_i18n_en_json":"13a4292d","node_modules_iobroker_adapter-react-v5_i18n_es_json":"3c7029cb","vendors-node_modules_iobroker_adapter-react-v5_i18n_fr_json":"49fd8bc0","vendors-node_modules_iobroker_adapter-react-v5_i18n_it_json":"32a0ec6b","node_modules_iobroker_adapter-react-v5_i18n_nl_json":"a221b4da","node_modules_iobroker_adapter-react-v5_i18n_pl_json":"fc2262b1","node_modules_iobroker_adapter-react-v5_i18n_pt_json":"9a5826b2","node_modules_iobroker_adapter-react-v5_i18n_ru_json":"3a32c677","node_modules_iobroker_adapter-react-v5_i18n_zh-cn_json":"f1a49e94","vendors-node_modules_iobroker_adapter-react-v5_build_index_js":"c3b244f8","node_modules_iobroker_vis-2-widgets-react-dev_index_js-_081e0":"602aa2f7","vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83":"8344849e","vendors-node_modules_mui_icons-material_esm_index_js":"8738fdfc","vendors-node_modules_mui_system_esm_Grid_createGrid_js-node_modules_mui_system_esm_RtlProvide-971764":"fcd25086","vendors-node_modules_mui_material_index_js":"6c911353","vendors-node_modules_mui_system_esm_index_js":"5cd25769","node_modules_prop-types_index_js":"94bc55cd","node_modules_react-dom_client_js":"26e3ee66","vendors-node_modules_react-dom_index_js":"e9feb302",node_modules_react_index_js:"2c46f430","node_modules_iobroker_vis-2-widgets-react-dev_index_js-_081e1":"2279c251"}[e]+".chunk.js",r.miniCssF=e=>{},r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),r.o=(e,_)=>Object.prototype.hasOwnProperty.call(e,_),(()=>{var e={},_="iobroker.vis-2-widgets-camera:";r.l=(o,s,a,t)=>{if(e[o])e[o].push(s);else{var n,d;if(void 0!==a)for(var i=document.getElementsByTagName("script"),m=0;m{n.onerror=n.onload=null,clearTimeout(c);var s=e[o];if(delete e[o],n.parentNode&&n.parentNode.removeChild(n),s&&s.forEach((e=>e(r))),_)return _(r)},c=setTimeout(l.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=l.bind(null,n.onerror),n.onload=l.bind(null,n.onload),d&&document.head.appendChild(n)}}})(),r.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{r.S={};var e={},_={};r.I=(o,s)=>{s||(s=[]);var a=_[o];if(a||(a=_[o]={}),!(s.indexOf(a)>=0)){if(s.push(a),e[o])return e[o];r.o(r.S,o)||(r.S[o]={});var t=r.S[o],n="iobroker.vis-2-widgets-camera",d=(e,_,r,o)=>{var s=t[e]=t[e]||{},a=s[_];(!a||!a.loaded&&(!o!=!a.eager?o:n>a.from))&&(s[_]={get:r,from:n,eager:!!o})},i=[];if("default"===o)d("@iobroker/adapter-react-v5/i18n/de.json","*",(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_de_json").then((()=>()=>r(3123))))),d("@iobroker/adapter-react-v5/i18n/en.json","*",(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_en_json").then((()=>()=>r(6603))))),d("@iobroker/adapter-react-v5/i18n/es.json","*",(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_es_json").then((()=>()=>r(5148))))),d("@iobroker/adapter-react-v5/i18n/fr.json","*",(()=>r.e("vendors-node_modules_iobroker_adapter-react-v5_i18n_fr_json").then((()=>()=>r(4176))))),d("@iobroker/adapter-react-v5/i18n/it.json","*",(()=>r.e("vendors-node_modules_iobroker_adapter-react-v5_i18n_it_json").then((()=>()=>r(7801))))),d("@iobroker/adapter-react-v5/i18n/nl.json","*",(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_nl_json").then((()=>()=>r(9646))))),d("@iobroker/adapter-react-v5/i18n/pl.json","*",(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_pl_json").then((()=>()=>r(1356))))),d("@iobroker/adapter-react-v5/i18n/pt.json","*",(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_pt_json").then((()=>()=>r(324))))),d("@iobroker/adapter-react-v5/i18n/ru.json","*",(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_ru_json").then((()=>()=>r(7629))))),d("@iobroker/adapter-react-v5/i18n/zh-cn.json","*",(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_zh-cn_json").then((()=>()=>r(9156))))),d("@iobroker/adapter-react-v5","*",(()=>Promise.all([r.e("vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be"),r.e("vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be"),r.e("vendors-node_modules_iobroker_adapter-react-v5_build_index_js"),r.e("webpack_sharing_consume_default_react_react"),r.e("webpack_sharing_consume_default_prop-types_prop-types"),r.e("webpack_sharing_consume_default_mui_system_mui_system"),r.e("webpack_sharing_consume_default_mui_material_mui_material"),r.e("webpack_sharing_consume_default_mui_icons-material_mui_icons-material")]).then((()=>()=>r(8475))))),d("@iobroker/vis-2-widgets-react-dev","*",(()=>Promise.all([r.e("webpack_sharing_consume_default_react_react"),r.e("webpack_sharing_consume_default_mui_material_mui_material"),r.e("webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5"),r.e("node_modules_iobroker_vis-2-widgets-react-dev_index_js-_081e0")]).then((()=>()=>r(8835))))),d("@mui/icons-material","*",(()=>Promise.all([r.e("vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be"),r.e("vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be"),r.e("vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83"),r.e("vendors-node_modules_mui_icons-material_esm_index_js"),r.e("webpack_sharing_consume_default_react_react"),r.e("webpack_sharing_consume_default_prop-types_prop-types"),r.e("webpack_sharing_consume_default_mui_system_mui_system")]).then((()=>()=>r(6157))))),d("@mui/material","*",(()=>Promise.all([r.e("vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be"),r.e("vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be"),r.e("vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83"),r.e("vendors-node_modules_mui_system_esm_Grid_createGrid_js-node_modules_mui_system_esm_RtlProvide-971764"),r.e("vendors-node_modules_mui_material_index_js"),r.e("webpack_sharing_consume_default_react_react"),r.e("webpack_sharing_consume_default_prop-types_prop-types"),r.e("webpack_sharing_consume_default_mui_system_mui_system"),r.e("webpack_sharing_consume_default_react-dom_react-dom")]).then((()=>()=>r(8705))))),d("@mui/system","*",(()=>Promise.all([r.e("vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be"),r.e("vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83"),r.e("vendors-node_modules_mui_system_esm_Grid_createGrid_js-node_modules_mui_system_esm_RtlProvide-971764"),r.e("vendors-node_modules_mui_system_esm_index_js"),r.e("webpack_sharing_consume_default_react_react"),r.e("webpack_sharing_consume_default_prop-types_prop-types")]).then((()=>()=>r(1774))))),d("prop-types","*",(()=>r.e("node_modules_prop-types_index_js").then((()=>()=>r(5173))))),d("react-dom/client","*",(()=>Promise.all([r.e("webpack_sharing_consume_default_react-dom_react-dom"),r.e("node_modules_react-dom_client_js")]).then((()=>()=>r(4391))))),d("react-dom","*",(()=>Promise.all([r.e("vendors-node_modules_react-dom_index_js"),r.e("webpack_sharing_consume_default_react_react")]).then((()=>()=>r(7950))))),d("react","*",(()=>r.e("node_modules_react_index_js").then((()=>()=>r(5043)))));return i.length?e[o]=Promise.all(i).then((()=>e[o]=1)):e[o]=1}}})(),(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var _=r.g.document;if(!e&&_&&(_.currentScript&&"SCRIPT"===_.currentScript.tagName.toUpperCase()&&(e=_.currentScript.src),!e)){var o=_.getElementsByTagName("script");if(o.length)for(var s=o.length-1;s>-1&&(!e||!/^http(s?):/.test(e));)e=o[s--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e+"../../"})(),(()=>{var e=e=>{var _=e=>e.split(".").map((e=>+e==e?+e:e)),r=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),o=r[1]?_(r[1]):[];return r[2]&&(o.length++,o.push.apply(o,_(r[2]))),r[3]&&(o.push([]),o.push.apply(o,_(r[3]))),o},_=(_,r)=>{_=e(_),r=e(r);for(var o=0;;){if(o>=_.length)return o=r.length)return"u"==a;var t=r[o],n=(typeof t)[0];if(a!=n)return"o"==a&&"n"==n||"s"==n||"u"==a;if("o"!=a&&"u"!=a&&s!=t)return s{var _=e[0],r="";if(1===e.length)return"*";if(_+.5){r+=0==_?">=":-1==_?"<":1==_?"^":2==_?"~":_>0?"=":"!=";for(var s=1,a=1;a0?".":"")+(s=2,n);return r}var t=[];for(a=1;a{if(0 in _){r=e(r);var o=_[0],a=o<0;a&&(o=-o-1);for(var t=0,n=1,d=!0;;n++,t++){var i,m,u=n<_.length?(typeof _[n])[0]:"";if(t>=r.length||"o"==(m=(typeof(i=r[t]))[0]))return!d||("u"==u?n>o&&!a:""==u!=a);if("u"==m){if(!d||"u"!=u)return!1}else if(d)if(u==m)if(n<=o){if(i!=_[n])return!1}else{if(a?i>_[n]:i<_[n])return!1;i!=_[n]&&(d=!1)}else if("s"!=u&&"n"!=u){if(a||n<=o)return!1;d=!1,n--}else{if(n<=o||me&&r.o(e,_),t=e=>(e.loaded=1,e.get()),n=e=>Object.keys(e).reduce(((_,r)=>(e[r].eager&&(_[r]=e[r]),_)),{}),d=(e,r,o)=>{var s=o?n(e[r]):e[r];return Object.keys(s).reduce(((e,r)=>!e||!s[e].loaded&&_(e,r)?r:e),0)},i=(e,_,r,s)=>"Unsatisfied version "+r+" from "+(r&&e[_][r].from)+" of shared singleton module "+_+" (required "+o(s)+")",m=e=>{throw new Error(e)},u=e=>{"undefined"!==typeof console&&console.warn&&console.warn(e)},l=e=>function(_,o,s,a,t){var n=r.I(_);return n&&n.then&&!s?n.then(e.bind(e,_,r.S[_],o,!1,a,t)):e(_,r.S[_],o,s,a,t)},c=(e,_,r)=>r?r():((e,_)=>m("Shared module "+_+" doesn't exist in shared scope "+e))(e,_),p=l(((e,_,r,o,n,m)=>{if(!a(_,r))return c(e,r,m);var l=d(_,r,o);return s(n,l)||u(i(_,r,l,n)),t(_[r][l])})),v={},b={8437:()=>p("default","react",!1,[0],(()=>r.e("node_modules_react_index_js").then((()=>()=>r(5043))))),5973:()=>p("default","prop-types",!1,[0],(()=>r.e("node_modules_prop-types_index_js").then((()=>()=>r(5173))))),8565:()=>p("default","@mui/system",!1,[0],(()=>Promise.all([r.e("vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83"),r.e("vendors-node_modules_mui_system_esm_Grid_createGrid_js-node_modules_mui_system_esm_RtlProvide-971764"),r.e("vendors-node_modules_mui_system_esm_index_js")]).then((()=>()=>r(1774))))),7085:()=>p("default","@mui/material",!1,[0],(()=>Promise.all([r.e("vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be"),r.e("vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be"),r.e("vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83"),r.e("vendors-node_modules_mui_system_esm_Grid_createGrid_js-node_modules_mui_system_esm_RtlProvide-971764"),r.e("vendors-node_modules_mui_material_index_js"),r.e("webpack_sharing_consume_default_prop-types_prop-types"),r.e("webpack_sharing_consume_default_mui_system_mui_system"),r.e("webpack_sharing_consume_default_react-dom_react-dom")]).then((()=>()=>r(8705))))),1839:()=>p("default","@mui/icons-material",!1,[0],(()=>Promise.all([r.e("vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be"),r.e("vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be"),r.e("vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83"),r.e("vendors-node_modules_mui_icons-material_esm_index_js"),r.e("webpack_sharing_consume_default_mui_system_mui_system")]).then((()=>()=>r(6157))))),5301:()=>p("default","@iobroker/vis-2-widgets-react-dev",!1,[0],(()=>Promise.all([r.e("webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5"),r.e("node_modules_iobroker_vis-2-widgets-react-dev_index_js-_081e1")]).then((()=>()=>r(8835))))),5636:()=>p("default","@iobroker/adapter-react-v5",!1,[0],(()=>Promise.all([r.e("vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be"),r.e("vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be"),r.e("vendors-node_modules_iobroker_adapter-react-v5_build_index_js"),r.e("webpack_sharing_consume_default_prop-types_prop-types"),r.e("webpack_sharing_consume_default_mui_system_mui_system"),r.e("webpack_sharing_consume_default_mui_icons-material_mui_icons-material")]).then((()=>()=>r(8475))))),6820:()=>p("default","react-dom/client",!1,[0],(()=>Promise.all([r.e("webpack_sharing_consume_default_react-dom_react-dom"),r.e("node_modules_react-dom_client_js")]).then((()=>()=>r(4391))))),6611:()=>p("default","@iobroker/adapter-react-v5/i18n/en.json",!1,[0],(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_en_json").then((()=>()=>r(6603))))),4463:()=>p("default","@iobroker/adapter-react-v5/i18n/de.json",!1,[0],(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_de_json").then((()=>()=>r(3123))))),4279:()=>p("default","@iobroker/adapter-react-v5/i18n/ru.json",!1,[0],(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_ru_json").then((()=>()=>r(7629))))),6669:()=>p("default","@iobroker/adapter-react-v5/i18n/pt.json",!1,[0],(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_pt_json").then((()=>()=>r(324))))),1285:()=>p("default","@iobroker/adapter-react-v5/i18n/nl.json",!1,[0],(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_nl_json").then((()=>()=>r(9646))))),2925:()=>p("default","@iobroker/adapter-react-v5/i18n/fr.json",!1,[0],(()=>r.e("vendors-node_modules_iobroker_adapter-react-v5_i18n_fr_json").then((()=>()=>r(4176))))),2243:()=>p("default","@iobroker/adapter-react-v5/i18n/it.json",!1,[0],(()=>r.e("vendors-node_modules_iobroker_adapter-react-v5_i18n_it_json").then((()=>()=>r(7801))))),8137:()=>p("default","@iobroker/adapter-react-v5/i18n/es.json",!1,[0],(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_es_json").then((()=>()=>r(5148))))),6189:()=>p("default","@iobroker/adapter-react-v5/i18n/pl.json",!1,[0],(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_pl_json").then((()=>()=>r(1356))))),2717:()=>p("default","@iobroker/adapter-react-v5/i18n/zh-cn.json",!1,[0],(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_zh-cn_json").then((()=>()=>r(9156))))),3479:()=>p("default","react-dom",!1,[0],(()=>Promise.all([r.e("vendors-node_modules_react-dom_index_js"),r.e("webpack_sharing_consume_default_react_react")]).then((()=>()=>r(7950)))))},f={webpack_sharing_consume_default_react_react:[8437],"webpack_sharing_consume_default_prop-types_prop-types":[5973],webpack_sharing_consume_default_mui_system_mui_system:[8565],webpack_sharing_consume_default_mui_material_mui_material:[7085],"webpack_sharing_consume_default_mui_icons-material_mui_icons-material":[1839],"webpack_sharing_consume_default_iobroker_vis-2-widgets-react-dev_iobroker_vis-2-widgets-react-dev":[5301],"webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5":[5636],src_bootstrap_js:[6820,6611,4463,4279,6669,1285,2925,2243,8137,6189,2717],"webpack_sharing_consume_default_react-dom_react-dom":[3479]},h={};r.f.consumes=(e,_)=>{r.o(f,e)&&f[e].forEach((e=>{if(r.o(v,e))return _.push(v[e]);if(!h[e]){var o=_=>{v[e]=0,r.m[e]=o=>{delete r.c[e],o.exports=_()}};h[e]=!0;var s=_=>{delete v[e],r.m[e]=o=>{throw delete r.c[e],_}};try{var a=b[e]();a.then?_.push(v[e]=a.then(o).catch(s)):o(a)}catch(t){s(t)}}}))}})(),(()=>{var e={main:0};r.f.j=(_,o)=>{var s=r.o(e,_)?e[_]:void 0;if(0!==s)if(s)o.push(s[2]);else if(/^webpack_sharing_consume_default_(iobroker_(adapter\-react\-v5_iobroker_adapter\-react\-v5|vis\-2\-widgets\-react\-dev_iobroker_vis\-2\-widgets\-react\-dev)|mui_((icons\-material_mui_icons\-|material_mui_)material|system_mui_system)|react(\-dom_react\-dom|_react)|prop\-types_prop\-types)$/.test(_))e[_]=0;else{var a=new Promise(((r,o)=>s=e[_]=[r,o]));o.push(s[2]=a);var t=r.p+r.u(_),n=new Error;r.l(t,(o=>{if(r.o(e,_)&&(0!==(s=e[_])&&(e[_]=void 0),s)){var a=o&&("load"===o.type?"missing":o.type),t=o&&o.target&&o.target.src;n.message="Loading chunk "+_+" failed.\n("+a+": "+t+")",n.name="ChunkLoadError",n.type=a,n.request=t,s[1](n)}}),"chunk-"+_,_)}};var _=(_,o)=>{var s,a,t=o[0],n=o[1],d=o[2],i=0;if(t.some((_=>0!==e[_]))){for(s in n)r.o(n,s)&&(r.m[s]=n[s]);if(d)d(r)}for(_&&_(o);i{var e={7868:(e,_,r)=>{Promise.all([r.e("vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be"),r.e("vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be"),r.e("webpack_sharing_consume_default_react_react"),r.e("webpack_sharing_consume_default_prop-types_prop-types"),r.e("webpack_sharing_consume_default_mui_system_mui_system"),r.e("webpack_sharing_consume_default_mui_material_mui_material"),r.e("webpack_sharing_consume_default_mui_icons-material_mui_icons-material"),r.e("webpack_sharing_consume_default_iobroker_vis-2-widgets-react-dev_iobroker_vis-2-widgets-react-dev"),r.e("webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5"),r.e("src_bootstrap_js")]).then(r.bind(r,5585))}},_={};function r(o){var s=_[o];if(void 0!==s)return s.exports;var a=_[o]={id:o,loaded:!1,exports:{}};return e[o].call(a.exports,a,a.exports,r),a.loaded=!0,a.exports}r.m=e,r.c=_,r.n=e=>{var _=e&&e.__esModule?()=>e.default:()=>e;return r.d(_,{a:_}),_},r.d=(e,_)=>{for(var o in _)r.o(_,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:_[o]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((_,o)=>(r.f[o](e,_),_)),[])),r.u=e=>"static/js/"+e+"."+{"vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be":"a1e48aa4","vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be":"4d02f653",src_bootstrap_js:"598de3c9","node_modules_iobroker_adapter-react-v5_i18n_de_json":"87ff3ac7","node_modules_iobroker_adapter-react-v5_i18n_en_json":"13a4292d","node_modules_iobroker_adapter-react-v5_i18n_es_json":"3c7029cb","vendors-node_modules_iobroker_adapter-react-v5_i18n_fr_json":"49fd8bc0","vendors-node_modules_iobroker_adapter-react-v5_i18n_it_json":"32a0ec6b","node_modules_iobroker_adapter-react-v5_i18n_nl_json":"a221b4da","node_modules_iobroker_adapter-react-v5_i18n_pl_json":"fc2262b1","node_modules_iobroker_adapter-react-v5_i18n_pt_json":"9a5826b2","node_modules_iobroker_adapter-react-v5_i18n_ru_json":"3a32c677","node_modules_iobroker_adapter-react-v5_i18n_zh-cn_json":"f1a49e94","vendors-node_modules_iobroker_adapter-react-v5_build_index_js":"c3b244f8","node_modules_iobroker_vis-2-widgets-react-dev_index_js-_081e0":"602aa2f7","vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83":"8344849e","vendors-node_modules_mui_icons-material_esm_index_js":"8738fdfc","vendors-node_modules_mui_system_esm_Grid_createGrid_js-node_modules_mui_system_esm_RtlProvide-971764":"fcd25086","vendors-node_modules_mui_material_index_js":"6c911353","vendors-node_modules_mui_system_esm_index_js":"5cd25769","node_modules_prop-types_index_js":"94bc55cd","node_modules_react-dom_client_js":"26e3ee66","vendors-node_modules_react-dom_index_js":"e9feb302",node_modules_react_index_js:"2c46f430","node_modules_iobroker_vis-2-widgets-react-dev_index_js-_081e1":"2279c251"}[e]+".chunk.js",r.miniCssF=e=>{},r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),r.o=(e,_)=>Object.prototype.hasOwnProperty.call(e,_),(()=>{var e={},_="iobroker.vis-2-widgets-camera:";r.l=(o,s,a,t)=>{if(e[o])e[o].push(s);else{var n,d;if(void 0!==a)for(var i=document.getElementsByTagName("script"),m=0;m{n.onerror=n.onload=null,clearTimeout(c);var s=e[o];if(delete e[o],n.parentNode&&n.parentNode.removeChild(n),s&&s.forEach((e=>e(r))),_)return _(r)},c=setTimeout(l.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=l.bind(null,n.onerror),n.onload=l.bind(null,n.onload),d&&document.head.appendChild(n)}}})(),r.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{r.S={};var e={},_={};r.I=(o,s)=>{s||(s=[]);var a=_[o];if(a||(a=_[o]={}),!(s.indexOf(a)>=0)){if(s.push(a),e[o])return e[o];r.o(r.S,o)||(r.S[o]={});var t=r.S[o],n="iobroker.vis-2-widgets-camera",d=(e,_,r,o)=>{var s=t[e]=t[e]||{},a=s[_];(!a||!a.loaded&&(!o!=!a.eager?o:n>a.from))&&(s[_]={get:r,from:n,eager:!!o})},i=[];if("default"===o)d("@iobroker/adapter-react-v5/i18n/de.json","*",(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_de_json").then((()=>()=>r(3123))))),d("@iobroker/adapter-react-v5/i18n/en.json","*",(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_en_json").then((()=>()=>r(6603))))),d("@iobroker/adapter-react-v5/i18n/es.json","*",(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_es_json").then((()=>()=>r(5148))))),d("@iobroker/adapter-react-v5/i18n/fr.json","*",(()=>r.e("vendors-node_modules_iobroker_adapter-react-v5_i18n_fr_json").then((()=>()=>r(4176))))),d("@iobroker/adapter-react-v5/i18n/it.json","*",(()=>r.e("vendors-node_modules_iobroker_adapter-react-v5_i18n_it_json").then((()=>()=>r(7801))))),d("@iobroker/adapter-react-v5/i18n/nl.json","*",(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_nl_json").then((()=>()=>r(9646))))),d("@iobroker/adapter-react-v5/i18n/pl.json","*",(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_pl_json").then((()=>()=>r(1356))))),d("@iobroker/adapter-react-v5/i18n/pt.json","*",(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_pt_json").then((()=>()=>r(324))))),d("@iobroker/adapter-react-v5/i18n/ru.json","*",(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_ru_json").then((()=>()=>r(7629))))),d("@iobroker/adapter-react-v5/i18n/zh-cn.json","*",(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_zh-cn_json").then((()=>()=>r(9156))))),d("@iobroker/adapter-react-v5","*",(()=>Promise.all([r.e("vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be"),r.e("vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be"),r.e("vendors-node_modules_iobroker_adapter-react-v5_build_index_js"),r.e("webpack_sharing_consume_default_react_react"),r.e("webpack_sharing_consume_default_prop-types_prop-types"),r.e("webpack_sharing_consume_default_mui_system_mui_system"),r.e("webpack_sharing_consume_default_mui_material_mui_material"),r.e("webpack_sharing_consume_default_mui_icons-material_mui_icons-material")]).then((()=>()=>r(8475))))),d("@iobroker/vis-2-widgets-react-dev","*",(()=>Promise.all([r.e("webpack_sharing_consume_default_react_react"),r.e("webpack_sharing_consume_default_mui_material_mui_material"),r.e("webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5"),r.e("node_modules_iobroker_vis-2-widgets-react-dev_index_js-_081e0")]).then((()=>()=>r(8835))))),d("@mui/icons-material","*",(()=>Promise.all([r.e("vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be"),r.e("vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be"),r.e("vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83"),r.e("vendors-node_modules_mui_icons-material_esm_index_js"),r.e("webpack_sharing_consume_default_react_react"),r.e("webpack_sharing_consume_default_prop-types_prop-types"),r.e("webpack_sharing_consume_default_mui_system_mui_system")]).then((()=>()=>r(6157))))),d("@mui/material","*",(()=>Promise.all([r.e("vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be"),r.e("vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be"),r.e("vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83"),r.e("vendors-node_modules_mui_system_esm_Grid_createGrid_js-node_modules_mui_system_esm_RtlProvide-971764"),r.e("vendors-node_modules_mui_material_index_js"),r.e("webpack_sharing_consume_default_react_react"),r.e("webpack_sharing_consume_default_prop-types_prop-types"),r.e("webpack_sharing_consume_default_mui_system_mui_system"),r.e("webpack_sharing_consume_default_react-dom_react-dom")]).then((()=>()=>r(8705))))),d("@mui/system","*",(()=>Promise.all([r.e("vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be"),r.e("vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83"),r.e("vendors-node_modules_mui_system_esm_Grid_createGrid_js-node_modules_mui_system_esm_RtlProvide-971764"),r.e("vendors-node_modules_mui_system_esm_index_js"),r.e("webpack_sharing_consume_default_react_react"),r.e("webpack_sharing_consume_default_prop-types_prop-types")]).then((()=>()=>r(1774))))),d("prop-types","*",(()=>r.e("node_modules_prop-types_index_js").then((()=>()=>r(5173))))),d("react-dom/client","*",(()=>Promise.all([r.e("webpack_sharing_consume_default_react-dom_react-dom"),r.e("node_modules_react-dom_client_js")]).then((()=>()=>r(4391))))),d("react-dom","*",(()=>Promise.all([r.e("vendors-node_modules_react-dom_index_js"),r.e("webpack_sharing_consume_default_react_react")]).then((()=>()=>r(7950))))),d("react","*",(()=>r.e("node_modules_react_index_js").then((()=>()=>r(5043)))));return i.length?e[o]=Promise.all(i).then((()=>e[o]=1)):e[o]=1}}})(),(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var _=r.g.document;if(!e&&_&&(_.currentScript&&"SCRIPT"===_.currentScript.tagName.toUpperCase()&&(e=_.currentScript.src),!e)){var o=_.getElementsByTagName("script");if(o.length)for(var s=o.length-1;s>-1&&(!e||!/^http(s?):/.test(e));)e=o[s--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e+"../../"})(),(()=>{var e=e=>{var _=e=>e.split(".").map((e=>+e==e?+e:e)),r=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),o=r[1]?_(r[1]):[];return r[2]&&(o.length++,o.push.apply(o,_(r[2]))),r[3]&&(o.push([]),o.push.apply(o,_(r[3]))),o},_=(_,r)=>{_=e(_),r=e(r);for(var o=0;;){if(o>=_.length)return o=r.length)return"u"==a;var t=r[o],n=(typeof t)[0];if(a!=n)return"o"==a&&"n"==n||"s"==n||"u"==a;if("o"!=a&&"u"!=a&&s!=t)return s{var _=e[0],r="";if(1===e.length)return"*";if(_+.5){r+=0==_?">=":-1==_?"<":1==_?"^":2==_?"~":_>0?"=":"!=";for(var s=1,a=1;a0?".":"")+(s=2,n);return r}var t=[];for(a=1;a{if(0 in _){r=e(r);var o=_[0],a=o<0;a&&(o=-o-1);for(var t=0,n=1,d=!0;;n++,t++){var i,m,u=n<_.length?(typeof _[n])[0]:"";if(t>=r.length||"o"==(m=(typeof(i=r[t]))[0]))return!d||("u"==u?n>o&&!a:""==u!=a);if("u"==m){if(!d||"u"!=u)return!1}else if(d)if(u==m)if(n<=o){if(i!=_[n])return!1}else{if(a?i>_[n]:i<_[n])return!1;i!=_[n]&&(d=!1)}else if("s"!=u&&"n"!=u){if(a||n<=o)return!1;d=!1,n--}else{if(n<=o||me&&r.o(e,_),t=e=>(e.loaded=1,e.get()),n=e=>Object.keys(e).reduce(((_,r)=>(e[r].eager&&(_[r]=e[r]),_)),{}),d=(e,r,o)=>{var s=o?n(e[r]):e[r];return Object.keys(s).reduce(((e,r)=>!e||!s[e].loaded&&_(e,r)?r:e),0)},i=(e,_,r,s)=>"Unsatisfied version "+r+" from "+(r&&e[_][r].from)+" of shared singleton module "+_+" (required "+o(s)+")",m=e=>{throw new Error(e)},u=e=>{"undefined"!==typeof console&&console.warn&&console.warn(e)},l=e=>function(_,o,s,a,t){var n=r.I(_);return n&&n.then&&!s?n.then(e.bind(e,_,r.S[_],o,!1,a,t)):e(_,r.S[_],o,s,a,t)},c=(e,_,r)=>r?r():((e,_)=>m("Shared module "+_+" doesn't exist in shared scope "+e))(e,_),p=l(((e,_,r,o,n,m)=>{if(!a(_,r))return c(e,r,m);var l=d(_,r,o);return s(n,l)||u(i(_,r,l,n)),t(_[r][l])})),v={},b={8437:()=>p("default","react",!1,[0],(()=>r.e("node_modules_react_index_js").then((()=>()=>r(5043))))),5973:()=>p("default","prop-types",!1,[0],(()=>r.e("node_modules_prop-types_index_js").then((()=>()=>r(5173))))),8565:()=>p("default","@mui/system",!1,[0],(()=>Promise.all([r.e("vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83"),r.e("vendors-node_modules_mui_system_esm_Grid_createGrid_js-node_modules_mui_system_esm_RtlProvide-971764"),r.e("vendors-node_modules_mui_system_esm_index_js")]).then((()=>()=>r(1774))))),7085:()=>p("default","@mui/material",!1,[0],(()=>Promise.all([r.e("vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be"),r.e("vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be"),r.e("vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83"),r.e("vendors-node_modules_mui_system_esm_Grid_createGrid_js-node_modules_mui_system_esm_RtlProvide-971764"),r.e("vendors-node_modules_mui_material_index_js"),r.e("webpack_sharing_consume_default_prop-types_prop-types"),r.e("webpack_sharing_consume_default_mui_system_mui_system"),r.e("webpack_sharing_consume_default_react-dom_react-dom")]).then((()=>()=>r(8705))))),1839:()=>p("default","@mui/icons-material",!1,[0],(()=>Promise.all([r.e("vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be"),r.e("vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be"),r.e("vendors-node_modules_mui_system_esm_DefaultPropsProvider_DefaultPropsProvider_js-node_modules-510a83"),r.e("vendors-node_modules_mui_icons-material_esm_index_js"),r.e("webpack_sharing_consume_default_mui_system_mui_system")]).then((()=>()=>r(6157))))),5301:()=>p("default","@iobroker/vis-2-widgets-react-dev",!1,[0],(()=>Promise.all([r.e("webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5"),r.e("node_modules_iobroker_vis-2-widgets-react-dev_index_js-_081e1")]).then((()=>()=>r(8835))))),5636:()=>p("default","@iobroker/adapter-react-v5",!1,[0],(()=>Promise.all([r.e("vendors-node_modules_mui_system_esm_colorManipulator_colorManipulator_js-node_modules_mui_sys-5651be"),r.e("vendors-node_modules_mui_material_styles_createTheme_js-node_modules_mui_material_styles_iden-be41be"),r.e("vendors-node_modules_iobroker_adapter-react-v5_build_index_js"),r.e("webpack_sharing_consume_default_prop-types_prop-types"),r.e("webpack_sharing_consume_default_mui_system_mui_system"),r.e("webpack_sharing_consume_default_mui_icons-material_mui_icons-material")]).then((()=>()=>r(8475))))),6820:()=>p("default","react-dom/client",!1,[0],(()=>Promise.all([r.e("webpack_sharing_consume_default_react-dom_react-dom"),r.e("node_modules_react-dom_client_js")]).then((()=>()=>r(4391))))),6611:()=>p("default","@iobroker/adapter-react-v5/i18n/en.json",!1,[0],(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_en_json").then((()=>()=>r(6603))))),4463:()=>p("default","@iobroker/adapter-react-v5/i18n/de.json",!1,[0],(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_de_json").then((()=>()=>r(3123))))),4279:()=>p("default","@iobroker/adapter-react-v5/i18n/ru.json",!1,[0],(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_ru_json").then((()=>()=>r(7629))))),6669:()=>p("default","@iobroker/adapter-react-v5/i18n/pt.json",!1,[0],(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_pt_json").then((()=>()=>r(324))))),1285:()=>p("default","@iobroker/adapter-react-v5/i18n/nl.json",!1,[0],(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_nl_json").then((()=>()=>r(9646))))),2925:()=>p("default","@iobroker/adapter-react-v5/i18n/fr.json",!1,[0],(()=>r.e("vendors-node_modules_iobroker_adapter-react-v5_i18n_fr_json").then((()=>()=>r(4176))))),2243:()=>p("default","@iobroker/adapter-react-v5/i18n/it.json",!1,[0],(()=>r.e("vendors-node_modules_iobroker_adapter-react-v5_i18n_it_json").then((()=>()=>r(7801))))),8137:()=>p("default","@iobroker/adapter-react-v5/i18n/es.json",!1,[0],(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_es_json").then((()=>()=>r(5148))))),6189:()=>p("default","@iobroker/adapter-react-v5/i18n/pl.json",!1,[0],(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_pl_json").then((()=>()=>r(1356))))),2717:()=>p("default","@iobroker/adapter-react-v5/i18n/zh-cn.json",!1,[0],(()=>r.e("node_modules_iobroker_adapter-react-v5_i18n_zh-cn_json").then((()=>()=>r(9156))))),3479:()=>p("default","react-dom",!1,[0],(()=>Promise.all([r.e("vendors-node_modules_react-dom_index_js"),r.e("webpack_sharing_consume_default_react_react")]).then((()=>()=>r(7950)))))},f={webpack_sharing_consume_default_react_react:[8437],"webpack_sharing_consume_default_prop-types_prop-types":[5973],webpack_sharing_consume_default_mui_system_mui_system:[8565],webpack_sharing_consume_default_mui_material_mui_material:[7085],"webpack_sharing_consume_default_mui_icons-material_mui_icons-material":[1839],"webpack_sharing_consume_default_iobroker_vis-2-widgets-react-dev_iobroker_vis-2-widgets-react-dev":[5301],"webpack_sharing_consume_default_iobroker_adapter-react-v5_iobroker_adapter-react-v5":[5636],src_bootstrap_js:[6820,6611,4463,4279,6669,1285,2925,2243,8137,6189,2717],"webpack_sharing_consume_default_react-dom_react-dom":[3479]},h={};r.f.consumes=(e,_)=>{r.o(f,e)&&f[e].forEach((e=>{if(r.o(v,e))return _.push(v[e]);if(!h[e]){var o=_=>{v[e]=0,r.m[e]=o=>{delete r.c[e],o.exports=_()}};h[e]=!0;var s=_=>{delete v[e],r.m[e]=o=>{throw delete r.c[e],_}};try{var a=b[e]();a.then?_.push(v[e]=a.then(o).catch(s)):o(a)}catch(t){s(t)}}}))}})(),(()=>{var e={main:0};r.f.j=(_,o)=>{var s=r.o(e,_)?e[_]:void 0;if(0!==s)if(s)o.push(s[2]);else if(/^webpack_sharing_consume_default_(iobroker_(adapter\-react\-v5_iobroker_adapter\-react\-v5|vis\-2\-widgets\-react\-dev_iobroker_vis\-2\-widgets\-react\-dev)|mui_((icons\-material_mui_icons\-|material_mui_)material|system_mui_system)|react(\-dom_react\-dom|_react)|prop\-types_prop\-types)$/.test(_))e[_]=0;else{var a=new Promise(((r,o)=>s=e[_]=[r,o]));o.push(s[2]=a);var t=r.p+r.u(_),n=new Error;r.l(t,(o=>{if(r.o(e,_)&&(0!==(s=e[_])&&(e[_]=void 0),s)){var a=o&&("load"===o.type?"missing":o.type),t=o&&o.target&&o.target.src;n.message="Loading chunk "+_+" failed.\n("+a+": "+t+")",n.name="ChunkLoadError",n.type=a,n.request=t,s[1](n)}}),"chunk-"+_,_)}};var _=(_,o)=>{var s,a,t=o[0],n=o[1],d=o[2],i=0;if(t.some((_=>0!==e[_]))){for(s in n)r.o(n,s)&&(r.m[s]=n[s]);if(d)d(r)}for(_&&_(o);it.length)&&(e=t.length);for(var n=0,r=Array(e);n=0;--a){var o=this.tryEntries[a],c=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=i.call(o,"catchLoc"),u=i.call(o,"finallyLoc");if(s&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),A(n),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var a=r.arg;A(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:P(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),b}},e}},89611:function(t,e,n){function r(t,e){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},r(t,e)}n.d(e,{Z:function(){return r}})},29439:function(t,e,n){n.d(e,{Z:function(){return o}});var r=n(83878);var a=n(40181),i=n(25267);function o(t,e){return(0,r.Z)(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,a,i,o,c=[],s=!0,u=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(c.push(r.value),c.length!==e);s=!0);}catch(t){u=!0,a=t}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw a}}return c}}(t,e)||(0,a.Z)(t,e)||(0,i.Z)()}},49142:function(t,e,n){n.d(e,{Z:function(){return a}});var r=n(71002);function a(t){var e=function(t,e){if("object"!=(0,r.Z)(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var a=n.call(t,e||"default");if("object"!=(0,r.Z)(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==(0,r.Z)(e)?e:e+""}},71002:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}n.d(e,{Z:function(){return r}})},40181:function(t,e,n){n.d(e,{Z:function(){return a}});var r=n(30907);function a(t,e){if(t){if("string"==typeof t)return(0,r.Z)(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(t,e):void 0}}}}]); -//# sourceMappingURL=src_RtspCamera_jsx.db3a0929.chunk.js.map \ No newline at end of file diff --git a/widgets/cameras/static/js/src_RtspCamera_jsx.db3a0929.chunk.js.LICENSE.txt b/widgets/cameras/static/js/src_RtspCamera_jsx.db3a0929.chunk.js.LICENSE.txt deleted file mode 100644 index 6e4dcbd..0000000 --- a/widgets/cameras/static/js/src_RtspCamera_jsx.db3a0929.chunk.js.LICENSE.txt +++ /dev/null @@ -1,11 +0,0 @@ -/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ - -/** - * @license React - * react-jsx-runtime.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. - */ diff --git a/widgets/cameras/static/js/src_SnapshotCamera_jsx.bac7a9b6.chunk.js b/widgets/cameras/static/js/src_SnapshotCamera_jsx.bac7a9b6.chunk.js deleted file mode 100644 index c0b959d..0000000 --- a/widgets/cameras/static/js/src_SnapshotCamera_jsx.bac7a9b6.chunk.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see src_SnapshotCamera_jsx.bac7a9b6.chunk.js.LICENSE.txt */ -"use strict";(self.webpackChunkiobroker_vis_2_widgets_camera=self.webpackChunkiobroker_vis_2_widgets_camera||[]).push([["src_SnapshotCamera_jsx","node_modules_react_jsx-runtime_js","src_RtspCamera_jsx"],{52665:function(t,e,n){var r=n(15671),a=n(43144),i=n(60136),o=n(31129),s=n(15854),c=n.n(s),l=n(88411),u=function(t){(0,i.Z)(n,t);var e=(0,o.Z)(n);function n(){return(0,r.Z)(this,n),e.apply(this,arguments)}return(0,a.Z)(n,null,[{key:"getI18nPrefix",value:function(){return"cameras_"}}]),n}(window.visRxWidget||l.VisRxWidget);u.propTypes={context:c().object,themeType:c().string,style:c().object,data:c().object},e.Z=u},57003:function(t,e,n){n.r(e),n.d(e,{CameraField:function(){return x}});var r=n(15671),a=n(43144),i=n(11752),o=n(61120),s=n(60136),c=n(31129),l=n(4942),u=n(74165),f=n(15861),h=n(29439),d=n(4819),p=n.n(d),v=n(94427),m=n(59665),g=n(52665),y=n(80184),b={camera:{width:"100%",height:"100%",objectFit:"contain",cursor:"pointer"},fullCamera:{width:"100%",height:"100%",objectFit:"contain"},imageContainer:{flex:1,overflow:"hidden",position:"relative",width:"100%",height:"100%"}},x=function(t){var e=p().useState(null),n=(0,h.Z)(e,2),r=n[0],a=n[1],i=p().useState(t.data[t.field.name]||""),o=(0,h.Z)(i,2),s=o[0],c=o[1];return(0,d.useEffect)((function(){(0,f.Z)((0,u.Z)().mark((function e(){var n;return(0,u.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=[],e.next=3,t.context.socket.getAdapterInstances("cameras");case 3:e.sent.forEach((function(e){var r=e._id.split(".").pop();e.native.cameras.filter((function(e){return!t.rtsp||"rtsp"===e.type||e.rtsp})).forEach((function(t){n.push({enabled:!1!==t.enabled,value:"".concat(r,"/").concat(t.name),label:"cameras.".concat(r,"/").concat(t.name),subLabel:t.desc?"".concat(t.desc,"/").concat(t.ip):t.ip||""})}))})),a(n);case 6:case"end":return e.stop()}}),e)})))()}),[t.context.socket,t.rtsp]),r?(0,y.jsx)(v.Select,{fullWidth:!0,variant:"standard",value:s,onChange:function(e){t.setData((0,l.Z)({},t.field.name,e.target.value)),c(e.target.value)},children:r.map((function(t){return(0,y.jsxs)(v.MenuItem,{value:t.value,style:{display:"block",opacity:t.enabled?1:.5},children:[(0,y.jsx)("div",{children:t.label}),(0,y.jsx)("div",{style:{fontSize:10,fontStyle:"italic",opacity:.7},children:t.subLabel}),t.enabled?null:(0,y.jsx)("div",{style:{fontSize:10,fontStyle:"italic",opacity:.7,color:"red"},children:g.Z.t("disabled")})]},t.value)}))}):(0,y.jsx)(v.CircularProgress,{})},w=function(t){(0,s.Z)(n,t);var e=(0,c.Z)(n);function n(t){var a;return(0,r.Z)(this,n),(a=e.call(this,t)).updateStream=function(t,e){null!==e&&void 0!==e&&e.val&&(a.state.loading&&a.setState({loading:!1}),n.drawCamera(a.videoRef,e.val),a.state.full&&n.drawCamera(a.fullVideoRef,e.val))},a.onCameras=function(t){if(t){if("object"===typeof t&&(t.accepted||t.error))return void(t.error&&console.error(t.error));a.state.loading&&a.setState({loading:!1}),n.drawCamera(a.videoRef,t),a.state.full&&n.drawCamera(a.fullVideoRef,t)}},a.onAliveChanged=function(t,e){var r=n.getNameAndInstance(a.state.rxData.camera);if(r&&t==="system.adapter.cameras.".concat(r.instanceId,".alive")){var i=!(null===e||void 0===e||!e.val);i!==a.state.alive&&a.setState({alive:i},(function(){return a.propertiesUpdate()}))}},a.videoInterval=null,a.videoRef=p().createRef(),a.fullVideoRef=p().createRef(),a.currentCam=null,a.state.full=!1,a.state.alive=!1,a}return(0,a.Z)(n,[{key:"getWidgetInfo",value:function(){return n.getWidgetInfo()}},{key:"propertiesUpdate",value:function(){var t=(0,f.Z)((0,u.Z)().mark((function t(){var e,r,a,i,o,s,c,l,f,h,d,p,v,m,g,y;return(0,u.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0!==this.useMessages){t.next=4;break}return t.next=3,this.props.context.socket.checkFeatureSupported("INSTANCE_MESSAGES");case 3:this.useMessages=t.sent;case 4:if(this.state.rxData.camera===this.currentCam){t.next=44;break}if(!this.state.alive){t.next=34;break}if(!this.currentCam){t.next=17;break}if(e=n.getNameAndInstance(this.currentCam),r=e.instanceId,a=e.name,!this.useMessages){t.next=13;break}return t.next=11,this.props.context.socket.unsubscribeFromInstance("cameras.".concat(r),"startCamera/".concat(a),this.onCameras);case 11:t.next=17;break;case 13:return t.next=15,this.props.context.socket.setState("cameras.".concat(r,".").concat(a,".running"),{val:!1});case 15:return t.next=17,this.props.context.socket.unsubscribeState("cameras.".concat(r,".").concat(a,".stream"),this.updateStream);case 17:if(!this.state.rxData.camera){t.next=29;break}if(this.setState({loading:!0}),i=n.getNameAndInstance(this.state.rxData.camera),o=i.instanceId,s=i.name,!this.useMessages){t.next=25;break}return t.next=23,this.props.context.socket.subscribeOnInstance("cameras.".concat(o),"startCamera/".concat(s),{width:this.getImageWidth()},this.onCameras);case 23:t.next=27;break;case 25:return t.next=27,this.props.context.socket.subscribeState("cameras.".concat(o,".").concat(s,".stream"),this.updateStream);case 27:t.next=31;break;case 29:(c=this.videoRef.current)&&c.getContext("2d").clearRect(0,0,c.width,c.height);case 31:this.currentCam=this.state.rxData.camera,t.next=42;break;case 34:if(!this.currentCam){t.next=42;break}if(l=n.getNameAndInstance(this.currentCam),f=l.instanceId,h=l.name,this.useMessages){t.next=41;break}return t.next=39,this.props.context.socket.setState("cameras.".concat(f,".").concat(h,".running"),{val:!1});case 39:return t.next=41,this.props.context.socket.unsubscribeState("cameras.".concat(f,".").concat(h,".stream"),this.updateStream);case 41:this.currentCam=null;case 42:t.next=63;break;case 44:if(!this.currentCam||!this.state.alive){t.next=55;break}if(d=n.getNameAndInstance(this.currentCam),p=d.instanceId,v=d.name,!this.useMessages){t.next=51;break}return t.next=49,this.props.context.socket.subscribeOnInstance("cameras.".concat(p),"startCamera/".concat(v),{width:this.getImageWidth()},this.onCameras);case 49:t.next=53;break;case 51:return t.next=53,this.props.context.socket.setState("cameras.".concat(p,".").concat(v,".running"),{val:!0,expire:30});case 53:t.next=63;break;case 55:if(!this.currentCam||this.state.alive){t.next=63;break}if(m=n.getNameAndInstance(this.currentCam),g=m.instanceId,y=m.name,this.useMessages){t.next=62;break}return t.next=60,this.props.context.socket.setState("cameras.".concat(g,".").concat(y,".running"),{val:!1});case 60:return t.next=62,this.props.context.socket.unsubscribeState("cameras.".concat(g,".").concat(y,".stream"),this.updateStream);case 62:this.currentCam=null;case 63:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"getImageWidth",value:function(t){var e;return(t=void 0===t?this.state.full:t)&&this.fullVideoRef.current?this.fullVideoRef.current.parentElement.clientWidth||0:(null===(e=this.videoRef.current)||void 0===e?void 0:e.parentElement.clientWidth)||0}},{key:"subscribeOnAlive",value:function(){var t=(0,f.Z)((0,u.Z)().mark((function t(){var e;return(0,u.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=n.getNameAndInstance(this.state.rxData.camera),this.subsribedOnAlive!==(e?e.instanceId:null)&&(this.subsribedOnAlive&&(this.props.context.socket.unsubscribeState("system.adapter.cameras.".concat(this.subsribedOnAlive,".alive"),this.onAliveChanged),this.subsribedOnAlive=""),e&&(this.props.context.socket.subscribeState("system.adapter.cameras.".concat(e.instanceId,".alive"),this.onAliveChanged),this.subsribedOnAlive=e.instanceId));case 2:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"componentDidMount",value:function(){var t=this;(0,i.Z)((0,o.Z)(n.prototype),"componentDidMount",this).call(this),setTimeout((function(){return t.propertiesUpdate()}),100),this.subscribeOnAlive(),this.videoInterval=setInterval((function(){return t.propertiesUpdate()}),14e3)}},{key:"onRxDataChanged",value:function(){var t=(0,f.Z)((0,u.Z)().mark((function t(){return(0,u.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.subscribeOnAlive();case 2:return t.next=4,this.propertiesUpdate();case 4:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"componentWillUnmount",value:function(){if((0,i.Z)((0,o.Z)(n.prototype),"componentWillUnmount",this).call(this),this.videoInterval&&clearInterval(this.videoInterval),this.videoInterval=null,this.subsribedOnAlive&&(this.props.context.socket.unsubscribeState("system.adapter.cameras.".concat(this.subsribedOnAlive,".alive"),this.onAliveChanged),this.subsribedOnAlive=null),this.currentCam){var t=n.getNameAndInstance(this.currentCam),e=t.instanceId,r=t.name;this.useMessages&&this.props.context.socket.unsubscribeFromInstance("cameras.".concat(e),"startCamera/".concat(r),this.onCameras).catch((function(t){return console.error(t)}))}}},{key:"renderDialog",value:function(){var t=this;return this.state.full?(0,y.jsxs)(v.Dialog,{fullWidth:!0,maxWidth:"lg",open:!0,onClose:function(){return t.setState({full:!1})},children:[(0,y.jsx)(v.DialogTitle,{children:this.state.rxData.widgetTitle}),(0,y.jsx)(v.DialogContent,{children:(0,y.jsx)("div",{style:b.imageContainer,children:(0,y.jsx)("canvas",{ref:this.fullVideoRef,style:b.fullCamera})})}),(0,y.jsx)(v.DialogActions,{children:(0,y.jsx)(v.Button,{onClick:function(e){e.stopPropagation(),e.preventDefault(),t.setState({full:!1})},startIcon:(0,y.jsx)(m.Close,{}),color:"primary",variant:"contained",children:g.Z.t("Close")})})]}):null}},{key:"renderWidgetBody",value:function(t){var e=this;(0,i.Z)((0,o.Z)(n.prototype),"renderWidgetBody",this).call(this,t);var r=(0,y.jsxs)("div",{style:b.imageContainer,onClick:function(){return e.setState({full:!0})},children:[this.state.loading&&this.state.alive&&(0,y.jsx)(v.CircularProgress,{style:b.progress}),this.state.alive?null:(0,y.jsx)("div",{style:{position:"absolute",top:0,left:0},children:g.Z.t("Camera instance %s inactive",(this.state.rxData.camera||"").split("/")[0])}),(0,y.jsx)("canvas",{ref:this.videoRef,style:b.camera}),this.renderDialog()]});return this.state.rxData.noCard||t.widget.usedInWidget?r:this.wrapContent(r,null,{boxSizing:"border-box",paddingBottom:10,height:"100%"})}}],[{key:"getWidgetInfo",value:function(){return{id:"tplCameras2RtspCamera",visSet:"cameras",visName:"RTSP Camera",visWidgetLabel:"RTSP Camera",visWidgetSetLabel:"Cameras",visSetLabel:"Cameras",visSetColor:"#9f0026",visAttrs:[{name:"common",fields:[{name:"noCard",label:"without_card",type:"checkbox"},{name:"widgetTitle",label:"name",hidden:"!!data.noCard"},{name:"width",label:"videoWidth",type:"number",tooltip:"tooltip_videoWidth"},{label:"Camera",name:"camera",type:"custom",component:function(t,e,n,r){return(0,y.jsx)(x,{field:t,rtsp:!0,data:e,setData:n,context:r.context})}}]}],visDefaultStyle:{width:"100%",height:240,position:"relative"},visPrev:"widgets/cameras/img/prev_camera.png"}}},{key:"drawCamera",value:function(t,e){var n=t.current;if(n){var r=n.getContext("2d");try{var a=new Image;a.src="data:image/jpeg;base64,".concat(e),a.onload=function(){n.width=a.width,n.height=a.height,r.drawImage(a,0,0,a.width,a.height)},a.onerror=function(t){console.error(t)}}catch(i){console.error(i)}}}},{key:"getNameAndInstance",value:function(t){if(!t)return null;var e=t.indexOf("/");return-1===e?null:{instanceId:t.substring(0,e),name:t.substring(e+1)}}}]),n}(g.Z);e.default=w},54779:function(t,e,n){n.r(e);var r=n(74165),a=n(15861),i=n(15671),o=n(43144),s=n(11752),c=n(61120),l=n(60136),u=n(31129),f=n(4819),h=n.n(f),d=n(94427),p=n(59665),v=n(52665),m=n(57003),g=n(80184),y={camera:{width:"100%",height:"100%",objectFit:"contain",cursor:"pointer"},fullCamera:{width:"100%",height:"100%",objectFit:"contain"},imageContainer:{flex:1,overflow:"hidden",position:"relative",width:"100%",height:"100%"}},b=function(t){(0,l.Z)(n,t);var e=(0,u.Z)(n);function n(t){var r;return(0,i.Z)(this,n),(r=e.call(this,t)).updateImage=function(){r.loading||(r.loading=!0,r.videoRef.current&&(r.videoRef.current.src=r.getUrl(),r.videoRef.current.onload=function(t){t.target&&"1"!==!t.target.style.opacity&&(t.target.style.opacity="1"),r.state.error&&r.setState({error:!1}),r.loading=!1},r.videoRef.current.onerror=function(t){t.target&&"0"!==t.target.style.opacity&&(t.target.style.opacity="0"),!r.state.error&&r.setState({error:!0}),r.loading=!1}),r.fullVideoRef.current&&r.state.full&&(r.fullVideoRef.current.src=r.getUrl(!0)))},r.onAliveChanged=function(t,e){var a=n.getNameAndInstance(r.state.rxData.camera);if(a&&t==="system.adapter.cameras.".concat(a.instanceId,".alive")){var i=!(null===e||void 0===e||!e.val);i!==r.state.alive&&r.setState({alive:i},(function(){return r.restartPollingInterval()}))}},r.videoInterval=null,r.videoRef=h().createRef(),r.fullVideoRef=h().createRef(),r.currentCam=null,r.state.full=!1,r.state.alive=!1,r.state.error=!1,r}return(0,o.Z)(n,[{key:"getWidgetInfo",value:function(){return n.getWidgetInfo()}},{key:"getImageWidth",value:function(t){var e,n;return(t=void 0===t?this.state.full:t)&&this.fullVideoRef.current?(null===(n=this.fullVideoRef.current)||void 0===n?void 0:n.parentElement.clientWidth)||0:(null===(e=this.videoRef.current)||void 0===e?void 0:e.parentElement.clientWidth)||0}},{key:"subscribeOnAlive",value:function(){var t=(0,a.Z)((0,r.Z)().mark((function t(){var e;return(0,r.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=n.getNameAndInstance(this.state.rxData.camera),this.subsribedOnAlive!==(e?e.instanceId:null)&&(this.subsribedOnAlive&&(this.props.context.socket.unsubscribeState("system.adapter.cameras.".concat(this.subsribedOnAlive,".alive"),this.onAliveChanged),this.subsribedOnAlive=""),e&&(this.props.context.socket.subscribeState("system.adapter.cameras.".concat(e.instanceId,".alive"),this.onAliveChanged),this.subsribedOnAlive=e.instanceId));case 2:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"restartPollingInterval",value:function(){this.pollingInterval&&(clearInterval(this.pollingInterval),this.pollingInterval=null),this.state.alive&&(this.pollingInterval=setInterval(this.updateImage,parseInt(this.state.full?this.state.rxData.pollingIntervalFull:this.state.rxData.pollingInterval,10)||500))}},{key:"componentDidMount",value:function(){(0,s.Z)((0,c.Z)(n.prototype),"componentDidMount",this).call(this),this.subscribeOnAlive()}},{key:"onRxDataChanged",value:function(){var t=(0,a.Z)((0,r.Z)().mark((function t(){return(0,r.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.subscribeOnAlive();case 2:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"componentWillUnmount",value:function(){(0,s.Z)((0,c.Z)(n.prototype),"componentWillUnmount",this).call(this),this.pollingInterval&&clearInterval(this.pollingInterval),this.pollingInterval=null,this.subsribedOnAlive&&(this.props.context.socket.unsubscribeState("system.adapter.cameras.".concat(this.subsribedOnAlive,".alive"),this.onAliveChanged),this.subsribedOnAlive=null)}},{key:"renderDialog",value:function(t){var e=this;return this.state.full&&this.state.rxData.bigCamera&&(t=this.getUrl(!0)||t),this.state.full?(0,g.jsxs)(d.Dialog,{fullWidth:!0,maxWidth:"lg",open:!0,onClose:function(){return e.setState({full:!1},(function(){return e.restartPollingInterval()}))},children:[(0,g.jsx)(d.DialogTitle,{children:this.state.rxData.widgetTitle}),(0,g.jsx)(d.DialogContent,{children:(0,g.jsx)("div",{style:y.imageContainer,children:(0,g.jsx)("img",{src:t,ref:this.fullVideoRef,style:y.fullCamera,alt:this.state.rxData.camera})})}),(0,g.jsx)(d.DialogActions,{children:(0,g.jsx)(d.Button,{onClick:function(t){t.stopPropagation(),t.preventDefault(),e.setState({full:!1},(function(){return e.restartPollingInterval()}))},startIcon:(0,g.jsx)(p.Close,{}),color:"primary",variant:"contained",children:v.Z.t("Close")})})]}):null}},{key:"getUrl",value:function(t){return t&&!this.state.rxData.bigCamera?"../cameras.".concat(this.state.rxData.bigCamera,"?")+["ts=".concat(Date.now()),"w=".concat(this.getImageWidth(!0)),"noCache=".concat(this.state.rxData.noCacheByFull),this.state.rxData.rotate?"angle=".concat(this.state.rxData.rotate):""].filter((function(t){return t})).join("&"):this.state.rxData.camera?"../cameras.".concat(this.state.rxData.camera,"?")+["ts=".concat(Date.now()),"w=".concat(this.getImageWidth(t)),"noCache=".concat(!!t&&this.state.rxData.noCacheByFull),this.state.rxData.rotate?"angle=".concat(this.state.rxData.rotate):""].filter((function(t){return t})).join("&"):""}},{key:"renderWidgetBody",value:function(t){var e=this;(0,s.Z)((0,c.Z)(n.prototype),"renderWidgetBody",this).call(this,t);var r=this.getUrl(),a=(0,g.jsxs)("div",{style:y.imageContainer,onClick:function(){return!e.state.error&&e.setState({full:!0},(function(){return e.restartPollingInterval()}))},children:[this.state.alive?null:(0,g.jsx)("div",{style:{position:"absolute",top:20,left:0},children:v.Z.t("Camera instance %s inactive",(this.state.rxData.camera||"").split("/")[0])}),r?(0,g.jsx)("img",{src:r,ref:this.videoRef,style:y.camera,alt:this.state.rxData.camera}):v.Z.t("No camera selected"),this.state.alive&&this.state.error?(0,g.jsxs)("div",{style:{position:"absolute",top:20,left:0},children:[(0,g.jsxs)("div",{style:{color:"red"},children:[v.Z.t("Cannot load URL"),":"]}),(0,g.jsx)("div",{children:this.getUrl(!0)})]}):null,this.renderDialog(r)]});return this.state.rxData.noCard||t.widget.usedInWidget?a:this.wrapContent(a,null,{boxSizing:"border-box",paddingBottom:10,height:"100%"})}}],[{key:"getWidgetInfo",value:function(){return{id:"tplCameras2SnapshotCamera",visSet:"cameras",visName:"Polling Camera",visWidgetLabel:"Polling Camera",visAttrs:[{name:"common",fields:[{name:"noCard",label:"without_card",type:"checkbox"},{name:"widgetTitle",label:"name",hidden:"!!data.noCard"},{name:"pollingInterval",label:"pollingInterval",tooltip:"tooltip_ms",type:"number",default:500},{name:"pollingIntervalFull",label:"pollingIntervalFull",tooltip:"tooltip_ms",type:"number",default:300},{name:"noCacheByFull",label:"noCacheByFull",type:"checkbox"},{name:"rotate",label:"rotate",type:"select",noTranslation:!0,options:[{value:0,label:"0\xb0"},{value:90,label:"90\xb0"},{value:180,label:"180\xb0"},{value:270,label:"270\xb0"}]},{label:"Camera",name:"camera",type:"custom",component:function(t,e,n,r){return(0,g.jsx)(m.CameraField,{field:t,data:e,setData:n,context:r.context})}},{label:"camera_in_dialog",name:"bigCamera",type:"custom",component:function(t,e,n,r){return(0,g.jsx)(m.CameraField,{field:t,data:e,setData:n,context:r.context})},hidden:"!data.camera"}]}],visDefaultStyle:{width:"100%",height:240,position:"relative"},visPrev:"widgets/cameras/img/prev_snapshot.png"}}},{key:"getNameAndInstance",value:function(t){if(!t)return null;var e=t.indexOf("/");return-1===e?null:{instanceId:t.substring(0,e),name:t.substring(e+1)}}}]),n}(v.Z);e.default=b},66374:function(t,e,n){var r=n(4819),a=Symbol.for("react.element"),i=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function l(t,e,n){var r,i={},l=null,u=null;for(r in void 0!==n&&(l=""+n),void 0!==e.key&&(l=""+e.key),void 0!==e.ref&&(u=e.ref),e)o.call(e,r)&&!c.hasOwnProperty(r)&&(i[r]=e[r]);if(t&&t.defaultProps)for(r in e=t.defaultProps)void 0===i[r]&&(i[r]=e[r]);return{$$typeof:a,type:t,key:l,ref:u,props:i,_owner:s.current}}e.Fragment=i,e.jsx=l,e.jsxs=l},80184:function(t,e,n){t.exports=n(66374)},30907:function(t,e,n){function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var c=i.call(o,"catchLoc"),l=i.call(o,"finallyLoc");if(c&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),A(n),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var a=r.arg;A(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:E(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),y}},e}},89611:function(t,e,n){function r(t,e){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},r(t,e)}n.d(e,{Z:function(){return r}})},29439:function(t,e,n){n.d(e,{Z:function(){return o}});var r=n(83878);var a=n(40181),i=n(25267);function o(t,e){return(0,r.Z)(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,a,i,o,s=[],c=!0,l=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==e);c=!0);}catch(t){l=!0,a=t}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw a}}return s}}(t,e)||(0,a.Z)(t,e)||(0,i.Z)()}},49142:function(t,e,n){n.d(e,{Z:function(){return a}});var r=n(71002);function a(t){var e=function(t,e){if("object"!=(0,r.Z)(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var a=n.call(t,e||"default");if("object"!=(0,r.Z)(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==(0,r.Z)(e)?e:e+""}},71002:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}n.d(e,{Z:function(){return r}})},40181:function(t,e,n){n.d(e,{Z:function(){return a}});var r=n(30907);function a(t,e){if(t){if("string"==typeof t)return(0,r.Z)(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(t,e):void 0}}}}]); -//# sourceMappingURL=src_SnapshotCamera_jsx.bac7a9b6.chunk.js.map \ No newline at end of file diff --git a/widgets/cameras/static/js/src_SnapshotCamera_jsx.bac7a9b6.chunk.js.LICENSE.txt b/widgets/cameras/static/js/src_SnapshotCamera_jsx.bac7a9b6.chunk.js.LICENSE.txt deleted file mode 100644 index 6e4dcbd..0000000 --- a/widgets/cameras/static/js/src_SnapshotCamera_jsx.bac7a9b6.chunk.js.LICENSE.txt +++ /dev/null @@ -1,11 +0,0 @@ -/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ - -/** - * @license React - * react-jsx-runtime.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. - */ diff --git a/widgets/cameras/static/js/src_bootstrap_js.bdd07d8e.chunk.js b/widgets/cameras/static/js/src_bootstrap_js.598de3c9.chunk.js similarity index 60% rename from widgets/cameras/static/js/src_bootstrap_js.bdd07d8e.chunk.js rename to widgets/cameras/static/js/src_bootstrap_js.598de3c9.chunk.js index 78013ee..c7e94ac 100644 --- a/widgets/cameras/static/js/src_bootstrap_js.bdd07d8e.chunk.js +++ b/widgets/cameras/static/js/src_bootstrap_js.598de3c9.chunk.js @@ -1,3 +1,3 @@ -/*! For license information please see src_bootstrap_js.bdd07d8e.chunk.js.LICENSE.txt */ -"use strict";(self.webpackChunkiobroker_vis_2_widgets_camera=self.webpackChunkiobroker_vis_2_widgets_camera||[]).push([["src_bootstrap_js"],{5585:(e,t,a)=>{var i=a(8437),s=a.n(i),n=a(6820);window.adapterName="vis-react-demo";const r=function(e){const t=document.getElementById("root");if(t){(0,n.createRoot)(t).render(s().createElement(e,{socket:{port:8082}}))}};var o=a(7085),l=a(8565),c=a(3221),d=a(5636),m=a(6611),h=a.n(m),u=a(4463),g=a.n(u),p=a(4279),v=a.n(p),C=a(6669),b=a.n(C),f=a(1285),S=a.n(f),x=a(2925),y=a.n(x),I=a(2243),w=a.n(I),R=a(8137),_=a.n(R),P=a(6189),k=a.n(P),T=a(2717),A=a.n(T);class j extends d.GenericApp{constructor(e){super(e,Object.assign({},e));const t={en:h(),de:g(),ru:v(),pt:b(),nl:S(),fr:y(),it:w(),es:_(),pl:k(),uk:k(),"zh-cn":A()};d.I18n.setTranslations(t),d.I18n.setLanguage((navigator.language||"en").substring(0,2).toLowerCase())}renderWidget(){return s().createElement("div",null,"Please implement renderWidget method in your class")}render(){if(!this.state.loaded)return s().createElement(l.StyledEngineProvider,{injectFirst:!0},s().createElement(c.A,{theme:this.state.theme},s().createElement(d.Loader,{themeType:this.state.themeType})));const e={backgroundColor:"dark"===this.state.themeType?"#303030":"#f0f0f0",color:"dark"===this.state.themeType?"#f0f0f0":"#303030",height:"100%",width:"100%",overflow:"auto"};return s().createElement(l.StyledEngineProvider,{injectFirst:!0},s().createElement(c.A,{theme:this.state.theme},s().createElement("div",{style:e},this.renderWidget())))}}const N=j,D={en:a(5553),de:a(6477),ru:a(3715),pt:a(4606),nl:a(6164),fr:a(4554),it:a(6851),es:a(2706),pl:a(3638),"zh-cn":a(222),uk:a(3882),prefix:"cameras_"};var W=a(1839),O=a(5973),U=a.n(O),L=a(5301);class F extends(window.visRxWidget||L.VisRxWidget){static getI18nPrefix(){return"cameras_"}}F.propTypes={context:U().object,themeType:U().string,style:U().object,data:U().object};const z=F;var B=a(579);const E={camera:{width:"100%",height:"100%",objectFit:"contain",cursor:"pointer"},fullCamera:{width:"100%",height:"100%",objectFit:"contain"},imageContainer:{flex:1,overflow:"hidden",position:"relative",width:"100%",height:"100%"}},V=e=>{const[t,a]=s().useState(null),[n,r]=s().useState(e.data[e.field.name]||"");return(0,i.useEffect)((()=>{(async()=>{const t=[];(await e.context.socket.getAdapterInstances("cameras")).forEach((a=>{const i=a._id.split(".").pop();a.native.cameras.filter((t=>!e.rtsp||"rtsp"===t.type||t.rtsp)).forEach((e=>{t.push({enabled:!1!==e.enabled,value:"".concat(i,"/").concat(e.name),label:"cameras.".concat(i,"/").concat(e.name),subLabel:e.desc?"".concat(e.desc,"/").concat(e.ip):e.ip||""})}))})),a(t)})()}),[e.context.socket,e.rtsp]),t?(0,B.jsx)(o.Select,{fullWidth:!0,variant:"standard",value:n,onChange:t=>{e.setData({[e.field.name]:t.target.value}),r(t.target.value)},children:t.map((e=>(0,B.jsxs)(o.MenuItem,{value:e.value,style:{display:"block",opacity:e.enabled?1:.5},children:[(0,B.jsx)("div",{children:e.label}),(0,B.jsx)("div",{style:{fontSize:10,fontStyle:"italic",opacity:.7},children:e.subLabel}),e.enabled?null:(0,B.jsx)("div",{style:{fontSize:10,fontStyle:"italic",opacity:.7,color:"red"},children:z.t("disabled")})]},e.value)))}):(0,B.jsx)(o.CircularProgress,{})};class K extends z{constructor(e){super(e),this.updateStream=(e,t)=>{null!==t&&void 0!==t&&t.val&&(this.state.loading&&this.setState({loading:!1}),K.drawCamera(this.videoRef,t.val),this.state.full&&K.drawCamera(this.fullVideoRef,t.val))},this.onCameras=e=>{if(e){if("object"===typeof e&&(e.accepted||e.error))return void(e.error&&console.error(e.error));this.state.loading&&this.setState({loading:!1}),K.drawCamera(this.videoRef,e),this.state.full&&K.drawCamera(this.fullVideoRef,e)}},this.onAliveChanged=(e,t)=>{const a=K.getNameAndInstance(this.state.rxData.camera);if(a&&e==="system.adapter.cameras.".concat(a.instanceId,".alive")){const e=!(null===t||void 0===t||!t.val);e!==this.state.alive&&this.setState({alive:e},(()=>this.propertiesUpdate()))}},this.videoInterval=null,this.videoRef=s().createRef(),this.fullVideoRef=s().createRef(),this.currentCam=null,this.state.full=!1,this.state.alive=!1}static getWidgetInfo(){return{id:"tplCameras2RtspCamera",visSet:"cameras",visName:"RTSP Camera",visWidgetLabel:"RTSP Camera",visWidgetSetLabel:"Cameras",visSetLabel:"Cameras",visSetColor:"#9f0026",visAttrs:[{name:"common",fields:[{name:"noCard",label:"without_card",type:"checkbox"},{name:"widgetTitle",label:"name",hidden:"!!data.noCard"},{name:"width",label:"videoWidth",type:"number",tooltip:"tooltip_videoWidth"},{label:"Camera",name:"camera",type:"custom",component:(e,t,a,i)=>(0,B.jsx)(V,{field:e,rtsp:!0,data:t,setData:a,context:i.context})}]}],visDefaultStyle:{width:"100%",height:240,position:"relative"},visPrev:"widgets/cameras/img/prev_camera.png"}}getWidgetInfo(){return K.getWidgetInfo()}static drawCamera(e,t){const a=e.current;if(!a)return;const i=a.getContext("2d");try{const e=new Image;e.src="data:image/jpeg;base64,".concat(t),e.onload=()=>{a.width=e.width,a.height=e.height,i.drawImage(e,0,0,e.width,e.height)},e.onerror=e=>{console.error(e)}}catch(s){console.error(s)}}static getNameAndInstance(e){if(!e)return null;const t=e.indexOf("/");return-1===t?null:{instanceId:e.substring(0,t),name:e.substring(t+1)}}async propertiesUpdate(){if(void 0===this.useMessages&&(this.useMessages=await this.props.context.socket.checkFeatureSupported("INSTANCE_MESSAGES")),this.state.rxData.camera!==this.currentCam){if(this.state.alive){if(this.currentCam){const{instanceId:e,name:t}=K.getNameAndInstance(this.currentCam);this.useMessages?await this.props.context.socket.unsubscribeFromInstance("cameras.".concat(e),"startCamera/".concat(t),this.onCameras):(await this.props.context.socket.setState("cameras.".concat(e,".").concat(t,".running"),{val:!1}),await this.props.context.socket.unsubscribeState("cameras.".concat(e,".").concat(t,".stream"),this.updateStream))}if(this.state.rxData.camera){this.setState({loading:!0});const{instanceId:e,name:t}=K.getNameAndInstance(this.state.rxData.camera);this.useMessages?await this.props.context.socket.subscribeOnInstance("cameras.".concat(e),"startCamera/".concat(t),{width:this.getImageWidth()},this.onCameras):await this.props.context.socket.subscribeState("cameras.".concat(e,".").concat(t,".stream"),this.updateStream)}else{const e=this.videoRef.current;if(e){e.getContext("2d").clearRect(0,0,e.width,e.height)}}this.currentCam=this.state.rxData.camera}else if(this.currentCam){const{instanceId:e,name:t}=K.getNameAndInstance(this.currentCam);this.useMessages||(await this.props.context.socket.setState("cameras.".concat(e,".").concat(t,".running"),{val:!1}),await this.props.context.socket.unsubscribeState("cameras.".concat(e,".").concat(t,".stream"),this.updateStream)),this.currentCam=null}}else if(this.currentCam&&this.state.alive){const{instanceId:e,name:t}=K.getNameAndInstance(this.currentCam);this.useMessages?await this.props.context.socket.subscribeOnInstance("cameras.".concat(e),"startCamera/".concat(t),{width:this.getImageWidth()},this.onCameras):await this.props.context.socket.setState("cameras.".concat(e,".").concat(t,".running"),{val:!0,expire:30})}else if(this.currentCam&&!this.state.alive){const{instanceId:e,name:t}=K.getNameAndInstance(this.currentCam);this.useMessages||(await this.props.context.socket.setState("cameras.".concat(e,".").concat(t,".running"),{val:!1}),await this.props.context.socket.unsubscribeState("cameras.".concat(e,".").concat(t,".stream"),this.updateStream)),this.currentCam=null}}getImageWidth(e){var t;return(e=void 0===e?this.state.full:e)&&this.fullVideoRef.current?this.fullVideoRef.current.parentElement.clientWidth||0:(null===(t=this.videoRef.current)||void 0===t?void 0:t.parentElement.clientWidth)||0}async subscribeOnAlive(){const e=K.getNameAndInstance(this.state.rxData.camera);this.subsribedOnAlive!==(e?e.instanceId:null)&&(this.subsribedOnAlive&&(this.props.context.socket.unsubscribeState("system.adapter.cameras.".concat(this.subsribedOnAlive,".alive"),this.onAliveChanged),this.subsribedOnAlive=""),e&&(this.props.context.socket.subscribeState("system.adapter.cameras.".concat(e.instanceId,".alive"),this.onAliveChanged),this.subsribedOnAlive=e.instanceId))}componentDidMount(){super.componentDidMount(),setTimeout((()=>this.propertiesUpdate()),100),this.subscribeOnAlive(),this.videoInterval=setInterval((()=>this.propertiesUpdate()),14e3)}async onRxDataChanged(){await this.subscribeOnAlive(),await this.propertiesUpdate()}componentWillUnmount(){if(super.componentWillUnmount(),this.videoInterval&&clearInterval(this.videoInterval),this.videoInterval=null,this.subsribedOnAlive&&(this.props.context.socket.unsubscribeState("system.adapter.cameras.".concat(this.subsribedOnAlive,".alive"),this.onAliveChanged),this.subsribedOnAlive=null),this.currentCam){const{instanceId:e,name:t}=K.getNameAndInstance(this.currentCam);this.useMessages&&this.props.context.socket.unsubscribeFromInstance("cameras.".concat(e),"startCamera/".concat(t),this.onCameras).catch((e=>console.error(e)))}}renderDialog(){return this.state.full?(0,B.jsxs)(o.Dialog,{fullWidth:!0,maxWidth:"lg",open:!0,onClose:()=>this.setState({full:!1}),children:[(0,B.jsx)(o.DialogTitle,{children:this.state.rxData.widgetTitle}),(0,B.jsx)(o.DialogContent,{children:(0,B.jsx)("div",{style:E.imageContainer,children:(0,B.jsx)("canvas",{ref:this.fullVideoRef,style:E.fullCamera})})}),(0,B.jsx)(o.DialogActions,{children:(0,B.jsx)(o.Button,{onClick:e=>{e.stopPropagation(),e.preventDefault(),this.setState({full:!1})},startIcon:(0,B.jsx)(W.Close,{}),color:"primary",variant:"contained",children:z.t("Close")})})]}):null}renderWidgetBody(e){super.renderWidgetBody(e);const t=(0,B.jsxs)("div",{style:E.imageContainer,onClick:()=>this.setState({full:!0}),children:[this.state.loading&&this.state.alive&&(0,B.jsx)(o.CircularProgress,{style:E.progress}),this.state.alive?null:(0,B.jsx)("div",{style:{position:"absolute",top:0,left:0},children:z.t("Camera instance %s inactive",(this.state.rxData.camera||"").split("/")[0])}),(0,B.jsx)("canvas",{ref:this.videoRef,style:E.camera}),this.renderDialog()]});return this.state.rxData.noCard||e.widget.usedInWidget?t:this.wrapContent(t,null,{boxSizing:"border-box",paddingBottom:10,height:"100%"})}}const M=K,J={camera:{width:"100%",height:"100%",objectFit:"contain",cursor:"pointer"},fullCamera:{width:"100%",height:"100%",objectFit:"contain"},imageContainer:{flex:1,overflow:"hidden",position:"relative",width:"100%",height:"100%"}};class G extends z{constructor(e){super(e),this.updateImage=()=>{this.loading||(this.loading=!0,this.videoRef.current&&(this.videoRef.current.src=this.getUrl(),this.videoRef.current.onload=e=>{e.target&&"1"!==!e.target.style.opacity&&(e.target.style.opacity="1"),this.state.error&&this.setState({error:!1}),this.loading=!1},this.videoRef.current.onerror=e=>{e.target&&"0"!==e.target.style.opacity&&(e.target.style.opacity="0"),!this.state.error&&this.setState({error:!0}),this.loading=!1}),this.fullVideoRef.current&&this.state.full&&(this.fullVideoRef.current.src=this.getUrl(!0)))},this.onAliveChanged=(e,t)=>{const a=G.getNameAndInstance(this.state.rxData.camera);if(a&&e==="system.adapter.cameras.".concat(a.instanceId,".alive")){const e=!(null===t||void 0===t||!t.val);e!==this.state.alive&&this.setState({alive:e},(()=>this.restartPollingInterval()))}},this.videoInterval=null,this.videoRef=s().createRef(),this.fullVideoRef=s().createRef(),this.currentCam=null,this.state.full=!1,this.state.alive=!1,this.state.error=!1}static getWidgetInfo(){return{id:"tplCameras2SnapshotCamera",visSet:"cameras",visName:"Polling Camera",visWidgetLabel:"Polling Camera",visAttrs:[{name:"common",fields:[{name:"noCard",label:"without_card",type:"checkbox"},{name:"widgetTitle",label:"name",hidden:"!!data.noCard"},{name:"pollingInterval",label:"pollingInterval",tooltip:"tooltip_ms",type:"number",default:500},{name:"pollingIntervalFull",label:"pollingIntervalFull",tooltip:"tooltip_ms",type:"number",default:300},{name:"noCacheByFull",label:"noCacheByFull",type:"checkbox"},{name:"rotate",label:"rotate",type:"select",noTranslation:!0,options:[{value:0,label:"0\xb0"},{value:90,label:"90\xb0"},{value:180,label:"180\xb0"},{value:270,label:"270\xb0"}]},{label:"Camera",name:"camera",type:"custom",component:(e,t,a,i)=>(0,B.jsx)(V,{field:e,data:t,setData:a,context:i.context})},{label:"camera_in_dialog",name:"bigCamera",type:"custom",component:(e,t,a,i)=>(0,B.jsx)(V,{field:e,data:t,setData:a,context:i.context}),hidden:"!data.camera"}]}],visDefaultStyle:{width:"100%",height:240,position:"relative"},visPrev:"widgets/cameras/img/prev_snapshot.png"}}getWidgetInfo(){return G.getWidgetInfo()}static getNameAndInstance(e){if(!e)return null;const t=e.indexOf("/");return-1===t?null:{instanceId:e.substring(0,t),name:e.substring(t+1)}}getImageWidth(e){var t,a;return(e=void 0===e?this.state.full:e)&&this.fullVideoRef.current?(null===(a=this.fullVideoRef.current)||void 0===a?void 0:a.parentElement.clientWidth)||0:(null===(t=this.videoRef.current)||void 0===t?void 0:t.parentElement.clientWidth)||0}async subscribeOnAlive(){const e=G.getNameAndInstance(this.state.rxData.camera);this.subsribedOnAlive!==(e?e.instanceId:null)&&(this.subsribedOnAlive&&(this.props.context.socket.unsubscribeState("system.adapter.cameras.".concat(this.subsribedOnAlive,".alive"),this.onAliveChanged),this.subsribedOnAlive=""),e&&(this.props.context.socket.subscribeState("system.adapter.cameras.".concat(e.instanceId,".alive"),this.onAliveChanged),this.subsribedOnAlive=e.instanceId))}restartPollingInterval(){this.pollingInterval&&(clearInterval(this.pollingInterval),this.pollingInterval=null),this.state.alive&&(this.pollingInterval=setInterval(this.updateImage,parseInt(this.state.full?this.state.rxData.pollingIntervalFull:this.state.rxData.pollingInterval,10)||500))}componentDidMount(){super.componentDidMount(),this.subscribeOnAlive()}async onRxDataChanged(){await this.subscribeOnAlive()}componentWillUnmount(){super.componentWillUnmount(),this.pollingInterval&&clearInterval(this.pollingInterval),this.pollingInterval=null,this.subsribedOnAlive&&(this.props.context.socket.unsubscribeState("system.adapter.cameras.".concat(this.subsribedOnAlive,".alive"),this.onAliveChanged),this.subsribedOnAlive=null)}renderDialog(e){return this.state.full&&this.state.rxData.bigCamera&&(e=this.getUrl(!0)||e),this.state.full?(0,B.jsxs)(o.Dialog,{fullWidth:!0,maxWidth:"lg",open:!0,onClose:()=>this.setState({full:!1},(()=>this.restartPollingInterval())),children:[(0,B.jsx)(o.DialogTitle,{children:this.state.rxData.widgetTitle}),(0,B.jsx)(o.DialogContent,{children:(0,B.jsx)("div",{style:J.imageContainer,children:(0,B.jsx)("img",{src:e,ref:this.fullVideoRef,style:J.fullCamera,alt:this.state.rxData.camera})})}),(0,B.jsx)(o.DialogActions,{children:(0,B.jsx)(o.Button,{onClick:e=>{e.stopPropagation(),e.preventDefault(),this.setState({full:!1},(()=>this.restartPollingInterval()))},startIcon:(0,B.jsx)(W.Close,{}),color:"primary",variant:"contained",children:z.t("Close")})})]}):null}getUrl(e){if(e&&!this.state.rxData.bigCamera){return"../cameras.".concat(this.state.rxData.bigCamera,"?")+["ts=".concat(Date.now()),"w=".concat(this.getImageWidth(!0)),"noCache=".concat(this.state.rxData.noCacheByFull),this.state.rxData.rotate?"angle=".concat(this.state.rxData.rotate):""].filter((e=>e)).join("&")}if(this.state.rxData.camera){return"../cameras.".concat(this.state.rxData.camera,"?")+["ts=".concat(Date.now()),"w=".concat(this.getImageWidth(e)),"noCache=".concat(!!e&&this.state.rxData.noCacheByFull),this.state.rxData.rotate?"angle=".concat(this.state.rxData.rotate):""].filter((e=>e)).join("&")}return""}renderWidgetBody(e){super.renderWidgetBody(e);const t=this.getUrl(),a=(0,B.jsxs)("div",{style:J.imageContainer,onClick:()=>!this.state.error&&this.setState({full:!0},(()=>this.restartPollingInterval())),children:[this.state.alive?null:(0,B.jsx)("div",{style:{position:"absolute",top:20,left:0},children:z.t("Camera instance %s inactive",(this.state.rxData.camera||"").split("/")[0])}),t?(0,B.jsx)("img",{src:t,ref:this.videoRef,style:J.camera,alt:this.state.rxData.camera}):z.t("No camera selected"),this.state.alive&&this.state.error?(0,B.jsxs)("div",{style:{position:"absolute",top:20,left:0},children:[(0,B.jsxs)("div",{style:{color:"red"},children:[z.t("Cannot load URL"),":"]}),(0,B.jsx)("div",{children:this.getUrl(!0)})]}):null,this.renderDialog(t)]});return this.state.rxData.noCard||e.widget.usedInWidget?a:this.wrapContent(a,null,{boxSizing:"border-box",paddingBottom:10,height:"100%"})}}const Z=G,q={app:e=>{var t,a;return{backgroundColor:null===e||void 0===e||null===(t=e.palette)||void 0===t?void 0:t.background.default,color:null===e||void 0===e||null===(a=e.palette)||void 0===a?void 0:a.text.primary,height:"100%",width:"100%",overflow:"auto",display:"flex"}}};r(class extends N{constructor(e){super(e),this.onConnectionChanged=e=>{e&&this.socket.getSystemConfig().then((e=>this.setState({systemConfig:e})))},this.state.disabled=JSON.parse(window.localStorage.getItem("disabled"))||{},d.I18n.extendTranslations(D),this.socket.registerConnectionHandler(this.onConnectionChanged)}renderWidget(){const e={camera:(0,B.jsx)(M,{context:{socket:this.socket,systemConfig:this.state.systemConfig},style:{width:400,height:180},data:{name:"Camera",camera:"0/cam2"},adapterName:"cameras",instance:0},"Camera"),snapshot:(0,B.jsx)(Z,{context:{socket:this.socket,systemConfig:this.state.systemConfig},style:{width:400,height:180},data:{name:"Camera",camera:"0/cam2"},adapterName:"cameras",instance:0},"SnapshotCamera")};return(0,B.jsxs)(o.Box,{sx:q.app,children:[(0,B.jsx)("div",{children:Object.keys(e).map((e=>(0,B.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,B.jsx)(o.Checkbox,{checked:!this.state.disabled[e],onChange:t=>{const a=JSON.parse(JSON.stringify(this.state.disabled));a[e]=!t.target.checked,window.localStorage.setItem("disabled",JSON.stringify(a)),this.setState({disabled:a})}}),e]},e)))}),Object.keys(e).map((t=>this.state.disabled[t]?null:e[t]))]})}})},3221:(e,t,a)=>{a.d(t,{A:()=>h});var i=a(9379),s=a(45),n=(a(8437),a(8565)),r=a(3375),o=a(579);const l=["theme"];function c(e){let{theme:t}=e,a=(0,s.A)(e,l);const c=r.A in t?t[r.A]:void 0;return(0,o.jsx)(n.ThemeProvider,(0,i.A)((0,i.A)({},a),{},{themeId:c?r.A:void 0,theme:c||t}))}var d=a(9799);const m=["theme"];function h(e){let{theme:t}=e,a=(0,s.A)(e,m);if("function"===typeof t)return(0,o.jsx)(c,(0,i.A)({theme:t},a));return"colorSchemes"in(r.A in t?t[r.A]:t)?(0,o.jsx)(d.Zr,(0,i.A)({theme:t},a)):(0,o.jsx)(c,(0,i.A)({theme:t},a))}},9799:(e,t,a)=>{a.d(t,{Zr:()=>C,Gk:()=>g,Gs:()=>v,Ut:()=>h});var i=a(9379),s=(a(8437),a(8812)),n=a(8565),r=a(3947),o=a(137),l=a(3375),c=a(579);const d={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:m,useColorScheme:h,getInitColorSchemeScript:u}=(0,n.unstable_createCssVarsProvider)({themeId:l.A,theme:()=>(0,r.A)({cssVariables:!0}),colorSchemeStorageKey:d.colorSchemeStorageKey,modeStorageKey:d.modeStorageKey,defaultColorScheme:{light:d.defaultLightColorScheme,dark:d.defaultDarkColorScheme},resolveTheme:e=>{const t=(0,i.A)((0,i.A)({},e),{},{typography:(0,o.A)(e.palette,e.typography)});return t.unstable_sx=function(e){return(0,s.A)({sx:e,theme:this})},t}});function g(e){return(0,c.jsx)(m,(0,i.A)({},e))}let p=!1;const v=e=>(p||(console.warn(["MUI: The getInitColorSchemeScript function has been deprecated.","","You should use `import InitColorSchemeScript from '@mui/material/InitColorSchemeScript'`","and replace the function call with `` instead."].join("\n")),p=!0),u(e)),C=m},1153:(e,t,a)=>{var i=a(8437),s=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,a){var i,n={},c=null,d=null;for(i in void 0!==a&&(c=""+a),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)r.call(t,i)&&!l.hasOwnProperty(i)&&(n[i]=t[i]);if(e&&e.defaultProps)for(i in t=e.defaultProps)void 0===n[i]&&(n[i]=t[i]);return{$$typeof:s,type:e,key:c,ref:d,props:n,_owner:o.current}}t.jsx=c,t.jsxs=c},579:(e,t,a)=>{e.exports=a(1153)},6477:e=>{e.exports=JSON.parse('{"RTSP url":"RTSP-URL","RTSP Camera":"RTSP-Kamera","cameras_set_label":"RTSP-Kamera","name":"Name","without_card":"Ohne Rahmen","Cameras":"Kameras","Camera":"Kamera","Close":"Schlie\xdfen","videoWidth":"Videobreite","tooltip_videoWidth":"Stellen Sie die Breite des Videos nicht zu hoch ein, um Breitband zu sparen. Es ist sowohl f\xfcr kleine als auch f\xfcr vollst\xe4ndige Videos geeignet. Wenn nicht festgelegt, wird die anf\xe4ngliche Gr\xf6\xdfe des Widgets verwendet.","Camera instance %s inactive":"Kamerainstanz %s inaktiv","disabled":"deaktiviert","pollingInterval":"Abrufintervall","pollingIntervalFull":"Abfrageintervall im Dialog","tooltip_ms":"Millisekunden","rotate":"Bild drehen","Polling Camera":"URL kamera","Cannot load URL":"URL kann nicht geladen werden","noCacheByFull":"Kein Cache im Dialog","camera_in_dialog":"Kamera im Dialog","No camera selected":"Keine Kamera ausgew\xe4hlt"}')},5553:e=>{e.exports=JSON.parse('{"RTSP Camera":"RTSP Camera","without_card":"Without frame","name":"Name","RTSP url":"RTSP url","cameras_set_label":"RTSP Camera","Cameras":"Cameras","Camera":"Camera","Close":"Close","videoWidth":"Video width","tooltip_videoWidth":"Do not set width of video too hight to save broadband. It is for both: small and full videos. If not set, the initial size of widget will be taken.","Camera instance %s inactive":"Camera instance %s inactive","disabled":"disabled","pollingInterval":"Polling interval","pollingIntervalFull":"Polling interval in dialog","tooltip_ms":"milliseconds","rotate":"Rotate image","Polling Camera":"Polling Camera","Cannot load URL":"Cannot load URL","noCacheByFull":"No cache in dialog","camera_in_dialog":"Camera in Dialog","No camera selected":"No camera selected"}')},2706:e=>{e.exports=JSON.parse('{"RTSP url":"URL de RTSP","RTSP Camera":"C\xe1mara RTSP","cameras_set_label":"C\xe1mara RTSP","name":"Nombre","without_card":"sin marco","Cameras":"C\xe1maras","Camera":"C\xe1mara","Close":"Cerca","videoWidth":"Ancho de v\xeddeo","tooltip_videoWidth":"No configure el ancho del video demasiado alto para ahorrar banda ancha. Es para ambos: videos peque\xf1os y completos. Si no se establece, se tomar\xe1 el tama\xf1o inicial del widget.","Camera instance %s inactive":"Instancia de c\xe1mara %s inactiva","disabled":"desactivado","pollingInterval":"Intervalo de votaci\xf3n","pollingIntervalFull":"Intervalo de sondeo en el di\xe1logo","tooltip_ms":"milisegundos","rotate":"Girar imagen","Polling Camera":"C\xe1mara de sondeo","Cannot load URL":"No se puede cargar la URL","noCacheByFull":"No hay cach\xe9 en el di\xe1logo","camera_in_dialog":"C\xe1mara en di\xe1logo","No camera selected":"Ninguna c\xe1mara seleccionada"}')},4554:e=>{e.exports=JSON.parse('{"RTSP url":"URL RTSP","RTSP Camera":"Cam\xe9ra RTSP","cameras_set_label":"Cam\xe9ra RTSP","name":"Nom","without_card":"Sans cadre","Cameras":"Appareils photo","Camera":"Cam\xe9ra","Close":"Fermer","videoWidth":"Largeur vid\xe9o","tooltip_videoWidth":"Ne d\xe9finissez pas une largeur de vid\xe9o trop \xe9lev\xe9e pour \xe9conomiser le haut d\xe9bit. C\'est pour les deux\xa0: petites et compl\xe8tes vid\xe9os. S\'il n\'est pas d\xe9fini, la taille initiale du widget sera prise.","Camera instance %s inactive":"Instance de cam\xe9ra %s inactive","disabled":"d\xe9sactiv\xe9","pollingInterval":"Intervalle d\'interrogation","pollingIntervalFull":"Intervalle d\'interrogation dans la bo\xeete de dialogue","tooltip_ms":"millisecondes","rotate":"Faire pivoter l\'image","Polling Camera":"Cam\xe9ra de sondage","Cannot load URL":"Impossible de charger l\'URL","noCacheByFull":"Pas de cache dans la bo\xeete de dialogue","camera_in_dialog":"Cam\xe9ra dans la bo\xeete de dialogue","No camera selected":"Aucune cam\xe9ra s\xe9lectionn\xe9e"}')},6851:e=>{e.exports=JSON.parse('{"RTSP url":"URL RTSP","RTSP Camera":"Fotocamera RTSP","cameras_set_label":"Fotocamera RTSP","name":"Nome","without_card":"Senza cornice","Cameras":"Macchine fotografiche","Camera":"Telecamera","Close":"Vicino","videoWidth":"Larghezza video","tooltip_videoWidth":"Non impostare la larghezza del video troppo alta per salvare la banda larga. \xc8 per entrambi: video piccoli e completi. Se non impostato, verr\xe0 utilizzata la dimensione iniziale del widget.","Camera instance %s inactive":"Istanza fotocamera %s inattiva","disabled":"Disabilitato","pollingInterval":"Intervallo di polling","pollingIntervalFull":"Intervallo di polling nella finestra di dialogo","tooltip_ms":"millisecondi","rotate":"Ruota l\'immagine","Polling Camera":"Telecamera per sondaggi","Cannot load URL":"Impossibile caricare l\'URL","noCacheByFull":"Nessuna cache nella finestra di dialogo","camera_in_dialog":"Fotocamera nella finestra di dialogo","No camera selected":"Nessuna telecamera selezionata"}')},6164:e=>{e.exports=JSON.parse('{"RTSP url":"RTSP-URL","RTSP Camera":"RTSP-camera","cameras_set_label":"RTSP-camera","name":"Naam","without_card":"Zonder lijst","Cameras":"Camera\'s","Camera":"Camera","Close":"Dichtbij","videoWidth":"Videobreedte","tooltip_videoWidth":"Stel de breedte van de video niet te hoog in om breedband te besparen. Het is voor beide: kleine en volledige video\'s. Als dit niet is ingesteld, wordt de oorspronkelijke grootte van de widget gebruikt.","Camera instance %s inactive":"Camera-instantie %s inactief","disabled":"gehandicapt","pollingInterval":"Polling-interval","pollingIntervalFull":"Polling-interval in dialoogvenster","tooltip_ms":"milliseconden","rotate":"Afbeelding roteren","Polling Camera":"Pollingcamera","Cannot load URL":"Kan URL niet laden","noCacheByFull":"Geen cache in dialoogvenster","camera_in_dialog":"Camera in dialoog","No camera selected":"Geen camera geselecteerd"}')},3638:e=>{e.exports=JSON.parse('{"RTSP url":"URL RTSP","RTSP Camera":"Kamera RTSP","cameras_set_label":"Kamera RTSP","name":"Nazwa","without_card":"Bez ramy","Cameras":"kamery","Camera":"Kamera","Close":"Zamkn\u0105\u0107","videoWidth":"Szeroko\u015b\u0107 wideo","tooltip_videoWidth":"Nie ustawiaj zbyt du\u017cej szeroko\u015bci wideo, aby zaoszcz\u0119dzi\u0107 \u0142\u0105cze szerokopasmowe. Dotyczy to zar\xf3wno ma\u0142ych, jak i pe\u0142nych film\xf3w. Je\u015bli nie ustawiono, zostanie wzi\u0119ty pocz\u0105tkowy rozmiar wid\u017cetu.","Camera instance %s inactive":"Instancja kamery %s nieaktywna","disabled":"wy\u0142\u0105czony","pollingInterval":"Interwa\u0142 odpytywania","pollingIntervalFull":"Interwa\u0142 odpytywania w oknie dialogowym","tooltip_ms":"milisekundy","rotate":"Obr\xf3\u0107 obraz","Polling Camera":"Kamera wyborcza","Cannot load URL":"Nie mo\u017cna za\u0142adowa\u0107 adresu URL","noCacheByFull":"Brak pami\u0119ci podr\u0119cznej w oknie dialogowym","camera_in_dialog":"Kamera w oknie dialogowym","No camera selected":"Nie wybrano kamery"}')},4606:e=>{e.exports=JSON.parse('{"RTSP url":"url RTSP","RTSP Camera":"C\xe2mera RTSP","cameras_set_label":"C\xe2mera RTSP","name":"Nome","without_card":"sem moldura","Cameras":"C\xe2meras","Camera":"C\xe2mera","Close":"Fechar","videoWidth":"Largura do v\xeddeo","tooltip_videoWidth":"N\xe3o defina a largura do v\xeddeo muito alta para economizar banda larga. \xc9 para ambos: v\xeddeos pequenos e completos. Se n\xe3o for definido, o tamanho inicial do widget ser\xe1 usado.","Camera instance %s inactive":"Inst\xe2ncia da c\xe2mera %s inativa","disabled":"desabilitado","pollingInterval":"Intervalo de vota\xe7\xe3o","pollingIntervalFull":"Intervalo de pesquisa na caixa de di\xe1logo","tooltip_ms":"milissegundos","rotate":"Girar imagem","Polling Camera":"C\xe2mera de vota\xe7\xe3o","Cannot load URL":"N\xe3o \xe9 poss\xedvel carregar o URL","noCacheByFull":"Sem cache na caixa de di\xe1logo","camera_in_dialog":"C\xe2mera na caixa de di\xe1logo","No camera selected":"Nenhuma c\xe2mera selecionada"}')},3715:e=>{e.exports=JSON.parse('{"RTSP url":"RTSP-\u0430\u0434\u0440\u0435\u0441","RTSP Camera":"RTSP-\u043a\u0430\u043c\u0435\u0440\u0430","cameras_set_label":"RTSP-\u043a\u0430\u043c\u0435\u0440\u0430","name":"\u0418\u043c\u044f","without_card":"\u0411\u0435\u0437 \u0440\u0430\u043c\u043a\u0438","Cameras":"\u041a\u0430\u043c\u0435\u0440\u044b","Camera":"\u041a\u0430\u043c\u0435\u0440\u0430","Close":"\u0417\u0430\u043a\u0440\u044b\u0432\u0430\u0442\u044c","videoWidth":"\u0428\u0438\u0440\u0438\u043d\u0430 \u0432\u0438\u0434\u0435\u043e","tooltip_videoWidth":"\u041d\u0435 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0439\u0442\u0435 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0448\u0438\u0440\u0438\u043d\u0443 \u0432\u0438\u0434\u0435\u043e, \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0448\u0438\u0440\u043e\u043a\u043e\u043f\u043e\u043b\u043e\u0441\u043d\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f. \u041e\u043d \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u043a\u0430\u043a \u0434\u043b\u044f \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0445, \u0442\u0430\u043a \u0438 \u0434\u043b\u044f \u043f\u043e\u043b\u043d\u044b\u0445 \u0432\u0438\u0434\u0435\u043e. \u0415\u0441\u043b\u0438 \u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e, \u0431\u0443\u0434\u0435\u0442 \u0432\u0437\u044f\u0442 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u0440\u0430\u0437\u043c\u0435\u0440 \u0432\u0438\u0434\u0436\u0435\u0442\u0430.","Camera instance %s inactive":"\u042d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u043a\u0430\u043c\u0435\u0440\u044b %s \u043d\u0435\u0430\u043a\u0442\u0438\u0432\u0435\u043d","disabled":"\u043d\u0435\u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u044b\u0439","pollingInterval":"\u0418\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u043e\u043f\u0440\u043e\u0441\u0430","pollingIntervalFull":"\u0418\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u043e\u043f\u0440\u043e\u0441\u0430 \u0432 \u0434\u0438\u0430\u043b\u043e\u0433\u0435","tooltip_ms":"\u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434\u044b","rotate":"\u041f\u043e\u0432\u043e\u0440\u043e\u0442 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f","Polling Camera":"URL-\u041a\u0430\u043c\u0435\u0440\u0430","Cannot load URL":"\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c URL","noCacheByFull":"\u041d\u0435\u0442 \u043a\u0435\u0448\u0430 \u0432 \u0434\u0438\u0430\u043b\u043e\u0433\u0435","camera_in_dialog":"\u041a\u0430\u043c\u0435\u0440\u0430 \u0432 \u0434\u0438\u0430\u043b\u043e\u0433\u0435","No camera selected":"\u041a\u0430\u043c\u0435\u0440\u0430 \u043d\u0435 \u0432\u044b\u0431\u0440\u0430\u043d\u0430"}')},3882:e=>{e.exports=JSON.parse('{"RTSP url":"URL-\u0430\u0434\u0440\u0435\u0441\u0430 RTSP","RTSP Camera":"\u041a\u0430\u043c\u0435\u0440\u0430 RTSP","cameras_set_label":"\u041a\u0430\u043c\u0435\u0440\u0430 RTSP","name":"\u0406\u043c\'\u044f","without_card":"\u0411\u0435\u0437 \u0440\u0430\u043c\u0438","Cameras":"\u0424\u043e\u0442\u043e\u0430\u043f\u0430\u0440\u0430\u0442\u0438","Camera":"\u041a\u0430\u043c\u0435\u0440\u0430","Close":"\u0417\u0430\u043a\u0440\u0438\u0442\u0438","videoWidth":"\u0428\u0438\u0440\u0438\u043d\u0430 \u0432\u0456\u0434\u0435\u043e","tooltip_videoWidth":"\u041d\u0435 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u044e\u0439\u0442\u0435 \u0437\u0430\u043d\u0430\u0434\u0442\u043e \u0432\u0438\u0441\u043e\u043a\u0443 \u0448\u0438\u0440\u0438\u043d\u0443 \u0432\u0456\u0434\u0435\u043e, \u0449\u043e\u0431 \u0437\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u0448\u0438\u0440\u043e\u043a\u043e\u0441\u043c\u0443\u0433\u043e\u0432\u0438\u0439 \u0437\u0432\u2019\u044f\u0437\u043e\u043a. \u0426\u0435 \u044f\u043a \u0434\u043b\u044f \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0445, \u0442\u0430\u043a \u0456 \u0434\u043b\u044f \u043f\u043e\u0432\u043d\u0438\u0445 \u0432\u0456\u0434\u0435\u043e. \u042f\u043a\u0449\u043e \u043d\u0435 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e, \u0431\u0443\u0434\u0435 \u0432\u0437\u044f\u0442\u043e \u043f\u043e\u0447\u0430\u0442\u043a\u043e\u0432\u0438\u0439 \u0440\u043e\u0437\u043c\u0456\u0440 \u0432\u0456\u0434\u0436\u0435\u0442\u0430.","Camera instance %s inactive":"\u041f\u0440\u0438\u043c\u0456\u0440\u043d\u0438\u043a \u043a\u0430\u043c\u0435\u0440\u0438 %s \u043d\u0435\u0430\u043a\u0442\u0438\u0432\u043d\u0438\u0439","disabled":"\u0432\u0438\u043c\u043a\u043d\u0435\u043d\u043e","pollingInterval":"\u0406\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u043e\u043f\u0438\u0442\u0443\u0432\u0430\u043d\u043d\u044f","pollingIntervalFull":"\u0406\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u043e\u043f\u0438\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u0432 \u0434\u0456\u0430\u043b\u043e\u0433\u043e\u0432\u043e\u043c\u0443 \u0432\u0456\u043a\u043d\u0456","tooltip_ms":"\u043c\u0456\u043b\u0456\u0441\u0435\u043a\u0443\u043d\u0434","rotate":"\u041f\u043e\u0432\u0435\u0440\u043d\u0443\u0442\u0438 \u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f","Polling Camera":"\u041a\u0430\u043c\u0435\u0440\u0430 \u043e\u043f\u0438\u0442\u0443\u0432\u0430\u043d\u043d\u044f","Cannot load URL":"\u041d\u0435 \u0432\u0434\u0430\u0454\u0442\u044c\u0441\u044f \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438 URL","noCacheByFull":"\u0423 \u0434\u0456\u0430\u043b\u043e\u0433\u043e\u0432\u043e\u043c\u0443 \u0432\u0456\u043a\u043d\u0456 \u043d\u0435\u043c\u0430\u0454 \u043a\u0435\u0448\u0443","camera_in_dialog":"\u041a\u0430\u043c\u0435\u0440\u0430 \u0432 \u0434\u0456\u0430\u043b\u043e\u0437\u0456","No camera selected":"\u041a\u0430\u043c\u0435\u0440\u0430 \u043d\u0435 \u0432\u0438\u0431\u0440\u0430\u043d\u0430"}')},222:e=>{e.exports=JSON.parse('{"RTSP url":"RTSP \u7f51\u5740","RTSP Camera":"RTSP\u6444\u50cf\u5934","cameras_set_label":"RTSP\u6444\u50cf\u5934","name":"\u59d3\u540d","without_card":"\u65e0\u6846","Cameras":"\u76f8\u673a","Camera":"\u76f8\u673a","Close":"\u5173\u95ed","videoWidth":"\u89c6\u9891\u5bbd\u5ea6","tooltip_videoWidth":"\u4e0d\u8981\u5c06\u89c6\u9891\u5bbd\u5ea6\u8bbe\u7f6e\u5f97\u592a\u9ad8\uff0c\u4ee5\u8282\u7701\u5bbd\u5e26\u3002\u5b83\u9002\u7528\u4e8e\uff1a\u5c0f\u89c6\u9891\u548c\u5b8c\u6574\u89c6\u9891\u3002\u5982\u679c\u672a\u8bbe\u7f6e\uff0c\u5219\u5c06\u91c7\u7528\u5c0f\u90e8\u4ef6\u7684\u521d\u59cb\u5927\u5c0f\u3002","Camera instance %s inactive":"\u76f8\u673a\u5b9e\u4f8b %s \u4e0d\u6d3b\u52a8","disabled":"\u6b8b\u75be\u4eba","pollingInterval":"\u8f6e\u8be2\u95f4\u9694","pollingIntervalFull":"\u5bf9\u8bdd\u6846\u4e2d\u7684\u8f6e\u8be2\u95f4\u9694","tooltip_ms":"\u6beb\u79d2","rotate":"\u65cb\u8f6c\u56fe\u50cf","Polling Camera":"\u6295\u7968\u6444\u50cf\u5934","Cannot load URL":"\u65e0\u6cd5\u52a0\u8f7d\u7f51\u5740","noCacheByFull":"\u5bf9\u8bdd\u6846\u4e2d\u6ca1\u6709\u7f13\u5b58","camera_in_dialog":"\u76f8\u673a\u5bf9\u8bdd","No camera selected":"\u672a\u9009\u62e9\u76f8\u673a"}')}}]); -//# sourceMappingURL=src_bootstrap_js.bdd07d8e.chunk.js.map \ No newline at end of file +/*! For license information please see src_bootstrap_js.598de3c9.chunk.js.LICENSE.txt */ +"use strict";(self.webpackChunkiobroker_vis_2_widgets_camera=self.webpackChunkiobroker_vis_2_widgets_camera||[]).push([["src_bootstrap_js"],{5585:(e,t,a)=>{var i=a(8437),s=a.n(i),n=a(6820);window.adapterName="vis-react-demo";const r=function(e){const t=document.getElementById("root");if(t){(0,n.createRoot)(t).render(s().createElement(e,{socket:{port:8082}}))}};var o=a(7085),l=a(8565),c=a(3221),d=a(5636),m=a(6611),h=a.n(m),u=a(4463),g=a.n(u),p=a(4279),v=a.n(p),C=a(6669),b=a.n(C),f=a(1285),S=a.n(f),x=a(2925),y=a.n(x),I=a(2243),w=a.n(I),R=a(8137),_=a.n(R),P=a(6189),k=a.n(P),T=a(2717),A=a.n(T);class j extends d.GenericApp{constructor(e){super(e,Object.assign({},e));const t={en:h(),de:g(),ru:v(),pt:b(),nl:S(),fr:y(),it:w(),es:_(),pl:k(),uk:k(),"zh-cn":A()};d.I18n.setTranslations(t),d.I18n.setLanguage((navigator.language||"en").substring(0,2).toLowerCase())}renderWidget(){return s().createElement("div",null,"Please implement renderWidget method in your class")}render(){if(!this.state.loaded)return s().createElement(l.StyledEngineProvider,{injectFirst:!0},s().createElement(c.A,{theme:this.state.theme},s().createElement(d.Loader,{themeType:this.state.themeType})));const e={backgroundColor:"dark"===this.state.themeType?"#303030":"#f0f0f0",color:"dark"===this.state.themeType?"#f0f0f0":"#303030",height:"100%",width:"100%",overflow:"auto"};return s().createElement(l.StyledEngineProvider,{injectFirst:!0},s().createElement(c.A,{theme:this.state.theme},s().createElement("div",{style:e},this.renderWidget())))}}const N=j,D={en:a(5553),de:a(6477),ru:a(3715),pt:a(4606),nl:a(6164),fr:a(4554),it:a(6851),es:a(2706),pl:a(3638),"zh-cn":a(222),uk:a(3882),prefix:"cameras_"};var W=a(1839),O=a(5973),U=a.n(O),L=a(5301);class F extends(window.visRxWidget||L.VisRxWidget){static getI18nPrefix(){return"cameras_"}}F.propTypes={context:U().object,themeType:U().string,style:U().object,data:U().object};const z=F;var B=a(579);const E={camera:{width:"100%",height:"100%",objectFit:"contain",cursor:"pointer"},fullCamera:{width:"100%",height:"100%",objectFit:"contain"},imageContainer:{flex:1,overflow:"hidden",position:"relative",width:"100%",height:"100%"}},V=e=>{const[t,a]=s().useState(null),[n,r]=s().useState(e.data[e.field.name]||"");return(0,i.useEffect)((()=>{(async()=>{const t=[];(await e.context.socket.getAdapterInstances("cameras")).forEach((a=>{const i=a._id.split(".").pop();a.native.cameras.filter((t=>!e.rtsp||"rtsp"===t.type||t.rtsp)).forEach((e=>{t.push({enabled:!1!==e.enabled,value:"".concat(i,"/").concat(e.name),label:"cameras.".concat(i,"/").concat(e.name),subLabel:e.desc?"".concat(e.desc,"/").concat(e.ip):e.ip||""})}))})),a(t)})()}),[e.context.socket,e.rtsp]),t?(0,B.jsx)(o.Select,{fullWidth:!0,variant:"standard",value:n,onChange:t=>{e.setData({[e.field.name]:t.target.value}),r(t.target.value)},children:t.map((e=>(0,B.jsxs)(o.MenuItem,{value:e.value,style:{display:"block",opacity:e.enabled?1:.5},children:[(0,B.jsx)("div",{children:e.label}),(0,B.jsx)("div",{style:{fontSize:10,fontStyle:"italic",opacity:.7},children:e.subLabel}),e.enabled?null:(0,B.jsx)("div",{style:{fontSize:10,fontStyle:"italic",opacity:.7,color:"red"},children:z.t("disabled")})]},e.value)))}):(0,B.jsx)(o.CircularProgress,{})};class K extends z{constructor(e){super(e),this.updateStream=(e,t)=>{null!==t&&void 0!==t&&t.val&&(this.state.loading&&this.setState({loading:!1}),K.drawCamera(this.videoRef,t.val),this.state.full&&K.drawCamera(this.fullVideoRef,t.val))},this.onCameras=e=>{if(e){if("object"===typeof e&&(e.accepted||e.error))return void(e.error&&console.error(e.error));this.state.loading&&this.setState({loading:!1}),K.drawCamera(this.videoRef,e),this.state.full&&K.drawCamera(this.fullVideoRef,e)}},this.onAliveChanged=(e,t)=>{const a=K.getNameAndInstance(this.state.rxData.camera);if(a&&e==="system.adapter.cameras.".concat(a.instanceId,".alive")){const e=!(null===t||void 0===t||!t.val);e!==this.state.alive&&this.setState({alive:e},(()=>this.propertiesUpdate()))}},this.videoInterval=null,this.videoRef=s().createRef(),this.fullVideoRef=s().createRef(),this.currentCam=null,this.state.full=!1,this.state.alive=!1}static getWidgetInfo(){return{id:"tplCameras2RtspCamera",visSet:"cameras",visName:"RTSP Camera",visWidgetLabel:"RTSP Camera",visWidgetSetLabel:"Cameras",visSetLabel:"Cameras",visSetColor:"#9f0026",visAttrs:[{name:"common",fields:[{name:"noCard",label:"without_card",type:"checkbox"},{name:"widgetTitle",label:"name",hidden:"!!data.noCard"},{name:"width",label:"videoWidth",type:"number",tooltip:"tooltip_videoWidth"},{label:"Camera",name:"camera",type:"custom",component:(e,t,a,i)=>(0,B.jsx)(V,{field:e,rtsp:!0,data:t,setData:a,context:i.context})}]}],visDefaultStyle:{width:"100%",height:240,position:"relative"},visPrev:"widgets/cameras/img/prev_camera.png"}}getWidgetInfo(){return K.getWidgetInfo()}static drawCamera(e,t){const a=e.current;if(!a)return;const i=a.getContext("2d");try{const e=new Image;e.src="data:image/jpeg;base64,".concat(t),e.onload=()=>{a.width=e.width,a.height=e.height,i.drawImage(e,0,0,e.width,e.height)},e.onerror=e=>{console.error(e)}}catch(s){console.error(s)}}static getNameAndInstance(e){if(!e)return null;const t=e.indexOf("/");return-1===t?null:{instanceId:e.substring(0,t),name:e.substring(t+1)}}async propertiesUpdate(){if(void 0===this.useMessages&&(this.useMessages=await this.props.context.socket.checkFeatureSupported("INSTANCE_MESSAGES")),this.state.rxData.camera!==this.currentCam){if(this.state.alive){if(this.currentCam){const{instanceId:e,name:t}=K.getNameAndInstance(this.currentCam);this.useMessages?await this.props.context.socket.unsubscribeFromInstance("cameras.".concat(e),"startCamera/".concat(t),this.onCameras):(await this.props.context.socket.setState("cameras.".concat(e,".").concat(t,".running"),{val:!1}),await this.props.context.socket.unsubscribeState("cameras.".concat(e,".").concat(t,".stream"),this.updateStream))}if(this.state.rxData.camera){this.setState({loading:!0});const{instanceId:e,name:t}=K.getNameAndInstance(this.state.rxData.camera);this.useMessages?await this.props.context.socket.subscribeOnInstance("cameras.".concat(e),"startCamera/".concat(t),{width:this.getImageWidth()},this.onCameras):await this.props.context.socket.subscribeState("cameras.".concat(e,".").concat(t,".stream"),this.updateStream)}else{const e=this.videoRef.current;if(e){e.getContext("2d").clearRect(0,0,e.width,e.height)}}this.currentCam=this.state.rxData.camera}else if(this.currentCam){const{instanceId:e,name:t}=K.getNameAndInstance(this.currentCam);this.useMessages||(await this.props.context.socket.setState("cameras.".concat(e,".").concat(t,".running"),{val:!1}),await this.props.context.socket.unsubscribeState("cameras.".concat(e,".").concat(t,".stream"),this.updateStream)),this.currentCam=null}}else if(this.currentCam&&this.state.alive){const{instanceId:e,name:t}=K.getNameAndInstance(this.currentCam);this.useMessages?await this.props.context.socket.subscribeOnInstance("cameras.".concat(e),"startCamera/".concat(t),{width:this.getImageWidth()},this.onCameras):await this.props.context.socket.setState("cameras.".concat(e,".").concat(t,".running"),{val:!0,expire:30})}else if(this.currentCam&&!this.state.alive){const{instanceId:e,name:t}=K.getNameAndInstance(this.currentCam);this.useMessages||(await this.props.context.socket.setState("cameras.".concat(e,".").concat(t,".running"),{val:!1}),await this.props.context.socket.unsubscribeState("cameras.".concat(e,".").concat(t,".stream"),this.updateStream)),this.currentCam=null}}getImageWidth(e){var t;return(e=void 0===e?this.state.full:e)&&this.fullVideoRef.current?this.fullVideoRef.current.parentElement.clientWidth||0:(null===(t=this.videoRef.current)||void 0===t?void 0:t.parentElement.clientWidth)||0}async subscribeOnAlive(){const e=K.getNameAndInstance(this.state.rxData.camera);this.subsribedOnAlive!==(e?e.instanceId:null)&&(this.subsribedOnAlive&&(this.props.context.socket.unsubscribeState("system.adapter.cameras.".concat(this.subsribedOnAlive,".alive"),this.onAliveChanged),this.subsribedOnAlive=""),e&&(this.props.context.socket.subscribeState("system.adapter.cameras.".concat(e.instanceId,".alive"),this.onAliveChanged),this.subsribedOnAlive=e.instanceId))}componentDidMount(){super.componentDidMount(),setTimeout((()=>this.propertiesUpdate()),100),this.subscribeOnAlive(),this.videoInterval=setInterval((()=>this.propertiesUpdate()),14e3)}async onRxDataChanged(){await this.subscribeOnAlive(),await this.propertiesUpdate()}componentWillUnmount(){if(super.componentWillUnmount(),this.videoInterval&&clearInterval(this.videoInterval),this.videoInterval=null,this.subsribedOnAlive&&(this.props.context.socket.unsubscribeState("system.adapter.cameras.".concat(this.subsribedOnAlive,".alive"),this.onAliveChanged),this.subsribedOnAlive=null),this.currentCam){const{instanceId:e,name:t}=K.getNameAndInstance(this.currentCam);this.useMessages&&this.props.context.socket.unsubscribeFromInstance("cameras.".concat(e),"startCamera/".concat(t),this.onCameras).catch((e=>console.error(e)))}}renderDialog(){return this.state.full?(0,B.jsxs)(o.Dialog,{fullWidth:!0,maxWidth:"lg",open:!0,onClose:()=>this.setState({full:!1}),children:[(0,B.jsx)(o.DialogTitle,{children:this.state.rxData.widgetTitle}),(0,B.jsx)(o.DialogContent,{children:(0,B.jsx)("div",{style:E.imageContainer,children:(0,B.jsx)("canvas",{ref:this.fullVideoRef,style:E.fullCamera})})}),(0,B.jsx)(o.DialogActions,{children:(0,B.jsx)(o.Button,{onClick:e=>{e.stopPropagation(),e.preventDefault(),this.setState({full:!1})},startIcon:(0,B.jsx)(W.Close,{}),color:"primary",variant:"contained",children:z.t("Close")})})]}):null}renderWidgetBody(e){super.renderWidgetBody(e);const t=(0,B.jsxs)("div",{style:E.imageContainer,onClick:()=>this.setState({full:!0}),children:[this.state.loading&&this.state.alive&&(0,B.jsx)(o.CircularProgress,{style:E.progress}),this.state.alive?null:(0,B.jsx)("div",{style:{position:"absolute",top:0,left:0},children:z.t("Camera instance %s inactive",(this.state.rxData.camera||"").split("/")[0])}),(0,B.jsx)("canvas",{ref:this.videoRef,style:E.camera}),this.renderDialog()]});return this.state.rxData.noCard||e.widget.usedInWidget?t:this.wrapContent(t,null,{boxSizing:"border-box",paddingBottom:10,height:"100%"})}}const M=K,J={camera:{width:"100%",height:"100%",objectFit:"contain",cursor:"pointer"},fullCamera:{width:"100%",height:"100%",objectFit:"contain"},imageContainer:{flex:1,overflow:"hidden",position:"relative",width:"100%",height:"100%"}};class G extends z{constructor(e){super(e),this.updateImage=()=>{this.loading||(this.loading=!0,this.videoRef.current&&(this.videoRef.current.src=this.getUrl(),this.videoRef.current.onload=e=>{e.target&&"1"!==!e.target.style.opacity&&(e.target.style.opacity="1"),this.state.error&&this.setState({error:!1}),this.loading=!1},this.videoRef.current.onerror=e=>{e.target&&"0"!==e.target.style.opacity&&(e.target.style.opacity="0"),!this.state.error&&this.setState({error:!0}),this.loading=!1}),this.fullVideoRef.current&&this.state.full&&(this.fullVideoRef.current.src=this.getUrl(!0)))},this.onAliveChanged=(e,t)=>{const a=G.getNameAndInstance(this.state.rxData.camera);if(a&&e==="system.adapter.cameras.".concat(a.instanceId,".alive")){const e=!(null===t||void 0===t||!t.val);e!==this.state.alive&&this.setState({alive:e},(()=>this.restartPollingInterval()))}},this.videoInterval=null,this.videoRef=s().createRef(),this.fullVideoRef=s().createRef(),this.currentCam=null,this.state.full=!1,this.state.alive=!1,this.state.error=!1}static getWidgetInfo(){return{id:"tplCameras2SnapshotCamera",visSet:"cameras",visName:"Polling Camera",visWidgetLabel:"Polling Camera",visAttrs:[{name:"common",fields:[{name:"noCard",label:"without_card",type:"checkbox"},{name:"widgetTitle",label:"name",hidden:"!!data.noCard"},{name:"pollingInterval",label:"pollingInterval",tooltip:"tooltip_ms",type:"number",default:500},{name:"pollingIntervalFull",label:"pollingIntervalFull",tooltip:"tooltip_ms",type:"number",default:300},{name:"noCacheByFull",label:"noCacheByFull",type:"checkbox"},{name:"rotate",label:"rotate",type:"select",noTranslation:!0,options:[{value:0,label:"0\xb0"},{value:90,label:"90\xb0"},{value:180,label:"180\xb0"},{value:270,label:"270\xb0"}]},{label:"Camera",name:"camera",type:"custom",component:(e,t,a,i)=>(0,B.jsx)(V,{field:e,data:t,setData:a,context:i.context})},{label:"camera_in_dialog",name:"bigCamera",type:"custom",component:(e,t,a,i)=>(0,B.jsx)(V,{field:e,data:t,setData:a,context:i.context}),hidden:"!data.camera"}]}],visDefaultStyle:{width:"100%",height:240,position:"relative"},visPrev:"widgets/cameras/img/prev_snapshot.png"}}getWidgetInfo(){return G.getWidgetInfo()}static getNameAndInstance(e){if(!e)return null;const t=e.indexOf("/");return-1===t?null:{instanceId:e.substring(0,t),name:e.substring(t+1)}}getImageWidth(e){var t,a;return(e=void 0===e?this.state.full:e)&&this.fullVideoRef.current?(null===(a=this.fullVideoRef.current)||void 0===a?void 0:a.parentElement.clientWidth)||0:(null===(t=this.videoRef.current)||void 0===t?void 0:t.parentElement.clientWidth)||0}async subscribeOnAlive(){const e=G.getNameAndInstance(this.state.rxData.camera);this.subsribedOnAlive!==(e?e.instanceId:null)&&(this.subsribedOnAlive&&(this.props.context.socket.unsubscribeState("system.adapter.cameras.".concat(this.subsribedOnAlive,".alive"),this.onAliveChanged),this.subsribedOnAlive=""),e&&(this.props.context.socket.subscribeState("system.adapter.cameras.".concat(e.instanceId,".alive"),this.onAliveChanged),this.subsribedOnAlive=e.instanceId))}restartPollingInterval(){this.pollingInterval&&(clearInterval(this.pollingInterval),this.pollingInterval=null),this.state.alive&&(this.pollingInterval=setInterval(this.updateImage,parseInt(this.state.full?this.state.rxData.pollingIntervalFull:this.state.rxData.pollingInterval,10)||500))}componentDidMount(){super.componentDidMount(),this.subscribeOnAlive()}async onRxDataChanged(){await this.subscribeOnAlive()}componentWillUnmount(){super.componentWillUnmount(),this.pollingInterval&&clearInterval(this.pollingInterval),this.pollingInterval=null,this.subsribedOnAlive&&(this.props.context.socket.unsubscribeState("system.adapter.cameras.".concat(this.subsribedOnAlive,".alive"),this.onAliveChanged),this.subsribedOnAlive=null)}renderDialog(e){return this.state.full&&this.state.rxData.bigCamera&&(e=this.getUrl(!0)||e),this.state.full?(0,B.jsxs)(o.Dialog,{fullWidth:!0,maxWidth:"lg",open:!0,onClose:()=>this.setState({full:!1},(()=>this.restartPollingInterval())),children:[(0,B.jsx)(o.DialogTitle,{children:this.state.rxData.widgetTitle}),(0,B.jsx)(o.DialogContent,{children:(0,B.jsx)("div",{style:J.imageContainer,children:(0,B.jsx)("img",{src:e,ref:this.fullVideoRef,style:J.fullCamera,alt:this.state.rxData.camera})})}),(0,B.jsx)(o.DialogActions,{children:(0,B.jsx)(o.Button,{onClick:e=>{e.stopPropagation(),e.preventDefault(),this.setState({full:!1},(()=>this.restartPollingInterval()))},startIcon:(0,B.jsx)(W.Close,{}),color:"primary",variant:"contained",children:z.t("Close")})})]}):null}getUrl(e){if(e&&!this.state.rxData.bigCamera){return"../cameras.".concat(this.state.rxData.bigCamera,"?")+["ts=".concat(Date.now()),"w=".concat(this.getImageWidth(!0)),"noCache=".concat(this.state.rxData.noCacheByFull),this.state.rxData.rotate?"angle=".concat(this.state.rxData.rotate):""].filter((e=>e)).join("&")}if(this.state.rxData.camera){return"../cameras.".concat(this.state.rxData.camera,"?")+["ts=".concat(Date.now()),"w=".concat(this.getImageWidth(e)),"noCache=".concat(!!e&&this.state.rxData.noCacheByFull),this.state.rxData.rotate?"angle=".concat(this.state.rxData.rotate):""].filter((e=>e)).join("&")}return""}renderWidgetBody(e){super.renderWidgetBody(e);const t=this.getUrl(),a=(0,B.jsxs)("div",{style:J.imageContainer,onClick:()=>!this.state.error&&this.setState({full:!0},(()=>this.restartPollingInterval())),children:[this.state.alive?null:(0,B.jsx)("div",{style:{position:"absolute",top:20,left:0},children:z.t("Camera instance %s inactive",(this.state.rxData.camera||"").split("/")[0])}),t?(0,B.jsx)("img",{src:t,ref:this.videoRef,style:J.camera,alt:this.state.rxData.camera}):z.t("No camera selected"),this.state.alive&&this.state.error?(0,B.jsxs)("div",{style:{position:"absolute",top:20,left:0},children:[(0,B.jsxs)("div",{style:{color:"red"},children:[z.t("Cannot load URL"),":"]}),(0,B.jsx)("div",{children:this.getUrl(!0)})]}):null,this.renderDialog(t)]});return this.state.rxData.noCard||e.widget.usedInWidget?a:this.wrapContent(a,null,{boxSizing:"border-box",paddingBottom:10,height:"100%"})}}const Z=G,q={app:e=>{var t,a;return{backgroundColor:null===e||void 0===e||null===(t=e.palette)||void 0===t?void 0:t.background.default,color:null===e||void 0===e||null===(a=e.palette)||void 0===a?void 0:a.text.primary,height:"100%",width:"100%",overflow:"auto",display:"flex"}}};r(class extends N{constructor(e){super(e),this.onConnectionChanged=e=>{e&&this.socket.getSystemConfig().then((e=>this.setState({systemConfig:e})))},this.state.disabled=JSON.parse(window.localStorage.getItem("disabled"))||{},d.I18n.extendTranslations(D),this.socket.registerConnectionHandler(this.onConnectionChanged)}renderWidget(){const e={camera:(0,B.jsx)(M,{context:{socket:this.socket,systemConfig:this.state.systemConfig},style:{width:400,height:180},data:{name:"Camera",camera:"0/cam2"},adapterName:"cameras",instance:0},"Camera"),snapshot:(0,B.jsx)(Z,{context:{socket:this.socket,systemConfig:this.state.systemConfig},style:{width:400,height:180},data:{name:"Camera",camera:"0/cam2"},adapterName:"cameras",instance:0},"SnapshotCamera")};return(0,B.jsxs)(o.Box,{sx:q.app,children:[(0,B.jsx)("div",{children:Object.keys(e).map((e=>(0,B.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,B.jsx)(o.Checkbox,{checked:!this.state.disabled[e],onChange:t=>{const a=JSON.parse(JSON.stringify(this.state.disabled));a[e]=!t.target.checked,window.localStorage.setItem("disabled",JSON.stringify(a)),this.setState({disabled:a})}}),e]},e)))}),Object.keys(e).map((t=>this.state.disabled[t]?null:e[t]))]})}})},3221:(e,t,a)=>{a.d(t,{A:()=>h});var i=a(9379),s=a(45),n=(a(8437),a(8565)),r=a(3375),o=a(579);const l=["theme"];function c(e){let{theme:t}=e,a=(0,s.A)(e,l);const c=r.A in t?t[r.A]:void 0;return(0,o.jsx)(n.ThemeProvider,(0,i.A)((0,i.A)({},a),{},{themeId:c?r.A:void 0,theme:c||t}))}var d=a(9799);const m=["theme"];function h(e){let{theme:t}=e,a=(0,s.A)(e,m);if("function"===typeof t)return(0,o.jsx)(c,(0,i.A)({theme:t},a));return"colorSchemes"in(r.A in t?t[r.A]:t)?(0,o.jsx)(d.Zr,(0,i.A)({theme:t},a)):(0,o.jsx)(c,(0,i.A)({theme:t},a))}},9799:(e,t,a)=>{a.d(t,{Zr:()=>C,Gk:()=>g,Gs:()=>v,Ut:()=>h});var i=a(9379),s=(a(8437),a(8812)),n=a(8565),r=a(3947),o=a(137),l=a(3375),c=a(579);const d={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:m,useColorScheme:h,getInitColorSchemeScript:u}=(0,n.unstable_createCssVarsProvider)({themeId:l.A,theme:()=>(0,r.A)({cssVariables:!0}),colorSchemeStorageKey:d.colorSchemeStorageKey,modeStorageKey:d.modeStorageKey,defaultColorScheme:{light:d.defaultLightColorScheme,dark:d.defaultDarkColorScheme},resolveTheme:e=>{const t=(0,i.A)((0,i.A)({},e),{},{typography:(0,o.A)(e.palette,e.typography)});return t.unstable_sx=function(e){return(0,s.A)({sx:e,theme:this})},t}});function g(e){return(0,c.jsx)(m,(0,i.A)({},e))}let p=!1;const v=e=>(p||(console.warn(["MUI: The getInitColorSchemeScript function has been deprecated.","","You should use `import InitColorSchemeScript from '@mui/material/InitColorSchemeScript'`","and replace the function call with `` instead."].join("\n")),p=!0),u(e)),C=m},1153:(e,t,a)=>{var i=a(8437),s=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,a){var i,n={},c=null,d=null;for(i in void 0!==a&&(c=""+a),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)r.call(t,i)&&!l.hasOwnProperty(i)&&(n[i]=t[i]);if(e&&e.defaultProps)for(i in t=e.defaultProps)void 0===n[i]&&(n[i]=t[i]);return{$$typeof:s,type:e,key:c,ref:d,props:n,_owner:o.current}}t.jsx=c,t.jsxs=c},579:(e,t,a)=>{e.exports=a(1153)},6477:e=>{e.exports=JSON.parse('{"RTSP url":"RTSP-URL","RTSP Camera":"RTSP-Kamera","cameras_set_label":"RTSP-Kamera","name":"Name","without_card":"Ohne Rahmen","Cameras":"Kameras","Camera":"Kamera","Close":"Schlie\xdfen","videoWidth":"Videobreite","tooltip_videoWidth":"Stellen Sie die Breite des Videos nicht zu hoch ein, um Breitband zu sparen. Es ist sowohl f\xfcr kleine als auch f\xfcr vollst\xe4ndige Videos geeignet. Wenn nicht festgelegt, wird die anf\xe4ngliche Gr\xf6\xdfe des Widgets verwendet.","Camera instance %s inactive":"Kamerainstanz %s inaktiv","disabled":"deaktiviert","pollingInterval":"Abrufintervall","pollingIntervalFull":"Abfrageintervall im Dialog","tooltip_ms":"Millisekunden","rotate":"Bild drehen","Polling Camera":"URL kamera","Cannot load URL":"URL kann nicht geladen werden","noCacheByFull":"Kein Cache im Dialog","camera_in_dialog":"Kamera im Dialog","No camera selected":"Keine Kamera ausgew\xe4hlt"}')},5553:e=>{e.exports=JSON.parse('{"RTSP Camera":"RTSP Camera","without_card":"Without frame","name":"Name","RTSP url":"RTSP url","cameras_set_label":"RTSP Camera","Cameras":"Cameras","Camera":"Camera","Close":"Close","videoWidth":"Video width","tooltip_videoWidth":"Do not set width of video too high to save broadband. It is for both: small and full videos. If not set, the initial size of widget will be taken.","Camera instance %s inactive":"Camera instance %s inactive","disabled":"disabled","pollingInterval":"Polling interval","pollingIntervalFull":"Polling interval in dialog","tooltip_ms":"milliseconds","rotate":"Rotate image","Polling Camera":"Polling Camera","Cannot load URL":"Cannot load URL","noCacheByFull":"No cache in dialog","camera_in_dialog":"Camera in Dialog","No camera selected":"No camera selected"}')},2706:e=>{e.exports=JSON.parse('{"RTSP url":"URL de RTSP","RTSP Camera":"C\xe1mara RTSP","cameras_set_label":"C\xe1mara RTSP","name":"Nombre","without_card":"sin marco","Cameras":"C\xe1maras","Camera":"C\xe1mara","Close":"Cerca","videoWidth":"Ancho de v\xeddeo","tooltip_videoWidth":"No configure el ancho del video demasiado alto para ahorrar banda ancha. Es para ambos: videos peque\xf1os y completos. Si no se establece, se tomar\xe1 el tama\xf1o inicial del widget.","Camera instance %s inactive":"Instancia de c\xe1mara %s inactiva","disabled":"desactivado","pollingInterval":"Intervalo de votaci\xf3n","pollingIntervalFull":"Intervalo de sondeo en el di\xe1logo","tooltip_ms":"milisegundos","rotate":"Girar imagen","Polling Camera":"C\xe1mara de sondeo","Cannot load URL":"No se puede cargar la URL","noCacheByFull":"No hay cach\xe9 en el di\xe1logo","camera_in_dialog":"C\xe1mara en di\xe1logo","No camera selected":"Ninguna c\xe1mara seleccionada"}')},4554:e=>{e.exports=JSON.parse('{"RTSP url":"URL RTSP","RTSP Camera":"Cam\xe9ra RTSP","cameras_set_label":"Cam\xe9ra RTSP","name":"Nom","without_card":"Sans cadre","Cameras":"Appareils photo","Camera":"Cam\xe9ra","Close":"Fermer","videoWidth":"Largeur vid\xe9o","tooltip_videoWidth":"Ne d\xe9finissez pas une largeur de vid\xe9o trop \xe9lev\xe9e pour \xe9conomiser le haut d\xe9bit. C\'est pour les deux\xa0: petites et compl\xe8tes vid\xe9os. S\'il n\'est pas d\xe9fini, la taille initiale du widget sera prise.","Camera instance %s inactive":"Instance de cam\xe9ra %s inactive","disabled":"d\xe9sactiv\xe9","pollingInterval":"Intervalle d\'interrogation","pollingIntervalFull":"Intervalle d\'interrogation dans la bo\xeete de dialogue","tooltip_ms":"millisecondes","rotate":"Faire pivoter l\'image","Polling Camera":"Cam\xe9ra de sondage","Cannot load URL":"Impossible de charger l\'URL","noCacheByFull":"Pas de cache dans la bo\xeete de dialogue","camera_in_dialog":"Cam\xe9ra dans la bo\xeete de dialogue","No camera selected":"Aucune cam\xe9ra s\xe9lectionn\xe9e"}')},6851:e=>{e.exports=JSON.parse('{"RTSP url":"URL RTSP","RTSP Camera":"Fotocamera RTSP","cameras_set_label":"Fotocamera RTSP","name":"Nome","without_card":"Senza cornice","Cameras":"Macchine fotografiche","Camera":"Telecamera","Close":"Vicino","videoWidth":"Larghezza video","tooltip_videoWidth":"Non impostare la larghezza del video troppo alta per salvare la banda larga. \xc8 per entrambi: video piccoli e completi. Se non impostato, verr\xe0 utilizzata la dimensione iniziale del widget.","Camera instance %s inactive":"Istanza fotocamera %s inattiva","disabled":"Disabilitato","pollingInterval":"Intervallo di polling","pollingIntervalFull":"Intervallo di polling nella finestra di dialogo","tooltip_ms":"millisecondi","rotate":"Ruota l\'immagine","Polling Camera":"Telecamera per sondaggi","Cannot load URL":"Impossibile caricare l\'URL","noCacheByFull":"Nessuna cache nella finestra di dialogo","camera_in_dialog":"Fotocamera nella finestra di dialogo","No camera selected":"Nessuna telecamera selezionata"}')},6164:e=>{e.exports=JSON.parse('{"RTSP url":"RTSP-URL","RTSP Camera":"RTSP-camera","cameras_set_label":"RTSP-camera","name":"Naam","without_card":"Zonder lijst","Cameras":"Camera\'s","Camera":"Camera","Close":"Dichtbij","videoWidth":"Videobreedte","tooltip_videoWidth":"Stel de breedte van de video niet te hoog in om breedband te besparen. Het is voor beide: kleine en volledige video\'s. Als dit niet is ingesteld, wordt de oorspronkelijke grootte van de widget gebruikt.","Camera instance %s inactive":"Camera-instantie %s inactief","disabled":"gehandicapt","pollingInterval":"Polling-interval","pollingIntervalFull":"Polling-interval in dialoogvenster","tooltip_ms":"milliseconden","rotate":"Afbeelding roteren","Polling Camera":"Pollingcamera","Cannot load URL":"Kan URL niet laden","noCacheByFull":"Geen cache in dialoogvenster","camera_in_dialog":"Camera in dialoog","No camera selected":"Geen camera geselecteerd"}')},3638:e=>{e.exports=JSON.parse('{"RTSP url":"URL RTSP","RTSP Camera":"Kamera RTSP","cameras_set_label":"Kamera RTSP","name":"Nazwa","without_card":"Bez ramy","Cameras":"kamery","Camera":"Kamera","Close":"Zamkn\u0105\u0107","videoWidth":"Szeroko\u015b\u0107 wideo","tooltip_videoWidth":"Nie ustawiaj zbyt du\u017cej szeroko\u015bci wideo, aby zaoszcz\u0119dzi\u0107 \u0142\u0105cze szerokopasmowe. Dotyczy to zar\xf3wno ma\u0142ych, jak i pe\u0142nych film\xf3w. Je\u015bli nie ustawiono, zostanie wzi\u0119ty pocz\u0105tkowy rozmiar wid\u017cetu.","Camera instance %s inactive":"Instancja kamery %s nieaktywna","disabled":"wy\u0142\u0105czony","pollingInterval":"Interwa\u0142 odpytywania","pollingIntervalFull":"Interwa\u0142 odpytywania w oknie dialogowym","tooltip_ms":"milisekundy","rotate":"Obr\xf3\u0107 obraz","Polling Camera":"Kamera wyborcza","Cannot load URL":"Nie mo\u017cna za\u0142adowa\u0107 adresu URL","noCacheByFull":"Brak pami\u0119ci podr\u0119cznej w oknie dialogowym","camera_in_dialog":"Kamera w oknie dialogowym","No camera selected":"Nie wybrano kamery"}')},4606:e=>{e.exports=JSON.parse('{"RTSP url":"url RTSP","RTSP Camera":"C\xe2mera RTSP","cameras_set_label":"C\xe2mera RTSP","name":"Nome","without_card":"sem moldura","Cameras":"C\xe2meras","Camera":"C\xe2mera","Close":"Fechar","videoWidth":"Largura do v\xeddeo","tooltip_videoWidth":"N\xe3o defina a largura do v\xeddeo muito alta para economizar banda larga. \xc9 para ambos: v\xeddeos pequenos e completos. Se n\xe3o for definido, o tamanho inicial do widget ser\xe1 usado.","Camera instance %s inactive":"Inst\xe2ncia da c\xe2mera %s inativa","disabled":"desabilitado","pollingInterval":"Intervalo de vota\xe7\xe3o","pollingIntervalFull":"Intervalo de pesquisa na caixa de di\xe1logo","tooltip_ms":"milissegundos","rotate":"Girar imagem","Polling Camera":"C\xe2mera de vota\xe7\xe3o","Cannot load URL":"N\xe3o \xe9 poss\xedvel carregar o URL","noCacheByFull":"Sem cache na caixa de di\xe1logo","camera_in_dialog":"C\xe2mera na caixa de di\xe1logo","No camera selected":"Nenhuma c\xe2mera selecionada"}')},3715:e=>{e.exports=JSON.parse('{"RTSP url":"RTSP-\u0430\u0434\u0440\u0435\u0441","RTSP Camera":"RTSP-\u043a\u0430\u043c\u0435\u0440\u0430","cameras_set_label":"RTSP-\u043a\u0430\u043c\u0435\u0440\u0430","name":"\u0418\u043c\u044f","without_card":"\u0411\u0435\u0437 \u0440\u0430\u043c\u043a\u0438","Cameras":"\u041a\u0430\u043c\u0435\u0440\u044b","Camera":"\u041a\u0430\u043c\u0435\u0440\u0430","Close":"\u0417\u0430\u043a\u0440\u044b\u0432\u0430\u0442\u044c","videoWidth":"\u0428\u0438\u0440\u0438\u043d\u0430 \u0432\u0438\u0434\u0435\u043e","tooltip_videoWidth":"\u041d\u0435 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0439\u0442\u0435 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0448\u0438\u0440\u0438\u043d\u0443 \u0432\u0438\u0434\u0435\u043e, \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0448\u0438\u0440\u043e\u043a\u043e\u043f\u043e\u043b\u043e\u0441\u043d\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f. \u041e\u043d \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u043a\u0430\u043a \u0434\u043b\u044f \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0445, \u0442\u0430\u043a \u0438 \u0434\u043b\u044f \u043f\u043e\u043b\u043d\u044b\u0445 \u0432\u0438\u0434\u0435\u043e. \u0415\u0441\u043b\u0438 \u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e, \u0431\u0443\u0434\u0435\u0442 \u0432\u0437\u044f\u0442 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u0440\u0430\u0437\u043c\u0435\u0440 \u0432\u0438\u0434\u0436\u0435\u0442\u0430.","Camera instance %s inactive":"\u042d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u043a\u0430\u043c\u0435\u0440\u044b %s \u043d\u0435\u0430\u043a\u0442\u0438\u0432\u0435\u043d","disabled":"\u043d\u0435\u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u044b\u0439","pollingInterval":"\u0418\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u043e\u043f\u0440\u043e\u0441\u0430","pollingIntervalFull":"\u0418\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u043e\u043f\u0440\u043e\u0441\u0430 \u0432 \u0434\u0438\u0430\u043b\u043e\u0433\u0435","tooltip_ms":"\u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434\u044b","rotate":"\u041f\u043e\u0432\u043e\u0440\u043e\u0442 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f","Polling Camera":"URL-\u041a\u0430\u043c\u0435\u0440\u0430","Cannot load URL":"\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c URL","noCacheByFull":"\u041d\u0435\u0442 \u043a\u0435\u0448\u0430 \u0432 \u0434\u0438\u0430\u043b\u043e\u0433\u0435","camera_in_dialog":"\u041a\u0430\u043c\u0435\u0440\u0430 \u0432 \u0434\u0438\u0430\u043b\u043e\u0433\u0435","No camera selected":"\u041a\u0430\u043c\u0435\u0440\u0430 \u043d\u0435 \u0432\u044b\u0431\u0440\u0430\u043d\u0430"}')},3882:e=>{e.exports=JSON.parse('{"RTSP url":"URL-\u0430\u0434\u0440\u0435\u0441\u0430 RTSP","RTSP Camera":"\u041a\u0430\u043c\u0435\u0440\u0430 RTSP","cameras_set_label":"\u041a\u0430\u043c\u0435\u0440\u0430 RTSP","name":"\u0406\u043c\'\u044f","without_card":"\u0411\u0435\u0437 \u0440\u0430\u043c\u0438","Cameras":"\u0424\u043e\u0442\u043e\u0430\u043f\u0430\u0440\u0430\u0442\u0438","Camera":"\u041a\u0430\u043c\u0435\u0440\u0430","Close":"\u0417\u0430\u043a\u0440\u0438\u0442\u0438","videoWidth":"\u0428\u0438\u0440\u0438\u043d\u0430 \u0432\u0456\u0434\u0435\u043e","tooltip_videoWidth":"\u041d\u0435 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u044e\u0439\u0442\u0435 \u0437\u0430\u043d\u0430\u0434\u0442\u043e \u0432\u0438\u0441\u043e\u043a\u0443 \u0448\u0438\u0440\u0438\u043d\u0443 \u0432\u0456\u0434\u0435\u043e, \u0449\u043e\u0431 \u0437\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u0448\u0438\u0440\u043e\u043a\u043e\u0441\u043c\u0443\u0433\u043e\u0432\u0438\u0439 \u0437\u0432\u2019\u044f\u0437\u043e\u043a. \u0426\u0435 \u044f\u043a \u0434\u043b\u044f \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0445, \u0442\u0430\u043a \u0456 \u0434\u043b\u044f \u043f\u043e\u0432\u043d\u0438\u0445 \u0432\u0456\u0434\u0435\u043e. \u042f\u043a\u0449\u043e \u043d\u0435 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e, \u0431\u0443\u0434\u0435 \u0432\u0437\u044f\u0442\u043e \u043f\u043e\u0447\u0430\u0442\u043a\u043e\u0432\u0438\u0439 \u0440\u043e\u0437\u043c\u0456\u0440 \u0432\u0456\u0434\u0436\u0435\u0442\u0430.","Camera instance %s inactive":"\u041f\u0440\u0438\u043c\u0456\u0440\u043d\u0438\u043a \u043a\u0430\u043c\u0435\u0440\u0438 %s \u043d\u0435\u0430\u043a\u0442\u0438\u0432\u043d\u0438\u0439","disabled":"\u0432\u0438\u043c\u043a\u043d\u0435\u043d\u043e","pollingInterval":"\u0406\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u043e\u043f\u0438\u0442\u0443\u0432\u0430\u043d\u043d\u044f","pollingIntervalFull":"\u0406\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u043e\u043f\u0438\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u0432 \u0434\u0456\u0430\u043b\u043e\u0433\u043e\u0432\u043e\u043c\u0443 \u0432\u0456\u043a\u043d\u0456","tooltip_ms":"\u043c\u0456\u043b\u0456\u0441\u0435\u043a\u0443\u043d\u0434","rotate":"\u041f\u043e\u0432\u0435\u0440\u043d\u0443\u0442\u0438 \u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f","Polling Camera":"\u041a\u0430\u043c\u0435\u0440\u0430 \u043e\u043f\u0438\u0442\u0443\u0432\u0430\u043d\u043d\u044f","Cannot load URL":"\u041d\u0435 \u0432\u0434\u0430\u0454\u0442\u044c\u0441\u044f \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438 URL","noCacheByFull":"\u0423 \u0434\u0456\u0430\u043b\u043e\u0433\u043e\u0432\u043e\u043c\u0443 \u0432\u0456\u043a\u043d\u0456 \u043d\u0435\u043c\u0430\u0454 \u043a\u0435\u0448\u0443","camera_in_dialog":"\u041a\u0430\u043c\u0435\u0440\u0430 \u0432 \u0434\u0456\u0430\u043b\u043e\u0437\u0456","No camera selected":"\u041a\u0430\u043c\u0435\u0440\u0430 \u043d\u0435 \u0432\u0438\u0431\u0440\u0430\u043d\u0430"}')},222:e=>{e.exports=JSON.parse('{"RTSP url":"RTSP \u7f51\u5740","RTSP Camera":"RTSP\u6444\u50cf\u5934","cameras_set_label":"RTSP\u6444\u50cf\u5934","name":"\u59d3\u540d","without_card":"\u65e0\u6846","Cameras":"\u76f8\u673a","Camera":"\u76f8\u673a","Close":"\u5173\u95ed","videoWidth":"\u89c6\u9891\u5bbd\u5ea6","tooltip_videoWidth":"\u4e0d\u8981\u5c06\u89c6\u9891\u5bbd\u5ea6\u8bbe\u7f6e\u5f97\u592a\u9ad8\uff0c\u4ee5\u8282\u7701\u5bbd\u5e26\u3002\u5b83\u9002\u7528\u4e8e\uff1a\u5c0f\u89c6\u9891\u548c\u5b8c\u6574\u89c6\u9891\u3002\u5982\u679c\u672a\u8bbe\u7f6e\uff0c\u5219\u5c06\u91c7\u7528\u5c0f\u90e8\u4ef6\u7684\u521d\u59cb\u5927\u5c0f\u3002","Camera instance %s inactive":"\u76f8\u673a\u5b9e\u4f8b %s \u4e0d\u6d3b\u52a8","disabled":"\u6b8b\u75be\u4eba","pollingInterval":"\u8f6e\u8be2\u95f4\u9694","pollingIntervalFull":"\u5bf9\u8bdd\u6846\u4e2d\u7684\u8f6e\u8be2\u95f4\u9694","tooltip_ms":"\u6beb\u79d2","rotate":"\u65cb\u8f6c\u56fe\u50cf","Polling Camera":"\u6295\u7968\u6444\u50cf\u5934","Cannot load URL":"\u65e0\u6cd5\u52a0\u8f7d\u7f51\u5740","noCacheByFull":"\u5bf9\u8bdd\u6846\u4e2d\u6ca1\u6709\u7f13\u5b58","camera_in_dialog":"\u76f8\u673a\u5bf9\u8bdd","No camera selected":"\u672a\u9009\u62e9\u76f8\u673a"}')}}]); +//# sourceMappingURL=src_bootstrap_js.598de3c9.chunk.js.map \ No newline at end of file diff --git a/widgets/cameras/static/js/src_bootstrap_js.bdd07d8e.chunk.js.LICENSE.txt b/widgets/cameras/static/js/src_bootstrap_js.598de3c9.chunk.js.LICENSE.txt similarity index 100% rename from widgets/cameras/static/js/src_bootstrap_js.bdd07d8e.chunk.js.LICENSE.txt rename to widgets/cameras/static/js/src_bootstrap_js.598de3c9.chunk.js.LICENSE.txt diff --git a/widgets/cameras/static/js/src_translations_js.00eec871.chunk.js b/widgets/cameras/static/js/src_translations_js.00eec871.chunk.js deleted file mode 100644 index 7de916c..0000000 --- a/widgets/cameras/static/js/src_translations_js.00eec871.chunk.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self.webpackChunkiobroker_vis_2_widgets_camera=self.webpackChunkiobroker_vis_2_widgets_camera||[]).push([["src_translations_js"],{5850:(a,e,i)=>{i.r(e),i.d(e,{default:()=>o});const o={en:i(5553),de:i(6477),ru:i(3715),pt:i(4606),nl:i(6164),fr:i(4554),it:i(6851),es:i(2706),pl:i(3638),"zh-cn":i(222),uk:i(3882),prefix:"cameras_"}},6477:a=>{a.exports=JSON.parse('{"RTSP url":"RTSP-URL","RTSP Camera":"RTSP-Kamera","cameras_set_label":"RTSP-Kamera","name":"Name","without_card":"Ohne Rahmen","Cameras":"Kameras","Camera":"Kamera","Close":"Schlie\xdfen","videoWidth":"Videobreite","tooltip_videoWidth":"Stellen Sie die Breite des Videos nicht zu hoch ein, um Breitband zu sparen. Es ist sowohl f\xfcr kleine als auch f\xfcr vollst\xe4ndige Videos geeignet. Wenn nicht festgelegt, wird die anf\xe4ngliche Gr\xf6\xdfe des Widgets verwendet.","Camera instance %s inactive":"Kamerainstanz %s inaktiv","disabled":"deaktiviert","pollingInterval":"Abrufintervall","pollingIntervalFull":"Abfrageintervall im Dialog","tooltip_ms":"Millisekunden","rotate":"Bild drehen","Polling Camera":"URL kamera","Cannot load URL":"URL kann nicht geladen werden","noCacheByFull":"Kein Cache im Dialog","camera_in_dialog":"Kamera im Dialog","No camera selected":"Keine Kamera ausgew\xe4hlt"}')},5553:a=>{a.exports=JSON.parse('{"RTSP Camera":"RTSP Camera","without_card":"Without frame","name":"Name","RTSP url":"RTSP url","cameras_set_label":"RTSP Camera","Cameras":"Cameras","Camera":"Camera","Close":"Close","videoWidth":"Video width","tooltip_videoWidth":"Do not set width of video too hight to save broadband. It is for both: small and full videos. If not set, the initial size of widget will be taken.","Camera instance %s inactive":"Camera instance %s inactive","disabled":"disabled","pollingInterval":"Polling interval","pollingIntervalFull":"Polling interval in dialog","tooltip_ms":"milliseconds","rotate":"Rotate image","Polling Camera":"Polling Camera","Cannot load URL":"Cannot load URL","noCacheByFull":"No cache in dialog","camera_in_dialog":"Camera in Dialog","No camera selected":"No camera selected"}')},2706:a=>{a.exports=JSON.parse('{"RTSP url":"URL de RTSP","RTSP Camera":"C\xe1mara RTSP","cameras_set_label":"C\xe1mara RTSP","name":"Nombre","without_card":"sin marco","Cameras":"C\xe1maras","Camera":"C\xe1mara","Close":"Cerca","videoWidth":"Ancho de v\xeddeo","tooltip_videoWidth":"No configure el ancho del video demasiado alto para ahorrar banda ancha. Es para ambos: videos peque\xf1os y completos. Si no se establece, se tomar\xe1 el tama\xf1o inicial del widget.","Camera instance %s inactive":"Instancia de c\xe1mara %s inactiva","disabled":"desactivado","pollingInterval":"Intervalo de votaci\xf3n","pollingIntervalFull":"Intervalo de sondeo en el di\xe1logo","tooltip_ms":"milisegundos","rotate":"Girar imagen","Polling Camera":"C\xe1mara de sondeo","Cannot load URL":"No se puede cargar la URL","noCacheByFull":"No hay cach\xe9 en el di\xe1logo","camera_in_dialog":"C\xe1mara en di\xe1logo","No camera selected":"Ninguna c\xe1mara seleccionada"}')},4554:a=>{a.exports=JSON.parse('{"RTSP url":"URL RTSP","RTSP Camera":"Cam\xe9ra RTSP","cameras_set_label":"Cam\xe9ra RTSP","name":"Nom","without_card":"Sans cadre","Cameras":"Appareils photo","Camera":"Cam\xe9ra","Close":"Fermer","videoWidth":"Largeur vid\xe9o","tooltip_videoWidth":"Ne d\xe9finissez pas une largeur de vid\xe9o trop \xe9lev\xe9e pour \xe9conomiser le haut d\xe9bit. C\'est pour les deux\xa0: petites et compl\xe8tes vid\xe9os. S\'il n\'est pas d\xe9fini, la taille initiale du widget sera prise.","Camera instance %s inactive":"Instance de cam\xe9ra %s inactive","disabled":"d\xe9sactiv\xe9","pollingInterval":"Intervalle d\'interrogation","pollingIntervalFull":"Intervalle d\'interrogation dans la bo\xeete de dialogue","tooltip_ms":"millisecondes","rotate":"Faire pivoter l\'image","Polling Camera":"Cam\xe9ra de sondage","Cannot load URL":"Impossible de charger l\'URL","noCacheByFull":"Pas de cache dans la bo\xeete de dialogue","camera_in_dialog":"Cam\xe9ra dans la bo\xeete de dialogue","No camera selected":"Aucune cam\xe9ra s\xe9lectionn\xe9e"}')},6851:a=>{a.exports=JSON.parse('{"RTSP url":"URL RTSP","RTSP Camera":"Fotocamera RTSP","cameras_set_label":"Fotocamera RTSP","name":"Nome","without_card":"Senza cornice","Cameras":"Macchine fotografiche","Camera":"Telecamera","Close":"Vicino","videoWidth":"Larghezza video","tooltip_videoWidth":"Non impostare la larghezza del video troppo alta per salvare la banda larga. \xc8 per entrambi: video piccoli e completi. Se non impostato, verr\xe0 utilizzata la dimensione iniziale del widget.","Camera instance %s inactive":"Istanza fotocamera %s inattiva","disabled":"Disabilitato","pollingInterval":"Intervallo di polling","pollingIntervalFull":"Intervallo di polling nella finestra di dialogo","tooltip_ms":"millisecondi","rotate":"Ruota l\'immagine","Polling Camera":"Telecamera per sondaggi","Cannot load URL":"Impossibile caricare l\'URL","noCacheByFull":"Nessuna cache nella finestra di dialogo","camera_in_dialog":"Fotocamera nella finestra di dialogo","No camera selected":"Nessuna telecamera selezionata"}')},6164:a=>{a.exports=JSON.parse('{"RTSP url":"RTSP-URL","RTSP Camera":"RTSP-camera","cameras_set_label":"RTSP-camera","name":"Naam","without_card":"Zonder lijst","Cameras":"Camera\'s","Camera":"Camera","Close":"Dichtbij","videoWidth":"Videobreedte","tooltip_videoWidth":"Stel de breedte van de video niet te hoog in om breedband te besparen. Het is voor beide: kleine en volledige video\'s. Als dit niet is ingesteld, wordt de oorspronkelijke grootte van de widget gebruikt.","Camera instance %s inactive":"Camera-instantie %s inactief","disabled":"gehandicapt","pollingInterval":"Polling-interval","pollingIntervalFull":"Polling-interval in dialoogvenster","tooltip_ms":"milliseconden","rotate":"Afbeelding roteren","Polling Camera":"Pollingcamera","Cannot load URL":"Kan URL niet laden","noCacheByFull":"Geen cache in dialoogvenster","camera_in_dialog":"Camera in dialoog","No camera selected":"Geen camera geselecteerd"}')},3638:a=>{a.exports=JSON.parse('{"RTSP url":"URL RTSP","RTSP Camera":"Kamera RTSP","cameras_set_label":"Kamera RTSP","name":"Nazwa","without_card":"Bez ramy","Cameras":"kamery","Camera":"Kamera","Close":"Zamkn\u0105\u0107","videoWidth":"Szeroko\u015b\u0107 wideo","tooltip_videoWidth":"Nie ustawiaj zbyt du\u017cej szeroko\u015bci wideo, aby zaoszcz\u0119dzi\u0107 \u0142\u0105cze szerokopasmowe. Dotyczy to zar\xf3wno ma\u0142ych, jak i pe\u0142nych film\xf3w. Je\u015bli nie ustawiono, zostanie wzi\u0119ty pocz\u0105tkowy rozmiar wid\u017cetu.","Camera instance %s inactive":"Instancja kamery %s nieaktywna","disabled":"wy\u0142\u0105czony","pollingInterval":"Interwa\u0142 odpytywania","pollingIntervalFull":"Interwa\u0142 odpytywania w oknie dialogowym","tooltip_ms":"milisekundy","rotate":"Obr\xf3\u0107 obraz","Polling Camera":"Kamera wyborcza","Cannot load URL":"Nie mo\u017cna za\u0142adowa\u0107 adresu URL","noCacheByFull":"Brak pami\u0119ci podr\u0119cznej w oknie dialogowym","camera_in_dialog":"Kamera w oknie dialogowym","No camera selected":"Nie wybrano kamery"}')},4606:a=>{a.exports=JSON.parse('{"RTSP url":"url RTSP","RTSP Camera":"C\xe2mera RTSP","cameras_set_label":"C\xe2mera RTSP","name":"Nome","without_card":"sem moldura","Cameras":"C\xe2meras","Camera":"C\xe2mera","Close":"Fechar","videoWidth":"Largura do v\xeddeo","tooltip_videoWidth":"N\xe3o defina a largura do v\xeddeo muito alta para economizar banda larga. \xc9 para ambos: v\xeddeos pequenos e completos. Se n\xe3o for definido, o tamanho inicial do widget ser\xe1 usado.","Camera instance %s inactive":"Inst\xe2ncia da c\xe2mera %s inativa","disabled":"desabilitado","pollingInterval":"Intervalo de vota\xe7\xe3o","pollingIntervalFull":"Intervalo de pesquisa na caixa de di\xe1logo","tooltip_ms":"milissegundos","rotate":"Girar imagem","Polling Camera":"C\xe2mera de vota\xe7\xe3o","Cannot load URL":"N\xe3o \xe9 poss\xedvel carregar o URL","noCacheByFull":"Sem cache na caixa de di\xe1logo","camera_in_dialog":"C\xe2mera na caixa de di\xe1logo","No camera selected":"Nenhuma c\xe2mera selecionada"}')},3715:a=>{a.exports=JSON.parse('{"RTSP url":"RTSP-\u0430\u0434\u0440\u0435\u0441","RTSP Camera":"RTSP-\u043a\u0430\u043c\u0435\u0440\u0430","cameras_set_label":"RTSP-\u043a\u0430\u043c\u0435\u0440\u0430","name":"\u0418\u043c\u044f","without_card":"\u0411\u0435\u0437 \u0440\u0430\u043c\u043a\u0438","Cameras":"\u041a\u0430\u043c\u0435\u0440\u044b","Camera":"\u041a\u0430\u043c\u0435\u0440\u0430","Close":"\u0417\u0430\u043a\u0440\u044b\u0432\u0430\u0442\u044c","videoWidth":"\u0428\u0438\u0440\u0438\u043d\u0430 \u0432\u0438\u0434\u0435\u043e","tooltip_videoWidth":"\u041d\u0435 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0439\u0442\u0435 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0448\u0438\u0440\u0438\u043d\u0443 \u0432\u0438\u0434\u0435\u043e, \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0448\u0438\u0440\u043e\u043a\u043e\u043f\u043e\u043b\u043e\u0441\u043d\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f. \u041e\u043d \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u043a\u0430\u043a \u0434\u043b\u044f \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0445, \u0442\u0430\u043a \u0438 \u0434\u043b\u044f \u043f\u043e\u043b\u043d\u044b\u0445 \u0432\u0438\u0434\u0435\u043e. \u0415\u0441\u043b\u0438 \u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e, \u0431\u0443\u0434\u0435\u0442 \u0432\u0437\u044f\u0442 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u0440\u0430\u0437\u043c\u0435\u0440 \u0432\u0438\u0434\u0436\u0435\u0442\u0430.","Camera instance %s inactive":"\u042d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u043a\u0430\u043c\u0435\u0440\u044b %s \u043d\u0435\u0430\u043a\u0442\u0438\u0432\u0435\u043d","disabled":"\u043d\u0435\u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u044b\u0439","pollingInterval":"\u0418\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u043e\u043f\u0440\u043e\u0441\u0430","pollingIntervalFull":"\u0418\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u043e\u043f\u0440\u043e\u0441\u0430 \u0432 \u0434\u0438\u0430\u043b\u043e\u0433\u0435","tooltip_ms":"\u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434\u044b","rotate":"\u041f\u043e\u0432\u043e\u0440\u043e\u0442 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f","Polling Camera":"URL-\u041a\u0430\u043c\u0435\u0440\u0430","Cannot load URL":"\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c URL","noCacheByFull":"\u041d\u0435\u0442 \u043a\u0435\u0448\u0430 \u0432 \u0434\u0438\u0430\u043b\u043e\u0433\u0435","camera_in_dialog":"\u041a\u0430\u043c\u0435\u0440\u0430 \u0432 \u0434\u0438\u0430\u043b\u043e\u0433\u0435","No camera selected":"\u041a\u0430\u043c\u0435\u0440\u0430 \u043d\u0435 \u0432\u044b\u0431\u0440\u0430\u043d\u0430"}')},3882:a=>{a.exports=JSON.parse('{"RTSP url":"URL-\u0430\u0434\u0440\u0435\u0441\u0430 RTSP","RTSP Camera":"\u041a\u0430\u043c\u0435\u0440\u0430 RTSP","cameras_set_label":"\u041a\u0430\u043c\u0435\u0440\u0430 RTSP","name":"\u0406\u043c\'\u044f","without_card":"\u0411\u0435\u0437 \u0440\u0430\u043c\u0438","Cameras":"\u0424\u043e\u0442\u043e\u0430\u043f\u0430\u0440\u0430\u0442\u0438","Camera":"\u041a\u0430\u043c\u0435\u0440\u0430","Close":"\u0417\u0430\u043a\u0440\u0438\u0442\u0438","videoWidth":"\u0428\u0438\u0440\u0438\u043d\u0430 \u0432\u0456\u0434\u0435\u043e","tooltip_videoWidth":"\u041d\u0435 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u044e\u0439\u0442\u0435 \u0437\u0430\u043d\u0430\u0434\u0442\u043e \u0432\u0438\u0441\u043e\u043a\u0443 \u0448\u0438\u0440\u0438\u043d\u0443 \u0432\u0456\u0434\u0435\u043e, \u0449\u043e\u0431 \u0437\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u0448\u0438\u0440\u043e\u043a\u043e\u0441\u043c\u0443\u0433\u043e\u0432\u0438\u0439 \u0437\u0432\u2019\u044f\u0437\u043e\u043a. \u0426\u0435 \u044f\u043a \u0434\u043b\u044f \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0445, \u0442\u0430\u043a \u0456 \u0434\u043b\u044f \u043f\u043e\u0432\u043d\u0438\u0445 \u0432\u0456\u0434\u0435\u043e. \u042f\u043a\u0449\u043e \u043d\u0435 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e, \u0431\u0443\u0434\u0435 \u0432\u0437\u044f\u0442\u043e \u043f\u043e\u0447\u0430\u0442\u043a\u043e\u0432\u0438\u0439 \u0440\u043e\u0437\u043c\u0456\u0440 \u0432\u0456\u0434\u0436\u0435\u0442\u0430.","Camera instance %s inactive":"\u041f\u0440\u0438\u043c\u0456\u0440\u043d\u0438\u043a \u043a\u0430\u043c\u0435\u0440\u0438 %s \u043d\u0435\u0430\u043a\u0442\u0438\u0432\u043d\u0438\u0439","disabled":"\u0432\u0438\u043c\u043a\u043d\u0435\u043d\u043e","pollingInterval":"\u0406\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u043e\u043f\u0438\u0442\u0443\u0432\u0430\u043d\u043d\u044f","pollingIntervalFull":"\u0406\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u043e\u043f\u0438\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u0432 \u0434\u0456\u0430\u043b\u043e\u0433\u043e\u0432\u043e\u043c\u0443 \u0432\u0456\u043a\u043d\u0456","tooltip_ms":"\u043c\u0456\u043b\u0456\u0441\u0435\u043a\u0443\u043d\u0434","rotate":"\u041f\u043e\u0432\u0435\u0440\u043d\u0443\u0442\u0438 \u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f","Polling Camera":"\u041a\u0430\u043c\u0435\u0440\u0430 \u043e\u043f\u0438\u0442\u0443\u0432\u0430\u043d\u043d\u044f","Cannot load URL":"\u041d\u0435 \u0432\u0434\u0430\u0454\u0442\u044c\u0441\u044f \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438 URL","noCacheByFull":"\u0423 \u0434\u0456\u0430\u043b\u043e\u0433\u043e\u0432\u043e\u043c\u0443 \u0432\u0456\u043a\u043d\u0456 \u043d\u0435\u043c\u0430\u0454 \u043a\u0435\u0448\u0443","camera_in_dialog":"\u041a\u0430\u043c\u0435\u0440\u0430 \u0432 \u0434\u0456\u0430\u043b\u043e\u0437\u0456","No camera selected":"\u041a\u0430\u043c\u0435\u0440\u0430 \u043d\u0435 \u0432\u0438\u0431\u0440\u0430\u043d\u0430"}')},222:a=>{a.exports=JSON.parse('{"RTSP url":"RTSP \u7f51\u5740","RTSP Camera":"RTSP\u6444\u50cf\u5934","cameras_set_label":"RTSP\u6444\u50cf\u5934","name":"\u59d3\u540d","without_card":"\u65e0\u6846","Cameras":"\u76f8\u673a","Camera":"\u76f8\u673a","Close":"\u5173\u95ed","videoWidth":"\u89c6\u9891\u5bbd\u5ea6","tooltip_videoWidth":"\u4e0d\u8981\u5c06\u89c6\u9891\u5bbd\u5ea6\u8bbe\u7f6e\u5f97\u592a\u9ad8\uff0c\u4ee5\u8282\u7701\u5bbd\u5e26\u3002\u5b83\u9002\u7528\u4e8e\uff1a\u5c0f\u89c6\u9891\u548c\u5b8c\u6574\u89c6\u9891\u3002\u5982\u679c\u672a\u8bbe\u7f6e\uff0c\u5219\u5c06\u91c7\u7528\u5c0f\u90e8\u4ef6\u7684\u521d\u59cb\u5927\u5c0f\u3002","Camera instance %s inactive":"\u76f8\u673a\u5b9e\u4f8b %s \u4e0d\u6d3b\u52a8","disabled":"\u6b8b\u75be\u4eba","pollingInterval":"\u8f6e\u8be2\u95f4\u9694","pollingIntervalFull":"\u5bf9\u8bdd\u6846\u4e2d\u7684\u8f6e\u8be2\u95f4\u9694","tooltip_ms":"\u6beb\u79d2","rotate":"\u65cb\u8f6c\u56fe\u50cf","Polling Camera":"\u6295\u7968\u6444\u50cf\u5934","Cannot load URL":"\u65e0\u6cd5\u52a0\u8f7d\u7f51\u5740","noCacheByFull":"\u5bf9\u8bdd\u6846\u4e2d\u6ca1\u6709\u7f13\u5b58","camera_in_dialog":"\u76f8\u673a\u5bf9\u8bdd","No camera selected":"\u672a\u9009\u62e9\u76f8\u673a"}')}}]); -//# sourceMappingURL=src_translations_js.00eec871.chunk.js.map \ No newline at end of file diff --git a/widgets/cameras/static/js/src_translations_js.140dc8fc.chunk.js b/widgets/cameras/static/js/src_translations_js.140dc8fc.chunk.js new file mode 100644 index 0000000..f16e4cf --- /dev/null +++ b/widgets/cameras/static/js/src_translations_js.140dc8fc.chunk.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkiobroker_vis_2_widgets_camera=self.webpackChunkiobroker_vis_2_widgets_camera||[]).push([["src_translations_js"],{5850:(a,e,i)=>{i.r(e),i.d(e,{default:()=>o});const o={en:i(5553),de:i(6477),ru:i(3715),pt:i(4606),nl:i(6164),fr:i(4554),it:i(6851),es:i(2706),pl:i(3638),"zh-cn":i(222),uk:i(3882),prefix:"cameras_"}},6477:a=>{a.exports=JSON.parse('{"RTSP url":"RTSP-URL","RTSP Camera":"RTSP-Kamera","cameras_set_label":"RTSP-Kamera","name":"Name","without_card":"Ohne Rahmen","Cameras":"Kameras","Camera":"Kamera","Close":"Schlie\xdfen","videoWidth":"Videobreite","tooltip_videoWidth":"Stellen Sie die Breite des Videos nicht zu hoch ein, um Breitband zu sparen. Es ist sowohl f\xfcr kleine als auch f\xfcr vollst\xe4ndige Videos geeignet. Wenn nicht festgelegt, wird die anf\xe4ngliche Gr\xf6\xdfe des Widgets verwendet.","Camera instance %s inactive":"Kamerainstanz %s inaktiv","disabled":"deaktiviert","pollingInterval":"Abrufintervall","pollingIntervalFull":"Abfrageintervall im Dialog","tooltip_ms":"Millisekunden","rotate":"Bild drehen","Polling Camera":"URL kamera","Cannot load URL":"URL kann nicht geladen werden","noCacheByFull":"Kein Cache im Dialog","camera_in_dialog":"Kamera im Dialog","No camera selected":"Keine Kamera ausgew\xe4hlt"}')},5553:a=>{a.exports=JSON.parse('{"RTSP Camera":"RTSP Camera","without_card":"Without frame","name":"Name","RTSP url":"RTSP url","cameras_set_label":"RTSP Camera","Cameras":"Cameras","Camera":"Camera","Close":"Close","videoWidth":"Video width","tooltip_videoWidth":"Do not set width of video too high to save broadband. It is for both: small and full videos. If not set, the initial size of widget will be taken.","Camera instance %s inactive":"Camera instance %s inactive","disabled":"disabled","pollingInterval":"Polling interval","pollingIntervalFull":"Polling interval in dialog","tooltip_ms":"milliseconds","rotate":"Rotate image","Polling Camera":"Polling Camera","Cannot load URL":"Cannot load URL","noCacheByFull":"No cache in dialog","camera_in_dialog":"Camera in Dialog","No camera selected":"No camera selected"}')},2706:a=>{a.exports=JSON.parse('{"RTSP url":"URL de RTSP","RTSP Camera":"C\xe1mara RTSP","cameras_set_label":"C\xe1mara RTSP","name":"Nombre","without_card":"sin marco","Cameras":"C\xe1maras","Camera":"C\xe1mara","Close":"Cerca","videoWidth":"Ancho de v\xeddeo","tooltip_videoWidth":"No configure el ancho del video demasiado alto para ahorrar banda ancha. Es para ambos: videos peque\xf1os y completos. Si no se establece, se tomar\xe1 el tama\xf1o inicial del widget.","Camera instance %s inactive":"Instancia de c\xe1mara %s inactiva","disabled":"desactivado","pollingInterval":"Intervalo de votaci\xf3n","pollingIntervalFull":"Intervalo de sondeo en el di\xe1logo","tooltip_ms":"milisegundos","rotate":"Girar imagen","Polling Camera":"C\xe1mara de sondeo","Cannot load URL":"No se puede cargar la URL","noCacheByFull":"No hay cach\xe9 en el di\xe1logo","camera_in_dialog":"C\xe1mara en di\xe1logo","No camera selected":"Ninguna c\xe1mara seleccionada"}')},4554:a=>{a.exports=JSON.parse('{"RTSP url":"URL RTSP","RTSP Camera":"Cam\xe9ra RTSP","cameras_set_label":"Cam\xe9ra RTSP","name":"Nom","without_card":"Sans cadre","Cameras":"Appareils photo","Camera":"Cam\xe9ra","Close":"Fermer","videoWidth":"Largeur vid\xe9o","tooltip_videoWidth":"Ne d\xe9finissez pas une largeur de vid\xe9o trop \xe9lev\xe9e pour \xe9conomiser le haut d\xe9bit. C\'est pour les deux\xa0: petites et compl\xe8tes vid\xe9os. S\'il n\'est pas d\xe9fini, la taille initiale du widget sera prise.","Camera instance %s inactive":"Instance de cam\xe9ra %s inactive","disabled":"d\xe9sactiv\xe9","pollingInterval":"Intervalle d\'interrogation","pollingIntervalFull":"Intervalle d\'interrogation dans la bo\xeete de dialogue","tooltip_ms":"millisecondes","rotate":"Faire pivoter l\'image","Polling Camera":"Cam\xe9ra de sondage","Cannot load URL":"Impossible de charger l\'URL","noCacheByFull":"Pas de cache dans la bo\xeete de dialogue","camera_in_dialog":"Cam\xe9ra dans la bo\xeete de dialogue","No camera selected":"Aucune cam\xe9ra s\xe9lectionn\xe9e"}')},6851:a=>{a.exports=JSON.parse('{"RTSP url":"URL RTSP","RTSP Camera":"Fotocamera RTSP","cameras_set_label":"Fotocamera RTSP","name":"Nome","without_card":"Senza cornice","Cameras":"Macchine fotografiche","Camera":"Telecamera","Close":"Vicino","videoWidth":"Larghezza video","tooltip_videoWidth":"Non impostare la larghezza del video troppo alta per salvare la banda larga. \xc8 per entrambi: video piccoli e completi. Se non impostato, verr\xe0 utilizzata la dimensione iniziale del widget.","Camera instance %s inactive":"Istanza fotocamera %s inattiva","disabled":"Disabilitato","pollingInterval":"Intervallo di polling","pollingIntervalFull":"Intervallo di polling nella finestra di dialogo","tooltip_ms":"millisecondi","rotate":"Ruota l\'immagine","Polling Camera":"Telecamera per sondaggi","Cannot load URL":"Impossibile caricare l\'URL","noCacheByFull":"Nessuna cache nella finestra di dialogo","camera_in_dialog":"Fotocamera nella finestra di dialogo","No camera selected":"Nessuna telecamera selezionata"}')},6164:a=>{a.exports=JSON.parse('{"RTSP url":"RTSP-URL","RTSP Camera":"RTSP-camera","cameras_set_label":"RTSP-camera","name":"Naam","without_card":"Zonder lijst","Cameras":"Camera\'s","Camera":"Camera","Close":"Dichtbij","videoWidth":"Videobreedte","tooltip_videoWidth":"Stel de breedte van de video niet te hoog in om breedband te besparen. Het is voor beide: kleine en volledige video\'s. Als dit niet is ingesteld, wordt de oorspronkelijke grootte van de widget gebruikt.","Camera instance %s inactive":"Camera-instantie %s inactief","disabled":"gehandicapt","pollingInterval":"Polling-interval","pollingIntervalFull":"Polling-interval in dialoogvenster","tooltip_ms":"milliseconden","rotate":"Afbeelding roteren","Polling Camera":"Pollingcamera","Cannot load URL":"Kan URL niet laden","noCacheByFull":"Geen cache in dialoogvenster","camera_in_dialog":"Camera in dialoog","No camera selected":"Geen camera geselecteerd"}')},3638:a=>{a.exports=JSON.parse('{"RTSP url":"URL RTSP","RTSP Camera":"Kamera RTSP","cameras_set_label":"Kamera RTSP","name":"Nazwa","without_card":"Bez ramy","Cameras":"kamery","Camera":"Kamera","Close":"Zamkn\u0105\u0107","videoWidth":"Szeroko\u015b\u0107 wideo","tooltip_videoWidth":"Nie ustawiaj zbyt du\u017cej szeroko\u015bci wideo, aby zaoszcz\u0119dzi\u0107 \u0142\u0105cze szerokopasmowe. Dotyczy to zar\xf3wno ma\u0142ych, jak i pe\u0142nych film\xf3w. Je\u015bli nie ustawiono, zostanie wzi\u0119ty pocz\u0105tkowy rozmiar wid\u017cetu.","Camera instance %s inactive":"Instancja kamery %s nieaktywna","disabled":"wy\u0142\u0105czony","pollingInterval":"Interwa\u0142 odpytywania","pollingIntervalFull":"Interwa\u0142 odpytywania w oknie dialogowym","tooltip_ms":"milisekundy","rotate":"Obr\xf3\u0107 obraz","Polling Camera":"Kamera wyborcza","Cannot load URL":"Nie mo\u017cna za\u0142adowa\u0107 adresu URL","noCacheByFull":"Brak pami\u0119ci podr\u0119cznej w oknie dialogowym","camera_in_dialog":"Kamera w oknie dialogowym","No camera selected":"Nie wybrano kamery"}')},4606:a=>{a.exports=JSON.parse('{"RTSP url":"url RTSP","RTSP Camera":"C\xe2mera RTSP","cameras_set_label":"C\xe2mera RTSP","name":"Nome","without_card":"sem moldura","Cameras":"C\xe2meras","Camera":"C\xe2mera","Close":"Fechar","videoWidth":"Largura do v\xeddeo","tooltip_videoWidth":"N\xe3o defina a largura do v\xeddeo muito alta para economizar banda larga. \xc9 para ambos: v\xeddeos pequenos e completos. Se n\xe3o for definido, o tamanho inicial do widget ser\xe1 usado.","Camera instance %s inactive":"Inst\xe2ncia da c\xe2mera %s inativa","disabled":"desabilitado","pollingInterval":"Intervalo de vota\xe7\xe3o","pollingIntervalFull":"Intervalo de pesquisa na caixa de di\xe1logo","tooltip_ms":"milissegundos","rotate":"Girar imagem","Polling Camera":"C\xe2mera de vota\xe7\xe3o","Cannot load URL":"N\xe3o \xe9 poss\xedvel carregar o URL","noCacheByFull":"Sem cache na caixa de di\xe1logo","camera_in_dialog":"C\xe2mera na caixa de di\xe1logo","No camera selected":"Nenhuma c\xe2mera selecionada"}')},3715:a=>{a.exports=JSON.parse('{"RTSP url":"RTSP-\u0430\u0434\u0440\u0435\u0441","RTSP Camera":"RTSP-\u043a\u0430\u043c\u0435\u0440\u0430","cameras_set_label":"RTSP-\u043a\u0430\u043c\u0435\u0440\u0430","name":"\u0418\u043c\u044f","without_card":"\u0411\u0435\u0437 \u0440\u0430\u043c\u043a\u0438","Cameras":"\u041a\u0430\u043c\u0435\u0440\u044b","Camera":"\u041a\u0430\u043c\u0435\u0440\u0430","Close":"\u0417\u0430\u043a\u0440\u044b\u0432\u0430\u0442\u044c","videoWidth":"\u0428\u0438\u0440\u0438\u043d\u0430 \u0432\u0438\u0434\u0435\u043e","tooltip_videoWidth":"\u041d\u0435 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0439\u0442\u0435 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0448\u0438\u0440\u0438\u043d\u0443 \u0432\u0438\u0434\u0435\u043e, \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0448\u0438\u0440\u043e\u043a\u043e\u043f\u043e\u043b\u043e\u0441\u043d\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f. \u041e\u043d \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u043a\u0430\u043a \u0434\u043b\u044f \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0445, \u0442\u0430\u043a \u0438 \u0434\u043b\u044f \u043f\u043e\u043b\u043d\u044b\u0445 \u0432\u0438\u0434\u0435\u043e. \u0415\u0441\u043b\u0438 \u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e, \u0431\u0443\u0434\u0435\u0442 \u0432\u0437\u044f\u0442 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u0440\u0430\u0437\u043c\u0435\u0440 \u0432\u0438\u0434\u0436\u0435\u0442\u0430.","Camera instance %s inactive":"\u042d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u043a\u0430\u043c\u0435\u0440\u044b %s \u043d\u0435\u0430\u043a\u0442\u0438\u0432\u0435\u043d","disabled":"\u043d\u0435\u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u044b\u0439","pollingInterval":"\u0418\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u043e\u043f\u0440\u043e\u0441\u0430","pollingIntervalFull":"\u0418\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u043e\u043f\u0440\u043e\u0441\u0430 \u0432 \u0434\u0438\u0430\u043b\u043e\u0433\u0435","tooltip_ms":"\u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434\u044b","rotate":"\u041f\u043e\u0432\u043e\u0440\u043e\u0442 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f","Polling Camera":"URL-\u041a\u0430\u043c\u0435\u0440\u0430","Cannot load URL":"\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c URL","noCacheByFull":"\u041d\u0435\u0442 \u043a\u0435\u0448\u0430 \u0432 \u0434\u0438\u0430\u043b\u043e\u0433\u0435","camera_in_dialog":"\u041a\u0430\u043c\u0435\u0440\u0430 \u0432 \u0434\u0438\u0430\u043b\u043e\u0433\u0435","No camera selected":"\u041a\u0430\u043c\u0435\u0440\u0430 \u043d\u0435 \u0432\u044b\u0431\u0440\u0430\u043d\u0430"}')},3882:a=>{a.exports=JSON.parse('{"RTSP url":"URL-\u0430\u0434\u0440\u0435\u0441\u0430 RTSP","RTSP Camera":"\u041a\u0430\u043c\u0435\u0440\u0430 RTSP","cameras_set_label":"\u041a\u0430\u043c\u0435\u0440\u0430 RTSP","name":"\u0406\u043c\'\u044f","without_card":"\u0411\u0435\u0437 \u0440\u0430\u043c\u0438","Cameras":"\u0424\u043e\u0442\u043e\u0430\u043f\u0430\u0440\u0430\u0442\u0438","Camera":"\u041a\u0430\u043c\u0435\u0440\u0430","Close":"\u0417\u0430\u043a\u0440\u0438\u0442\u0438","videoWidth":"\u0428\u0438\u0440\u0438\u043d\u0430 \u0432\u0456\u0434\u0435\u043e","tooltip_videoWidth":"\u041d\u0435 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u044e\u0439\u0442\u0435 \u0437\u0430\u043d\u0430\u0434\u0442\u043e \u0432\u0438\u0441\u043e\u043a\u0443 \u0448\u0438\u0440\u0438\u043d\u0443 \u0432\u0456\u0434\u0435\u043e, \u0449\u043e\u0431 \u0437\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u0448\u0438\u0440\u043e\u043a\u043e\u0441\u043c\u0443\u0433\u043e\u0432\u0438\u0439 \u0437\u0432\u2019\u044f\u0437\u043e\u043a. \u0426\u0435 \u044f\u043a \u0434\u043b\u044f \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0445, \u0442\u0430\u043a \u0456 \u0434\u043b\u044f \u043f\u043e\u0432\u043d\u0438\u0445 \u0432\u0456\u0434\u0435\u043e. \u042f\u043a\u0449\u043e \u043d\u0435 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e, \u0431\u0443\u0434\u0435 \u0432\u0437\u044f\u0442\u043e \u043f\u043e\u0447\u0430\u0442\u043a\u043e\u0432\u0438\u0439 \u0440\u043e\u0437\u043c\u0456\u0440 \u0432\u0456\u0434\u0436\u0435\u0442\u0430.","Camera instance %s inactive":"\u041f\u0440\u0438\u043c\u0456\u0440\u043d\u0438\u043a \u043a\u0430\u043c\u0435\u0440\u0438 %s \u043d\u0435\u0430\u043a\u0442\u0438\u0432\u043d\u0438\u0439","disabled":"\u0432\u0438\u043c\u043a\u043d\u0435\u043d\u043e","pollingInterval":"\u0406\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u043e\u043f\u0438\u0442\u0443\u0432\u0430\u043d\u043d\u044f","pollingIntervalFull":"\u0406\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u043e\u043f\u0438\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u0432 \u0434\u0456\u0430\u043b\u043e\u0433\u043e\u0432\u043e\u043c\u0443 \u0432\u0456\u043a\u043d\u0456","tooltip_ms":"\u043c\u0456\u043b\u0456\u0441\u0435\u043a\u0443\u043d\u0434","rotate":"\u041f\u043e\u0432\u0435\u0440\u043d\u0443\u0442\u0438 \u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f","Polling Camera":"\u041a\u0430\u043c\u0435\u0440\u0430 \u043e\u043f\u0438\u0442\u0443\u0432\u0430\u043d\u043d\u044f","Cannot load URL":"\u041d\u0435 \u0432\u0434\u0430\u0454\u0442\u044c\u0441\u044f \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438 URL","noCacheByFull":"\u0423 \u0434\u0456\u0430\u043b\u043e\u0433\u043e\u0432\u043e\u043c\u0443 \u0432\u0456\u043a\u043d\u0456 \u043d\u0435\u043c\u0430\u0454 \u043a\u0435\u0448\u0443","camera_in_dialog":"\u041a\u0430\u043c\u0435\u0440\u0430 \u0432 \u0434\u0456\u0430\u043b\u043e\u0437\u0456","No camera selected":"\u041a\u0430\u043c\u0435\u0440\u0430 \u043d\u0435 \u0432\u0438\u0431\u0440\u0430\u043d\u0430"}')},222:a=>{a.exports=JSON.parse('{"RTSP url":"RTSP \u7f51\u5740","RTSP Camera":"RTSP\u6444\u50cf\u5934","cameras_set_label":"RTSP\u6444\u50cf\u5934","name":"\u59d3\u540d","without_card":"\u65e0\u6846","Cameras":"\u76f8\u673a","Camera":"\u76f8\u673a","Close":"\u5173\u95ed","videoWidth":"\u89c6\u9891\u5bbd\u5ea6","tooltip_videoWidth":"\u4e0d\u8981\u5c06\u89c6\u9891\u5bbd\u5ea6\u8bbe\u7f6e\u5f97\u592a\u9ad8\uff0c\u4ee5\u8282\u7701\u5bbd\u5e26\u3002\u5b83\u9002\u7528\u4e8e\uff1a\u5c0f\u89c6\u9891\u548c\u5b8c\u6574\u89c6\u9891\u3002\u5982\u679c\u672a\u8bbe\u7f6e\uff0c\u5219\u5c06\u91c7\u7528\u5c0f\u90e8\u4ef6\u7684\u521d\u59cb\u5927\u5c0f\u3002","Camera instance %s inactive":"\u76f8\u673a\u5b9e\u4f8b %s \u4e0d\u6d3b\u52a8","disabled":"\u6b8b\u75be\u4eba","pollingInterval":"\u8f6e\u8be2\u95f4\u9694","pollingIntervalFull":"\u5bf9\u8bdd\u6846\u4e2d\u7684\u8f6e\u8be2\u95f4\u9694","tooltip_ms":"\u6beb\u79d2","rotate":"\u65cb\u8f6c\u56fe\u50cf","Polling Camera":"\u6295\u7968\u6444\u50cf\u5934","Cannot load URL":"\u65e0\u6cd5\u52a0\u8f7d\u7f51\u5740","noCacheByFull":"\u5bf9\u8bdd\u6846\u4e2d\u6ca1\u6709\u7f13\u5b58","camera_in_dialog":"\u76f8\u673a\u5bf9\u8bdd","No camera selected":"\u672a\u9009\u62e9\u76f8\u673a"}')}}]); +//# sourceMappingURL=src_translations_js.140dc8fc.chunk.js.map \ No newline at end of file diff --git a/widgets/cameras/static/js/src_translations_js.943281eb.chunk.js b/widgets/cameras/static/js/src_translations_js.943281eb.chunk.js deleted file mode 100644 index 3826f0c..0000000 --- a/widgets/cameras/static/js/src_translations_js.943281eb.chunk.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self.webpackChunkiobroker_vis_2_widgets_camera=self.webpackChunkiobroker_vis_2_widgets_camera||[]).push([["src_translations_js"],{43188:function(a,e,i){i.r(e);var o={en:i(86443),de:i(19837),ru:i(50482),pt:i(65909),nl:i(69196),fr:i(86115),it:i(79399),es:i(55117),pl:i(28130),"zh-cn":i(58246),uk:i(17138),prefix:"cameras_"};e.default=o},19837:function(a){a.exports=JSON.parse('{"RTSP url":"RTSP-URL","RTSP Camera":"RTSP-Kamera","cameras_set_label":"RTSP-Kamera","name":"Name","without_card":"Ohne Rahmen","Cameras":"Kameras","Camera":"Kamera","Close":"Schlie\xdfen","videoWidth":"Videobreite","tooltip_videoWidth":"Stellen Sie die Breite des Videos nicht zu hoch ein, um Breitband zu sparen. Es ist sowohl f\xfcr kleine als auch f\xfcr vollst\xe4ndige Videos geeignet. Wenn nicht festgelegt, wird die anf\xe4ngliche Gr\xf6\xdfe des Widgets verwendet.","Camera instance %s inactive":"Kamerainstanz %s inaktiv","disabled":"deaktiviert","pollingInterval":"Abrufintervall","pollingIntervalFull":"Abfrageintervall im Dialog","tooltip_ms":"Millisekunden","rotate":"Bild drehen","Polling Camera":"URL kamera","Cannot load URL":"URL kann nicht geladen werden","noCacheByFull":"Kein Cache im Dialog","camera_in_dialog":"Kamera im Dialog","No camera selected":"Keine Kamera ausgew\xe4hlt"}')},86443:function(a){a.exports=JSON.parse('{"RTSP Camera":"RTSP Camera","without_card":"Without frame","name":"Name","RTSP url":"RTSP url","cameras_set_label":"RTSP Camera","Cameras":"Cameras","Camera":"Camera","Close":"Close","videoWidth":"Video width","tooltip_videoWidth":"Do not set width of video too hight to save broadband. It is for both: small and full videos. If not set, the initial size of widget will be taken.","Camera instance %s inactive":"Camera instance %s inactive","disabled":"disabled","pollingInterval":"Polling interval","pollingIntervalFull":"Polling interval in dialog","tooltip_ms":"milliseconds","rotate":"Rotate image","Polling Camera":"Polling Camera","Cannot load URL":"Cannot load URL","noCacheByFull":"No cache in dialog","camera_in_dialog":"Camera in Dialog","No camera selected":"No camera selected"}')},55117:function(a){a.exports=JSON.parse('{"RTSP url":"URL de RTSP","RTSP Camera":"C\xe1mara RTSP","cameras_set_label":"C\xe1mara RTSP","name":"Nombre","without_card":"sin marco","Cameras":"C\xe1maras","Camera":"C\xe1mara","Close":"Cerca","videoWidth":"Ancho de v\xeddeo","tooltip_videoWidth":"No configure el ancho del video demasiado alto para ahorrar banda ancha. Es para ambos: videos peque\xf1os y completos. Si no se establece, se tomar\xe1 el tama\xf1o inicial del widget.","Camera instance %s inactive":"Instancia de c\xe1mara %s inactiva","disabled":"desactivado","pollingInterval":"Intervalo de votaci\xf3n","pollingIntervalFull":"Intervalo de sondeo en el di\xe1logo","tooltip_ms":"milisegundos","rotate":"Girar imagen","Polling Camera":"C\xe1mara de sondeo","Cannot load URL":"No se puede cargar la URL","noCacheByFull":"No hay cach\xe9 en el di\xe1logo","camera_in_dialog":"C\xe1mara en di\xe1logo","No camera selected":"Ninguna c\xe1mara seleccionada"}')},86115:function(a){a.exports=JSON.parse('{"RTSP url":"URL RTSP","RTSP Camera":"Cam\xe9ra RTSP","cameras_set_label":"Cam\xe9ra RTSP","name":"Nom","without_card":"Sans cadre","Cameras":"Appareils photo","Camera":"Cam\xe9ra","Close":"Fermer","videoWidth":"Largeur vid\xe9o","tooltip_videoWidth":"Ne d\xe9finissez pas une largeur de vid\xe9o trop \xe9lev\xe9e pour \xe9conomiser le haut d\xe9bit. C\'est pour les deux\xa0: petites et compl\xe8tes vid\xe9os. S\'il n\'est pas d\xe9fini, la taille initiale du widget sera prise.","Camera instance %s inactive":"Instance de cam\xe9ra %s inactive","disabled":"d\xe9sactiv\xe9","pollingInterval":"Intervalle d\'interrogation","pollingIntervalFull":"Intervalle d\'interrogation dans la bo\xeete de dialogue","tooltip_ms":"millisecondes","rotate":"Faire pivoter l\'image","Polling Camera":"Cam\xe9ra de sondage","Cannot load URL":"Impossible de charger l\'URL","noCacheByFull":"Pas de cache dans la bo\xeete de dialogue","camera_in_dialog":"Cam\xe9ra dans la bo\xeete de dialogue","No camera selected":"Aucune cam\xe9ra s\xe9lectionn\xe9e"}')},79399:function(a){a.exports=JSON.parse('{"RTSP url":"URL RTSP","RTSP Camera":"Fotocamera RTSP","cameras_set_label":"Fotocamera RTSP","name":"Nome","without_card":"Senza cornice","Cameras":"Macchine fotografiche","Camera":"Telecamera","Close":"Vicino","videoWidth":"Larghezza video","tooltip_videoWidth":"Non impostare la larghezza del video troppo alta per salvare la banda larga. \xc8 per entrambi: video piccoli e completi. Se non impostato, verr\xe0 utilizzata la dimensione iniziale del widget.","Camera instance %s inactive":"Istanza fotocamera %s inattiva","disabled":"Disabilitato","pollingInterval":"Intervallo di polling","pollingIntervalFull":"Intervallo di polling nella finestra di dialogo","tooltip_ms":"millisecondi","rotate":"Ruota l\'immagine","Polling Camera":"Telecamera per sondaggi","Cannot load URL":"Impossibile caricare l\'URL","noCacheByFull":"Nessuna cache nella finestra di dialogo","camera_in_dialog":"Fotocamera nella finestra di dialogo","No camera selected":"Nessuna telecamera selezionata"}')},69196:function(a){a.exports=JSON.parse('{"RTSP url":"RTSP-URL","RTSP Camera":"RTSP-camera","cameras_set_label":"RTSP-camera","name":"Naam","without_card":"Zonder lijst","Cameras":"Camera\'s","Camera":"Camera","Close":"Dichtbij","videoWidth":"Videobreedte","tooltip_videoWidth":"Stel de breedte van de video niet te hoog in om breedband te besparen. Het is voor beide: kleine en volledige video\'s. Als dit niet is ingesteld, wordt de oorspronkelijke grootte van de widget gebruikt.","Camera instance %s inactive":"Camera-instantie %s inactief","disabled":"gehandicapt","pollingInterval":"Polling-interval","pollingIntervalFull":"Polling-interval in dialoogvenster","tooltip_ms":"milliseconden","rotate":"Afbeelding roteren","Polling Camera":"Pollingcamera","Cannot load URL":"Kan URL niet laden","noCacheByFull":"Geen cache in dialoogvenster","camera_in_dialog":"Camera in dialoog","No camera selected":"Geen camera geselecteerd"}')},28130:function(a){a.exports=JSON.parse('{"RTSP url":"URL RTSP","RTSP Camera":"Kamera RTSP","cameras_set_label":"Kamera RTSP","name":"Nazwa","without_card":"Bez ramy","Cameras":"kamery","Camera":"Kamera","Close":"Zamkn\u0105\u0107","videoWidth":"Szeroko\u015b\u0107 wideo","tooltip_videoWidth":"Nie ustawiaj zbyt du\u017cej szeroko\u015bci wideo, aby zaoszcz\u0119dzi\u0107 \u0142\u0105cze szerokopasmowe. Dotyczy to zar\xf3wno ma\u0142ych, jak i pe\u0142nych film\xf3w. Je\u015bli nie ustawiono, zostanie wzi\u0119ty pocz\u0105tkowy rozmiar wid\u017cetu.","Camera instance %s inactive":"Instancja kamery %s nieaktywna","disabled":"wy\u0142\u0105czony","pollingInterval":"Interwa\u0142 odpytywania","pollingIntervalFull":"Interwa\u0142 odpytywania w oknie dialogowym","tooltip_ms":"milisekundy","rotate":"Obr\xf3\u0107 obraz","Polling Camera":"Kamera wyborcza","Cannot load URL":"Nie mo\u017cna za\u0142adowa\u0107 adresu URL","noCacheByFull":"Brak pami\u0119ci podr\u0119cznej w oknie dialogowym","camera_in_dialog":"Kamera w oknie dialogowym","No camera selected":"Nie wybrano kamery"}')},65909:function(a){a.exports=JSON.parse('{"RTSP url":"url RTSP","RTSP Camera":"C\xe2mera RTSP","cameras_set_label":"C\xe2mera RTSP","name":"Nome","without_card":"sem moldura","Cameras":"C\xe2meras","Camera":"C\xe2mera","Close":"Fechar","videoWidth":"Largura do v\xeddeo","tooltip_videoWidth":"N\xe3o defina a largura do v\xeddeo muito alta para economizar banda larga. \xc9 para ambos: v\xeddeos pequenos e completos. Se n\xe3o for definido, o tamanho inicial do widget ser\xe1 usado.","Camera instance %s inactive":"Inst\xe2ncia da c\xe2mera %s inativa","disabled":"desabilitado","pollingInterval":"Intervalo de vota\xe7\xe3o","pollingIntervalFull":"Intervalo de pesquisa na caixa de di\xe1logo","tooltip_ms":"milissegundos","rotate":"Girar imagem","Polling Camera":"C\xe2mera de vota\xe7\xe3o","Cannot load URL":"N\xe3o \xe9 poss\xedvel carregar o URL","noCacheByFull":"Sem cache na caixa de di\xe1logo","camera_in_dialog":"C\xe2mera na caixa de di\xe1logo","No camera selected":"Nenhuma c\xe2mera selecionada"}')},50482:function(a){a.exports=JSON.parse('{"RTSP url":"RTSP-\u0430\u0434\u0440\u0435\u0441","RTSP Camera":"RTSP-\u043a\u0430\u043c\u0435\u0440\u0430","cameras_set_label":"RTSP-\u043a\u0430\u043c\u0435\u0440\u0430","name":"\u0418\u043c\u044f","without_card":"\u0411\u0435\u0437 \u0440\u0430\u043c\u043a\u0438","Cameras":"\u041a\u0430\u043c\u0435\u0440\u044b","Camera":"\u041a\u0430\u043c\u0435\u0440\u0430","Close":"\u0417\u0430\u043a\u0440\u044b\u0432\u0430\u0442\u044c","videoWidth":"\u0428\u0438\u0440\u0438\u043d\u0430 \u0432\u0438\u0434\u0435\u043e","tooltip_videoWidth":"\u041d\u0435 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0439\u0442\u0435 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0448\u0438\u0440\u0438\u043d\u0443 \u0432\u0438\u0434\u0435\u043e, \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0448\u0438\u0440\u043e\u043a\u043e\u043f\u043e\u043b\u043e\u0441\u043d\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f. \u041e\u043d \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u043a\u0430\u043a \u0434\u043b\u044f \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0445, \u0442\u0430\u043a \u0438 \u0434\u043b\u044f \u043f\u043e\u043b\u043d\u044b\u0445 \u0432\u0438\u0434\u0435\u043e. \u0415\u0441\u043b\u0438 \u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e, \u0431\u0443\u0434\u0435\u0442 \u0432\u0437\u044f\u0442 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u0440\u0430\u0437\u043c\u0435\u0440 \u0432\u0438\u0434\u0436\u0435\u0442\u0430.","Camera instance %s inactive":"\u042d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u043a\u0430\u043c\u0435\u0440\u044b %s \u043d\u0435\u0430\u043a\u0442\u0438\u0432\u0435\u043d","disabled":"\u043d\u0435\u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u044b\u0439","pollingInterval":"\u0418\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u043e\u043f\u0440\u043e\u0441\u0430","pollingIntervalFull":"\u0418\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u043e\u043f\u0440\u043e\u0441\u0430 \u0432 \u0434\u0438\u0430\u043b\u043e\u0433\u0435","tooltip_ms":"\u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434\u044b","rotate":"\u041f\u043e\u0432\u043e\u0440\u043e\u0442 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f","Polling Camera":"URL-\u041a\u0430\u043c\u0435\u0440\u0430","Cannot load URL":"\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c URL","noCacheByFull":"\u041d\u0435\u0442 \u043a\u0435\u0448\u0430 \u0432 \u0434\u0438\u0430\u043b\u043e\u0433\u0435","camera_in_dialog":"\u041a\u0430\u043c\u0435\u0440\u0430 \u0432 \u0434\u0438\u0430\u043b\u043e\u0433\u0435","No camera selected":"\u041a\u0430\u043c\u0435\u0440\u0430 \u043d\u0435 \u0432\u044b\u0431\u0440\u0430\u043d\u0430"}')},17138:function(a){a.exports=JSON.parse('{"RTSP url":"URL-\u0430\u0434\u0440\u0435\u0441\u0430 RTSP","RTSP Camera":"\u041a\u0430\u043c\u0435\u0440\u0430 RTSP","cameras_set_label":"\u041a\u0430\u043c\u0435\u0440\u0430 RTSP","name":"\u0406\u043c\'\u044f","without_card":"\u0411\u0435\u0437 \u0440\u0430\u043c\u0438","Cameras":"\u0424\u043e\u0442\u043e\u0430\u043f\u0430\u0440\u0430\u0442\u0438","Camera":"\u041a\u0430\u043c\u0435\u0440\u0430","Close":"\u0417\u0430\u043a\u0440\u0438\u0442\u0438","videoWidth":"\u0428\u0438\u0440\u0438\u043d\u0430 \u0432\u0456\u0434\u0435\u043e","tooltip_videoWidth":"\u041d\u0435 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u044e\u0439\u0442\u0435 \u0437\u0430\u043d\u0430\u0434\u0442\u043e \u0432\u0438\u0441\u043e\u043a\u0443 \u0448\u0438\u0440\u0438\u043d\u0443 \u0432\u0456\u0434\u0435\u043e, \u0449\u043e\u0431 \u0437\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u0448\u0438\u0440\u043e\u043a\u043e\u0441\u043c\u0443\u0433\u043e\u0432\u0438\u0439 \u0437\u0432\u2019\u044f\u0437\u043e\u043a. \u0426\u0435 \u044f\u043a \u0434\u043b\u044f \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0445, \u0442\u0430\u043a \u0456 \u0434\u043b\u044f \u043f\u043e\u0432\u043d\u0438\u0445 \u0432\u0456\u0434\u0435\u043e. \u042f\u043a\u0449\u043e \u043d\u0435 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e, \u0431\u0443\u0434\u0435 \u0432\u0437\u044f\u0442\u043e \u043f\u043e\u0447\u0430\u0442\u043a\u043e\u0432\u0438\u0439 \u0440\u043e\u0437\u043c\u0456\u0440 \u0432\u0456\u0434\u0436\u0435\u0442\u0430.","Camera instance %s inactive":"\u041f\u0440\u0438\u043c\u0456\u0440\u043d\u0438\u043a \u043a\u0430\u043c\u0435\u0440\u0438 %s \u043d\u0435\u0430\u043a\u0442\u0438\u0432\u043d\u0438\u0439","disabled":"\u0432\u0438\u043c\u043a\u043d\u0435\u043d\u043e","pollingInterval":"\u0406\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u043e\u043f\u0438\u0442\u0443\u0432\u0430\u043d\u043d\u044f","pollingIntervalFull":"\u0406\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u043e\u043f\u0438\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u0432 \u0434\u0456\u0430\u043b\u043e\u0433\u043e\u0432\u043e\u043c\u0443 \u0432\u0456\u043a\u043d\u0456","tooltip_ms":"\u043c\u0456\u043b\u0456\u0441\u0435\u043a\u0443\u043d\u0434","rotate":"\u041f\u043e\u0432\u0435\u0440\u043d\u0443\u0442\u0438 \u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f","Polling Camera":"\u041a\u0430\u043c\u0435\u0440\u0430 \u043e\u043f\u0438\u0442\u0443\u0432\u0430\u043d\u043d\u044f","Cannot load URL":"\u041d\u0435 \u0432\u0434\u0430\u0454\u0442\u044c\u0441\u044f \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438 URL","noCacheByFull":"\u0423 \u0434\u0456\u0430\u043b\u043e\u0433\u043e\u0432\u043e\u043c\u0443 \u0432\u0456\u043a\u043d\u0456 \u043d\u0435\u043c\u0430\u0454 \u043a\u0435\u0448\u0443","camera_in_dialog":"\u041a\u0430\u043c\u0435\u0440\u0430 \u0432 \u0434\u0456\u0430\u043b\u043e\u0437\u0456","No camera selected":"\u041a\u0430\u043c\u0435\u0440\u0430 \u043d\u0435 \u0432\u0438\u0431\u0440\u0430\u043d\u0430"}')},58246:function(a){a.exports=JSON.parse('{"RTSP url":"RTSP \u7f51\u5740","RTSP Camera":"RTSP\u6444\u50cf\u5934","cameras_set_label":"RTSP\u6444\u50cf\u5934","name":"\u59d3\u540d","without_card":"\u65e0\u6846","Cameras":"\u76f8\u673a","Camera":"\u76f8\u673a","Close":"\u5173\u95ed","videoWidth":"\u89c6\u9891\u5bbd\u5ea6","tooltip_videoWidth":"\u4e0d\u8981\u5c06\u89c6\u9891\u5bbd\u5ea6\u8bbe\u7f6e\u5f97\u592a\u9ad8\uff0c\u4ee5\u8282\u7701\u5bbd\u5e26\u3002\u5b83\u9002\u7528\u4e8e\uff1a\u5c0f\u89c6\u9891\u548c\u5b8c\u6574\u89c6\u9891\u3002\u5982\u679c\u672a\u8bbe\u7f6e\uff0c\u5219\u5c06\u91c7\u7528\u5c0f\u90e8\u4ef6\u7684\u521d\u59cb\u5927\u5c0f\u3002","Camera instance %s inactive":"\u76f8\u673a\u5b9e\u4f8b %s \u4e0d\u6d3b\u52a8","disabled":"\u6b8b\u75be\u4eba","pollingInterval":"\u8f6e\u8be2\u95f4\u9694","pollingIntervalFull":"\u5bf9\u8bdd\u6846\u4e2d\u7684\u8f6e\u8be2\u95f4\u9694","tooltip_ms":"\u6beb\u79d2","rotate":"\u65cb\u8f6c\u56fe\u50cf","Polling Camera":"\u6295\u7968\u6444\u50cf\u5934","Cannot load URL":"\u65e0\u6cd5\u52a0\u8f7d\u7f51\u5740","noCacheByFull":"\u5bf9\u8bdd\u6846\u4e2d\u6ca1\u6709\u7f13\u5b58","camera_in_dialog":"\u76f8\u673a\u5bf9\u8bdd","No camera selected":"\u672a\u9009\u62e9\u76f8\u673a"}')}}]); -//# sourceMappingURL=src_translations_js.943281eb.chunk.js.map \ No newline at end of file diff --git a/widgets/cameras/static/js/vendors-node_modules_iobroker_vis-2-widgets-react-dev_index_jsx.d398aa7b.chunk.js b/widgets/cameras/static/js/vendors-node_modules_iobroker_vis-2-widgets-react-dev_index_jsx.d398aa7b.chunk.js deleted file mode 100644 index 84eee16..0000000 --- a/widgets/cameras/static/js/vendors-node_modules_iobroker_vis-2-widgets-react-dev_index_jsx.d398aa7b.chunk.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see vendors-node_modules_iobroker_vis-2-widgets-react-dev_index_jsx.d398aa7b.chunk.js.LICENSE.txt */ -(self.webpackChunkiobroker_vis_2_widgets_camera=self.webpackChunkiobroker_vis_2_widgets_camera||[]).push([["vendors-node_modules_iobroker_vis-2-widgets-react-dev_index_jsx"],{97345:function(t,e,r){"use strict";var n=r(64836);Object.defineProperty(e,"X",{value:!0}),e.Z=void 0;var o=n(r(64687)),i=n(r(18698)),a=n(r(17156)),u=n(r(56690)),c=n(r(89728)),s=n(r(94993)),l=n(r(73808)),f=n(r(61655)),p=n(r(38416)),d=n(r(4819)),h=r(94427),y=r(75606);function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function g(t){for(var e=1;e1?e-1:0),n=1;n=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=a.call(i,"catchLoc"),s=a.call(i,"finallyLoc");if(c&&s){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),I(r),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:D(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},r}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports},6015:function(t){function e(r,n){return t.exports=e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r,n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},95036:function(t,e,r){var n=r(18698).default;t.exports=function(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},64062:function(t,e,r){var n=r(18698).default,o=r(95036);t.exports=function(t){var e=o(t,"string");return"symbol"==n(e)?e:e+""},t.exports.__esModule=!0,t.exports.default=t.exports},18698:function(t){function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},64687:function(t,e,r){var n=r(17061)();t.exports=n;try{regeneratorRuntime=n}catch(o){"object"===typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}}}]); -//# sourceMappingURL=vendors-node_modules_iobroker_vis-2-widgets-react-dev_index_jsx.d398aa7b.chunk.js.map \ No newline at end of file diff --git a/widgets/cameras/static/js/vendors-node_modules_iobroker_vis-2-widgets-react-dev_index_jsx.d398aa7b.chunk.js.LICENSE.txt b/widgets/cameras/static/js/vendors-node_modules_iobroker_vis-2-widgets-react-dev_index_jsx.d398aa7b.chunk.js.LICENSE.txt deleted file mode 100644 index ae386fb..0000000 --- a/widgets/cameras/static/js/vendors-node_modules_iobroker_vis-2-widgets-react-dev_index_jsx.d398aa7b.chunk.js.LICENSE.txt +++ /dev/null @@ -1 +0,0 @@ -/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ diff --git a/widgets/cameras/static/js/vendors-node_modules_iobroker_vis-2-widgets-react-dev_index_jsx.d398aa7b.chunk.js.map b/widgets/cameras/static/js/vendors-node_modules_iobroker_vis-2-widgets-react-dev_index_jsx.d398aa7b.chunk.js.map deleted file mode 100644 index 161bbad..0000000 --- a/widgets/cameras/static/js/vendors-node_modules_iobroker_vis-2-widgets-react-dev_index_jsx.d398aa7b.chunk.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/vendors-node_modules_iobroker_vis-2-widgets-react-dev_index_jsx.d398aa7b.chunk.js","mappings":";sZAAAA,EAAAC,EAAAC,EAAA,OAEAC,EAAAD,EAAA,OAKAE,EAAAF,EAAA,OAAkD,SAAAG,EAAAC,EAAAC,GAAA,IAAAC,EAAAC,OAAAC,KAAAJ,GAAA,GAAAG,OAAAE,sBAAA,KAAAC,EAAAH,OAAAE,sBAAAL,GAAAC,IAAAK,EAAAA,EAAAC,QAAA,SAAAN,GAAA,OAAAE,OAAAK,yBAAAR,EAAAC,GAAAQ,UAAA,KAAAP,EAAAQ,KAAAC,MAAAT,EAAAI,EAAA,QAAAJ,CAAA,UAAAU,EAAAZ,GAAA,QAAAC,EAAA,EAAAA,EAAAY,UAAAC,OAAAb,IAAA,KAAAC,EAAA,MAAAW,UAAAZ,GAAAY,UAAAZ,GAAA,GAAAA,EAAA,EAAAF,EAAAI,OAAAD,IAAA,GAAAa,SAAA,SAAAd,IAAA,EAAAe,EAAA,SAAAhB,EAAAC,EAAAC,EAAAD,GAAA,IAAAE,OAAAc,0BAAAd,OAAAe,iBAAAlB,EAAAG,OAAAc,0BAAAf,IAAAH,EAAAI,OAAAD,IAAAa,SAAA,SAAAd,GAAAE,OAAAgB,eAAAnB,EAAAC,EAAAE,OAAAK,yBAAAN,EAAAD,GAAA,WAAAD,CAAA,UAAAoB,EAAAlB,EAAAI,EAAAN,GAAA,OAAAM,GAAA,EAAAe,EAAA,SAAAf,IAAA,EAAAgB,EAAA,SAAApB,EAAAqB,IAAAC,QAAAC,UAAAnB,EAAAN,GAAA,MAAAqB,EAAA,SAAAnB,GAAAwB,aAAApB,EAAAK,MAAAT,EAAAF,GAAA,UAAAuB,IAAA,QAAArB,GAAAyB,QAAAC,UAAAC,QAAAC,KAAAN,QAAAC,UAAAE,QAAA,0BAAAzB,GAAA,QAAAqB,EAAA,mBAAArB,CAAA,KAElD,IAAM6B,EAAsB,CACxB,mBACA,SACA,aACA,mBACA,sBACA,oBACA,kBACA,kBACA,oBACA,QACA,aACA,eACA,eACA,eACA,gBACA,aACA,aACA,cACA,cACA,YACA,cACA,cACA,aACA,eACA,iBACA,gBAGEC,EAAW,SAAAC,GAGb,SAAAD,EAAYE,GAAO,IAAAC,EAab,OAba,EAAAC,EAAA,cAAAJ,GACfG,EAAAf,EAAA,KAAAY,EAAA,CAAME,KAAO,EAAAlB,EAAA,SAAAmB,EAAA,uBAqIK,SAACE,EAAIC,GACvB,OAAOH,EAAKD,MAAMK,QAAQC,OAAOC,SAASJ,GACrCK,MAAK,SAAAC,GAEF,OADAL,EAAGD,EAAIM,GACAR,EAAKD,MAAMK,QAAQC,OAAOI,eAAeP,GAAI,SAACQ,EAAUF,GAAM,OAAKL,EAAGD,EAAIM,EAAO,GAC5F,GACR,IA1IIR,EAAKW,eAAiBX,EAAKW,eAAeC,KAAIZ,GAC9CA,EAAKa,MAAKpC,EAAAA,EAAA,GACHsB,GAAK,IACRe,OAAQ,CAAC,EACTC,KAAMC,KAAKC,MAAMD,KAAKE,UAAUnB,EAAMgB,MAAQ,CAAC,IAC/CI,MAAOH,KAAKC,MAAMD,KAAKE,UAAUnB,EAAMoB,OAAS,CAAC,IACjDC,OAAQJ,KAAKC,MAAMD,KAAKE,UAAUnB,EAAMgB,MAAQ,CAAC,IACjDM,QAASL,KAAKC,MAAMD,KAAKE,UAAUnB,EAAMoB,OAAS,CAAC,MAEvDnB,EAAKsB,YAAc,CACfC,IAAK,IACPvB,CACN,CAAC,SAAAwB,EAAA,SAAA3B,EAAAC,IAAA,EAAA2B,EAAA,SAAA5B,EAAA,EAAA6B,IAAA,mBAAAC,MAsBD,SAAiB5B,GACb,OAAO,IACX,GAGA,CAAA2B,IAAA,iBAAAC,MACA,SAAezB,EAAIW,GAEnB,GAAC,CAAAa,IAAA,cAAAC,MAED,SAAYA,EAAOC,GACgB,IAAAC,EAAV,kBAAVF,IAEHA,EADU,IAAVC,EACQE,KAAKF,MAAMD,GAEXG,KAAKF,MAAc,IAARD,GAAe,IAEH,QAAnCE,EAAIE,KAAKhC,MAAMK,QAAQ4B,oBAAY,IAAAH,GAA/BA,EAAiCI,QAC7BF,KAAKhC,MAAMK,QAAQ4B,aAAaC,OAAOC,eACvCP,EAAQA,EAAMQ,WAAWC,QAAQ,IAAK,OAKlD,YAAiBC,IAAVV,GAAiC,OAAVA,EAAiB,GAAKA,EAAMQ,UAC9D,GAAC,CAAAT,IAAA,cAAAC,MAED,SAAYW,EAASC,EAAaC,EAAkBC,EAAaC,EAAaC,GAAY,IAAAC,EAAAC,EAAA,KAChFC,GAAmB,OAAVH,QAAU,IAAVA,OAAU,EAAVA,EAAYI,OAAQrF,EAAAqF,KAC7BC,GAA0B,OAAVL,QAAU,IAAVA,OAAU,EAAVA,EAAYM,cAAevF,EAAAuF,YAE3C9B,EAAK1C,EAAA,CACPyE,MAAO,mBACPC,OAAQ,mBACRC,OAAQ,GACoB,QADnBR,EACNb,KAAKhC,MAAMsD,sBAAc,IAAAT,GAAW,QAAXA,EAAzBA,EAA2BU,iBAAS,IAAAV,OAAA,EAApCA,EAAsCW,SAmB7C,OAhBAvF,OAAOC,KAAK8D,KAAKlB,MAAMQ,SAASzC,SAAQ,SAAA4E,GACpC,IAAM7B,EAAQkB,EAAKhC,MAAMQ,QAAQmC,GACnB,OAAV7B,QACUU,IAAVV,GACA/B,EAAoB6D,SAASD,KAE7BA,EAAOA,EAAKpB,QACR,UACA,SAAAsB,GAAI,OAAIA,EAAK,GAAGC,aAAa,IAEjCxC,EAAMqC,GAAQ7B,EAEtB,IAEAI,KAAK6B,gBAAiB,EAEfrG,EAAA,QAAAsG,cAACf,EAAM,CACVgB,UAAU,qBACV3C,MAAOA,EACP4C,QAASrB,GAETnF,EAAA,QAAAsG,cAACb,EAAa,CACVc,UAAU,6BACV3C,MAAK1C,EAAA,CACDuF,QAAS,OACTC,cAAe,SACfC,WAAY,SACZf,OAAQ,oBACRgB,cAAe,GACfC,SAAU,YACP5B,IAGNT,KAAKlB,MAAMO,OAAOiD,YAAc9G,EAAA,QAAAsG,cAAA,OAC7BC,UAAU,0BACV3C,MAAO,CACH6C,QAAS,OACTM,eAAgB,gBAChBpB,MAAO,OACPgB,WAAY,WAGhB3G,EAAA,QAAAsG,cAAA,OACIC,UAAU,8BACV3C,MAAK1C,EAAA,CACD8F,SAAU,GACVC,WAAY,EACZL,cAAe,GACZ1B,IAGNV,KAAKlB,MAAMO,OAAOiD,aAEtB9B,GAAe,MACVA,GAAe,KACxBD,GAGb,GAAC,CAAAZ,IAAA,iBAAAC,MAUD,SAAezB,EAAIW,GACf,GAAKA,EAAL,CAGA,IAAMC,EAASE,KAAKC,MAAMD,KAAKE,UAAUa,KAAKlB,MAAMC,SACpD9C,OAAOC,KAAK4C,GAAOjC,SAAQ,SAAA8C,GAAG,OAC1BZ,EAAO,GAAD2D,OAAIvE,EAAE,KAAAuE,OAAI/C,IAASb,EAAMa,EAAI,IAEvCK,KAAK2C,eAAexE,EAAIW,GAExBkB,KAAK4C,SAAS,CAAE7D,OAAAA,GAPhB,CAQJ,GAAC,CAAAY,IAAA,oBAAAC,MAAA,eAAAiD,GAAA,EAAAC,EAAA,SAAAC,EAAA,QAAAC,MAED,SAAAC,IAAA,IAAAC,EAAAC,EAAAC,EAAA,YAAAL,EAAA,QAAAM,MAAA,SAAAC,GAAA,cAAAA,EAAAC,KAAAD,EAAAE,MAAA,OACwB,QAApBN,EAAAlD,KAAKyD,uBAAe,IAAAP,GAAU,QAAVA,EAApBA,EAAsBQ,gBAAQ,IAAAR,GAA9BA,EAAgCrG,SAAQ,SAAA8G,GAAK,IAAAC,EAAA,OACpC,OAALD,QAAK,IAALA,GAAa,QAARC,EAALD,EAAOE,cAAM,IAAAD,OAAA,EAAbA,EAAe/G,SAAQ,SAAAiH,GACC,QAAX,OAALA,QAAK,IAALA,OAAK,EAALA,EAAOC,OACP9H,OAAOC,KAAKkH,EAAKtE,MAAME,MAAMnC,SAAQ,SAAAmH,GAEjC,GAAIA,EAAQC,MAAM,IAAIC,OAAO,IAADxB,OAAKoB,EAAMK,KAAI,aAAa,CACpD,IAAMC,EAAMhB,EAAKtE,MAAME,KAAKgF,GACvBZ,EAAK7D,YAAYC,IAAIkC,SAAS0C,IAC/BhB,EAAK7D,YAAYC,IAAIhD,KAAK4H,EAElC,CACJ,GAER,GAAE,IAEGjB,EAAI,EAAC,YAAEA,EAAInD,KAAKT,YAAYC,IAAI5C,QAAM,CAAA0G,EAAAE,KAAA,eAAAF,EAAAE,KAAA,EACrCxD,KAAKqE,oBAAoBrE,KAAKT,YAAYC,IAAI2D,GAAInD,KAAKpB,gBAAe,OAD/BuE,IAAGG,EAAAE,KAAA,gCAAAF,EAAAgB,OAAA,GAAArB,EAAA,UAGvD,yBAAAJ,EAAApG,MAAA,KAAAE,UAAA,EArBA,IAqBA,CAAAgD,IAAA,uBAAAC,MAED,WAAuB,IAAA2E,EAAA,KACnBvE,KAAKT,YAAYC,IAAI3C,SAAQ,SAAAuH,GAAG,OAC5BG,EAAKvG,MAAMK,QAAQC,OAAOkG,iBAAiBJ,EAAKG,EAAK3F,eAAe,GAC5E,GAAC,CAAAe,IAAA,gBAAAC,MAED,SAAc6E,EAAMzG,GAChB,OAAOxC,EAAA,QAAAsG,cAAA,OAAK1C,MAAO,CAAE+B,MAAO,OAAQC,OAAQ,SAAU,YAG1D,GAAC,CAAAzB,IAAA,oBAAAC,MAED,SAAkB6E,EAAMC,EAAKC,GACzB,OAAO,IACX,GAAC,CAAAhF,IAAA,SAAAC,MAED,WAAS,IAAAgF,EAAAC,EACL,OAAOrJ,EAAA,QAAAsG,cAAA,OAAK1C,MAAO,CAAE+B,MAAuB,QAAlByD,EAAE5E,KAAKlB,MAAMM,aAAK,IAAAwF,OAAA,EAAhBA,EAAkBzD,MAAOC,OAAwB,QAAlByD,EAAE7E,KAAKlB,MAAMM,aAAK,IAAAyF,OAAA,EAAhBA,EAAkBzD,SAC1EpB,KAAK8E,iBAAiB,CACnBC,OAAQ,CAER,IAGZ,IAAC,EAAApF,IAAA,gBAAAC,MAvLD,WACI,MAAO,EACX,GAAC,CAAAD,IAAA,UAAAC,MAED,SAAe+B,GACX,OAAIA,GAAwB,YAAhB,EAAAqD,EAAA,SAAOrD,GACRA,EAAK/F,EAAAqJ,KAAKC,gBAAkBvD,EAAKwD,GAErCxD,CACX,GAAC,CAAAhC,IAAA,IAAAC,MAED,SAASD,GAAc,QAAAyF,EAAAzI,UAAAC,OAANyI,EAAI,IAAAC,MAAAF,EAAA,EAAAA,EAAA,KAAAG,EAAA,EAAAA,EAAAH,EAAAG,IAAJF,EAAIE,EAAA,GAAA5I,UAAA4I,GACjB,OAAO3J,EAAAqJ,KAAKjJ,EAACS,MAANb,EAAAqJ,KAAI,IAAAvC,OAAM1C,KAAKwF,iBAAe9C,OAAG/C,IAAG+C,OAAO2C,GACtD,GAAC,CAAA1F,IAAA,cAAAC,MAED,WACI,OAAOhE,EAAAqJ,KAAKC,aAChB,IAAC,CApCY,CAAS1J,EAAA,QAAMiK,YAAS,EAAA3I,EAAA,SAAnCgB,EAAW,sBACgBD,GAAmB6H,EAAAA,EA4MrC5H,6JC/Of6H,EAAOD,QAJP,SAAgC5J,GAC9B,QAAI,IAAWA,EAAG,MAAM,IAAI8J,eAAe,6DAC3C,OAAO9J,CACT,EACyC6J,EAAOD,QAAQG,YAAa,EAAMF,EAAOD,QAAiB,QAAIC,EAAOD,2BCJ9G,SAASI,EAAmBC,EAAG/J,EAAGF,EAAGC,EAAGK,EAAG4J,EAAGC,GAC5C,IACE,IAAI9C,EAAI4C,EAAEC,GAAGC,GACXC,EAAI/C,EAAEvD,KACV,CAAE,MAAOmG,GACP,YAAYjK,EAAEiK,EAChB,CACA5C,EAAEgD,KAAOnK,EAAEkK,GAAKE,QAAQC,QAAQH,GAAG1H,KAAKzC,EAAGK,EAC7C,CAiBAuJ,EAAOD,QAhBP,SAA2BK,GACzB,OAAO,WACL,IAAI/J,EAAIgE,KACNlE,EAAIa,UACN,OAAO,IAAIyJ,SAAQ,SAAUrK,EAAGK,GAC9B,IAAI4J,EAAID,EAAEtJ,MAAMT,EAAGF,GACnB,SAASwK,EAAMP,GACbD,EAAmBE,EAAGjK,EAAGK,EAAGkK,EAAOC,EAAQ,OAAQR,EACrD,CACA,SAASQ,EAAOR,GACdD,EAAmBE,EAAGjK,EAAGK,EAAGkK,EAAOC,EAAQ,QAASR,EACtD,CACAO,OAAM,EACR,GACF,CACF,EACoCX,EAAOD,QAAQG,YAAa,EAAMF,EAAOD,QAAiB,QAAIC,EAAOD,2BCtBzGC,EAAOD,QAHP,SAAyBM,EAAGD,GAC1B,KAAMC,aAAaD,GAAI,MAAM,IAAIS,UAAU,oCAC7C,EACkCb,EAAOD,QAAQG,YAAa,EAAMF,EAAOD,QAAiB,QAAIC,EAAOD,+BCHvG,IAAIe,EAAgB,EAAQ,OAC5B,SAASC,EAAkB5K,EAAGC,GAC5B,IAAK,IAAIC,EAAI,EAAGA,EAAID,EAAEa,OAAQZ,IAAK,CACjC,IAAII,EAAIL,EAAEC,GACVI,EAAEG,WAAaH,EAAEG,aAAc,EAAIH,EAAEuK,cAAe,EAAI,UAAWvK,IAAMA,EAAEwK,UAAW,GAAK3K,OAAOgB,eAAenB,EAAG2K,EAAcrK,EAAEuD,KAAMvD,EAC5I,CACF,CAMAuJ,EAAOD,QALP,SAAsB5J,EAAGC,EAAGC,GAC1B,OAAOD,GAAK2K,EAAkB5K,EAAE4B,UAAW3B,GAAIC,GAAK0K,EAAkB5K,EAAGE,GAAIC,OAAOgB,eAAenB,EAAG,YAAa,CACjH8K,UAAU,IACR9K,CACN,EAC+B6J,EAAOD,QAAQG,YAAa,EAAMF,EAAOD,QAAiB,QAAIC,EAAOD,+BCZpG,IAAIe,EAAgB,EAAQ,OAS5Bd,EAAOD,QARP,SAAyB5J,EAAGC,EAAGC,GAC7B,OAAQD,EAAI0K,EAAc1K,MAAOD,EAAIG,OAAOgB,eAAenB,EAAGC,EAAG,CAC/D6D,MAAO5D,EACPO,YAAY,EACZoK,cAAc,EACdC,UAAU,IACP9K,EAAEC,GAAKC,EAAGF,CACjB,EACkC6J,EAAOD,QAAQG,YAAa,EAAMF,EAAOD,QAAiB,QAAIC,EAAOD,2BCTvG,SAASmB,EAAgB7K,GACvB,OAAQ2J,EAAOD,QAAUmB,EAAkB5K,OAAO6K,eAAiB7K,OAAO8K,eAAelI,OAAS,SAAU7C,GAC1G,OAAOA,EAAEgL,WAAa/K,OAAO8K,eAAe/K,EAC9C,EAAG2J,EAAOD,QAAQG,YAAa,EAAMF,EAAOD,QAAiB,QAAIC,EAAOD,QAAUmB,EAAgB7K,EACpG,CACA2J,EAAOD,QAAUmB,EAAiBlB,EAAOD,QAAQG,YAAa,EAAMF,EAAOD,QAAiB,QAAIC,EAAOD,+BCLvG,IAAIoB,EAAiB,EAAQ,MAa7BnB,EAAOD,QAZP,SAAmB1J,EAAGF,GACpB,GAAI,mBAAqBA,GAAK,OAASA,EAAG,MAAM,IAAI0K,UAAU,sDAC9DxK,EAAE0B,UAAYzB,OAAOgL,OAAOnL,GAAKA,EAAE4B,UAAW,CAC5CF,YAAa,CACXoC,MAAO5D,EACP4K,UAAU,EACVD,cAAc,KAEd1K,OAAOgB,eAAejB,EAAG,YAAa,CACxC4K,UAAU,IACR9K,GAAKgL,EAAe9K,EAAGF,EAC7B,EAC4B6J,EAAOD,QAAQG,YAAa,EAAMF,EAAOD,QAAiB,QAAIC,EAAOD,2BCRjGC,EAAOD,QALP,SAAgC5J,GAC9B,OAAOA,GAAKA,EAAE+J,WAAa/J,EAAI,CAC7B,QAAWA,EAEf,EACyC6J,EAAOD,QAAQG,YAAa,EAAMF,EAAOD,QAAiB,QAAIC,EAAOD,+BCL9G,IAAIwB,EAAU,iBACVC,EAAwB,EAAQ,OAMpCxB,EAAOD,QALP,SAAoC1J,EAAGF,GACrC,GAAIA,IAAM,UAAYoL,EAAQpL,IAAM,mBAAqBA,GAAI,OAAOA,EACpE,QAAI,IAAWA,EAAG,MAAM,IAAI0K,UAAU,4DACtC,OAAOW,EAAsBnL,EAC/B,EAC6C2J,EAAOD,QAAQG,YAAa,EAAMF,EAAOD,QAAiB,QAAIC,EAAOD,+BCPlH,IAAIwB,EAAU,iBACd,SAASE,IACP,aACAzB,EAAOD,QAAU0B,EAAsB,WACrC,OAAOtL,CACT,EAAG6J,EAAOD,QAAQG,YAAa,EAAMF,EAAOD,QAAiB,QAAIC,EAAOD,QACxE,IAAI1J,EACFF,EAAI,CAAC,EACLC,EAAIE,OAAOyB,UACXqI,EAAIhK,EAAEsL,eACNjL,EAAIH,OAAOgB,gBAAkB,SAAUjB,EAAGF,EAAGC,GAC3CC,EAAEF,GAAKC,EAAE6D,KACX,EACAuD,EAAI,mBAAqBmE,OAASA,OAAS,CAAC,EAC5CtB,EAAI7C,EAAEoE,UAAY,aAClBtB,EAAI9C,EAAEqE,eAAiB,kBACvBtB,EAAI/C,EAAEsE,aAAe,gBACvB,SAASC,EAAO1L,EAAGF,EAAGC,GACpB,OAAOE,OAAOgB,eAAejB,EAAGF,EAAG,CACjC8D,MAAO7D,EACPQ,YAAY,EACZoK,cAAc,EACdC,UAAU,IACR5K,EAAEF,EACR,CACA,IACE4L,EAAO,CAAC,EAAG,GACb,CAAE,MAAO1L,GACP0L,EAAS,SAAgB1L,EAAGF,EAAGC,GAC7B,OAAOC,EAAEF,GAAKC,CAChB,CACF,CACA,SAASsH,EAAKrH,EAAGF,EAAGC,EAAGgK,GACrB,IAAI5C,EAAIrH,GAAKA,EAAE4B,qBAAqBiK,EAAY7L,EAAI6L,EAClD3B,EAAI/J,OAAOgL,OAAO9D,EAAEzF,WACpBuI,EAAI,IAAI2B,EAAQ7B,GAAK,IACvB,OAAO3J,EAAE4J,EAAG,UAAW,CACrBpG,MAAOiI,EAAiB7L,EAAGD,EAAGkK,KAC5BD,CACN,CACA,SAAS8B,EAAS9L,EAAGF,EAAGC,GACtB,IACE,MAAO,CACLgI,KAAM,SACNgE,IAAK/L,EAAE4B,KAAK9B,EAAGC,GAEnB,CAAE,MAAOC,GACP,MAAO,CACL+H,KAAM,QACNgE,IAAK/L,EAET,CACF,CACAF,EAAEuH,KAAOA,EACT,IAAI2E,EAAI,iBACNC,EAAI,iBACJC,EAAI,YACJC,EAAI,YACJC,EAAI,CAAC,EACP,SAAST,IAAa,CACtB,SAASU,IAAqB,CAC9B,SAASC,IAA8B,CACvC,IAAIC,EAAI,CAAC,EACTb,EAAOa,EAAGvC,GAAG,WACX,OAAOhG,IACT,IACA,IAAIwI,EAAIvM,OAAO8K,eACb0B,EAAID,GAAKA,EAAEA,EAAEzJ,EAAO,MACtB0J,GAAKA,IAAM1M,GAAKgK,EAAEnI,KAAK6K,EAAGzC,KAAOuC,EAAIE,GACrC,IAAIC,EAAIJ,EAA2B5K,UAAYiK,EAAUjK,UAAYzB,OAAOgL,OAAOsB,GACnF,SAASI,EAAsB3M,GAC7B,CAAC,OAAQ,QAAS,UAAUa,SAAQ,SAAUf,GAC5C4L,EAAO1L,EAAGF,GAAG,SAAUE,GACrB,OAAOgE,KAAK4I,QAAQ9M,EAAGE,EACzB,GACF,GACF,CACA,SAAS6M,EAAc7M,EAAGF,GACxB,SAASgN,EAAO/M,EAAGK,EAAG+G,EAAG6C,GACvB,IAAIC,EAAI6B,EAAS9L,EAAED,GAAIC,EAAGI,GAC1B,GAAI,UAAY6J,EAAElC,KAAM,CACtB,IAAImC,EAAID,EAAE8B,IACRC,EAAI9B,EAAEtG,MACR,OAAOoI,GAAK,UAAYd,EAAQc,IAAMjC,EAAEnI,KAAKoK,EAAG,WAAalM,EAAEuK,QAAQ2B,EAAEe,SAASvK,MAAK,SAAUxC,GAC/F8M,EAAO,OAAQ9M,EAAGmH,EAAG6C,EACvB,IAAG,SAAUhK,GACX8M,EAAO,QAAS9M,EAAGmH,EAAG6C,EACxB,IAAKlK,EAAEuK,QAAQ2B,GAAGxJ,MAAK,SAAUxC,GAC/BkK,EAAEtG,MAAQ5D,EAAGmH,EAAE+C,EACjB,IAAG,SAAUlK,GACX,OAAO8M,EAAO,QAAS9M,EAAGmH,EAAG6C,EAC/B,GACF,CACAA,EAAEC,EAAE8B,IACN,CACA,IAAIhM,EACJK,EAAE4D,KAAM,UAAW,CACjBJ,MAAO,SAAe5D,EAAG+J,GACvB,SAASiD,IACP,OAAO,IAAIlN,GAAE,SAAUA,EAAGC,GACxB+M,EAAO9M,EAAG+J,EAAGjK,EAAGC,EAClB,GACF,CACA,OAAOA,EAAIA,EAAIA,EAAEyC,KAAKwK,EAA4BA,GAA8BA,GAClF,GAEJ,CACA,SAASnB,EAAiB/L,EAAGC,EAAGgK,GAC9B,IAAI3J,EAAI4L,EACR,OAAO,SAAU7E,EAAG6C,GAClB,GAAI5J,IAAM8L,EAAG,MAAMe,MAAM,gCACzB,GAAI7M,IAAM+L,EAAG,CACX,GAAI,UAAYhF,EAAG,MAAM6C,EACzB,MAAO,CACLpG,MAAO5D,EACPmK,MAAM,EAEV,CACA,IAAKJ,EAAEmD,OAAS/F,EAAG4C,EAAEgC,IAAM/B,IAAK,CAC9B,IAAIC,EAAIF,EAAEoD,SACV,GAAIlD,EAAG,CACL,IAAIC,EAAIkD,EAAoBnD,EAAGF,GAC/B,GAAIG,EAAG,CACL,GAAIA,IAAMkC,EAAG,SACb,OAAOlC,CACT,CACF,CACA,GAAI,SAAWH,EAAEmD,OAAQnD,EAAEsD,KAAOtD,EAAEuD,MAAQvD,EAAEgC,SAAS,GAAI,UAAYhC,EAAEmD,OAAQ,CAC/E,GAAI9M,IAAM4L,EAAG,MAAM5L,EAAI+L,EAAGpC,EAAEgC,IAC5BhC,EAAEwD,kBAAkBxD,EAAEgC,IACxB,KAAO,WAAahC,EAAEmD,QAAUnD,EAAEyD,OAAO,SAAUzD,EAAEgC,KACrD3L,EAAI8L,EACJ,IAAIK,EAAIT,EAAShM,EAAGC,EAAGgK,GACvB,GAAI,WAAawC,EAAExE,KAAM,CACvB,GAAI3H,EAAI2J,EAAEI,KAAOgC,EAAIF,EAAGM,EAAER,MAAQK,EAAG,SACrC,MAAO,CACLxI,MAAO2I,EAAER,IACT5B,KAAMJ,EAAEI,KAEZ,CACA,UAAYoC,EAAExE,OAAS3H,EAAI+L,EAAGpC,EAAEmD,OAAS,QAASnD,EAAEgC,IAAMQ,EAAER,IAC9D,CACF,CACF,CACA,SAASqB,EAAoBtN,EAAGC,GAC9B,IAAIgK,EAAIhK,EAAEmN,OACR9M,EAAIN,EAAEyL,SAASxB,GACjB,GAAI3J,IAAMJ,EAAG,OAAOD,EAAEoN,SAAW,KAAM,UAAYpD,GAAKjK,EAAEyL,SAAiB,SAAMxL,EAAEmN,OAAS,SAAUnN,EAAEgM,IAAM/L,EAAGoN,EAAoBtN,EAAGC,GAAI,UAAYA,EAAEmN,SAAW,WAAanD,IAAMhK,EAAEmN,OAAS,QAASnN,EAAEgM,IAAM,IAAIvB,UAAU,oCAAsCT,EAAI,aAAcqC,EAC1R,IAAIjF,EAAI2E,EAAS1L,EAAGN,EAAEyL,SAAUxL,EAAEgM,KAClC,GAAI,UAAY5E,EAAEY,KAAM,OAAOhI,EAAEmN,OAAS,QAASnN,EAAEgM,IAAM5E,EAAE4E,IAAKhM,EAAEoN,SAAW,KAAMf,EACrF,IAAIpC,EAAI7C,EAAE4E,IACV,OAAO/B,EAAIA,EAAEG,MAAQpK,EAAED,EAAE2N,YAAczD,EAAEpG,MAAO7D,EAAEyH,KAAO1H,EAAE4N,QAAS,WAAa3N,EAAEmN,SAAWnN,EAAEmN,OAAS,OAAQnN,EAAEgM,IAAM/L,GAAID,EAAEoN,SAAW,KAAMf,GAAKpC,GAAKjK,EAAEmN,OAAS,QAASnN,EAAEgM,IAAM,IAAIvB,UAAU,oCAAqCzK,EAAEoN,SAAW,KAAMf,EAC9P,CACA,SAASuB,EAAa3N,GACpB,IAAIF,EAAI,CACN8N,OAAQ5N,EAAE,IAEZ,KAAKA,IAAMF,EAAE+N,SAAW7N,EAAE,IAAK,KAAKA,IAAMF,EAAEgO,WAAa9N,EAAE,GAAIF,EAAEiO,SAAW/N,EAAE,IAAKgE,KAAKgK,WAAWxN,KAAKV,EAC1G,CACA,SAASmO,EAAcjO,GACrB,IAAIF,EAAIE,EAAEkO,YAAc,CAAC,EACzBpO,EAAEiI,KAAO,gBAAiBjI,EAAEiM,IAAK/L,EAAEkO,WAAapO,CAClD,CACA,SAAS8L,EAAQ5L,GACfgE,KAAKgK,WAAa,CAAC,CACjBJ,OAAQ,SACN5N,EAAEa,QAAQ8M,EAAc3J,MAAOA,KAAKmK,OAAM,EAChD,CACA,SAASpL,EAAOjD,GACd,GAAIA,GAAK,KAAOA,EAAG,CACjB,IAAIC,EAAID,EAAEkK,GACV,GAAIjK,EAAG,OAAOA,EAAE6B,KAAK9B,GACrB,GAAI,mBAAqBA,EAAE0H,KAAM,OAAO1H,EACxC,IAAKsO,MAAMtO,EAAEc,QAAS,CACpB,IAAIR,GAAK,EACP+G,EAAI,SAASK,IACX,OAASpH,EAAIN,EAAEc,QAAS,GAAImJ,EAAEnI,KAAK9B,EAAGM,GAAI,OAAOoH,EAAK5D,MAAQ9D,EAAEM,GAAIoH,EAAK2C,MAAO,EAAI3C,EACpF,OAAOA,EAAK5D,MAAQ5D,EAAGwH,EAAK2C,MAAO,EAAI3C,CACzC,EACF,OAAOL,EAAEK,KAAOL,CAClB,CACF,CACA,MAAM,IAAIqD,UAAUU,EAAQpL,GAAK,mBACnC,CACA,OAAOuM,EAAkB3K,UAAY4K,EAA4BlM,EAAEsM,EAAG,cAAe,CACnF9I,MAAO0I,EACP3B,cAAc,IACZvK,EAAEkM,EAA4B,cAAe,CAC/C1I,MAAOyI,EACP1B,cAAc,IACZ0B,EAAkBgC,YAAc3C,EAAOY,EAA4BpC,EAAG,qBAAsBpK,EAAEwO,oBAAsB,SAAUtO,GAChI,IAAIF,EAAI,mBAAqBE,GAAKA,EAAEwB,YACpC,QAAS1B,IAAMA,IAAMuM,GAAqB,uBAAyBvM,EAAEuO,aAAevO,EAAEqI,MACxF,EAAGrI,EAAEkH,KAAO,SAAUhH,GACpB,OAAOC,OAAO6K,eAAiB7K,OAAO6K,eAAe9K,EAAGsM,IAA+BtM,EAAEgL,UAAYsB,EAA4BZ,EAAO1L,EAAGkK,EAAG,sBAAuBlK,EAAE0B,UAAYzB,OAAOgL,OAAOyB,GAAI1M,CACvM,EAAGF,EAAEyO,MAAQ,SAAUvO,GACrB,MAAO,CACL+M,QAAS/M,EAEb,EAAG2M,EAAsBE,EAAcnL,WAAYgK,EAAOmB,EAAcnL,UAAWuI,GAAG,WACpF,OAAOjG,IACT,IAAIlE,EAAE+M,cAAgBA,EAAe/M,EAAE0O,MAAQ,SAAUxO,EAAGD,EAAGgK,EAAG3J,EAAG+G,QACnE,IAAWA,IAAMA,EAAIiD,SACrB,IAAIJ,EAAI,IAAI6C,EAAcxF,EAAKrH,EAAGD,EAAGgK,EAAG3J,GAAI+G,GAC5C,OAAOrH,EAAEwO,oBAAoBvO,GAAKiK,EAAIA,EAAExC,OAAOhF,MAAK,SAAUxC,GAC5D,OAAOA,EAAEmK,KAAOnK,EAAE4D,MAAQoG,EAAExC,MAC9B,GACF,EAAGmF,EAAsBD,GAAIhB,EAAOgB,EAAGxC,EAAG,aAAcwB,EAAOgB,EAAG1C,GAAG,WACnE,OAAOhG,IACT,IAAI0H,EAAOgB,EAAG,YAAY,WACxB,MAAO,oBACT,IAAI5M,EAAEI,KAAO,SAAUF,GACrB,IAAIF,EAAIG,OAAOD,GACbD,EAAI,GACN,IAAK,IAAIgK,KAAKjK,EAAGC,EAAES,KAAKuJ,GACxB,OAAOhK,EAAE0O,UAAW,SAASjH,IAC3B,KAAOzH,EAAEa,QAAS,CAChB,IAAIZ,EAAID,EAAE2O,MACV,GAAI1O,KAAKF,EAAG,OAAO0H,EAAK5D,MAAQ5D,EAAGwH,EAAK2C,MAAO,EAAI3C,CACrD,CACA,OAAOA,EAAK2C,MAAO,EAAI3C,CACzB,CACF,EAAG1H,EAAEiD,OAASA,EAAQ6I,EAAQlK,UAAY,CACxCF,YAAaoK,EACbuC,MAAO,SAAerO,GACpB,GAAIkE,KAAKuD,KAAO,EAAGvD,KAAKwD,KAAO,EAAGxD,KAAKqJ,KAAOrJ,KAAKsJ,MAAQtN,EAAGgE,KAAKmG,MAAO,EAAInG,KAAKmJ,SAAW,KAAMnJ,KAAKkJ,OAAS,OAAQlJ,KAAK+H,IAAM/L,EAAGgE,KAAKgK,WAAWnN,QAAQoN,IAAiBnO,EAAG,IAAK,IAAIC,KAAKiE,KAAM,MAAQjE,EAAE4O,OAAO,IAAM5E,EAAEnI,KAAKoC,KAAMjE,KAAOqO,OAAOrO,EAAE6O,MAAM,MAAQ5K,KAAKjE,GAAKC,EACtR,EACAsI,KAAM,WACJtE,KAAKmG,MAAO,EACZ,IAAInK,EAAIgE,KAAKgK,WAAW,GAAGE,WAC3B,GAAI,UAAYlO,EAAE+H,KAAM,MAAM/H,EAAE+L,IAChC,OAAO/H,KAAK6K,IACd,EACAtB,kBAAmB,SAA2BzN,GAC5C,GAAIkE,KAAKmG,KAAM,MAAMrK,EACrB,IAAIC,EAAIiE,KACR,SAAS8K,EAAO/E,EAAG3J,GACjB,OAAO4J,EAAEjC,KAAO,QAASiC,EAAE+B,IAAMjM,EAAGC,EAAEyH,KAAOuC,EAAG3J,IAAML,EAAEmN,OAAS,OAAQnN,EAAEgM,IAAM/L,KAAMI,CACzF,CACA,IAAK,IAAIA,EAAI4D,KAAKgK,WAAWpN,OAAS,EAAGR,GAAK,IAAKA,EAAG,CACpD,IAAI+G,EAAInD,KAAKgK,WAAW5N,GACtB4J,EAAI7C,EAAE+G,WACR,GAAI,SAAW/G,EAAEyG,OAAQ,OAAOkB,EAAO,OACvC,GAAI3H,EAAEyG,QAAU5J,KAAKuD,KAAM,CACzB,IAAI0C,EAAIF,EAAEnI,KAAKuF,EAAG,YAChB+C,EAAIH,EAAEnI,KAAKuF,EAAG,cAChB,GAAI8C,GAAKC,EAAG,CACV,GAAIlG,KAAKuD,KAAOJ,EAAE0G,SAAU,OAAOiB,EAAO3H,EAAE0G,UAAU,GACtD,GAAI7J,KAAKuD,KAAOJ,EAAE2G,WAAY,OAAOgB,EAAO3H,EAAE2G,WAChD,MAAO,GAAI7D,GACT,GAAIjG,KAAKuD,KAAOJ,EAAE0G,SAAU,OAAOiB,EAAO3H,EAAE0G,UAAU,OACjD,CACL,IAAK3D,EAAG,MAAM+C,MAAM,0CACpB,GAAIjJ,KAAKuD,KAAOJ,EAAE2G,WAAY,OAAOgB,EAAO3H,EAAE2G,WAChD,CACF,CACF,CACF,EACAN,OAAQ,SAAgBxN,EAAGF,GACzB,IAAK,IAAIC,EAAIiE,KAAKgK,WAAWpN,OAAS,EAAGb,GAAK,IAAKA,EAAG,CACpD,IAAIK,EAAI4D,KAAKgK,WAAWjO,GACxB,GAAIK,EAAEwN,QAAU5J,KAAKuD,MAAQwC,EAAEnI,KAAKxB,EAAG,eAAiB4D,KAAKuD,KAAOnH,EAAE0N,WAAY,CAChF,IAAI3G,EAAI/G,EACR,KACF,CACF,CACA+G,IAAM,UAAYnH,GAAK,aAAeA,IAAMmH,EAAEyG,QAAU9N,GAAKA,GAAKqH,EAAE2G,aAAe3G,EAAI,MACvF,IAAI6C,EAAI7C,EAAIA,EAAE+G,WAAa,CAAC,EAC5B,OAAOlE,EAAEjC,KAAO/H,EAAGgK,EAAE+B,IAAMjM,EAAGqH,GAAKnD,KAAKkJ,OAAS,OAAQlJ,KAAKwD,KAAOL,EAAE2G,WAAY1B,GAAKpI,KAAK+K,SAAS/E,EACxG,EACA+E,SAAU,SAAkB/O,EAAGF,GAC7B,GAAI,UAAYE,EAAE+H,KAAM,MAAM/H,EAAE+L,IAChC,MAAO,UAAY/L,EAAE+H,MAAQ,aAAe/H,EAAE+H,KAAO/D,KAAKwD,KAAOxH,EAAE+L,IAAM,WAAa/L,EAAE+H,MAAQ/D,KAAK6K,KAAO7K,KAAK+H,IAAM/L,EAAE+L,IAAK/H,KAAKkJ,OAAS,SAAUlJ,KAAKwD,KAAO,OAAS,WAAaxH,EAAE+H,MAAQjI,IAAMkE,KAAKwD,KAAO1H,GAAIsM,CAC1N,EACA4C,OAAQ,SAAgBhP,GACtB,IAAK,IAAIF,EAAIkE,KAAKgK,WAAWpN,OAAS,EAAGd,GAAK,IAAKA,EAAG,CACpD,IAAIC,EAAIiE,KAAKgK,WAAWlO,GACxB,GAAIC,EAAE+N,aAAe9N,EAAG,OAAOgE,KAAK+K,SAAShP,EAAEmO,WAAYnO,EAAEgO,UAAWE,EAAclO,GAAIqM,CAC5F,CACF,EACA,MAAS,SAAgBpM,GACvB,IAAK,IAAIF,EAAIkE,KAAKgK,WAAWpN,OAAS,EAAGd,GAAK,IAAKA,EAAG,CACpD,IAAIC,EAAIiE,KAAKgK,WAAWlO,GACxB,GAAIC,EAAE6N,SAAW5N,EAAG,CAClB,IAAI+J,EAAIhK,EAAEmO,WACV,GAAI,UAAYnE,EAAEhC,KAAM,CACtB,IAAI3H,EAAI2J,EAAEgC,IACVkC,EAAclO,EAChB,CACA,OAAOK,CACT,CACF,CACA,MAAM6M,MAAM,wBACd,EACAgC,cAAe,SAAuBnP,EAAGC,EAAGgK,GAC1C,OAAO/F,KAAKmJ,SAAW,CACrB5B,SAAUxI,EAAOjD,GACjB2N,WAAY1N,EACZ2N,QAAS3D,GACR,SAAW/F,KAAKkJ,SAAWlJ,KAAK+H,IAAM/L,GAAIoM,CAC/C,GACCtM,CACL,CACA6J,EAAOD,QAAU0B,EAAqBzB,EAAOD,QAAQG,YAAa,EAAMF,EAAOD,QAAiB,QAAIC,EAAOD,0BC/S3G,SAASwF,EAAgBlP,EAAGF,GAC1B,OAAQ6J,EAAOD,QAAUwF,EAAkBjP,OAAO6K,eAAiB7K,OAAO6K,eAAejI,OAAS,SAAU7C,EAAGF,GAC7G,OAAOE,EAAEgL,UAAYlL,EAAGE,CAC1B,EAAG2J,EAAOD,QAAQG,YAAa,EAAMF,EAAOD,QAAiB,QAAIC,EAAOD,QAAUwF,EAAgBlP,EAAGF,EACvG,CACA6J,EAAOD,QAAUwF,EAAiBvF,EAAOD,QAAQG,YAAa,EAAMF,EAAOD,QAAiB,QAAIC,EAAOD,+BCLvG,IAAIwB,EAAU,iBAWdvB,EAAOD,QAVP,SAAqB1J,EAAGD,GACtB,GAAI,UAAYmL,EAAQlL,KAAOA,EAAG,OAAOA,EACzC,IAAIF,EAAIE,EAAEsL,OAAO6D,aACjB,QAAI,IAAWrP,EAAG,CAChB,IAAIqH,EAAIrH,EAAE8B,KAAK5B,EAAGD,GAAK,WACvB,GAAI,UAAYmL,EAAQ/D,GAAI,OAAOA,EACnC,MAAM,IAAIqD,UAAU,+CACtB,CACA,OAAQ,WAAazK,EAAIqP,OAASC,QAAQrP,EAC5C,EAC8B2J,EAAOD,QAAQG,YAAa,EAAMF,EAAOD,QAAiB,QAAIC,EAAOD,+BCXnG,IAAIwB,EAAU,iBACViE,EAAc,EAAQ,OAK1BxF,EAAOD,QAJP,SAAuB1J,GACrB,IAAImH,EAAIgI,EAAYnP,EAAG,UACvB,MAAO,UAAYkL,EAAQ/D,GAAKA,EAAIA,EAAI,EAC1C,EACgCwC,EAAOD,QAAQG,YAAa,EAAMF,EAAOD,QAAiB,QAAIC,EAAOD,2BCNrG,SAASwB,EAAQ9K,GAGf,OAAQuJ,EAAOD,QAAUwB,EAAU,mBAAqBI,QAAU,iBAAmBA,OAAOC,SAAW,SAAUnL,GAC/G,cAAcA,CAChB,EAAI,SAAUA,GACZ,OAAOA,GAAK,mBAAqBkL,QAAUlL,EAAEoB,cAAgB8J,QAAUlL,IAAMkL,OAAO5J,UAAY,gBAAkBtB,CACpH,EAAGuJ,EAAOD,QAAQG,YAAa,EAAMF,EAAOD,QAAiB,QAAIC,EAAOD,QAAUwB,EAAQ9K,EAC5F,CACAuJ,EAAOD,QAAUwB,EAASvB,EAAOD,QAAQG,YAAa,EAAMF,EAAOD,QAAiB,QAAIC,EAAOD,+BCP/F,IAAI4F,EAAU,EAAQ,MAAR,GACd3F,EAAOD,QAAU4F,EAGjB,IACEC,mBAAqBD,CACvB,CAAE,MAAOE,GACmB,kBAAfC,WACTA,WAAWF,mBAAqBD,EAEhCI,SAAS,IAAK,yBAAdA,CAAwCJ,EAE5C","sources":["../node_modules/@iobroker/vis-2-widgets-react-dev/visRxWidget.jsx","../node_modules/@babel/runtime/helpers/assertThisInitialized.js","../node_modules/@babel/runtime/helpers/asyncToGenerator.js","../node_modules/@babel/runtime/helpers/classCallCheck.js","../node_modules/@babel/runtime/helpers/createClass.js","../node_modules/@babel/runtime/helpers/defineProperty.js","../node_modules/@babel/runtime/helpers/getPrototypeOf.js","../node_modules/@babel/runtime/helpers/inherits.js","../node_modules/@babel/runtime/helpers/interopRequireDefault.js","../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js","../node_modules/@babel/runtime/helpers/regeneratorRuntime.js","../node_modules/@babel/runtime/helpers/setPrototypeOf.js","../node_modules/@babel/runtime/helpers/toPrimitive.js","../node_modules/@babel/runtime/helpers/toPropertyKey.js","../node_modules/@babel/runtime/helpers/typeof.js","../node_modules/@babel/runtime/regenerator/index.js"],"sourcesContent":["import React from 'react';\n\nimport {\n Card,\n CardContent,\n} from '@mui/material';\n\nimport { I18n } from '@iobroker/adapter-react-v5';\n\nconst POSSIBLE_MUI_STYLES = [\n 'background-color',\n 'border',\n 'background',\n 'background-image',\n 'background-position',\n 'background-repeat',\n 'background-size',\n 'background-clip',\n 'background-origin',\n 'color',\n 'box-sizing',\n 'border-width',\n 'border-style',\n 'border-color',\n 'border-radius',\n 'box-shadow',\n 'text-align',\n 'text-shadow',\n 'font-family',\n 'font-size',\n 'font-weight',\n 'line-height',\n 'font-style',\n 'font-variant',\n 'letter-spacing',\n 'word-spacing',\n];\n\nclass visRxWidget extends React.Component {\n static POSSIBLE_MUI_STYLES = POSSIBLE_MUI_STYLES;\n\n constructor(props) {\n super(props);\n this.onStateChanged = this.onStateChanged.bind(this);\n this.state = {\n ...props,\n values: {},\n data: JSON.parse(JSON.stringify(props.data || {})),\n style: JSON.parse(JSON.stringify(props.style || {})),\n rxData: JSON.parse(JSON.stringify(props.data || {})),\n rxStyle: JSON.parse(JSON.stringify(props.style || {})),\n };\n this.linkContext = {\n IDs: [],\n };\n }\n\n static getI18nPrefix() {\n return '';\n }\n\n static getText(text) {\n if (text && typeof text === 'object') {\n return text[I18n.getLanguage()] || text.en;\n }\n return text;\n }\n\n static t(key, ...args) {\n return I18n.t(`${this.getI18nPrefix()}${key}`, ...args);\n }\n\n static getLanguage() {\n return I18n.getLanguage();\n }\n\n // eslint-disable-next-line class-methods-use-this\n renderWidgetBody(props) {\n return null;\n }\n\n // eslint-disable-next-line class-methods-use-this\n // @ts-ignore\n onStateUpdated(id, state) {\n\n }\n\n formatValue(value, round) {\n if (typeof value === 'number') {\n if (round === 0) {\n value = Math.round(value);\n } else {\n value = Math.round(value * 100) / 100;\n }\n if (this.props.context.systemConfig?.common) {\n if (this.props.context.systemConfig.common.isFloatComma) {\n value = value.toString().replace('.', ',');\n }\n }\n }\n\n return value === undefined || value === null ? '' : value.toString();\n }\n\n wrapContent(content, addToHeader, cardContentStyle, headerStyle, onCardClick, components) {\n const MyCard = components?.Card || Card;\n const MyCardContent = components?.CardContent || CardContent;\n\n const style = {\n width: 'calc(100% - 8px)',\n height: 'calc(100% - 8px)',\n margin: 4,\n ...this.props.customSettings?.viewStyle?.visCard,\n };\n // apply style from the element\n Object.keys(this.state.rxStyle).forEach(attr => {\n const value = this.state.rxStyle[attr];\n if (value !== null &&\n value !== undefined &&\n POSSIBLE_MUI_STYLES.includes(attr)\n ) {\n attr = attr.replace(\n /(-\\w)/g,\n text => text[1].toUpperCase(),\n );\n style[attr] = value;\n }\n });\n\n this.wrappedContent = true;\n\n return \n \n {this.state.rxData.widgetTitle ? \n \n {this.state.rxData.widgetTitle}\n \n {addToHeader || null}\n : (addToHeader || null)}\n {content}\n \n ;\n }\n\n getIdSubscribeState = (id, cb) => {\n return this.props.context.socket.getState(id)\n .then(result => {\n cb(id, result);\n return this.props.context.socket.subscribeState(id, (resultId, result) => cb(id, result));\n });\n };\n\n onStateChanged(id, state) {\n if (!state) {\n return;\n }\n const values = JSON.parse(JSON.stringify(this.state.values));\n Object.keys(state).forEach(key =>\n values[`${id}.${key}`] = state[key]);\n\n this.onStateUpdated(id, state);\n\n this.setState({ values });\n }\n\n async componentDidMount() {\n this.getWidgetInfo()?.visAttrs?.forEach(group =>\n group?.fields?.forEach(field => {\n if (field?.type === 'id') {\n Object.keys(this.state.data).forEach(dataKey => {\n // do not use here \\d instead of [0-9] as it will be wrong compiled\n if (dataKey.match(new RegExp(`^${field.name}[0-9]*$`))) {\n const oid = this.state.data[dataKey];\n if (!this.linkContext.IDs.includes(oid)) {\n this.linkContext.IDs.push(oid);\n }\n }\n });\n }\n }));\n\n for (let i = 0; i < this.linkContext.IDs.length; i++) {\n await this.getIdSubscribeState(this.linkContext.IDs[i], this.onStateChanged);\n }\n }\n\n componentWillUnmount() {\n this.linkContext.IDs.forEach(oid =>\n this.props.context.socket.unsubscribeState(oid, this.onStateChanged));\n }\n\n getWidgetView(view, props) {\n return
\n DEMO VIEW\n
;\n }\n\n getWidgetInWidget(view, wid, options) {\n return null;\n }\n\n render() {\n return
\n {this.renderWidgetBody({\n widget: {\n\n },\n })}\n
;\n }\n}\n\nexport default visRxWidget;\n","function _assertThisInitialized(e) {\n if (void 0 === e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return e;\n}\nmodule.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function asyncGeneratorStep(n, t, e, r, o, a, c) {\n try {\n var i = n[a](c),\n u = i.value;\n } catch (n) {\n return void e(n);\n }\n i.done ? t(u) : Promise.resolve(u).then(r, o);\n}\nfunction _asyncToGenerator(n) {\n return function () {\n var t = this,\n e = arguments;\n return new Promise(function (r, o) {\n var a = n.apply(t, e);\n function _next(n) {\n asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n);\n }\n function _throw(n) {\n asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n);\n }\n _next(void 0);\n });\n };\n}\nmodule.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _classCallCheck(a, n) {\n if (!(a instanceof n)) throw new TypeError(\"Cannot call a class as a function\");\n}\nmodule.exports = _classCallCheck, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var toPropertyKey = require(\"./toPropertyKey.js\");\nfunction _defineProperties(e, r) {\n for (var t = 0; t < r.length; t++) {\n var o = r[t];\n o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);\n }\n}\nfunction _createClass(e, r, t) {\n return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, \"prototype\", {\n writable: !1\n }), e;\n}\nmodule.exports = _createClass, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var toPropertyKey = require(\"./toPropertyKey.js\");\nfunction _defineProperty(e, r, t) {\n return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {\n value: t,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }) : e[r] = t, e;\n}\nmodule.exports = _defineProperty, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _getPrototypeOf(t) {\n return (module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {\n return t.__proto__ || Object.getPrototypeOf(t);\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports), _getPrototypeOf(t);\n}\nmodule.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var setPrototypeOf = require(\"./setPrototypeOf.js\");\nfunction _inherits(t, e) {\n if (\"function\" != typeof e && null !== e) throw new TypeError(\"Super expression must either be null or a function\");\n t.prototype = Object.create(e && e.prototype, {\n constructor: {\n value: t,\n writable: !0,\n configurable: !0\n }\n }), Object.defineProperty(t, \"prototype\", {\n writable: !1\n }), e && setPrototypeOf(t, e);\n}\nmodule.exports = _inherits, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _interopRequireDefault(e) {\n return e && e.__esModule ? e : {\n \"default\": e\n };\n}\nmodule.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nvar assertThisInitialized = require(\"./assertThisInitialized.js\");\nfunction _possibleConstructorReturn(t, e) {\n if (e && (\"object\" == _typeof(e) || \"function\" == typeof e)) return e;\n if (void 0 !== e) throw new TypeError(\"Derived constructors may only return object or undefined\");\n return assertThisInitialized(t);\n}\nmodule.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nfunction _regeneratorRuntime() {\n \"use strict\"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */\n module.exports = _regeneratorRuntime = function _regeneratorRuntime() {\n return e;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n var t,\n e = {},\n r = Object.prototype,\n n = r.hasOwnProperty,\n o = Object.defineProperty || function (t, e, r) {\n t[e] = r.value;\n },\n i = \"function\" == typeof Symbol ? Symbol : {},\n a = i.iterator || \"@@iterator\",\n c = i.asyncIterator || \"@@asyncIterator\",\n u = i.toStringTag || \"@@toStringTag\";\n function define(t, e, r) {\n return Object.defineProperty(t, e, {\n value: r,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }), t[e];\n }\n try {\n define({}, \"\");\n } catch (t) {\n define = function define(t, e, r) {\n return t[e] = r;\n };\n }\n function wrap(t, e, r, n) {\n var i = e && e.prototype instanceof Generator ? e : Generator,\n a = Object.create(i.prototype),\n c = new Context(n || []);\n return o(a, \"_invoke\", {\n value: makeInvokeMethod(t, r, c)\n }), a;\n }\n function tryCatch(t, e, r) {\n try {\n return {\n type: \"normal\",\n arg: t.call(e, r)\n };\n } catch (t) {\n return {\n type: \"throw\",\n arg: t\n };\n }\n }\n e.wrap = wrap;\n var h = \"suspendedStart\",\n l = \"suspendedYield\",\n f = \"executing\",\n s = \"completed\",\n y = {};\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n var p = {};\n define(p, a, function () {\n return this;\n });\n var d = Object.getPrototypeOf,\n v = d && d(d(values([])));\n v && v !== r && n.call(v, a) && (p = v);\n var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);\n function defineIteratorMethods(t) {\n [\"next\", \"throw\", \"return\"].forEach(function (e) {\n define(t, e, function (t) {\n return this._invoke(e, t);\n });\n });\n }\n function AsyncIterator(t, e) {\n function invoke(r, o, i, a) {\n var c = tryCatch(t[r], t, o);\n if (\"throw\" !== c.type) {\n var u = c.arg,\n h = u.value;\n return h && \"object\" == _typeof(h) && n.call(h, \"__await\") ? e.resolve(h.__await).then(function (t) {\n invoke(\"next\", t, i, a);\n }, function (t) {\n invoke(\"throw\", t, i, a);\n }) : e.resolve(h).then(function (t) {\n u.value = t, i(u);\n }, function (t) {\n return invoke(\"throw\", t, i, a);\n });\n }\n a(c.arg);\n }\n var r;\n o(this, \"_invoke\", {\n value: function value(t, n) {\n function callInvokeWithMethodAndArg() {\n return new e(function (e, r) {\n invoke(t, n, e, r);\n });\n }\n return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();\n }\n });\n }\n function makeInvokeMethod(e, r, n) {\n var o = h;\n return function (i, a) {\n if (o === f) throw Error(\"Generator is already running\");\n if (o === s) {\n if (\"throw\" === i) throw a;\n return {\n value: t,\n done: !0\n };\n }\n for (n.method = i, n.arg = a;;) {\n var c = n.delegate;\n if (c) {\n var u = maybeInvokeDelegate(c, n);\n if (u) {\n if (u === y) continue;\n return u;\n }\n }\n if (\"next\" === n.method) n.sent = n._sent = n.arg;else if (\"throw\" === n.method) {\n if (o === h) throw o = s, n.arg;\n n.dispatchException(n.arg);\n } else \"return\" === n.method && n.abrupt(\"return\", n.arg);\n o = f;\n var p = tryCatch(e, r, n);\n if (\"normal\" === p.type) {\n if (o = n.done ? s : l, p.arg === y) continue;\n return {\n value: p.arg,\n done: n.done\n };\n }\n \"throw\" === p.type && (o = s, n.method = \"throw\", n.arg = p.arg);\n }\n };\n }\n function maybeInvokeDelegate(e, r) {\n var n = r.method,\n o = e.iterator[n];\n if (o === t) return r.delegate = null, \"throw\" === n && e.iterator[\"return\"] && (r.method = \"return\", r.arg = t, maybeInvokeDelegate(e, r), \"throw\" === r.method) || \"return\" !== n && (r.method = \"throw\", r.arg = new TypeError(\"The iterator does not provide a '\" + n + \"' method\")), y;\n var i = tryCatch(o, e.iterator, r.arg);\n if (\"throw\" === i.type) return r.method = \"throw\", r.arg = i.arg, r.delegate = null, y;\n var a = i.arg;\n return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, \"return\" !== r.method && (r.method = \"next\", r.arg = t), r.delegate = null, y) : a : (r.method = \"throw\", r.arg = new TypeError(\"iterator result is not an object\"), r.delegate = null, y);\n }\n function pushTryEntry(t) {\n var e = {\n tryLoc: t[0]\n };\n 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);\n }\n function resetTryEntry(t) {\n var e = t.completion || {};\n e.type = \"normal\", delete e.arg, t.completion = e;\n }\n function Context(t) {\n this.tryEntries = [{\n tryLoc: \"root\"\n }], t.forEach(pushTryEntry, this), this.reset(!0);\n }\n function values(e) {\n if (e || \"\" === e) {\n var r = e[a];\n if (r) return r.call(e);\n if (\"function\" == typeof e.next) return e;\n if (!isNaN(e.length)) {\n var o = -1,\n i = function next() {\n for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;\n return next.value = t, next.done = !0, next;\n };\n return i.next = i;\n }\n }\n throw new TypeError(_typeof(e) + \" is not iterable\");\n }\n return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, \"constructor\", {\n value: GeneratorFunctionPrototype,\n configurable: !0\n }), o(GeneratorFunctionPrototype, \"constructor\", {\n value: GeneratorFunction,\n configurable: !0\n }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, \"GeneratorFunction\"), e.isGeneratorFunction = function (t) {\n var e = \"function\" == typeof t && t.constructor;\n return !!e && (e === GeneratorFunction || \"GeneratorFunction\" === (e.displayName || e.name));\n }, e.mark = function (t) {\n return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, \"GeneratorFunction\")), t.prototype = Object.create(g), t;\n }, e.awrap = function (t) {\n return {\n __await: t\n };\n }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {\n return this;\n }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {\n void 0 === i && (i = Promise);\n var a = new AsyncIterator(wrap(t, r, n, o), i);\n return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {\n return t.done ? t.value : a.next();\n });\n }, defineIteratorMethods(g), define(g, u, \"Generator\"), define(g, a, function () {\n return this;\n }), define(g, \"toString\", function () {\n return \"[object Generator]\";\n }), e.keys = function (t) {\n var e = Object(t),\n r = [];\n for (var n in e) r.push(n);\n return r.reverse(), function next() {\n for (; r.length;) {\n var t = r.pop();\n if (t in e) return next.value = t, next.done = !1, next;\n }\n return next.done = !0, next;\n };\n }, e.values = values, Context.prototype = {\n constructor: Context,\n reset: function reset(e) {\n if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = \"next\", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) \"t\" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);\n },\n stop: function stop() {\n this.done = !0;\n var t = this.tryEntries[0].completion;\n if (\"throw\" === t.type) throw t.arg;\n return this.rval;\n },\n dispatchException: function dispatchException(e) {\n if (this.done) throw e;\n var r = this;\n function handle(n, o) {\n return a.type = \"throw\", a.arg = e, r.next = n, o && (r.method = \"next\", r.arg = t), !!o;\n }\n for (var o = this.tryEntries.length - 1; o >= 0; --o) {\n var i = this.tryEntries[o],\n a = i.completion;\n if (\"root\" === i.tryLoc) return handle(\"end\");\n if (i.tryLoc <= this.prev) {\n var c = n.call(i, \"catchLoc\"),\n u = n.call(i, \"finallyLoc\");\n if (c && u) {\n if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);\n if (this.prev < i.finallyLoc) return handle(i.finallyLoc);\n } else if (c) {\n if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);\n } else {\n if (!u) throw Error(\"try statement without catch or finally\");\n if (this.prev < i.finallyLoc) return handle(i.finallyLoc);\n }\n }\n }\n },\n abrupt: function abrupt(t, e) {\n for (var r = this.tryEntries.length - 1; r >= 0; --r) {\n var o = this.tryEntries[r];\n if (o.tryLoc <= this.prev && n.call(o, \"finallyLoc\") && this.prev < o.finallyLoc) {\n var i = o;\n break;\n }\n }\n i && (\"break\" === t || \"continue\" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);\n var a = i ? i.completion : {};\n return a.type = t, a.arg = e, i ? (this.method = \"next\", this.next = i.finallyLoc, y) : this.complete(a);\n },\n complete: function complete(t, e) {\n if (\"throw\" === t.type) throw t.arg;\n return \"break\" === t.type || \"continue\" === t.type ? this.next = t.arg : \"return\" === t.type ? (this.rval = this.arg = t.arg, this.method = \"return\", this.next = \"end\") : \"normal\" === t.type && e && (this.next = e), y;\n },\n finish: function finish(t) {\n for (var e = this.tryEntries.length - 1; e >= 0; --e) {\n var r = this.tryEntries[e];\n if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;\n }\n },\n \"catch\": function _catch(t) {\n for (var e = this.tryEntries.length - 1; e >= 0; --e) {\n var r = this.tryEntries[e];\n if (r.tryLoc === t) {\n var n = r.completion;\n if (\"throw\" === n.type) {\n var o = n.arg;\n resetTryEntry(r);\n }\n return o;\n }\n }\n throw Error(\"illegal catch attempt\");\n },\n delegateYield: function delegateYield(e, r, n) {\n return this.delegate = {\n iterator: values(e),\n resultName: r,\n nextLoc: n\n }, \"next\" === this.method && (this.arg = t), y;\n }\n }, e;\n}\nmodule.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _setPrototypeOf(t, e) {\n return (module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {\n return t.__proto__ = e, t;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports), _setPrototypeOf(t, e);\n}\nmodule.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nfunction toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nmodule.exports = toPrimitive, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nvar toPrimitive = require(\"./toPrimitive.js\");\nfunction toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : i + \"\";\n}\nmodule.exports = toPropertyKey, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return (module.exports = _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports), _typeof(o);\n}\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","// TODO(Babel 8): Remove this file.\n\nvar runtime = require(\"../helpers/regeneratorRuntime\")();\nmodule.exports = runtime;\n\n// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n if (typeof globalThis === \"object\") {\n globalThis.regeneratorRuntime = runtime;\n } else {\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n }\n}\n"],"names":["_react","_interopRequireDefault","require","_material","_adapterReactV","ownKeys","e","r","t","Object","keys","getOwnPropertySymbols","o","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty2","getOwnPropertyDescriptors","defineProperties","defineProperty","_callSuper","_getPrototypeOf2","_possibleConstructorReturn2","_isNativeReflectConstruct","Reflect","construct","constructor","Boolean","prototype","valueOf","call","POSSIBLE_MUI_STYLES","visRxWidget","_React$Component","props","_this","_classCallCheck2","id","cb","context","socket","getState","then","result","subscribeState","resultId","onStateChanged","bind","state","values","data","JSON","parse","stringify","style","rxData","rxStyle","linkContext","IDs","_inherits2","_createClass2","key","value","round","_this$props$context$s","Math","this","systemConfig","common","isFloatComma","toString","replace","undefined","content","addToHeader","cardContentStyle","headerStyle","onCardClick","components","_this$props$customSet","_this2","MyCard","Card","MyCardContent","CardContent","width","height","margin","customSettings","viewStyle","visCard","attr","includes","text","toUpperCase","wrappedContent","createElement","className","onClick","display","flexDirection","alignItems","paddingBottom","position","widgetTitle","justifyContent","fontSize","paddingTop","concat","onStateUpdated","setState","_componentDidMount","_asyncToGenerator2","_regenerator","mark","_callee","_this$getWidgetInfo","i","_this3","wrap","_context","prev","next","getWidgetInfo","visAttrs","group","_group$fields","fields","field","type","dataKey","match","RegExp","name","oid","getIdSubscribeState","stop","_this4","unsubscribeState","view","wid","options","_this$state$style","_this$state$style2","renderWidgetBody","widget","_typeof2","I18n","getLanguage","en","_len","args","Array","_key","getI18nPrefix","Component","exports","module","ReferenceError","__esModule","asyncGeneratorStep","n","a","c","u","done","Promise","resolve","_next","_throw","TypeError","toPropertyKey","_defineProperties","configurable","writable","_getPrototypeOf","setPrototypeOf","getPrototypeOf","__proto__","create","_typeof","assertThisInitialized","_regeneratorRuntime","hasOwnProperty","Symbol","iterator","asyncIterator","toStringTag","define","Generator","Context","makeInvokeMethod","tryCatch","arg","h","l","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","d","v","g","defineIteratorMethods","_invoke","AsyncIterator","invoke","__await","callInvokeWithMethodAndArg","Error","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","resultName","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","reset","isNaN","displayName","isGeneratorFunction","awrap","async","reverse","pop","charAt","slice","rval","handle","complete","finish","delegateYield","_setPrototypeOf","toPrimitive","String","Number","runtime","regeneratorRuntime","accidentalStrictMode","globalThis","Function"],"sourceRoot":""} \ No newline at end of file diff --git a/win-ffmpeg.zip b/win-ffmpeg.zip index 2b189a9..fed0b2a 100644 Binary files a/win-ffmpeg.zip and b/win-ffmpeg.zip differ