https://del.dhl.com/prg/shipment-options.xhtml?locale=it-IT

ID de l'analyse :
74bbc765-e74d-4413-96b3-f06dfd407558
URL soumise :
https://del.dhl.com/IT/Ohwx0dKZHL9Redirigé
Fin du rapport :

Liens : 0 trouvé(s)

Liens sortants identifiés à partir de la page

Variables JavaScript : 121 trouvée(s)

Les variables JavaScript globales chargées dans l'objet fenêtre d'une page sont des variables déclarées en dehors des fonctions et accessibles depuis n'importe quel endroit du code au sein du champ d'application actuel

NomType
0object
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject
loggerobject
senderobject
contextPathstring
svgfunction
LimtCharactersfunction
scrollToElementfunction

Messages de journal de console : 9 trouvé(s)

Messages consignés dans la console web

TypeCatégorieEnregistrement
warningother
texte
Error with Permissions-Policy header: Unrecognized feature: 'usb'.
warningother
texte
Error with Permissions-Policy header: Unrecognized feature: 'web-share'.
warningother
texte
Error with Permissions-Policy header: Unrecognized feature: 'xr-spatial-tracking'.
warningother
texte
Error with Permissions-Policy header: Unrecognized feature: 'usb'.
warningother
texte
Error with Permissions-Policy header: Unrecognized feature: 'web-share'.
warningother
texte
Error with Permissions-Policy header: Unrecognized feature: 'xr-spatial-tracking'.
warningother
texte
Error with Permissions-Policy header: Unrecognized feature: 'usb'.
warningother
texte
Error with Permissions-Policy header: Unrecognized feature: 'web-share'.
warningother
texte
Error with Permissions-Policy header: Unrecognized feature: 'xr-spatial-tracking'.

HTML

Le corps HTML de la page en données brutes

<!DOCTYPE html><html lang="it-IT" dir="ltr"><head id="j_idt3">
    <title>On Demand Delivery</title>
      <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <link rel="apple-touch-icon" sizes="57x57" href="/prg/img/icons/apple-touch-icon-57x57.png">
  <link rel="apple-touch-icon" sizes="60x60" href="/prg/img/icons/apple-touch-icon-60x60.png">
  <link rel="apple-touch-icon" sizes="72x72" href="/prg/img/icons/apple-touch-icon-72x72.png">
  <link rel="apple-touch-icon" sizes="76x76" href="/prg/img/icons/apple-touch-icon-76x76.png">
  <link rel="apple-touch-icon" sizes="114x114" href="/prg/img/icons/apple-touch-icon-114x114.png">
  <link rel="apple-touch-icon" sizes="120x120" href="/prg/img/icons/apple-touch-icon-120x120.png">
  <link rel="apple-touch-icon" sizes="144x144" href="/prg/img/icons/apple-touch-icon-144x144.png">
  <link rel="apple-touch-icon" sizes="152x152" href="/prg/img/icons/apple-touch-icon-152x152.png">
  <link rel="apple-touch-icon" sizes="180x180" href="/prg/img/icons/apple-touch-icon-180x180.png">
  <link rel="icon" type="image/png" sizes="192x192" href="/prg/img/icons/favicon-192x192.png">
  <link rel="icon" type="image/png" sizes="160x160" href="/prg/img/icons/favicon-160x160.png">
  <link rel="icon" type="image/png" sizes="96x96" href="/prg/img/icons/favicon-96x96.png">
  <link rel="icon" type="image/png" sizes="64x64" href="/prg/img/icons/favicon-64x64.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/prg/img/icons/favicon-32x32.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/prg/img/icons/favicon-16x16.png">
  <link rel="mask-icon" href="/prg/img/icons/safari-pinned-tab.svg" color="#d40511">
  <link rel="shortcut icon" href="/prg/img/icons/favicon.ico">
  <meta name="apple-mobile-web-app-title" content="On Demand Delivery">
  <meta name="application-name" content="On Demand Delivery">
  <meta name="msapplication-config" content="/prg/img/icons/browserconfig.xml">
  <meta name="theme-color" content="#ffffff">
    <link rel="manifest" href="/prg/dhl-manifest.json">
    <meta name="apple-itunes-app" content="app-id=1426463073">
    <link rel="stylesheet" href="/prg/res/shipment-options.css?v=20241028">
    <script src="/prg/res/shipment-options.js?v=20241028"></script>
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"><script type="text/javascript" src="/prg/javax.faces.resource/jsf.js.xhtml?ln=javax.faces&amp;v=20241028"></script><link type="text/css" rel="stylesheet" href="/prg/javax.faces.resource/default.css.xhtml?ln=openfaces&amp;v=20241028"><script type="text/javascript" src="/prg/javax.faces.resource/util/util.js.xhtml?ln=openfaces&amp;v=20241028"></script><script type="text/javascript">O$.initDefaultFocus('o::defaultFocus', null);</script><script type="text/javascript" src="/prg/javax.faces.resource/util/ajaxUtil.js.xhtml?ln=openfaces&amp;v=20241028"></script><script type="text/javascript">O$.Ajax.setMessageHTML('\x3Ctable class=\x27o_ajax_message  \x27 style=\x27 \x27 cellpadding=\x270\x27 cellspacing=\x270\x27>\x3Ctr>\x3Ctd valign=\x27middle\x27 style=\x27padding-right: 5px\x27>\x3Cimg src=\x27/prg/javax.faces.resource/loading.gif.xhtml?ln=openfaces&v=20241028\x27/>\x3C/td>\x3Ctd valign=\x27middle\x27>Loading...\x3C/td>\x3C/tr>\x3C/table>', 'right', 'top', 0.0, 0, null, true);</script><script src="https://assets.adobedtm.com/extensions/EPef068a8d6dd34a43866d9a80cc98baab/AppMeasurement.min.js" async=""></script><script src="https://assets.adobedtm.com/extensions/EPef068a8d6dd34a43866d9a80cc98baab/AppMeasurement_Module_ActivityMap.min.js" async=""></script><script src="https://cdn.cookielaw.org/scripttemplates/otSDKStub.js" text="text/javascript" charset="UTF-8" data-domain-script="12e89fb9-f82e-40f1-b442-88c85df134ad" data-document-language="true"></script></head><body class=" pace-running">
	<input type="hidden" value="false">  
	<input type="hidden">
  <nav id="main-menu">
    
      
      <header id="menu-header">
        <button id="menu-close-btn" class="hamburger hamburger--squeeze hamburger--active focus-indicator" type="button" aria-label="Close Menu">
          <span class="hamburger-box">
            <span class="hamburger-inner"></span>
          </span>
        </button><span id="menu-countryselect">
