PageSourceSearch

https://www.mobility.siemens.com/_nuxt/Cu2F3Uzi.js

js siemens.com collected 2026-09-24 08:25:06 UTC 5,878 bytes, 1 lines download raw bytes

1import{_ as A}from"./CdTF6nvE.js";import{u as q,a as D,t as U}from"./CeL6FLM1.js";import{u as x}from"./DBUEhjy0.js";import{c as d,r as R,k as S,a8 as N,Y as V,a1 as Y,o as b,j as H,x as g,t as I,q as p,m as O,Z as M,B as _,C as h,D as B,F as J,p as j,G as F,ag as Q}from"#entry";import{l as C}from"./BP7pKSgl.js";import{H as W}from"./CY9Cj3GM.js";import"./izcf66ut.js";import"./ClHWHaFT.js";import"./S6hNxSeQ.js";import"./B0Twgt65.js";import"./BwM-QCtH.js";function X(e){const t=R(),a=U(t),o=d(()=>!!(e.values.metadata&&e.values.metadata.form)),{anchor:r}=q(e),{analyticsType:i,analyticsValue:m}=D(e,a,e.values);return x(e,a),{rootRef:t,valid:o,anchor:r,analyticsType:i,analyticsValue:m}}const n={FIRST_NAME:"FirstName",LAST_NAME:"LastName",EMAIL:"Email",COMPANY_NAME:"CompanyName",INDUSTRY:"Industry",COUNTRY:"Country",PHONE:"Phone",JOB_ROLE:"JobRole",US_STATE:"Custom_US_State",POSTCODE:"PostCode",SUPPORT_TYPE:"Custom_Xcelerator_SupportType",DETAIL_COMMENT:"Custom_Xcelerator_DetailComment",NEWSLETTER:"SubscribeToNewsLetter"};function E(e,t){const a=document.querySelector(`input[name="${e}"]`);a&&(a.value=t)}function z(e,t){const a=document.querySelector(`textarea[name="${e}"]`);a&&(a.value=t)}function G(e,t){const a=document.querySelector(`input[name="${e}"]`);a&&(a.checked=t);const o=document.querySelector("#PrintSubscriptionFormDisclaimerLeft label.disclaimer1");o&&o.classList.toggle("toggle-active",t)}function T(e){const t=window.$;typeof t=="function"&&t(`select[name="${e}"]`).prop("selectedIndex",0).selectric("refresh")}function Z(){E(n.FIRST_NAME,""),E(n.LAST_NAME,""),E(n.EMAIL,""),E(n.COMPANY_NAME,""),T(n.INDUSTRY),T(n.COUNTRY),E(n.PHONE,""),T(n.JOB_ROLE),T(n.SUPPORT_TYPE),T(n.US_STATE),E(n.POSTCODE,""),z(n.DETAIL_COMMENT,""),G(n.NEWSLETTER,!1)}const K=["/scripts/Render/newtonAEM.css","/scripts/Render/selectric.css","/scripts/iti/css/intlTelInput.css"];function ee(e){for(const t of K){const a=`${e}${t}`;if(!document.head.querySelector(`link[rel="stylesheet"][href="${a}"]`)){const r=document.createElement("link");r.rel="stylesheet",r.href=a,document.head.appendChild(r)}}}function k(e,t=window.document.body){return new Promise((a,o)=>{const r=window.document.createElement("script");r.onload=()=>a(()=>r.remove()),r.onerror=o,r.src=e,t.appendChild(r)})}const te=S({__name:"EloquaForm",props:{formId:{}},setup(e){const t=e,a=R(),o=R(),r=N(),{datalayer:i}=V(),{pageConfig:m}=Y();let y,f=0,l;const v=d(()=>{const s=i.navRegion||"global",c=m.value?.language||"en";return s==="master"&&c==="de"?"de-DE":s.length!==2?c:`${c}-${s.toUpperCase()}`});function w(){const{disFormModule:s}=window;s?.registerSubmittedCallback(()=>Z(),"yst-8q87idow2")}async function L(s){const c=window.DataIntakeForm,u=o.value;if(!c||!u){C.warn(`[EloquaForm] Form "${t.formId}" not rendered: renderer script did not load.`);return}try{await new c({container:s,id:t.formId,platform:"fluidweb",language:v.value}).render(),u.querySelector(".submit-wrapper")?w():(l=new MutationObserver((se,$)=>{u.querySelector(".submit-wrapper")&&(w(),$.disconnect())}),l.observe(u,{childList:!0,subtree:!0}))}catch(P){C.error(`[EloquaForm] Error rendering form "${t.formId}":`,P)}}return b(async()=>{const s=r.ELOQUA_FORM_RENDERER_HTTP;if(!s||!o.value)return;const c=`eloqua-form-${t.formId.trim()}-${++f}`;o.value.id=c,o.value.classList.add("dis-container-fluidweb");try{ee(new URL(s).origin)}catch{}y||(y=k(s).catch(u=>{C.error("[EloquaForm] Failed to load renderer script:",u)})),await y,await L(c)}),H(()=>{l?.disconnect()}),(s,c)=>{const u=g("analytics");return I((p(),O("div",{ref_key:"rootRef",ref:a,class:"eloquaForm"},[M("div",{ref_key:"containerRef",ref:o},null,512)])),[[u,void 0,"element",{root:!0}]])}}}),ae={class:"microsoftForm"},oe=["data-form-id","data-form-api-url","data-cached-form-url","data-readable-event-id"],re=S({__name:"MicrosoftForm",props:{formId:{},type:{}},setup(e){const t=e,a=N(),o=d(()=>t.type==="microsoftEvent"),r=d(()=>t.formId.split("#EVENT#")[1]),i=d(()=>o.value?t.formId.split("#EVENT#")[0]:t.formId),m=d(()=>`${a.MICROSOFT_FORM_API_ID||""}${o.value?"eventmanagement":"landingpageforms"}`),y=d(()=>`${a.MICROSOFT_FORM_CACHED_URL||""}${i.value}`);return b(async()=>{const f=a.MICROSOFT_FORM_RENDERER_HTTP;if(!(!f||document.body.querySelector(`script[src="${f}"]`)))try{await k(f,document.body)}catch(v){console.warn("[MicrosoftForm] Failed to load script:",v)}}),(f,l)=>{const v=g("analytics");return I((p(),O("div",ae,[M("div",{"data-form-id":i.value,"data-form-api-url":m.value,"data-cached-form-url":y.value,"data-readable-event-id":o.value?r.value:void 0},null,8,oe)])),[[v,void 0,"element",{root:!0}]])}}}),ne=S({__name:"ThirdPartyForm",props:{values:{}},setup(e){const t=e,{rootRef:a,valid:o,anchor:r,analyticsType:i,analyticsValue:m}=X(t);return(y,f)=>{const l=g("analytics");
1return I((p(),h(A,{ref_key:"rootRef",ref:a,class:"thirdPartyForm component","data-anchor":_(r),"enable-layout":_(o)},{default:B(()=>[_(o)?(p(),O(J,{key:0},[j(W,{headline:e.values.metadata.headline,"headline-rank":e.values.metadata.headlineRank,subheadline:e.values.metadata.subheadline},null,8,["headline","headline-rank","subheadline"]),e.values.metadata.form?.type==="eloqua"?(p(),h(te,{key:0,"form-id":e.values.metadata.form.formId||""},null,8,["form-id"])):F("",!0),e.values.metadata.form?.type==="microsoft"||e.values.metadata.form?.type==="microsoftEvent"?(p(),h(re,{key:1,"form-id":e.values.metadata.form.formId||"",type:e.values.metadata.form.type},null,8,["form-id","type"])):F("",!0)],64)):F("",!0)]),_:1},8,["data-anchor","enable-layout"])),[[l,_(m),_(i),{explicit:!0}],[l,e.values.uuid,"uuid",{explicit:!0}]])}}}),_e=S({__name:"ThirdPartyFormProvider",props:{values:{}},setup(e,{expose:t}){const a=R();return t({tenantComponentRef:a,el:d(()=>a.value?.el)}),(o,r)=>(p(),h(ne,Q({ref_key:"tenantComponentRef",ref:a},o.$props),null,16))}});export{_e 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.