PageSourceSearch

https://www.lights4fun.co.uk/cdn/shop/t/726/assets/vendor-custom-e…?v=120118126854718275351790251817

js lights4fun.co.uk collected 2026-09-25 19:01:22 UTC 6,972 bytes, 2 lines download raw bytes

1/*! (c) Andrea Giammarchi @webreflection ISC */(function(){"use strict";var e=typeof Promise=="function"?Promise:function(e2){var t2,n2=[],r2=0;return e2(function(e3){t2=e3,r2=1,n2.splice(0).forEach(o2)}),{then:o2};function o2(e3){return r2?setTimeout(e3,0,t2):n2.push(e3),this}},t=function(e2,t2){var n2=function(e3){for(var t3=0,n3=e3.length;t3<n3;t3++)r2(e3[t3])},r2=function(e3){var t3=e3.target,n3=e3.attributeName,r3=e3.oldValue;t3.attributeChangedCallback(n3,r3,t3.getAttribute(n3))};return function(o2,a2){var l2=o2.constructor.observedAttributes;return l2&&e2(a2).then(function(){new t2(n2).observe(o2,{attributes:!0,attributeOldValue:!0,attributeFilter:l2});for(var e3=0,a3=l2.length;e3<a3;e3++)o2.hasAttribute(l2[e3])&&r2({target:o2,attributeName:l2[e3],oldValue:null})}),o2}},n=!0,r=!1,o="querySelectorAll";function a(e2){this.observe(e2,{subtree:n,childList:n})}var l="querySelectorAll",c=self,u=c.document,i=c.Element,s=c.MutationObserver,f=c.Set,h=c.WeakMap,d=function(e2){return l in e2},v=[].filter,g=function(e2){var t2=new h,c2=function(n2,r2){var o2;if(r2)for(var a2,l2=(function(e3){return e3.matches||e3.webkitMatchesSelector||e3.msMatchesSelector})(n2),c3=0,u2=p2.length;c3<u2;c3++)l2.call(n2,a2=p2[c3])&&(t2.has(n2)||t2.set(n2,new f),(o2=t2.get(n2)).has(a2)||(o2.add(a2),e2.handle(n2,r2,a2)));else t2.has(n2)&&(o2=t2.get(n2),t2.delete(n2),o2.forEach(function(t3){e2.handle(n2,r2,t3)}))},g2=function(e3){for(var t3=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],n2=0,r2=e3.length;n2<r2;n2++)c2(e3[n2],t3)},p2=e2.query,m2=e2.root||u,y2=(function(e3,t3,l2){var c3=function t4(r2,a2,l3,c4,u3){for(var i2=0,s2=r2.length;i2<s2;i2++){var f2=r2[i2];(u3||o in f2)&&(c4?a2.has(f2)||(a2.add(f2),l3.delete(f2),e3(f2,c4)):l3.has(f2)||(l3.add(f2),a2.delete(f2),e3(f2,c4)),u3||t4(f2[o]("*"),a2,l3,c4,n))}},u2=new(l2||MutationObserver)(function(e4){for(var t4=new Set,o2=new Set,a2=0,l3=e4.length;a2<l3;a2++){var u3=e4[a2],i2=u3.addedNodes,s2=u3.removedNodes;c3(s2,t4,o2,r,r),c3(i2,t4,o2,n,r)}});return u2.add=a,u2.add(t3||document),u2})(c2,m2,s),w2=i.prototype.attachShadow;return w2&&(i.prototype.attachShadow=function(e3){var t3=w2.call(this,e3);return y2.add(t3),t3}),p2.length&&g2(m2[l](p2)),{drop:function(e3){for(var n2=0,r2=e3.length;n2<r2;n2++)t2.delete(e3[n2])},flush:function(){for(var e3=y2.takeRecords(),t3=0,n2=e3.length;t3<n2;t3++)g2(v.call(e3[t3].removedNodes,d),!1),g2(v.call(e3[t3].addedNodes,d),!0)},observer:y2,parse:g2}},p=self,m=p.document,y=p.Map,w=p.MutationObserver,b=p.Object,E=p.Set,S=p.WeakMap,M=p.Element,O=p.HTMLElement,N=p.Node,A=p.Error,T=p.TypeError,q=p.Reflect,C=self.Promise||e,P=b.defineProperty,D=b.keys,L=b.getOwnPropertyNames,k=b.setPrototypeOf,I=!self.customElements,H=function(e2){for(var t2=D(e2),n2=[],r2=t2.length,o2=0;o2<r2;o2++)n2[o2]=e2[t2[o2]],delete e2[t2[o2]];return function(){for(var o3=0;o3<r2;o3++)e2[t2[o3]]=n2[o3]}};if(I){var _=function(){var e2=this.constructor;if(!$.has(e2))throw new T("Illegal constructor");var t2=$.get(e2);if(U)return B(U,t2);var n2=x.call(m,t2);return B(k(n2,e2.prototype),t2)},x=m.createElement,$=new y,R=new y,V=new y,W=new y,j=[],F=g({query:j,handle:function(e2,t2,n2){var r2=V.get(n2);if(t2&&!r2.isPrototypeOf(e2)){var o2=H(e2);U=k(e2,r2);try{new r2.constructor}finally{U=null,o2()}}var a2="".concat(t2?"":"dis","connectedCallback");a2 in r2&&e2[a2]()}}).parse,U=null,z=function(t2){if(!R.has(t2)){var n2,r2=new e(function(e2){n2=e2});R.set(t2,{$:r2,_:n2})}return R.get(t2).$},B=t(z,w);P(self,"customElements",{configurable:!0,value:{define:function(e2,t2){if(W.has(e2))throw new A('the name "'.concat(e2,'" has already been used with this registry'));$.set(t2,e2),V.set(e2,t2.prototype),W.set(e2,t2),j.push(e2),z(e2).then(function(){F(m.querySelectorAll(e2))}),R.get(e2)._(t2)},get:function(e2){return W.get(e2)},whenDefined:z}}),P(_.prototype=O.prototype,"constructor",{value:_}),P(self,"HTMLElement",{configurable:!0,value:_}),P(m,"createElement",{configurable:!0,value:function(e2,t2){var n2=t2&&t2.is,r2=n2?W.get(n2):W.get(e2);return r2?new r2:x.call(m,e2)}}),"isConnected"in N.prototype||P(N.prototype,"isConnected",{configurable:!0,get:function(){return!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}})}else try{var G=function e2(){return self.Reflect.construct(HTMLLIElement,[],e2)};G.prototype=HTMLLIElement.prototype;var J="extends-li";self.customElements.define("extends-li",G,{extends:"li"}),I=m.createElement("li",{is:J}).outerHTML.indexOf(J)<0;var K=self.customElements,Q=K.get,X=K.whenDefined;P(self.customElements,"whenDefined",{configurable:!0,value:function(e2){var t2=this;return X.call(this,e2).then(function(n2){return n2||Q.call(t2,e2)})}})}catch(e2){I=!I}if(I){var Y=function(e2){var t2=ae.get(e2);ve(t2.querySelectorAll(this),e2.isConnected)},Z=self.customElements,ee=M.prototype.attachShadow,te=m.createElement,ne=Z.define,re=Z.get,oe=(q||{construct:function(e2){return e2.call(this)}}).construct,ae=new S,le=new E,ce=new y,ue=new y,ie=new y,se=new y,fe=[],he=[],de=function(e2){return se.get(e2)||re.call(Z,e2)},ve=g({query:he,handle:function(e2,t2,n2){var r2=ie.get(n2);if(t2&&!r2.isPrototypeOf(e2)){var o2=H(e2);ye=k(e2,r2);try{new r2.constructor}finally{ye=null,o2()}}var a2="".concat(t2?"":"dis","connectedCallback");a2 in r2&&e2[a2]()}}).parse,ge=g({query:fe,handle:function(e2,t2){ae.has(e2)&&(t2?le.add(e2):le.delete(e2),he.length&&Y.call(he,e2))}}).parse,pe=function(e2){if(!ue.has(e2)){var t2,n2=new C(function(e3){t2=e3});ue.set(e2,{$:n2,_:t2})}return ue.get(e2).$},me=t(pe,w),ye=null;L(self).filter(function(e2){return/^HTML/.test(e2)}
1).forEach(function(e2){var t2=self[e2];function n2(){var e3=this.constructor;if(!ce.has(e3))throw new T("Illegal constructor");var n3=ce.get(e3),r2=n3.is,o2=n3.tag;if(r2){if(ye)return me(ye,r2);var a2=te.call(m,o2);return a2.setAttribute("is",r2),me(k(a2,e3.prototype),r2)}return oe.call(this,t2,[],e3)}P(n2.prototype=t2.prototype,"constructor",{value:n2}),P(self,e2,{value:n2})}),P(m,"createElement",{configurable:!0,value:function(e2,t2){var n2=t2&&t2.is;if(n2){var r2=se.get(n2);if(r2&&ce.get(r2).tag===e2)return new r2}var o2=te.call(m,e2);return n2&&o2.setAttribute("is",n2),o2}}),ee&&(M.prototype.attachShadow=function(e2){var t2=ee.call(this,e2);return ae.set(this,t2),t2}),P(Z,"get",{configurable:!0,value:de}),P(Z,"whenDefined",{configurable:!0,value:pe}),P(Z,"define",{configurable:!0,value:function(e2,t2,n2){if(de(e2))throw new A("'".concat(e2,"' has already been defined as a custom element"));var r2,o2=n2&&n2.extends;ce.set(t2,o2?{is:e2,tag:o2}:{is:"",tag:e2}),o2?(r2="".concat(o2,'[is="').concat(e2,'"]'),ie.set(r2,t2.prototype),se.set(e2,t2),he.push(r2)):(ne.apply(Z,arguments),fe.push(r2=e2)),pe(e2).then(function(){o2?(ve(m.querySelectorAll(r2)),le.forEach(Y,[r2])):ge(m.querySelectorAll(r2))}),ue.get(e2)._(t2)}})}})();
2//# sourceMappingURL=/cdn/shop/t/726/assets/vendor-custom-element-polyfill.js.map?v=120118126854718275351790251817

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.