<form id="country-form" name="country-form" method="post" action="/prg/shipment-options.xhtml" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="country-form" value="country-form">
<input type="hidden" name="csrfId" value="3207f7dd459d02ea07009977f9fd7a35988a262d3fb85b9ec4cb4684e9e5c386">
  <div class="dropdown">
    <button id="countrySelector" class="button-dropdown focus-indicator" type="button" data-toggle="dropdown" aria-label="Select Country">
      <span class="has-icon icon-globe"></span>
      <span data-bind="label">Select your country</span>
      <span class="has-icon icon-arrow-down"></span>
    </button>
    <ul class="dropdown-menu" role="menu">

      <li id="amtop" role="presentation" class="have-child">
        <a role="menuitem" tabindex="-1" data-toggle="collapse" data-parent="#accordion" href="#am">
          <i class="has-icon icon-plus"></i>
          Americhe
        </a>
        <ul id="am" class="panel-collapse collapse">
            <li data-option="AR">Argentina
            </li>
            <li data-option="BS">Bahamas
            </li>
            <li data-option="BB">Barbados
            </li>
            <li data-option="BM">Bermuda
            </li>
            <li data-option="BO">Bolivia
            </li>
            <li data-option="BR">Brasile
            </li>
            <li data-option="VG">Isole Vergini (GB)
            </li>
            <li data-option="CA">Canada
            </li>
            <li data-option="KY">Isole Cayman
            </li>
            <li data-option="CL">Cile
            </li>
            <li data-option="CO">Colombia
            </li>
            <li data-option="CR">Costa Rica
            </li>
            <li data-option="XC">Curaçao
            </li>
            <li data-option="DO">Repubblica Dominicana
            </li>
            <li data-option="EC">Ecuador
            </li>
            <li data-option="SV">El Salvador
            </li>
            <li data-option="GF">Guayana Francese
            </li>
            <li data-option="GP">Guadalupa
            </li>
            <li data-option="GT">Guatemala
            </li>
            <li data-option="HT">Haiti
            </li>
            <li data-option="HN">Honduras
            </li>
            <li data-option="JM">Giamaica
            </li>
            <li data-option="MQ">Martinica
            </li>
            <li data-option="MX">Messico
            </li>
            <li data-option="NI">Nicaragua
            </li>
            <li data-option="PA">Panama
            </li>
            <li data-option="PY">Paraguay
            </li>
            <li data-option="PE">Perù
            </li>
            <li data-option="PR">Puerto Rico
            </li>
            <li data-option="XM">Sint Maarten (parte olandese)
            </li>
            <li data-option="TT">Trinidad e Tobago
            </li>
            <li data-option="US">Stati Uniti
            </li>
            <li data-option="VI">Isole Vergini (USA)
            </li>
            <li data-option="UY">Uruguay
            </li>
            <li data-option="VE">Venezuela
            </li>
        </ul>
      </li>

      <li role="presentation" class="divider"></li>

      <li id="aptop" role="presentation" class="have-child">
        <a role="menuitem" tabindex="-1" data-toggle="collapse" data-parent="#accordion" href="#ap">
          <i class="has-icon icon-plus"></i>
          Asia Pacifico
        </a>
        <ul id="ap" class="panel-collapse collapse">
            <li data-option="AU">Australia
            </li>
            <li data-option="BD">Bangladesh
            </li>
            <li data-option="BN">Brunei
            </li>
            <li data-option="KH">Cambogia
            </li>
            <li data-option="CN">Cina
            </li>
            <li data-option="FJ">Figi
            </li>
            <li data-option="HK">Hong Kong
            </li>
            <li data-option="IN">India
            </li>
            <li data-option="ID">Indonesia
            </li>
            <li data-option="JP">Giappone
            </li>
            <li data-option="LA">Laos
            </li>
            <li data-option="MO">Macao
            </li>
            <li data-option="MY">Malaysia
            </li>
            <li data-option="MM">Myanmar
            </li>
            <li data-option="NP">Nepal
            </li>
            <li data-option="NZ">Nuova Zelanda
            </li>
            <li data-option="PK">Pakistan
            </li>
            <li data-option="PG">Papua Nuova Guinea
            </li>
            <li data-option="PH">Filippine
            </li>
            <li data-option="SG">Singapore
            </li>
            <li data-option="KR">Corea del Sud
            </li>
            <li data-option="LK">Sri Lanka
            </li>
            <li data-option="TW">Taiwan
            </li>
            <li data-option="TH">Thailandia
            </li>
            <li data-option="VN">Vietnam
            </li>
        </ul>
      </li>

      <li role="presentation" class="divider"></li>

      <li id="eumetop" role="presentation" class="have-child">
        <a role="menuitem" tabindex="-1" data-toggle="collapse" data-parent="#accordion" href="#eume">
          <i class="has-icon icon-plus"></i>
          Europa
        </a>
        <ul id="eume" class="panel-collapse collapse">
            <li data-option="AL">Albania
            </li>
            <li data-option="AT">Austria
            </li>
            <li data-option="BE">Belgio
            </li>
            <li data-option="BA">Bosnia-Erzegovina
            </li>
            <li data-option="BG">Bulgaria
            </li>
            <li data-option="HR">Croazia
            </li>
            <li data-option="CY">Cipro
            </li>
            <li data-option="CZ">Repubblica Ceca
            </li>
            <li data-option="DK">Danimarca
            </li>
            <li data-option="EE">Estonia
            </li>
            <li data-option="FI">Finlandia
            </li>
            <li data-option="FR">Francia
            </li>
            <li data-option="DE">Germania
            </li>
            <li data-option="GI">Gibilterra
            </li>
            <li data-option="GR">Grecia
            </li>
            <li data-option="GG">Guernsey
            </li>
            <li data-option="HU">Ungheria
            </li>
            <li data-option="IS">Islanda
            </li>
            <li data-option="IE">Irlanda
            </li>
            <li data-option="IL">Israele
            </li>
            <li data-option="IT">Italia
            </li>
            <li data-option="JE">Jersey
            </li>
            <li data-option="KZ">Kazakhstan
            </li>
            <li data-option="LV">Lettonia
            </li>
            <li data-option="LT">Lituania
            </li>
            <li data-option="LU">Lussemburgo
            </li>
            <li data-option="MK">Macedonia
            </li>
            <li data-option="MT">Malta
            </li>
            <li data-option="MD">Moldavia
            </li>
            <li data-option="NL">Paesi Bassi
            </li>
            <li data-option="NO">Norvegia
            </li>
            <li data-option="PL">Polonia
            </li>
            <li data-option="PT">Portogallo
            </li>
            <li data-option="RO">Romania
            </li>
            <li data-option="RS">Serbia
            </li>
            <li data-option="SK">Slovacchia
            </li>
            <li data-option="SI">Slovenia
            </li>
            <li data-option="ES">Spagna
            </li>
            <li data-option="SE">Svezia
            </li>
            <li data-option="CH">Svizzera
            </li>
            <li data-option="TR">Turchia
            </li>
            <li data-option="UA">Ucraina
            </li>
            <li data-option="GB">Regno Unito
            </li>
        </ul>
      </li>

      <li role="presentation" class="divider"></li>

      <li id="metop" role="presentation" class="have-child">
        <a role="menuitem" tabindex="-1" data-toggle="collapse" data-parent="#accordion" href="#me">
          <i class="has-icon icon-plus"></i>
          Medio Oriente e Africa
        </a>
        <ul id="me" class="panel-collapse collapse">
            <li data-option="AE">Emirati Arabi Uniti
            </li>
            <li data-option="AO">Angola
            </li>
            <li data-option="BF">Burkina Faso
            </li>
            <li data-option="BH">Bahrain
            </li>
            <li data-option="BJ">Benin
            </li>
            <li data-option="BW">Botswana
            </li>
            <li data-option="CM">Camerun
            </li>
            <li data-option="CD">Repubblica democratica del Congo
            </li>
            <li data-option="CI">Costa d'Avorio
            </li>
            <li data-option="DZ">Algeria
            </li>
            <li data-option="EG">Egitto
            </li>
            <li data-option="ET">Etiopia
            </li>
            <li data-option="GA">Gabon
            </li>
            <li data-option="GH">Ghana
            </li>
            <li data-option="GN">Guinea
            </li>
            <li data-option="IR">Iran
            </li>
            <li data-option="IQ">Iraq
            </li>
            <li data-option="JO">Giordania
            </li>
            <li data-option="KE">Kenya
            </li>
            <li data-option="KW">Kuwait
            </li>
            <li data-option="LB">Libano
            </li>
            <li data-option="MA">Marocco
            </li>
            <li data-option="MG">Madagascar
            </li>
            <li data-option="ML">Mali
            </li>
            <li data-option="MR">Mauritania
            </li>
            <li data-option="MU">Maurizio
            </li>
            <li data-option="MW">Malawi
            </li>
            <li data-option="MZ">Mozambico
            </li>
            <li data-option="NA">Namibia
            </li>
            <li data-option="NG">Nigeria
            </li>
            <li data-option="OM">Oman
            </li>
            <li data-option="QA">Qatar
            </li>
            <li data-option="RE">Reunion
            </li>
            <li data-option="RW">Ruanda
            </li>
            <li data-option="SA">Arabia Saudita
            </li>
            <li data-option="SN">Senegal
            </li>
            <li data-option="TG">Togo
            </li>
            <li data-option="TZ">Tanzania
            </li>
            <li data-option="UG">Uganda
            </li>
            <li data-option="ZA">Sudafrica
            </li>
            <li data-option="ZM">Zambia
            </li>
            <li data-option="ZW">Zimbabwe
            </li>
        </ul>
      </li>

      <li role="presentation" class="divider"></li>
    </ul>
  </div><span id="country-form:selectedCountryName" style="display:none">Italia</span><input id="country-form:selectedCountryCode" type="hidden" name="country-form:selectedCountryCode" value="IT"><input id="country-form:update-country" type="submit" name="country-form:update-country" value="" style="display:none"><input type="hidden" name="javax.faces.ViewState" id="j_id1:javax.faces.ViewState:0" value="383799056463580702:1814174206160055330" autocomplete="off">
