"use strict";const f=require("./lit-element-Cpy16KIW.js"),l=require("./class-map-BMhmY7P2.js");var c,n;function o(){return n||(n=1,c=function(h){for(var t=[],a=h.length,r=0;r<a;r++){var e=h.charCodeAt(r);if(e>=55296&&e<=56319&&a>r+1){var i=h.charCodeAt(r+1);i>=56320&&i<=57343&&(e=(e-55296)*1024+i-56320+65536,r+=1)}if(e<128){t.push(e);continue}if(e<2048){t.push(e>>6|192),t.push(e&63|128);continue}if(e<55296||e>=57344&&e<65536){t.push(e>>12|224),t.push(e>>6&63|128),t.push(e&63|128);continue}if(e>=65536&&e<=1114111){t.push(e>>18|240),t.push(e>>12&63|128),t.push(e>>6&63|128),t.push(e&63|128);continue}t.push(239,191,189)}return new Uint8Array(t).buffer}),c}/**
 * @license
 * Copyright 2020 Google LLC
 * SPDX-License-Identifier: BSD-3-Clause
 */const v=()=>new d;class d{}const u=new WeakMap,x=l.e$1(class extends l.f{render(s){return f.E}update(s,[h]){const t=h!==this.G;return t&&this.G!==void 0&&this.rt(void 0),(t||this.lt!==this.ct)&&(this.G=h,this.ht=s.options?.host,this.rt(this.ct=s.element)),f.E}rt(s){if(this.isConnected||(s=void 0),typeof this.G=="function"){const h=this.ht??globalThis;let t=u.get(h);t===void 0&&(t=new WeakMap,u.set(h,t)),t.get(this.G)!==void 0&&this.G.call(this.ht,void 0),t.set(this.G,s),s!==void 0&&this.G.call(this.ht,s)}else this.G.value=s}get lt(){return typeof this.G=="function"?u.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});exports.e=v;exports.n=x;exports.requireEncodeUtf8=o;
