PageSourceSearch

https://pika.page/assets/lit-html--directives--ref.js-8c8b1cde8908…a727769384d590fd458dc18f89c2de50075c45c4.js

js pika.page collected 2026-09-25 18:53:36 UTC 1,107 bytes, 9 lines download raw bytes

vendor: 1,107 bytes, lines 1-9
1// lit-html/directives/[email protected] downloaded from https://ga.jspm.io/npm:[email protected]/directives/ref.js
2
3import{nothing as t}from"lit-html";import{AsyncDirective as i}from"lit-html/async-directive";import{directive as s}from"lit-html/directive";import"lit-html/directive-helpers";
4/**
5 * @license
6 * Copyright 2020 Google LLC
7 * SPDX-License-Identifier: BSD-3-Clause
8 */const e=()=>new h;class h{}const o=new WeakMap,r=s(class extends i{render(i){return t}update(i,[s]){const e=s!==this.G;return e&&void 0!==this.G&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.G=s,this.ht=i.options?.host,this.rt(this.ct=i.element)),t}rt(t){if(this.isConnected||(t=void 0),"function"==typeof this.G){const i=this.ht??globalThis;let s=o.get(i);void 0===s&&(s=new WeakMap,o.set(i,s)),void 0!==s.get(this.G)&&this.G.call(this.ht,void 0),s.set(this.G,t),void 0!==t&&this.G.call(this.ht,t)}else this.G.value=t}get lt(){return"function"==typeof this.G?o.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});export{e as createRef,r as ref};
9

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.