</form></span>
      </header>
      
      <ul class="menu-list">
        <li class="menu-item ">
          <a id="menu-shipments" href="/prg/shipments.xhtml" class="menu-item-link">Le mie spedizioni
          </a>
        </li>
        <li class="menu-item ">
          <a id="menu-instruct" href="/prg/customer/standing-instruction.xhtml" class="menu-item-link">Opzioni di consegna preferite
          </a>
        </li>
        <li class="menu-item ">
          <a id="menu-settings" href="/prg/customer/settings.xhtml" class="menu-item-link">Impostazioni
          </a>
        </li>
        <li class="menu-item ">
          <a id="menu-whatis" href="#" class="menu-item-link">Guida
          </a>
        </li>
        <li class="menu-item ">
          <a id="menu-legal" href="/prg/legal.xhtml" class="menu-item-link">Contatti e informazioni legali
          </a>
        </li>
        <li class="menu-item">
          <a id="menu-signup" href="/prg/login.xhtml" onclick="(adobeScriptFlag !=undefined  &amp;&amp; adobeScriptFlag == 'true') ? trigHamburgerLoginCIEvent():'';" class="menu-item-link">Iscrizione / login
            <span class="has-icon icon-arrow-link"></span>
          </a>
        </li>
      </ul>
      
      <footer class="menu-footer">
        <span>DHL Express On Demand Delivery v3.2</span>
      </footer>
  </nav>
	
	  <div class="modal fade" id="sideMenuHelpModel" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	    <div class="modal-dialog linguisticHelpModel">
	      <div class="modal-content">
	        <div class="modal-header helpModalHeader">
	          <button type="button" class="close" data-dismiss="modal" aria-hidden="true"> <img style="padding-top:10px" src="/prg/img/icon-close.png"> </button>
	          <h4 class="helpmodal-title mt-10 mb-10" id="myModalLabel">Guida</h4>
	        </div>
	        <div id="sideMenuHelpContent" class="modal-body linguisticHelpModelBody">
	        </div>
	      </div>
	      
	    </div>
	    
	  </div>
    <section id="main-wrapper">
      <header id="main-header" class="row">
              
              <button id="menu-open-btn" class="hamburger hamburger--squeeze focus-indicator" type="button">
                <span class="hamburger-box" aria-label="Open Menu">
                  <span class="hamburger-inner"></span>
                </span>
              </button><span class="logo-dhl" style="">
              
              <a>
                <img src="/prg/img/dhl_logo.svg" class="img-responsive" alt="DHL">
              </a></span><span id="header-title" class="header-title header-align-left-title ">Personalizza la consegna</span>
<form id="language-picker-form" name="language-picker-form" method="post" action="/prg/shipment-options.xhtml" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="language-picker-form" value="language-picker-form">
<input type="hidden" name="csrfId" value="3207f7dd459d02ea07009977f9fd7a35988a262d3fb85b9ec4cb4684e9e5c386"><select id="language-picker-form:select-lang" name="language-picker-form:select-lang" class="focus-indicator" size="1" onchange="submit()" aria-label="Select Language">	<option value="it" selected="selected">IT</option>
	<option value="en">EN</option>
</select><input type="hidden" name="javax.faces.ViewState" id="j_id1:javax.faces.ViewState:1" value="383799056463580702:1814174206160055330" autocomplete="off">
</form>
      </header>
      <section id="main-body"><span id="shipment-panel">
