PageSourceSearch

https://marketresearchmalaysia.com/assets/vendor/autosize/autosize.index-kGPAHf0.js

js marketresearchmalaysia.com collected 2026-09-29 20:29:43 UTC 2,922 bytes, 7 lines download raw bytes

1/**
2 * Bundled by jsDelivr using Rollup v4.62.2 and esbuild v0.28.1.
3 * Original file: /npm/[email protected]/dist/autosize.esm.js
4 *
5 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
6 */
7var d=new Map;function H(t){var n=d.get(t);n&&n.destroy()}function L(t){var n=d.get(t);n&&n.update()}var u=null;typeof window>"u"?((u=function(t){return t}).destroy=function(t){return t},u.update=function(t){return t}):((u=function(t,n){return t&&Array.prototype.forEach.call(t.length?t:[t],function(m){return(function(e){if(e&&e.nodeName&&e.nodeName==="TEXTAREA"&&!d.has(e)){var c,y=null,o=window.getComputedStyle(e),g=(c=e.value,function(){v({testForHeightReduction:c===""||!e.value.startsWith(c),restoreTextAlign:null}),c=e.value}),p=function(a){e.removeEventListener("autosize:destroy",p),e.removeEventListener("autosize:update",i),e.removeEventListener("input",g),window.removeEventListener("resize",i),Object.keys(a).forEach(function(l){return e.style[l]=a[l]}),d.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,textAlign:e.style.textAlign,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",p),e.addEventListener("autosize:update",i),e.addEventListener("input",g),window.addEventListener("resize",i),e.style.overflowX="hidden",e.style.wordWrap="break-word",d.set(e,{destroy:p,update:i}),i()}function v(a){var l,s,w=a.restoreTextAlign,f=w===void 0?null:w,E=a.testForHeightReduction,b=E===void 0||E,T=o.overflowY;if(e.scrollHeight!==0&&(o.resize==="vertical"?e.style.resize="none":o.resize==="both"&&(e.style.resize="horizontal"),b&&(l=(function(r){for(var z=[];r&&r.parentNode&&r.parentNode instanceof Element;)r.parentNode.scrollTop&&z.push([r.parentNode,r.parentNode.scrollTop]),r=r.parentNode;return function(){return z.forEach(function(A){var h=A[0],F=A[1];h.style.scrollBehavior="auto",h.scrollTop=F,h.style.scrollBehavior=null})}})(e),e.style.height=""),s=o.boxSizing==="content-box"?e.scrollHeight-(parseFloat(o.paddingTop)+parseFloat(o.paddingBottom)):e.scrollHeight+parseFloat(o.borderTopWidth)+parseFloat(o.borderBottomWidth),o.maxHeight!=="none"&&s>parseFloat(o.maxHeight)?(o.overflowY==="hidden"&&(e.style.overflow="scroll"),s=parseFloat(o.maxHeight)):o.overflowY!=="hidden"&&(e.style.overflow="hidden"),e.style.height=s+"px",f&&(e.style.textAlign=f),l&&l(),y!==s&&(e.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),y=s),T!==o.overflow&&!f)){var x=o.textAlign;o.overflow==="hidden"&&(e.style.textAlign=x==="start"?"end":"start"),v({restoreTextAlign:x,testForHeightReduction:!0})}}function i(){v({testForHeightReduction:!0,restoreTextAlign:null})}})(m)}),t}).destroy=function(t){return t&&Array.prototype.forEach.call(t.length?t:[t],H),t},u.update=function(t){return t&&Array.prototype.forEach.call(t.length?t:[t],L),t});var N=u;export{N as default};

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.