1import{n as e}from"./tracking-CUlrFEbe.js";var t=e=>{let t={phone:!1,mail:!1,sms:!1,whatsapp:!1};for(let[n,r]of Object.entries(e).filter(([e])=>e.startsWith(`consent[`))){let e=n.replace(`consent[`,``).replace(`]`,``).split(`,`),i=r===!0||r===1||r===`1`;for(let n of e)t[n.trim()]=i}return{"data-t4-opt_in_phone":t.phone,"data-t4-opt_in_email":!!t.mail,"data-t4-opt_in_sms":!!t.sms,"data-t4-opt_in_whatsapp":!!t.whatsapp}},n=(e,t)=>{let n=e[t];return n==null?``:typeof n==`string`?n:typeof n==`object`?JSON.stringify(n):String(n)},r=`__t4_postal_soi_label__`,i=e=>e===!0||e===1||e===`1`,a=e=>{let t=![n(e,`street`),n(e,`streetNo`),n(e,`zip`),n(e,`city`),n(e,`country`)].some(e=>!e),r=i(e.optIn)||i(e[`consent[sms,whatsapp,mail]`]);return`${t?`postal filled`:`postal not filled`} | ${r?`soi checked`:`soi unchecked`}`},o={default:e.CTA_PRIMARY,outline:e.CTA_SECONDARY,link:e.LINK},s=t=>o[t??`default`]??e.CTA_PRIMARY;export{n as a,s as i,t as n,a as r,r as 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.