<form id="delivery-options-form" name="delivery-options-form" method="post" action="/prg/shipment-options.xhtml" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="delivery-options-form" value="delivery-options-form">
<input type="hidden" name="csrfId" value="3207f7dd459d02ea07009977f9fd7a35988a262d3fb85b9ec4cb4684e9e5c386">
  <section id="shipment-summary" class="row" style=""><div class="shipment-group col-xs-24 nopadding">
      <div class="shipment-item col-xs-24 col-sm-12">
        
        <div class="shipment-item-left col-xs-13 col-md-15">
          <div class="shipment-item-info col-xs-24 nopadding">
            <div class="shipment-item-light col-xs-24 ">
              Da
            </div>
            <div class="shipment-item-strong shipment-item-info-shipper col-xs-24">KITCHENAID
            </div>
            <div class="col-xs-24">8551339156
            </div>
          </div>
        </div>
        
        <div class="shipment-item-right col-xs-11 col-md-9 ">
          <div class="shipment-item-info col-xs-24 nopadding "><div class="shipment-item-light col-xs-24 ">Data prevista di consegna</div>
              <div class="shipment-item-strong col-xs-24">06 dic 2024
              </div>
              <div class="shipment-item-strong col-xs-24">entro la fine della giornata lavorativa
              </div>
          </div>
        </div>
      </div><div class="shipment-item col-xs-24 col-sm-12">
        
        <div class="shipment-timeline">
          	<script>
          		stepOne = "false";
				stepTwo = "true";
				stepThree = "false";
				stepFour = "false";
				needPayment = "false";
				
				ready = "false";
				exception = "false";
				outfordelivery = "false";

				returned = "false";
				partialdelivery = "false";
				delivered = "false";
          	</script>
            <ul class="timeline" id="timeline">
              
              <li><div class="">
                  Ritirata
                </div>
              </li>
              
              <li class="active"><div class="">
                  In transito
                </div>
              </li>
              
              <li><div class="">
                  In consegna
                </div>
              </li>
              
              <li class="last-checkpoint"><div class="">
                  Consegna avvenuta
                </div>
              </li>
            </ul>
		</div></div></div><div class="shipment-info"><span class="mt-15 mb-15 col-xs-12 nopadding-l">
      
      <div class="shipment-item-light col-xs-24">Selezione corrente
      </div>
       
      <div class="font-bold col-xs-24">Nessuna selezione effettuata
      </div></span><span class="mt-15 mb-15 col-xs-12 nopadding"><div class="mt-20"></div>
		      <div class="font-bold v-center">
		        <a href="/prg/shipment-details.xhtml" onclick="(adobeScriptFlag !=undefined  &amp;&amp; adobeScriptFlag == 'true') ? trigTrackShipCIEvent():'';" class="shipment-item-link">
		          Rintraccia la spedizione
		          <span class="has-icon icon-arrow-link" style="position: fixed;"></span>
		        </a>
		      </div></span></div>
  </section><div id="delivery-options-form:allMessagesPanel" class="messages-panel row"></div><div id="delivery-options-form:shipment-delivery-options" class="row shipment-delivery-options"><span id="delivery-options-form:landing-page-title" class="col-xs-24 mt-10">











          
         
        
            <div class="col-xs-24">
              <h6 class="content-subtitle color-DHL-red">Opzioni disponibili per questa spedizione
              </h6>
            </div></span><span id="delivery-options-form:shipment-options" class="col-xs-24">
            <div id="deliveryOptionsTile" lang="it-IT">
                <div class="option-tile col-xs-12 col-md-8"><a href="/prg/customer/options/servicepoint_delivery.xhtml" class="option-tile-link col-xs-24">
                      <div class="option-icon icon-SVPDlv"></div>
                      <div class="option-text col-xs-24">
                        <div class="option-title">Ritira presso il DHL ServicePoint
                        </div>
                        <div class="option-description">Ritira presso un DHL ServicePoint vicino a te
                          <span class="has-icon icon-arrow-link"></span>
                        </div>
                      </div></a>
          
           </div>
                <div class="option-tile col-xs-12 col-md-8"><a href="/prg/customer/options/signature_release.xhtml" class="option-tile-link col-xs-24">
                      <div class="option-icon icon-SigRel"></div>
                      <div class="option-text col-xs-24">
                        <div class="option-title">Consegna senza firma
                        </div><div id="delivery-options-form:j_idt1166:1:button__1">      
							<div id="Group_46116">
								<svg class="Path_41914" viewBox="363.833 407 97 82">
									<path id="Path_41914" d="M 416.5801086425781 407 L 363.8709106445312 407 L 363.8329467773438 407.0452880859375 L 460.8329467773438 489 L 460.8329467773438 444.3847961425781 L 416.5801086425781 407 Z">
									</path>
								</svg>
								<div id="Non-contact">
									<span><span style="font-size:9px">Senza contatto</span>
									</span>
								</div>
							</div></div>
                        <div class="option-description">Autorizzaci a consegnare la<br> spedizione senza firma
                          <span class="has-icon icon-arrow-link"></span>
                        </div>
                      </div></a>
          
           </div>
                <div class="option-tile col-xs-12 col-md-8"><a href="/prg/customer/options/schedule_your_delivery.xhtml" class="option-tile-link col-xs-24">
                      <div class="option-icon icon-SchDlv"></div>
                      <div class="option-text col-xs-24">
                        <div class="option-title">Pianifica la tua consegna
                        </div>
                        <div class="option-description">Seleziona la data di consegna che preferisci
                          <span class="has-icon icon-arrow-link"></span>
                        </div>
                      </div></a>
          
           </div>
                <div class="option-tile col-xs-12 col-md-8"><a href="/prg/customer/options/delivery_alt_address.xhtml?fromLandingPageInd='Y'" class="option-tile-link col-xs-24">
                      <div class="option-icon icon-AltAdr"></div>
                      <div class="option-text col-xs-24">
                        <div class="option-title">Indirizzo alternativo
                        </div>
                        <div class="option-description">Autorizzaci a consegnare ad un indirizzo diverso
                          <span class="has-icon icon-arrow-link"></span>
                        </div>
                      </div></a>
          
           </div>
                <div class="option-tile col-xs-12 col-md-8"><a href="/prg/customer/options/leave_with_neighbour.xhtml" class="option-tile-link col-xs-24">
                      <div class="option-icon icon-Nghbor"></div>
                      <div class="option-text col-xs-24">
                        <div class="option-title">Consegna ad un vicino, custode o guardia
                        </div>
                        <div class="option-description">Autorizzaci a consegnare la spedizione ad un tuo vicino, custode o guardia
                          <span class="has-icon icon-arrow-link"></span>
                        </div>
                      </div></a>
          
           </div>
                <div class="option-tile col-xs-12 col-md-8"><a href="/prg/customer/options/vacation_hold.xhtml" class="option-tile-link col-xs-24">
                      <div class="option-icon icon-VacHld"></div>
                      <div class="option-text col-xs-24">
                        <div class="option-title">Giacenza per vacanze
                        </div>
                        <div class="option-description">Se sei in vacanza possiamo tenere la tua spedizione per un periodo limitato
                          <span class="has-icon icon-arrow-link"></span>
                        </div>
                      </div></a>
          
           </div>
         </div>
            <div id="empty-tile-placeholder" style="display:none">
              <div class="col-xs-12 col-sm-12 col-md-8"><div class="tileLinkDiv loadingTileLinkDiv disabledTiles"></div></div>
              <div class="col-xs-12 col-sm-12 col-md-8"><div class="tileLinkDiv loadingTileLinkDiv disabledTiles"></div></div>
              <div class="col-xs-12 col-sm-12 col-md-8"><div class="tileLinkDiv loadingTileLinkDiv disabledTiles"></div></div>
              <div class="col-xs-12 col-sm-12 col-md-8"><div class="tileLinkDiv loadingTileLinkDiv disabledTiles"></div></div>
              <div class="col-xs-12 col-sm-12 col-md-8"><div class="tileLinkDiv loadingTileLinkDiv disabledTiles"></div></div>
              <div class="col-xs-12 col-sm-12 col-md-8"><div class="tileLinkDiv loadingTileLinkDiv disabledTiles"></div></div>
            </div></span></div><input type="hidden" name="javax.faces.ViewState" id="j_id1:javax.faces.ViewState:2" value="383799056463580702:1814174206160055330" autocomplete="off">
