PageSourceSearch

https://www.lw.com/assets/scripts/1008.bundle.js?5e1f28

js lw.com collected 2026-09-24 08:28:29 UTC 6,051 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[1008],{41008:(t,e,i)=>{i.r(e),i.d(e,{default:()=>h});i(39393),i(96083),i(72254);var n=['a[href]:not([tabindex^="-"])','area[href]:not([tabindex^="-"])','input:not([type="hidden"]):not([type="radio"]):not([disabled]):not([tabindex^="-"])','input[type="radio"]:not([disabled]):not([tabindex^="-"])','select:not([disabled]):not([tabindex^="-"])','textarea:not([disabled]):not([tabindex^="-"])','button:not([disabled]):not([tabindex^="-"])','iframe:not([tabindex^="-"])','audio[controls]:not([tabindex^="-"])','video[controls]:not([tabindex^="-"])','[contenteditable]:not([tabindex^="-"])','[tabindex]:not([tabindex^="-"])'];function o(t){this._show=this.show.bind(this),this._hide=this.hide.bind(this),this._maintainFocus=this._maintainFocus.bind(this),this._bindKeypress=this._bindKeypress.bind(this),this.$el=t,this.shown=!1,this._id=this.$el.getAttribute("data-a11y-dialog")||this.$el.id,this._previouslyFocused=null,this._listeners={},this.create()}function s(t,e){return i=(e||document).querySelectorAll(t),Array.prototype.slice.call(i);var i}function r(t){(t.querySelector("[autofocus]")||t).focus()}function a(){s("[data-a11y-dialog]").forEach((function(t){new o(t)}))}o.prototype.create=function(){return this.$el.setAttribute("aria-hidden",!0),this.$el.setAttribute("aria-modal",!0),this.$el.setAttribute("tabindex",-1),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),this._openers=s('[data-a11y-dialog-show="'+this._id+'"]'),this._openers.forEach(function(t){t.addEventListener("click",this._show)}.bind(this)),this._closers=s("[data-a11y-dialog-hide]",this.$el).concat(s('[data-a11y-dialog-hide="'+this._id+'"]')),this._closers.forEach(function(t){t.addEventListener("click",this._hide)}.bind(this)),this._fire("create"),this},o.prototype.show=function(t){return this.shown||(this._previouslyFocused=document.activeElement,this.$el.removeAttribute("aria-hidden"),this.shown=!0,r(this.$el),document.body.addEventListener("focus",this._maintainFocus,!0),document.addEventListener("keydown",this._bindKeypress),this._fire("show",t)),this},o.prototype.hide=function(t){return this.shown?(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),this._previouslyFocused&&this._previouslyFocused.focus&&this._previouslyFocused.focus(),document.body.removeEventListener("focus",this._maintainFocus,!0),document.removeEventListener("keydown",this._bindKeypress),this._fire("hide",t),this):this},o.prototype.destroy=function(){return this.hide(),this._openers.forEach(function(t){t.removeEventListener("click",this._show)}.bind(this)),this._closers.forEach(function(t){t.removeEventListener("click",this._hide)}.bind(this)),this._fire("destroy"),this._listeners={},this},o.prototype.on=function(t,e){return void 0===this._listeners[t]&&(this._listeners[t]=[]),this._listeners[t].push(e),this},o.prototype.off=function(t,e){var i=(this._listeners[t]||[]).indexOf(e);return i>-1&&this._listeners[t].splice(i,1),this},o.prototype._fire=function(t,e){var i=this._listeners[t]||[],n=new CustomEvent(t,{detail:e});this.$el.dispatchEvent(n),i.forEach(function(t){t(this.$el,e)}.bind(this))},o.prototype._bindKeypress=function(t){this.$el.contains(document.activeElement)&&(this.shown&&27===t.which&&"alertdialog"!==this.$el.getAttribute("role")&&(t.preventDefault(),this.hide(t)),this.shown&&9===t.which&&function(t,e){var i=function(t){return s(n.join(","),t).filter((function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)}))}(t),o=i.indexOf(document.activeElement);e.shiftKey&&0===o?(i[i.length-1].focus(),e.preventDefault()):e.shiftKey||o!==i.length-1||(i[0].focus(),e.preventDefault())}(this.$el,t))},o.prototype._maintainFocus=function(t){!this.shown||t.target.closest('[aria-modal="true"]')||t.target.closest("[data-a11y-dialog-ignore-focus-trap]")||r(this.$el)},"undefined"!=typeof document&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",a):window.requestAnimationFrame?window.requestAnimationFrame(a):window.setTimeout(a,16));const h=class{constructor(t){this.$el=t,this.modalMailto=this.$el.querySelector(".confirm"),this.dialog=new o(this.$el),this.mailLinks=document.querySelectorAll('a[href^="mailto:"]'),this.mailLinks.forEach((t=>{t.addEventListener("click",(e=>{e.preventDefault(),this.modalMailto.href=t.href,this.dialog.show()}))})),this.modalMailto.addEventListener("click",(()=>{this.dialog.hide()}))}}},87739:(t,e,i)=>{var n=i(22086),o=i(59413),s=i(45089),r=i(56112),a=i(10563),h=i(2964),d=n.TypeError,c=function(t){var e=0==t,i=1==t,n=2==t,c=3==t;return function(t,u,l){r(t);var f=a("Promise"),p=s(t.next),y=0,v=void 0!==u;return!v&&e||s(u),new f((function(s,a){var b=function(e,i){try{var n=h(t,"return");if(n)return f.resolve(o(n,t)).then((function(){e(i)}),(function(t){a(t)}))}catch(t){return a(t)}e(i)},m=function(t){b(a,t)},_=function(){try{if(e&&y>9007199254740991&&v)throw d("The allowed number of iterations has been exceeded");
1f.resolve(r(o(p,t))).then((function(t){try{if(r(t).done)e?(l.length=y,s(l)):s(!c&&(n||void 0));else{var o=t.value;v?f.resolve(e?u(o,y):u(o)).then((function(t){i?_():n?t?_():b(s,!1):e?(l[y++]=t,_()):t?b(s,c||o):_()}),m):(l[y++]=o,_())}}catch(t){m(t)}}),m)}catch(t){m(t)}};_()}))}};t.exports={toArray:c(0),forEach:c(1),every:c(2),some:c(3),find:c(4)}},39393:(t,e,i)=>{var n=i(51695),o=i(87739).forEach;n({target:"AsyncIterator",proto:!0,real:!0,forced:!0},{forEach:function(t){return o(this,t)}})},96083:(t,e,i)=>{var n=i(51695),o=i(22086),s=i(51855),r=i(90930),a=i(72585),h=i(63677),d=i(49606),c=i(50211),u=i(13083).IteratorPrototype,l=i(43296),f=c("toStringTag"),p=o.Iterator,y=l||!r(p)||p.prototype!==u||!h((function(){p({})})),v=function(){s(this,u)};d(u,f)||a(u,f,"Iterator"),!y&&d(u,"constructor")&&u.constructor!==Object||a(u,"constructor",v),v.prototype=u,n({global:!0,forced:y},{Iterator:v})},72254:(t,e,i)=>{var n=i(51695),o=i(94722),s=i(56112);n({target:"Iterator",proto:!0,real:!0,forced:!0},{forEach:function(t){o(s(this),t,{IS_ITERATOR:!0})}})}}]);

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.