LOUIS VUITTON

LOUIS VUITTON | Select Your Country/Region 0?r.shift():null);i&&i(e.data.response)}else if(o.commandToClient)switch(o.commandToClient){case”enableDebug”:window.akamServiceWorkerDebug||(window.akamServiceWorkerDebug=!0,aka3pmLog(“Setup script debug enabled via service worker message”),p());break;case”boomerangMQ”:o.payload&&(window.BOOMR_mq=window.BOOMR_mq||[]).push(o.payload)}aka3pmLog(“akam-sw message: “+JSON.stringify(e.data))});var t=function(e){return new Promise(function(n){var r,o;r=e.command,o=n,a.has(r)||a.set(r,[]),a.get(r).push(o),navigator.serviceWorker.controller&&(e.isAka3pm=!0,navigator.serviceWorker.controller.postMessage(e))})},c=function(e){return t({command:”navTiming”,navTiming:e})},s=null,m={},d=function(){var e=i;return s&&(e+=”?othersw=”+encodeURIComponent(s)),function(e,n){return new Promise(function(r,i){aka3pmLog(“Registering service worker with URL: “+e),navigator.serviceWorker.register(e,n).then(function(e){aka3pmLog(“ServiceWorker registration successful with scope: “,e.scope),r(e),o(1)}).catch(function(e){aka3pmLog(“ServiceWorker registration failed: “,e),o(0),i(e)})})}(e,m)},g=ServiceWorkerContainer.prototype.register;if(ServiceWorkerContainer.prototype.register=function(n,r){return n.includes(i)?g.call(this,n,r):(aka3pmLog(“Overriding registration of service worker for: “+n),s=new URL(n,window.location.href),m=r,navigator.serviceWorker.controller?new Promise(function(n,r){var o=navigator.serviceWorker.controller.scriptURL;if(o.includes(i)){var a=encodeURIComponent(s);o.includes(a)?(aka3pmLog(“Cancelling registration as we already integrate…