</form></span>
    
    
    <section id="content-bottom-flex" class="bg-white"><div class="content-div row">
        <div class="col-xs-24">
        </div></div>
    </section>
<form id="adcDocsLinkForm" name="adcDocsLinkForm" method="post" action="/prg/shipment-options.xhtml" enctype="application/x-www-form-urlencoded" style="display:none;">
<input type="hidden" name="adcDocsLinkForm" value="adcDocsLinkForm">
<input id="adcDocsLinkForm:adcLinkClickBtn" type="submit" name="adcDocsLinkForm:adcLinkClickBtn" value="" onclick="mojarra.ab(this,event,'action','@this','@none');return false"><input type="hidden" name="javax.faces.ViewState" id="j_id1:javax.faces.ViewState:3" value="383799056463580702:1814174206160055330" autocomplete="off">
</form>
<form id="updateSVPDelForm" name="updateSVPDelForm" method="post" action="/prg/shipment-options.xhtml" enctype="application/x-www-form-urlencoded" style="display:none;">
<input type="hidden" name="updateSVPDelForm" value="updateSVPDelForm">
<input id="updateSVPDelForm:disableSVPDel" type="hidden" name="updateSVPDelForm:disableSVPDel" value="false"><input id="updateSVPDelForm:updateSVPDelBtn" type="submit" name="updateSVPDelForm:updateSVPDelBtn" value="" onclick="mojarra.ab(this,event,'action','updateSVPDelForm','shipment-panel getServicePointsForm',{'onevent':updateSVPDel});return false"><input type="hidden" name="javax.faces.ViewState" id="j_id1:javax.faces.ViewState:4" value="383799056463580702:1814174206160055330" autocomplete="off">
</form>
<form id="skipIndexForm" name="skipIndexForm" method="post" action="/prg/shipment-options.xhtml" enctype="application/x-www-form-urlencoded" style="display:none;">
<input type="hidden" name="skipIndexForm" value="skipIndexForm">
<input id="skipIndexForm:skipIndexBtn" type="submit" name="skipIndexForm:skipIndexBtn" value="" onclick="mojarra.ab(this,event,'action',0,'header-title shipment-panel updateSVPDelForm getServicePointsForm modal',{'onevent':updatePage,'ctrycode':'','langcode':'','AWB':'','token':'','OSVA':'','client':''});return false"><input type="hidden" name="javax.faces.ViewState" id="j_id1:javax.faces.ViewState:5" value="383799056463580702:1814174206160055330" autocomplete="off">
</form>
<form id="getServicePointsForm" name="getServicePointsForm" method="post" action="/prg/shipment-options.xhtml" enctype="application/x-www-form-urlencoded" style="display:none;">
<input type="hidden" name="getServicePointsForm" value="getServicePointsForm">
<input id="getServicePointsForm:awb" type="hidden" name="getServicePointsForm:awb" value="8551339156"><input id="getServicePointsForm:isSVPDlvEnabled" type="hidden" name="getServicePointsForm:isSVPDlvEnabled" value="true"><input id="getServicePointsForm:callGSPL" type="hidden" name="getServicePointsForm:callGSPL" value="false"><input id="getServicePointsForm:gsplKey" type="hidden" name="getServicePointsForm:gsplKey" value="52655c72-cfc7-4147-ac3c-1657941f5746"><input id="getServicePointsForm:gsplRcvrAddr" type="hidden" name="getServicePointsForm:gsplRcvrAddr" value="10064 PINEROLO"><input id="getServicePointsForm:gsplRcvrCtry" type="hidden" name="getServicePointsForm:gsplRcvrCtry" value="IT"><input id="getServicePointsForm:gsplUrl" type="hidden" name="getServicePointsForm:gsplUrl" value="https://wsbexpress.dhl.com/ServicePointLocator/restV3/servicepoints"><input id="getServicePointsForm:gsplTimeout" type="hidden" name="getServicePointsForm:gsplTimeout" value="30000"><input id="getServicePointsForm:gsplTotalResults" type="hidden" name="getServicePointsForm:gsplTotalResults" value="20"><input id="getServicePointsForm:gsplLanguageCode" type="hidden" name="getServicePointsForm:gsplLanguageCode" value="ita"><input id="getServicePointsForm:gsplMaxDistance" type="hidden" name="getServicePointsForm:gsplMaxDistance" value="50"><input id="getServicePointsForm:gsplCapabilities" type="hidden" name="getServicePointsForm:gsplCapabilities" value="86,87,78,79"><input id="getServicePointsForm:gsplServicePointTypes" type="hidden" name="getServicePointsForm:gsplServicePointTypes" value="PRT,247,CTY,STN"><input id="getServicePointsForm:gsplWeightFilter" type="hidden" name="getServicePointsForm:gsplWeightFilter" value="true"><input id="getServicePointsForm:gsplWeightUom" type="hidden" name="getServicePointsForm:gsplWeightUom" value="KG"><input id="getServicePointsForm:gsplWeight" type="hidden" name="getServicePointsForm:gsplWeight" value="11.55"><input id="getServicePointsForm:gsplDimensionFilter" type="hidden" name="getServicePointsForm:gsplDimensionFilter" value="true"><input id="getServicePointsForm:gsplDimensionUom" type="hidden" name="getServicePointsForm:gsplDimensionUom" value="CM"><input id="getServicePointsForm:gsplLength" type="hidden" name="getServicePointsForm:gsplLength" value="42.5"><input id="getServicePointsForm:gsplWidth" type="hidden" name="getServicePointsForm:gsplWidth" value="42.5"><input id="getServicePointsForm:gsplHeight" type="hidden" name="getServicePointsForm:gsplHeight" value="28.5"><input id="getServicePointsForm:gsplPieceCountFilter" type="hidden" name="getServicePointsForm:gsplPieceCountFilter" value="true"><input id="getServicePointsForm:gsplPieces" type="hidden" name="getServicePointsForm:gsplPieces" value="1"><input id="getServicePointsForm:gsplImportChargesFilter" type="hidden" name="getServicePointsForm:gsplImportChargesFilter" value="true"><input id="getServicePointsForm:gsplImportCharges" type="hidden" name="getServicePointsForm:gsplImportCharges" value="N"><input id="getServicePointsForm:htmlDirection" type="hidden" name="getServicePointsForm:htmlDirection" value="ltr"><input id="getServicePointsForm:showOverrideWarning" type="hidden" name="getServicePointsForm:showOverrideWarning" value="false"><input id="getServicePointsForm:showDOBlocker" type="hidden" name="getServicePointsForm:showDOBlocker" value="false"><input id="getServicePointsForm:showAdhocWarning" type="hidden" name="getServicePointsForm:showAdhocWarning" value="false"><input id="getServicePointsForm:isScmsParamRequired" type="hidden" name="getServicePointsForm:isScmsParamRequired" value="false"><input id="getServicePointsForm:shipmentAwb" type="hidden" name="getServicePointsForm:shipmentAwb" value="8551339156"><input id="getServicePointsForm:shipmentEdd" type="hidden" name="getServicePointsForm:shipmentEdd" value=""><input id="getServicePointsForm:shipmentOrgSrvaCd" type="hidden" name="getServicePointsForm:shipmentOrgSrvaCd" value="BRU"><input id="getServicePointsForm:scmsExcludeFullyBooked" type="hidden" name="getServicePointsForm:scmsExcludeFullyBooked" value="Y"><input type="hidden" name="javax.faces.ViewState" id="j_id1:javax.faces.ViewState:6" value="383799056463580702:1814174206160055330" autocomplete="off">
</form>
    <script data-pace-options="{&quot;startOnPageLoad&quot;:false}" src="/prg/js/libs/pace.min.js" type="text/javascript"></script>
      </section>
      <footer id="main-footer" class="row">
        <div class="col-xs-6 nopadding">
          <img src="/prg/img/dhl_express_logo_rgb_black.svg" class="logo-dhlexpress img-responsive" alt="DHL Express">
        </div>
        <div class="col-xs-18 nopadding">
          <span class="copyright">DHL Express 2024 © DHL International GmbH. Tutti i diritti riservati.
          </span>
        </div>
      </footer>
    </section><span id="modal">
  <div id="override-warning-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="override-warning-modal" aria-hidden="true">
    <div class="modal-dialog" role="document">
      <div class="modal-content">
        <div class="modal-body content-div text-center">
          Per questa spedizione è già stata selezionata un’opzione di consegna. Ti avvisiamo che una nuova richiesta andrà a sostituire quella precedentemente scelta.
        
        </div>
        <div class="modal-footer content-div text-center">
          <button id="modal-btn-no" type="button" class="base-button" data-dismiss="modal">Ok</button>
        </div>
      </div>
    </div>
  </div></span><script src="/prg/javax.faces.resource/util/util.js.xhtml?ln=openfaces&amp;v=20241028" type="text/javascript"></script><script src="/prg/javax.faces.resource/window/confirmation.js.xhtml?ln=openfaces&amp;v=20241028" type="text/javascript"></script><script type="text/javascript">
