feffery_utils_components 0.2.0-rc17 → 0.2.0-rc19

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.
Files changed (47) hide show
  1. package/DESCRIPTION +1 -1
  2. package/NAMESPACE +1 -0
  3. package/Project.toml +1 -1
  4. package/README.md +1 -1
  5. package/feffery_utils_components/FefferyEventSource.py +82 -0
  6. package/feffery_utils_components/_imports_.py +2 -0
  7. package/feffery_utils_components/async-feffery_animated_3d_background_p5.js +1 -1
  8. package/feffery_utils_components/async-feffery_animated_3d_background_three.js +1 -1
  9. package/feffery_utils_components/async-feffery_animated_image.js +1 -1
  10. package/feffery_utils_components/async-feffery_aplayer.js +1 -1
  11. package/feffery_utils_components/async-feffery_auto_animate.js +1 -1
  12. package/feffery_utils_components/async-feffery_auto_fit.js +1 -1
  13. package/feffery_utils_components/async-feffery_burger.js +1 -1
  14. package/feffery_utils_components/async-feffery_captcha.js +1 -1
  15. package/feffery_utils_components/async-feffery_color_pickers.js +1 -1
  16. package/feffery_utils_components/async-feffery_dom2image.js +1 -1
  17. package/feffery_utils_components/async-feffery_dplayer.js +1 -1
  18. package/feffery_utils_components/async-feffery_emoji_picker.js +1 -1
  19. package/feffery_utils_components/async-feffery_excel_preview.js +1 -1
  20. package/feffery_utils_components/async-feffery_extra_spinner.js +1 -1
  21. package/feffery_utils_components/async-feffery_fancy_button.js +1 -1
  22. package/feffery_utils_components/async-feffery_grid.js +1 -1
  23. package/feffery_utils_components/async-feffery_http_requests.js +1 -1
  24. package/feffery_utils_components/async-feffery_image_cropper.js +1 -1
  25. package/feffery_utils_components/async-feffery_json_viewer.js +1 -1
  26. package/feffery_utils_components/async-feffery_local_large_storage.js +1 -1
  27. package/feffery_utils_components/async-feffery_markdown_editor.js +1 -1
  28. package/feffery_utils_components/async-feffery_motion.js +1 -1
  29. package/feffery_utils_components/async-feffery_music_player.js +1 -1
  30. package/feffery_utils_components/async-feffery_photo_sphere_viewer.js +1 -1
  31. package/feffery_utils_components/async-feffery_resizable.js +1 -1
  32. package/feffery_utils_components/async-feffery_rich_text_editor.js +1 -1
  33. package/feffery_utils_components/async-feffery_rnd.js +1 -1
  34. package/feffery_utils_components/async-feffery_seamless_scroll.js +1 -1
  35. package/feffery_utils_components/async-feffery_shortcut_panel.js +1 -1
  36. package/feffery_utils_components/async-feffery_slider_captcha.js +1 -1
  37. package/feffery_utils_components/async-feffery_sortable.js +1 -1
  38. package/feffery_utils_components/async-feffery_vditor.js +1 -1
  39. package/feffery_utils_components/async-feffery_word_preview.js +1 -1
  40. package/feffery_utils_components/feffery_utils_components.min.js +2 -2
  41. package/feffery_utils_components/metadata.json +153 -0
  42. package/feffery_utils_components/package-info.json +1 -1
  43. package/package.json +1 -1
  44. package/src/lib/components/FefferyCountUp.react.js +28 -5
  45. package/src/lib/components/FefferyEventSource.react.js +150 -0
  46. package/src/lib/index.js +3 -1
  47. package/usage.py +33 -28
