feffery_utils_components 0.2.0-rc11 → 0.2.0-rc13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DESCRIPTION +1 -1
- package/NAMESPACE +2 -0
- package/Project.toml +1 -1
- package/README.md +1 -1
- package/assets/demo.jpg +0 -0
- package/feffery_utils_components/FefferySetFavicon.py +45 -0
- package/feffery_utils_components/FefferySetTitle.py +7 -4
- package/feffery_utils_components/FefferySliderCaptcha.py +109 -0
- package/feffery_utils_components/__init__.py +2 -1
- package/feffery_utils_components/_imports_.py +4 -0
- package/feffery_utils_components/async-feffery_animated_3d_background_p5.js +1 -1
- package/feffery_utils_components/async-feffery_animated_3d_background_three.js +2 -2
- package/feffery_utils_components/async-feffery_animated_image.js +1 -1
- package/feffery_utils_components/async-feffery_aplayer.js +1 -1
- package/feffery_utils_components/async-feffery_auto_animate.js +1 -1
- package/feffery_utils_components/async-feffery_auto_fit.js +1 -1
- package/feffery_utils_components/async-feffery_captcha.js +1 -1
- package/feffery_utils_components/async-feffery_color_pickers.js +1 -1
- package/feffery_utils_components/async-feffery_dom2image.js +1 -1
- package/feffery_utils_components/async-feffery_dplayer.js +1 -1
- package/feffery_utils_components/async-feffery_emoji_picker.js +1 -1
- package/feffery_utils_components/async-feffery_excel_preview.js +1 -1
- package/feffery_utils_components/async-feffery_extra_spinner.js +1 -1
- package/feffery_utils_components/async-feffery_fancy_button.js +1 -1
- package/feffery_utils_components/async-feffery_grid.js +1 -1
- package/feffery_utils_components/async-feffery_image_cropper.js +1 -1
- package/feffery_utils_components/async-feffery_json_viewer.js +1 -1
- package/feffery_utils_components/async-feffery_local_large_storage.js +1 -1
- package/feffery_utils_components/async-feffery_markdown_editor.js +2 -2
- package/feffery_utils_components/async-feffery_motion.js +1 -1
- package/feffery_utils_components/async-feffery_music_player.js +1 -1
- package/feffery_utils_components/async-feffery_photo_sphere_viewer.js +1 -1
- package/feffery_utils_components/async-feffery_resizable.js +1 -1
- package/feffery_utils_components/async-feffery_rich_text_editor.js +2 -2
- package/feffery_utils_components/async-feffery_rnd.js +1 -1
- package/feffery_utils_components/async-feffery_seamless_scroll.js +1 -1
- package/feffery_utils_components/async-feffery_shortcut_panel.js +1 -1
- package/feffery_utils_components/async-feffery_slider_captcha.js +1 -0
- package/feffery_utils_components/async-feffery_slider_captcha.js.LICENSE.txt +1 -0
- package/feffery_utils_components/async-feffery_sortable.js +1 -1
- package/feffery_utils_components/async-feffery_word_preview.js +1 -1
- package/feffery_utils_components/async-fuc-shared.js +2 -2
- package/feffery_utils_components/feffery_utils_components.min.js +2 -2
- package/feffery_utils_components/metadata.json +298 -1
- package/feffery_utils_components/package-info.json +3 -1
- package/package.json +3 -1
- package/src/lib/components/FefferySetFavicon.react.js +58 -0
- package/src/lib/components/FefferySetTitle.react.js +21 -6
- package/src/lib/components/FefferySliderCaptcha.react.js +160 -0
- package/src/lib/fragments/FefferySliderCaptcha.react.js +102 -0
- package/src/lib/index.js +5 -1
- package/usage.py +20 -48
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonpfeffery_utils_components=window.webpackJsonpfeffery_utils_components||[]).push([[3],{526:function(R,U,I){"use strict";I.r(U);var N=I(1),H=I.n(N);function B(t,e){var r,n,o,i,a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(a)return o=!(n=!0),{s:function(){a=a.call(t)},n:function(){var t=a.next();return n=t.done,t},e:function(t){o=!0,r=t},f:function(){try{n||null==a.return||a.return()}finally{if(o)throw r}}};if(Array.isArray(t)||(a=function(t){var e;if(t)return"string"==typeof t?D(t,void 0):"Map"===(e="Object"===(e=Object.prototype.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:e)||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?D(t,void 0):void 0}(t))||e&&t&&"number"==typeof t.length)return a&&(t=a),i=0,{s:e=function(){},n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:e};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function D(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function F(t){return(F="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 G(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,function(t){t=function(t){if("object"!=F(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=F(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t);return"symbol"==F(t)?t:String(t)}(n.key),n)}}function V(n){for(var t=arguments.length,e=new Array(1<t?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];var o=1===n.length?n[0]:e.reduce(function(t,e,r){return t+function(){if(!0===e._$cssResult$)return e.cssText;if("number"==typeof e)return e;throw Error("Value passed to 'css' function must be a 'css' function result: "+e+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")}()+n[r+1]},n[0]);return new Y(o,n,Z)}var W=globalThis,q=W.ShadowRoot&&(void 0===W.ShadyCSS||W.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Z=Symbol(),J=new WeakMap,Y=(G((t=Q).prototype,[{key:"styleSheet",get:function(){var t,e=this.o,r=this.t;return q&&void 0===e&&void 0===(e=(t=void 0!==r&&1===r.length)?J.get(r):e)&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),t)&&J.set(r,e),e}},{key:"toString",value:function(){return this.cssText}}]),Object.defineProperty(t,"prototype",{writable:!1}),Q),K=q?function(t){return t}:function(t){if(t instanceof CSSStyleSheet){var e,r="",n=B(t.cssRules);try{for(n.s();!(e=n.n()).done;)r+=e.value.cssText}catch(t){n.e(t)}finally{n.f()}return new Y("string"==typeof r?r:r+"",void 0,Z)}return t};function Q(t,e,r){if(!(this instanceof Q))throw new TypeError("Cannot call a class as a function");if(this._$cssResult$=!0,r!==Z)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}function $(t){return($="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 X(t){return function(t){if(Array.isArray(t))return ot(t)}(t)||function(){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}()||nt(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 tt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,e)||nt(t,e)||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 et(){et=function(){return a};var c,a={},t=Object.prototype,u=t.hasOwnProperty,s=Object.defineProperty||function(t,e,r){t[e]=r.value},e="function"==typeof Symbol?Symbol:{},n=e.iterator||"@@iterator",r=e.asyncIterator||"@@asyncIterator",o=e.toStringTag||"@@toStringTag";function i(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{i({},"")}catch(c){i=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var o,i,a,l,e=e&&e.prototype instanceof v?e:v,e=Object.create(e.prototype),n=new A(n||[]);return s(e,"_invoke",{value:(o=t,i=r,a=n,l=h,function(t,e){if(l===p)throw new Error("Generator is already running");if(l===y){if("throw"===t)throw e;return{value:c,done:!0}}for(a.method=t,a.arg=e;;){var r=a.delegate;if(r){r=function t(e,r){var n=r.method,o=e.iterator[n];if(o===c)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=c,t(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;n=f(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,d;o=n.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=c),r.delegate=null,d):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}(r,a);if(r){if(r===d)continue;return r}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(l===h)throw l=y,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);l=p;r=f(o,i,a);if("normal"===r.type){if(l=a.done?y:"suspendedYield",r.arg===d)continue;return{value:r.arg,done:a.done}}"throw"===r.type&&(l=y,a.method="throw",a.arg=r.arg)}})}),e}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}a.wrap=l;var h="suspendedStart",p="executing",y="completed",d={};function v(){}function b(){}function m(){}var e={},g=(i(e,n,function(){return this}),Object.getPrototypeOf),g=g&&g(g(E([]))),w=(g&&g!==t&&u.call(g,n)&&(e=g),m.prototype=v.prototype=Object.create(e));function _(t){["next","throw","return"].forEach(function(e){i(t,e,function(t){return this._invoke(e,t)})})}function O(a,l){var e;s(this,"_invoke",{value:function(r,n){function t(){return new l(function(t,e){!function e(t,r,n,o){var i,t=f(a[t],a,r);if("throw"!==t.type)return(r=(i=t.arg).value)&&"object"==$(r)&&u.call(r,"__await")?l.resolve(r.__await).then(function(t){e("next",t,n,o)},function(t){e("throw",t,n,o)}):l.resolve(r).then(function(t){i.value=t,n(i)},function(t){return e("throw",t,n,o)});o(t.arg)}(r,n,t,e)})}return e=e?e.then(t,t):t()}})}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function E(e){if(e||""===e){var r,t=e[n];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return r=-1,(t=function t(){for(;++r<e.length;)if(u.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=c,t.done=!0,t}).next=t}throw new TypeError($(e)+" is not iterable")}return s(w,"constructor",{value:b.prototype=m,configurable:!0}),s(m,"constructor",{value:b,configurable:!0}),b.displayName=i(m,o,"GeneratorFunction"),a.isGeneratorFunction=function(t){t="function"==typeof t&&t.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},a.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,i(t,o,"GeneratorFunction")),t.prototype=Object.create(w),t},a.awrap=function(t){return{__await:t}},_(O.prototype),i(O.prototype,r,function(){return this}),a.AsyncIterator=O,a.async=function(t,e,r,n,o){void 0===o&&(o=Promise);var i=new O(l(t,e,r,n),o);return a.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},_(w),i(w,o,"Generator"),i(w,n,function(){return this}),i(w,"toString",function(){return"[object Generator]"}),a.keys=function(t){var e,r=Object(t),n=[];for(e in r)n.push(e);return n.reverse(),function t(){for(;n.length;){var e=n.pop();if(e in r)return t.value=e,t.done=!1,t}return t.done=!0,t}},a.values=E,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=c,this.done=!1,this.delegate=null,this.method="next",this.arg=c,this.tryEntries.forEach(j),!t)for(var e in this)"t"===e.charAt(0)&&u.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=c)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var n=this;function t(t,e){return i.type="throw",i.arg=r,n.next=t,e&&(n.method="next",n.arg=c),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var o=this.tryEntries[e],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=u.call(o,"catchLoc"),l=u.call(o,"finallyLoc");if(a&&l){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;0<=r;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&u.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}var i=(o=o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc?null:o)?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r,n,o=this.tryEntries[e];if(o.tryLoc===t)return"throw"===(r=o.completion).type&&(n=r.arg,j(o)),n}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=c),d}},a}function rt(t,e,r,n,o,i,a){try{var l=t[i](a),c=l.value}catch(t){return r(t)}l.done?e(c):Promise.resolve(c).then(n,o)}function v(t,e){var r,n,o,i,a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(a)return o=!(n=!0),{s:function(){a=a.call(t)},n:function(){var t=a.next();return n=t.done,t},e:function(t){o=!0,r=t},f:function(){try{n||null==a.return||a.return()}finally{if(o)throw r}}};if(Array.isArray(t)||(a=nt(t))||e&&t&&"number"==typeof t.length)return a&&(t=a),i=0,{s:e=function(){},n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:e};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function nt(t,e){var r;if(t)return"string"==typeof t?ot(t,e):"Map"===(r="Object"===(r=Object.prototype.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:r)||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ot(t,e):void 0}function ot(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function it(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,function(t){t=function(t){if("object"!=$(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=$(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t);return"symbol"==$(t)?t:String(t)}(n.key),n)}}function at(t){var r="function"==typeof Map?new Map:void 0;return function(t){if(null===t||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,e)}function e(){return function(t,e,r){var n;return lt()?Reflect.construct.apply(null,arguments):((n=[null]).push.apply(n,e),e=new(t.bind.apply(t,n)),r&&ct(e,r.prototype),e)}(t,arguments,ut(this).constructor)}return e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),ct(e,t)}(t)}function lt(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lt=function(){return!!t})()}function ct(t,e){return(ct=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function ut(t){return(ut=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var st=Object.is,ft=Object.defineProperty,ht=Object.getOwnPropertyDescriptor,pt=Object.getOwnPropertyNames,yt=Object.getOwnPropertySymbols,dt=Object.getPrototypeOf,t=globalThis,e=t.trustedTypes,vt=e?e.emptyScript:"",e=t.reactiveElementPolyfillSupport,bt={toAttribute:function(t,e){switch(e){case Boolean:t=t?vt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute:function(t,e){var r=t;switch(e){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},mt=function(t,e){return!st(t,e)},gt={attribute:!0,type:String,converter:bt,reflect:!1,hasChanged:mt};null==Symbol.metadata&&(Symbol.metadata=Symbol("metadata")),null==t.litPropertyMetadata&&(t.litPropertyMetadata=new WeakMap);var r=function(t){function e(){var t;if(this instanceof e)return(t=function(t,e,r){e=ut(e);var n=t;if(!(e=lt()?Reflect.construct(e,r||[],ut(t).constructor):e.apply(t,r))||"object"!==$(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=n))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}(this,e))._$Ep=void 0,t.isUpdatePending=!1,t.hasUpdated=!1,t._$Em=null,t._$Ev(),t;throw new TypeError("Cannot call a class as a function")}var r,l,n,o=e;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");return o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&ct(o,t),o=e,t=[{key:"_$Ev",value:function(){var t,e=this;this._$ES=new Promise(function(t){return e.enableUpdating=t}),this._$AL=new Map,this._$E_(),this.requestUpdate(),null!=(t=this.constructor.l)&&t.forEach(function(t){return t(e)})}},{key:"addController",value:function(t){var e;(null!=(e=this._$EO)?e:this._$EO=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&null!=(e=t.hostConnected)&&e.call(t)}},{key:"removeController",value:function(t){var e;null!=(e=this._$EO)&&e.delete(t)}},{key:"_$E_",value:function(){var t,e=new Map,r=v(this.constructor.elementProperties.keys());try{for(r.s();!(t=r.n()).done;){var n=t.value;this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n])}}catch(t){r.e(t)}finally{r.f()}0<e.size&&(this._$Ep=e)}},{key:"createRenderRoot",value:function(){var t=null!=(t=this.shadowRoot)?t:this.attachShadow(this.constructor.shadowRootOptions),e=t,r=this.constructor.elementStyles;if(q)e.adoptedStyleSheets=r.map(function(t){return t instanceof CSSStyleSheet?t:t.styleSheet});else{var n,o=B(r);try{for(o.s();!(n=o.n()).done;){var i=n.value,a=document.createElement("style"),l=W.litNonce;void 0!==l&&a.setAttribute("nonce",l),a.textContent=i.cssText,e.appendChild(a)}}catch(e){o.e(e)}finally{o.f()}}return t}},{key:"connectedCallback",value:function(){var t;null==this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null!=(t=this._$EO)&&t.forEach(function(t){var e;return null==(e=t.hostConnected)?void 0:e.call(t)})}},{key:"enableUpdating",value:function(t){}},{key:"disconnectedCallback",value:function(){var t;null!=(t=this._$EO)&&t.forEach(function(t){var e;return null==(e=t.hostDisconnected)?void 0:e.call(t)})}},{key:"attributeChangedCallback",value:function(t,e,r){this._$AK(t,r)}},{key:"_$EC",value:function(t,e){var r,n=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,n);void 0!==o&&!0===n.reflect&&(r=(void 0!==(null==(r=n.converter)?void 0:r.toAttribute)?n.converter:bt).toAttribute(e,n.type),this._$Em=t,null==r?this.removeAttribute(o):this.setAttribute(o,r),this._$Em=null)}},{key:"_$AK",value:function(t,e){var r,n=this.constructor,t=n._$Eh.get(t);void 0!==t&&this._$Em!==t&&(r="function"==typeof(n=n.getPropertyOptions(t)).converter?{fromAttribute:n.converter}:void 0!==(null==(r=n.converter)?void 0:r.fromAttribute)?n.converter:bt,this._$Em=t,this[t]=r.fromAttribute(e,n.type),this._$Em=null)}},{key:"requestUpdate",value:function(t,e,r){if(void 0!==t){var n;if(!(null!=(n=(r=null==r?this.constructor.getPropertyOptions(t):r).hasChanged)?n:mt)(this[t],e))return;this.P(t,e,r)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}},{key:"P",value:function(t,e,r){this._$AL.has(t)||this._$AL.set(t,e),!0===r.reflect&&this._$Em!==t&&(null!=(e=this._$Ej)?e:this._$Ej=new Set).add(t)}},{key:"_$ET",value:(l=et().mark(function t(){var e;return et().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.isUpdatePending=!0,t.prev=1,t.next=4,this._$ES;case 4:t.next=9;break;case 6:t.prev=6,t.t0=t.catch(1),Promise.reject(t.t0);case 9:if(e=this.scheduleUpdate(),t.t1=null!=e,t.t1)return t.next=14,e;t.next=14;break;case 14:return t.abrupt("return",!this.isUpdatePending);case 15:case"end":return t.stop()}},t,this,[[1,6]])}),n=function(){var t=this,a=arguments;return new Promise(function(e,r){var n=l.apply(t,a);function o(t){rt(n,e,r,o,i,"next",t)}function i(t){rt(n,e,r,o,i,"throw",t)}o(void 0)})},function(){return n.apply(this,arguments)})},{key:"scheduleUpdate",value:function(){return this.performUpdate()}},{key:"performUpdate",value:function(){if(this.isUpdatePending){if(!this.hasUpdated){if(null==this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this._$Ep){var t,e=v(this._$Ep);try{for(e.s();!(t=e.n()).done;){var r=tt(t.value,2),n=r[0],o=r[1];this[n]=o}}catch(t){e.e(t)}finally{e.f()}this._$Ep=void 0}var i=this.constructor.elementProperties;if(0<i.size){var a,l=v(i);try{for(l.s();!(a=l.n()).done;){var c=tt(a.value,2),u=c[0],s=c[1];!0!==s.wrapped||this._$AL.has(u)||void 0===this[u]||this.P(u,this[u],s)}}catch(t){l.e(t)}finally{l.f()}}}var f,i=!1,h=this._$AL;try{(i=this.shouldUpdate(h))?(this.willUpdate(h),null!=(f=this._$EO)&&f.forEach(function(t){var e;return null==(e=t.hostUpdate)?void 0:e.call(t)}),this.update(h)):this._$EU()}catch(h){throw i=!1,this._$EU(),h}i&&this._$AE(h)}}},{key:"willUpdate",value:function(t){}},{key:"_$AE",value:function(t){var e;null!=(e=this._$EO)&&e.forEach(function(t){var e;return null==(e=t.hostUpdated)?void 0:e.call(t)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}},{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(t){return!0}},{key:"update",value:function(t){var e=this;this._$Ej&&(this._$Ej=this._$Ej.forEach(function(t){return e._$EC(t,e[t])})),this._$EU()}},{key:"updated",value:function(t){}},{key:"firstUpdated",value:function(t){}}],r=[{key:"addInitializer",value:function(t){var e;this._$Ei(),(null!=(e=this.l)?e:this.l=[]).push(t)}},{key:"observedAttributes",get:function(){return this.finalize(),this._$Eh&&X(this._$Eh.keys())}},{key:"createProperty",value:function(t){var e,r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:gt;r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(t,r),r.noAccessor||(e=Symbol(),void 0!==(e=this.getPropertyDescriptor(t,e,r))&&ft(this.prototype,t,e))}},{key:"getPropertyDescriptor",value:function(r,e,n){var t=null!=(t=ht(this.prototype,r))?t:{get:function(){return this[e]},set:function(t){this[e]=t}},o=t.get,i=t.set;return{get:function(){return null==o?void 0:o.call(this)},set:function(t){var e=null==o?void 0:o.call(this);i.call(this,t),this.requestUpdate(r,e,n)},configurable:!0,enumerable:!0}}},{key:"getPropertyOptions",value:function(t){return null!=(t=this.elementProperties.get(t))?t:gt}},{key:"_$Ei",value:function(){var t;this.hasOwnProperty("elementProperties")||((t=dt(this)).finalize(),void 0!==t.l&&(this.l=X(t.l)),this.elementProperties=new Map(t.elementProperties))}},{key:"finalize",value:function(){if(!this.hasOwnProperty("finalized")){if(this.finalized=!0,this._$Ei(),this.hasOwnProperty("properties")){var t,e=this.properties,r=v([].concat(X(pt(e)),X(yt(e))));try{for(r.s();!(t=r.n()).done;){var n=t.value;this.createProperty(n,e[n])}}catch(t){r.e(t)}finally{r.f()}}var o=this[Symbol.metadata];if(null!==o){o=litPropertyMetadata.get(o);if(void 0!==o){var i,a=v(o);try{for(a.s();!(i=a.n()).done;){var l=tt(i.value,2),c=l[0],u=l[1];this.elementProperties.set(c,u)}}catch(t){a.e(t)}finally{a.f()}}}this._$Eh=new Map;var s,f=v(this.elementProperties);try{for(f.s();!(s=f.n()).done;){var h=tt(s.value,2),p=h[0],y=h[1],d=this._$Eu(p,y);void 0!==d&&this._$Eh.set(d,p)}}catch(t){f.e(t)}finally{f.f()}this.elementStyles=this.finalizeStyles(this.styles)}}},{key:"finalizeStyles",value:function(t){var e=[];if(Array.isArray(t)){var r,n=v(new Set(t.flat(1/0).reverse()));try{for(n.s();!(r=n.n()).done;){var o=r.value;e.unshift(K(o))}}catch(t){n.e(t)}finally{n.f()}}else void 0!==t&&e.push(K(t));return e}},{key:"_$Eu",value:function(t,e){e=e.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}}],it(o.prototype,t),it(o,r),Object.defineProperty(o,"prototype",{writable:!1}),e}(at(HTMLElement));function wt(t,e,r){e=_t(e);var n=t,e=function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return t}()?Reflect.construct(e,r||[],_t(t).constructor):e.apply(t,r);if(!e||"object"!==o(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=n))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function _t(t){return(_t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ot(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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&St(t,e)}function St(t,e){return(St=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function jt(t,e){var r,n,o,i,a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(a)return o=!(n=!0),{s:function(){a=a.call(t)},n:function(){var t=a.next();return n=t.done,t},e:function(t){o=!0,r=t},f:function(){try{n||null==a.return||a.return()}finally{if(o)throw r}}};if(Array.isArray(t)||(a=At(t))||e&&t&&"number"==typeof t.length)return a&&(t=a),i=0,{s:e=function(){},n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:e};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function At(t,e){var r;if(t)return"string"==typeof t?Et(t,e):"Map"===(r="Object"===(r=Object.prototype.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:r)||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Et(t,e):void 0}function Et(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function _(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,function(t){t=function(t){if("object"!=o(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=o(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t);return"symbol"==o(t)?t:String(t)}(n.key),n)}}function n(t,e,r){e&&$t(t.prototype,e),r&&$t(t,r),Object.defineProperty(t,"prototype",{writable:!1})}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)}r.elementStyles=[],r.shadowRootOptions={mode:"open"},r.elementProperties=new Map,r.finalized=new Map,null!=e&&e({ReactiveElement:r}),(null!=(e=t.reactiveElementVersions)?e:t.reactiveElementVersions=[]).push("2.0.4");function O(){return u.createComment("")}function s(t){return null===t||"object"!=o(t)&&"function"!=typeof t}function Pt(o){return function(t){for(var e=arguments.length,r=new Array(1<e?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return{_$litType$:o,strings:t,values:r}}}var e=globalThis,kt=e.trustedTypes,xt=kt?kt.createPolicy("lit-html",{createHTML:function(t){return t}}):void 0,S="lit$".concat((Math.random()+"").slice(9),"$"),Lt="?"+S,Ct="<".concat(Lt,">"),u=document,Tt=Array.isArray,j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Mt=/-->/g,zt=/>/g,A=RegExp(">|".concat("[ \t\n\f\r]","(?:([^\\s\"'>=/]+)(").concat("[ \t\n\f\r]","*=").concat("[ \t\n\f\r]","*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)"),"g"),Rt=/'/g,Ut=/"/g,It=/^(?:script|style|textarea|title)$/i,Nt=Pt(1),f=(Pt(2),Symbol.for("lit-noChange")),h=Symbol.for("lit-nothing"),Ht=new WeakMap,E=u.createTreeWalker(u,129);function Bt(t,e){if(Array.isArray(t)&&t.hasOwnProperty("raw"))return void 0!==xt?xt.createHTML(e):e;throw Error("invalid template strings array")}n(Ft,null,[{key:"createElement",value:function(t,e){var r=u.createElement("template");return r.innerHTML=t,r}}]);var Dt=Ft;function Ft(t,e){var r,n,o=t.strings,t=t._$litType$,i=(_(this,Ft),this.parts=[],0),a=0,l=o.length-1,c=this.parts,o=(o=function(t,e){for(var r,n=t.length-1,o=[],i=2===e?"<svg>":"",a=j,l=0;l<n;l++){for(var c=t[l],u=void 0,s=void 0,f=-1,h=0;h<c.length&&(a.lastIndex=h,null!==(s=a.exec(c)));){var p,h=a.lastIndex;a===j?"!--"===s[1]?a=Mt:void 0!==s[1]?a=zt:void 0!==s[2]?(It.test(s[2])&&(r=RegExp("</"+s[2],"g")),a=A):void 0!==s[3]&&(a=A):a===A?">"===s[0]?(a=null!=(p=r)?p:j,f=-1):void 0===s[1]?f=-2:(f=a.lastIndex-s[2].length,u=s[1],a=void 0===s[3]?A:'"'===s[3]?Ut:Rt):a===Ut||a===Rt?a=A:a===Mt||a===zt?a=j:(a=A,r=void 0)}var y=a===A&&t[l+1].startsWith("/>")?" ":"";i+=a===j?c+Ct:0<=f?(o.push(u),c.slice(0,f)+"$lit$"+c.slice(f)+S+y):c+S+(-2===f?l:y)}return[Bt(t,i+(t[n]||"<?>")+(2===e?"</svg>":"")),o]}(o,t),u=2,function(t){if(Array.isArray(t))return t}(o)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(o,u)||At(o,u)||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.")}()),u=o[0],s=o[1];for(this.el=Ft.createElement(u,e),E.currentNode=this.el.content,2===t&&(o=this.el.content.firstChild).replaceWith.apply(o,function(t){if(Array.isArray(t))return Et(t)}(n=o.childNodes)||function(){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}()||At(n)||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.")}());null!==(r=E.nextNode())&&c.length<l;){if(1===r.nodeType){if(r.hasAttributes()){var f,h=jt(r.getAttributeNames());try{for(h.s();!(f=h.n()).done;){var p,y,d,v=f.value;v.endsWith("$lit$")?(p=s[a++],y=r.getAttribute(v).split(S),d=/([.?@])?(.*)/.exec(p),c.push({type:1,index:i,name:d[2],strings:y,ctor:"."===d[1]?qt:"?"===d[1]?Zt:"@"===d[1]?Jt:Wt}),r.removeAttribute(v)):v.startsWith(S)&&(c.push({type:6,index:i}),r.removeAttribute(v))}}catch(t){h.e(t)}finally{h.f()}}if(It.test(r.tagName)){var b=r.textContent.split(S),m=b.length-1;if(0<m){r.textContent=kt?kt.emptyScript:"";for(var g=0;g<m;g++)r.append(b[g],O()),E.nextNode(),c.push({type:2,index:++i});r.append(b[m],O())}}}else if(8===r.nodeType)if(r.data===Lt)c.push({type:2,index:i});else for(var w=-1;-1!==(w=r.data.indexOf(S,w+1));)c.push({type:7,index:i}),w+=S.length-1;i++}}function p(t,e,r,n){var o,i,a,l,r=2<arguments.length&&void 0!==r?r:t,n=3<arguments.length?n:void 0;return e=e!==f&&(a=void 0!==n?null==(a=r._$Co)?void 0:a[n]:r._$Cl,l=s(e)?void 0:e._$litDirective$,(null==(o=a)?void 0:o.constructor)!==l&&(null!=(o=a)&&null!=(i=o._$AO)&&i.call(o,!1),void 0===l?a=void 0:(a=new l(t))._$AT(t,r,n),void 0!==n?(null!=(i=r._$Co)?i:r._$Co=[])[n]=a:r._$Cl=a),void 0!==a)?p(t,a._$AS(t,e.values),a,n):e}n(te,[{key:"parentNode",get:function(){return this._$AM.parentNode}},{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"u",value:function(t){var e=this._$AD,r=e.el.content,n=e.parts,e=(null!=(e=null==t?void 0:t.creationScope)?e:u).importNode(r,!0);E.currentNode=e;for(var o,i=E.nextNode(),a=0,l=0,c=n[0];void 0!==c;)a===c.index&&(o=void 0,2===c.type?o=new Vt(i,i.nextSibling,this,t):1===c.type?o=new c.ctor(i,c.name,c.strings,this,t):6===c.type&&(o=new Yt(i,this,t)),this._$AV.push(o),c=n[++l]),a!==(null==(o=c)?void 0:o.index)&&(i=E.nextNode(),a++);return E.currentNode=u,e}},{key:"p",value:function(t){var e,r=0,n=jt(this._$AV);try{for(n.s();!(e=n.n()).done;){var o=e.value;void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,r),r+=o.strings.length-2):o._$AI(t[r])),r++}}catch(t){n.e(t)}finally{n.f()}}}]);var Gt=te,Vt=(n(Xt,[{key:"_$AU",get:function(){var t;return null!=(t=null==(t=this._$AM)?void 0:t._$AU)?t:this._$Cv}},{key:"parentNode",get:function(){var t,e=this._$AA.parentNode,r=this._$AM;return e=void 0!==r&&11===(null==(t=e)?void 0:t.nodeType)?r.parentNode:e}},{key:"startNode",get:function(){return this._$AA}},{key:"endNode",get:function(){return this._$AB}},{key:"_$AI",value:function(t){var e;t=p(this,t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:this),s(t)?t===h||null==t||""===t?(this._$AH!==h&&this._$AR(),this._$AH=h):t!==this._$AH&&t!==f&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):Tt(e=t)||"function"==typeof(null==e?void 0:e[Symbol.iterator])?this.k(t):this._(t)}},{key:"S",value:function(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}},{key:"T",value:function(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}},{key:"_",value:function(t){this._$AH!==h&&s(this._$AH)?this._$AA.nextSibling.data=t:this.T(u.createTextNode(t)),this._$AH=t}},{key:"$",value:function(t){var e=t.values,r=t._$litType$,t="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=Dt.createElement(Bt(r.h,r.h[0]),this.options)),r);(null==(r=this._$AH)?void 0:r._$AD)===t?this._$AH.p(e):(t=(r=new Gt(t,this)).u(this.options),r.p(e),this.T(t),this._$AH=r)}},{key:"_$AC",value:function(t){var e=Ht.get(t.strings);return void 0===e&&Ht.set(t.strings,e=new Dt(t)),e}},{key:"k",value:function(t){Tt(this._$AH)||(this._$AH=[],this._$AR());var e,r,n=this._$AH,o=0,i=jt(t);try{for(i.s();!(r=i.n()).done;){var a=r.value;o===n.length?n.push(e=new Xt(this.S(O()),this.S(O()),this,this.options)):e=n[o],e._$AI(a),o++}}catch(t){i.e(t)}finally{i.f()}o<n.length&&(this._$AR(e&&e._$AB.nextSibling,o),n.length=o)}},{key:"_$AR",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this._$AA.nextSibling;for(null!=(e=this._$AP)&&e.call(this,!1,!0,1<arguments.length?arguments[1]:void 0);t&&t!==this._$AB;){var e,r=t.nextSibling;t.remove(),t=r}}},{key:"setConnected",value:function(t){var e;void 0===this._$AM&&(this._$Cv=t,null!=(e=this._$AP))&&e.call(this,t)}}]),Xt),Wt=(n(Qt,[{key:"tagName",get:function(){return this.element.tagName}},{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AI",value:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:this,r=2<arguments.length?arguments[2]:void 0,n=3<arguments.length?arguments[3]:void 0,o=this.strings,i=!1;if(void 0===o)t=p(this,t,e,0),(i=!s(t)||t!==this._$AH&&t!==f)&&(this._$AH=t);else{var a,l,c,u=t;for(t=o[0],a=0;a<o.length-1;a++)(l=p(this,u[r+a],e,a))===f&&(l=this._$AH[a]),i=i||!s(l)||l!==this._$AH[a],l===h?t=h:t!==h&&(t+=(null!=(c=l)?c:"")+o[a+1]),this._$AH[a]=l}i&&!n&&this.j(t)}},{key:"j",value:function(t){t===h?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}]),Qt),qt=(Ot(l,Wt),n(l,[{key:"j",value:function(t){this.element[this.name]=t===h?void 0:t}}]),l),Zt=(Ot(a,Wt),n(a,[{key:"j",value:function(t){this.element.toggleAttribute(this.name,!!t&&t!==h)}}]),a),Jt=(Ot(i,Wt),n(i,[{key:"_$AI",value:function(t){var e,r,n;(t=null!=(e=p(this,t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:this,0))?e:h)!==f&&(e=this._$AH,r=t===h&&e!==h||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==h&&(e===h||r),r&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t)}},{key:"handleEvent",value:function(t){var e;"function"==typeof this._$AH?this._$AH.call(null!=(e=null==(e=this.options)?void 0:e.host)?e:this.element,t):this._$AH.handleEvent(t)}}]),i),Yt=(n(Kt,[{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AI",value:function(t){p(this,t)}}]),Kt),t=e.litHtmlPolyfillSupport;function Kt(t,e,r){_(this,Kt),this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}function i(t,e,r,n,o){return _(this,i),(t=wt(this,i,[t,e,r,n,o])).type=5,t}function a(){var t;return _(this,a),(t=wt(this,a,arguments)).type=4,t}function l(){var t;return _(this,l),(t=wt(this,l,arguments)).type=3,t}function Qt(t,e,r,n,o){_(this,Qt),this.type=1,this._$AH=h,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=o,2<r.length||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=h}function Xt(t,e,r,n){_(this,Xt),this.type=2,this._$AH=h,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=n,this._$Cv=null==(t=null==n?void 0:n.isConnected)||t}function te(t,e){_(this,te),this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}function c(t){return(c="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 ee(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,function(t){t=function(t){if("object"!=c(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=c(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t);return"symbol"==c(t)?t:String(t)}(n.key),n)}}function re(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y(){return(y="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=d(t)););return t}(t,e);if(n)return(n=Object.getOwnPropertyDescriptor(n,e)).get?n.get.call(arguments.length<3?t:r):n.value}).apply(this,arguments)}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ne(t,e){return(ne=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}null!=t&&t(Dt,Vt),(null!=(t=e.litHtmlVersions)?t:e.litHtmlVersions=[]).push("3.1.2");t=function(){function a(){var t=this,e=a;if(t instanceof e)return(t=function(t,e,r){e=d(e);var n=t;if((e=function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return t}()?Reflect.construct(e,r||[],d(t).constructor):e.apply(t,r))&&("object"===c(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return re(n)}(this,a,arguments)).renderOptions={host:re(t)},t._$Do=void 0,t;throw new TypeError("Cannot call a class as a function")}var t=a,e=r;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ne(t,e),ee((t=a).prototype,[{key:"createRenderRoot",value:function(){var t,e=y(d(a.prototype),"createRenderRoot",this).call(this);return null==(t=this.renderOptions).renderBefore&&(t.renderBefore=e.firstChild),e}},{key:"update",value:function(t){var e,r,n,o,i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),y(d(a.prototype),"update",this).call(this,t),this._$Do=(t=i,i=this.renderRoot,e=this.renderOptions,n=null!=(n=null==e?void 0:e.renderBefore)?n:i,void 0===(o=n._$litPart$)&&(r=null!=(r=null==e?void 0:e.renderBefore)?r:null,n._$litPart$=o=new Vt(i.insertBefore(O(),r),r,void 0,null!=e?e:{})),o._$AI(t),o)}},{key:"connectedCallback",value:function(){var t;y(d(a.prototype),"connectedCallback",this).call(this),null!=(t=this._$Do)&&t.setConnected(!0)}},{key:"disconnectedCallback",value:function(){var t;y(d(a.prototype),"disconnectedCallback",this).call(this),null!=(t=this._$Do)&&t.setConnected(!1)}},{key:"render",value:function(){return f}}]),Object.defineProperty(t,"prototype",{writable:!1}),a}(),t._$litElement$=!0,t.finalized=!0,null!=(e=globalThis.litElementHydrateSupport)&&e.call(globalThis,{LitElement:t}),e=globalThis.litElementPolyfillSupport;null!=e&&e({LitElement:t}),(null!=(e=globalThis.litElementVersions)?e:globalThis.litElementVersions=[]).push("4.0.4");e=V((e=["\n :host {\n --control-box-size: 3rem;\n --icon-size: calc(var(--control-box-size) * 0.625);\n\n display: inline-flex;\n position: relative;\n cursor: pointer;\n }\n\n img {\n display: block;\n width: 100%;\n height: 100%;\n }\n\n img[aria-hidden='true'] {\n display: none;\n }\n\n .animated-image__control-box {\n display: flex;\n position: absolute;\n align-items: center;\n justify-content: center;\n top: calc(50% - var(--control-box-size) / 2);\n right: calc(50% - var(--control-box-size) / 2);\n width: var(--control-box-size);\n height: var(--control-box-size);\n font-size: var(--icon-size);\n background: none;\n border: solid 2px currentColor;\n background-color: rgb(0 0 0 /50%);\n border-radius: var(--sl-border-radius-circle);\n color: white;\n pointer-events: none;\n transition: var(--sl-transition-fast) opacity;\n }\n\n :host([play]:hover) .animated-image__control-box {\n opacity: 1;\n }\n\n :host([play]:not(:hover)) .animated-image__control-box {\n opacity: 0;\n }\n\n :host([play]) slot[name='play-icon'],\n :host(:not([play])) slot[name='pause-icon'] {\n display: none;\n }\n"],b=b||e.slice(0),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(b)}}))));function oe(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var ie="";function ae(t){ie=t}var le={caret:'\n <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">\n <polyline points="6 9 12 15 18 9"></polyline>\n </svg>\n ',check:'\n <svg part="checked-icon" class="checkbox__icon" viewBox="0 0 16 16">\n <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round">\n <g stroke="currentColor">\n <g transform="translate(3.428571, 3.428571)">\n <path d="M0,5.71428571 L3.42857143,9.14285714"></path>\n <path d="M9.14285714,0 L3.42857143,9.14285714"></path>\n </g>\n </g>\n </g>\n </svg>\n ',"chevron-down":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16">\n <path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/>\n </svg>\n ',"chevron-left":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-left" viewBox="0 0 16 16">\n <path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/>\n </svg>\n ',"chevron-right":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-right" viewBox="0 0 16 16">\n <path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/>\n </svg>\n ',copy:'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-copy" viewBox="0 0 16 16">\n <path fill-rule="evenodd" d="M4 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V2Zm2-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H6ZM2 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-1h1v1a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h1v1H2Z"/>\n </svg>\n ',eye:'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eye" viewBox="0 0 16 16">\n <path d="M16 8s-3-5.5-8-5.5S0 8 0 8s3 5.5 8 5.5S16 8 16 8zM1.173 8a13.133 13.133 0 0 1 1.66-2.043C4.12 4.668 5.88 3.5 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.133 13.133 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755C11.879 11.332 10.119 12.5 8 12.5c-2.12 0-3.879-1.168-5.168-2.457A13.134 13.134 0 0 1 1.172 8z"/>\n <path d="M8 5.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zM4.5 8a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0z"/>\n </svg>\n ',"eye-slash":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eye-slash" viewBox="0 0 16 16">\n <path d="M13.359 11.238C15.06 9.72 16 8 16 8s-3-5.5-8-5.5a7.028 7.028 0 0 0-2.79.588l.77.771A5.944 5.944 0 0 1 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.134 13.134 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755-.165.165-.337.328-.517.486l.708.709z"/>\n <path d="M11.297 9.176a3.5 3.5 0 0 0-4.474-4.474l.823.823a2.5 2.5 0 0 1 2.829 2.829l.822.822zm-2.943 1.299.822.822a3.5 3.5 0 0 1-4.474-4.474l.823.823a2.5 2.5 0 0 0 2.829 2.829z"/>\n <path d="M3.35 5.47c-.18.16-.353.322-.518.487A13.134 13.134 0 0 0 1.172 8l.195.288c.335.48.83 1.12 1.465 1.755C4.121 11.332 5.881 12.5 8 12.5c.716 0 1.39-.133 2.02-.36l.77.772A7.029 7.029 0 0 1 8 13.5C3 13.5 0 8 0 8s.939-1.721 2.641-3.238l.708.709zm10.296 8.884-12-12 .708-.708 12 12-.708.708z"/>\n </svg>\n ',eyedropper:'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eyedropper" viewBox="0 0 16 16">\n <path d="M13.354.646a1.207 1.207 0 0 0-1.708 0L8.5 3.793l-.646-.647a.5.5 0 1 0-.708.708L8.293 5l-7.147 7.146A.5.5 0 0 0 1 12.5v1.793l-.854.853a.5.5 0 1 0 .708.707L1.707 15H3.5a.5.5 0 0 0 .354-.146L11 7.707l1.146 1.147a.5.5 0 0 0 .708-.708l-.647-.646 3.147-3.146a1.207 1.207 0 0 0 0-1.708l-2-2zM2 12.707l7-7L10.293 7l-7 7H2v-1.293z"></path>\n </svg>\n ',"grip-vertical":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-grip-vertical" viewBox="0 0 16 16">\n <path d="M7 2a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"></path>\n </svg>\n ',indeterminate:'\n <svg part="indeterminate-icon" class="checkbox__icon" viewBox="0 0 16 16">\n <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round">\n <g stroke="currentColor" stroke-width="2">\n <g transform="translate(2.285714, 6.857143)">\n <path d="M10.2857143,1.14285714 L1.14285714,1.14285714"></path>\n </g>\n </g>\n </g>\n </svg>\n ',"person-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-person-fill" viewBox="0 0 16 16">\n <path d="M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>\n </svg>\n ',"play-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-play-fill" viewBox="0 0 16 16">\n <path d="m11.596 8.697-6.363 3.692c-.54.313-1.233-.066-1.233-.697V4.308c0-.63.692-1.01 1.233-.696l6.363 3.692a.802.802 0 0 1 0 1.393z"></path>\n </svg>\n ',"pause-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-pause-fill" viewBox="0 0 16 16">\n <path d="M5.5 3.5A1.5 1.5 0 0 1 7 5v6a1.5 1.5 0 0 1-3 0V5a1.5 1.5 0 0 1 1.5-1.5zm5 0A1.5 1.5 0 0 1 12 5v6a1.5 1.5 0 0 1-3 0V5a1.5 1.5 0 0 1 1.5-1.5z"></path>\n </svg>\n ',radio:'\n <svg part="checked-icon" class="radio__icon" viewBox="0 0 16 16">\n <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g fill="currentColor">\n <circle cx="8" cy="8" r="3.42857143"></circle>\n </g>\n </g>\n </svg>\n ',"star-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-star-fill" viewBox="0 0 16 16">\n <path d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"/>\n </svg>\n ',"x-lg":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-lg" viewBox="0 0 16 16">\n <path d="M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z"/>\n </svg>\n ',"x-circle-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-circle-fill" viewBox="0 0 16 16">\n <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z"></path>\n </svg>\n '},ce=[{name:"default",resolver:function(t){return function(t){var e,r,n,t=0<arguments.length&&void 0!==t?t:"";return ie||((r=(e=function(t){if(Array.isArray(t))return oe(t)}(n=document.getElementsByTagName("script"))||function(){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}()||function(t){var e;if(t)return"string"==typeof t?oe(t,void 0):"Map"===(e="Object"===(e=Object.prototype.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:e)||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?oe(t,void 0):void 0}(n)||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.")}()).find(function(t){return t.hasAttribute("data-shoelace")}))?ae(r.getAttribute("data-shoelace")):(r="",ae((r=(e=e.find(function(t){return/shoelace(\.min)?\.js($|\?)/.test(t.src)||/shoelace-autoloader(\.min)?\.js($|\?)/.test(t.src)}))?e.getAttribute("src"):r).split("/").slice(0,-1).join("/")))),ie.replace(/\/$/,"")+(t?"/".concat(t.replace(/^\//,"")):"")}("assets/icons/".concat(t,".svg"))}},{name:"system",resolver:function(t){return t in le?"data:image/svg+xml,".concat(encodeURIComponent(le[t])):""}}],ue=[];function se(e){return ce.find(function(t){return t.name===e})}var b=V((b=["\n :host {\n display: inline-block;\n width: 1em;\n height: 1em;\n box-sizing: content-box !important;\n }\n\n svg {\n display: block;\n height: 100%;\n width: 100%;\n }\n"],g=g||b.slice(0),Object.freeze(Object.defineProperties(b,{raw:{value:Object.freeze(g)}}))));function fe(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function he(t,e,r){e in t?ye(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r}function pe(t,e){for(var r in e=e||{})be.call(e,r)&&he(t,r,e[r]);if(ve){var n,o=function(t,e){var r,n,o,i,a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(a)return o=!(n=!0),{s:function(){a=a.call(t)},n:function(){var t=a.next();return n=t.done,t},e:function(t){o=!0,r=t},f:function(){try{n||null==a.return||a.return()}finally{if(o)throw r}}};if(Array.isArray(t)||(a=function(t){var e;if(t)return"string"==typeof t?fe(t,void 0):"Map"===(e="Object"===(e=Object.prototype.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:e)||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?fe(t,void 0):void 0}(t))||e&&t&&"number"==typeof t.length)return a&&(t=a),i=0,{s:e=function(){},n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:e};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(ve(e));try{for(o.s();!(n=o.n()).done;)r=n.value,me.call(e,r)&&he(t,r,e[r])}catch(t){o.e(t)}finally{o.f()}}return t}function m(t,e,r,n){for(var o,i=1<n?void 0:n?de(e,r):e,a=t.length-1;0<=a;a--)(o=t[a])&&(i=(n?o(e,r,i):o(i))||i);n&&i&&ye(e,r,i)}var ye=Object.defineProperty,de=(Object.defineProperties,Object.getOwnPropertyDescriptor),ve=(Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols),be=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable;function ge(r,t){var a=pe({waitUntilFirstUpdate:!1},t);return function(t,o){var e=t.update,i=Array.isArray(r)?r:[r];t.update=function(r){var n=this;i.forEach(function(t){var e;!r.has(t)||(e=r.get(t))===(t=n[t])||a.waitUntilFirstUpdate&&!n.hasUpdated||n[o](e,t)}),e.call(this,r)}}}var g=V((g=["\n :host {\n box-sizing: border-box;\n }\n\n :host *,\n :host *::before,\n :host *::after {\n box-sizing: inherit;\n }\n\n [hidden] {\n display: none !important;\n }\n"],M=M||g.slice(0),Object.freeze(Object.defineProperties(g,{raw:{value:Object.freeze(M)}}))));function we(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function _e(o){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?we(Object(i),!0).forEach(function(t){var e,r,n;e=o,r=i[t=t],n=function(t){if("object"!=w(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=w(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t),(t="symbol"==w(n)?n:String(n))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(i)):we(Object(i)).forEach(function(t){Object.defineProperty(o,t,Object.getOwnPropertyDescriptor(i,t))})}return o}function w(t){return(w="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 Oe={attribute:!0,type:String,converter:bt,reflect:!1,hasChanged:mt};function P(o){return function(t,e){return"object"==w(e)?function(t,e,r){var n,o,i=0<arguments.length&&void 0!==t?t:Oe,a=1<arguments.length?e:void 0,t=2<arguments.length?r:void 0,e=t.kind,r=t.metadata,l=globalThis.litPropertyMetadata.get(r);if(void 0===l&&globalThis.litPropertyMetadata.set(r,l=new Map),l.set(t.name,i),"accessor"===e)return n=t.name,{set:function(t){var e=a.get.call(this);a.set.call(this,t),this.requestUpdate(n,e,i)},init:function(t){return void 0!==t&&this.P(n,void 0,i),t}};if("setter"===e)return o=t.name,function(t){var e=this[o];a.call(this,t),this.requestUpdate(o,e,i)};throw Error("Unsupported decorator location: "+e)}(o,t,e):(r=o,e=e,n=(t=t).hasOwnProperty(e),t.constructor.createProperty(e,n?_e(_e({},r),{},{wrapped:!0}):r),n?Object.getOwnPropertyDescriptor(t,e):void 0);var r,n}}function Se(t){return(Se="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 je(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function Ae(o){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?je(Object(i),!0).forEach(function(t){var e,r,n;e=o,r=i[t=t],n=function(t){if("object"!=Se(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=Se(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t),(t="symbol"==Se(n)?n:String(n))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(i)):je(Object(i)).forEach(function(t){Object.defineProperty(o,t,Object.getOwnPropertyDescriptor(i,t))})}return o}function Ee(t){return P(Ae(Ae({},t),{},{state:!0,attribute:!1}))}function $e(t){return($e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Pe(t,e,r){return r.configurable=!0,r.enumerable=!0,Reflect.decorate&&"object"!=$e(e)&&Object.defineProperty(t,e,r),r}function k(t){return(k="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 ke(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function xe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Le(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,function(t){t=function(t){if("object"!=k(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=k(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t);return"symbol"==k(t)?t:String(t)}(n.key),n)}}function Ce(t,e,r){return e&&Le(t.prototype,e),r&&Le(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function Te(t,e,r){e=Me(e);var n=t,e=function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return t}()?Reflect.construct(e,r||[],Me(t).constructor):e.apply(t,r);if(!e||"object"!==k(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=n))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function Me(t){return(Me=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ze(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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Re(t,e)}function Re(t,e){return(Re=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}ze(L,t),Ce(L,[{key:"emit",value:function(t,e){t=new CustomEvent(t,pe({bubbles:!0,cancelable:!1,composed:!0,detail:{}},e));return this.dispatchEvent(t),t}}],[{key:"define",value:function(t){var e,r,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:this,o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},i=customElements.get(t);function a(){return xe(this,a),Te(this,a,arguments)}i?(r=e=" (unknown version)","version"in n&&n.version&&(e=" v"+n.version),"version"in i&&i.version&&(r=" v"+i.version),e&&r&&e===r||console.warn("Attempted to register <".concat(t,">").concat(e,", but <").concat(t,">").concat(r," has already been registered."))):customElements.define(t,(ze(a,n),Ce(a)),o)}}]);var Ue,x=L;function L(){var r;return xe(this,L),r=Te(this,L),Object.entries(r.constructor.dependencies).forEach(function(t){e=2;var t=function(t){if(Array.isArray(t))return t}(t=t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,e)||function(t,e){var r;if(t)return"string"==typeof t?ke(t,e):"Map"===(r="Object"===(r=Object.prototype.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:r)||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ke(t,e):void 0}(t,e)||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.")}(),e=t[0],t=t[1];r.constructor.define(e,t)}),r}function C(t){return(C="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 Ie(){Ie=function(){return a};var c,a={},t=Object.prototype,u=t.hasOwnProperty,s=Object.defineProperty||function(t,e,r){t[e]=r.value},e="function"==typeof Symbol?Symbol:{},n=e.iterator||"@@iterator",r=e.asyncIterator||"@@asyncIterator",o=e.toStringTag||"@@toStringTag";function i(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{i({},"")}catch(c){i=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var o,i,a,l,e=e&&e.prototype instanceof v?e:v,e=Object.create(e.prototype),n=new A(n||[]);return s(e,"_invoke",{value:(o=t,i=r,a=n,l=h,function(t,e){if(l===p)throw new Error("Generator is already running");if(l===y){if("throw"===t)throw e;return{value:c,done:!0}}for(a.method=t,a.arg=e;;){var r=a.delegate;if(r){r=function t(e,r){var n=r.method,o=e.iterator[n];if(o===c)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=c,t(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;n=f(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,d;o=n.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=c),r.delegate=null,d):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}(r,a);if(r){if(r===d)continue;return r}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(l===h)throw l=y,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);l=p;r=f(o,i,a);if("normal"===r.type){if(l=a.done?y:"suspendedYield",r.arg===d)continue;return{value:r.arg,done:a.done}}"throw"===r.type&&(l=y,a.method="throw",a.arg=r.arg)}})}),e}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}a.wrap=l;var h="suspendedStart",p="executing",y="completed",d={};function v(){}function b(){}function m(){}var e={},g=(i(e,n,function(){return this}),Object.getPrototypeOf),g=g&&g(g(E([]))),w=(g&&g!==t&&u.call(g,n)&&(e=g),m.prototype=v.prototype=Object.create(e));function _(t){["next","throw","return"].forEach(function(e){i(t,e,function(t){return this._invoke(e,t)})})}function O(a,l){var e;s(this,"_invoke",{value:function(r,n){function t(){return new l(function(t,e){!function e(t,r,n,o){var i,t=f(a[t],a,r);if("throw"!==t.type)return(r=(i=t.arg).value)&&"object"==C(r)&&u.call(r,"__await")?l.resolve(r.__await).then(function(t){e("next",t,n,o)},function(t){e("throw",t,n,o)}):l.resolve(r).then(function(t){i.value=t,n(i)},function(t){return e("throw",t,n,o)});o(t.arg)}(r,n,t,e)})}return e=e?e.then(t,t):t()}})}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function E(e){if(e||""===e){var r,t=e[n];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return r=-1,(t=function t(){for(;++r<e.length;)if(u.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=c,t.done=!0,t}).next=t}throw new TypeError(C(e)+" is not iterable")}return s(w,"constructor",{value:b.prototype=m,configurable:!0}),s(m,"constructor",{value:b,configurable:!0}),b.displayName=i(m,o,"GeneratorFunction"),a.isGeneratorFunction=function(t){t="function"==typeof t&&t.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},a.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,i(t,o,"GeneratorFunction")),t.prototype=Object.create(w),t},a.awrap=function(t){return{__await:t}},_(O.prototype),i(O.prototype,r,function(){return this}),a.AsyncIterator=O,a.async=function(t,e,r,n,o){void 0===o&&(o=Promise);var i=new O(l(t,e,r,n),o);return a.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},_(w),i(w,o,"Generator"),i(w,n,function(){return this}),i(w,"toString",function(){return"[object Generator]"}),a.keys=function(t){var e,r=Object(t),n=[];for(e in r)n.push(e);return n.reverse(),function t(){for(;n.length;){var e=n.pop();if(e in r)return t.value=e,t.done=!1,t}return t.done=!0,t}},a.values=E,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=c,this.done=!1,this.delegate=null,this.method="next",this.arg=c,this.tryEntries.forEach(j),!t)for(var e in this)"t"===e.charAt(0)&&u.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=c)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var n=this;function t(t,e){return i.type="throw",i.arg=r,n.next=t,e&&(n.method="next",n.arg=c),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var o=this.tryEntries[e],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=u.call(o,"catchLoc"),l=u.call(o,"finallyLoc");if(a&&l){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;0<=r;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&u.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}var i=(o=o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc?null:o)?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r,n,o=this.tryEntries[e];if(o.tryLoc===t)return"throw"===(r=o.completion).type&&(n=r.arg,j(o)),n}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=c),d}},a}function Ne(t,e,r,n,o,i,a){try{var l=t[i](a),c=l.value}catch(t){return r(t)}l.done?e(c):Promise.resolve(c).then(n,o)}function He(l){return function(){var t=this,a=arguments;return new Promise(function(e,r){var n=l.apply(t,a);function o(t){Ne(n,e,r,o,i,"next",t)}function i(t){Ne(n,e,r,o,i,"throw",t)}o(void 0)})}}function Be(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,function(t){t=function(t){if("object"!=C(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=C(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t);return"symbol"==C(t)?t:String(t)}(n.key),n)}}function De(){return(De="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=T(t)););return t}(t,e);if(n)return(n=Object.getOwnPropertyDescriptor(n,e)).get?n.get.call(arguments.length<3?t:r):n.value}).apply(this,arguments)}function T(t){return(T=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Fe(t,e){return(Fe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}x.version="2.14.0",x.dependencies={},m([P()],x.prototype,"dir",2),m([P()],x.prototype,"lang",2);var Ge,Ve,We,qe=Symbol(),Ze=Symbol(),Je=new Map,M=function(){function r(){var t=this,e=r;if(t instanceof e)return(t=function(t,e,r){e=T(e);var n=t;if(!(e=function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return t}()?Reflect.construct(e,r||[],T(t).constructor):e.apply(t,r))||"object"!==C(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=n))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}(this,r,arguments)).initialRender=!1,t.svg=null,t.label="",t.library="default",t;throw new TypeError("Cannot call a class as a function")}var t,n,e=r,o=x;if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function");return e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),o&&Fe(e,o),e=r,o=[{key:"resolveIcon",value:(n=He(Ie().mark(function t(n,o){var i,a,l,c,u;return Ie().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(null!=o&&o.spriteSheet)return t.abrupt("return",Nt(Ue||(e=['<svg part="svg">\n <use part="use" href="','"></use>\n </svg>'],r=(r=void 0)||e.slice(0),Ue=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))),n));t.next=2;break;case 2:return t.prev=2,t.next=5,fetch(n,{mode:"cors"});case 5:if((i=t.sent).ok){t.next=8;break}return t.abrupt("return",410===i.status?qe:Ze);case 8:t.next=13;break;case 10:return t.prev=10,t.t0=t.catch(2),t.abrupt("return",Ze);case 13:return t.prev=13,a=document.createElement("div"),t.next=17,i.text();case 17:if(a.innerHTML=t.sent,l=a.firstElementChild,"svg"!==(null==(c=null==l?void 0:l.tagName)?void 0:c.toLowerCase()))return t.abrupt("return",qe);t.next=21;break;case 21:if(Ge=Ge||new DOMParser,c=Ge.parseFromString(l.outerHTML,"text/html"),u=c.body.querySelector("svg")){t.next=26;break}return t.abrupt("return",qe);case 26:return u.part.add("svg"),t.abrupt("return",document.adoptNode(u));case 30:return t.prev=30,t.t1=t.catch(13),t.abrupt("return",qe);case 33:case"end":return t.stop()}var e,r},t,null,[[2,10],[13,30]])})),function(t,e){return n.apply(this,arguments)})},{key:"connectedCallback",value:function(){De(T(r.prototype),"connectedCallback",this).call(this),ue.push(this)}},{key:"firstUpdated",value:function(){this.initialRender=!0,this.setIcon()}},{key:"disconnectedCallback",value:function(){var e;De(T(r.prototype),"disconnectedCallback",this).call(this),e=this,ue=ue.filter(function(t){return t!==e})}},{key:"getIconSource",value:function(){var t=se(this.library);return this.name&&t?{url:t.resolver(this.name),fromLibrary:!0}:{url:this.src,fromLibrary:!1}}},{key:"handleLabelChange",value:function(){"string"==typeof this.label&&0<this.label.length?(this.setAttribute("role","img"),this.setAttribute("aria-label",this.label),this.removeAttribute("aria-hidden")):(this.removeAttribute("role"),this.removeAttribute("aria-label"),this.setAttribute("aria-hidden","true"))}},{key:"setIcon",value:(t=He(Ie().mark(function t(){var r,n,o,i,a;return Ie().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(o=this.getIconSource(),n=o.url,o=o.fromLibrary,o=o?se(this.library):void 0,n){t.next=5;break}return this.svg=null,t.abrupt("return");case 5:if((i=Je.get(n))||(i=this.resolveIcon(n,o),Je.set(n,i)),this.initialRender){t.next=9;break}return t.abrupt("return");case 9:return t.next=11,i;case 11:if((a=t.sent)===Ze&&Je.delete(n),n!==this.getIconSource().url)return t.abrupt("return");t.next=15;break;case 15:if(void 0!==(null==(e=a)?void 0:e._$litType$))return this.svg=a,t.abrupt("return");t.next=18;break;case 18:t.t0=a,t.next=t.t0===Ze||t.t0===qe?21:24;break;case 21:return this.svg=null,this.emit("sl-error"),t.abrupt("break",27);case 24:this.svg=a.cloneNode(!0),null!=(r=null==o?void 0:o.mutator)&&r.call(o,this.svg),this.emit("sl-load");case 27:case"end":return t.stop()}var e},t,this)})),function(){return t.apply(this,arguments)})},{key:"render",value:function(){return this.svg}}],Be(e.prototype,o),Object.defineProperty(e,"prototype",{writable:!1}),r}();function Ye(t){return(Ye="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 Ke(t,e){return e=e||t.slice(0),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function Qe(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,function(t){t=function(t){if("object"!=Ye(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=Ye(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t);return"symbol"==Ye(t)?t:String(t)}(n.key),n)}}function Xe(t){return(Xe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tr(t,e){return(tr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}M.styles=[g,b],m([Ee()],M.prototype,"svg",2),m([P({reflect:!0})],M.prototype,"name",2),m([P()],M.prototype,"src",2),m([P()],M.prototype,"label",2),m([P({reflect:!0})],M.prototype,"library",2),m([ge("label")],M.prototype,"handleLabelChange",1),m([ge(["name","src","library"])],M.prototype,"setIcon",1);t=function(){function r(){var t=this,e=r;if(t instanceof e)return(t=function(t,e,r){e=Xe(e);var n=t;if(!(e=function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return t}()?Reflect.construct(e,r||[],Xe(t).constructor):e.apply(t,r))||"object"!==Ye(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=n))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}(this,r,arguments)).isLoaded=!1,t;throw new TypeError("Cannot call a class as a function")}var t=r,e=x;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&tr(t,e),Qe((t=r).prototype,[{key:"handleClick",value:function(){this.play=!this.play}},{key:"handleLoad",value:function(){var t=document.createElement("canvas"),e=this.animatedImage,r=e.width,e=e.height;t.width=r,t.height=e,t.getContext("2d").drawImage(this.animatedImage,0,0,r,e),this.frozenFrame=t.toDataURL("image/gif"),this.isLoaded||(this.emit("sl-load"),this.isLoaded=!0)}},{key:"handleError",value:function(){this.emit("sl-error")}},{key:"handlePlayChange",value:function(){this.play&&(this.animatedImage.src="",this.animatedImage.src=this.src)}},{key:"handleSrcChange",value:function(){this.isLoaded=!1}},{key:"render",value:function(){return Nt(Ve=Ve||Ke(['\n <div class="animated-image">\n <img\n class="animated-image__animated"\n src=',"\n alt=",'\n crossorigin="anonymous"\n aria-hidden=',"\n @click=","\n @load=","\n @error=","\n />\n\n ","\n </div>\n "]),this.src,this.alt,this.play?"false":"true",this.handleClick,this.handleLoad,this.handleError,this.isLoaded?Nt(We=We||Ke(['\n <img\n class="animated-image__frozen"\n src=',"\n alt=","\n aria-hidden=","\n @click=",'\n />\n\n <div part="control-box" class="animated-image__control-box">\n <slot name="play-icon"><sl-icon name="play-fill" library="system"></sl-icon></slot>\n <slot name="pause-icon"><sl-icon name="pause-fill" library="system"></sl-icon></slot>\n </div>\n ']),this.frozenFrame,this.alt,this.play?"true":"false",this.handleClick):"")}}]),Object.defineProperty(t,"prototype",{writable:!1}),r}();function er(t){return(er="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 rr(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function nr(o){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?rr(Object(i),!0).forEach(function(t){var e,r,n;e=o,r=i[t=t],n=function(t){if("object"!=er(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=er(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t),(t="symbol"==er(n)?n:String(n))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(i)):rr(Object(i)).forEach(function(t){Object.defineProperty(o,t,Object.getOwnPropertyDescriptor(i,t))})}return o}function or(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}t.styles=[g,e],t.dependencies={"sl-icon":M},m([function(t,e,r){function n(t){return null!=(t=null==(t=t.renderRoot)?void 0:t.querySelector(".animated-image__animated"))?t:null}return Pe(t,e,{get:function(){return n(this)}})}],t.prototype,"animatedImage",2),m([Ee()],t.prototype,"frozenFrame",2),m([Ee()],t.prototype,"isLoaded",2),m([P()],t.prototype,"src",2),m([P()],t.prototype,"alt",2),m([P({type:Boolean,reflect:!0})],t.prototype,"play",2),m([ge("play",{waitUntilFirstUpdate:!0})],t.prototype,"handlePlayChange",1),m([ge("src")],t.prototype,"handleSrcChange",1);function ir(t){var e=t.id,r=t.className,n=t.style,o=t.src,i=t.alt,a=t.play,t=(t.setProps,t.loading_state);return H.a.createElement(hr,{id:e,className:r,style:n,src:o,alt:i,play:a,"data-dash-is-loading":t&&t.is_loading||void 0})}var z,ar,lr,cr,ur,sr=new Set(["children","localName","ref","style","className"]),fr=new WeakMap,hr=(t.define("sl-animated-image"),z=(b={tagName:"sl-animated-image",elementClass:t,react:N,events:{onSlLoad:"sl-load",onSlError:"sl-error"},displayName:"SlAnimatedImage"}).react,ar=b.tagName,lr=b.elementClass,cr=b.events,b=b.displayName,ur=new Set(Object.keys(null!=cr?cr:{})),(g=z.forwardRef(function(i,e){for(var a=z.useRef(null),l=z.useRef(null),t={},c={},r=0,n=Object.entries(i);r<n.length;r++){o=n[r],u=2;var o=function(t){if(Array.isArray(t))return t}(o)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(o,u)||function(t,e){var r;if(t)return"string"==typeof t?or(t,e):"Map"===(r="Object"===(r=Object.prototype.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:r)||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?or(t,e):void 0}(o,u)||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.")}(),u=o[0],o=o[1];sr.has(u)?t["className"===u?"class":u]=o:ur.has(u)||u in lr.prototype?c[u]=o:t[u]=o}return z.useLayoutEffect(function(){if(null!==l.current){for(var t in c)e=l.current,r=t,n=i[t],t=a.current?a.current[t]:void 0,o=cr,o=null==o?void 0:o[r],void 0===o||n===t?null==(e[r]=n)&&r in HTMLElement.prototype&&e.removeAttribute(r):(t=e,r=o,e=n,void 0===(o=fr.get(t))&&fr.set(t,o=new Map),n=o.get(r),void 0!==e?void 0===n?(o.set(r,n={handleEvent:e}),t.addEventListener(r,n)):n.handleEvent=e:void 0!==n&&(o.delete(r),t.removeEventListener(r,n)));a.current=i}var e,r,n,o}),z.useLayoutEffect(function(){var t;null!=(t=l.current)&&t.removeAttribute("defer-hydration")},[]),t.suppressHydrationWarning=!0,z.createElement(ar,nr(nr({},t),{},{ref:z.useCallback(function(t){l.current=t,"function"==typeof e?e(t):null!==e&&(e.current=t)},[e])}))})).displayName=null!=b?b:lr.name,g),e=I(228);(U.default=ir).defaultProps=e.b,ir.propTypes=e.c}}]);
|
|
1
|
+
(window.webpackJsonpfeffery_utils_components=window.webpackJsonpfeffery_utils_components||[]).push([[3],{527:function(R,U,I){"use strict";I.r(U);var N=I(1),H=I.n(N);function B(t,e){var r,n,o,i,a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(a)return o=!(n=!0),{s:function(){a=a.call(t)},n:function(){var t=a.next();return n=t.done,t},e:function(t){o=!0,r=t},f:function(){try{n||null==a.return||a.return()}finally{if(o)throw r}}};if(Array.isArray(t)||(a=function(t){var e;if(t)return"string"==typeof t?D(t,void 0):"Map"===(e="Object"===(e=Object.prototype.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:e)||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?D(t,void 0):void 0}(t))||e&&t&&"number"==typeof t.length)return a&&(t=a),i=0,{s:e=function(){},n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:e};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function D(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function F(t){return(F="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 G(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,function(t){t=function(t){if("object"!=F(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=F(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t);return"symbol"==F(t)?t:String(t)}(n.key),n)}}function V(n){for(var t=arguments.length,e=new Array(1<t?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];var o=1===n.length?n[0]:e.reduce(function(t,e,r){return t+function(){if(!0===e._$cssResult$)return e.cssText;if("number"==typeof e)return e;throw Error("Value passed to 'css' function must be a 'css' function result: "+e+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")}()+n[r+1]},n[0]);return new Y(o,n,Z)}var W=globalThis,q=W.ShadowRoot&&(void 0===W.ShadyCSS||W.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Z=Symbol(),J=new WeakMap,Y=(G((t=Q).prototype,[{key:"styleSheet",get:function(){var t,e=this.o,r=this.t;return q&&void 0===e&&void 0===(e=(t=void 0!==r&&1===r.length)?J.get(r):e)&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),t)&&J.set(r,e),e}},{key:"toString",value:function(){return this.cssText}}]),Object.defineProperty(t,"prototype",{writable:!1}),Q),K=q?function(t){return t}:function(t){if(t instanceof CSSStyleSheet){var e,r="",n=B(t.cssRules);try{for(n.s();!(e=n.n()).done;)r+=e.value.cssText}catch(t){n.e(t)}finally{n.f()}return new Y("string"==typeof r?r:r+"",void 0,Z)}return t};function Q(t,e,r){if(!(this instanceof Q))throw new TypeError("Cannot call a class as a function");if(this._$cssResult$=!0,r!==Z)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}function $(t){return($="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 X(t){return function(t){if(Array.isArray(t))return ot(t)}(t)||function(){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}()||nt(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 tt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,e)||nt(t,e)||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 et(){et=function(){return a};var c,a={},t=Object.prototype,u=t.hasOwnProperty,s=Object.defineProperty||function(t,e,r){t[e]=r.value},e="function"==typeof Symbol?Symbol:{},n=e.iterator||"@@iterator",r=e.asyncIterator||"@@asyncIterator",o=e.toStringTag||"@@toStringTag";function i(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{i({},"")}catch(c){i=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var o,i,a,l,e=e&&e.prototype instanceof v?e:v,e=Object.create(e.prototype),n=new A(n||[]);return s(e,"_invoke",{value:(o=t,i=r,a=n,l=h,function(t,e){if(l===p)throw new Error("Generator is already running");if(l===y){if("throw"===t)throw e;return{value:c,done:!0}}for(a.method=t,a.arg=e;;){var r=a.delegate;if(r){r=function t(e,r){var n=r.method,o=e.iterator[n];if(o===c)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=c,t(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;n=f(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,d;o=n.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=c),r.delegate=null,d):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}(r,a);if(r){if(r===d)continue;return r}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(l===h)throw l=y,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);l=p;r=f(o,i,a);if("normal"===r.type){if(l=a.done?y:"suspendedYield",r.arg===d)continue;return{value:r.arg,done:a.done}}"throw"===r.type&&(l=y,a.method="throw",a.arg=r.arg)}})}),e}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}a.wrap=l;var h="suspendedStart",p="executing",y="completed",d={};function v(){}function b(){}function m(){}var e={},g=(i(e,n,function(){return this}),Object.getPrototypeOf),g=g&&g(g(E([]))),w=(g&&g!==t&&u.call(g,n)&&(e=g),m.prototype=v.prototype=Object.create(e));function _(t){["next","throw","return"].forEach(function(e){i(t,e,function(t){return this._invoke(e,t)})})}function O(a,l){var e;s(this,"_invoke",{value:function(r,n){function t(){return new l(function(t,e){!function e(t,r,n,o){var i,t=f(a[t],a,r);if("throw"!==t.type)return(r=(i=t.arg).value)&&"object"==$(r)&&u.call(r,"__await")?l.resolve(r.__await).then(function(t){e("next",t,n,o)},function(t){e("throw",t,n,o)}):l.resolve(r).then(function(t){i.value=t,n(i)},function(t){return e("throw",t,n,o)});o(t.arg)}(r,n,t,e)})}return e=e?e.then(t,t):t()}})}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function E(e){if(e||""===e){var r,t=e[n];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return r=-1,(t=function t(){for(;++r<e.length;)if(u.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=c,t.done=!0,t}).next=t}throw new TypeError($(e)+" is not iterable")}return s(w,"constructor",{value:b.prototype=m,configurable:!0}),s(m,"constructor",{value:b,configurable:!0}),b.displayName=i(m,o,"GeneratorFunction"),a.isGeneratorFunction=function(t){t="function"==typeof t&&t.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},a.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,i(t,o,"GeneratorFunction")),t.prototype=Object.create(w),t},a.awrap=function(t){return{__await:t}},_(O.prototype),i(O.prototype,r,function(){return this}),a.AsyncIterator=O,a.async=function(t,e,r,n,o){void 0===o&&(o=Promise);var i=new O(l(t,e,r,n),o);return a.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},_(w),i(w,o,"Generator"),i(w,n,function(){return this}),i(w,"toString",function(){return"[object Generator]"}),a.keys=function(t){var e,r=Object(t),n=[];for(e in r)n.push(e);return n.reverse(),function t(){for(;n.length;){var e=n.pop();if(e in r)return t.value=e,t.done=!1,t}return t.done=!0,t}},a.values=E,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=c,this.done=!1,this.delegate=null,this.method="next",this.arg=c,this.tryEntries.forEach(j),!t)for(var e in this)"t"===e.charAt(0)&&u.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=c)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var n=this;function t(t,e){return i.type="throw",i.arg=r,n.next=t,e&&(n.method="next",n.arg=c),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var o=this.tryEntries[e],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=u.call(o,"catchLoc"),l=u.call(o,"finallyLoc");if(a&&l){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;0<=r;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&u.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}var i=(o=o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc?null:o)?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r,n,o=this.tryEntries[e];if(o.tryLoc===t)return"throw"===(r=o.completion).type&&(n=r.arg,j(o)),n}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=c),d}},a}function rt(t,e,r,n,o,i,a){try{var l=t[i](a),c=l.value}catch(t){return r(t)}l.done?e(c):Promise.resolve(c).then(n,o)}function v(t,e){var r,n,o,i,a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(a)return o=!(n=!0),{s:function(){a=a.call(t)},n:function(){var t=a.next();return n=t.done,t},e:function(t){o=!0,r=t},f:function(){try{n||null==a.return||a.return()}finally{if(o)throw r}}};if(Array.isArray(t)||(a=nt(t))||e&&t&&"number"==typeof t.length)return a&&(t=a),i=0,{s:e=function(){},n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:e};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function nt(t,e){var r;if(t)return"string"==typeof t?ot(t,e):"Map"===(r="Object"===(r=Object.prototype.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:r)||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ot(t,e):void 0}function ot(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function it(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,function(t){t=function(t){if("object"!=$(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=$(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t);return"symbol"==$(t)?t:String(t)}(n.key),n)}}function at(t){var r="function"==typeof Map?new Map:void 0;return function(t){if(null===t||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,e)}function e(){return function(t,e,r){var n;return lt()?Reflect.construct.apply(null,arguments):((n=[null]).push.apply(n,e),e=new(t.bind.apply(t,n)),r&&ct(e,r.prototype),e)}(t,arguments,ut(this).constructor)}return e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),ct(e,t)}(t)}function lt(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lt=function(){return!!t})()}function ct(t,e){return(ct=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function ut(t){return(ut=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var st=Object.is,ft=Object.defineProperty,ht=Object.getOwnPropertyDescriptor,pt=Object.getOwnPropertyNames,yt=Object.getOwnPropertySymbols,dt=Object.getPrototypeOf,t=globalThis,e=t.trustedTypes,vt=e?e.emptyScript:"",e=t.reactiveElementPolyfillSupport,bt={toAttribute:function(t,e){switch(e){case Boolean:t=t?vt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute:function(t,e){var r=t;switch(e){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},mt=function(t,e){return!st(t,e)},gt={attribute:!0,type:String,converter:bt,reflect:!1,hasChanged:mt};null==Symbol.metadata&&(Symbol.metadata=Symbol("metadata")),null==t.litPropertyMetadata&&(t.litPropertyMetadata=new WeakMap);var r=function(t){function e(){var t;if(this instanceof e)return(t=function(t,e,r){e=ut(e);var n=t;if(!(e=lt()?Reflect.construct(e,r||[],ut(t).constructor):e.apply(t,r))||"object"!==$(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=n))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}(this,e))._$Ep=void 0,t.isUpdatePending=!1,t.hasUpdated=!1,t._$Em=null,t._$Ev(),t;throw new TypeError("Cannot call a class as a function")}var r,l,n,o=e;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");return o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&ct(o,t),o=e,t=[{key:"_$Ev",value:function(){var t,e=this;this._$ES=new Promise(function(t){return e.enableUpdating=t}),this._$AL=new Map,this._$E_(),this.requestUpdate(),null!=(t=this.constructor.l)&&t.forEach(function(t){return t(e)})}},{key:"addController",value:function(t){var e;(null!=(e=this._$EO)?e:this._$EO=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&null!=(e=t.hostConnected)&&e.call(t)}},{key:"removeController",value:function(t){var e;null!=(e=this._$EO)&&e.delete(t)}},{key:"_$E_",value:function(){var t,e=new Map,r=v(this.constructor.elementProperties.keys());try{for(r.s();!(t=r.n()).done;){var n=t.value;this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n])}}catch(t){r.e(t)}finally{r.f()}0<e.size&&(this._$Ep=e)}},{key:"createRenderRoot",value:function(){var t=null!=(t=this.shadowRoot)?t:this.attachShadow(this.constructor.shadowRootOptions),e=t,r=this.constructor.elementStyles;if(q)e.adoptedStyleSheets=r.map(function(t){return t instanceof CSSStyleSheet?t:t.styleSheet});else{var n,o=B(r);try{for(o.s();!(n=o.n()).done;){var i=n.value,a=document.createElement("style"),l=W.litNonce;void 0!==l&&a.setAttribute("nonce",l),a.textContent=i.cssText,e.appendChild(a)}}catch(e){o.e(e)}finally{o.f()}}return t}},{key:"connectedCallback",value:function(){var t;null==this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null!=(t=this._$EO)&&t.forEach(function(t){var e;return null==(e=t.hostConnected)?void 0:e.call(t)})}},{key:"enableUpdating",value:function(t){}},{key:"disconnectedCallback",value:function(){var t;null!=(t=this._$EO)&&t.forEach(function(t){var e;return null==(e=t.hostDisconnected)?void 0:e.call(t)})}},{key:"attributeChangedCallback",value:function(t,e,r){this._$AK(t,r)}},{key:"_$EC",value:function(t,e){var r,n=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,n);void 0!==o&&!0===n.reflect&&(r=(void 0!==(null==(r=n.converter)?void 0:r.toAttribute)?n.converter:bt).toAttribute(e,n.type),this._$Em=t,null==r?this.removeAttribute(o):this.setAttribute(o,r),this._$Em=null)}},{key:"_$AK",value:function(t,e){var r,n=this.constructor,t=n._$Eh.get(t);void 0!==t&&this._$Em!==t&&(r="function"==typeof(n=n.getPropertyOptions(t)).converter?{fromAttribute:n.converter}:void 0!==(null==(r=n.converter)?void 0:r.fromAttribute)?n.converter:bt,this._$Em=t,this[t]=r.fromAttribute(e,n.type),this._$Em=null)}},{key:"requestUpdate",value:function(t,e,r){if(void 0!==t){var n;if(!(null!=(n=(r=null==r?this.constructor.getPropertyOptions(t):r).hasChanged)?n:mt)(this[t],e))return;this.P(t,e,r)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}},{key:"P",value:function(t,e,r){this._$AL.has(t)||this._$AL.set(t,e),!0===r.reflect&&this._$Em!==t&&(null!=(e=this._$Ej)?e:this._$Ej=new Set).add(t)}},{key:"_$ET",value:(l=et().mark(function t(){var e;return et().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.isUpdatePending=!0,t.prev=1,t.next=4,this._$ES;case 4:t.next=9;break;case 6:t.prev=6,t.t0=t.catch(1),Promise.reject(t.t0);case 9:if(e=this.scheduleUpdate(),t.t1=null!=e,t.t1)return t.next=14,e;t.next=14;break;case 14:return t.abrupt("return",!this.isUpdatePending);case 15:case"end":return t.stop()}},t,this,[[1,6]])}),n=function(){var t=this,a=arguments;return new Promise(function(e,r){var n=l.apply(t,a);function o(t){rt(n,e,r,o,i,"next",t)}function i(t){rt(n,e,r,o,i,"throw",t)}o(void 0)})},function(){return n.apply(this,arguments)})},{key:"scheduleUpdate",value:function(){return this.performUpdate()}},{key:"performUpdate",value:function(){if(this.isUpdatePending){if(!this.hasUpdated){if(null==this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this._$Ep){var t,e=v(this._$Ep);try{for(e.s();!(t=e.n()).done;){var r=tt(t.value,2),n=r[0],o=r[1];this[n]=o}}catch(t){e.e(t)}finally{e.f()}this._$Ep=void 0}var i=this.constructor.elementProperties;if(0<i.size){var a,l=v(i);try{for(l.s();!(a=l.n()).done;){var c=tt(a.value,2),u=c[0],s=c[1];!0!==s.wrapped||this._$AL.has(u)||void 0===this[u]||this.P(u,this[u],s)}}catch(t){l.e(t)}finally{l.f()}}}var f,i=!1,h=this._$AL;try{(i=this.shouldUpdate(h))?(this.willUpdate(h),null!=(f=this._$EO)&&f.forEach(function(t){var e;return null==(e=t.hostUpdate)?void 0:e.call(t)}),this.update(h)):this._$EU()}catch(h){throw i=!1,this._$EU(),h}i&&this._$AE(h)}}},{key:"willUpdate",value:function(t){}},{key:"_$AE",value:function(t){var e;null!=(e=this._$EO)&&e.forEach(function(t){var e;return null==(e=t.hostUpdated)?void 0:e.call(t)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}},{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(t){return!0}},{key:"update",value:function(t){var e=this;this._$Ej&&(this._$Ej=this._$Ej.forEach(function(t){return e._$EC(t,e[t])})),this._$EU()}},{key:"updated",value:function(t){}},{key:"firstUpdated",value:function(t){}}],r=[{key:"addInitializer",value:function(t){var e;this._$Ei(),(null!=(e=this.l)?e:this.l=[]).push(t)}},{key:"observedAttributes",get:function(){return this.finalize(),this._$Eh&&X(this._$Eh.keys())}},{key:"createProperty",value:function(t){var e,r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:gt;r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(t,r),r.noAccessor||(e=Symbol(),void 0!==(e=this.getPropertyDescriptor(t,e,r))&&ft(this.prototype,t,e))}},{key:"getPropertyDescriptor",value:function(r,e,n){var t=null!=(t=ht(this.prototype,r))?t:{get:function(){return this[e]},set:function(t){this[e]=t}},o=t.get,i=t.set;return{get:function(){return null==o?void 0:o.call(this)},set:function(t){var e=null==o?void 0:o.call(this);i.call(this,t),this.requestUpdate(r,e,n)},configurable:!0,enumerable:!0}}},{key:"getPropertyOptions",value:function(t){return null!=(t=this.elementProperties.get(t))?t:gt}},{key:"_$Ei",value:function(){var t;this.hasOwnProperty("elementProperties")||((t=dt(this)).finalize(),void 0!==t.l&&(this.l=X(t.l)),this.elementProperties=new Map(t.elementProperties))}},{key:"finalize",value:function(){if(!this.hasOwnProperty("finalized")){if(this.finalized=!0,this._$Ei(),this.hasOwnProperty("properties")){var t,e=this.properties,r=v([].concat(X(pt(e)),X(yt(e))));try{for(r.s();!(t=r.n()).done;){var n=t.value;this.createProperty(n,e[n])}}catch(t){r.e(t)}finally{r.f()}}var o=this[Symbol.metadata];if(null!==o){o=litPropertyMetadata.get(o);if(void 0!==o){var i,a=v(o);try{for(a.s();!(i=a.n()).done;){var l=tt(i.value,2),c=l[0],u=l[1];this.elementProperties.set(c,u)}}catch(t){a.e(t)}finally{a.f()}}}this._$Eh=new Map;var s,f=v(this.elementProperties);try{for(f.s();!(s=f.n()).done;){var h=tt(s.value,2),p=h[0],y=h[1],d=this._$Eu(p,y);void 0!==d&&this._$Eh.set(d,p)}}catch(t){f.e(t)}finally{f.f()}this.elementStyles=this.finalizeStyles(this.styles)}}},{key:"finalizeStyles",value:function(t){var e=[];if(Array.isArray(t)){var r,n=v(new Set(t.flat(1/0).reverse()));try{for(n.s();!(r=n.n()).done;){var o=r.value;e.unshift(K(o))}}catch(t){n.e(t)}finally{n.f()}}else void 0!==t&&e.push(K(t));return e}},{key:"_$Eu",value:function(t,e){e=e.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}}],it(o.prototype,t),it(o,r),Object.defineProperty(o,"prototype",{writable:!1}),e}(at(HTMLElement));function wt(t,e,r){e=_t(e);var n=t,e=function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return t}()?Reflect.construct(e,r||[],_t(t).constructor):e.apply(t,r);if(!e||"object"!==o(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=n))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function _t(t){return(_t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ot(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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&St(t,e)}function St(t,e){return(St=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function jt(t,e){var r,n,o,i,a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(a)return o=!(n=!0),{s:function(){a=a.call(t)},n:function(){var t=a.next();return n=t.done,t},e:function(t){o=!0,r=t},f:function(){try{n||null==a.return||a.return()}finally{if(o)throw r}}};if(Array.isArray(t)||(a=At(t))||e&&t&&"number"==typeof t.length)return a&&(t=a),i=0,{s:e=function(){},n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:e};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function At(t,e){var r;if(t)return"string"==typeof t?Et(t,e):"Map"===(r="Object"===(r=Object.prototype.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:r)||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Et(t,e):void 0}function Et(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function _(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,function(t){t=function(t){if("object"!=o(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=o(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t);return"symbol"==o(t)?t:String(t)}(n.key),n)}}function n(t,e,r){e&&$t(t.prototype,e),r&&$t(t,r),Object.defineProperty(t,"prototype",{writable:!1})}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)}r.elementStyles=[],r.shadowRootOptions={mode:"open"},r.elementProperties=new Map,r.finalized=new Map,null!=e&&e({ReactiveElement:r}),(null!=(e=t.reactiveElementVersions)?e:t.reactiveElementVersions=[]).push("2.0.4");function O(){return u.createComment("")}function s(t){return null===t||"object"!=o(t)&&"function"!=typeof t}function Pt(o){return function(t){for(var e=arguments.length,r=new Array(1<e?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return{_$litType$:o,strings:t,values:r}}}var e=globalThis,kt=e.trustedTypes,xt=kt?kt.createPolicy("lit-html",{createHTML:function(t){return t}}):void 0,S="lit$".concat((Math.random()+"").slice(9),"$"),Lt="?"+S,Ct="<".concat(Lt,">"),u=document,Tt=Array.isArray,j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Mt=/-->/g,zt=/>/g,A=RegExp(">|".concat("[ \t\n\f\r]","(?:([^\\s\"'>=/]+)(").concat("[ \t\n\f\r]","*=").concat("[ \t\n\f\r]","*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)"),"g"),Rt=/'/g,Ut=/"/g,It=/^(?:script|style|textarea|title)$/i,Nt=Pt(1),f=(Pt(2),Symbol.for("lit-noChange")),h=Symbol.for("lit-nothing"),Ht=new WeakMap,E=u.createTreeWalker(u,129);function Bt(t,e){if(Array.isArray(t)&&t.hasOwnProperty("raw"))return void 0!==xt?xt.createHTML(e):e;throw Error("invalid template strings array")}n(Ft,null,[{key:"createElement",value:function(t,e){var r=u.createElement("template");return r.innerHTML=t,r}}]);var Dt=Ft;function Ft(t,e){var r,n,o=t.strings,t=t._$litType$,i=(_(this,Ft),this.parts=[],0),a=0,l=o.length-1,c=this.parts,o=(o=function(t,e){for(var r,n=t.length-1,o=[],i=2===e?"<svg>":"",a=j,l=0;l<n;l++){for(var c=t[l],u=void 0,s=void 0,f=-1,h=0;h<c.length&&(a.lastIndex=h,null!==(s=a.exec(c)));){var p,h=a.lastIndex;a===j?"!--"===s[1]?a=Mt:void 0!==s[1]?a=zt:void 0!==s[2]?(It.test(s[2])&&(r=RegExp("</"+s[2],"g")),a=A):void 0!==s[3]&&(a=A):a===A?">"===s[0]?(a=null!=(p=r)?p:j,f=-1):void 0===s[1]?f=-2:(f=a.lastIndex-s[2].length,u=s[1],a=void 0===s[3]?A:'"'===s[3]?Ut:Rt):a===Ut||a===Rt?a=A:a===Mt||a===zt?a=j:(a=A,r=void 0)}var y=a===A&&t[l+1].startsWith("/>")?" ":"";i+=a===j?c+Ct:0<=f?(o.push(u),c.slice(0,f)+"$lit$"+c.slice(f)+S+y):c+S+(-2===f?l:y)}return[Bt(t,i+(t[n]||"<?>")+(2===e?"</svg>":"")),o]}(o,t),u=2,function(t){if(Array.isArray(t))return t}(o)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(o,u)||At(o,u)||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.")}()),u=o[0],s=o[1];for(this.el=Ft.createElement(u,e),E.currentNode=this.el.content,2===t&&(o=this.el.content.firstChild).replaceWith.apply(o,function(t){if(Array.isArray(t))return Et(t)}(n=o.childNodes)||function(){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}()||At(n)||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.")}());null!==(r=E.nextNode())&&c.length<l;){if(1===r.nodeType){if(r.hasAttributes()){var f,h=jt(r.getAttributeNames());try{for(h.s();!(f=h.n()).done;){var p,y,d,v=f.value;v.endsWith("$lit$")?(p=s[a++],y=r.getAttribute(v).split(S),d=/([.?@])?(.*)/.exec(p),c.push({type:1,index:i,name:d[2],strings:y,ctor:"."===d[1]?qt:"?"===d[1]?Zt:"@"===d[1]?Jt:Wt}),r.removeAttribute(v)):v.startsWith(S)&&(c.push({type:6,index:i}),r.removeAttribute(v))}}catch(t){h.e(t)}finally{h.f()}}if(It.test(r.tagName)){var b=r.textContent.split(S),m=b.length-1;if(0<m){r.textContent=kt?kt.emptyScript:"";for(var g=0;g<m;g++)r.append(b[g],O()),E.nextNode(),c.push({type:2,index:++i});r.append(b[m],O())}}}else if(8===r.nodeType)if(r.data===Lt)c.push({type:2,index:i});else for(var w=-1;-1!==(w=r.data.indexOf(S,w+1));)c.push({type:7,index:i}),w+=S.length-1;i++}}function p(t,e,r,n){var o,i,a,l,r=2<arguments.length&&void 0!==r?r:t,n=3<arguments.length?n:void 0;return e=e!==f&&(a=void 0!==n?null==(a=r._$Co)?void 0:a[n]:r._$Cl,l=s(e)?void 0:e._$litDirective$,(null==(o=a)?void 0:o.constructor)!==l&&(null!=(o=a)&&null!=(i=o._$AO)&&i.call(o,!1),void 0===l?a=void 0:(a=new l(t))._$AT(t,r,n),void 0!==n?(null!=(i=r._$Co)?i:r._$Co=[])[n]=a:r._$Cl=a),void 0!==a)?p(t,a._$AS(t,e.values),a,n):e}n(te,[{key:"parentNode",get:function(){return this._$AM.parentNode}},{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"u",value:function(t){var e=this._$AD,r=e.el.content,n=e.parts,e=(null!=(e=null==t?void 0:t.creationScope)?e:u).importNode(r,!0);E.currentNode=e;for(var o,i=E.nextNode(),a=0,l=0,c=n[0];void 0!==c;)a===c.index&&(o=void 0,2===c.type?o=new Vt(i,i.nextSibling,this,t):1===c.type?o=new c.ctor(i,c.name,c.strings,this,t):6===c.type&&(o=new Yt(i,this,t)),this._$AV.push(o),c=n[++l]),a!==(null==(o=c)?void 0:o.index)&&(i=E.nextNode(),a++);return E.currentNode=u,e}},{key:"p",value:function(t){var e,r=0,n=jt(this._$AV);try{for(n.s();!(e=n.n()).done;){var o=e.value;void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,r),r+=o.strings.length-2):o._$AI(t[r])),r++}}catch(t){n.e(t)}finally{n.f()}}}]);var Gt=te,Vt=(n(Xt,[{key:"_$AU",get:function(){var t;return null!=(t=null==(t=this._$AM)?void 0:t._$AU)?t:this._$Cv}},{key:"parentNode",get:function(){var t,e=this._$AA.parentNode,r=this._$AM;return e=void 0!==r&&11===(null==(t=e)?void 0:t.nodeType)?r.parentNode:e}},{key:"startNode",get:function(){return this._$AA}},{key:"endNode",get:function(){return this._$AB}},{key:"_$AI",value:function(t){var e;t=p(this,t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:this),s(t)?t===h||null==t||""===t?(this._$AH!==h&&this._$AR(),this._$AH=h):t!==this._$AH&&t!==f&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):Tt(e=t)||"function"==typeof(null==e?void 0:e[Symbol.iterator])?this.k(t):this._(t)}},{key:"S",value:function(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}},{key:"T",value:function(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}},{key:"_",value:function(t){this._$AH!==h&&s(this._$AH)?this._$AA.nextSibling.data=t:this.T(u.createTextNode(t)),this._$AH=t}},{key:"$",value:function(t){var e=t.values,r=t._$litType$,t="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=Dt.createElement(Bt(r.h,r.h[0]),this.options)),r);(null==(r=this._$AH)?void 0:r._$AD)===t?this._$AH.p(e):(t=(r=new Gt(t,this)).u(this.options),r.p(e),this.T(t),this._$AH=r)}},{key:"_$AC",value:function(t){var e=Ht.get(t.strings);return void 0===e&&Ht.set(t.strings,e=new Dt(t)),e}},{key:"k",value:function(t){Tt(this._$AH)||(this._$AH=[],this._$AR());var e,r,n=this._$AH,o=0,i=jt(t);try{for(i.s();!(r=i.n()).done;){var a=r.value;o===n.length?n.push(e=new Xt(this.S(O()),this.S(O()),this,this.options)):e=n[o],e._$AI(a),o++}}catch(t){i.e(t)}finally{i.f()}o<n.length&&(this._$AR(e&&e._$AB.nextSibling,o),n.length=o)}},{key:"_$AR",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this._$AA.nextSibling;for(null!=(e=this._$AP)&&e.call(this,!1,!0,1<arguments.length?arguments[1]:void 0);t&&t!==this._$AB;){var e,r=t.nextSibling;t.remove(),t=r}}},{key:"setConnected",value:function(t){var e;void 0===this._$AM&&(this._$Cv=t,null!=(e=this._$AP))&&e.call(this,t)}}]),Xt),Wt=(n(Qt,[{key:"tagName",get:function(){return this.element.tagName}},{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AI",value:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:this,r=2<arguments.length?arguments[2]:void 0,n=3<arguments.length?arguments[3]:void 0,o=this.strings,i=!1;if(void 0===o)t=p(this,t,e,0),(i=!s(t)||t!==this._$AH&&t!==f)&&(this._$AH=t);else{var a,l,c,u=t;for(t=o[0],a=0;a<o.length-1;a++)(l=p(this,u[r+a],e,a))===f&&(l=this._$AH[a]),i=i||!s(l)||l!==this._$AH[a],l===h?t=h:t!==h&&(t+=(null!=(c=l)?c:"")+o[a+1]),this._$AH[a]=l}i&&!n&&this.j(t)}},{key:"j",value:function(t){t===h?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}]),Qt),qt=(Ot(l,Wt),n(l,[{key:"j",value:function(t){this.element[this.name]=t===h?void 0:t}}]),l),Zt=(Ot(a,Wt),n(a,[{key:"j",value:function(t){this.element.toggleAttribute(this.name,!!t&&t!==h)}}]),a),Jt=(Ot(i,Wt),n(i,[{key:"_$AI",value:function(t){var e,r,n;(t=null!=(e=p(this,t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:this,0))?e:h)!==f&&(e=this._$AH,r=t===h&&e!==h||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==h&&(e===h||r),r&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t)}},{key:"handleEvent",value:function(t){var e;"function"==typeof this._$AH?this._$AH.call(null!=(e=null==(e=this.options)?void 0:e.host)?e:this.element,t):this._$AH.handleEvent(t)}}]),i),Yt=(n(Kt,[{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AI",value:function(t){p(this,t)}}]),Kt),t=e.litHtmlPolyfillSupport;function Kt(t,e,r){_(this,Kt),this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}function i(t,e,r,n,o){return _(this,i),(t=wt(this,i,[t,e,r,n,o])).type=5,t}function a(){var t;return _(this,a),(t=wt(this,a,arguments)).type=4,t}function l(){var t;return _(this,l),(t=wt(this,l,arguments)).type=3,t}function Qt(t,e,r,n,o){_(this,Qt),this.type=1,this._$AH=h,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=o,2<r.length||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=h}function Xt(t,e,r,n){_(this,Xt),this.type=2,this._$AH=h,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=n,this._$Cv=null==(t=null==n?void 0:n.isConnected)||t}function te(t,e){_(this,te),this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}function c(t){return(c="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 ee(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,function(t){t=function(t){if("object"!=c(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=c(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t);return"symbol"==c(t)?t:String(t)}(n.key),n)}}function re(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y(){return(y="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=d(t)););return t}(t,e);if(n)return(n=Object.getOwnPropertyDescriptor(n,e)).get?n.get.call(arguments.length<3?t:r):n.value}).apply(this,arguments)}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ne(t,e){return(ne=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}null!=t&&t(Dt,Vt),(null!=(t=e.litHtmlVersions)?t:e.litHtmlVersions=[]).push("3.1.2");t=function(){function a(){var t=this,e=a;if(t instanceof e)return(t=function(t,e,r){e=d(e);var n=t;if((e=function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return t}()?Reflect.construct(e,r||[],d(t).constructor):e.apply(t,r))&&("object"===c(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return re(n)}(this,a,arguments)).renderOptions={host:re(t)},t._$Do=void 0,t;throw new TypeError("Cannot call a class as a function")}var t=a,e=r;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ne(t,e),ee((t=a).prototype,[{key:"createRenderRoot",value:function(){var t,e=y(d(a.prototype),"createRenderRoot",this).call(this);return null==(t=this.renderOptions).renderBefore&&(t.renderBefore=e.firstChild),e}},{key:"update",value:function(t){var e,r,n,o,i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),y(d(a.prototype),"update",this).call(this,t),this._$Do=(t=i,i=this.renderRoot,e=this.renderOptions,n=null!=(n=null==e?void 0:e.renderBefore)?n:i,void 0===(o=n._$litPart$)&&(r=null!=(r=null==e?void 0:e.renderBefore)?r:null,n._$litPart$=o=new Vt(i.insertBefore(O(),r),r,void 0,null!=e?e:{})),o._$AI(t),o)}},{key:"connectedCallback",value:function(){var t;y(d(a.prototype),"connectedCallback",this).call(this),null!=(t=this._$Do)&&t.setConnected(!0)}},{key:"disconnectedCallback",value:function(){var t;y(d(a.prototype),"disconnectedCallback",this).call(this),null!=(t=this._$Do)&&t.setConnected(!1)}},{key:"render",value:function(){return f}}]),Object.defineProperty(t,"prototype",{writable:!1}),a}(),t._$litElement$=!0,t.finalized=!0,null!=(e=globalThis.litElementHydrateSupport)&&e.call(globalThis,{LitElement:t}),e=globalThis.litElementPolyfillSupport;null!=e&&e({LitElement:t}),(null!=(e=globalThis.litElementVersions)?e:globalThis.litElementVersions=[]).push("4.0.4");e=V((e=["\n :host {\n --control-box-size: 3rem;\n --icon-size: calc(var(--control-box-size) * 0.625);\n\n display: inline-flex;\n position: relative;\n cursor: pointer;\n }\n\n img {\n display: block;\n width: 100%;\n height: 100%;\n }\n\n img[aria-hidden='true'] {\n display: none;\n }\n\n .animated-image__control-box {\n display: flex;\n position: absolute;\n align-items: center;\n justify-content: center;\n top: calc(50% - var(--control-box-size) / 2);\n right: calc(50% - var(--control-box-size) / 2);\n width: var(--control-box-size);\n height: var(--control-box-size);\n font-size: var(--icon-size);\n background: none;\n border: solid 2px currentColor;\n background-color: rgb(0 0 0 /50%);\n border-radius: var(--sl-border-radius-circle);\n color: white;\n pointer-events: none;\n transition: var(--sl-transition-fast) opacity;\n }\n\n :host([play]:hover) .animated-image__control-box {\n opacity: 1;\n }\n\n :host([play]:not(:hover)) .animated-image__control-box {\n opacity: 0;\n }\n\n :host([play]) slot[name='play-icon'],\n :host(:not([play])) slot[name='pause-icon'] {\n display: none;\n }\n"],b=b||e.slice(0),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(b)}}))));function oe(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var ie="";function ae(t){ie=t}var le={caret:'\n <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">\n <polyline points="6 9 12 15 18 9"></polyline>\n </svg>\n ',check:'\n <svg part="checked-icon" class="checkbox__icon" viewBox="0 0 16 16">\n <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round">\n <g stroke="currentColor">\n <g transform="translate(3.428571, 3.428571)">\n <path d="M0,5.71428571 L3.42857143,9.14285714"></path>\n <path d="M9.14285714,0 L3.42857143,9.14285714"></path>\n </g>\n </g>\n </g>\n </svg>\n ',"chevron-down":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16">\n <path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/>\n </svg>\n ',"chevron-left":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-left" viewBox="0 0 16 16">\n <path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/>\n </svg>\n ',"chevron-right":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-right" viewBox="0 0 16 16">\n <path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/>\n </svg>\n ',copy:'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-copy" viewBox="0 0 16 16">\n <path fill-rule="evenodd" d="M4 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V2Zm2-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H6ZM2 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-1h1v1a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h1v1H2Z"/>\n </svg>\n ',eye:'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eye" viewBox="0 0 16 16">\n <path d="M16 8s-3-5.5-8-5.5S0 8 0 8s3 5.5 8 5.5S16 8 16 8zM1.173 8a13.133 13.133 0 0 1 1.66-2.043C4.12 4.668 5.88 3.5 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.133 13.133 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755C11.879 11.332 10.119 12.5 8 12.5c-2.12 0-3.879-1.168-5.168-2.457A13.134 13.134 0 0 1 1.172 8z"/>\n <path d="M8 5.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zM4.5 8a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0z"/>\n </svg>\n ',"eye-slash":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eye-slash" viewBox="0 0 16 16">\n <path d="M13.359 11.238C15.06 9.72 16 8 16 8s-3-5.5-8-5.5a7.028 7.028 0 0 0-2.79.588l.77.771A5.944 5.944 0 0 1 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.134 13.134 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755-.165.165-.337.328-.517.486l.708.709z"/>\n <path d="M11.297 9.176a3.5 3.5 0 0 0-4.474-4.474l.823.823a2.5 2.5 0 0 1 2.829 2.829l.822.822zm-2.943 1.299.822.822a3.5 3.5 0 0 1-4.474-4.474l.823.823a2.5 2.5 0 0 0 2.829 2.829z"/>\n <path d="M3.35 5.47c-.18.16-.353.322-.518.487A13.134 13.134 0 0 0 1.172 8l.195.288c.335.48.83 1.12 1.465 1.755C4.121 11.332 5.881 12.5 8 12.5c.716 0 1.39-.133 2.02-.36l.77.772A7.029 7.029 0 0 1 8 13.5C3 13.5 0 8 0 8s.939-1.721 2.641-3.238l.708.709zm10.296 8.884-12-12 .708-.708 12 12-.708.708z"/>\n </svg>\n ',eyedropper:'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eyedropper" viewBox="0 0 16 16">\n <path d="M13.354.646a1.207 1.207 0 0 0-1.708 0L8.5 3.793l-.646-.647a.5.5 0 1 0-.708.708L8.293 5l-7.147 7.146A.5.5 0 0 0 1 12.5v1.793l-.854.853a.5.5 0 1 0 .708.707L1.707 15H3.5a.5.5 0 0 0 .354-.146L11 7.707l1.146 1.147a.5.5 0 0 0 .708-.708l-.647-.646 3.147-3.146a1.207 1.207 0 0 0 0-1.708l-2-2zM2 12.707l7-7L10.293 7l-7 7H2v-1.293z"></path>\n </svg>\n ',"grip-vertical":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-grip-vertical" viewBox="0 0 16 16">\n <path d="M7 2a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"></path>\n </svg>\n ',indeterminate:'\n <svg part="indeterminate-icon" class="checkbox__icon" viewBox="0 0 16 16">\n <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round">\n <g stroke="currentColor" stroke-width="2">\n <g transform="translate(2.285714, 6.857143)">\n <path d="M10.2857143,1.14285714 L1.14285714,1.14285714"></path>\n </g>\n </g>\n </g>\n </svg>\n ',"person-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-person-fill" viewBox="0 0 16 16">\n <path d="M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>\n </svg>\n ',"play-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-play-fill" viewBox="0 0 16 16">\n <path d="m11.596 8.697-6.363 3.692c-.54.313-1.233-.066-1.233-.697V4.308c0-.63.692-1.01 1.233-.696l6.363 3.692a.802.802 0 0 1 0 1.393z"></path>\n </svg>\n ',"pause-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-pause-fill" viewBox="0 0 16 16">\n <path d="M5.5 3.5A1.5 1.5 0 0 1 7 5v6a1.5 1.5 0 0 1-3 0V5a1.5 1.5 0 0 1 1.5-1.5zm5 0A1.5 1.5 0 0 1 12 5v6a1.5 1.5 0 0 1-3 0V5a1.5 1.5 0 0 1 1.5-1.5z"></path>\n </svg>\n ',radio:'\n <svg part="checked-icon" class="radio__icon" viewBox="0 0 16 16">\n <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g fill="currentColor">\n <circle cx="8" cy="8" r="3.42857143"></circle>\n </g>\n </g>\n </svg>\n ',"star-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-star-fill" viewBox="0 0 16 16">\n <path d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"/>\n </svg>\n ',"x-lg":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-lg" viewBox="0 0 16 16">\n <path d="M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z"/>\n </svg>\n ',"x-circle-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-circle-fill" viewBox="0 0 16 16">\n <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z"></path>\n </svg>\n '},ce=[{name:"default",resolver:function(t){return function(t){var e,r,n,t=0<arguments.length&&void 0!==t?t:"";return ie||((r=(e=function(t){if(Array.isArray(t))return oe(t)}(n=document.getElementsByTagName("script"))||function(){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}()||function(t){var e;if(t)return"string"==typeof t?oe(t,void 0):"Map"===(e="Object"===(e=Object.prototype.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:e)||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?oe(t,void 0):void 0}(n)||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.")}()).find(function(t){return t.hasAttribute("data-shoelace")}))?ae(r.getAttribute("data-shoelace")):(r="",ae((r=(e=e.find(function(t){return/shoelace(\.min)?\.js($|\?)/.test(t.src)||/shoelace-autoloader(\.min)?\.js($|\?)/.test(t.src)}))?e.getAttribute("src"):r).split("/").slice(0,-1).join("/")))),ie.replace(/\/$/,"")+(t?"/".concat(t.replace(/^\//,"")):"")}("assets/icons/".concat(t,".svg"))}},{name:"system",resolver:function(t){return t in le?"data:image/svg+xml,".concat(encodeURIComponent(le[t])):""}}],ue=[];function se(e){return ce.find(function(t){return t.name===e})}var b=V((b=["\n :host {\n display: inline-block;\n width: 1em;\n height: 1em;\n box-sizing: content-box !important;\n }\n\n svg {\n display: block;\n height: 100%;\n width: 100%;\n }\n"],g=g||b.slice(0),Object.freeze(Object.defineProperties(b,{raw:{value:Object.freeze(g)}}))));function fe(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function he(t,e,r){e in t?ye(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r}function pe(t,e){for(var r in e=e||{})be.call(e,r)&&he(t,r,e[r]);if(ve){var n,o=function(t,e){var r,n,o,i,a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(a)return o=!(n=!0),{s:function(){a=a.call(t)},n:function(){var t=a.next();return n=t.done,t},e:function(t){o=!0,r=t},f:function(){try{n||null==a.return||a.return()}finally{if(o)throw r}}};if(Array.isArray(t)||(a=function(t){var e;if(t)return"string"==typeof t?fe(t,void 0):"Map"===(e="Object"===(e=Object.prototype.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:e)||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?fe(t,void 0):void 0}(t))||e&&t&&"number"==typeof t.length)return a&&(t=a),i=0,{s:e=function(){},n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:e};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(ve(e));try{for(o.s();!(n=o.n()).done;)r=n.value,me.call(e,r)&&he(t,r,e[r])}catch(t){o.e(t)}finally{o.f()}}return t}function m(t,e,r,n){for(var o,i=1<n?void 0:n?de(e,r):e,a=t.length-1;0<=a;a--)(o=t[a])&&(i=(n?o(e,r,i):o(i))||i);n&&i&&ye(e,r,i)}var ye=Object.defineProperty,de=(Object.defineProperties,Object.getOwnPropertyDescriptor),ve=(Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols),be=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable;function ge(r,t){var a=pe({waitUntilFirstUpdate:!1},t);return function(t,o){var e=t.update,i=Array.isArray(r)?r:[r];t.update=function(r){var n=this;i.forEach(function(t){var e;!r.has(t)||(e=r.get(t))===(t=n[t])||a.waitUntilFirstUpdate&&!n.hasUpdated||n[o](e,t)}),e.call(this,r)}}}var g=V((g=["\n :host {\n box-sizing: border-box;\n }\n\n :host *,\n :host *::before,\n :host *::after {\n box-sizing: inherit;\n }\n\n [hidden] {\n display: none !important;\n }\n"],M=M||g.slice(0),Object.freeze(Object.defineProperties(g,{raw:{value:Object.freeze(M)}}))));function we(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function _e(o){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?we(Object(i),!0).forEach(function(t){var e,r,n;e=o,r=i[t=t],n=function(t){if("object"!=w(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=w(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t),(t="symbol"==w(n)?n:String(n))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(i)):we(Object(i)).forEach(function(t){Object.defineProperty(o,t,Object.getOwnPropertyDescriptor(i,t))})}return o}function w(t){return(w="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 Oe={attribute:!0,type:String,converter:bt,reflect:!1,hasChanged:mt};function P(o){return function(t,e){return"object"==w(e)?function(t,e,r){var n,o,i=0<arguments.length&&void 0!==t?t:Oe,a=1<arguments.length?e:void 0,t=2<arguments.length?r:void 0,e=t.kind,r=t.metadata,l=globalThis.litPropertyMetadata.get(r);if(void 0===l&&globalThis.litPropertyMetadata.set(r,l=new Map),l.set(t.name,i),"accessor"===e)return n=t.name,{set:function(t){var e=a.get.call(this);a.set.call(this,t),this.requestUpdate(n,e,i)},init:function(t){return void 0!==t&&this.P(n,void 0,i),t}};if("setter"===e)return o=t.name,function(t){var e=this[o];a.call(this,t),this.requestUpdate(o,e,i)};throw Error("Unsupported decorator location: "+e)}(o,t,e):(r=o,e=e,n=(t=t).hasOwnProperty(e),t.constructor.createProperty(e,n?_e(_e({},r),{},{wrapped:!0}):r),n?Object.getOwnPropertyDescriptor(t,e):void 0);var r,n}}function Se(t){return(Se="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 je(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function Ae(o){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?je(Object(i),!0).forEach(function(t){var e,r,n;e=o,r=i[t=t],n=function(t){if("object"!=Se(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=Se(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t),(t="symbol"==Se(n)?n:String(n))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(i)):je(Object(i)).forEach(function(t){Object.defineProperty(o,t,Object.getOwnPropertyDescriptor(i,t))})}return o}function Ee(t){return P(Ae(Ae({},t),{},{state:!0,attribute:!1}))}function $e(t){return($e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Pe(t,e,r){return r.configurable=!0,r.enumerable=!0,Reflect.decorate&&"object"!=$e(e)&&Object.defineProperty(t,e,r),r}function k(t){return(k="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 ke(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function xe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Le(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,function(t){t=function(t){if("object"!=k(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=k(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t);return"symbol"==k(t)?t:String(t)}(n.key),n)}}function Ce(t,e,r){return e&&Le(t.prototype,e),r&&Le(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function Te(t,e,r){e=Me(e);var n=t,e=function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return t}()?Reflect.construct(e,r||[],Me(t).constructor):e.apply(t,r);if(!e||"object"!==k(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=n))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function Me(t){return(Me=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ze(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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Re(t,e)}function Re(t,e){return(Re=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}ze(L,t),Ce(L,[{key:"emit",value:function(t,e){t=new CustomEvent(t,pe({bubbles:!0,cancelable:!1,composed:!0,detail:{}},e));return this.dispatchEvent(t),t}}],[{key:"define",value:function(t){var e,r,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:this,o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},i=customElements.get(t);function a(){return xe(this,a),Te(this,a,arguments)}i?(r=e=" (unknown version)","version"in n&&n.version&&(e=" v"+n.version),"version"in i&&i.version&&(r=" v"+i.version),e&&r&&e===r||console.warn("Attempted to register <".concat(t,">").concat(e,", but <").concat(t,">").concat(r," has already been registered."))):customElements.define(t,(ze(a,n),Ce(a)),o)}}]);var Ue,x=L;function L(){var r;return xe(this,L),r=Te(this,L),Object.entries(r.constructor.dependencies).forEach(function(t){e=2;var t=function(t){if(Array.isArray(t))return t}(t=t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,e)||function(t,e){var r;if(t)return"string"==typeof t?ke(t,e):"Map"===(r="Object"===(r=Object.prototype.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:r)||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ke(t,e):void 0}(t,e)||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.")}(),e=t[0],t=t[1];r.constructor.define(e,t)}),r}function C(t){return(C="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 Ie(){Ie=function(){return a};var c,a={},t=Object.prototype,u=t.hasOwnProperty,s=Object.defineProperty||function(t,e,r){t[e]=r.value},e="function"==typeof Symbol?Symbol:{},n=e.iterator||"@@iterator",r=e.asyncIterator||"@@asyncIterator",o=e.toStringTag||"@@toStringTag";function i(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{i({},"")}catch(c){i=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var o,i,a,l,e=e&&e.prototype instanceof v?e:v,e=Object.create(e.prototype),n=new A(n||[]);return s(e,"_invoke",{value:(o=t,i=r,a=n,l=h,function(t,e){if(l===p)throw new Error("Generator is already running");if(l===y){if("throw"===t)throw e;return{value:c,done:!0}}for(a.method=t,a.arg=e;;){var r=a.delegate;if(r){r=function t(e,r){var n=r.method,o=e.iterator[n];if(o===c)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=c,t(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;n=f(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,d;o=n.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=c),r.delegate=null,d):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}(r,a);if(r){if(r===d)continue;return r}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(l===h)throw l=y,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);l=p;r=f(o,i,a);if("normal"===r.type){if(l=a.done?y:"suspendedYield",r.arg===d)continue;return{value:r.arg,done:a.done}}"throw"===r.type&&(l=y,a.method="throw",a.arg=r.arg)}})}),e}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}a.wrap=l;var h="suspendedStart",p="executing",y="completed",d={};function v(){}function b(){}function m(){}var e={},g=(i(e,n,function(){return this}),Object.getPrototypeOf),g=g&&g(g(E([]))),w=(g&&g!==t&&u.call(g,n)&&(e=g),m.prototype=v.prototype=Object.create(e));function _(t){["next","throw","return"].forEach(function(e){i(t,e,function(t){return this._invoke(e,t)})})}function O(a,l){var e;s(this,"_invoke",{value:function(r,n){function t(){return new l(function(t,e){!function e(t,r,n,o){var i,t=f(a[t],a,r);if("throw"!==t.type)return(r=(i=t.arg).value)&&"object"==C(r)&&u.call(r,"__await")?l.resolve(r.__await).then(function(t){e("next",t,n,o)},function(t){e("throw",t,n,o)}):l.resolve(r).then(function(t){i.value=t,n(i)},function(t){return e("throw",t,n,o)});o(t.arg)}(r,n,t,e)})}return e=e?e.then(t,t):t()}})}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function E(e){if(e||""===e){var r,t=e[n];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return r=-1,(t=function t(){for(;++r<e.length;)if(u.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=c,t.done=!0,t}).next=t}throw new TypeError(C(e)+" is not iterable")}return s(w,"constructor",{value:b.prototype=m,configurable:!0}),s(m,"constructor",{value:b,configurable:!0}),b.displayName=i(m,o,"GeneratorFunction"),a.isGeneratorFunction=function(t){t="function"==typeof t&&t.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},a.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,i(t,o,"GeneratorFunction")),t.prototype=Object.create(w),t},a.awrap=function(t){return{__await:t}},_(O.prototype),i(O.prototype,r,function(){return this}),a.AsyncIterator=O,a.async=function(t,e,r,n,o){void 0===o&&(o=Promise);var i=new O(l(t,e,r,n),o);return a.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},_(w),i(w,o,"Generator"),i(w,n,function(){return this}),i(w,"toString",function(){return"[object Generator]"}),a.keys=function(t){var e,r=Object(t),n=[];for(e in r)n.push(e);return n.reverse(),function t(){for(;n.length;){var e=n.pop();if(e in r)return t.value=e,t.done=!1,t}return t.done=!0,t}},a.values=E,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=c,this.done=!1,this.delegate=null,this.method="next",this.arg=c,this.tryEntries.forEach(j),!t)for(var e in this)"t"===e.charAt(0)&&u.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=c)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var n=this;function t(t,e){return i.type="throw",i.arg=r,n.next=t,e&&(n.method="next",n.arg=c),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var o=this.tryEntries[e],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=u.call(o,"catchLoc"),l=u.call(o,"finallyLoc");if(a&&l){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;0<=r;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&u.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}var i=(o=o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc?null:o)?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r,n,o=this.tryEntries[e];if(o.tryLoc===t)return"throw"===(r=o.completion).type&&(n=r.arg,j(o)),n}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=c),d}},a}function Ne(t,e,r,n,o,i,a){try{var l=t[i](a),c=l.value}catch(t){return r(t)}l.done?e(c):Promise.resolve(c).then(n,o)}function He(l){return function(){var t=this,a=arguments;return new Promise(function(e,r){var n=l.apply(t,a);function o(t){Ne(n,e,r,o,i,"next",t)}function i(t){Ne(n,e,r,o,i,"throw",t)}o(void 0)})}}function Be(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,function(t){t=function(t){if("object"!=C(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=C(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t);return"symbol"==C(t)?t:String(t)}(n.key),n)}}function De(){return(De="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=T(t)););return t}(t,e);if(n)return(n=Object.getOwnPropertyDescriptor(n,e)).get?n.get.call(arguments.length<3?t:r):n.value}).apply(this,arguments)}function T(t){return(T=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Fe(t,e){return(Fe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}x.version="2.14.0",x.dependencies={},m([P()],x.prototype,"dir",2),m([P()],x.prototype,"lang",2);var Ge,Ve,We,qe=Symbol(),Ze=Symbol(),Je=new Map,M=function(){function r(){var t=this,e=r;if(t instanceof e)return(t=function(t,e,r){e=T(e);var n=t;if(!(e=function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return t}()?Reflect.construct(e,r||[],T(t).constructor):e.apply(t,r))||"object"!==C(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=n))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}(this,r,arguments)).initialRender=!1,t.svg=null,t.label="",t.library="default",t;throw new TypeError("Cannot call a class as a function")}var t,n,e=r,o=x;if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function");return e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),o&&Fe(e,o),e=r,o=[{key:"resolveIcon",value:(n=He(Ie().mark(function t(n,o){var i,a,l,c,u;return Ie().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(null!=o&&o.spriteSheet)return t.abrupt("return",Nt(Ue||(e=['<svg part="svg">\n <use part="use" href="','"></use>\n </svg>'],r=(r=void 0)||e.slice(0),Ue=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))),n));t.next=2;break;case 2:return t.prev=2,t.next=5,fetch(n,{mode:"cors"});case 5:if((i=t.sent).ok){t.next=8;break}return t.abrupt("return",410===i.status?qe:Ze);case 8:t.next=13;break;case 10:return t.prev=10,t.t0=t.catch(2),t.abrupt("return",Ze);case 13:return t.prev=13,a=document.createElement("div"),t.next=17,i.text();case 17:if(a.innerHTML=t.sent,l=a.firstElementChild,"svg"!==(null==(c=null==l?void 0:l.tagName)?void 0:c.toLowerCase()))return t.abrupt("return",qe);t.next=21;break;case 21:if(Ge=Ge||new DOMParser,c=Ge.parseFromString(l.outerHTML,"text/html"),u=c.body.querySelector("svg")){t.next=26;break}return t.abrupt("return",qe);case 26:return u.part.add("svg"),t.abrupt("return",document.adoptNode(u));case 30:return t.prev=30,t.t1=t.catch(13),t.abrupt("return",qe);case 33:case"end":return t.stop()}var e,r},t,null,[[2,10],[13,30]])})),function(t,e){return n.apply(this,arguments)})},{key:"connectedCallback",value:function(){De(T(r.prototype),"connectedCallback",this).call(this),ue.push(this)}},{key:"firstUpdated",value:function(){this.initialRender=!0,this.setIcon()}},{key:"disconnectedCallback",value:function(){var e;De(T(r.prototype),"disconnectedCallback",this).call(this),e=this,ue=ue.filter(function(t){return t!==e})}},{key:"getIconSource",value:function(){var t=se(this.library);return this.name&&t?{url:t.resolver(this.name),fromLibrary:!0}:{url:this.src,fromLibrary:!1}}},{key:"handleLabelChange",value:function(){"string"==typeof this.label&&0<this.label.length?(this.setAttribute("role","img"),this.setAttribute("aria-label",this.label),this.removeAttribute("aria-hidden")):(this.removeAttribute("role"),this.removeAttribute("aria-label"),this.setAttribute("aria-hidden","true"))}},{key:"setIcon",value:(t=He(Ie().mark(function t(){var r,n,o,i,a;return Ie().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(o=this.getIconSource(),n=o.url,o=o.fromLibrary,o=o?se(this.library):void 0,n){t.next=5;break}return this.svg=null,t.abrupt("return");case 5:if((i=Je.get(n))||(i=this.resolveIcon(n,o),Je.set(n,i)),this.initialRender){t.next=9;break}return t.abrupt("return");case 9:return t.next=11,i;case 11:if((a=t.sent)===Ze&&Je.delete(n),n!==this.getIconSource().url)return t.abrupt("return");t.next=15;break;case 15:if(void 0!==(null==(e=a)?void 0:e._$litType$))return this.svg=a,t.abrupt("return");t.next=18;break;case 18:t.t0=a,t.next=t.t0===Ze||t.t0===qe?21:24;break;case 21:return this.svg=null,this.emit("sl-error"),t.abrupt("break",27);case 24:this.svg=a.cloneNode(!0),null!=(r=null==o?void 0:o.mutator)&&r.call(o,this.svg),this.emit("sl-load");case 27:case"end":return t.stop()}var e},t,this)})),function(){return t.apply(this,arguments)})},{key:"render",value:function(){return this.svg}}],Be(e.prototype,o),Object.defineProperty(e,"prototype",{writable:!1}),r}();function Ye(t){return(Ye="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 Ke(t,e){return e=e||t.slice(0),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function Qe(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,function(t){t=function(t){if("object"!=Ye(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=Ye(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t);return"symbol"==Ye(t)?t:String(t)}(n.key),n)}}function Xe(t){return(Xe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tr(t,e){return(tr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}M.styles=[g,b],m([Ee()],M.prototype,"svg",2),m([P({reflect:!0})],M.prototype,"name",2),m([P()],M.prototype,"src",2),m([P()],M.prototype,"label",2),m([P({reflect:!0})],M.prototype,"library",2),m([ge("label")],M.prototype,"handleLabelChange",1),m([ge(["name","src","library"])],M.prototype,"setIcon",1);t=function(){function r(){var t=this,e=r;if(t instanceof e)return(t=function(t,e,r){e=Xe(e);var n=t;if(!(e=function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return t}()?Reflect.construct(e,r||[],Xe(t).constructor):e.apply(t,r))||"object"!==Ye(e)&&"function"!=typeof e){if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");if(void 0===(e=n))throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}(this,r,arguments)).isLoaded=!1,t;throw new TypeError("Cannot call a class as a function")}var t=r,e=x;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&tr(t,e),Qe((t=r).prototype,[{key:"handleClick",value:function(){this.play=!this.play}},{key:"handleLoad",value:function(){var t=document.createElement("canvas"),e=this.animatedImage,r=e.width,e=e.height;t.width=r,t.height=e,t.getContext("2d").drawImage(this.animatedImage,0,0,r,e),this.frozenFrame=t.toDataURL("image/gif"),this.isLoaded||(this.emit("sl-load"),this.isLoaded=!0)}},{key:"handleError",value:function(){this.emit("sl-error")}},{key:"handlePlayChange",value:function(){this.play&&(this.animatedImage.src="",this.animatedImage.src=this.src)}},{key:"handleSrcChange",value:function(){this.isLoaded=!1}},{key:"render",value:function(){return Nt(Ve=Ve||Ke(['\n <div class="animated-image">\n <img\n class="animated-image__animated"\n src=',"\n alt=",'\n crossorigin="anonymous"\n aria-hidden=',"\n @click=","\n @load=","\n @error=","\n />\n\n ","\n </div>\n "]),this.src,this.alt,this.play?"false":"true",this.handleClick,this.handleLoad,this.handleError,this.isLoaded?Nt(We=We||Ke(['\n <img\n class="animated-image__frozen"\n src=',"\n alt=","\n aria-hidden=","\n @click=",'\n />\n\n <div part="control-box" class="animated-image__control-box">\n <slot name="play-icon"><sl-icon name="play-fill" library="system"></sl-icon></slot>\n <slot name="pause-icon"><sl-icon name="pause-fill" library="system"></sl-icon></slot>\n </div>\n ']),this.frozenFrame,this.alt,this.play?"true":"false",this.handleClick):"")}}]),Object.defineProperty(t,"prototype",{writable:!1}),r}();function er(t){return(er="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 rr(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function nr(o){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?rr(Object(i),!0).forEach(function(t){var e,r,n;e=o,r=i[t=t],n=function(t){if("object"!=er(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=er(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t),(t="symbol"==er(n)?n:String(n))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(i)):rr(Object(i)).forEach(function(t){Object.defineProperty(o,t,Object.getOwnPropertyDescriptor(i,t))})}return o}function or(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}t.styles=[g,e],t.dependencies={"sl-icon":M},m([function(t,e,r){function n(t){return null!=(t=null==(t=t.renderRoot)?void 0:t.querySelector(".animated-image__animated"))?t:null}return Pe(t,e,{get:function(){return n(this)}})}],t.prototype,"animatedImage",2),m([Ee()],t.prototype,"frozenFrame",2),m([Ee()],t.prototype,"isLoaded",2),m([P()],t.prototype,"src",2),m([P()],t.prototype,"alt",2),m([P({type:Boolean,reflect:!0})],t.prototype,"play",2),m([ge("play",{waitUntilFirstUpdate:!0})],t.prototype,"handlePlayChange",1),m([ge("src")],t.prototype,"handleSrcChange",1);function ir(t){var e=t.id,r=t.className,n=t.style,o=t.src,i=t.alt,a=t.play,t=(t.setProps,t.loading_state);return H.a.createElement(hr,{id:e,className:r,style:n,src:o,alt:i,play:a,"data-dash-is-loading":t&&t.is_loading||void 0})}var z,ar,lr,cr,ur,sr=new Set(["children","localName","ref","style","className"]),fr=new WeakMap,hr=(t.define("sl-animated-image"),z=(b={tagName:"sl-animated-image",elementClass:t,react:N,events:{onSlLoad:"sl-load",onSlError:"sl-error"},displayName:"SlAnimatedImage"}).react,ar=b.tagName,lr=b.elementClass,cr=b.events,b=b.displayName,ur=new Set(Object.keys(null!=cr?cr:{})),(g=z.forwardRef(function(i,e){for(var a=z.useRef(null),l=z.useRef(null),t={},c={},r=0,n=Object.entries(i);r<n.length;r++){o=n[r],u=2;var o=function(t){if(Array.isArray(t))return t}(o)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(o,u)||function(t,e){var r;if(t)return"string"==typeof t?or(t,e):"Map"===(r="Object"===(r=Object.prototype.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:r)||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?or(t,e):void 0}(o,u)||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.")}(),u=o[0],o=o[1];sr.has(u)?t["className"===u?"class":u]=o:ur.has(u)||u in lr.prototype?c[u]=o:t[u]=o}return z.useLayoutEffect(function(){if(null!==l.current){for(var t in c)e=l.current,r=t,n=i[t],t=a.current?a.current[t]:void 0,o=cr,o=null==o?void 0:o[r],void 0===o||n===t?null==(e[r]=n)&&r in HTMLElement.prototype&&e.removeAttribute(r):(t=e,r=o,e=n,void 0===(o=fr.get(t))&&fr.set(t,o=new Map),n=o.get(r),void 0!==e?void 0===n?(o.set(r,n={handleEvent:e}),t.addEventListener(r,n)):n.handleEvent=e:void 0!==n&&(o.delete(r),t.removeEventListener(r,n)));a.current=i}var e,r,n,o}),z.useLayoutEffect(function(){var t;null!=(t=l.current)&&t.removeAttribute("defer-hydration")},[]),t.suppressHydrationWarning=!0,z.createElement(ar,nr(nr({},t),{},{ref:z.useCallback(function(t){l.current=t,"function"==typeof e?e(t):null!==e&&(e.current=t)},[e])}))})).displayName=null!=b?b:lr.name,g),e=I(228);(U.default=ir).defaultProps=e.b,ir.propTypes=e.c}}]);
|