PageSourceSearch

https://inmotion.dhl/build/dhl.adc54b53.js

js inmotion.dhl collected 2026-10-02 07:50:58 UTC 31,728 bytes, 1 lines download raw bytes

1(globalThis.webpackChunk||=[]).push([[8805],{6314(e,t,n){const i={"./p-00572b11.entry.js":[74988,[4988]]};function a(e){try{if(!n.o(i,e))return Promise.resolve().then(()=>{const t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}catch(e){return Promise.reject(e)}const t=i[e],a=t[0];return n.e(t[1][0]).then(()=>n(a))}a.keys=()=>Object.keys(i),a.id=6314,e.exports=a},17497(e,t,n){"use strict";var i=()=>n(51517),a=()=>n(8625),o=()=>n(74692),r=(n(73990),n(57570),n(98992),n(3949),n(39220)),s=n(49949);function l(){u(),window.addEventListener(r.yM,e=>{e.detail?.element&&u(e.detail.element)}),window.addEventListener(r.Rg,e=>{e.detail?.element&&u(e.detail.element)})}function u(e=document.body){e.querySelectorAll(".audio-eq-player").forEach(e=>{const t={audio:e.querySelector("audio"),playButton:e.querySelector(".audio-eq-player__button"),waveform:e.querySelector(".audio-eq-player__waveform")};if(t.audio&&t.playButton){const e=t.playButton.cloneNode(!0);t.playButton.parentNode?.replaceChild(e,t.playButton),t.playButton=e,t.wavesurfer=s.A.create({container:t.waveform,media:t.audio,waveColor:"#A3A3A3",progressColor:"#D40511",hideScrollbar:!0,interact:!1,height:"auto",cursorWidth:0,barWidth:2,barGap:4}),t.wavesurfer.load(t.audio.src),t.playButton.addEventListener("click",()=>function(e){if(!e.audio)return;try{e.audio.paused?((e.audio.ended||e.audio.currentTime>=e.audio.duration)&&(e.audio.currentTime=0,e.wavesurfer&&e.wavesurfer.setTime(0)),e.audio.play().then(()=>c(e)).catch(t=>{console.error("Error playing audio:",t),c(e)})):(e.audio.pause(),c(e))}catch(t){console.error("Error handling audio playback:",t),c(e)}}(t)),t.audio.addEventListener("ended",()=>c(t)),t.audio.addEventListener("pause",()=>c(t)),t.wavesurfer.on("ready",()=>{t.waveform.style.display="block"})}})}function c(e){const t=!e.audio.paused;e.playButton.classList.toggle("is-playing",t),e.playButton.innerHTML=`<span class="icon dhl-icons-library ${t?"pause":"play"}"></span>`,e.wavesurfer&&(t?(e.wavesurfer.setTime(e.audio.currentTime),e.wavesurfer.play()):(e.wavesurfer.setTime(e.audio.currentTime),e.wavesurfer.pause()))}const d="audio-full-player__button",h="audio-full-player__timeline-wrapper",m="audio-full-player__timeline-input",p="audio-full-player__timeline-progress",f="audio-full-player__timeline-thumb",y="audio-full-player__current-time",g="audio-full-player__total-time",v="is-seeking",S="is-playing",E="icon dhl-icons-library",w="play",T="pause",k={MIN:0,MAX:100,INITIAL:0};function b(e){if(!isFinite(e))return"0:00";return`${Math.floor(e/60)}:${Math.floor(e%60).toString().padStart(2,"0")}`}function A(e){if(!e)return 0;const t=e.duration;return isFinite(t)?t:0}function L(e){if(!e)return 0;const t=e.currentTime;return isFinite(t)?t:0}function P(e){return!!e&&(!e.paused&&!e.ended)}class C{elements;isSeeking=!1;isManualSeeking=!1;constructor(e){this.elements=e}initializeTimeline(){this.elements.timelineInput&&(this.elements.timelineInput.min=k.MIN.toString(),this.elements.timelineInput.step=.01.toString(),this.elements.timelineInput.value=k.INITIAL.toString(),this.elements.timelineInput.max=k.MAX.toString())}setupEventListeners(){this.elements.timelineWrapper&&this.elements.timelineInput&&(this.elements.timelineWrapper.addEventListener("click",e=>this.handleTimelineClick(e)),this.elements.timelineWrapper.addEventListener("touchend",e=>this.handleTimelineTouch(e)),this.elements.timelineInput.addEventListener("input",()=>this.handleTimelineInput()),this.elements.timelineInput.addEventListener("mousedown",e=>this.handleSeekStart(e)),this.elements.timelineInput.addEventListener("mouseup",()=>this.handleSeekEnd()),this.elements.timelineInput.addEventListener("touchstart",e=>this.handleSeekStart(e)),this.elements.timelineInput.addEventListener("touchend",()=>this.handleSeekEnd()),this.elements.timelineWrapper.addEventListener("mouseenter",()=>this.handleTimelineHover(!0)),this.elements.timelineWrapper.addEventListener("mouseleave",()=>this.handleTimelineHover(!1)))}handleTimelineClick(e){if(!this.elements.audio||!this.elements.timelineWrapper)return;e.preventDefault(),e.stopPropagation();const t=this.elements.timelineWrapper.getBoundingClientRect(),n=e.clientX-t.left,i=t.width;this.seekToPosition(n,i)}handleTimelineTouch(e){if(!this.elements.audio||!this.elements.timelineWrapper)return;e.preventDefault(),e.stopPropagation();const t=e.changedTouches[0];if(!t)return;const n=this.elements.timelineWrapper.getBoundingClientRect(),i=t.clientX-n.left,a=n.width;this.seekToPosition(i,a)}seekToPosition(e,t){if(!this.elements.audio)return;this.setManualSeeking(!0);const n=function(e,t){return{x:e,width:t,percentage:Math.max(0,Math.min(1,e/t))}}(e,t),i=A(this.elements.audio);if(i>0){const e=n.percentage*i;this.elements.audio.currentTime=e,this.elements.timelineInput&&(this.elements.timelineInput.value=e.toString()),this.updateTimelineDisplay(),setTimeout(()=>{this.setManualSeeking(!1)},100)}}handleTimelineInput(){if(!this.elements.audio||!this.elements.timelineInput)return;const e=parseFloat(this.elements.timelineInput.value);this.elements.audio.currentTime=e,this.updateTimelineDisplay()}handleSeekStart(e){this.setSeeking(!0),this.elements.timelineWrapper?.classList.add(v)}handleSeekEnd(){this.setSeeking(!1),this.elements.timelineWrapper?.classList.remove(v)}handleTimelineHover(e){}updateTimelineDisplay(){if(!this.elements.audio)return;const e=L(this.elements.audio),t=A(this.elements.audio);this.elements.currentTime&&(this.elements.currentTime.textContent=b(e)),this.elements.timelineInput&&!this.isSeeking&&(this.elements.timelineInput.value=e.toString()),this.updateProgressVisualization(e,t)}updateProgressVisualization(e,t){var n,i,a;if(this.elements.timelineProgress&&this.elements.timelineThumb)if(t>0){const o=(n=e/t*100,i=0,a=100,Math.max(i,Math.min(a,n)));this.elements.timelineProgress.style.width=`${o}%`,this.elements.timelineThumb.style.left=`${o}%`}else this.elements.timelineProgress.style.width="0%",this.elements.timelineThumb.style.left="0%"}updateTotalTime(){if(!this.elements.audio||!this.elements.totalTime||!this.elements.timelineInput)return;const e=A(this.elements.audio);e>0&&(this.elements.totalTime.textContent=b(e),this.elements.timelineInput.max=e.toString(),this.updateProgressVisualization(L(this.elements.audio),e))}setSeeking(e){this.isSeeking=e}setManualSeeking(e){this.isManualSeeking=e}getSeekingState(){return this.isSeeking}getManualSeekingState(){return this.isManualSeeking}}class I{elements;isReady=!1;animationFrame;onStateChange;constructor(e,t){this.elements=e,this.onStateChange=t}setupEventListeners(){this.elements.audio&&(this.elements.audio.addEventListener("loadedmetadata",()=>this.handleLoadedMetadata()),this.elements.audio.addEventListener("timeupdate",()=>this.handleTimeUpdate()),this.elements.audio.addEventListener("ended",()=>this.handleAudioEnd()),this.elements.audio.addEventListener("pause",()=>this.handleAudioPause()),this.elements.audio.addEventListener("play",()=>this.handleAudioPlay()))}setupPlayButtonListener(){this.elements.playButton&&this.elements.playButton.addEventListener("click",()=>this.handlePlayPause())}handleLoadedMetadata(){this.onStateChange?.()}handleTimeUpdate(){this.onStateChange?.()}handleAudioEnd(){this.stopSmoothUpdate(),this.updatePlayerState(),this.onStateChange?.()}handleAudioPause(){this.stopSmoothUpdate(),this.updatePlayerState()}handleAudioPlay(){this.startSmoothUpdate(),this.updatePlayerState()}handlePlayPause(){if(this.elements.audio)try{this.elements.audio.paused?this.play():this.pause()}catch(e){console.error("FullAudioPlayer: Error handling audio playback:",e),this.updatePlayerState()}}play(){return new Promise((e,t)=>
1{if(!this.isReady||!this.elements.audio)return console.warn("FullAudioPlayer: Cannot play - player not ready"),void t(new Error("Player not ready"));try{(this.elements.audio.ended||this.elements.audio.currentTime>=this.elements.audio.duration)&&(this.elements.audio.currentTime=0),this.elements.audio.play().then(()=>{this.updatePlayerState(),e()}).catch(e=>{console.error("FullAudioPlayer: Error playing audio:",e),this.updatePlayerState(),t(e)})}catch(e){console.error("FullAudioPlayer: Error handling audio playback:",e),this.updatePlayerState(),t(e)}})}pause(){if(this.isReady&&this.elements.audio)try{this.elements.audio.pause(),this.updatePlayerState()}catch(e){console.error("FullAudioPlayer: Error pausing audio:",e),this.updatePlayerState()}else console.warn("FullAudioPlayer: Cannot pause - player not ready")}stop(){if(this.isReady&&this.elements.audio)try{this.elements.audio.pause(),this.elements.audio.currentTime=0,this.updatePlayerState(),this.onStateChange?.()}catch(e){console.error("FullAudioPlayer: Error stopping audio:",e)}else console.warn("FullAudioPlayer: Cannot stop - player not ready")}isPaused(){return!this.isReady||!this.elements.audio||this.elements.audio.paused}isAutoPlay(){return!!this.elements.audio&&null!==this.elements.audio.getAttribute("autoplay")}updatePlayerState(){if(!this.elements.audio||!this.elements.playButton)return;const e=P(this.elements.audio);this.elements.playButton.classList.toggle(S,e),this.elements.playButton.innerHTML=`<span class="${E} ${e?T:w}"></span>`}startSmoothUpdate(){this.stopSmoothUpdate();const e=()=>{this.elements.audio&&P(this.elements.audio)&&(this.onStateChange?.(),this.animationFrame=requestAnimationFrame(e))};this.animationFrame=requestAnimationFrame(e)}stopSmoothUpdate(){this.animationFrame&&(cancelAnimationFrame(this.animationFrame),this.animationFrame=void 0)}setReady(e){this.isReady=e}getReady(){return this.isReady}isPlaying(){return P(this.elements.audio)}}class _ extends HTMLElement{elements=null;timelineHandler=null;audioController=null;constructor(){super()}connectedCallback(){this.initializePlayer()}initializePlayer(){const e=this.querySelector("audio");var t;if(e)if(this.elements={audio:e,playButton:this.querySelector(`.${d}`),timelineWrapper:this.querySelector(`.${h}`),timelineInput:this.querySelector(`.${m}`),timelineProgress:this.querySelector(`.${p}`),timelineThumb:this.querySelector(`.${f}`),currentTime:this.querySelector(`.${y}`),totalTime:this.querySelector(`.${g}`)},(t=this.elements)&&["audio","playButton","timelineInput","timelineWrapper","timelineProgress","timelineThumb","currentTime","totalTime"].every(e=>!!t[e]||(console.warn(`FullAudioPlayer: Required element '${e}' not found`),!1)))try{this.initializeControllers(),this.setupEventListeners(),this.loadInitialState(),this.audioController?.setReady(!0),console.log("FullAudioPlayer: Successfully initialized")}catch(e){console.error("FullAudioPlayer: Error during initialization:",e),this.audioController?.setReady(!1)}else console.error("FullAudioPlayer: Failed to initialize - missing required elements");else console.error("FullAudioPlayer: No audio element found")}initializeControllers(){this.elements&&(this.timelineHandler=new C(this.elements),this.audioController=new I(this.elements,()=>this.handleAudioStateChange()))}setupEventListeners(){this.timelineHandler?.setupEventListeners(),this.audioController?.setupEventListeners(),this.audioController?.setupPlayButtonListener()}loadInitialState(){this.elements&&(this.timelineHandler?.initializeTimeline(),this.elements.audio.readyState>=1&&this.timelineHandler?.updateTotalTime(),this.timelineHandler?.updateTimelineDisplay())}handleAudioStateChange(){this.timelineHandler?.getSeekingState()||this.timelineHandler?.getManualSeekingState()||this.timelineHandler?.updateTimelineDisplay(),this.elements?.audio.readyState>=1&&this.timelineHandler?.updateTotalTime()}play(){this.audioController?.play().catch(e=>{console.error("FullAudioPlayer: Play failed:",e)})}pause(){this.audioController?.pause()}stop(){this.audioController?.stop()}isPaused(){return this.audioController?.isPaused()??!0}isAutoPlay(){return this.audioController?.isAutoPlay()??!1}ready(){return new Promise(e=>{if(this.audioController?.getReady())e();else{const t=()=>{this.audioController?.getReady()?e():setTimeout(t,10)};t()}})}}var q=n(38608);customElements.define("full-audio-player",_),(0,q.Qc)().then(()=>{l()});n(68390);var M=n(44886),F=n(722);!function(){const e=(0,F.SL)("\n        <div id='loader' class='loading-container'>
1\n            <span class=\"inmotion-icons spin\"></span>\n        </div>\n    ");M.A.setElement(e)}();n(62125),n(21668),n(36164),n(10150),n(35782);var $=n(57576),R=n.n($);(0,q.Qc)().then(()=>{O(N)});const O=e=>{const t=new(R())("js-copy-clipboard");e&&t.on("success",e)},N=e=>{const t=e.trigger,n=t.dataset.messageCopy||"",i=t.dataset.messageCopied||"";t.textContent=i,setTimeout(()=>{t.textContent=n},1e3)};n(54520);var x=n(36759),j=n(58476),H=n.n(j);function D(e){H().touch&&e.querySelectorAll(".button.whatsapp")?.forEach(e=>e.classList.remove("hidden"))}function U(e){e.querySelectorAll(".js-check-selection").forEach(e=>{e.addEventListener("change",t=>{!function(e){const t=e.dataset.selectionTarget,n=document.querySelectorAll(t),i=Number(e.dataset.selectionMin),a=Number(e.dataset.selectionMax),o=Array.from(n).filter(e=>e.checked).length;o<i&&(e.checked=!0);o>a&&(e.checked=!1)}(e)})})}(0,q.Qc)().then(()=>{(0,x.hG)(),D(document.body),U(document.body)}),window.addEventListener(r.yM,e=>{const t=e.detail.element??null;t&&((0,x.hG)(t),D(t),U(t))}),window.addEventListener(r.Rg,e=>{const t=e.detail.element??null;t&&((0,x.hG)(t),D(t),U(t))});n(39380),n(44114),n(23215),n(30670);var B=n(64124),z=n(71882);i();const V=()=>!!navigator.userAgent.match(/iPhone/i),G=()=>!!navigator.userAgent.match(/Android/i),W=()=>!!navigator.userAgent.match(/iPad/i);var K=n(42635),X=n(24970),Q=n(96249),J=n(95664),Y=n(95865);class Z{static isAjaxUploadAvailable(){try{return"onprogress"in new XMLHttpRequest}catch{return!1}}static getValue(e){return ee(e)?e.checked?"true":"false":e.value}static setValue(e,t){ee(t)&&(t.checked="true"===e),t.value=e,te("input",t),te("change",t)}static handleFormResponse(e,t,n){!function(e,t,n){t.dispatchEvent(new CustomEvent(r.UZ,{bubbles:!0,detail:{response:e,status:n??X.k.Ok}}))}(e,t,n),(0,J.s)(e),function(e,t){const n=e.participatedHtml??null;if(!n)return;const i=t.closest("swiper-container");if(i?.swiperInstance){const e=i.swiperInstance;return e.appendSlide(`<div class="swiper-slide">${n}</div>`),e.update(),void e.slideNext()}const a=(0,Q.Cg)(t);if(a)return void a.setBodyHtml(n);t.outerHTML=n}(e,t),n&&n==X.k.Ok||(0,Y.f)(e,t),e.clear_input&&this.clearInput(t,!0),window.dispatchEvent(new CustomEvent(r.G9,{detail:{element:t}})),function(e,t){if(e.csrf){const n=t.querySelector("#"+e.csrf.id);n&&(n.value=e.csrf.value)}}(e,t)}static setUserData(e,t){Object.entries(e).forEach(e=>{const[n,i]=e;if(!i)return;const a=t.querySelector(`[name=${n}],[name$="[${n}]"`);a&&(this.setValue(i,a),a.setAttribute("readonly","readonly"))})}static clearInput(e,t=!0){e.querySelectorAll("input:not(.hidden,[type=hidden]), textarea:not(.hidden), select:not(.hidden)").forEach(e=>{e.value="",e.dispatchEvent(new Event("change",{bubbles:!0}))}),e.querySelectorAll("input[type=checkbox]:not(.hidden,[type=hidden])").forEach(e=>{e.checked=!1}),e.querySelectorAll(".emojionearea-editor").forEach(e=>{e.innerHTML=""}),e.querySelector("canvas")&&n.e(7279).then(()=>n.t(27279,23)).then(e=>{(e.default??e).clear(!0)}),e.querySelectorAll(".js-dropzone").forEach(e=>{const t=e;t.dropzone?.removeAllFiles()}),t&&this.removeErrors(e),ne(e,!1)}static removeErrors(e){e.querySelectorAll(".error").forEach(e=>{e.classList.remove("error")}),e.querySelectorAll(".form-errors").forEach(e=>{e.remove()})}static initFormValidityChangeListener(e){e.addEventListener(z.H,t=>{ne(e,t.detail?.valid??!1)}),B.u.validateForm(e,!1)}}function ee(e){return e instanceof HTMLInputElement&&"checkbox"===e.type}function te(e,t){const n=new Event(e,{bubbles:!0,cancelable:!0});t.dispatchEvent(n)}function ne(e,t){e.querySelectorAll(`.${x.w2}, button[type=submit]`).forEach(e=>{e.toggleAttribute("disabled",!t)})}var ie=n(75471);function ae(e){const t=e.querySelector(".js-email-contact-input"),n=e.querySelector(".js-email-contact-hidden");t&&n&&(!function(e,t){(function(e){const t=e?.closest(".form-item");t&&(t.style.display="none")})(t),oe(e,t)}(t,n),t.addEventListener("change",()=>oe(t,n)))}function oe(e,t){e.value&&e.value===t.value||function(e){const t=e?.closest(".form-item");t&&("none"===t.style.display&&(e.value=""),t.style.display="block")}(t)}function re(e){const t=new Set;
1return e.querySelectorAll('input[type="radio"]').forEach(e=>{t.add(e.name)}),t}function se(){pe(),document.querySelector("input[name*='captcha_token']")&&me(),window.addEventListener(r.Rg,de),window.addEventListener(r.yM,de),document.addEventListener("change",he),window.addEventListener(K.AV,e=>function(e){document.querySelectorAll("form[class*=ajax-form]").forEach(le);const t=e.detail.root.closest("form[class*=ajax-form]")??e.detail.root.querySelector("form[class*=ajax-form]");if(t){const e=new URL(window.location.href),n=t.dataset?.campaign??t.name;e.searchParams.set("campaign-identifier",n),window.history.replaceState({},"",e)}}(e))}function le(e){const t=ce(e);if(!t)return;const n={},i=re(e);e.querySelectorAll("input, textarea, select").forEach(e=>{"radio"!==e.type&&ue(e,n)}),i.forEach(t=>{const i=e.querySelector(`input[type="radio"][name="${t}"]:checked`);i&&ue(i,n)}),Object.keys(n).length>0&&(0,K.fN)(t,n)}function ue(e,t){if(!("false"!==(e.dataset?.clientStorage||"true")))return;const n=Z.getValue(e);n&&"false"!==n&&(t[e.name]=n)}function ce(e){const t=e.id||e.name;return t?`form:${t}`:void 0}function de(e){const t=e.detail.element;t&&(pe(t),t.querySelector("input[name*='captcha_token']")&&me())}function he(e){const t=e.target;t&&t.matches(".form-item .form-element")&&function(e){const t=e.value?"set":"unset",n=e.closest(".form-item");n&&(n.classList.remove("form-value-set","form-value-unset"),n.classList.add("form-value-"+t))}(t)}function me(){document.querySelectorAll(".recaptcha-info").forEach(e=>{e.style.display="block"})}function pe(e=document.body){const t=function(e){const t=Array.from(e.querySelectorAll("form[class*=ajax-form]"));0===t.length&&e.classList.contains("ajax-form")&&t.push(e);return t}(e);t.forEach(fe),e.querySelectorAll(`.${x.w2}`).forEach(ye),e.querySelectorAll(".js-hidden-if-invalid").forEach(ge),e.querySelectorAll("textarea.js-limit-text").forEach(ve),e.querySelectorAll(".js-remove-emojis").forEach(Se),Ee(e)}function fe(e){e.addEventListener("submit",t=>{t.preventDefault(),function(e){if(!Z.isAjaxUploadAvailable())return e.submit(),!0;if(!B.A.validateForm(e))return i().default.scrollToElement(e),!1;(function(e){M.A.display();const t=()=>{const t=function(e){const t=new FormData(e);return document.querySelectorAll(".js-form-canvas-upload").forEach(e=>{if(e.dataset.modified){const n=e.toDataURL(),i=e.dataset.formname;i&&t.append(i,n)}}),t.append("response_type","json"),t}(e),n=new CustomEvent(r.no,{bubbles:!0,detail:{data:t,headers:{}}});e.dispatchEvent(n);const i=n.detail.data,a=n.detail.headers,o=e.dataset.dataType||null,s={method:e.method.toUpperCase(),headers:a},l="json"===o?Object.fromEntries(i):i;(0,ie.RD)(e.action,l,s).then(async t=>{const n=await t.json();Z.handleFormResponse(n,e,t.status)}).catch(()=>{Z.handleFormResponse({},e,0)}).finally(()=>{M.A.hide()})};!function(e){return Boolean("true"===e.dataset.captcha&&e.dataset.captchaInput&&window.grecaptcha)}(e)?t():function(e,t){const n=e.querySelector(e.dataset.captchaInput),i=document.body.dataset.captchaKey;n?window.grecaptcha.ready(()=>{window.grecaptcha.execute(i,{action:"ajaxForm"}).then(e=>{n.value=e,t()})}):t()}(e,t)})(e)}(e)}),Z.initFormValidityChangeListener(e),ae(e),function(e){const t=ce(e);if(!t)return;const n=(0,K.Qb)(t);if(!n)return;const i=re(e);e.querySelectorAll("input, textarea, select").forEach(e=>{"radio"!==e.type&&e.name in n&&Z.setValue(n[e.name],e)}),i.forEach(t=>{if(t in n){e.querySelectorAll(`input[type="radio"][name="${t}"]`).forEach(e=>e.checked=!1);const i=e.querySelector(`input[type="radio"][name="${t}"][value="${n[t]}"]`);i&&(i.checked=!0,i.dispatchEvent(new Event("change",{bubbles:!0})))}}),(0,K.Xq)(t)}(e)}function ye(e){e.addEventListener("click",()=>{const t=e.dataset.form;if(t){const e=document.querySelector(t);e?.dispatchEvent(new Event("submit",{bubbles:!0,cancelable:!0}))}})}function ge(e){const t=e.dataset.checkContainer?document.querySelector(e.dataset.checkContainer):e.closest("fieldset, form");if(t){t.querySelectorAll("input, select, textarea").forEach(n=>{n.addEventListener(z.H,()=>{!function(e,t){const n=Array.from(t.querySelectorAll("input, select, textarea")).every(e=>B.A.isValid(e));e.classList.toggle("hidden",!n),e.style.display=n?"initial":"none"}(e,t)})})}}function ve(e){const t=e.dataset.maxLineLength?parseInt(e.dataset.maxLineLength,10):null,n=e.dataset.maxLines?parseInt(e.dataset.maxLines,10):null;e.addEventListener("input",()=>{!function(e,t,n){let i=e.value.split("\n");null!==t&&(i=i.flatMap(e=>{if(e.length<=t)return[e];const n=e.split(" ");let i="";const a=[];for(const e of n)(i+" "+e).trim().length>t?(a.push(i.trim()),i=e):i+=" "+e;return i&&a.push(i.trim()),a}));null!==n&&(i=i.slice(0,n));e.value=i.join("\n")}(e,t,n)})}function Se(e){e.addEventListener("input",e=>{const t=e.currentTarget;t.value=t.value.replace(/([\u2700-\u27BF]|[\uE000-\uF8FF]|[\uD800-\uDFFF]|[\u2011-\u26FF]|[\uFE00-\uFE0F])/g,"")})}const Ee=e=>{V()||G()||W()||e.querySelectorAll("input[type=date]").forEach(e
1=>{e.closest(".form-item")?.classList.add("form-value-set")})};n(34864),n(31864),n(45022),n(26647);a();var we=n(23811),Te=n(50726),ke=n(4569),be=(n(33110),n(12624));const Ae="_dhl_inmotion_invite_token";function Le(){!function(){const e=new URLSearchParams(window.location.search).get("inv");if(e){const t={token:e,addedAt:new Date};localStorage.setItem(Ae,JSON.stringify(t))}}(),async function(){let e=JSON.parse(localStorage.getItem("_dhl_inmotion_invite_token"));e&&(0,ie.RD)(be.y.ACCOUNT.INVITE.REDEEM,e,{method:"POST",headers:{"Content-Type":"application/json"}}).then(e=>e.ok?(e.status==X.k.Ok&&localStorage.removeItem(Ae),e.json()):e.statusText).then(e=>{console.log("Response:",e)}).catch(e=>{console.error("Can not send the request:",e)})}(),function(){const e=document.getElementById("inviteBoxShareButton");e&&e.addEventListener("click",()=>{fetch(be.y.ACCOUNT.INVITE.TOKEN).then(async e=>{if(e.status==X.k.Ok){!async function(e){if(navigator.share)try{await navigator.share({title:"invite_friend.invite_link_title",text:"invite_friend.invite_link_text",url:e})}catch(e){console.error("Sharing aborted or failure",e)}else!function(e){const t=e;navigator.clipboard.writeText(t),alert("Link copied in the clipboard!")}(e)}((await e.json()).url)}})})}()}var Pe=n(89568);function Ce(e){e.querySelectorAll(`.${x.wv}`).forEach(e=>{e.addEventListener(r.oq,e=>{const t=e.detail.response,n=e.detail.responseBody;t.ok&&n.then(e=>{(0,J.s)(e,{skipModal:!0})})})})}n(74423);var Ie=n(18790),_e=n(24787);const qe=[{selector:"[data-fancybox]",load:()=>Promise.all([n.e(6489),n.e(3064)]).then(()=>n(33064)).then(e=>e.initializeFancyboxModule())},{selector:".js-dropzone",load:()=>Promise.all([n.e(4600),n.e(8856)]).then(()=>n(98856)).then(e=>e.initializeDropzoneModule())},{selector:"quiz-container",load:()=>Promise.all([n.e(568),n.e(9484),n.e(4106),n.e(775)]).then(()=>n(44106))},{selector:".campaign-leaderboard",load:()=>n.e(8731).then(()=>n(18731))},{selector:".js-panzoom",load:()=>Promise.all([n.e(5568),n.e(9820)]).then(()=>n(29820))},{selector:".js-canvas-drawer",load:()=>n.e(7279).then(()=>n.t(27279,23))},{selector:"full-player, inline-player, vimeo-player",load:()=>Promise.all([n.e(646),n.e(4063)]).then(()=>n(16910)),deferred:!0},{selector:"swiper-container",load:()=>Promise.all([n.e(568),n.e(9484),n.e(9926)]).then(()=>n(19926)).then(e=>e.initializeSwiperModule())},{selector:".fi",load:()=>Promise.all([n.e(8693),n.e(2975)]).then(()=>n(82975))},{selector:Ie.TE,load:Ie.ZG}];function Me({selector:e,load:t,deferred:n=!1}){let i=null,a=[],o=!1;const s=e=>{const t=e.detail?.element??null;t&&c(t)},l=()=>{window.removeEventListener(r.Rg,s),window.removeEventListener(r.yM,s)},u=()=>{i||(a.forEach(e=>(0,_e.H)(e,u)),a=[],i=t().then(l).catch(t=>{i=null,o=!1,console.error(`Failed to load module for "${e}":`,t),c()}))},c=(t=document)=>{!i&&(t=>t instanceof Element&&t.matches(e)||Boolean(t.querySelector(e)))(t)&&(n?((t=>[...t instanceof Element&&t.matches(e)?[t]:[],...Array.from(t.querySelectorAll(e))])(t).forEach(e=>{a.includes(e)||(a.push(e),(0,_e.g)(e,u))}),o||(o=!0,function(e){const t=()=>{"requestIdleCallback"in window?window.requestIdleCallback(e,{timeout:2e3}):setTimeout(e,200)};"complete"===document.readyState?t():window.addEventListener("load",t,{once:!0})}(u))):u())};window.addEventListener(r.Rg,s),window.addEventListener(r.yM,s),c()}var Fe=n(26580);n(37550);const $e="inmotion:attribution",Re=["inmotion.dhl","inmotioncms.adrivo.com","localhost"],Oe={utm_source:"utmSource",utm_medium:"utmMedium",utm_campaign:"utmCampaign",utm_term:"utmTerm",utm_content:"utmContent",utm_id:"utmId",utm_source_platform:"utmSourcePlatform",utm_creative_format:"utmCreativeFormat",utm_marketing_tactic:"utmMarketingTactic"},Ne=["gclid","gbraid","wbraid","gad_source","gad_campaignid","gclsrc","fbclid","li_fat_id","ttclid"],xe=[/(^|\.)google\./i,/(^|\.)bing\.com$/i,/(^|\.)yahoo\.(com|co\.[a-z]{2}|[a-z]{2})$/i,/(^|\.)duckduckgo\.com$/i,/(^|\.)baidu\.com$/i,/(^|\.)yandex\.(com|ru)$/i,/(^|\.)ecosia\.org$/i,/(^|\.)ask\.com$/i,/(^|\.)qwant\.com$/i,/(^|\.)naver\.com$/i,/(^|\.)daum\.net$/i,/(^|\.)search\.brave\.com$/i],je=[/(^|\.)facebook\.com$/i,/(^|\.)fb\.com$/i,/(^|\.)instagram\.com$/i,/(^|\.)linkedin\.com$/i,/(^|\.)lnkd\.in$/i,/(^|\.)twitter\.com$/i,/(^|\.)t\.co$/i,/(^|\.)x\.com$/i,/(^|\.)tiktok\.com$/i,/(^|\.)youtube\.com$/i,/(^|\.)youtu\.be$/i,/(^|\.)reddit\.com$/i,/(^|\.)pinterest\.com$/i,/(^|\.)threads\.net$/i],He=/^(cpc|ppc|paid|cpv|cpa|cpm|paidsearch|paidsocial|paid-social)$/i,De=/^(social|social-network|social-media|sm)$/i;function Ue(e,t){return e===t||e.endsWith("."+t)}function Be(e,t){return t.some(t=>t.test(e))}function ze(e,t){if(!e)return!1;const n=e.toLowerCase(),i=(t||"").toLowerCase();return!!Ue(n,i)||Re.some(e=>Ue(n,e))}function Ve(e,t,n){const i=e.searchParams.get(t);if(null===i)return;const a=n?i:i.trim();return""===a?void 0:a}function Ge(e,t,n=new Date){const i=new URL(e.href),a=i.href,o=i.pathname||"/",r=i.hostname,s=function(e){const t={};for(const n of Ne){const i=Ve(e,n,!0);void 0!==i&&(t[n]=i)}return t}(i),l=Object.keys(s).length>0,u=function(e){const t={};for(const[n,i]of Object.entries(Oe)){const a=Ve(e,n,!1);void 0!==a&&(t[i]=a)}return t}(i),c=Object.keys(u).length>0,d=t||void 0,h=function(e){if(e)try{return new URL(e).hostname.toLowerCase()}catch{return}}(t),m=c||l||Boolean(h&&!ze(h,r)),p=function(e){const{referrerHost:t,utmMedium:n,hasUtm:i,hasClickIds:a,currentHost:o}=e,r=(n||"").trim();return a||He.test(r)?"paid":t&&ze(t,o)&&!i?"internal":De.test(r)||t&&Be(t,je)?"social":t&&Be(t,xe)?"organic_search":t||i?"referral":"direct"}
1({referrerHost:h,utmMedium:u.utmMedium,hasUtm:c,hasClickIds:l,currentHost:r});return{touch:{...u,landingUrl:a,landingPath:o,referrerUrl:d,referrerHost:h,channel:p,occurredAt:n.toISOString()},isAttributed:m,clickIds:s}}function We(){return"undefined"!=typeof window&&window.localStorage?window.localStorage:null}function Ke(e,t){[e.firstTouch,e.lastTouch].forEach(e=>{e&&t(e)})}function Xe(e,t,n=Date.now()){if(!e||!e.occurredAt)return!0;const i=Date.parse(e.occurredAt);return!!isNaN(i)||n-i>t}function Qe(e=Date.now()){try{const t=We();if(!t)return{version:1,firstTouch:null,lastTouch:null,touchCount:0,consentMarketing:!1};const n=t.getItem($e);if(!n)return{version:1,firstTouch:null,lastTouch:null,touchCount:0,consentMarketing:!1};const i=JSON.parse(n);if(!i||"object"!=typeof i||1!==i.version)return{version:1,firstTouch:null,lastTouch:null,touchCount:0,consentMarketing:!1};let a=i.firstTouch??null,o=i.lastTouch??null,r="number"==typeof i.touchCount?i.touchCount:0;const s=Boolean(i.consentMarketing);return Xe(a,7776e6,e)&&(a=null),Xe(o,2592e6,e)&&(o=null),a||o||(r=0),{version:1,firstTouch:a,lastTouch:o,touchCount:r,consentMarketing:s}}catch{return{version:1,firstTouch:null,lastTouch:null,touchCount:0,consentMarketing:!1}}}function Je(e){try{const t=We();if(!t)return;t.setItem($e,JSON.stringify(e))}catch{}}function Ye(e,t=Date.now()){const n=Qe(t);return n.consentMarketing=!0,e&&Object.keys(e).length>0&&Ke(n,t=>{t.clickIds={...t.clickIds||{},...e}}),Je(n),n}let Ze=null;function et(){return(0,Fe.HA)("undefined"!=typeof window&&window.INMOTION_CMP_MARKETING_PURPOSE_ID?String(window.INMOTION_CMP_MARKETING_PURPOSE_ID):"659d53653314630528f1628e")||(0,Fe.HA)("Marketing")}function tt(){Ze=null}function nt(e=Date.now()){et()?Ze&&Object.keys(Ze).length>0?(Ye(Ze,e),tt()):Ye({},e):(tt(),function(e=Date.now()){const t=Qe(e);t.consentMarketing=!1,Ke(t,e=>{delete e.clickIds}),Je(t)}(e))}let it=!1;function at(){nt()}function ot(e){if(!e?.detail?.data)return;const t=Qe();(t.firstTouch||t.lastTouch)&&e.detail.data.append("attribution_data",JSON.stringify(t))}function rt(){if(!it&&"undefined"!=typeof window){it=!0;try{const{touch:e,clickIds:t,isAttributed:n}=Ge(window.location,document.referrer);!function(e){e&&0!==Object.keys(e).length&&(Ze={...Ze||{},...e})}(t),function(e,t,n=Date.now()){const i=Qe(n);i.firstTouch||(i.firstTouch={...e}),t?(i.touchCount+=1,i.lastTouch={...e}):i.lastTouch||(i.lastTouch={...e}),Je(i)}(e,n),et()&&nt()}catch{}window.addEventListener(Fe.E6,at),window.addEventListener(r.no,ot)}}globalThis.$=o(),globalThis.jQuery=o(),globalThis.Modal=a(),globalThis.Common=i(),(0,q.Qc)().then(()=>{rt(),(0,a().initializeModalModule)(),se(),(0,we._)(),(0,Te.N0)(),(0,ke.V)(),Le(),(0,K.dR)(),(0,ie.qh)(document.body),(0,ie.GO)(),(0,Pe.p)(),(0,x.Ts)(),function(e=document.body){Ce(e),window.addEventListener(r.yM,e=>{const t=e.detail.element??null;t&&Ce(t)}),window.addEventListener(r.Rg,e=>{const t=e.detail.element??null;t&&Ce(t)})}(),qe.forEach(Me)})},18790(e,t,n){"use strict";n.d(t,{ZG:()=>o});const i=".background--parallax, .h-scroll, .scale-in-down, .scale-out-down, #power_animated";let a=null;function o(){return a||(a=Promise.all([n.e(8429),n.e(1500),n.e(6575),n.e(5471),n.e(6249),n.e(3801),n.e(7486)]).then(()=>n(77486)).then(e=>{e.initGsapPageEffects()})),a}n.d(t,["TE",0,i,"Ty",0,()=>Promise.all([n.e(8429),n.e(1500),n.e(6575),n.e(5471),n.e(6249),n.e(4854)]).then(()=>n(57024)).then(({initGsap:e})=>{if(e(),document.querySelector(i))return o()})])},12624(e,t,n){"use strict";n.d(t,["y",0,{ACCOUNT:{AUTH:{LINK_IDP:"/{locale}/auth/link/{broker}?name={brokerName}",UNLINK_IDP:"/{locale}/auth/unlink/{broker}?name={brokerName}",CHANGE_EMAIL:"/{locale}/auth/change-email",CHANGE_PASSWORD:"/{locale}/auth/change-password",LOGOUT:"/auth/logout"},PROFILE:{BASE:"/api/account/profile",PICTURE:{BASE:"/api/account/profile/picture",SVG:"/api/account/profile/picture/svg",CONFIG:"/api/account/profile/picture/config"},NAME:"/api/account/profile/name",BIRTHDAY:"/api/account/profile/birthday",COUNTRY:"/api/account/profile/country",CITY:"/api/account/profile/city",ADDRESS:"/api/account/profile/address",PHONE:"/api/account/profile/phonenumber"},INVITE:{TOKEN:"/api/account/invite/token",REDEEM:"/api/account/invite/redeem",USERS:"/api/account/invite/users"},HINTS:"/api/account/hints",VOUCHER_CATEGORIES:"/api/account/voucher-categories",VOUCHER_CODE:"/api/account/voucher-code/{voucherCategoryId}",COUNTRIES:"/{locale}/api/account/countries",PHONE_PREFIXES:"/{locale}/api/account/phone-prefixes",SOCIAL_PROVIDERS:"/{locale}
1/api/account/social-providers",ACTIVITIES:"/api/account/activities"}}])}},e=>{e.O(0,[1005,8429,9034,4692,2837,5921,5471,6249,5819,726,4017,7055],()=>e(17497));e.O()}]);

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.