1"use strict";(self.webpackChunkbabel_seed_project=self.webpackChunkbabel_seed_project||[]).push([[7768],{9074:function(e,t,o){o.r(t),o.d(t,{default:function(){return s}});class s{constructor(e){this.options={component:'[data-component="LayoutComputed"]',...e},this.$component=document.querySelectorAll(this.options.component)}init(){this.$component.forEach((e=>{const t=e.querySelectorAll("[set-variable]"),o=()=>Promise.all(Array.from(t).map((t=>new Promise((o=>{const[s,i]=t.getAttribute("set-variable").split(" "),[r,l]=[s+"-width",s+"-height"];if("IMG"===t.tagName)t.complete?(e.style.setProperty(l,`${t.clientHeight}px`),e.style.setProperty(r,`${t.clientWidth}px`),o()):t.onload=()=>{e.style.setProperty(l,`${t.clientHeight}px`),e.style.setProperty(r,`${t.clientWidth}px`),o()};else if(t.querySelector("img")){const s=t.querySelector("img");s.complete?(e.style.setProperty(l,`${t.offsetHeight}px`),e.style.setProperty(r,`${t.offsetWidth}px`),o()):s.onload=()=>{e.style.setProperty(l,`${t.offsetHeight}px`),e.style.setProperty(r,`${t.offsetWidth}px`),o()}}else if(i){const t=e.querySelector(i);e.style.setProperty(l,`${t.offsetHeight}px`),e.style.setProperty(r,`${t.offsetWidth}px`),o()}})).then((()=>{t.classList.add("layout-computed-child-initialized")}))))).then((()=>{e.classList.add("layout-computed-initialized")}));o(),window.addEventListener("resize",o)}))}}}}]);
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.