iobroker.lovelace
Version:
With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI
2 lines • 522 kB
JavaScript
/*! For license information please see chunk.4cc1975db2e3f50be280.js.LICENSE.txt */
(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([[3689,9577,1136],{18601:function(t,e,i){"use strict";i.d(e,{qN:function(){return n.q},Wg:function(){return u}});var n=i(78220);function o(t){return(o="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)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e,i){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,i){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=d(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(i):o.value}})(t,e,i||t)}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var i,n=d(t);if(e){var o=d(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return c(this,i)}}function c(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h(t,e)}(c,t);var e,i,n,o=l(c);function c(){return r(this,c),o.apply(this,arguments)}return e=c,(i=[{key:"click",value:function(){this.formElement&&(this.formElement.focus(),this.formElement.click())}},{key:"setAriaLabel",value:function(t){this.formElement&&this.formElement.setAttribute("aria-label",t)}},{key:"firstUpdated",value:function(){var t=this;a(d(c.prototype),"firstUpdated",this).call(this),this.shadowRoot&&this.mdcRoot.addEventListener("change",(function(e){t.dispatchEvent(new Event("change",e))}))}}])&&s(e.prototype,i),n&&s(e,n),c}(n.H);u.shadowRootOptions={mode:"open",delegatesFocus:!0}},14114:function(t,e,i){"use strict";i.d(e,{P:function(){return n}});var n=function(t){return function(e,i){if(e.constructor._observers){if(!e.constructor.hasOwnProperty("_observers")){var n=e.constructor._observers;e.constructor._observers=new Map,n.forEach((function(t,i){return e.constructor._observers.set(i,t)}))}}else{e.constructor._observers=new Map;var o=e.updated;e.updated=function(t){var e=this;o.call(this,t),t.forEach((function(t,i){var n=e.constructor._observers.get(i);void 0!==n&&n.call(e,e[i],t)}))}}e.constructor._observers.set(i,t)}}},1819:function(t,e,i){"use strict";i.d(e,{Y:function(){return f}});var n=i(83412),o=i(55704),r=i(92685),s=i(92038);function a(t){return(a="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)}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var i,n=u(t);if(e){var o=u(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return d(this,i)}}function d(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}(i,t);var e=c(i);function i(){return h(this,i),e.apply(this,arguments)}return i}(r.a);f.styles=s.W,f=(0,n.gn)([(0,o.Mo)("mwc-formfield")],f)},63207:function(t,e,i){"use strict";i(65660),i(15112);var n,o,r,s=i(9672),a=i(87156),h=i(50856),l=i(65233);(0,s.k)({_template:(0,h.d)(n||(o=["\n <style>\n :host {\n @apply --layout-inline;\n @apply --layout-center-center;\n position: relative;\n\n vertical-align: middle;\n\n fill: var(--iron-icon-fill-color, currentcolor);\n stroke: var(--iron-icon-stroke-color, none);\n\n width: var(--iron-icon-width, 24px);\n height: var(--iron-icon-height, 24px);\n @apply --iron-icon;\n }\n\n :host([hidden]) {\n display: none;\n }\n </style>\n"],r||(r=o.slice(0)),n=Object.freeze(Object.defineProperties(o,{raw:{value:Object.freeze(r)}})))),is:"iron-icon",properties:{icon:{type:String},theme:{type:String},src:{type:String},_meta:{value:l.XY.create("iron-meta",{type:"iconset"})}},observers:["_updateIcon(_meta, isAttached)","_updateIcon(theme, isAttached)","_srcChanged(src, isAttached)","_iconChanged(icon, isAttached)"],_DEFAULT_ICONSET:"icons",_iconChanged:function(t){var e=(t||"").split(":");this._iconName=e.pop(),this._iconsetName=e.pop()||this._DEFAULT_ICONSET,this._updateIcon()},_srcChanged:function(t){this._updateIcon()},_usesIconset:function(){return this.icon||!this.src},_updateIcon:function(){this._usesIconset()?(this._img&&this._img.parentNode&&(0,a.vz)(this.root).removeChild(this._img),""===this._iconName?this._iconset&&this._iconset.removeIcon(this):this._iconsetName&&this._meta&&(this._iconset=this._meta.byKey(this._iconsetName),this._iconset?(this._iconset.applyIcon(this,this._iconName,this.theme),this.unlisten(window,"iron-iconset-added","_updateIcon")):this.listen(window,"iron-iconset-added","_updateIcon"))):(this._iconset&&this._iconset.removeIcon(this),this._img||(this._img=document.createElement("img"),this._img.style.width="100%",this._img.style.height="100%",this._img.draggable=!1),this._img.src=this.src,(0,a.vz)(this.root).appendChild(this._img))}})},15112:function(t,e,i){"use strict";i.d(e,{P:function(){return r}});i(65233);var n=i(9672);function o(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var r=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),t[" "](e),this.type=e&&e.type||"default",this.key=e&&e.key,e&&"value"in e&&(this.value=e.value)}var e,i,n;return e=t,(i=[{key:"value",get:function(){var e=this.type,i=this.key;if(e&&i)return t.types[e]&&t.types[e][i]},set:function(e){var i=this.type,n=this.key;i&&n&&(i=t.types[i]=t.types[i]||{},null==e?delete i[n]:i[n]=e)}},{key:"list",get:function(){if(this.type){var e=t.types[this.type];return e?Object.keys(e).map((function(t){return s[this.type][t]}),this):[]}}},{key:"byKey",value:function(t){return this.key=t,this.value}}])&&o(e.prototype,i),n&&o(e,n),t}();r[" "]=function(){},r.types={};var s=r.types;(0,n.k)({is:"iron-meta",properties:{type:{type:String,value:"default"},key:{type:String},value:{type:String,notify:!0},self:{type:Boolean,observer:"_selfChanged"},__meta:{type:Boolean,computed:"__computeMeta(type, key, value)"}},hostAttributes:{hidden:!0},__computeMeta:function(t,e,i){var n=new r({type:t,key:e});return void 0!==i&&i!==n.value?n.value=i:this.value!==n.value&&(this.value=n.value),n},get list(){return this.__meta&&this.__meta.list},_selfChanged:function(t){t&&(this.value=this)},byKey:function(t){return new r({type:this.type,key:t}).value}})},67810:function(t,e,i){"use strict";i.d(e,{o:function(){return r}});i(65233);var n=i(87156);function o(t){return(o="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)}var r={properties:{scrollTarget:{type:HTMLElement,value:function(){return this._defaultScrollTarget}}},observers:["_scrollTargetChanged(scrollTarget, isAttached)"],_shouldHaveListener:!0,_scrollTargetChanged:function(t,e){if(this._oldScrollTarget&&(this._toggleScrollListener(!1,this._oldScrollTarget),this._oldScrollTarget=null),e)if("document"===t)this.scrollTarget=this._doc;else if("string"==typeof t){var i=this.domHost;this.scrollTarget=i&&i.$?i.$[t]:(0,n.vz)(this.ownerDocument).querySelector("#"+t)}else this._isValidScrollTarget()&&(this._oldScrollTarget=t,this._toggleScrollListener(this._shouldHaveListener,t))},_scrollHandler:function(){},get _defaultScrollTarget(){return this._doc},get _doc(){return this.ownerDocument.documentElement},get _scrollTop(){return this._isValidScrollTarget()?this.scrollTarget===this._doc?window.pageYOffset:this.scrollTarget.scrollTop:0},get _scrollLeft(){return this._isValidScrollTarget()?this.scrollTarget===this._doc?window.pageXOffset:this.scrollTarget.scrollLeft:0},set _scrollTop(t){this.scrollTarget===this._doc?window.scrollTo(window.pageXOffset,t):this._isValidScrollTarget()&&(this.scrollTarget.scrollTop=t)},set _scrollLeft(t){this.scrollTarget===this._doc?window.scrollTo(t,window.pageYOffset):this._isValidScrollTarget()&&(this.scrollTarget.scrollLeft=t)},scroll:function(t,e){var i;"object"===o(t)?(i=t.left,e=t.top):i=t,i=i||0,e=e||0,this.scrollTarget===this._doc?window.scrollTo(i,e):this._isValidScrollTarget()&&(this.scrollTarget.scrollLeft=i,this.scrollTarget.scrollTop=e)},get _scrollTargetWidth(){return this._isValidScrollTarget()?this.scrollTarget===this._doc?window.innerWidth:this.scrollTarget.offsetWidth:0},get _scrollTargetHeight(){return this._isValidScrollTarget()?this.scrollTarget===this._doc?window.innerHeight:this.scrollTarget.offsetHeight:0},_isValidScrollTarget:function(){return this.scrollTarget instanceof HTMLElement},_toggleScrollListener:function(t,e){var i=e===this._doc?window:e;t?this._boundScrollHandler||(this._boundScrollHandler=this._scrollHandler.bind(this),i.addEventListener("scroll",this._boundScrollHandler)):this._boundScrollHandler&&(i.removeEventListener("scroll",this._boundScrollHandler),this._boundScrollHandler=null)},toggleScrollListener:function(t){this._shouldHaveListener=t,this._toggleScrollListener(t,this.scrollTarget)}}},98626:function(t,e,i){"use strict";function n(t){return new Promise((function(e,i){t.oncomplete=t.onsuccess=function(){return e(t.result)},t.onabort=t.onerror=function(){return i(t.error)}}))}function o(t,e){var i=indexedDB.open(t);i.onupgradeneeded=function(){return i.result.createObjectStore(e)};var o=n(i);return function(t,i){return o.then((function(n){return i(n.transaction(e,t).objectStore(e))}))}}var r;function s(){return r||(r=o("keyval-store","keyval")),r}function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s();return e("readonly",(function(e){return n(e.get(t))}))}function h(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s();return i("readwrite",(function(i){return i.put(e,t),n(i.transaction)}))}function l(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s();return t("readwrite",(function(t){return t.clear(),n(t.transaction)}))}i.d(e,{ZH:function(){return l},MT:function(){return o},U2:function(){return a},RV:function(){return n},t8:function(){return h}})},19967:function(t,e,i){"use strict";i.d(e,{Xe:function(){return n.Xe},pX:function(){return n.pX},XM:function(){return n.XM}});var n=i(55122)},76666:function(t,e,i){"use strict";i.d(e,{$:function(){return n.$}});var n=i(81471)},82816:function(t,e,i){"use strict";i.d(e,{o:function(){return n.o}});var n=i(49629)},28934:function(t,e,i){"use strict";function n(t){return(n="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)}i.d(e,{Zc:function(){return NE}});var o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(t){var e={exports:{}};return t(e,e.exports),e.exports}var s=function(t){return t&&t.Math==Math&&t},a=s("object"==("undefined"==typeof globalThis?"undefined":n(globalThis))&&globalThis)||s("object"==("undefined"==typeof window?"undefined":n(window))&&window)||s("object"==("undefined"==typeof self?"undefined":n(self))&&self)||s("object"==n(o)&&o)||function(){return this}()||Function("return this")(),h=function(t){try{return!!t()}catch(e){return!0}},l=!h((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),c={}.propertyIsEnumerable,d=Object.getOwnPropertyDescriptor,u={f:d&&!c.call({1:2},1)?function(t){var e=d(this,t);return!!e&&e.enumerable}:c},f=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},p={}.toString,v=function(t){return p.call(t).slice(8,-1)},y="".split,g=h((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==v(t)?y.call(t,""):Object(t)}:Object,m=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},b=function(t){return g(m(t))},w=function(t){return"object"===n(t)?null!==t:"function"==typeof t},k=function(t,e){if(!w(t))return t;var i,n;if(e&&"function"==typeof(i=t.toString)&&!w(n=i.call(t)))return n;if("function"==typeof(i=t.valueOf)&&!w(n=i.call(t)))return n;if(!e&&"function"==typeof(i=t.toString)&&!w(n=i.call(t)))return n;throw TypeError("Can't convert object to primitive value")},_={}.hasOwnProperty,x=function(t,e){return _.call(t,e)},E=a.document,O=w(E)&&w(E.createElement),S=function(t){return O?E.createElement(t):{}},T=!l&&!h((function(){return 7!=Object.defineProperty(S("div"),"a",{get:function(){return 7}}).a})),C=Object.getOwnPropertyDescriptor,P={f:l?C:function(t,e){if(t=b(t),e=k(e,!0),T)try{return C(t,e)}catch(i){}if(x(t,e))return f(!u.f.call(t,e),t[e])}},M=/#|\.prototype\./,D=function(t,e){var i=A[I(t)];return i==F||i!=z&&("function"==typeof e?h(e):!!e)},I=D.normalize=function(t){return String(t).replace(M,".").toLowerCase()},A=D.data={},z=D.NATIVE="N",F=D.POLYFILL="P",N=D,B={},j=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},R=function(t,e,i){if(j(t),void 0===e)return t;switch(i){case 0:return function(){return t.call(e)};case 1:return function(i){return t.call(e,i)};case 2:return function(i,n){return t.call(e,i,n)};case 3:return function(i,n,o){return t.call(e,i,n,o)}}return function(){return t.apply(e,arguments)}},L=function(t){if(!w(t))throw TypeError(String(t)+" is not an object");return t},H=Object.defineProperty,W={f:l?H:function(t,e,i){if(L(t),e=k(e,!0),L(i),T)try{return H(t,e,i)}catch(n){}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},q=l?function(t,e,i){return W.f(t,e,f(1,i))}:function(t,e,i){return t[e]=i,t},V=P.f,U=function(t){var e=function(e,i,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,i)}return new t(e,i,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e},Y=function(t,e){var i,o,r,s,h,l,c,d,u=t.target,f=t.global,p=t.stat,v=t.proto,y=f?a:p?a[u]:(a[u]||{}).prototype,g=f?B:B[u]||(B[u]={}),m=g.prototype;for(r in e)i=!N(f?r:u+(p?".":"#")+r,t.forced)&&y&&x(y,r),h=g[r],i&&(l=t.noTargetGet?(d=V(y,r))&&d.value:y[r]),s=i&&l?l:e[r],i&&n(h)===n(s)||(c=t.bind&&i?R(s,a):t.wrap&&i?U(s):v&&"function"==typeof s?R(Function.call,s):s,(t.sham||s&&s.sham||h&&h.sham)&&q(c,"sham",!0),g[r]=c,v&&(x(B,o=u+"Prototype")||q(B,o,{}),B[o][r]=s,t.real&&m&&!m[r]&&q(m,r,s)))},X=Array.isArray||function(t){return"Array"==v(t)},G=Math.ceil,K=Math.floor,$=function(t){return isNaN(t=+t)?0:(t>0?K:G)(t)},Z=Math.min,Q=function(t){return t>0?Z($(t),9007199254740991):0},J=function t(e,i,n,o,r,s,a,h){for(var l,c=r,d=0,u=!!a&&R(a,h,3);d<o;){if(d in n){if(l=u?u(n[d],d,i):n[d],s>0&&X(l))c=t(e,i,l,Q(l.length),c,s-1)-1;else{if(c>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[c]=l}c++}d++}return c},tt=function(t){return Object(m(t))},et="__core-js_shared__",it=a[et]||function(t,e){try{q(a,t,e)}catch(i){a[t]=e}return e}(et,{}),nt=r((function(t){(t.exports=function(t,e){return it[t]||(it[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.7.0",mode:"pure",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),ot=0,rt=Math.random(),st=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++ot+rt).toString(36)},at=!!Object.getOwnPropertySymbols&&!h((function(){return!String(Symbol())})),ht=at&&!Symbol.sham&&"symbol"==n(Symbol.iterator),lt=nt("wks"),ct=a.Symbol,dt=ht?ct:ct&&ct.withoutSetter||st,ut=function(t){return x(lt,t)||(at&&x(ct,t)?lt[t]=ct[t]:lt[t]=dt("Symbol."+t)),lt[t]},ft=ut("species"),pt=function(t,e){var i;return X(t)&&("function"!=typeof(i=t.constructor)||i!==Array&&!X(i.prototype)?w(i)&&null===(i=i[ft])&&(i=void 0):i=void 0),new(void 0===i?Array:i)(0===e?0:e)};Y({target:"Array",proto:!0},{flatMap:function(t){var e,i=tt(this),n=Q(i.length);return j(t),(e=pt(i,0)).length=J(e,i,i,n,0,1,t,arguments.length>1?arguments[1]:void 0),e}});var vt,yt,gt=function(t){return B[t+"Prototype"]},mt=(gt("Array").flatMap,Array.prototype,[].push),bt=function(t){var e=1==t,i=2==t,n=3==t,o=4==t,r=6==t,s=5==t||r;return function(a,h,l,c){for(var d,u,f=tt(a),p=g(f),v=R(h,l,3),y=Q(p.length),m=0,b=c||pt,w=e?b(a,y):i?b(a,0):void 0;y>m;m++)if((s||m in p)&&(u=v(d=p[m],m,f),t))if(e)w[m]=u;else if(u)switch(t){case 3:return!0;case 5:return d;case 6:return m;case 2:mt.call(w,d)}else if(o)return!1;return r?-1:n||o?o:w}},wt={forEach:bt(0),map:bt(1),filter:bt(2),some:bt(3),every:bt(4),find:bt(5),findIndex:bt(6)},kt=function(t){return"function"==typeof t?t:void 0},_t=function(t,e){return arguments.length<2?kt(B[t])||kt(a[t]):B[t]&&B[t][e]||a[t]&&a[t][e]},xt=_t("navigator","userAgent")||"",Et=a.process,Ot=Et&&Et.versions,St=Ot&&Ot.v8;St?yt=(vt=St.split("."))[0]+vt[1]:xt&&(!(vt=xt.match(/Edge\/(\d+)/))||vt[1]>=74)&&(vt=xt.match(/Chrome\/(\d+)/))&&(yt=vt[1]);var Tt=yt&&+yt,Ct=ut("species"),Pt=function(t){return Tt>=51||!h((function(){var e=[];return(e.constructor={})[Ct]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},Mt=Object.defineProperty,Dt={},It=function(t){throw t},At=function(t,e){if(x(Dt,t))return Dt[t];e||(e={});var i=[][t],n=!!x(e,"ACCESSORS")&&e.ACCESSORS,o=x(e,0)?e[0]:It,r=x(e,1)?e[1]:void 0;return Dt[t]=!!i&&!h((function(){if(n&&!l)return!0;var t={length:-1};n?Mt(t,1,{enumerable:!0,get:It}):t[1]=1,i.call(t,o,r)}))},zt=wt.map,Ft=Pt("map"),Nt=At("map");Y({target:"Array",proto:!0,forced:!Ft||!Nt},{map:function(t){return zt(this,t,arguments.length>1?arguments[1]:void 0)}});var Bt=gt("Array").map,jt=Array.prototype,Rt=function(t){var e=t.map;return t===jt||t instanceof Array&&e===jt.map?Bt:e},Lt=wt.filter,Ht=Pt("filter"),Wt=At("filter");Y({target:"Array",proto:!0,forced:!Ht||!Wt},{filter:function(t){return Lt(this,t,arguments.length>1?arguments[1]:void 0)}});var qt=gt("Array").filter,Vt=Array.prototype,Ut=function(t){var e=t.filter;return t===Vt||t instanceof Array&&e===Vt.filter?qt:e},Yt=function(t){return function(e,i,n,o){j(i);var r=tt(e),s=g(r),a=Q(r.length),h=t?a-1:0,l=t?-1:1;if(n<2)for(;;){if(h in s){o=s[h],h+=l;break}if(h+=l,t?h<0:a<=h)throw TypeError("Reduce of empty array with no initial value")}for(;t?h>=0:a>h;h+=l)h in s&&(o=i(o,s[h],h,r));return o}},Xt={left:Yt(!1),right:Yt(!0)},Gt=function(t,e){var i=[][t];return!!i&&h((function(){i.call(null,e||function(){throw 1},1)}))},Kt="process"==v(a.process),$t=Xt.left,Zt=Gt("reduce"),Qt=At("reduce",{1:0});Y({target:"Array",proto:!0,forced:!Zt||!Qt||!Kt&&Tt>79&&Tt<83},{reduce:function(t){return $t(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}});var Jt=gt("Array").reduce,te=Array.prototype,ee=function(t){var e=t.reduce;return t===te||t instanceof Array&&e===te.reduce?Jt:e},ie=[].slice,ne={},oe=function(t,e,i){if(!(e in ne)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";ne[e]=Function("C,a","return new C("+n.join(",")+")")}return ne[e](t,i)},re=Function.bind||function(t){var e=j(this),i=ie.call(arguments,1),n=function(){var o=i.concat(ie.call(arguments));return this instanceof n?oe(e,o.length,o):e.apply(t,o)};return w(e.prototype)&&(n.prototype=e.prototype),n};Y({target:"Function",proto:!0},{bind:re});var se=gt("Function").bind,ae=Function.prototype,he=function(t){var e=t.bind;return t===ae||t instanceof Function&&e===ae.bind?se:e};var le=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")};Y({target:"Object",stat:!0,forced:!l,sham:!l},{defineProperty:W.f});var ce=r((function(t){var e=B.Object,i=t.exports=function(t,i,n){return e.defineProperty(t,i,n)};e.defineProperty.sham&&(i.sham=!0)})),de=ce;function ue(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),de(t,n.key,n)}}var fe=function(t,e,i){return e&&ue(t.prototype,e),i&&ue(t,i),t};var pe=ce,ve=Math.max,ye=Math.min,ge=function(t,e){var i=$(t);return i<0?ve(i+e,0):ye(i,e)},me=function(t){return function(e,i,n){var o,r=b(e),s=Q(r.length),a=ge(n,s);if(t&&i!=i){for(;s>a;)if((o=r[a++])!=o)return!0}else for(;s>a;a++)if((t||a in r)&&r[a]===i)return t||a||0;return!t&&-1}},be={includes:me(!0),indexOf:me(!1)},we={},ke=be.indexOf,_e=function(t,e){var i,n=b(t),o=0,r=[];for(i in n)!x(we,i)&&x(n,i)&&r.push(i);for(;e.length>o;)x(n,i=e[o++])&&(~ke(r,i)||r.push(i));return r},xe=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ee=Object.keys||function(t){return _e(t,xe)},Oe=l?Object.defineProperties:function(t,e){L(t);for(var i,n=Ee(e),o=n.length,r=0;o>r;)W.f(t,i=n[r++],e[i]);return t};Y({target:"Object",stat:!0,forced:!l,sham:!l},{defineProperties:Oe});var Se=r((function(t){var e=B.Object,i=t.exports=function(t,i){return e.defineProperties(t,i)};e.defineProperties.sham&&(i.sham=!0)})),Te=xe.concat("length","prototype"),Ce={f:Object.getOwnPropertyNames||function(t){return _e(t,Te)}},Pe={f:Object.getOwnPropertySymbols},Me=_t("Reflect","ownKeys")||function(t){var e=Ce.f(L(t)),i=Pe.f;return i?e.concat(i(t)):e},De=function(t,e,i){var n=k(e);n in t?W.f(t,n,f(0,i)):t[n]=i};Y({target:"Object",stat:!0,sham:!l},{getOwnPropertyDescriptors:function(t){for(var e,i,n=b(t),o=P.f,r=Me(n),s={},a=0;r.length>a;)void 0!==(i=o(n,e=r[a++]))&&De(s,e,i);return s}});var Ie=B.Object.getOwnPropertyDescriptors,Ae=P.f,ze=h((function(){Ae(1)}));Y({target:"Object",stat:!0,forced:!l||ze,sham:!l},{getOwnPropertyDescriptor:function(t,e){return Ae(b(t),e)}});var Fe,Ne=r((function(t){var e=B.Object,i=t.exports=function(t,i){return e.getOwnPropertyDescriptor(t,i)};e.getOwnPropertyDescriptor.sham&&(i.sham=!0)})),Be=_t("document","documentElement"),je=nt("keys"),Re=function(t){return je[t]||(je[t]=st(t))},Le=Re("IE_PROTO"),He=function(){},We=function(t){return"<script>"+t+"</"+"script>"},qe=function(){try{Fe=document.domain&&new ActiveXObject("htmlfile")}catch(n){}var t,e;qe=Fe?function(t){t.write(We("")),t.close();var e=t.parentWindow.Object;return t=null,e}(Fe):((e=S("iframe")).style.display="none",Be.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(We("document.F=Object")),t.close(),t.F);for(var i=xe.length;i--;)delete qe.prototype[xe[i]];return qe()};we[Le]=!0;var Ve=Object.create||function(t,e){var i;return null!==t?(He.prototype=L(t),i=new He,He.prototype=null,i[Le]=t):i=qe(),void 0===e?i:Oe(i,e)},Ue=Ce.f,Ye={}.toString,Xe="object"==("undefined"==typeof window?"undefined":n(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Ge={f:function(t){return Xe&&"[object Window]"==Ye.call(t)?function(t){try{return Ue(t)}catch(e){return Xe.slice()}}(t):Ue(b(t))}},Ke=function(t,e,i,n){n&&n.enumerable?t[e]=i:q(t,e,i)},$e={f:ut},Ze=W.f,Qe=function(t){var e=B.Symbol||(B.Symbol={});x(e,t)||Ze(e,t,{value:$e.f(t)})},Je={};Je[ut("toStringTag")]="z";var ti="[object z]"===String(Je),ei=ut("toStringTag"),ii="Arguments"==v(function(){return arguments}()),ni=ti?v:function(t){var e,i,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,e){try{return t[e]}catch(i){}}(e=Object(t),ei))?i:ii?v(e):"Object"==(n=v(e))&&"function"==typeof e.callee?"Arguments":n},oi=ti?{}.toString:function(){return"[object "+ni(this)+"]"},ri=W.f,si=ut("toStringTag"),ai=function(t,e,i,n){if(t){var o=i?t:t.prototype;x(o,si)||ri(o,si,{configurable:!0,value:e}),n&&!ti&&q(o,"toString",oi)}},hi=Function.toString;"function"!=typeof it.inspectSource&&(it.inspectSource=function(t){return hi.call(t)});var li,ci,di,ui=it.inspectSource,fi=a.WeakMap,pi="function"==typeof fi&&/native code/.test(ui(fi)),vi=a.WeakMap;if(pi){var yi=it.state||(it.state=new vi),gi=yi.get,mi=yi.has,bi=yi.set;li=function(t,e){return e.facade=t,bi.call(yi,t,e),e},ci=function(t){return gi.call(yi,t)||{}},di=function(t){return mi.call(yi,t)}}else{var wi=Re("state");we[wi]=!0,li=function(t,e){return e.facade=t,q(t,wi,e),e},ci=function(t){return x(t,wi)?t[wi]:{}},di=function(t){return x(t,wi)}}var ki={set:li,get:ci,has:di,enforce:function(t){return di(t)?ci(t):li(t,{})},getterFor:function(t){return function(e){var i;if(!w(e)||(i=ci(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return i}}},_i=wt.forEach,xi=Re("hidden"),Ei="Symbol",Oi=ut("toPrimitive"),Si=ki.set,Ti=ki.getterFor(Ei),Ci=Object.prototype,Pi=a.Symbol,Mi=_t("JSON","stringify"),Di=P.f,Ii=W.f,Ai=Ge.f,zi=u.f,Fi=nt("symbols"),Ni=nt("op-symbols"),Bi=nt("string-to-symbol-registry"),ji=nt("symbol-to-string-registry"),Ri=nt("wks"),Li=a.QObject,Hi=!Li||!Li.prototype||!Li.prototype.findChild,Wi=l&&h((function(){return 7!=Ve(Ii({},"a",{get:function(){return Ii(this,"a",{value:7}).a}})).a}))?function(t,e,i){var n=Di(Ci,e);n&&delete Ci[e],Ii(t,e,i),n&&t!==Ci&&Ii(Ci,e,n)}:Ii,qi=function(t,e){var i=Fi[t]=Ve(Pi.prototype);return Si(i,{type:Ei,tag:t,description:e}),l||(i.description=e),i},Vi=ht?function(t){return"symbol"==n(t)}:function(t){return Object(t)instanceof Pi},Ui=function(t,e,i){t===Ci&&Ui(Ni,e,i),L(t);var n=k(e,!0);return L(i),x(Fi,n)?(i.enumerable?(x(t,xi)&&t[xi][n]&&(t[xi][n]=!1),i=Ve(i,{enumerable:f(0,!1)})):(x(t,xi)||Ii(t,xi,f(1,{})),t[xi][n]=!0),Wi(t,n,i)):Ii(t,n,i)},Yi=function(t,e){L(t);var i=b(e),n=Ee(i).concat($i(i));return _i(n,(function(e){l&&!Xi.call(i,e)||Ui(t,e,i[e])})),t},Xi=function(t){var e=k(t,!0),i=zi.call(this,e);return!(this===Ci&&x(Fi,e)&&!x(Ni,e))&&(!(i||!x(this,e)||!x(Fi,e)||x(this,xi)&&this[xi][e])||i)},Gi=function(t,e){var i=b(t),n=k(e,!0);if(i!==Ci||!x(Fi,n)||x(Ni,n)){var o=Di(i,n);return!o||!x(Fi,n)||x(i,xi)&&i[xi][n]||(o.enumerable=!0),o}},Ki=function(t){var e=Ai(b(t)),i=[];return _i(e,(function(t){x(Fi,t)||x(we,t)||i.push(t)})),i},$i=function(t){var e=t===Ci,i=Ai(e?Ni:b(t)),n=[];return _i(i,(function(t){!x(Fi,t)||e&&!x(Ci,t)||n.push(Fi[t])})),n};if(at||(Ke((Pi=function(){if(this instanceof Pi)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=st(t),i=function t(i){this===Ci&&t.call(Ni,i),x(this,xi)&&x(this[xi],e)&&(this[xi][e]=!1),Wi(this,e,f(1,i))};return l&&Hi&&Wi(Ci,e,{configurable:!0,set:i}),qi(e,t)}).prototype,"toString",(function(){return Ti(this).tag})),Ke(Pi,"withoutSetter",(function(t){return qi(st(t),t)})),u.f=Xi,W.f=Ui,P.f=Gi,Ce.f=Ge.f=Ki,Pe.f=$i,$e.f=function(t){return qi(ut(t),t)},l&&Ii(Pi.prototype,"description",{configurable:!0,get:function(){return Ti(this).description}})),Y({global:!0,wrap:!0,forced:!at,sham:!at},{Symbol:Pi}),_i(Ee(Ri),(function(t){Qe(t)})),Y({target:Ei,stat:!0,forced:!at},{for:function(t){var e=String(t);if(x(Bi,e))return Bi[e];var i=Pi(e);return Bi[e]=i,ji[i]=e,i},keyFor:function(t){if(!Vi(t))throw TypeError(t+" is not a symbol");if(x(ji,t))return ji[t]},useSetter:function(){Hi=!0},useSimple:function(){Hi=!1}}),Y({target:"Object",stat:!0,forced:!at,sham:!l},{create:function(t,e){return void 0===e?Ve(t):Yi(Ve(t),e)},defineProperty:Ui,defineProperties:Yi,getOwnPropertyDescriptor:Gi}),Y({target:"Object",stat:!0,forced:!at},{getOwnPropertyNames:Ki,getOwnPropertySymbols:$i}),Y({target:"Object",stat:!0,forced:h((function(){Pe.f(1)}))},{getOwnPropertySymbols:function(t){return Pe.f(tt(t))}}),Mi){var Zi=!at||h((function(){var t=Pi();return"[null]"!=Mi([t])||"{}"!=Mi({a:t})||"{}"!=Mi(Object(t))}));Y({target:"JSON",stat:!0,forced:Zi},{stringify:function(t,e,i){for(var n,o=[t],r=1;arguments.length>r;)o.push(arguments[r++]);if(n=e,(w(e)||void 0!==t)&&!Vi(t))return X(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Vi(e))return e}),o[1]=e,Mi.apply(null,o)}})}Pi.prototype[Oi]||q(Pi.prototype,Oi,Pi.prototype.valueOf),ai(Pi,Ei),we[xi]=!0;var Qi,Ji,tn,en=B.Object.getOwnPropertySymbols,nn={},on=!h((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),rn=Re("IE_PROTO"),sn=Object.prototype,an=on?Object.getPrototypeOf:function(t){return t=tt(t),x(t,rn)?t[rn]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?sn:null},hn=(ut("iterator"),!1);[].keys&&("next"in(tn=[].keys())?(Ji=an(an(tn)))!==Object.prototype&&(Qi=Ji):hn=!0),null==Qi&&(Qi={});var ln={IteratorPrototype:Qi,BUGGY_SAFARI_ITERATORS:hn},cn=ln.IteratorPrototype,dn=function(){return this},un=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,i={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(i,[]),e=i instanceof Array}catch(n){}return function(i,n){return L(i),function(t){if(!w(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(n),e?t.call(i,n):i.__proto__=n,i}}():void 0),fn=ln.IteratorPrototype,pn=ln.BUGGY_SAFARI_ITERATORS,vn=ut("iterator"),yn="keys",gn="values",mn="entries",bn=function(){return this},wn=function(t,e,i,n,o,r,s){!function(t,e,i){var n=e+" Iterator";t.prototype=Ve(cn,{next:f(1,i)}),ai(t,n,!1,!0),nn[n]=dn}(i,e,n);var a,h,l,c=function(t){if(t===o&&y)return y;if(!pn&&t in p)return p[t];switch(t){case yn:case gn:case mn:return function(){return new i(this,t)}}return function(){return new i(this)}},d=e+" Iterator",u=!1,p=t.prototype,v=p[vn]||p["@@iterator"]||o&&p[o],y=!pn&&v||c(o),g="Array"==e&&p.entries||v;if(g&&(a=an(g.call(new t)),fn!==Object.prototype&&a.next&&(ai(a,d,!0,!0),nn[d]=bn)),o==gn&&v&&v.name!==gn&&(u=!0,y=function(){return v.call(this)}),s&&p[vn]!==y&&q(p,vn,y),nn[e]=y,o)if(h={values:c(gn),keys:r?y:c(yn),entries:c(mn)},s)for(l in h)(pn||u||!(l in p))&&Ke(p,l,h[l]);else Y({target:e,proto:!0,forced:pn||u},h);return h},kn="Array Iterator",_n=ki.set,xn=ki.getterFor(kn);wn(Array,"Array",(function(t,e){_n(this,{type:kn,target:b(t),index:0,kind:e})}),(function(){var t=xn(this),e=t.target,i=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==i?{value:n,done:!1}:"values"==i?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values");nn.Arguments=nn.Array;var En=ut("toStringTag");for(var On in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var Sn=a[On],Tn=Sn&&Sn.prototype;Tn&&ni(Tn)!==En&&q(Tn,En,On),nn[On]=nn.Array}var Cn=function(t){return function(e,i){var n,o,r=String(m(e)),s=$(i),a=r.length;return s<0||s>=a?t?"":void 0:(n=r.charCodeAt(s))<55296||n>56319||s+1===a||(o=r.charCodeAt(s+1))<56320||o>57343?t?r.charAt(s):n:t?r.slice(s,s+2):o-56320+(n-55296<<10)+65536}},Pn={codeAt:Cn(!1),charAt:Cn(!0)}.charAt,Mn="String Iterator",Dn=ki.set,In=ki.getterFor(Mn);wn(String,"String",(function(t){Dn(this,{type:Mn,string:String(t),index:0})}),(function(){var t,e=In(this),i=e.string,n=e.index;return n>=i.length?{value:void 0,done:!0}:(t=Pn(i,n),e.index+=t.length,{value:t,done:!1})}));var An=ut("iterator"),zn=function(t){if(null!=t)return t[An]||t["@@iterator"]||nn[ni(t)]},Fn=function(t){var e=zn(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return L(e.call(t))},Nn=zn,Bn=function(t){var e=t.return;if(void 0!==e)return L(e.call(t)).value},jn=function(t,e,i,n){try{return n?e(L(i)[0],i[1]):e(i)}catch(o){throw Bn(t),o}},Rn=ut("iterator"),Ln=Array.prototype,Hn=function(t){return void 0!==t&&(nn.Array===t||Ln[Rn]===t)},Wn=ut("iterator"),qn=!1;try{var Vn=0,Un={next:function(){return{done:!!Vn++}},return:function(){qn=!0}};Un[Wn]=function(){return this},Array.from(Un,(function(){throw 2}))}catch(BE){}var Yn=!function(t,e){if(!e&&!qn)return!1;var i=!1;try{var n={};n[Wn]=function(){return{next:function(){return{done:i=!0}}}},t(n)}catch(BE){}return i}((function(t){Array.from(t)}));Y({target:"Array",stat:!0,forced:Yn},{from:function(t){var e,i,n,o,r,s,a=tt(t),h="function"==typeof this?this:Array,l=arguments.length,c=l>1?arguments[1]:void 0,d=void 0!==c,u=zn(a),f=0;if(d&&(c=R(c,l>2?arguments[2]:void 0,2)),null==u||h==Array&&Hn(u))for(i=new h(e=Q(a.length));e>f;f++)s=d?c(a[f],f):a[f],De(i,f,s);else for(r=(o=u.call(a)).next,i=new h;!(n=r.call(o)).done;f++)s=d?jn(o,c,[n.value,f],!0):n.value,De(i,f,s);return i.length=f,i}});var Xn=B.Array.from,Gn=Xn;Y({target:"Array",proto:!0},{fill:function(t){for(var e=tt(this),i=Q(e.length),n=arguments.length,o=ge(n>1?arguments[1]:void 0,i),r=n>2?arguments[2]:void 0,s=void 0===r?i:ge(r,i);s>o;)e[o++]=t;return e}});gt("Array").fill;var Kn=[].slice,$n=/MSIE .\./.test(xt),Zn=function(t){return function(e,i){var n=arguments.length>2,o=n?Kn.call(arguments,2):void 0;return t(n?function(){("function"==typeof e?e:Function(e)).apply(this,o)}:e,i)}};Y({global:!0,bind:!0,forced:$n},{setTimeout:Zn(a.setTimeout),setInterval:Zn(a.setInterval)});var Qn=B.setTimeout,Jn=_t("JSON","stringify"),to=/[\uD800-\uDFFF]/g,eo=/^[\uD800-\uDBFF]$/,io=/^[\uDC00-\uDFFF]$/,no=function(t,e,i){var n=i.charAt(e-1),o=i.charAt(e+1);return eo.test(t)&&!io.test(o)||io.test(t)&&!eo.test(n)?"\\u"+t.charCodeAt(0).toString(16):t},oo=h((function(){return'"\\udf06\\ud834"'!==Jn("\udf06\ud834")||'"\\udead"'!==Jn("\udead")}));Jn&&Y({target:"JSON",stat:!0,forced:oo},{stringify:function(t,e,i){var n=Jn.apply(null,arguments);return"string"==typeof n?n.replace(to,no):n}}),B.JSON||(B.JSON={stringify:JSON.stringify});var ro=function(t,e,i){return B.JSON.stringify.apply(null,arguments)};Y({target:"Object",stat:!0,sham:!l},{create:Ve});var so=B.Object,ao=function(t,e){return so.create(t,e)},ho=ao;var lo,co=function(t,e,i){return e in t?de(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t},uo="\t\n\v\f\r \u2028\u2029\ufeff",fo="["+uo+"]",po=RegExp("^"+fo+fo+"*"),vo=RegExp(fo+fo+"*$"),yo=function(t){return function(e){var i=String(m(e));return 1&t&&(i=i.replace(po,"")),2&t&&(i=i.replace(vo,"")),i}},go={start:yo(1),end:yo(2),trim:yo(3)},mo=go.trim;Y({target:"String",proto:!0,forced:(lo="trim",h((function(){return!!uo[lo]()||"
"!="
"[lo]()||uo[lo].name!==lo})))},{trim:function(){return mo(this)}});gt("String").trim;var bo=be.indexOf,wo=[].indexOf,ko=!!wo&&1/[1].indexOf(1,-0)<0,_o=Gt("indexOf"),xo=At("indexOf",{ACCESSORS:!0,1:0});Y({target:"Array",proto:!0,forced:ko||!_o||!xo},{indexOf:function(t){return ko?wo.apply(this,arguments)||0:bo(this,t,arguments.length>1?arguments[1]:void 0)}});gt("Array").indexOf;var Eo=go.trim,Oo=a.parseInt,So=/^[+-]?0[Xx]/,To=8!==Oo(uo+"08")||22!==Oo(uo+"0x16")?function(t,e){var i=Eo(String(t));return Oo(i,e>>>0||(So.test(i)?16:10))}:Oo;Y({global:!0,forced:parseInt!=To},{parseInt:To});var Co=u.f,Po=function(t){return function(e){for(var i,n=b(e),o=Ee(n),r=o.length,s=0,a=[];r>s;)i=o[s++],l&&!Co.call(n,i)||a.push(t?[i,n[i]]:n[i]);return a}},Mo={entries:Po(!0),values:Po(!1)}.values;Y({target:"Object",stat:!0},{values:function(t){return Mo(t)}});B.Object.values;var Do=h((function(){an(1)}));Y({target:"Object",stat:!0,forced:Do,sham:!on},{getPrototypeOf:function(t){return an(tt(t))}});var Io=B.Object.getPrototypeOf,Ao=be.includes,zo=At("indexOf",{ACCESSORS:!0,1:0});Y({target:"Array",proto:!0,forced:!zo},{includes:function(t){return Ao(this,t,arguments.length>1?arguments[1]:void 0)}});gt("Array").includes;var Fo=ut("match"),No=function(t){if(function(t){var e;return w(t)&&(void 0!==(e=t[Fo])?!!e:"RegExp"==v(t))}(t))throw TypeError("The method doesn't accept regular expressions");return t},Bo=ut("match");Y({target:"String",proto:!0,forced:!function(t){var e=/./;try{"/./"[t](e)}catch(i){try{return e[Bo]=!1,"/./"[t](e)}catch(n){}}return!1}("includes")},{includes:function(t){return!!~String(m(this)).indexOf(No(t),arguments.length>1?arguments[1]:void 0)}});gt("String").includes;var jo=Object.assign,Ro=Object.defineProperty,Lo=!jo||h((function(){if(l&&1!==jo({b:1},jo(Ro({},"a",{enumerable:!0,get:function(){Ro(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},i=Symbol(),n="abcdefghijklmnopqrst";return t[i]=7,n.split("").forEach((function(t){e[t]=t})),7!=jo({},t)[i]||Ee(jo({},e)).join("")!=n}))?function(t,e){for(var i=tt(t),n=arguments.length,o=1,r=Pe.f,s=u.f;n>o;)for(var a,h=g(arguments[o++]),c=r?Ee(h).concat(r(h)):Ee(h),d=c.length,f=0;d>f;)a=c[f++],l&&!s.call(h,a)||(i[a]=h[a]);return i}:jo;Y({target:"Object",stat:!0,forced:Object.assign!==Lo},{assign:Lo});var Ho=B.Object.assign,Wo=Pt("splice"),qo=At("splice",{ACCESSORS:!0,0:0,1:2}),Vo=Math.max,Uo=Math.min,Yo=9007199254740991,Xo="Maximum allowed length exceeded";Y({target:"Array",proto:!0,forced:!Wo||!qo},{splice:function(t,e){var i,n,o,r,s,a,h=tt(this),l=Q(h.length),c=ge(t,l),d=arguments.length;if(0===d?i=n=0:1===d?(i=0,n=l-c):(i=d-2,n=Uo(Vo($(e),0),l-c)),l+i-n>Yo)throw TypeError(Xo);for(o=pt(h,n),r=0;r<n;r++)(s=c+r)in h&&De(o,r,h[s]);if(o.length=n,i<n){for(r=c;r<l-n;r++)a=r+i,(s=r+n)in h?h[a]=h[s]:delete h[a];for(r=l;r>l-n+i;r--)delete h[r-1]}else if(i>n)for(r=l-n;r>c;r--)a=r+i-1,(s=r+n-1)in h?h[a]=h[s]:delete h[a];for(r=0;r<i;r++)h[r+c]=arguments[r+2];return h.length=l-n+i,o}});var Go=gt("Array").splice,Ko=Array.prototype,$o=function(t){var e=t.splice;return t===Ko||t instanceof Array&&e===Ko.splice?Go:e},Zo=[].reverse,Qo=[1,2];Y({target:"Array",proto:!0,forced:String(Qo)===String(Qo.reverse())},{reverse:function(){return X(this)&&(this.length=this.length),Zo.call(this)}});var Jo=gt("Array").reverse,tr=Array.prototype,er=function(t){var e=t.reverse;return t===tr||t instanceof Array&&e===tr.reverse?Jo:e},ir=wt.forEach,nr=Gt("forEach"),or=At("forEach"),rr=nr&&or?[].forEach:function(t){return ir(this,t,arguments.length>1?arguments[1]:void 0)};Y({target:"Array",proto:!0,forced:[].forEach!=rr},{forEach:rr});var sr=gt("Array").forEach,ar=Array.prototype,hr={DOMTokenList:!0,NodeList:!0},lr=function(t){var e=t.forEach;return t===ar||t instanceof Array&&e===ar.forEach||hr.hasOwnProperty(ni(t))?sr:e};Y({target:"Array",stat:!0},{isArray:X});var cr=B.Array.isArray,dr=cr;var ur=function(t){if(dr(t))return t},fr=ut("iterator"),pr=function(t){var e=Object(t);return void 0!==e[fr]||"@@iterator"in e||nn.hasOwnProperty(ni(e))},vr=ut("isConcatSpreadable"),yr=9007199254740991,gr="Maximum allowed index exceeded",mr=Tt>=51||!h((function(){var t=[];return t[vr]=!1,t.concat()[0]!==t})),br=Pt("concat"),wr=function(t){if(!w(t))return!1;var e=t[vr];return void 0!==e?!!e:X(t)};Y({target:"Array",proto:!0,forced:!mr||!br},{concat:function(t){var e,i,n,o,r,s=tt(this),a=pt(s,0),h=0;for(e=-1,n=arguments.length;e<n;e++)if(wr(r=-1===e?s:arguments[e])){if(h+(o=Q(r.length))>yr)throw TypeError(gr);for(i=0;i<o;i++,h++)i in r&&De(a,h,r[i])}else{if(h>=yr)throw TypeError(gr);De(a,h++,r)}return a.length=h,a}}),Qe("asyncIterator"),Qe("hasInstance"),Qe("isConcatSpreadable"),Qe("iterator"),Qe("match"),Qe("matchAll"),Qe("replace"),Qe("search"),Qe("species"),Qe("split"),Qe("toPrimitive"),Qe("toStringTag"),Qe("unscopables"),ai(a.JSON,"JSON",!0);var kr=B.Symbol;Qe("asyncDispose"),Qe("dispose"),Qe("observable"),Qe("patternMatch"),Qe("replaceAll");var _r=kr;var xr=function(t,e){if(void 0!==_r&&pr(Object(t))){var i=[],n=!0,o=!1,r=void 0;try{for(var s,a=Fn(t);!(n=(s=a.next()).done)&&(i.push(s.value),!e||i.length!==e);n=!0);}catch(h){o=!0,r=h}finally{try{n||null==a.return||a.return()}finally{if(o)throw r}}return i}},Er=Xn,Or=Pt("slice"),Sr=At("slice",{ACCESSORS:!0,0:0,1:2}),Tr=ut("species"),Cr=[].slice,Pr=Math.max;Y({target:"Array",proto:!0,forced:!Or||!Sr},{slice:function(t,e){var i,n,o,r=b(this),s=Q(r.length),a=ge(t,s),h=ge(void 0===e?s:e,s);if(X(r)&&("function"!=typeof(i=r.constructor)||i!==Array&&!X(i.prototype)?w(i)&&null===(i=i[Tr])&&(i=void 0):i=void 0,i===Array||void 0===i))return Cr.call(r,a,h);for(n=new(void 0===i?Array:i)(Pr(h-a,0)),o=0;a<h;a++,o++)a in r&&De(n,o,r[a]);return n.length=o,n}});var Mr=gt("Array").slice,Dr=Array.prototype,Ir=function(t){var e=t.slice;return t===Dr||t instanceof Array&&e===Dr.slice?Mr:e},Ar=Ir;var zr=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n};var Fr=function(t,e){var i;if(t){if("string"==typeof t)return zr(t,e);var n=Ar(i=Object.prototype.toString.call(t)).call(i,8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Er(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zr(t,e):void 0}};var Nr=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.")};var Br=function(t,e){return ur(t)||xr(t,e)||Fr(t,e)||Nr()};Y({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}});B.Date.now;var jr=h((function(){Ee(1)}));Y({target:"Object",stat:!0,forced:jr},{keys:function(t){return Ee(tt(t))}});var Rr=B.Object.keys,Lr=cr,Hr=$e.f("iterator"),Wr=Hr,qr=r((function(t){function e(i){return t.exports=e="function"==typeof _r&&"symbol"==typeof Wr?function(t){return typeof t}:function(t){return t&&"function"==typeof _r&&t.constructor===_r&&t!==_r.prototype?"symbol":typeof t},e(i)}t.exports=e}));Y({target:"Reflect",stat:!0},{ownKeys:Me});var Vr=B.Reflect.ownKeys,Ur=Ir;var Yr=function(t){if(dr(t))return zr(t)};var Xr=function(t){if(void 0!==_r&&pr(Object(t)))return Er(t)};var Gr=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.")};var Kr=function(t){return Yr(t)||Xr(t)||Fr(t)||Gr()},$r=gt("Array").concat,Zr=Array.prototype,Qr=function(t){var e=t.concat;return t===Zr||t instanceof Array&&e===Zr.concat?$r:e},Jr=kr,ts=r((function(t){function e(t){if(t)return function(t){for(var i in e.prototype)t[i]=e.prototype[i];return t}(t)}t.exports=e,e.prototype.on=e.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},e.prototype.once=function(t,e){function i(){this.off(t,i),e.apply(this,arguments)}return i.fn=e,this.on(t,i),this},e.prototype.off=e.prototype.removeListener=e.prototype.removeAllListeners=e.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var i,n=this._callbacks["$"+t];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var o=0;o<n.length;o++)if((i=n[o])===e||i.fn===e){n.splice(o,1);break}return 0===n.length&&delete this._callbacks["$"+t],this},e.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),i=this._callbacks["$"+t],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(i){n=0;for(var o=(i=i.slice(0)).length;n<o;++n)i[n].apply(this,e)}return this},e.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},e.prototype.hasListeners=function(t){return!!this.listeners(t).length}}));function es(){return(es=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}).apply(this,arguments)}function is(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function ns(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var os,rs="function"!=typeof Object.assign?function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),i=1;i<arguments.length;i++){var n=arguments[i];if(null!=n)for(var o in n)n.hasOwnProperty(o)&&(e[o]=n[o])}return e}:Object.assign,ss=["","webkit","Moz","MS","ms","o"],as="undefined"==typeof document?{style:{}}:document.createElement("div"),hs=Math.round,ls=Math.abs,cs=Date.now;function ds(t,e){for(var i,n,o=e[0].toUpperCase()+e.slice(1),r=0;r<ss.length;){if((n=(i=ss[r])?i+o:e)in t)return n;r++}}os="undefined"==typeof window?{}:window;var us=ds(as.style,"touchAction"),fs=void 0!==us;var ps="compute",vs="auto",ys="manipulation",gs="none",ms="pan-x",bs="pan-y",ws=function(){if(!fs)return!1;var t={},e=os.CSS&&os.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(i){return t[i]=!e||os.CSS.supports("touch-action",i)})),t}(),ks="ontouchstart"in os,_s=void 0!==ds(os,"PointerEvent"),xs=ks&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),Es="touch",Os="mouse",Ss=16,Ts=24,Cs=["x","y"],Ps=["clientX","clientY"];function Ms(t,e,i){var n;if(t)if(t.forEach)t.forEach(e,i);else if(void 0!==t.length)for(n=0;n<t.length;)e.call(i,t[n],n,t),n++;else for(n in t)t.hasOwnProperty(n)&&e.call(i,t[n],n,t)}function Ds(t,e){return"function"===n(t)?t.apply(e&&e[0]||void 0,e):t}function Is(t,e){return t.indexOf(e)>-1}var As=function(){function t(t,e){this.manager=t,this.set(e)}var e=t.prototype;return e.set=function(t){t===ps&&(t=this.compute()),fs&&this.manager.element.style&&ws[t]&&(this.manager.element.style[us]=t),this.actions=t.toLowerCase().trim()},e.update=function(){this.set(this.manager.options.touchAction)},e.compute=function(){var t=[];return Ms(this.manager.recognizers,(function(e){Ds(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))})),function(t){if(Is(t,gs))return gs;var e=Is(t,ms),i=Is(t,bs);return e&&i?gs:e||i?e?ms:bs:Is(t,ys)?ys:vs}(t.join(" "))},e.preventDefaults=function(t){var e=t.srcEvent,i=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var n=this.actions,o=Is(n,gs)&&!ws.none,r=Is(n,bs)&&!ws["pan-y"],s=Is(n,ms)&&!ws["pan-x"];if(o){var a=1===t.pointers.length,h=t.distance<2,l=t.deltaTime<250;if(a&&h&&l)return}if(!s||!r)return o||r&&6&i||s&&i&Ts?this.preventSrc(e):void 0}},e.preventSrc=function(t){this.manager.session.prevented=!0,t.preventDefault()},t}();function zs(t,e){for(;t;){if(t===e)return!0;t=t.parentNode}return!1}function Fs(t){var e=t.length;if(1===e)return{x:hs(t[0].clientX),y:hs(t[0].clientY)};for(var i=0,n=0,o=0;o<e;)i+=t[o].clientX,n+=t[o].clientY,o++;return{x:hs(i/e),y:hs(n/e)}}function Ns(t){for(var e=[],i=0;i<t.pointers.length;)e[i]={clientX:hs(t.pointers[i].clientX),clientY:hs(t.pointers[i].clientY)},i++;return{timeStamp:cs(),pointers:e,center:Fs(e),deltaX:t.deltaX,deltaY:t.deltaY}}function Bs(t,e,i){i||(i=Cs);var n=e[i[0]]-t[i[0]],o=e[i[1]]-t[i[1]];return Math.sqrt(n*n+o*o)}function js(t,e,i){i||(i=Cs);var n=e[i[0]]-t[i[0]],o=e[i[1]]-t[i[1]];return 180*Math.atan2(o,n)/Math.PI}function Rs(t,e){return t===e?1:ls(t)>=ls(e)?t<0?2:4:e<0?8:Ss}function Ls(t,e,i){return{x:e/t||0,y:i/t||0}}function Hs(t,e){var i=t.session,n=e.pointers,o=n.length;i.firstInput||(i.firstInput=Ns(e)),o>1&&!i.firstMultiple?i.firstMultiple=Ns(e):1===o&&(i.firstMultiple=!1);var r=i.firstInput,s=i.firstMultiple,a=s?s.center:r.center,h=e.center=Fs(n);e.timeStamp=cs(),e.deltaTime=e.timeStamp-r.timeStamp,e.angle=js(a,h),e.distance=Bs(a,h),function(t,e){var i=e.center,n=t.offsetDelta||{},o=t.prevDelta||{},r=t.prevInput||{};1!==e.eventType&&4!==r.eventType||(o=t.prevDelta={x:r.deltaX||0,y:r.deltaY||0},n=t.offsetDelta={x:i.x,y:i.y}),e.deltaX=o.x+(i.x-n.x),e.deltaY=o.y+(i.y-n.y)}(i,e),e.offsetDirection=Rs(e.deltaX,e.deltaY);var l,c,d=Ls(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=d.x,e.overallVelocityY=d.y,e.overallVelocity=ls(d.x)>ls(d.y)?d.x:d.y,e.scale=s?(l=s.pointers,Bs((c=n)[0],c[1],Ps)/Bs(l[0],l[1],Ps)):1,e.rotation=s?function(t,e){return js(e[1],e[0],Ps)+js(t[1],t[0],Ps)}(s.pointers,n):0,e.maxPointers=i.prevInput?e.pointers.length>i.prevInput.maxPointers?e.pointers.length:i.prevInput.maxPointers:e.pointers.length,function(t,e){var i,n,o,r,s=t.lastInterval||e,a=e.timeStamp-s.timeStamp;if(8!==e.eventType&&(a>25||void 0===s.velocity)){var h=e.deltaX-s.deltaX,l=e.deltaY-s.deltaY,c=Ls(a,h,l);n=c.x,o=c.y,i=ls(c.x)>ls(c.y)?c.x:c.y,r=Rs(h,l),t.lastInterval=e}else i=s.velocity,n=s.velocityX,o=s.velocityY,r=s.direction;e.velocity=i,e.velocityX=n,e.velocityY=o,e.direction=r}(i,e);var u,f=t.element,p=e.srcEvent;zs(u=p.composedPath?p.composedPath()[0]:p.path?p.path[0]:p.target,f)&&(f=u),e.target=