@@ -1 +1 @@
1
- (window.webpackJsonpfeffery_utils_components=window.webpackJsonpfeffery_utils_components||[]).push([[3],{519:function(R,I,U){"use strict";U.r(I);var N=U(1),H=U.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: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=function t(e,r,n){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");if(this._$cssResult$=!0,n!==Z)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}).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}),t),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 $(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 Q(t){return function(t){if(Array.isArray(t))return nt(t)}(t)||function(){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}()||rt(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 X(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)||rt(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 tt(){tt=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 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 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 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 et(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=rt(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 rt(t,e){var r;if(t)return"string"==typeof t?nt(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)?nt(t,e):void 0}function nt(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 ot(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:t+""}(n.key),n)}}function it(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 at()?Reflect.construct.apply(null,arguments):((n=[null]).push.apply(n,e),e=new(t.bind.apply(t,n)),r&&lt(e,r.prototype),e)}(t,arguments,ct(this).constructor)}return e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),lt(e,t)}(t)}function at(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(at=function(){return!!t})()}function lt(t,e){return(lt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function ct(t){return(ct=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var ut=Object.is,st=Object.defineProperty,ft=Object.getOwnPropertyDescriptor,ht=Object.getOwnPropertyNames,pt=Object.getOwnPropertySymbols,yt=Object.getPrototypeOf,t=globalThis,e=t.trustedTypes,dt=e?e.emptyScript:"",e=t.reactiveElementPolyfillSupport,vt={toAttribute:function(t,e){switch(e){case Boolean:t=t?dt: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}},bt=function(t,e){return!ut(t,e)},mt={attribute:!0,type:String,converter:vt,reflect:!1,hasChanged:bt};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=ct(e);var n=t;if(!(e=at()?Reflect.construct(e,r||[],ct(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&&lt(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:vt).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:vt,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:bt)(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=tt().mark(function t(){var e;return tt().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){et(n,e,r,o,i,"next",t)}function i(t){et(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=X(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=X(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&&Q(this._$Eh.keys())}},{key:"createProperty",value:function(t){var e,r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:mt;r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(t,r),r.noAccessor||(e=Symbol(),void 0!==(e=this.getPropertyDescriptor(t,e,r))&&st(this.prototype,t,e))}},{key:"getPropertyDescriptor",value:function(r,e,n){var t=null!=(t=ft(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:mt}},{key:"_$Ei",value:function(){var t;this.hasOwnProperty("elementProperties")||((t=yt(this)).finalize(),void 0!==t.l&&(this.l=Q(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(Q(ht(e)),Q(pt(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=X(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=X(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}}],ot(o.prototype,t),ot(o,r),Object.defineProperty(o,"prototype",{writable:!1}),o}(it(HTMLElement));function gt(t,e,r){e=wt(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||[],wt(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 wt(t){return(wt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function _t(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&&Ot(t,e)}function Ot(t,e){return(Ot=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function St(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=jt(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 jt(t,e){var r;if(t)return"string"==typeof t?At(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)?At(t,e):void 0}function At(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 O(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Et(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:t+""}(n.key),n)}}function n(t,e,r){return e&&Et(t.prototype,e),r&&Et(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}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 S(){return u.createComment("")}function s(t){return null===t||"object"!=o(t)&&"function"!=typeof t}function $t(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,Pt=e.trustedTypes,kt=Pt?Pt.createPolicy("lit-html",{createHTML:function(t){return t}}):void 0,j="lit$".concat(Math.random().toFixed(9).slice(2),"$"),xt="?"+j,Lt="<".concat(xt,">"),u=document,Ct=Array.isArray,A=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Tt=/-->/g,Mt=/>/g,E=RegExp(">|".concat("[ \t\n\f\r]","(?:([^\\s\"'>=/]+)(").concat("[ \t\n\f\r]","*=").concat("[ \t\n\f\r]","*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)"),"g"),zt=/'/g,Rt=/"/g,It=/^(?:script|style|textarea|title)$/i,Ut=$t(1),f=($t(2),Symbol.for("lit-noChange")),h=Symbol.for("lit-nothing"),Nt=new WeakMap,P=u.createTreeWalker(u,129);function Ht(t,e){if(Array.isArray(t)&&t.hasOwnProperty("raw"))return void 0!==kt?kt.createHTML(e):e;throw Error("invalid template strings array")}var Bt=n(function t(e,r){var n,o,i=e.strings,e=e._$litType$,a=(O(this,t),this.parts=[],0),l=0,c=i.length-1,u=this.parts,i=(i=function(t,e){for(var r,n=t.length-1,o=[],i=2===e?"<svg>":"",a=A,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===A?"!--"===s[1]?a=Tt:void 0!==s[1]?a=Mt:void 0!==s[2]?(It.test(s[2])&&(r=RegExp("</"+s[2],"g")),a=E):void 0!==s[3]&&(a=E):a===E?">"===s[0]?(a=null!=(p=r)?p:A,f=-1):void 0===s[1]?f=-2:(f=a.lastIndex-s[2].length,u=s[1],a=void 0===s[3]?E:'"'===s[3]?Rt:zt):a===Rt||a===zt?a=E:a===Tt||a===Mt?a=A:(a=E,r=void 0)}var y=a===E&&t[l+1].startsWith("/>")?" ":"";i+=a===A?c+Lt:0<=f?(o.push(u),c.slice(0,f)+"$lit$"+c.slice(f)+j+y):c+j+(-2===f?l:y)}return[Ht(t,i+(t[n]||"<?>")+(2===e?"</svg>":"")),o]}(i,e),s=2,function(t){if(Array.isArray(t))return t}(i)||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}}(i,s)||jt(i,s)||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.")}()),s=i[0],f=i[1];for(this.el=t.createElement(s,r),P.currentNode=this.el.content,2===e&&(i=this.el.content.firstChild).replaceWith.apply(i,function(t){if(Array.isArray(t))return At(t)}(o=i.childNodes)||function(){if("undefined"!=typeof Symbol&&null!=o[Symbol.iterator]||null!=o["@@iterator"])return Array.from(o)}()||jt(o)||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!==(n=P.nextNode())&&u.length<c;){if(1===n.nodeType){if(n.hasAttributes()){var h,p=St(n.getAttributeNames());try{for(p.s();!(h=p.n()).done;){var y,d,v,b=h.value;b.endsWith("$lit$")?(y=f[l++],d=n.getAttribute(b).split(j),v=/([.?@])?(.*)/.exec(y),u.push({type:1,index:a,name:v[2],strings:d,ctor:"."===v[1]?Vt:"?"===v[1]?Wt:"@"===v[1]?qt:Gt}),n.removeAttribute(b)):b.startsWith(j)&&(u.push({type:6,index:a}),n.removeAttribute(b))}}catch(t){p.e(t)}finally{p.f()}}if(It.test(n.tagName)){var m=n.textContent.split(j),g=m.length-1;if(0<g){n.textContent=Pt?Pt.emptyScript:"";for(var w=0;w<g;w++)n.append(m[w],S()),P.nextNode(),u.push({type:2,index:++a});n.append(m[g],S())}}}else if(8===n.nodeType)if(n.data===xt)u.push({type:2,index:a});else for(var _=-1;-1!==(_=n.data.indexOf(j,_+1));)u.push({type:7,index:a}),_+=j.length-1;a++}},null,[{key:"createElement",value:function(t,e){var r=u.createElement("template");return r.innerHTML=t,r}}]);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}var Dt=n(function t(e,r){O(this,t),this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r},[{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);P.currentNode=e;for(var o,i=P.nextNode(),a=0,l=0,c=n[0];void 0!==c;)a===c.index&&(o=void 0,2===c.type?o=new Ft(i,i.nextSibling,this,t):1===c.type?o=new c.ctor(i,c.name,c.strings,this,t):6===c.type&&(o=new Zt(i,this,t)),this._$AV.push(o),c=n[++l]),a!==(null==(o=c)?void 0:o.index)&&(i=P.nextNode(),a++);return P.currentNode=u,e}},{key:"p",value:function(t){var e,r=0,n=St(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()}}}]),Ft=n(Qt,[{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):Ct(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=Bt.createElement(Ht(r.h,r.h[0]),this.options)),r);(null==(r=this._$AH)?void 0:r._$AD)===t?this._$AH.p(e):(t=(r=new Dt(t,this)).u(this.options),r.p(e),this.T(t),this._$AH=r)}},{key:"_$AC",value:function(t){var e=Nt.get(t.strings);return void 0===e&&Nt.set(t.strings,e=new Bt(t)),e}},{key:"k",value:function(t){Ct(this._$AH)||(this._$AH=[],this._$AR());var e,r,n=this._$AH,o=0,i=St(t);try{for(i.s();!(r=i.n()).done;){var a=r.value;o===n.length?n.push(e=new Qt(this.S(S()),this.S(S()),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)}}]),Gt=n(function t(e,r,n,o,i){O(this,t),this.type=1,this._$AH=h,this._$AN=void 0,this.element=e,this.name=r,this._$AM=o,this.options=i,2<n.length||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=h},[{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:"")}}]),Vt=(_t(Kt,Gt),n(Kt,[{key:"j",value:function(t){this.element[this.name]=t===h?void 0:t}}])),Wt=(_t(Yt,Gt),n(Yt,[{key:"j",value:function(t){this.element.toggleAttribute(this.name,!!t&&t!==h)}}])),qt=(_t(Jt,Gt),n(Jt,[{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)}}])),Zt=n(function t(e,r,n){O(this,t),this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n},[{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AI",value:function(t){p(this,t)}}]),t=e.litHtmlPolyfillSupport;function Jt(t,e,r,n,o){return O(this,Jt),(t=gt(this,Jt,[t,e,r,n,o])).type=5,t}function Yt(){var t;return O(this,Yt),(t=gt(this,Yt,arguments)).type=4,t}function Kt(){var t;return O(this,Kt),(t=gt(this,Kt,arguments)).type=3,t}function Qt(t,e,r,n){O(this,Qt),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 i(t){return(i="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 Xt(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"!=i(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=i(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t);return"symbol"==i(t)?t:t+""}(n.key),n)}}function te(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l(){return(l="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=c(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 c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ee(t,e){return(ee=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}null!=t&&t(Bt,Ft),(null!=(t=e.litHtmlVersions)?t:e.litHtmlVersions=[]).push("3.1.3");t=function(){function a(){var t=this,e=a;if(t instanceof e)return(t=function(t,e,r){e=c(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||[],c(t).constructor):e.apply(t,r))&&("object"===i(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return te(n)}(this,a,arguments)).renderOptions={host:te(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&&ee(t,e),Xt((t=a).prototype,[{key:"createRenderRoot",value:function(){var t,e=l(c(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),l(c(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 Ft(i.insertBefore(S(),r),r,void 0,null!=e?e:{})),o._$AI(t),o)}},{key:"connectedCallback",value:function(){var t;l(c(a.prototype),"connectedCallback",this).call(this),null!=(t=this._$Do)&&t.setConnected(!0)}},{key:"disconnectedCallback",value:function(){var t;l(c(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}),t}(),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.5");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"],a=a||e.slice(0),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(a)}}))));function re(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 ne="";function oe(t){ne=t}var ie={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 '},ae=[{name:"default",resolver:function(t){return function(t){var e,r,n,t=0<arguments.length&&void 0!==t?t:"";return ne||((r=(e=function(t){if(Array.isArray(t))return re(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?re(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)?re(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")}))?oe(r.getAttribute("data-shoelace")):(r="",oe((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("/")))),ne.replace(/\/$/,"")+(t?"/".concat(t.replace(/^\//,"")):"")}("assets/icons/".concat(t,".svg"))}},{name:"system",resolver:function(t){return t in ie?"data:image/svg+xml,".concat(encodeURIComponent(ie[t])):""}}],le=[];function ce(e){return ae.find(function(t){return t.name===e})}var a=V((a=["\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"],d=d||a.slice(0),Object.freeze(Object.defineProperties(a,{raw:{value:Object.freeze(d)}}))));function ue(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 se(t,e,r){e in t?he(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r}function fe(t,e){for(var r in e=e||{})de.call(e,r)&&se(t,r,e[r]);if(ye){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?ue(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)?ue(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.")}(ye(e));try{for(o.s();!(n=o.n()).done;)r=n.value,ve.call(e,r)&&se(t,r,e[r])}catch(t){o.e(t)}finally{o.f()}}return t}function y(t,e,r,n){for(var o,i=1<n?void 0:n?pe(e,r):e,a=t.length-1;0<=a;a--)(o=t[a])&&(i=(n?o(e,r,i):o(i))||i);n&&i&&he(e,r,i)}var he=Object.defineProperty,pe=(Object.defineProperties,Object.getOwnPropertyDescriptor),ye=(Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols),de=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable;function be(r,t){var a=fe({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 d=V((d=["\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"],C=C||d.slice(0),Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(C)}}))));function me(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 ge(o){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?me(Object(i),!0).forEach(function(t){var e,r,n;e=o,r=i[t=t],n=function(t){if("object"!=b(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=b(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t),(t="symbol"==b(n)?n: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)):me(Object(i)).forEach(function(t){Object.defineProperty(o,t,Object.getOwnPropertyDescriptor(i,t))})}return o}function b(t){return(b="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 we={attribute:!0,type:String,converter:vt,reflect:!1,hasChanged:bt};function m(o){return function(t,e){return"object"==b(e)?function(t,e,r){var n,o,i=0<arguments.length&&void 0!==t?t:we,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?ge(ge({},r),{},{wrapped:!0}):r),n?Object.getOwnPropertyDescriptor(t,e):void 0);var r,n}}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 Oe(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 Se(o){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(i),!0).forEach(function(t){var e,r,n;e=o,r=i[t=t],n=function(t){if("object"!=_e(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=_e(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t),(t="symbol"==_e(n)?n: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)):Oe(Object(i)).forEach(function(t){Object.defineProperty(o,t,Object.getOwnPropertyDescriptor(i,t))})}return o}function je(t){return m(Se(Se({},t),{},{state:!0,attribute:!1}))}function Ae(t){return(Ae="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,r){return r.configurable=!0,r.enumerable=!0,Reflect.decorate&&"object"!=Ae(e)&&Object.defineProperty(t,e,r),r}function g(t){return(g="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 $e(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 Pe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ke(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"!=g(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=g(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t);return"symbol"==g(t)?t:t+""}(n.key),n)}}function xe(t,e,r){return e&&ke(t.prototype,e),r&&ke(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function Le(t,e,r){e=Ce(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||[],Ce(t).constructor):e.apply(t,r);if(!e||"object"!==g(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 Ce(t){return(Ce=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Te(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&&Me(t,e)}function Me(t,e){return(Me=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}Te(Re,t);var ze,w=xe(Re,[{key:"emit",value:function(t,e){t=new CustomEvent(t,fe({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 Pe(this,a),Le(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,(Te(a,n),xe(a)),o)}}]);function Re(){var r;return Pe(this,Re),r=Le(this,Re),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?$e(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)?$e(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 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 x(){x=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 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"==k(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(k(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 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 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 Ie(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 Ue(l){return function(){var t=this,a=arguments;return new Promise(function(e,r){var n=l.apply(t,a);function o(t){Ie(n,e,r,o,i,"next",t)}function i(t){Ie(n,e,r,o,i,"throw",t)}o(void 0)})}}function Ne(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:t+""}(n.key),n)}}function He(){return(He="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)););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){return(_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Be(t,e){return(Be=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}w.version="2.15.0",w.dependencies={},y([m()],w.prototype,"dir",2),y([m()],w.prototype,"lang",2);var De,Fe,Ge,L=Symbol(),Ve=Symbol(),We=new Map,C=function(){function r(){var t=this,e=r;if(t instanceof e)return(t=function(t,e,r){e=_(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).constructor):e.apply(t,r))||"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}(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=w;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&&Be(e,o),e=r,o=[{key:"resolveIcon",value:(n=Ue(x().mark(function t(n,o){var i,a,l,c,u;return x().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(null!=o&&o.spriteSheet)return this.svg=Ut(ze||(e=['<svg part="svg">\n <use part="use" href="','"></use>\n </svg>'],r=(r=void 0)||e.slice(0),ze=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))),n),t.next=4,this.updateComplete;t.next=7;break;case 4:return a=this.shadowRoot.querySelector("[part='svg']"),"function"==typeof o.mutator&&o.mutator(a),t.abrupt("return",this.svg);case 7:return t.prev=7,t.next=10,fetch(n,{mode:"cors"});case 10:if((i=t.sent).ok){t.next=13;break}return t.abrupt("return",410===i.status?L:Ve);case 13:t.next=18;break;case 15:return t.prev=15,t.t0=t.catch(7),t.abrupt("return",Ve);case 18:return t.prev=18,l=document.createElement("div"),t.next=22,i.text();case 22:if(l.innerHTML=t.sent,c=l.firstElementChild,"svg"!==(null==(a=null==c?void 0:c.tagName)?void 0:a.toLowerCase()))return t.abrupt("return",L);t.next=26;break;case 26:if(De=De||new DOMParser,u=De.parseFromString(c.outerHTML,"text/html"),u=u.body.querySelector("svg")){t.next=31;break}return t.abrupt("return",L);case 31:return u.part.add("svg"),t.abrupt("return",document.adoptNode(u));case 35:return t.prev=35,t.t1=t.catch(18),t.abrupt("return",L);case 38:case"end":return t.stop()}var e,r},t,this,[[7,15],[18,35]])})),function(t,e){return n.apply(this,arguments)})},{key:"connectedCallback",value:function(){He(_(r.prototype),"connectedCallback",this).call(this),le.push(this)}},{key:"firstUpdated",value:function(){this.initialRender=!0,this.setIcon()}},{key:"disconnectedCallback",value:function(){var e;He(_(r.prototype),"disconnectedCallback",this).call(this),e=this,le=le.filter(function(t){return t!==e})}},{key:"getIconSource",value:function(){var t=ce(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=Ue(x().mark(function t(){var r,n,o,i,a;return x().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(o=this.getIconSource(),n=o.url,o=o.fromLibrary,o=o?ce(this.library):void 0,n){t.next=5;break}return this.svg=null,t.abrupt("return");case 5:if((i=We.get(n))||(i=this.resolveIcon(n,o),We.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)===Ve&&We.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===Ve||t.t0===L?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}}],Ne(e.prototype,o),Object.defineProperty(e,"prototype",{writable:!1}),e}();function T(t){return(T="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 qe(t,e){return e=e||t.slice(0),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function Ze(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)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=T(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t);return"symbol"==T(t)?t:t+""}(n.key),n)}}function Je(t){return(Je=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ye(t,e){return(Ye=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}C.styles=[d,a],y([je()],C.prototype,"svg",2),y([m({reflect:!0})],C.prototype,"name",2),y([m()],C.prototype,"src",2),y([m()],C.prototype,"label",2),y([m({reflect:!0})],C.prototype,"library",2),y([be("label")],C.prototype,"handleLabelChange",1),y([be(["name","src","library"])],C.prototype,"setIcon",1);t=function(){function r(){var t=this,e=r;if(t instanceof e)return(t=function(t,e,r){e=Je(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||[],Je(t).constructor):e.apply(t,r))||"object"!==T(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=w;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&&Ye(t,e),Ze((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 Ut(Fe=Fe||qe(['\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?Ut(Ge=Ge||qe(['\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}),t}();function Ke(t){return(Ke="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 Qe(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 Xe(o){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?Qe(Object(i),!0).forEach(function(t){var e,r,n;e=o,r=i[t=t],n=function(t){if("object"!=Ke(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=Ke(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t),(t="symbol"==Ke(n)?n: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)):Qe(Object(i)).forEach(function(t){Object.defineProperty(o,t,Object.getOwnPropertyDescriptor(i,t))})}return o}function tr(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)||er(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 er(t,e){var r;if(t)return"string"==typeof t?rr(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)?rr(t,e):void 0}function rr(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=[d,e],t.dependencies={"sl-icon":C},y([function(t,e,r){function n(t){return null!=(t=null==(t=t.renderRoot)?void 0:t.querySelector(".animated-image__animated"))?t:null}return Ee(t,e,{get:function(){return n(this)}})}],t.prototype,"animatedImage",2),y([je()],t.prototype,"frozenFrame",2),y([je()],t.prototype,"isLoaded",2),y([m()],t.prototype,"src",2),y([m()],t.prototype,"alt",2),y([m({type:Boolean,reflect:!0})],t.prototype,"play",2),y([be("play",{waitUntilFirstUpdate:!0})],t.prototype,"handlePlayChange",1),y([be("src")],t.prototype,"handleSrcChange",1);function nr(t,e,r,n,o){void 0===(o=null==o?void 0:o[e])?null==(t[e]=r)&&e in HTMLElement.prototype&&t.removeAttribute(e):r!==n&&(e=t,n=o,t=r,void 0===(o=ur.get(e))&&ur.set(e,o=new Map),r=o.get(n),void 0!==t?void 0===r?(o.set(n,r={handleEvent:t}),e.addEventListener(n,r)):r.handleEvent=t:void 0!==r&&(o.delete(n),e.removeEventListener(n,r)))}function or(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(sr,{id:e,className:r,style:n,src:o,alt:i,play:a,"data-dash-is-loading":t&&t.is_loading||void 0})}var M,ir,ar,z,lr,cr=new Set(["children","localName","ref","style","className"]),ur=new WeakMap,sr=(t.define("sl-animated-image"),M=(a={tagName:"sl-animated-image",elementClass:t,react:N,events:{onSlLoad:"sl-load",onSlError:"sl-error"},displayName:"SlAnimatedImage"}).react,ir=a.tagName,ar=a.elementClass,z=a.events,a=a.displayName,lr=new Set(Object.keys(null!=z?z:{})),(d=M.forwardRef(function(l,e){for(var c=M.useRef(new Map),u=M.useRef(null),t={},s={},r=0,n=Object.entries(l);r<n.length;r++){var o=tr(n[r],2),i=o[0],o=o[1];cr.has(i)?t["className"===i?"class":i]=o:lr.has(i)||i in ar.prototype?s[i]=o:t[i]=o}return M.useLayoutEffect(function(){if(null!==u.current){var t,e=new Map;for(t in s)nr(u.current,t,l[t],c.current.get(t),z),c.current.delete(t),e.set(t,l[t]);var r,n=function(t){var e,r,n,o,i,a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(a)return n=!(r=!0),{s:function(){a=a.call(t)},n:function(){var t=a.next();return r=t.done,t},e:function(t){n=!0,e=t},f:function(){try{r||null==a.return||a.return()}finally{if(n)throw e}}};if(Array.isArray(t)||(a=er(t)))return a&&(t=a),o=0,{s:i=function(){},n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:i};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(c.current);try{for(n.s();!(r=n.n()).done;){var o=tr(r.value,2),i=o[0],a=o[1];nr(u.current,i,void 0,a,z)}}catch(t){n.e(t)}finally{n.f()}c.current=e}}),M.useLayoutEffect(function(){var t;null!=(t=u.current)&&t.removeAttribute("defer-hydration")},[]),t.suppressHydrationWarning=!0,M.createElement(ir,Xe(Xe({},t),{},{ref:M.useCallback(function(t){u.current=t,"function"==typeof e?e(t):null!==e&&(e.current=t)},[e])}))})).displayName=null!=a?a:ar.name,d),e=U(226);(I.default=or).defaultProps=e.b,or.propTypes=e.c}}]);
1
+ (window.webpackJsonpfeffery_utils_components=window.webpackJsonpfeffery_utils_components||[]).push([[3],{519:function(R,I,U){"use strict";U.r(I);var N=U(1),H=U.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: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=function t(e,r,n){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");if(this._$cssResult$=!0,n!==Z)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}).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}),t),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 $(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 Q(t){return function(t){if(Array.isArray(t))return nt(t)}(t)||function(){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}()||rt(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 X(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)||rt(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 tt(){tt=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 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 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 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 et(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=rt(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 rt(t,e){var r;if(t)return"string"==typeof t?nt(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)?nt(t,e):void 0}function nt(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 ot(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:t+""}(n.key),n)}}function it(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 at()?Reflect.construct.apply(null,arguments):((n=[null]).push.apply(n,e),e=new(t.bind.apply(t,n)),r&&lt(e,r.prototype),e)}(t,arguments,ct(this).constructor)}return e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),lt(e,t)}(t)}function at(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(at=function(){return!!t})()}function lt(t,e){return(lt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function ct(t){return(ct=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var ut=Object.is,st=Object.defineProperty,ft=Object.getOwnPropertyDescriptor,ht=Object.getOwnPropertyNames,pt=Object.getOwnPropertySymbols,yt=Object.getPrototypeOf,t=globalThis,e=t.trustedTypes,dt=e?e.emptyScript:"",e=t.reactiveElementPolyfillSupport,vt={toAttribute:function(t,e){switch(e){case Boolean:t=t?dt: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}},bt=function(t,e){return!ut(t,e)},mt={attribute:!0,type:String,converter:vt,reflect:!1,hasChanged:bt};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=ct(e);var n=t;if(!(e=at()?Reflect.construct(e,r||[],ct(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&&lt(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:vt).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:vt,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:bt)(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=tt().mark(function t(){var e;return tt().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){et(n,e,r,o,i,"next",t)}function i(t){et(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=X(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=X(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&&Q(this._$Eh.keys())}},{key:"createProperty",value:function(t){var e,r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:mt;r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(t,r),r.noAccessor||(e=Symbol(),void 0!==(e=this.getPropertyDescriptor(t,e,r))&&st(this.prototype,t,e))}},{key:"getPropertyDescriptor",value:function(r,e,n){var t=null!=(t=ft(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:mt}},{key:"_$Ei",value:function(){var t;this.hasOwnProperty("elementProperties")||((t=yt(this)).finalize(),void 0!==t.l&&(this.l=Q(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(Q(ht(e)),Q(pt(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=X(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=X(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}}],ot(o.prototype,t),ot(o,r),Object.defineProperty(o,"prototype",{writable:!1}),o}(it(HTMLElement));function gt(t,e,r){e=wt(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||[],wt(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 wt(t){return(wt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function _t(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&&Ot(t,e)}function Ot(t,e){return(Ot=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function St(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=jt(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 jt(t,e){var r;if(t)return"string"==typeof t?At(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)?At(t,e):void 0}function At(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 O(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Et(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:t+""}(n.key),n)}}function n(t,e,r){return e&&Et(t.prototype,e),r&&Et(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}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 S(){return u.createComment("")}function s(t){return null===t||"object"!=o(t)&&"function"!=typeof t}function $t(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,Pt=e.trustedTypes,kt=Pt?Pt.createPolicy("lit-html",{createHTML:function(t){return t}}):void 0,j="lit$".concat(Math.random().toFixed(9).slice(2),"$"),xt="?"+j,Lt="<".concat(xt,">"),u=document,Ct=Array.isArray,A=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Tt=/-->/g,Mt=/>/g,E=RegExp(">|".concat("[ \t\n\f\r]","(?:([^\\s\"'>=/]+)(").concat("[ \t\n\f\r]","*=").concat("[ \t\n\f\r]","*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)"),"g"),zt=/'/g,Rt=/"/g,It=/^(?:script|style|textarea|title)$/i,Ut=$t(1),f=($t(2),Symbol.for("lit-noChange")),h=Symbol.for("lit-nothing"),Nt=new WeakMap,P=u.createTreeWalker(u,129);function Ht(t,e){if(Array.isArray(t)&&t.hasOwnProperty("raw"))return void 0!==kt?kt.createHTML(e):e;throw Error("invalid template strings array")}var Bt=n(function t(e,r){var n,o,i=e.strings,e=e._$litType$,a=(O(this,t),this.parts=[],0),l=0,c=i.length-1,u=this.parts,i=(i=function(t,e){for(var r,n=t.length-1,o=[],i=2===e?"<svg>":"",a=A,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===A?"!--"===s[1]?a=Tt:void 0!==s[1]?a=Mt:void 0!==s[2]?(It.test(s[2])&&(r=RegExp("</"+s[2],"g")),a=E):void 0!==s[3]&&(a=E):a===E?">"===s[0]?(a=null!=(p=r)?p:A,f=-1):void 0===s[1]?f=-2:(f=a.lastIndex-s[2].length,u=s[1],a=void 0===s[3]?E:'"'===s[3]?Rt:zt):a===Rt||a===zt?a=E:a===Tt||a===Mt?a=A:(a=E,r=void 0)}var y=a===E&&t[l+1].startsWith("/>")?" ":"";i+=a===A?c+Lt:0<=f?(o.push(u),c.slice(0,f)+"$lit$"+c.slice(f)+j+y):c+j+(-2===f?l:y)}return[Ht(t,i+(t[n]||"<?>")+(2===e?"</svg>":"")),o]}(i,e),s=2,function(t){if(Array.isArray(t))return t}(i)||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}}(i,s)||jt(i,s)||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.")}()),s=i[0],f=i[1];for(this.el=t.createElement(s,r),P.currentNode=this.el.content,2===e&&(i=this.el.content.firstChild).replaceWith.apply(i,function(t){if(Array.isArray(t))return At(t)}(o=i.childNodes)||function(){if("undefined"!=typeof Symbol&&null!=o[Symbol.iterator]||null!=o["@@iterator"])return Array.from(o)}()||jt(o)||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!==(n=P.nextNode())&&u.length<c;){if(1===n.nodeType){if(n.hasAttributes()){var h,p=St(n.getAttributeNames());try{for(p.s();!(h=p.n()).done;){var y,d,v,b=h.value;b.endsWith("$lit$")?(y=f[l++],d=n.getAttribute(b).split(j),v=/([.?@])?(.*)/.exec(y),u.push({type:1,index:a,name:v[2],strings:d,ctor:"."===v[1]?Vt:"?"===v[1]?Wt:"@"===v[1]?qt:Gt}),n.removeAttribute(b)):b.startsWith(j)&&(u.push({type:6,index:a}),n.removeAttribute(b))}}catch(t){p.e(t)}finally{p.f()}}if(It.test(n.tagName)){var m=n.textContent.split(j),g=m.length-1;if(0<g){n.textContent=Pt?Pt.emptyScript:"";for(var w=0;w<g;w++)n.append(m[w],S()),P.nextNode(),u.push({type:2,index:++a});n.append(m[g],S())}}}else if(8===n.nodeType)if(n.data===xt)u.push({type:2,index:a});else for(var _=-1;-1!==(_=n.data.indexOf(j,_+1));)u.push({type:7,index:a}),_+=j.length-1;a++}},null,[{key:"createElement",value:function(t,e){var r=u.createElement("template");return r.innerHTML=t,r}}]);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}var Dt=n(function t(e,r){O(this,t),this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r},[{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);P.currentNode=e;for(var o,i=P.nextNode(),a=0,l=0,c=n[0];void 0!==c;)a===c.index&&(o=void 0,2===c.type?o=new Ft(i,i.nextSibling,this,t):1===c.type?o=new c.ctor(i,c.name,c.strings,this,t):6===c.type&&(o=new Zt(i,this,t)),this._$AV.push(o),c=n[++l]),a!==(null==(o=c)?void 0:o.index)&&(i=P.nextNode(),a++);return P.currentNode=u,e}},{key:"p",value:function(t){var e,r=0,n=St(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()}}}]),Ft=n(Qt,[{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):Ct(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=Bt.createElement(Ht(r.h,r.h[0]),this.options)),r);(null==(r=this._$AH)?void 0:r._$AD)===t?this._$AH.p(e):(t=(r=new Dt(t,this)).u(this.options),r.p(e),this.T(t),this._$AH=r)}},{key:"_$AC",value:function(t){var e=Nt.get(t.strings);return void 0===e&&Nt.set(t.strings,e=new Bt(t)),e}},{key:"k",value:function(t){Ct(this._$AH)||(this._$AH=[],this._$AR());var e,r,n=this._$AH,o=0,i=St(t);try{for(i.s();!(r=i.n()).done;){var a=r.value;o===n.length?n.push(e=new Qt(this.S(S()),this.S(S()),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)}}]),Gt=n(function t(e,r,n,o,i){O(this,t),this.type=1,this._$AH=h,this._$AN=void 0,this.element=e,this.name=r,this._$AM=o,this.options=i,2<n.length||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=h},[{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:"")}}]),Vt=(_t(Kt,Gt),n(Kt,[{key:"j",value:function(t){this.element[this.name]=t===h?void 0:t}}])),Wt=(_t(Yt,Gt),n(Yt,[{key:"j",value:function(t){this.element.toggleAttribute(this.name,!!t&&t!==h)}}])),qt=(_t(Jt,Gt),n(Jt,[{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)}}])),Zt=n(function t(e,r,n){O(this,t),this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n},[{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AI",value:function(t){p(this,t)}}]),t=e.litHtmlPolyfillSupport;function Jt(t,e,r,n,o){return O(this,Jt),(t=gt(this,Jt,[t,e,r,n,o])).type=5,t}function Yt(){var t;return O(this,Yt),(t=gt(this,Yt,arguments)).type=4,t}function Kt(){var t;return O(this,Kt),(t=gt(this,Kt,arguments)).type=3,t}function Qt(t,e,r,n){O(this,Qt),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 i(t){return(i="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 Xt(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"!=i(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=i(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t);return"symbol"==i(t)?t:t+""}(n.key),n)}}function te(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l(){return(l="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=c(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 c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ee(t,e){return(ee=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}null!=t&&t(Bt,Ft),(null!=(t=e.litHtmlVersions)?t:e.litHtmlVersions=[]).push("3.1.3");t=function(){function a(){var t=this,e=a;if(t instanceof e)return(t=function(t,e,r){e=c(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||[],c(t).constructor):e.apply(t,r))&&("object"===i(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return te(n)}(this,a,arguments)).renderOptions={host:te(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&&ee(t,e),Xt((t=a).prototype,[{key:"createRenderRoot",value:function(){var t,e=l(c(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),l(c(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 Ft(i.insertBefore(S(),r),r,void 0,null!=e?e:{})),o._$AI(t),o)}},{key:"connectedCallback",value:function(){var t;l(c(a.prototype),"connectedCallback",this).call(this),null!=(t=this._$Do)&&t.setConnected(!0)}},{key:"disconnectedCallback",value:function(){var t;l(c(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}),t}(),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.5");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"],a=a||e.slice(0),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(a)}}))));function re(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 ne="";function oe(t){ne=t}var ie={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 '},ae=[{name:"default",resolver:function(t){return function(t){var e,r,n,t=0<arguments.length&&void 0!==t?t:"";return ne||((r=(e=function(t){if(Array.isArray(t))return re(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?re(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)?re(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")}))?oe(r.getAttribute("data-shoelace")):(r="",oe((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("/")))),ne.replace(/\/$/,"")+(t?"/".concat(t.replace(/^\//,"")):"")}("assets/icons/".concat(t,".svg"))}},{name:"system",resolver:function(t){return t in ie?"data:image/svg+xml,".concat(encodeURIComponent(ie[t])):""}}],le=[];function ce(e){return ae.find(function(t){return t.name===e})}var a=V((a=["\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"],d=d||a.slice(0),Object.freeze(Object.defineProperties(a,{raw:{value:Object.freeze(d)}}))));function ue(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 se(t,e,r){e in t?he(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r}function fe(t,e){for(var r in e=e||{})de.call(e,r)&&se(t,r,e[r]);if(ye){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?ue(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)?ue(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.")}(ye(e));try{for(o.s();!(n=o.n()).done;)r=n.value,ve.call(e,r)&&se(t,r,e[r])}catch(t){o.e(t)}finally{o.f()}}return t}function y(t,e,r,n){for(var o,i=1<n?void 0:n?pe(e,r):e,a=t.length-1;0<=a;a--)(o=t[a])&&(i=(n?o(e,r,i):o(i))||i);n&&i&&he(e,r,i)}var he=Object.defineProperty,pe=(Object.defineProperties,Object.getOwnPropertyDescriptor),ye=(Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols),de=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable;function be(r,t){var a=fe({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 d=V((d=["\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"],C=C||d.slice(0),Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(C)}}))));function me(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 ge(o){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?me(Object(i),!0).forEach(function(t){var e,r,n;e=o,r=i[t=t],n=function(t){if("object"!=b(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=b(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t),(t="symbol"==b(n)?n: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)):me(Object(i)).forEach(function(t){Object.defineProperty(o,t,Object.getOwnPropertyDescriptor(i,t))})}return o}function b(t){return(b="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 we={attribute:!0,type:String,converter:vt,reflect:!1,hasChanged:bt};function m(o){return function(t,e){return"object"==b(e)?function(t,e,r){var n,o,i=0<arguments.length&&void 0!==t?t:we,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?ge(ge({},r),{},{wrapped:!0}):r),n?Object.getOwnPropertyDescriptor(t,e):void 0);var r,n}}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 Oe(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 Se(o){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(i),!0).forEach(function(t){var e,r,n;e=o,r=i[t=t],n=function(t){if("object"!=_e(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=_e(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t),(t="symbol"==_e(n)?n: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)):Oe(Object(i)).forEach(function(t){Object.defineProperty(o,t,Object.getOwnPropertyDescriptor(i,t))})}return o}function je(t){return m(Se(Se({},t),{},{state:!0,attribute:!1}))}function Ae(t){return(Ae="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,r){return r.configurable=!0,r.enumerable=!0,Reflect.decorate&&"object"!=Ae(e)&&Object.defineProperty(t,e,r),r}function g(t){return(g="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 $e(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 Pe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ke(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"!=g(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=g(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t);return"symbol"==g(t)?t:t+""}(n.key),n)}}function xe(t,e,r){return e&&ke(t.prototype,e),r&&ke(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function Le(t,e,r){e=Ce(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||[],Ce(t).constructor):e.apply(t,r);if(!e||"object"!==g(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 Ce(t){return(Ce=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Te(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&&Me(t,e)}function Me(t,e){return(Me=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}Te(Re,t);var ze,w=xe(Re,[{key:"emit",value:function(t,e){t=new CustomEvent(t,fe({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 Pe(this,a),Le(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,(Te(a,n),xe(a)),o)}}]);function Re(){var r;return Pe(this,Re),r=Le(this,Re),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?$e(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)?$e(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 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 x(){x=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 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"==k(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(k(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 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 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 Ie(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 Ue(l){return function(){var t=this,a=arguments;return new Promise(function(e,r){var n=l.apply(t,a);function o(t){Ie(n,e,r,o,i,"next",t)}function i(t){Ie(n,e,r,o,i,"throw",t)}o(void 0)})}}function Ne(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:t+""}(n.key),n)}}function He(){return(He="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)););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){return(_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Be(t,e){return(Be=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}w.version="2.15.0",w.dependencies={},y([m()],w.prototype,"dir",2),y([m()],w.prototype,"lang",2);var De,Fe,Ge,L=Symbol(),Ve=Symbol(),We=new Map,C=function(){function r(){var t=this,e=r;if(t instanceof e)return(t=function(t,e,r){e=_(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).constructor):e.apply(t,r))||"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}(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=w;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&&Be(e,o),e=r,o=[{key:"resolveIcon",value:(n=Ue(x().mark(function t(n,o){var i,a,l,c,u;return x().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(null!=o&&o.spriteSheet)return this.svg=Ut(ze||(e=['<svg part="svg">\n <use part="use" href="','"></use>\n </svg>'],r=(r=void 0)||e.slice(0),ze=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))),n),t.next=4,this.updateComplete;t.next=7;break;case 4:return a=this.shadowRoot.querySelector("[part='svg']"),"function"==typeof o.mutator&&o.mutator(a),t.abrupt("return",this.svg);case 7:return t.prev=7,t.next=10,fetch(n,{mode:"cors"});case 10:if((i=t.sent).ok){t.next=13;break}return t.abrupt("return",410===i.status?L:Ve);case 13:t.next=18;break;case 15:return t.prev=15,t.t0=t.catch(7),t.abrupt("return",Ve);case 18:return t.prev=18,l=document.createElement("div"),t.next=22,i.text();case 22:if(l.innerHTML=t.sent,c=l.firstElementChild,"svg"!==(null==(a=null==c?void 0:c.tagName)?void 0:a.toLowerCase()))return t.abrupt("return",L);t.next=26;break;case 26:if(De=De||new DOMParser,u=De.parseFromString(c.outerHTML,"text/html"),u=u.body.querySelector("svg")){t.next=31;break}return t.abrupt("return",L);case 31:return u.part.add("svg"),t.abrupt("return",document.adoptNode(u));case 35:return t.prev=35,t.t1=t.catch(18),t.abrupt("return",L);case 38:case"end":return t.stop()}var e,r},t,this,[[7,15],[18,35]])})),function(t,e){return n.apply(this,arguments)})},{key:"connectedCallback",value:function(){He(_(r.prototype),"connectedCallback",this).call(this),le.push(this)}},{key:"firstUpdated",value:function(){this.initialRender=!0,this.setIcon()}},{key:"disconnectedCallback",value:function(){var e;He(_(r.prototype),"disconnectedCallback",this).call(this),e=this,le=le.filter(function(t){return t!==e})}},{key:"getIconSource",value:function(){var t=ce(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=Ue(x().mark(function t(){var r,n,o,i,a;return x().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(o=this.getIconSource(),n=o.url,o=o.fromLibrary,o=o?ce(this.library):void 0,n){t.next=5;break}return this.svg=null,t.abrupt("return");case 5:if((i=We.get(n))||(i=this.resolveIcon(n,o),We.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)===Ve&&We.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===Ve||t.t0===L?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}}],Ne(e.prototype,o),Object.defineProperty(e,"prototype",{writable:!1}),e}();function T(t){return(T="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 qe(t,e){return e=e||t.slice(0),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function Ze(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)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=T(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t);return"symbol"==T(t)?t:t+""}(n.key),n)}}function Je(t){return(Je=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ye(t,e){return(Ye=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}C.styles=[d,a],y([je()],C.prototype,"svg",2),y([m({reflect:!0})],C.prototype,"name",2),y([m()],C.prototype,"src",2),y([m()],C.prototype,"label",2),y([m({reflect:!0})],C.prototype,"library",2),y([be("label")],C.prototype,"handleLabelChange",1),y([be(["name","src","library"])],C.prototype,"setIcon",1);t=function(){function r(){var t=this,e=r;if(t instanceof e)return(t=function(t,e,r){e=Je(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||[],Je(t).constructor):e.apply(t,r))||"object"!==T(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=w;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&&Ye(t,e),Ze((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 Ut(Fe=Fe||qe(['\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?Ut(Ge=Ge||qe(['\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}),t}();function Ke(t){return(Ke="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 Qe(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 Xe(o){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?Qe(Object(i),!0).forEach(function(t){var e,r,n;e=o,r=i[t=t],n=function(t){if("object"!=Ke(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=Ke(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t),(t="symbol"==Ke(n)?n: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)):Qe(Object(i)).forEach(function(t){Object.defineProperty(o,t,Object.getOwnPropertyDescriptor(i,t))})}return o}function tr(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)||er(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 er(t,e){var r;if(t)return"string"==typeof t?rr(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)?rr(t,e):void 0}function rr(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=[d,e],t.dependencies={"sl-icon":C},y([function(t,e,r){function n(t){return null!=(t=null==(t=t.renderRoot)?void 0:t.querySelector(".animated-image__animated"))?t:null}return Ee(t,e,{get:function(){return n(this)}})}],t.prototype,"animatedImage",2),y([je()],t.prototype,"frozenFrame",2),y([je()],t.prototype,"isLoaded",2),y([m()],t.prototype,"src",2),y([m()],t.prototype,"alt",2),y([m({type:Boolean,reflect:!0})],t.prototype,"play",2),y([be("play",{waitUntilFirstUpdate:!0})],t.prototype,"handlePlayChange",1),y([be("src")],t.prototype,"handleSrcChange",1);function nr(t,e,r,n,o){void 0===(o=null==o?void 0:o[e])?null==(t[e]=r)&&e in HTMLElement.prototype&&t.removeAttribute(e):r!==n&&(e=t,n=o,t=r,void 0===(o=ur.get(e))&&ur.set(e,o=new Map),r=o.get(n),void 0!==t?void 0===r?(o.set(n,r={handleEvent:t}),e.addEventListener(n,r)):r.handleEvent=t:void 0!==r&&(o.delete(n),e.removeEventListener(n,r)))}function or(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(sr,{id:e,className:r,style:n,src:o,alt:i,play:a,"data-dash-is-loading":t&&t.is_loading||void 0})}var M,ir,ar,z,lr,cr=new Set(["children","localName","ref","style","className"]),ur=new WeakMap,sr=(t.define("sl-animated-image"),M=(a={tagName:"sl-animated-image",elementClass:t,react:N,events:{onSlLoad:"sl-load",onSlError:"sl-error"},displayName:"SlAnimatedImage"}).react,ir=a.tagName,ar=a.elementClass,z=a.events,a=a.displayName,lr=new Set(Object.keys(null!=z?z:{})),(d=M.forwardRef(function(l,e){for(var c=M.useRef(new Map),u=M.useRef(null),t={},s={},r=0,n=Object.entries(l);r<n.length;r++){var o=tr(n[r],2),i=o[0],o=o[1];cr.has(i)?t["className"===i?"class":i]=o:lr.has(i)||i in ar.prototype?s[i]=o:t[i]=o}return M.useLayoutEffect(function(){if(null!==u.current){var t,e=new Map;for(t in s)nr(u.current,t,l[t],c.current.get(t),z),c.current.delete(t),e.set(t,l[t]);var r,n=function(t){var e,r,n,o,i,a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(a)return n=!(r=!0),{s:function(){a=a.call(t)},n:function(){var t=a.next();return r=t.done,t},e:function(t){n=!0,e=t},f:function(){try{r||null==a.return||a.return()}finally{if(n)throw e}}};if(Array.isArray(t)||(a=er(t)))return a&&(t=a),o=0,{s:i=function(){},n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:i};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(c.current);try{for(n.s();!(r=n.n()).done;){var o=tr(r.value,2),i=o[0],a=o[1];nr(u.current,i,void 0,a,z)}}catch(t){n.e(t)}finally{n.f()}c.current=e}}),M.useLayoutEffect(function(){var t;null!=(t=u.current)&&t.removeAttribute("defer-hydration")},[]),t.suppressHydrationWarning=!0,M.createElement(ir,Xe(Xe({},t),{},{ref:M.useCallback(function(t){u.current=t,"function"==typeof e?e(t):null!==e&&(e.current=t)},[e])}))})).displayName=null!=a?a:ar.name,d),e=U(227);(I.default=or).defaultProps=e.b,or.propTypes=e.c}}]);