O$.Ajax.setMessageHTML('\x3Ctable class=\x27o_ajax_message  \x27 style=\x27display:none\x27 cellpadding=\x270\x27 cellspacing=\x270\x27>\x3Ctr>\x3Ctd valign=\x27middle\x27 style=\x27padding-right: 5px\x27>\x3Cimg src=\x27/prg/javax.faces.resource/loading.gif.xhtml?ln=openfaces&v=20241028\x27/>\x3C/td>\x3Ctd valign=\x27middle\x27>Loading...\x3C/td>\x3C/tr>\x3C/table>', 'right', 'top', 0.0, 0, null, true);
</script>
    <script src="/prg/js/libs/pace.min.js" type="text/javascript"></script>
<script type="text/javascript">
	//This flag is used in other pages to check dhle and csa when calling callAdobeDataLayer and Content Interactions event functions
	adobeScriptFlag = "true";
</script>
<script src="https://assets.adobedtm.com/cd52279ef3fa/974befda125d/launch-e64ea7e90455.min.js" async="async"></script>
<script type="text/javascript">
/* <![CDATA[ */
const adobeDataLayer = '{"user":{"status":"logged-out"},"page":{"name":"Shipment options","title":"","country":"IT","language":"it","finding_method":"https://del.dhl.com/prg/jsp/redirect_page.xhtml?AWB\u003d9jQvZkJnzQ1qVZzPbXNIIQ\u0026OSVA\u003dbf9mSt2foOPTXGPFmACH0g","section":"ODD","category":"Service","publisher":"EXP","funnel":{"type":"Shipment","name":"Delivery overview","step":""},"source":{"notification":"WAP","send_dtm":"Tue Dec 03 06:43:15 UTC 2024","event":"FPSN"}}}';
let delaytime = 1000;
function callAdobeDataLayer(param) {
	if (adobeDataLayer != undefined  && adobeDataLayer.length > 0)	{
		window.dhl_utf_dataLayer = JSON.parse(adobeDataLayer);
		window.dhl_utf_dataLayer.page.title=document.title;
		let path = window.location.pathname;
		const page = path.split("/").pop();
		//Check pages which need 'submit-otp' events. Other Pages skip this event
		if (!page.includes("update_contactinfo.xhtml")  && param == "submit-otp") {
			return;
		}
		
		//set Funnel only for standing-instruction-servicepoint
		setFunnelStandInstrDoEvent(page);
		
		//set funnel for all DO confirmation
		setFunnelForDO(page,param);
		
		//Send Previous Page Event for successful login
		let isLoginEventSent = trigLoginSuccessEvent(page);
		
		//Send Previous Page Event for successful OTP validation
		let isOtpValidEventSent = trigWayBillOtpValidEvent(page);
		
		//To Delay sending Page load Event for shipment option page when loading from Shipments page
		let delayShipmentEvent = delayShipmentOptions(page);
			
		if(isLoginEventSent || isOtpValidEventSent || delayShipmentEvent) {
			// Sending current Page Event when previous page event sent. Reset adobeDataLayer and set required values for current page.
			// Requires time delay to send current page event.
			setTimeout(() => {
				window.dhl_utf_dataLayer = JSON.parse(adobeDataLayer);
				window.dhl_utf_dataLayer.page.title=document.title;
				setFunnelShipmentOptions(page);
				let event = new CustomEvent('dhl_utf_pageload', { bubbles: true });
				window.dispatchEvent(event);
			}, delaytime);
		} else {
			//Sending only current Page Event.
			setFunnelShipmentOptions(page);
			let event = new CustomEvent('dhl_utf_pageload', { bubbles: true });
			window.dispatchEvent(event);
		}
	}
}

setTimeout(() => { 
	callAdobeDataLayer();
}, 1000);

// To Send Otp Validation event from Left Card Page
function trigWayBillOtpValidEvent(page) {
	if (!page.includes("shipment-options.xhtml")) {
		return false;
	}
	const finding_method = window.dhl_utf_dataLayer.page.finding_method;
	if (finding_method == undefined) {
		return false;
	}	
	if (!finding_method.includes("waybill.xhtml")) {
		return false;
	}	
	window.dhl_utf_dataLayer.page.name = "Leftcard Verification (Guest)";
	window.dhl_utf_dataLayer.page.funnel = undefined;
 	let event = new CustomEvent('dhl_utf_pageload', { bubbles: true });
	window.dispatchEvent(event);
	return true;
}	

// Increase Delay for Shipments option page when loaded from shipments listing
function delayShipmentOptions(page) {
	delaytime = 1000;
	if (!page.includes("shipment-options.xhtml")) {
		return false;
	}
	const finding_method = window.dhl_utf_dataLayer.page.finding_method;
	if (finding_method == undefined) {
		return false;
	}
	if (!finding_method.includes("shipments.xhtml")) {
		return false;
	}
	delaytime = 2000;
	return true;
}

let needPayment = "false";
let stepOne = "false";
let stepTwo = "true";
let stepThree = "false";
let stepFour = "false";

let ready = "false";
let exception = "false";
let outfordelivery = "false";

let returned = "false";
let partialdelivery = "false";
let delivered = "false";

