This commit is contained in:
2023-02-26 11:43:30 +01:00
parent 5128fa7358
commit 29a74e2546
198 changed files with 17865 additions and 20642 deletions

View File

@@ -0,0 +1,148 @@
!function n(o,i,a){function s(t,e){if(!i[t]){if(!o[t]){var r="function"==typeof require&&require;if(!e&&r)return r(t,!0);if(u)return u(t,!0);throw(
e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}r=i[t]={exports:{}},o[t][0].call(r.exports,function(e){return s(o[t][1][e]||e)},r
,r.exports,n,o,i,a)}return i[t].exports}for(var u="function"==typeof require&&require,e=0;e<a.length;e++)s(a[e]);return s}({1:[function(e,t,r){
"use strict";var n=e("@babel/runtime/helpers/interopRequireDefault"),o=n(e("@babel/runtime/regenerator")),i=n(e("@babel/runtime/helpers/slicedToArray"
)),a=n(e("@babel/runtime/helpers/toConsumableArray")),s=n(e("@babel/runtime/helpers/asyncToGenerator")),u=n(e("@babel/runtime/helpers/classCallCheck")
),l=n(e("@babel/runtime/helpers/createClass"));function f(e,t){var r,n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(
Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return h(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(
r="Object"===r&&e.constructor?e.constructor.name:r)||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(e,t
):void 0}}(e))||t&&e&&"number"==typeof e.length)return n&&(e=n),r=0,{s:t=function(){},n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}
},e:function(e){throw e},f:t};throw new TypeError(
"Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,
a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){a=!0,o=e},f:function(){try{
i||null==n.return||n.return()}finally{if(a)throw o}}}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r]
return n}for(var c=function(){function e(){(0,u.default)(this,e),window.kioskModeEntities={},this.queryString("clear_km_cache")&&this.setCache([
"kmHeader","kmSidebar","kmOverflow","kmMenuButton"],"false"),this.ha=document.querySelector("home-assistant"),
this.main=this.ha.shadowRoot.querySelector("home-assistant-main").shadowRoot,this.user=this.ha.hass.user,this.llAttempts=0,this.run(),
this.entityWatch(),new MutationObserver(this.watchDashboards).observe(this.main.querySelector("partial-panel-resolver"),{childList:!0})}var t;return(0
,l.default)(e,[{key:"run",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.main.querySelector("ha-panel-lovelace");
!this.queryString("disable_km")&&e&&this.getConfig(e)}},{key:"getConfig",value:function(t){var r=this;this.llAttempts++;try{
var e=t.lovelace.config.kiosk_mode||{};this.processConfig(t,e)}catch(e){this.llAttempts<200?setTimeout(function(){return r.getConfig(t)},50):(
console.log("Lovelace config not found, continuing with default configuration."),console.log(e),this.processConfig(t,{}))}}},{key:"processConfig",
value:function(e,t){var r=this,n=this.ha.hass.panelUrl,o=(window.kioskModeEntities[n]||(window.kioskModeEntities[n]=[]),
this.hideHeader=this.hideSidebar=this.hideOverflow=this.ignoreEntity=this.ignoreMobile=!1,this.cached(["kmHeader","kmSidebar","kmOverflow",
"kmMenuButton"])||this.queryString(["kiosk","hide_sidebar","hide_header","hide_overflow","hide_menubutton"])),o=(o&&(this.hideHeader=this.cached(
"kmHeader")||this.queryString(["kiosk","hide_header"]),this.hideSidebar=this.cached("kmSidebar")||this.queryString(["kiosk","hide_sidebar"]),
this.hideOverflow=this.cached("kmOverflow")||this.queryString(["kiosk","hide_overflow"]),this.hideMenuButton=this.cached("kmMenuButton"
)||this.queryString(["kiosk","hide_menubutton"])),this.hideHeader=o?this.hideHeader:t.kiosk||t.hide_header,
this.hideSidebar=o?this.hideSidebar:t.kiosk||t.hide_sidebar,this.hideOverflow=o?this.hideOverflow:t.kiosk||t.hide_overflow,
this.hideMenuButton=o?this.hideMenuButton:t.kiosk||t.hide_menubutton,this.user.is_admin?t.admin_settings:t.non_admin_settings);if(o&&this.setOptions(o
),t.user_settings){var i,a=f(this.array(t.user_settings));try{for(a.s();!(i=a.n()).done;){var s=i.value;this.array(s.users).some(function(e){
return e.toLowerCase()==r.user.name.toLowerCase()})&&this.setOptions(s)}}catch(e){a.e(e)}finally{a.f()}}var o=this.ignoreMobile?null:t.mobile_settings
,u=(o&&(u=o.custom_width||812,window.innerWidth<=u&&this.setOptions(o)),this.ignoreEntity?null:t.entity_settings);if(u){var l,h=f(u);try{for(h.s();!(
l=h.n()).done;){var c=l.value,d=Object.keys(c.entity)[0];window.kioskModeEntities[n].includes(d)||window.kioskModeEntities[n].push(d),
this.ha.hass.states[d].state==c.entity[d]&&("hide_header"in c&&(this.hideHeader=c.hide_header),"hide_sidebar"in c&&(this.hideSidebar=c.hide_sidebar),
"hide_overflow"in c&&(this.hideOverflow=c.hide_overflow),"hide_menubutton"in c&&(this.hideMenuButton=c.hide_menubutton),"kiosk"in c&&(
this.hideHeader=this.hideSidebar=c.kiosk))}}catch(e){h.e(e)}finally{h.f()}}this.insertStyles(e)}},{key:"insertStyles",value:function(e){
var e=e.shadowRoot.querySelector("hui-root").shadowRoot,t=this.main.querySelector("app-drawer-layout"),r=e.querySelector("app-toolbar");
this.hideHeader||this.hideOverflow?(this.addStyle("".concat(
this.hideHeader?"#view{min-height:100vh !important;--header-height:0;}app-header{display:none;}":"").concat(
this.hideOverflow?"ha-button-menu{display:none !important;}":""),e),this.queryString("cache")&&(this.hideHeader&&this.setCache("kmHeader","true"),
this.hideOverflow&&this.setCache("kmOverflow","true"))):this.removeStyle(e),this.hideSidebar?(this.addStyle(
":host{--app-drawer-width:0 !important;}#drawer{display:none;}",t),this.addStyle("ha-menu-button{display:none !important;}",r),this.queryString(
"cache")&&this.setCache("kmSidebar","true")):this.removeStyle([r,t]),this.hideMenuButton?(this.addStyle("ha-menu-button{display:none !important;}",r),
this.queryString("cache")&&this.setCache("kmMenuButton","true")):this.removeStyle(r),window.dispatchEvent(new Event("resize")),this.llAttempts=0}},{
key:"watchDashboards",value:function(e){e.forEach(function(e){var t,r=f(e.addedNodes);try{for(r.s();!(t=r.n()).done;){var n=t.value;
"ha-panel-lovelace"==n.localName&&window.KioskMode.run(n)}}catch(e){r.e(e)}finally{r.f()}})}},{key:"entityWatch",value:(t=(0,s.default)(
o.default.mark(function e(){var t=this;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,window.hassConnection;
case 2:e.sent.conn.subscribeMessage(function(e){return t.entityWatchCallback(e)},{type:"subscribe_events",event_type:"state_changed"});case 3:
case"end":return e.stop()}},e)})),function(){return t.apply(this,arguments)})},{key:"entityWatchCallback",value:function(e){
var t=window.kioskModeEntities[this.ha.hass.panelUrl]||[];!t.length||"state_changed"!=e.event_type||!t.includes(e.data.entity_id
)||e.data.old_state&&e.data.new_state.state==e.data.old_state.state||this.run()}},{key:"setOptions",value:function(e){
this.hideHeader=e.kiosk||e.hide_header,this.hideSidebar=e.kiosk||e.hide_sidebar,this.hideOverflow=e.kiosk||e.hide_overflow,
this.hideMenuButton=e.kiosk||e.hide_menubutton,this.ignoreEntity=e.ignore_entity_settings,this.ignoreMobile=e.ignore_mobile_settings}},{key:"array",
value:function(e){return Array.isArray(e)?e:[e]}},{key:"queryString",value:function(e){return this.array(e).some(function(e){
return window.location.search.includes(e)})}},{key:"setCache",value:function(e,t){this.array(e).forEach(function(e){
return window.localStorage.setItem(e,t)})}},{key:"cached",value:function(e){return this.array(e).some(function(e){
return"true"==window.localStorage.getItem(e)})}},{key:"styleExists",value:function(e){return e.querySelector("#kiosk_mode_".concat(e.localName))}},{
key:"addStyle",value:function(e,t){var r;this.styleExists(t)||((r=document.createElement("style")).setAttribute("id","kiosk_mode_".concat(t.localName)
),r.innerHTML=e,t.appendChild(r))}},{key:"removeStyle",value:function(e){var t=this;this.array(e).forEach(function(e){t.styleExists(e
)&&e.querySelector("#kiosk_mode_".concat(e.localName)).remove()})}}]),e}(),d={header:"%c≡ kiosk-mode".padEnd(27),ver:"%cversion 1.7.3 "},
p=Math.max.apply(Math,(0,a.default)(Object.values(d).map(function(e){return e.length}))),y=0,m=Object.entries(d);y<m.length;y++){var v=(0,i.default)(
m[y],1)[0];d[v].length<=p&&(d[v]=d[v].padEnd(p)),"header"==v&&(d[v]="".concat(d[v].slice(0,-1),"⋮ "))}
n="display:inline-block;border-width:1px 1px 0 1px;border-style:solid;border-color:#424242;color:white;background:#03a9f4;font-size:12px;padding:4px 4.5px 5px 6px;"
console.info(d.header+"%c\n"+d.ver,n,"","".concat(n," ").concat(
"border-width:0px 1px 1px 1px;padding:7px;background:white;color:#424242;line-height:0.7;")),Promise.resolve(customElements.whenDefined("hui-view")
).then(function(){window.KioskMode=new c})},{"@babel/runtime/helpers/asyncToGenerator":5,"@babel/runtime/helpers/classCallCheck":6,
"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/interopRequireDefault":8,"@babel/runtime/helpers/slicedToArray":14,
"@babel/runtime/helpers/toConsumableArray":15,"@babel/runtime/regenerator":18}],2:[function(e,t,r){t.exports=function(e,t){(null==t||t>e.length)&&(
t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},t.exports.__esModule=!0,t.exports.default=t.exports},{}],3:[function(e,t,r){
t.exports=function(e){if(Array.isArray(e))return e},t.exports.__esModule=!0,t.exports.default=t.exports},{}],4:[function(e,t,r){var n=e(
"./arrayLikeToArray.js");t.exports=function(e){if(Array.isArray(e))return n(e)},t.exports.__esModule=!0,t.exports.default=t.exports},{
"./arrayLikeToArray.js":2}],5:[function(e,t,r){function u(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u
):Promise.resolve(u).then(n,o)}t.exports=function(s){return function(){var e=this,a=arguments;return new Promise(function(t,r){var n=s.apply(e,a);
function o(e){u(n,t,r,o,i,"next",e)}function i(e){u(n,t,r,o,i,"throw",e)}o(void 0)})}},t.exports.__esModule=!0,t.exports.default=t.exports},{}],6:[
function(e,t,r){t.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,
t.exports.default=t.exports},{}],7:[function(e,t,r){function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,
n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}t.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),
Object.defineProperty(e,"prototype",{writable:!1}),e},t.exports.__esModule=!0,t.exports.default=t.exports},{}],8:[function(e,t,r){t.exports=function(e
){return e&&e.__esModule?e:{default:e}},t.exports.__esModule=!0,t.exports.default=t.exports},{}],9:[function(e,t,r){t.exports=function(e){if(
"undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},t.exports.__esModule=!0,t.exports.default=t.exports}
,{}],10:[function(e,t,r){t.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,
o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{
a||null==r.return||r.return()}finally{if(s)throw o}}return i}},t.exports.__esModule=!0,t.exports.default=t.exports},{}],11:[function(e,t,r){
t.exports=function(){throw new TypeError(
"Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},
t.exports.__esModule=!0,t.exports.default=t.exports},{}],12:[function(e,t,r){t.exports=function(){throw new TypeError(
"Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},
t.exports.__esModule=!0,t.exports.default=t.exports},{}],13:[function(e,k,t){var S=e("./typeof.js").default;function r(){"use strict";
k.exports=function(){return a},k.exports.__esModule=!0,k.exports.default=k.exports;var a={},e=Object.prototype,u=e.hasOwnProperty,
t="function"==typeof Symbol?Symbol:{},n=t.iterator||"@@iterator",r=t.asyncIterator||"@@asyncIterator",o=t.toStringTag||"@@toStringTag";function i(e,t,
r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{i({},"")}catch(e){i=function(e,t,r){return e[t]=r}}
function s(e,t,r,n){var o,i,a,s,t=t&&t.prototype instanceof c?t:c,t=Object.create(t.prototype),n=new w(n||[]);return t._invoke=(o=e,i=r,a=n,
s="suspendedStart",function(e,t){if("executing"===s)throw new Error("Generator is already running");if("completed"===s){if("throw"===e)throw t;
return _()}for(a.method=e,a.arg=t;;){var r=a.delegate;if(r){r=function e(t,r){var n=t.iterator[r.method];if(void 0===n){if(r.delegate=null,
"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=void 0,e(t,r),"throw"===r.method))return h;r.method="throw",r.arg=new TypeError(
"The iterator does not provide a 'throw' method")}return h}n=l(n,t.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,
r.delegate=null,h;n=n.arg;return n?n.done?(r[t.resultName]=n.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),
r.delegate=null,h):n:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,h)}(r,a);if(r){if(r===h)continue;
return r}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if("suspendedStart"===s)throw s="completed",a.arg;a.dispatchException(
a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);s="executing";r=l(o,i,a);if("normal"===r.type){if(s=a.done?"completed":"suspendedYield",
r.arg===h)continue;return{value:r.arg,done:a.done}}"throw"===r.type&&(s="completed",a.method="throw",a.arg=r.arg)}}),t}function l(e,t,r){try{return{
type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}a.wrap=s;var h={};function c(){}function d(){}function f(){}var t={},p=(i(t,n,
function(){return this}),Object.getPrototypeOf),p=p&&p(p(x([]))),y=(p&&p!==e&&u.call(p,n)&&(t=p),f.prototype=c.prototype=Object.create(t));function m(
e){["next","throw","return"].forEach(function(t){i(e,t,function(e){return this._invoke(t,e)})})}function v(a,s){var t;this._invoke=function(r,n){
function e(){return new s(function(e,t){!function t(e,r,n,o){var i,e=l(a[e],a,r);if("throw"!==e.type)return(r=(i=e.arg).value)&&"object"==S(r
)&&u.call(r,"__await")?s.resolve(r.__await).then(function(e){t("next",e,n,o)},function(e){t("throw",e,n,o)}):s.resolve(r).then(function(e){i.value=e,
n(i)},function(e){return t("throw",e,n,o)});o(e.arg)}(r,n,e,t)})}return t=t?t.then(e,e):e()}}function b(e){var t={tryLoc:e[0]};1 in e&&(
t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function g(e){var t=e.completion||{};t.type="normal",delete t.arg
,e.completion=t}function w(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(b,this),this.reset(!0)}function x(t){if(t){var r,e=t[n];if(e)return e.call(t
);if("function"==typeof t.next)return t;if(!isNaN(t.length))return r=-1,(e=function e(){for(;++r<t.length;)if(u.call(t,r))return e.value=t[r],
e.done=!1,e;return e.value=void 0,e.done=!0,e}).next=e}return{next:_}}function _(){return{value:void 0,done:!0}}return i(y,"constructor",d.prototype=f
),i(f,"constructor",d),d.displayName=i(f,o,"GeneratorFunction"),a.isGeneratorFunction=function(e){e="function"==typeof e&&e.constructor;return!!e&&(
e===d||"GeneratorFunction"===(e.displayName||e.name))},a.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,i(e,o
,"GeneratorFunction")),e.prototype=Object.create(y),e},a.awrap=function(e){return{__await:e}},m(v.prototype),i(v.prototype,r,function(){return this}),
a.AsyncIterator=v,a.async=function(e,t,r,n,o){void 0===o&&(o=Promise);var i=new v(s(e,t,r,n),o);return a.isGeneratorFunction(t)?i:i.next().then(
function(e){return e.done?e.value:i.next()})},m(y),i(y,o,"Generator"),i(y,n,function(){return this}),i(y,"toString",function(){
return"[object Generator]"}),a.keys=function(r){var e,n=[];for(e in r)n.push(e);return n.reverse(),function e(){for(;n.length;){var t=n.pop();if(
t in r)return e.value=t,e.done=!1,e}return e.done=!0,e}},a.values=x,w.prototype={constructor:w,reset:function(e){if(this.prev=0,this.next=0,
this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(g),!e)for(var t in this
)"t"===t.charAt(0)&&u.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if(
"throw"===e.type)throw e.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var n=this;function e(e,t){return i.type="throw",
i.arg=r,n.next=e,t&&(n.method="next",n.arg=void 0),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var o=this.tryEntries[t],i=o.completion;if(
"root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var a=u.call(o,"catchLoc"),s=u.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc
)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!s
)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(e,t){for(
var r=this.tryEntries.length-1;0<=r;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&u.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;
break}}var i=(o=o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc?null:o)?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",
this.next=o.finallyLoc,h):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;
return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"
):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var r=this.tryEntries[t];if(r.finallyLoc===e
)return this.complete(r.completion,r.afterLoc),g(r),h}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var r,n,o=this.tryEntries[t];
if(o.tryLoc===e)return"throw"===(r=o.completion).type&&(n=r.arg,g(o)),n}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){
return this.delegate={iterator:x(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),h}},a}k.exports=r,k.exports.__esModule=!0,
k.exports.default=k.exports},{"./typeof.js":16}],14:[function(e,t,r){var n=e("./arrayWithHoles.js"),o=e("./iterableToArrayLimit.js"),i=e(
"./unsupportedIterableToArray.js"),a=e("./nonIterableRest.js");t.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||a()},t.exports.__esModule=!0,
t.exports.default=t.exports},{"./arrayWithHoles.js":3,"./iterableToArrayLimit.js":10,"./nonIterableRest.js":11,"./unsupportedIterableToArray.js":17}],
15:[function(e,t,r){var n=e("./arrayWithoutHoles.js"),o=e("./iterableToArray.js"),i=e("./unsupportedIterableToArray.js"),a=e("./nonIterableSpread.js")
t.exports=function(e){return n(e)||o(e)||i(e)||a()},t.exports.__esModule=!0,t.exports.default=t.exports},{"./arrayWithoutHoles.js":4,
"./iterableToArray.js":9,"./nonIterableSpread.js":12,"./unsupportedIterableToArray.js":17}],16:[function(e,t,r){function n(e){
return t.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){
return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t.exports.__esModule=!0,
t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},{}],17:[function(e,t,r){var n=e(
"./arrayLikeToArray.js");t.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);
return"Map"===(r="Object"===r&&e.constructor?e.constructor.name:r)||"Set"===r?Array.from(e
):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports},{
"./arrayLikeToArray.js":2}],18:[function(t,e,r){t=t("../helpers/regeneratorRuntime")();e.exports=t;try{regeneratorRuntime=t}catch(e){
"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},{"../helpers/regeneratorRuntime":13}]},{},[1]
);

Binary file not shown.