UNPKG

trtc-sdk-v5

Version:
1 lines 323 kB
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).DeviceDetector=t()}(this,(function(){"use strict";function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,V=Array(t);n<t;n++)V[n]=e[n];return V}function t(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(e,t,n,V,r,i,o){try{var A=e[i](o),s=A.value}catch(e){return void n(e)}A.done?t(s):Promise.resolve(s).then(V,r)}function V(e){return function(){var t=this,V=arguments;return new Promise((function(r,i){var o=e.apply(t,V);function A(e){n(o,r,i,A,s,"next",e)}function s(e){n(o,r,i,A,s,"throw",e)}A(void 0)}))}}function r(e,n,V){return n=c(n),function(e,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return t(e)}(e,l()?Reflect.construct(n,V||[],c(e).constructor):n.apply(e,V))}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var V=t[n];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(e,v(V.key),V)}}function A(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=y(e))||t){n&&(e=n);var V=0,r=function(){};return{s:r,n:function(){return V>=e.length?{done:!0}:{done:!1,value:e[V++]}},e:function(e){throw e},f:r}}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 i,o=!0,A=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){A=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(A)throw i}}}}function a(){return a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var V=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=c(e)););return e}(e,t);if(V){var r=Object.getOwnPropertyDescriptor(V,t);return r.get?r.get.call(arguments.length<3?e:n):r.value}},a.apply(null,arguments)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function q(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(l=function(){return!!e})()}function u(){u=function(){return t};var e,t={},n=Object.prototype,V=n.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",A=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function a(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{a({},"")}catch(e){a=function(e,t,n){return e[t]=n}}function c(e,t,n,V){var i=t&&t.prototype instanceof m?t:m,o=Object.create(i.prototype),A=new D(V||[]);return r(o,"_invoke",{value:k(e,n,A)}),o}function q(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var l="suspendedStart",p="suspendedYield",d="executing",h="completed",g={};function m(){}function v(){}function f(){}var y={};a(y,o,(function(){return this}));var w=Object.getPrototypeOf,M=w&&w(w(T([])));M&&M!==n&&V.call(M,o)&&(y=M);var C=f.prototype=m.prototype=Object.create(y);function x(e){["next","throw","return"].forEach((function(t){a(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function n(r,i,o,A){var s=q(e[r],e,i);if("throw"!==s.type){var a=s.arg,c=a.value;return c&&"object"==typeof c&&V.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,o,A)}),(function(e){n("throw",e,o,A)})):t.resolve(c).then((function(e){a.value=e,o(a)}),(function(e){return n("throw",e,o,A)}))}A(s.arg)}var i;r(this,"_invoke",{value:function(e,V){function r(){return new t((function(t,r){n(e,V,t,r)}))}return i=i?i.then(r,r):r()}})}function k(t,n,V){var r=l;return function(i,o){if(r===d)throw Error("Generator is already running");if(r===h){if("throw"===i)throw o;return{value:e,done:!0}}for(V.method=i,V.arg=o;;){var A=V.delegate;if(A){var s=I(A,V);if(s){if(s===g)continue;return s}}if("next"===V.method)V.sent=V._sent=V.arg;else if("throw"===V.method){if(r===l)throw r=h,V.arg;V.dispatchException(V.arg)}else"return"===V.method&&V.abrupt("return",V.arg);r=d;var a=q(t,n,V);if("normal"===a.type){if(r=V.done?h:p,a.arg===g)continue;return{value:a.arg,done:V.done}}"throw"===a.type&&(r=h,V.method="throw",V.arg=a.arg)}}}function I(t,n){var V=n.method,r=t.iterator[V];if(r===e)return n.delegate=null,"throw"===V&&t.iterator.return&&(n.method="return",n.arg=e,I(t,n),"throw"===n.method)||"return"!==V&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+V+"' method")),g;var i=q(r,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var o=i.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function S(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 U(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function T(t){if(t||""===t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function n(){for(;++r<t.length;)if(V.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return v.prototype=f,r(C,"constructor",{value:f,configurable:!0}),r(f,"constructor",{value:v,configurable:!0}),v.displayName=a(f,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,a(e,s,"GeneratorFunction")),e.prototype=Object.create(C),e},t.awrap=function(e){return{__await:e}},x(E.prototype),a(E.prototype,A,(function(){return this})),t.AsyncIterator=E,t.async=function(e,n,V,r,i){void 0===i&&(i=Promise);var o=new E(c(e,n,V,r),i);return t.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},x(C),a(C,s,"Generator"),a(C,o,(function(){return this})),a(C,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var V in t)n.push(V);return n.reverse(),function e(){for(;n.length;){var V=n.pop();if(V in t)return e.value=V,e.done=!1,e}return e.done=!0,e}},t.values=T,D.prototype={constructor:D,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(U),!t)for(var n in this)"t"===n.charAt(0)&&V.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(V,r){return A.type="throw",A.arg=t,n.next=V,r&&(n.method="next",n.arg=e),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],A=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=V.call(o,"catchLoc"),a=V.call(o,"finallyLoc");if(s&&a){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!a)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&V.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(o)},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),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),U(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var V=n.completion;if("throw"===V.type){var r=V.arg;U(n)}return r}}throw Error("illegal catch attempt")},delegateYield:function(t,n,V){return this.delegate={iterator:T(t),resultName:n,nextLoc:V},"next"===this.method&&(this.arg=e),g}},t}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var V,r,i,o,A=[],s=!0,a=!1;try{if(i=(n=n.call(e)).next,0===t);else for(;!(s=(V=i.call(n)).done)&&(A.push(V.value),A.length!==t);s=!0);}catch(e){a=!0,r=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(a)throw r}}return A}}(e,t)||y(e,t)||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.")}()}function h(e,t,n,V){var r=a(c(e.prototype),t,n);return 2&V&&"function"==typeof r?function(e){return r.apply(n,e)}:r}function g(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function m(t){return function(t){if(Array.isArray(t))return e(t)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||y(t)||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.")}()}function v(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var V=n.call(e,t);if("object"!=typeof V)return V;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:t+""}function f(e){return f="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},f(e)}function y(t,n){if(t){if("string"==typeof t)return e(t,n);var V={}.toString.call(t).slice(8,-1);return"Object"===V&&t.constructor&&(V=t.constructor.name),"Map"===V||"Set"===V?Array.from(t):"Arguments"===V||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(V)?e(t,n):void 0}}function w(e){var t="function"==typeof Map?new Map:void 0;return w=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(l())return Reflect.construct.apply(null,arguments);var V=[null];V.push.apply(V,t);var r=new(e.bind.apply(e,V));return n&&p(r,n.prototype),r}(e,arguments,c(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),p(n,e)},w(e)}var M,C,x,E,k,I,S,U,D,T,B,b,R,Q,F,N,j,O,Y,K,L,Z,G,z,J,W,H,P,X,_,$,ee,te,ne,Ve,re,ie,oe,Ae,se,ae,ce,qe,le,ue,pe,de,he,ge,me,ve,fe=Object.create,ye=Object.defineProperty,we=Object.defineProperties,Me=Object.getOwnPropertyDescriptor,Ce=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertyNames,Ee=Object.getOwnPropertySymbols,ke=Object.getPrototypeOf,Ie=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,Ue=function(e,t,n){return t in e?ye(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},De=function(e,t){for(var n in t||(t={}))Ie.call(t,n)&&Ue(e,n,t[n]);if(Ee){var V,r=s(Ee(t));try{for(r.s();!(V=r.n()).done;){n=V.value;Se.call(t,n)&&Ue(e,n,t[n])}}catch(e){r.e(e)}finally{r.f()}}return e},Te=function(e,t){return we(e,Ce(t))},Be=function(e,t){return function(){return t||(0,e[xe(e)[0]])((t={exports:{}}).exports,t),t.exports}},be=function(e,t,n){return Ue(e,"symbol"!==f(t)?t+"":t,n)},Re=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/global-this.js":function(e,t){var n=function(e){return e&&e.Math===Math&&e};t.exports=n("object"==("undefined"==typeof globalThis?"undefined":f(globalThis))&&globalThis)||n("object"==("undefined"==typeof window?"undefined":f(window))&&window)||n("object"==("undefined"==typeof self?"undefined":f(self))&&self)||n("object"==("undefined"==typeof global?"undefined":f(global))&&global)||n("object"==f(e)&&e)||function(){return this}()||Function("return this")()}}),Qe=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/fails.js":function(e,t){t.exports=function(e){try{return!!e()}catch(e){return!0}}}}),Fe=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/descriptors.js":function(e,t){var n=Qe();t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}}),Ne=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/function-bind-native.js":function(e,t){var n=Qe();t.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))}}),je=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/function-call.js":function(e,t){var n=Ne(),V=Function.prototype.call;t.exports=n?V.bind(V):function(){return V.apply(V,arguments)}}}),Oe=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/object-property-is-enumerable.js":function(e){var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,V=n&&!t.call({1:2},1);e.f=V?function(e){var t=n(this,e);return!!t&&t.enumerable}:t}}),Ye=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/create-property-descriptor.js":function(e,t){t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}}}),Ke=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/function-uncurry-this.js":function(e,t){var n=Ne(),V=Function.prototype,r=V.call,i=n&&V.bind.bind(r,r);t.exports=n?i:function(e){return function(){return r.apply(e,arguments)}}}}),Le=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/classof-raw.js":function(e,t){var n=Ke(),V=n({}.toString),r=n("".slice);t.exports=function(e){return r(V(e),8,-1)}}}),Ze=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/indexed-object.js":function(e,t){var n=Ke(),V=Qe(),r=Le(),i=Object,o=n("".split);t.exports=V((function(){return!i("z").propertyIsEnumerable(0)}))?function(e){return"String"===r(e)?o(e,""):i(e)}:i}}),Ge=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/is-null-or-undefined.js":function(e,t){t.exports=function(e){return null==e}}}),ze=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/require-object-coercible.js":function(e,t){var n=Ge(),V=TypeError;t.exports=function(e){if(n(e))throw new V("Can't call method on "+e);return e}}}),Je=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/to-indexed-object.js":function(e,t){var n=Ze(),V=ze();t.exports=function(e){return n(V(e))}}}),We=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/is-callable.js":function(e,t){var n="object"==("undefined"==typeof document?"undefined":f(document))&&document.all;t.exports=void 0===n&&void 0!==n?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}}}),He=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/is-object.js":function(e,t){var n=We();t.exports=function(e){return"object"==f(e)?null!==e:n(e)}}}),Pe=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/get-built-in.js":function(e,t){var n=Re(),V=We();t.exports=function(e,t){return arguments.length<2?(r=n[e],V(r)?r:void 0):n[e]&&n[e][t];var r}}}),Xe=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/object-is-prototype-of.js":function(e,t){var n=Ke();t.exports=n({}.isPrototypeOf)}}),_e=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/environment-user-agent.js":function(e,t){var n=Re().navigator,V=n&&n.userAgent;t.exports=V?String(V):""}}),$e=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/environment-v8-version.js":function(e,t){var n,V,r=Re(),i=_e(),o=r.process,A=r.Deno,s=o&&o.versions||A&&A.version,a=s&&s.v8;a&&(V=(n=a.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!V&&i&&(!(n=i.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=i.match(/Chrome\/(\d+)/))&&(V=+n[1]),t.exports=V}}),et=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/symbol-constructor-detection.js":function(e,t){var n=$e(),V=Qe(),r=Re().String;t.exports=!!Object.getOwnPropertySymbols&&!V((function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))}}),tt=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/use-symbol-as-uid.js":function(e,t){var n=et();t.exports=n&&!Symbol.sham&&"symbol"==f(Symbol.iterator)}}),nt=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/is-symbol.js":function(e,t){var n=Pe(),V=We(),r=Xe(),i=tt(),o=Object;t.exports=i?function(e){return"symbol"==f(e)}:function(e){var t=n("Symbol");return V(t)&&r(t.prototype,o(e))}}}),Vt=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/try-to-string.js":function(e,t){var n=String;t.exports=function(e){try{return n(e)}catch(e){return"Object"}}}}),rt=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/a-callable.js":function(e,t){var n=We(),V=Vt(),r=TypeError;t.exports=function(e){if(n(e))return e;throw new r(V(e)+" is not a function")}}}),it=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/get-method.js":function(e,t){var n=rt(),V=Ge();t.exports=function(e,t){var r=e[t];return V(r)?void 0:n(r)}}}),ot=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/ordinary-to-primitive.js":function(e,t){var n=je(),V=We(),r=He(),i=TypeError;t.exports=function(e,t){var o,A;if("string"===t&&V(o=e.toString)&&!r(A=n(o,e)))return A;if(V(o=e.valueOf)&&!r(A=n(o,e)))return A;if("string"!==t&&V(o=e.toString)&&!r(A=n(o,e)))return A;throw new i("Can't convert object to primitive value")}}}),At=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/is-pure.js":function(e,t){t.exports=!1}}),st=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/define-global-property.js":function(e,t){var n=Re(),V=Object.defineProperty;t.exports=function(e,t){try{V(n,e,{value:t,configurable:!0,writable:!0})}catch(V){n[e]=t}return t}}}),at=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/shared-store.js":function(e,t){var n=At(),V=Re(),r=st(),i="__core-js_shared__",o=t.exports=V[i]||r(i,{});(o.versions||(o.versions=[])).push({version:"3.40.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.40.0/LICENSE",source:"https://github.com/zloirock/core-js"})}}),ct=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/shared.js":function(e,t){var n=at();t.exports=function(e,t){return n[e]||(n[e]=t||{})}}}),qt=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/to-object.js":function(e,t){var n=ze(),V=Object;t.exports=function(e){return V(n(e))}}}),lt=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/has-own-property.js":function(e,t){var n=Ke(),V=qt(),r=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return r(V(e),t)}}}),ut=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/uid.js":function(e,t){var n=Ke(),V=0,r=Math.random(),i=n(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++V+r,36)}}}),pt=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/well-known-symbol.js":function(e,t){var n=Re(),V=ct(),r=lt(),i=ut(),o=et(),A=tt(),s=n.Symbol,a=V("wks"),c=A?s.for||s:s&&s.withoutSetter||i;t.exports=function(e){return r(a,e)||(a[e]=o&&r(s,e)?s[e]:c("Symbol."+e)),a[e]}}}),dt=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/to-primitive.js":function(e,t){var n=je(),V=He(),r=nt(),i=it(),o=ot(),A=pt(),s=TypeError,a=A("toPrimitive");t.exports=function(e,t){if(!V(e)||r(e))return e;var A,c=i(e,a);if(c){if(void 0===t&&(t="default"),A=n(c,e,t),!V(A)||r(A))return A;throw new s("Can't convert object to primitive value")}return void 0===t&&(t="number"),o(e,t)}}}),ht=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/to-property-key.js":function(e,t){var n=dt(),V=nt();t.exports=function(e){var t=n(e,"string");return V(t)?t:t+""}}}),gt=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/document-create-element.js":function(e,t){var n=Re(),V=He(),r=n.document,i=V(r)&&V(r.createElement);t.exports=function(e){return i?r.createElement(e):{}}}}),mt=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/ie8-dom-define.js":function(e,t){var n=Fe(),V=Qe(),r=gt();t.exports=!n&&!V((function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))}}),vt=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/object-get-own-property-descriptor.js":function(e){var t=Fe(),n=je(),V=Oe(),r=Ye(),i=Je(),o=ht(),A=lt(),s=mt(),a=Object.getOwnPropertyDescriptor;e.f=t?a:function(e,t){if(e=i(e),t=o(t),s)try{return a(e,t)}catch(e){}if(A(e,t))return r(!n(V.f,e,t),e[t])}}}),ft=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/v8-prototype-define-bug.js":function(e,t){var n=Fe(),V=Qe();t.exports=n&&V((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))}}),yt=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/an-object.js":function(e,t){var n=He(),V=String,r=TypeError;t.exports=function(e){if(n(e))return e;throw new r(V(e)+" is not an object")}}}),wt=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/object-define-property.js":function(e){var t=Fe(),n=mt(),V=ft(),r=yt(),i=ht(),o=TypeError,A=Object.defineProperty,s=Object.getOwnPropertyDescriptor,a="enumerable",c="configurable",q="writable";e.f=t?V?function(e,t,n){if(r(e),t=i(t),r(n),"function"==typeof e&&"prototype"===t&&"value"in n&&q in n&&!n[q]){var V=s(e,t);V&&V[q]&&(e[t]=n.value,n={configurable:c in n?n[c]:V[c],enumerable:a in n?n[a]:V[a],writable:!1})}return A(e,t,n)}:A:function(e,t,V){if(r(e),t=i(t),r(V),n)try{return A(e,t,V)}catch(e){}if("get"in V||"set"in V)throw new o("Accessors not supported");return"value"in V&&(e[t]=V.value),e}}}),Mt=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/create-non-enumerable-property.js":function(e,t){var n=Fe(),V=wt(),r=Ye();t.exports=n?function(e,t,n){return V.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}}}),Ct=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/function-name.js":function(e,t){var n=Fe(),V=lt(),r=Function.prototype,i=n&&Object.getOwnPropertyDescriptor,o=V(r,"name"),A=o&&"something"===function(){}.name,s=o&&(!n||n&&i(r,"name").configurable);t.exports={EXISTS:o,PROPER:A,CONFIGURABLE:s}}}),xt=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/inspect-source.js":function(e,t){var n=Ke(),V=We(),r=at(),i=n(Function.toString);V(r.inspectSource)||(r.inspectSource=function(e){return i(e)}),t.exports=r.inspectSource}}),Et=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/weak-map-basic-detection.js":function(e,t){var n=Re(),V=We(),r=n.WeakMap;t.exports=V(r)&&/native code/.test(String(r))}}),kt=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/shared-key.js":function(e,t){var n=ct(),V=ut(),r=n("keys");t.exports=function(e){return r[e]||(r[e]=V(e))}}}),It=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/hidden-keys.js":function(e,t){t.exports={}}}),St=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/internal-state.js":function(e,t){var n,V,r,i,o,A=Et(),s=Re(),a=He(),c=Mt(),q=lt(),l=at(),u=kt(),p=It(),d="Object already initialized",h=s.TypeError,g=s.WeakMap;A||l.state?((i=l.state||(l.state=new g)).get=i.get,i.has=i.has,i.set=i.set,n=function(e,t){if(i.has(e))throw new h(d);return t.facade=e,i.set(e,t),t},V=function(e){return i.get(e)||{}},r=function(e){return i.has(e)}):(p[o=u("state")]=!0,n=function(e,t){if(q(e,o))throw new h(d);return t.facade=e,c(e,o,t),t},V=function(e){return q(e,o)?e[o]:{}},r=function(e){return q(e,o)}),t.exports={set:n,get:V,has:r,enforce:function(e){return r(e)?V(e):n(e,{})},getterFor:function(e){return function(t){var n;if(!a(t)||(n=V(t)).type!==e)throw new h("Incompatible receiver, "+e+" required");return n}}}}}),Ut=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/make-built-in.js":function(e,t){var n=Ke(),V=Qe(),r=We(),i=lt(),o=Fe(),A=Ct().CONFIGURABLE,s=xt(),a=St(),c=a.enforce,q=a.get,l=String,u=Object.defineProperty,p=n("".slice),d=n("".replace),h=n([].join),g=o&&!V((function(){return 8!==u((function(){}),"length",{value:8}).length})),m=String(String).split("String"),v=t.exports=function(e,t,n){"Symbol("===p(l(t),0,7)&&(t="["+d(l(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!i(e,"name")||A&&e.name!==t)&&(o?u(e,"name",{value:t,configurable:!0}):e.name=t),g&&n&&i(n,"arity")&&e.length!==n.arity&&u(e,"length",{value:n.arity});try{n&&i(n,"constructor")&&n.constructor?o&&u(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var V=c(e);return i(V,"source")||(V.source=h(m,"string"==typeof t?t:"")),e};Function.prototype.toString=v((function(){return r(this)&&q(this).source||s(this)}),"toString")}}),Dt=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/define-built-in.js":function(e,t){var n=We(),V=wt(),r=Ut(),i=st();t.exports=function(e,t,o,A){A||(A={});var s=A.enumerable,a=void 0!==A.name?A.name:t;if(n(o)&&r(o,a,A),A.global)s?e[t]=o:i(t,o);else{try{A.unsafe?e[t]&&(s=!0):delete e[t]}catch(e){}s?e[t]=o:V.f(e,t,{value:o,enumerable:!1,configurable:!A.nonConfigurable,writable:!A.nonWritable})}return e}}}),Tt=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/math-trunc.js":function(e,t){var n=Math.ceil,V=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?V:n)(t)}}}),Bt=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/to-integer-or-infinity.js":function(e,t){var n=Tt();t.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}}}),bt=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/to-absolute-index.js":function(e,t){var n=Bt(),V=Math.max,r=Math.min;t.exports=function(e,t){var i=n(e);return i<0?V(i+t,0):r(i,t)}}}),Rt=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/to-length.js":function(e,t){var n=Bt(),V=Math.min;t.exports=function(e){var t=n(e);return t>0?V(t,9007199254740991):0}}}),Qt=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/length-of-array-like.js":function(e,t){var n=Rt();t.exports=function(e){return n(e.length)}}}),Ft=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/array-includes.js":function(e,t){var n=Je(),V=bt(),r=Qt(),i=function(e){return function(t,i,o){var A=n(t),s=r(A);if(0===s)return!e&&-1;var a,c=V(o,s);if(e&&i!=i){for(;s>c;)if((a=A[c++])!=a)return!0}else for(;s>c;c++)if((e||c in A)&&A[c]===i)return e||c||0;return!e&&-1}};t.exports={includes:i(!0),indexOf:i(!1)}}}),Nt=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/object-keys-internal.js":function(e,t){var n=Ke(),V=lt(),r=Je(),i=Ft().indexOf,o=It(),A=n([].push);t.exports=function(e,t){var n,s=r(e),a=0,c=[];for(n in s)!V(o,n)&&V(s,n)&&A(c,n);for(;t.length>a;)V(s,n=t[a++])&&(~i(c,n)||A(c,n));return c}}}),jt=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/enum-bug-keys.js":function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}}),Ot=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/object-get-own-property-names.js":function(e){var t=Nt(),n=jt().concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,n)}}}),Yt=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/object-get-own-property-symbols.js":function(e){e.f=Object.getOwnPropertySymbols}}),Kt=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/own-keys.js":function(e,t){var n=Pe(),V=Ke(),r=Ot(),i=Yt(),o=yt(),A=V([].concat);t.exports=n("Reflect","ownKeys")||function(e){var t=r.f(o(e)),n=i.f;return n?A(t,n(e)):t}}}),Lt=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/copy-constructor-properties.js":function(e,t){var n=lt(),V=Kt(),r=vt(),i=wt();t.exports=function(e,t,o){for(var A=V(t),s=i.f,a=r.f,c=0;c<A.length;c++){var q=A[c];n(e,q)||o&&n(o,q)||s(e,q,a(t,q))}}}}),Zt=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/is-forced.js":function(e,t){var n=Qe(),V=We(),r=/#|\.prototype\./,i=function(e,t){var r=A[o(e)];return r===a||r!==s&&(V(t)?n(t):!!t)},o=i.normalize=function(e){return String(e).replace(r,".").toLowerCase()},A=i.data={},s=i.NATIVE="N",a=i.POLYFILL="P";t.exports=i}}),Gt=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/internals/export.js":function(e,t){var n=Re(),V=vt().f,r=Mt(),i=Dt(),o=st(),A=Lt(),s=Zt();t.exports=function(e,t){var a,c,q,l,u,p=e.target,d=e.global,h=e.stat;if(a=d?n:h?n[p]||o(p,{}):n[p]&&n[p].prototype)for(c in t){if(l=t[c],q=e.dontCallGetSet?(u=V(a,c))&&u.value:a[c],!s(d?c:p+(h?".":"#")+c,e.forced)&&void 0!==q){if(f(l)==f(q))continue;A(l,q)}(e.sham||q&&q.sham)&&r(l,"sham",!0),i(a,c,l,e)}}}}),zt=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/modules/es.global-this.js":function(){var e=Gt(),t=Re();e({global:!0,forced:t.globalThis!==t},{globalThis:t})}}),Jt=Be({"../node_modules/.pnpm/core-js@3.40.0/node_modules/core-js/es/global-this.js":function(e,t){zt(),t.exports=Re()}});me=Jt(),ve=null!=me?fe(ke(me)):{},function(e,t,n,V){if(t&&"object"===f(t)||"function"==typeof t){var r,i=s(xe(t));try{var o=function(){var i=r.value;Ie.call(e,i)||i===n||ye(e,i,{get:function(){return t[i]},enumerable:!(V=Me(t,i))||V.enumerable})};for(i.s();!(r=i.n()).done;)o()}catch(e){i.e(e)}finally{i.f()}}}(ye(ve,"default",{value:me,enumerable:!0}),me);var Wt=globalThis,Ht=Wt.ShadowRoot&&(void 0===Wt.ShadyCSS||Wt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Pt=Symbol(),Xt=new WeakMap,_t=function(){return A((function e(t,n,V){if(i(this,e),this._$cssResult$=!0,V!==Pt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=n}),[{key:"styleSheet",get:function(){var e=this.o,t=this.t;if(Ht&&void 0===e){var n=void 0!==t&&1===t.length;n&&(e=Xt.get(t)),void 0===e&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Xt.set(t,e))}return e}},{key:"toString",value:function(){return this.cssText}}])}(),$t=Ht?function(e){return e}:function(e){return e instanceof CSSStyleSheet?function(e){var t,n="",V=s(e.cssRules);try{for(V.s();!(t=V.n()).done;){n+=t.value.cssText}}catch(e){V.e(e)}finally{V.f()}return function(e){return new _t("string"==typeof e?e:e+"",void 0,Pt)}(n)}(e):e},en=Object.is,tn=Object.defineProperty,nn=Object.getOwnPropertyDescriptor,Vn=Object.getOwnPropertyNames,rn=Object.getOwnPropertySymbols,on=Object.getPrototypeOf,An=globalThis,sn=An.trustedTypes,an=sn?sn.emptyScript:"",cn=An.reactiveElementPolyfillSupport,qn=function(e,t){return e},ln={toAttribute:function(e,t){switch(t){case Boolean:e=e?an:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute:function(e,t){var n=e;switch(t){case Boolean:n=null!==e;break;case Number:n=null===e?null:Number(e);break;case Object:case Array:try{n=JSON.parse(e)}catch(e){n=null}}return n}},un=function(e,t){return!en(e,t)},pn={attribute:!0,type:String,converter:ln,reflect:!1,hasChanged:un};null!=Symbol.metadata||(Symbol.metadata=Symbol("metadata")),null!=An.litPropertyMetadata||(An.litPropertyMetadata=new WeakMap);var dn,hn=function(e){function t(){var e;return i(this,t),(e=r(this,t))._$Ep=void 0,e.isUpdatePending=!1,e.hasUpdated=!1,e._$Em=null,e._$Ev(),e}return q(t,e),A(t,[{key:"_$Ev",value:function(){var e,t=this;this._$ES=new Promise((function(e){return t.enableUpdating=e})),this._$AL=new Map,this._$E_(),this.requestUpdate(),null==(e=this.constructor.l)||e.forEach((function(e){return e(t)}))}},{key:"addController",value:function(e){var t,n;(null!=(t=this._$EO)?t:this._$EO=new Set).add(e),void 0!==this.renderRoot&&this.isConnected&&(null==(n=e.hostConnected)||n.call(e))}},{key:"removeController",value:function(e){var t;null==(t=this._$EO)||t.delete(e)}},{key:"_$E_",value:function(){var e,t=new Map,n=s(this.constructor.elementProperties.keys());try{for(n.s();!(e=n.n()).done;){var V=e.value;this.hasOwnProperty(V)&&(t.set(V,this[V]),delete this[V])}}catch(e){n.e(e)}finally{n.f()}t.size>0&&(this._$Ep=t)}},{key:"createRenderRoot",value:function(){var e,t=null!=(e=this.shadowRoot)?e:this.attachShadow(this.constructor.shadowRootOptions);return function(e,t){if(Ht)e.adoptedStyleSheets=t.map((function(e){return e instanceof CSSStyleSheet?e:e.styleSheet}));else{var n,V=s(t);try{for(V.s();!(n=V.n()).done;){var r=n.value,i=document.createElement("style"),o=Wt.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=r.cssText,e.appendChild(i)}}catch(e){V.e(e)}finally{V.f()}}}(t,this.constructor.elementStyles),t}},{key:"connectedCallback",value:function(){var e;null!=this.renderRoot||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null==(e=this._$EO)||e.forEach((function(e){var t;return null==(t=e.hostConnected)?void 0:t.call(e)}))}},{key:"enableUpdating",value:function(e){}},{key:"disconnectedCallback",value:function(){var e;null==(e=this._$EO)||e.forEach((function(e){var t;return null==(t=e.hostDisconnected)?void 0:t.call(e)}))}},{key:"attributeChangedCallback",value:function(e,t,n){this._$AK(e,n)}},{key:"_$EC",value:function(e,t){var n,V=this.constructor.elementProperties.get(e),r=this.constructor._$Eu(e,V);if(void 0!==r&&!0===V.reflect){var i=(void 0!==(null==(n=V.converter)?void 0:n.toAttribute)?V.converter:ln).toAttribute(t,V.type);this._$Em=e,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}},{key:"_$AK",value:function(e,t){var n,V=this.constructor,r=V._$Eh.get(e);if(void 0!==r&&this._$Em!==r){var i=V.getPropertyOptions(r),o="function"==typeof i.converter?{fromAttribute:i.converter}:void 0!==(null==(n=i.converter)?void 0:n.fromAttribute)?i.converter:ln;this._$Em=r,this[r]=o.fromAttribute(t,i.type),this._$Em=null}}},{key:"requestUpdate",value:function(e,t,n){var V;if(void 0!==e){if(null!=n||(n=this.constructor.getPropertyOptions(e)),!(null!=(V=n.hasChanged)?V:un)(this[e],t))return;this.P(e,t,n)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}},{key:"P",value:function(e,t,n){var V;this._$AL.has(e)||this._$AL.set(e,t),!0===n.reflect&&this._$Em!==e&&(null!=(V=this._$Ej)?V:this._$Ej=new Set).add(e)}},{key:"_$ET",value:(n=V(u().mark((function e(){var t;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.isUpdatePending=!0,e.prev=1,e.next=4,this._$ES;case 4:e.next=9;break;case 6:e.prev=6,e.t0=e.catch(1),Promise.reject(e.t0);case 9:if(t=this.scheduleUpdate(),e.t1=null!=t,!e.t1){e.next=14;break}return e.next=14,t;case 14:return e.abrupt("return",!this.isUpdatePending);case 15:case"end":return e.stop()}}),e,this,[[1,6]])}))),function(){return n.apply(this,arguments)})},{key:"scheduleUpdate",value:function(){return this.performUpdate()}},{key:"performUpdate",value:function(){var e;if(this.isUpdatePending){if(!this.hasUpdated){if(null!=this.renderRoot||(this.renderRoot=this.createRenderRoot()),this._$Ep){var t,n=s(this._$Ep);try{for(n.s();!(t=n.n()).done;){var V=d(t.value,2),r=V[0],i=V[1];this[r]=i}}catch(e){n.e(e)}finally{n.f()}this._$Ep=void 0}var o=this.constructor.elementProperties;if(o.size>0){var A,a=s(o);try{for(a.s();!(A=a.n()).done;){var c=d(A.value,2),q=c[0],l=c[1];!0!==l.wrapped||this._$AL.has(q)||void 0===this[q]||this.P(q,this[q],l)}}catch(e){a.e(e)}finally{a.f()}}}var u=!1,p=this._$AL;try{(u=this.shouldUpdate(p))?(this.willUpdate(p),null==(e=this._$EO)||e.forEach((function(e){var t;return null==(t=e.hostUpdate)?void 0:t.call(e)})),this.update(p)):this._$EU()}catch(i){throw u=!1,this._$EU(),i}u&&this._$AE(p)}}},{key:"willUpdate",value:function(e){}},{key:"_$AE",value:function(e){var t;null==(t=this._$EO)||t.forEach((function(e){var t;return null==(t=e.hostUpdated)?void 0:t.call(e)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}},{key:"_$EU",value:function(){this._$AL=new Map,this.isUpdatePending=!1}},{key:"updateComplete",get:function(){return this.getUpdateComplete()}},{key:"getUpdateComplete",value:function(){return this._$ES}},{key:"shouldUpdate",value:function(e){return!0}},{key:"update",value:function(e){var t=this;this._$Ej&&(this._$Ej=this._$Ej.forEach((function(e){return t._$EC(e,t[e])}))),this._$EU()}},{key:"updated",value:function(e){}},{key:"firstUpdated",value:function(e){}}],[{key:"addInitializer",value:function(e){var t;this._$Ei(),(null!=(t=this.l)?t:this.l=[]).push(e)}},{key:"observedAttributes",get:function(){return this.finalize(),this._$Eh&&m(this._$Eh.keys())}},{key:"createProperty",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pn;if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){var n=Symbol(),V=this.getPropertyDescriptor(e,n,t);void 0!==V&&tn(this.prototype,e,V)}}},{key:"getPropertyDescriptor",value:function(e,t,n){var V,r=null!=(V=nn(this.prototype,e))?V:{get:function(){return this[t]},set:function(e){this[t]=e}},i=r.get,o=r.set;return{get:function(){return null==i?void 0:i.call(this)},set:function(t){var V=null==i?void 0:i.call(this);o.call(this,t),this.requestUpdate(e,V,n)},configurable:!0,enumerable:!0}}},{key:"getPropertyOptions",value:function(e){var t;return null!=(t=this.elementProperties.get(e))?t:pn}},{key:"_$Ei",value:function(){if(!this.hasOwnProperty(qn("elementProperties"))){var e=on(this);e.finalize(),void 0!==e.l&&(this.l=m(e.l)),this.elementProperties=new Map(e.elementProperties)}}},{key:"finalize",value:function(){if(!this.hasOwnProperty(qn("finalized"))){if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(qn("properties"))){var e,t=this.properties,n=s([].concat(m(Vn(t)),m(rn(t))));try{for(n.s();!(e=n.n()).done;){var V=e.value;this.createProperty(V,t[V])}}catch(e){n.e(e)}finally{n.f()}}var r=this[Symbol.metadata];if(null!==r){var i=litPropertyMetadata.get(r);if(void 0!==i){var o,A=s(i);try{for(A.s();!(o=A.n()).done;){var a=d(o.value,2),c=a[0],q=a[1];this.elementProperties.set(c,q)}}catch(e){A.e(e)}finally{A.f()}}}this._$Eh=new Map;var l,u=s(this.elementProperties);try{for(u.s();!(l=u.n()).done;){var p=d(l.value,2),h=p[0],g=p[1],v=this._$Eu(h,g);void 0!==v&&this._$Eh.set(v,h)}}catch(e){u.e(e)}finally{u.f()}this.elementStyles=this.finalizeStyles(this.styles)}}},{key:"finalizeStyles",value:function(e){var t=[];if(Array.isArray(e)){var n,V=s(new Set(e.flat(1/0).reverse()));try{for(V.s();!(n=V.n()).done;){var r=n.value;t.unshift($t(r))}}catch(e){V.e(e)}finally{V.f()}}else void 0!==e&&t.push($t(e));return t}},{key:"_$Eu",value:function(e,t){var n=t.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof e?e.toLowerCase():void 0}}]);var n}(w(HTMLElement));hn.elementStyles=[],hn.shadowRootOptions={mode:"open"},hn[qn("elementProperties")]=new Map,hn[qn("finalized")]=new Map,null==cn||cn({ReactiveElement:hn}),(null!=(dn=An.reactiveElementVersions)?dn:An.reactiveElementVersions=[]).push("2.0.4");var gn,mn=globalThis,vn=mn.trustedTypes,fn=vn?vn.createPolicy("lit-html",{createHTML:function(e){return e}}):void 0,yn="$lit$",wn="lit$".concat(Math.random().toFixed(9).slice(2),"$"),Mn="?"+wn,Cn="<".concat(Mn,">"),xn=document,En=function(){return xn.createComment("")},kn=function(e){return null===e||"object"!=f(e)&&"function"!=typeof e},In=Array.isArray,Sn="[ \t\n\f\r]",Un=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Dn=/-->/g,Tn=/>/g,Bn=RegExp(">|".concat(Sn,"(?:([^\\s\"'>=/]+)(").concat(Sn,"*=").concat(Sn,"*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)"),"g"),bn=/'/g,Rn=/"/g,Qn=/^(?:script|style|textarea|title)$/i,Fn=(gn=1,function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),V=1;V<t;V++)n[V-1]=arguments[V];return{_$litType$:gn,strings:e,values:n}}),Nn=Symbol.for("lit-noChange"),jn=Symbol.for("lit-nothing"),On=new WeakMap,Yn=xn.createTreeWalker(xn,129);function Kn(e,t){if(!In(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==fn?fn.createHTML(t):t}var Ln=function(){return A((function e(t,n){var V,r=t.strings,o=t._$litType$;i(this,e),this.parts=[];var A=0,a=0,c=r.length-1,q=this.parts,l=function(e,t){for(var n,V=e.length-1,r=[],i=2===t?"<svg>":3===t?"<math>":"",o=Un,A=0;A<V;A++){for(var s=e[A],a=void 0,c=void 0,q=-1,l=0;l<s.length&&(o.lastIndex=l,null!==(c=o.exec(s)));)l=o.lastIndex,o===Un?"!--"===c[1]?o=Dn:void 0!==c[1]?o=Tn:void 0!==c[2]?(Qn.test(c[2])&&(n=RegExp("</"+c[2],"g")),o=Bn):void 0!==c[3]&&(o=Bn):o===Bn?">"===c[0]?(o=null!=n?n:Un,q=-1):void 0===c[1]?q=-2:(q=o.lastIndex-c[2].length,a=c[1],o=void 0===c[3]?Bn:'"'===c[3]?Rn:bn):o===Rn||o===bn?o=Bn:o===Dn||o===Tn?o=Un:(o=Bn,n=void 0);var u=o===Bn&&e[A+1].startsWith("/>")?" ":"";i+=o===Un?s+Cn:q>=0?(r.push(a),s.slice(0,q)+yn+s.slice(q)+wn+u):s+wn+(-2===q?A:u)}return[Kn(e,i+(e[V]||"<?>")+(2===t?"</svg>":3===t?"</math>":"")),r]}(r,o),u=d(l,2),p=u[0],h=u[1];if(this.el=e.createElement(p,n),Yn.currentNode=this.el.content,2===o||3===o){var g=this.el.content.firstChild;g.replaceWith.apply(g,m(g.childNodes))}for(;null!==(V=Yn.nextNode())&&q.length<c;){if(1===V.nodeType){if(V.hasAttributes()){var v,f=s(V.getAttributeNames());try{for(f.s();!(v=f.n()).done;){var y=v.value;if(y.endsWith(yn)){var w=h[a++],M=V.getAttribute(y).split(wn),C=/([.?@])?(.*)/.exec(w);q.push({type:1,index:A,name:C[2],strings:M,ctor:"."===C[1]?Hn:"?"===C[1]?Pn:"@"===C[1]?Xn:Wn}),V.removeAttribute(y)}else y.startsWith(wn)&&(q.push({type:6,index:A}),V.removeAttribute(y))}}catch(e){f.e(e)}finally{f.f()}}if(Qn.test(V.tagName)){var x=V.textContent.split(wn),E=x.length-1;if(E>0){V.textContent=vn?vn.emptyScript:"";for(var k=0;k<E;k++)V.append(x[k],En()),Yn.nextNode(),q.push({type:2,index:++A});V.append(x[E],En())}}}else if(8===V.nodeType)if(V.data===Mn)q.push({type:2,index:A});else for(var I=-1;-1!==(I=V.data.indexOf(wn,I+1));)q.push({type:7,index:A}),I+=wn.length-1;A++}}),null,[{key:"createElement",value:function(e,t){var n=xn.createElement("template");return n.innerHTML=e,n}}])}();function Zn(e,t){var n,V,r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,o=arguments.length>3?arguments[3]:void 0;if(t===Nn)return t;var A=void 0!==o?null==(n=i._$Co)?void 0:n[o]:i._$Cl,s=kn(t)?void 0:t._$litDirective$;return(null==A?void 0:A.constructor)!==s&&(null==(V=null==A?void 0:A._$AO)||V.call(A,!1),void 0===s?A=void 0:(A=new s(e))._$AT(e,i,o),void 0!==o?(null!=(r=i._$Co)?r:i._$Co=[])[o]=A:i._$Cl=A),void 0!==A&&(t=Zn(e,A._$AS(e,t.values),A,o)),t}var Gn,zn=function(){return A((function e(t,n){i(this,e),this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=n}),[{key:"parentNode",get:function(){return this._$AM.parentNode}},{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"u",value:function(e){var t,n=this._$AD,V=n.el.content,r=n.parts,i=(null!=(t=null==e?void 0:e.creationScope)?t:xn).importNode(V,!0);Yn.currentNode=i;for(var o=Yn.nextNode(),A=0,s=0,a=r[0];void 0!==a;){if(A===a.index){var c=void 0;2===a.type?c=new Jn(o,o.nextSibling,this,e):1===a.type?c=new a.ctor(o,a.name,a.strings,this,e):6===a.type&&(c=new _n(o,this,e)),this._$AV.push(c),a=r[++s]}A!==(null==a?void 0:a.index)&&(o=Yn.nextNode(),A++)}return Yn.currentNode=xn,i}},{key:"p",value:function(e){var t,n=0,V=s(this._$AV);try{for(V.s();!(t=V.n()).done;){var r=t.value;void 0!==r&&(void 0!==r.strings?(r._$AI(e,r,n),n+=r.strings.length-2):r._$AI(e[n])),n++}}catch(e){V.e(e)}finally{V.f()}}}])}(),Jn=function(){function e(t,n,V,r){var o;i(this,e),this.type=2,this._$AH=jn,this._$AN=void 0,this._$AA=t,this._$AB=n,this._$AM=V,this.options=r,this._$Cv=null==(o=null==r?void 0:r.isConnected)||o}return A(e,[{key:"_$AU",get:function(){var e,t;return null!=(t=null==(e=this._$AM)?void 0:e._$AU)?t:this._$Cv}},{key:"parentNode",get:function(){var e=this._$AA.parentNode,t=this._$AM;return void 0!==t&&11===(null==e?void 0:e.nodeType)&&(e=t.parentNode),e}},{key:"startNode",get:function(){return this._$AA}},{key:"endNode",get:function(){return this._$AB}},{key:"_$AI",value:function(e){e=Zn(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this),kn(e)?e===jn||null==e||""===e?(this._$AH!==jn&&this._$AR(),this._$AH=jn):e!==this._$AH&&e!==Nn&&this._(e):void 0!==e._$litType$?this.$(e):void 0!==e.nodeType?this.T(e):function(e){return In(e)||"function"==typeof(null==e?void 0:e[Symbol.iterator])}(e)?this.k(e):this._(e)}},{key:"O",value:function(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}},{key:"T",value:function(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}},{key:"_",value:function(e){this._$AH!==jn&&kn(this._$AH)?this._$AA.nextSibling.data=e:this.T(xn.createTextNode(e)),this._$AH=e}},{key:"$",value:function(e){var t,n=e.values,V=e._$litType$,r="number"==typeof V?this._$AC(e):(void 0===V.el&&(V.el=Ln.createElement(Kn(V.h,V.h[0]),this.options)),V);if((null==(t=this._$AH)?void 0:t._$AD)===r)this._$AH.p(n);else{var i=new zn(r,this),o=i.u(this.options);i.p(n),this.T(o),this._$AH=i}}},{key:"_$AC",value:function(e){var t=On.get(e.strings);return void 0===t&&On.set(e.strings,t=new Ln(e)),t}},{key:"k",value:function(t){In(this._$AH)||(this._$AH=[],this._$AR());var n,V,r=this._$AH,i=0,o=s(t);try{for(o.s();!(V=o.n()).done;){var A=V.value;i===r.length?r.push(n=new e(this.O(En()),this.O(En()),this,this.options)):n=r[i],n._$AI(A),i++}}catch(e){o.e(e)}finally{o.f()}i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}},{key:"_$AR",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._$AA.nextSibling,n=arguments.length>1?arguments[1]:void 0;for(null==(e=this._$AP)||e.call(this,!1,!0,n);t&&t!==this._$AB;){var V=t.nextSibling;t.remove(),t=V}}},{key:"setConnected",value:function(e){var t;void 0===this._$AM&&(this._$Cv=e,null==(t=this._$AP)||t.call(this,e))}}])}(),Wn=function(){return A((function e(t,n,V,r,o){i(this,e),this.type=1,this._$AH=jn,this._$AN=void 0,this.element=t,this.name=n,this._$AM=r,this.options=o,V.length>2||""!==V[0]||""!==V[1]?(this._$AH=Array(V.length-1).fill(new String),this.strings=V):this._$AH=jn}),[{key:"tagName",get:function(){return this.element.tagName}},{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AI",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,n=arguments.length>2?arguments[2]:void 0,V=arguments.length>3?arguments[3]:void 0,r=this.strings,i=!1;if(void 0===r)e=Zn(this,e,t,0),(i=!kn(e)||e!==this._$AH&&e!==Nn)&&(this._$AH=e);else{var o,A,s=e;for(e=r[0],o=0;o<r.length-1;o++)(A=Zn(this,s[n+o],t,o))===Nn&&(A=this._$AH[o]),i||(i=!kn(A)||A!==this._$AH[o]),A===jn?e=jn:e!==jn&&(e+=(null!=A?A:"")+r[o+1]),this._$AH[o]=A}i&&!V&&this.j(e)}},{key:"j",value:function(e){e===jn?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=e?e:"")}}])}(),Hn=function(e){function t(){var e;return i(this,t),(e=r(this,t,arguments)).type=3,e}return q(t,e),A(t,[{key:"j",value:function(e){this.element[this.name]=e===jn?void 0:e}}])}(Wn),Pn=function(e){function t(){var e;return i(this,t),(e=r(this,t,arguments)).type=4,e}return q(t,e),A(t,[{key:"j",value:function(e){this.element.toggleAttribute(this.name,!!e&&e!==jn)}}])}(Wn),Xn=function(e){function t(e,n,V,o,A){var s;return i(this,t),(s=r(this,t,[e,n,V,o,A])).type=5,s}return q(t,e),A(t,[{key:"_$AI",value:function(e){var t;if((e=null!=(t=Zn(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,0))?t:jn)!==Nn){var n=this._$AH,V=e===jn&&n!==jn||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,r=e!==jn&&(n===jn||V);V&&this.element.removeEventListener(this.name,this,n),r&&this.element.addEventListener(this.name,this,e),this._$AH=e}}},{key:"handleEvent",value:function(e){var t,n;"function"==typeof this._$AH?this._$AH.call(null!=(n=null==(t=this.options)?void 0:t.host)?n:this.element,e):this._$AH.handleEvent(e)}}])}(Wn),_n=function(){return A((function e(t,n,V){i(thi