// Set funnel for Shipments Options Page
function setFunnelShipmentOptions(page) {
	if (!page.includes("shipment-options.xhtml")) {
		return;
	}
	let paymentLabel = "";
	let funnelStep;
	if(needPayment == "true") {
		paymentLabel = "(Payment required)";
	}
	if (stepOne == "true") {
		funnelStep = "Picked up" + paymentLabel;
	} else if (stepTwo == "true") {
		funnelStep = "In transit" + paymentLabel;
	} else if (stepThree == "true") {
		funnelStep = stepThreeFunnel() + paymentLabel;
	} else if (stepFour == "true") {
		funnelStep = stepFourFunnel() + paymentLabel;
	} else if (needPayment == "true") {
		funnelStep = paymentLabel;
	}
	
	if (funnelStep == undefined) {
		return;
	}
	window.dhl_utf_dataLayer.page.funnel.step = funnelStep;
}
	
function stepThreeFunnel() {
	let funnelStep;
	if(ready == "true") {
		funnelStep = "Ready for collection";
	} else if(exception == "true") {
		funnelStep = "Exception";
	} else if(outfordelivery == "true") {
		funnelStep = "Out for delivery";
	}
	return funnelStep;
}

function stepFourFunnel() {
	let funnelStep;
	if(returned == "true") {
		funnelStep = "Returned";
	} else if(partialdelivery == "true") {
		funnelStep = "Partially delivered";
	} else if(delivered == "true") {
		funnelStep = "Delivered";
	}
	return funnelStep;
}

// Sets Funnel For Do Completion.
function setFunnelForDO(page,param) {
	let setFunnel = "false";
	let step = "";
	let progress = "";
	if (page.includes("signature_release.xhtml")) {
		setFunnel = "false"; 
		step = "Confirm Signature Release";
		progress = "2 of 2";
	} else if (page.includes("schedule_your_delivery.xhtml")) {
		setFunnel = "false";
		step = "Confirm Schedule Delivery";
		progress = "2 of 2";
	} else if (page.includes("sign_shipment.xhtml")) {
		setFunnel = "false";
		step = "Confirm Leave Your Signature";
		progress = "2 of 2";
	} else if (page.includes("servicepoint_delivery.xhtml")) {
		setFunnel = "false";
		step = "Confirm Collect from Service Point";
		progress = "2 of 2";
	} else if (page.includes("vacation_hold.xhtml")) {
		setFunnel = "false";
		step = "Confirm Vacation Hold";
		progress = "2 of 2";
	} else if (page.includes("leave_with_neighbour.xhtml")) {
		setFunnel = "false";
		step = "Confirm Leave with Neighbor";
		progress = "2 of 2";
	} else if (page.includes("update_contactinfo.xhtml")) {
		const otpResult = "";
		const updateFlag = "false";
		if (updateFlag == "true") {
			setFunnel = "true";
			step = "Confirm contact change";
			progress = "3 of 3";
		} else if ((param != undefined && param == "submit-otp")
			&& (otpResult == undefined || otpResult.length == 0)) {
			setFunnel = "true";
			step = "Validated OTP";
			progress = "2 of 3";
		}		
	} else if (page.includes("delivery_alt_address.xhtml")) {
		if (param != undefined && param == "updateDO") {
			setFunnel = "true";
			step = "Confirm Alternate Address";
			progress = "3 of 3";
		} else if (param != undefined && param == "addressConfirmed" ) {
			setFunnel = "true";
			step = "Address confirmed";
			progress = "2 of 3";
		}
	}
	
	if (setFunnel == "true") {
		window.dhl_utf_dataLayer.page.funnel.step = step;
		window.dhl_utf_dataLayer.page.funnel.progress = progress;
	}
}

function trigLoginSuccessEvent(page) {
	if (!page.includes("shipments.xhtml")) {
		return false;
	}
	const finding_method = window.dhl_utf_dataLayer.page.finding_method;
	if (finding_method == undefined) {
		return false;
	}	
	if (!finding_method.includes("login.xhtml")) {
		return false;
	}
	window.dhl_utf_dataLayer.page.name = "User Login";
	window.dhl_utf_dataLayer.page.funnel.type = "Login Activity";
	window.dhl_utf_dataLayer.page.funnel.name = "Login";
	window.dhl_utf_dataLayer.page.funnel.step = "Successful login";
	window.dhl_utf_dataLayer.page.funnel.progress = "2 of 2";
	let event_login = new CustomEvent('dhl_utf_pageload', { bubbles: true });
	window.dispatchEvent(event_login);
	return true;
}	

//Trigger Page Load Event For Standing Instruction Page
function trigStandInstrEvent(param) {
	if(param == 'add') {
		param = document.getElementById("stdInsForm:newStdInsPriority").value;
	}
	window.dhl_utf_dataLayer.page.name = param+" Priority";
	window.dhl_utf_dataLayer.page.funnel.name = "Delivery preference";
	window.dhl_utf_dataLayer.page.funnel.step = "Add Preference";
	window.dhl_utf_dataLayer.page.funnel.progress = "1 of 3";
 	let event = new CustomEvent('dhl_utf_pageload', { bubbles: true });
	window.dispatchEvent(event);
}	

//Trigger Page Load Event For setting email only progress 2 of 3 
function trigSettingEmailEvent() {
	window.dhl_utf_dataLayer.page.name="Setting OTP";
	window.dhl_utf_dataLayer.page.funnel.progress = "2 of 3";
 	let event = new CustomEvent('dhl_utf_pageload', { bubbles: true });
	window.dispatchEvent(event);	
}	

//Trigger Page Load Event For setting mobile only progress 2 of 3 
function trigSettingMobileevent() {
	window.dhl_utf_dataLayer.page.name="Setting OTP";
	window.dhl_utf_dataLayer.page.funnel.progress = "2 of 3";
 	let event = new CustomEvent('dhl_utf_pageload', { bubbles: true });
	window.dispatchEvent(event);	
}

//Trigger Page Load Event for progress 3 Standing Instruction Page DOs except servicepoint
function trigStandInstrDoEvent(page) {
	let step = "";
	if (page == "SVPDlv") {
		step = "Confirm Del Pref: Collect from SVP";
	} else if (page == "NEIGHBR") {
		step = "Confirm Leave with Neighbor";
	} else if (page == "SIGREL") {
		step = "Confirm Signature Release";
	}
	if (step != "") {
		window.dhl_utf_dataLayer.page.funnel.name = "Delivery preference";
		window.dhl_utf_dataLayer.page.funnel.step = step;
		window.dhl_utf_dataLayer.page.funnel.progress = "3 of 3";;
	    let event = new CustomEvent('dhl_utf_pageload', { bubbles: true });
		window.dispatchEvent(event);
	}
}

// Set Funnel for standing-instruction-servicepoint DO
function setFunnelStandInstrDoEvent(page) {
	const step = "Confirm Del Pref: Collect from SVP";
	if (!page.includes("standing-instruction-servicepoint.xhtml")) {
		return;
	}	
	const isCompleted = "false";
	if (isCompleted == "true") {
		window.dhl_utf_dataLayer.page.funnel.step = step;
		window.dhl_utf_dataLayer.page.funnel.progress = "3 of 3";
	}
}

