1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[66],{3566:function(t,i,e){e.r(i),e.d(i,{default:function(){return A}});var s=e(4575),r=e.n(s),h=e(3913),o=e.n(h),n=e(9713),l=e.n(n),a=e(7041),u=e(296),A=function(){function t(i){var e=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},h=s.wrapperClass,o=void 0===h?"responsive":h,n=s.ratioAttr,A=void 0===n?"data-aspect-ratio":n;if(r()(this,t),l()(this,"el",null),l()(this,"listenerBoss",void 0),l()(this,"origRatioAttr",""),l()(this,"origHeightAttr",""),l()(this,"origWidthAttr",""),l()(this,"ratioAttr",""),i&&!i.classList.contains("not-responsive")){if(this.el=i,this.listenerBoss=new a.Z,this.ratioAttr=A,this.origRatioAttr=this.el.getAttribute(this.ratioAttr),!this.el.hasAttribute(this.ratioAttr)){this.el.setAttribute(this.ratioAttr,String(this.el.offsetHeight/this.el.offsetWidth)),this.origHeightAttr=this.el.getAttribute("height"),this.origWidthAttr=this.el.getAttribute("width"),this.el.removeAttribute("height"),this.el.removeAttribute("width");var d=this.el.parentNode;if(!d||!d.classList.contains(o)){var g=document.createElement("div");g.classList.add(o),d.insertBefore(g,this.el),g.appendChild(this.el)}["DOMContentLoaded","load","resize"].forEach((function(t){e.listenerBoss.register(window,t,(0,u.debounce)((function(){return e.resize()}),50,!1))}))}this.resize()}}return o()(t,[{key:"resize",value:function(){if(this.el){var t=parseFloat(this.el.getAttribute(this.ratioAttr)),i=this.el.parentNode.offsetWidth,e=i*t;i=Math.ceil(i),e=Math.floor(e),this.el.style.width=Math.round(i)+"px",this.el.style.height=Math.round(e)+"px"}}},{key:"destroy",value:function(){this.el&&(this.origRatioAttr?this.el.setAttribute(this.ratioAttr,this.origRatioAttr):this.el.removeAttribute(this.ratioAttr),this.origHeightAttr&&this.el.setAttribute("height",this.origHeightAttr),this.origWidthAttr&&this.el.setAttribute("width",this.origWidthAttr)),this.listenerBoss.removeAll()}}]),t}()}}]);
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.