PageSourceSearch

https://www.bydglobal.com/component/bydglobal-cn/techPond/gapComponent/gapComponent_h_aiAenn.js

js bydglobal.com collected 2026-10-02 14:40:40 UTC 2,015 bytes, 1 lines download raw bytes

1import{mountComponents as f}from"/static_material/bydglobal/cn/esm_template/utils_De9QfXcP.js";import{defineComponent as h,openBlock as P,createElementBlock as M,normalizeStyle as w,computed as y}from"/static_material/bydglobal/cn/esm_template/@vue_BXkpmK5V.js";import{_export_sfc as _}from"/static_material/bydglobal/cn/esm_template/components_B4IQTuUB.js";import"/static_material/bydglobal/cn/esm_template/gsap_fdEUff1C.js";import"/static_material/bydglobal/cn/esm_template/element-plus_ChQOpndQ.js";import"/static_material/bydglobal/cn/esm_template/lazysizes_CxLarxp2.js";import"/static_material/bydglobal/cn/esm_template/swiper_CFJQtQoc.js";import"/static_material/bydglobal/cn/esm_template/axios_BxvNGUsD.js";import"/static_material/bydglobal/cn/esm_template/crypto-js_C2Umpbti.js";import"/static_material/bydglobal/cn/esm_template/qrcode_1f3ewH1Y.js";const C=h({__name:"layout",props:{dataForm:{default:()=>({heightPc:0,heightMob:0,widthPc:0,widthMob:0,marginPc:0,marginMob:0,paddingPc:0,paddingMob:0,backgroundColorPc:"transparent",backgroundColorMob:"transparent"})}},setup(s){const u=s,i=t=>`${t/1440*100}vw`,m=t=>`${t/375*100}vw`,o=(t,r)=>{if(t==null)return"0";if(typeof t=="string"){const n=t.trim();if(n==="")return"0";const p=n.match(/^([\d.]+)(.*)$/);if(!p)return"0";const[,c,e]=p,a=parseFloat(c);return isNaN(a)||a<0?"0":e==="px"||e==="vw"||e?n:r?m(a):i(a)}return typeof t=="number"?t<=0?"0":r?m(t):i(t):"0"},g=y(()=>{const{heightPc:t,heightMob:r,widthPc:n,widthMob:p,backgroundColorPc:c,backgroundColorMob:e,marginPc:a,paddingPc:d,marginMob:l,paddingMob:b}=u.dataForm||{};return{"--gap-h-pc":o(t,!1),"--gap-h-mob":o(r,!0),"--gap-w-pc":o(n,!1),"--gap-w-mob":o(p,!0),"--gap-margin-pc":o(a,!1),"--gap-margin-mob":o(l,!0),"--gap-padding-pc":o(d,!1),"--gap-padding-mob":o(b,!0),"--gap-bg-pc":c||"transparent","--gap-bg-mob":e||"transparent"}});return(t,r)=>(P(),M("div",{class:"gap-component",style:w(g.value),"aria-hidden":!0},null,4))}}),k=_(C,[["__scopeId","data-v-664c799e"]]);f(".gap-component",k);

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.