//Content Interactions Events

function trigLoginCIEvent() {
	const detailVar = {
	content: {
		name:"Sign up or login now",
		type:"Button",
		interaction:"Click",
		position:"Top of the page",
		context:"Leftcard (Guest)"
		}
	};
	const data = { bubbles: true, detail:detailVar};
	var event = new CustomEvent('dhl_utf_contentInteraction', data);
	window.dispatchEvent(event);
}

function trigHamburgerLoginCIEvent() {
	const detailVar = {
	content: {
		name:"Sign up or login now",
		type:"Link",
		interaction:"Click",
		position:"Last item in the hamburger list",
		context:"Hamburger Menu"
		}
	};
 	const data = { bubbles: true, detail:detailVar};
 	var event = new CustomEvent('dhl_utf_contentInteraction', data);
	window.dispatchEvent(event);
}

function trigShipListLoginCIEvent() {
	let path = window.location.pathname;
	const page = path.split("/").pop();
	if (!page.includes("shipments.xhtml")) {
		return;
	}
	const detailVar = {
	content: {
		name:"Sign up or login now",
		type:"Button",
		interaction:"Click",
		position:"Middle of the page",
		context:"Shipment listing"
		}
	};
	const data = { bubbles: true, detail:detailVar};
	var event = new CustomEvent('dhl_utf_contentInteraction', data);
	window.dispatchEvent(event);
}

function trigRegisterCIEvent() {
	const detailVar = {
	content: {
		name:"Create account",
		type:"Button",
		interaction:"Click",
		position:"Bottom of the page",
		context:"Registration"
		}
	};
	const data = { bubbles: true, detail:detailVar};
	var event = new CustomEvent('dhl_utf_contentInteraction', data);
	window.dispatchEvent(event);
}

function trigTrackShipCIEvent() {
	const detailVar = {
	content: {
		name:"Tracking details",
		type:"Link",
		interaction:"Click",
		position:"Top of the page",
		context:"Shipment details"
		}
	};
	const data = { bubbles: true, detail:detailVar};
	var event = new CustomEvent('dhl_utf_contentInteraction', data);
	window.dispatchEvent(event); 
}

//In the Shipments options page when payment is required
function trigPayoutCIEvent() {
	const detailVar = {
	content: {
		name:"Pay Now (ADC)", 
		type:"Button",
		interaction:"Click",
		position:"Middle of the page",
		context:"Shipment details"
		}
	};
	const data = { bubbles: true, detail:detailVar};
	var event = new CustomEvent('dhl_utf_contentInteraction', data);
	window.dispatchEvent(event);
}

function trigDoLoginCIEvent() {
	let path = window.location.pathname;
	const page = path.split("/").pop();
	let contextVal = "";
	if (page.includes("signature_release.xhtml")) {
		contextVal = "SigRel";
	} else if (page.includes("schedule_your_delivery.xhtml")) {
		contextVal = "SchDlv";
	} else if (page.includes("sign_shipment.xhtml")) {
		contextVal = "SigFrm";
	} else if (page.includes("servicepoint_delivery.xhtml")) {
		contextVal = "SVPDlv";
	} else if (page.includes("delivery_alt_address.xhtml")) {
		contextVal = "AltAdr";
	} else if (page.includes("vacation_hold.xhtml")) {
		contextVal = "VacHld";
	} else if (page.includes("leave_with_neighbour.xhtml")) {
		contextVal = "Nghbor";
	}
	const detailVar = {
	content: {
		name:"Sign up or login now", 
		type:"Button",
		interaction:"Click",
		position:"Bottom of the page",
		context:contextVal
		}
	};
	const data = { bubbles: true, detail:detailVar};
	var event = new CustomEvent('dhl_utf_contentInteraction', data);
	window.dispatchEvent(event);
}
/* ]]> */
</script><script type="text/javascript">
    /* <![CDATA[ */
		if (!true) {
		  document.getElementById("skipIndexForm:skipIndexBtn").onclick();
		} else if (false && $("#getServicePointsForm\\:callGSPL").val() == "true") {
		  queryGSPL();
		  startProgressBar();
		} else {
		  removePlaceholder(0);
		}
	
		
    /* ]]> */
    </script>
<form id="device-timezone-form" name="device-timezone-form" method="post" action="/prg/shipment-options.xhtml" enctype="application/x-www-form-urlencoded" style="display:none">
<input type="hidden" name="device-timezone-form" value="device-timezone-form">
<input id="device-timezone-offset" type="text" name="device-timezone-offset" value="0" onchange="mojarra.ab(this,event,'valueChange',0,'device-timezone-form')"><script src="/prg/javax.faces.resource/validation/floatingIconMessage.js.xhtml?ln=openfaces&amp;v=20241028" type="text/javascript"></script></form><script>
// dataLayer.push noop - fix for one trust consent update push
window.dataLayer = window.dataLayer || {};
window.dataLayer.push = function() {};

  
// to be removed when deactivated in CMS
document.cookie = "cookieDisclaimer=seen; max-age=" + 60*60*24*365*2;
// to be removed when deactivated in CMS

function injectAcceptButton() {
  var acceptAllButton = document.querySelector("#accept-recommended-btn-handler");
  var otButtonContainer = document.querySelector('.ot-btn-container');
  acceptAllButton.parentNode.removeChild(acceptAllButton);
  otButtonContainer.appendChild(acceptAllButton);
}
var consent = false;
window.OptanonWrapper = function(){
  if (!consent) {
    consent = true;
    injectAcceptButton();
  }
  _satellite.track("OneTrustGroupsUpdated", {$rule:{name:"Page Top"}})
  var event = new CustomEvent('dhl_utf_pageload', { bubbles: true });
  window.dispatchEvent(event);
}


/** 
 * This function will load and trigger the one trust cookie banner. This is done by including
 * the one trust scripts into the DOM. A data-domain-script data-attribute will determine which
 * version is loaded from the assets. 
 */
;(function(){  
  var script = document.createElement("script");
  script.setAttribute("src", "https://cdn.cookielaw.org/scripttemplates/otSDKStub.js");
  script.setAttribute("text", "text/javascript");
  script.setAttribute("charset", "UTF-8");
  // below is the environment id from one trust ui. change it in order to display different visuals
  script.setAttribute("data-domain-script", _satellite.getVar("Config | OneTrust Environment"));
  script.setAttribute("data-document-language", "true");
  document.head.appendChild(script);
}());


/** 
 * This function adds a cookie settings button to the logistics footer
 * Footer list is not available at script execution. Therefore we loop
 * until available
 */
;(function(){
 var to = setInterval(function(){
    var footer_list = document.querySelector("#wcag-footer nav ul");
    if(footer_list){
      var li = document.createElement("li");
      li.classList.add("l-grid--w-50pc-s");
      var button = document.createElement("button");
      button.setAttribute("id", "onetrust-pc-btn-handler");
      button.setAttribute("data-document-language", "true");
      button.textContent = "Cookie Settings";
      button.classList.add("link");
      button.classList.add("ot-sdk-show-settings");
      li.appendChild(button);
      footer_list.appendChild(li);
      clearInterval(to);
    }
 }, 200);
}());

</script></body></html>