finpro
Version:
19 lines (16 loc) • 1.07 kB
JavaScript
import{a,b as r,c}from"./chunk-7GK5LKBV.js";import{c as o,d as n}from"./chunk-GBPY57YZ.js";var e=class extends c{constructor(t){if(super(t),this.et=n,t.type!==a.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===n||t==null)return this.ft=void 0,this.et=t;if(t===o)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;let i=[t];return i.raw=i,this.ft={_$litType$:this.constructor.resultType,strings:i,values:[]}}};e.directiveName="unsafeHTML",e.resultType=1;var p=r(e);var s=class extends e{};s.directiveName="unsafeSVG",s.resultType=2;var v=r(s);export{v as a};
/*! Bundled license information:
lit-html/directives/unsafe-html.js:
(**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*)
lit-html/directives/unsafe-svg.js:
(**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*)
*/
//# sourceMappingURL=chunk-NJQW4VOP.js.map